amazonka-snow-device-management-2.0: Amazon Snow Device Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SnowDeviceManagement.ListExecutions

Description

Returns the status of tasks for one or more target devices.

This operation returns paginated results.

Synopsis

Creating a Request

data ListExecutions Source #

See: newListExecutions smart constructor.

Constructors

ListExecutions' 

Fields

Instances

Instances details
ToHeaders ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

ToPath ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

ToQuery ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

AWSPager ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

AWSRequest ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Associated Types

type AWSResponse ListExecutions #

Generic ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Associated Types

type Rep ListExecutions :: Type -> Type #

Read ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Show ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

NFData ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Methods

rnf :: ListExecutions -> () #

Eq ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Hashable ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

type AWSResponse ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

type Rep ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

type Rep ListExecutions = D1 ('MetaData "ListExecutions" "Amazonka.SnowDeviceManagement.ListExecutions" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "ListExecutions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionState)) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListExecutions Source #

Create a value of ListExecutions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:ListExecutions', listExecutions_maxResults - The maximum number of tasks to list per page.

ListExecutions, listExecutions_nextToken - A pagination token to continue to the next page of tasks.

ListExecutions, listExecutions_state - A structure used to filter the tasks by their current state.

ListExecutions, listExecutions_taskId - The ID of the task.

Request Lenses

listExecutions_maxResults :: Lens' ListExecutions (Maybe Natural) Source #

The maximum number of tasks to list per page.

listExecutions_nextToken :: Lens' ListExecutions (Maybe Text) Source #

A pagination token to continue to the next page of tasks.

listExecutions_state :: Lens' ListExecutions (Maybe ExecutionState) Source #

A structure used to filter the tasks by their current state.

Destructuring the Response

data ListExecutionsResponse Source #

See: newListExecutionsResponse smart constructor.

Constructors

ListExecutionsResponse' 

Fields

  • executions :: Maybe [ExecutionSummary]

    A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.

  • nextToken :: Maybe Text

    A pagination token to continue to the next page of executions.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Associated Types

type Rep ListExecutionsResponse :: Type -> Type #

Read ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Show ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

NFData ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Methods

rnf :: ListExecutionsResponse -> () #

Eq ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

type Rep ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

type Rep ListExecutionsResponse = D1 ('MetaData "ListExecutionsResponse" "Amazonka.SnowDeviceManagement.ListExecutions" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "ListExecutionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "executions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExecutionSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListExecutionsResponse Source #

Create a value of ListExecutionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:executions:ListExecutionsResponse', listExecutionsResponse_executions - A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.

ListExecutions, listExecutionsResponse_nextToken - A pagination token to continue to the next page of executions.

$sel:httpStatus:ListExecutionsResponse', listExecutionsResponse_httpStatus - The response's http status code.

Response Lenses

listExecutionsResponse_executions :: Lens' ListExecutionsResponse (Maybe [ExecutionSummary]) Source #

A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.

listExecutionsResponse_nextToken :: Lens' ListExecutionsResponse (Maybe Text) Source #

A pagination token to continue to the next page of executions.