libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Read ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Show ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Generic ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Associated Types

type Rep ListExecutions :: Type -> Type #

NFData ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Methods

rnf :: ListExecutions -> () #

Hashable 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 #

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

type Rep ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

type Rep ListExecutions = D1 ('MetaData "ListExecutions" "Amazonka.SnowDeviceManagement.ListExecutions" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "ListExecutions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionState)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListExecutions Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

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:state:ListExecutions', listExecutions_state - A structure used to filter the tasks by their current state.

$sel:nextToken:ListExecutions', listExecutions_nextToken - A pagination token to continue to the next page of tasks.

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

$sel:taskId:ListExecutions', listExecutions_taskId - The ID of the task.

Request Lenses

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

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

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

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

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

The maximum number of tasks to list per page.

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
Eq ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Read ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Show ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Generic ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Associated Types

type Rep ListExecutionsResponse :: Type -> Type #

NFData ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

Methods

rnf :: ListExecutionsResponse -> () #

type Rep ListExecutionsResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListExecutions

type Rep ListExecutionsResponse = D1 ('MetaData "ListExecutionsResponse" "Amazonka.SnowDeviceManagement.ListExecutions" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" '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.

$sel:nextToken: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.