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.ListTasks

Description

Returns a list of tasks that can be filtered by state.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTasks Source #

See: newListTasks smart constructor.

Constructors

ListTasks' 

Fields

Instances

Instances details
ToHeaders ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Methods

toHeaders :: ListTasks -> [Header] #

ToPath ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

ToQuery ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

AWSPager ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

AWSRequest ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Associated Types

type AWSResponse ListTasks #

Generic ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Associated Types

type Rep ListTasks :: Type -> Type #

Read ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Show ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

NFData ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Methods

rnf :: ListTasks -> () #

Eq ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Hashable ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

type AWSResponse ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

type Rep ListTasks Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

type Rep ListTasks = D1 ('MetaData "ListTasks" "Amazonka.SnowDeviceManagement.ListTasks" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "ListTasks'" '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 TaskState)))))

newListTasks :: ListTasks Source #

Create a value of ListTasks 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:ListTasks', listTasks_maxResults - The maximum number of tasks per page.

ListTasks, listTasks_nextToken - A pagination token to continue to the next page of tasks.

ListTasks, listTasks_state - A structure used to filter the list of tasks.

Request Lenses

listTasks_maxResults :: Lens' ListTasks (Maybe Natural) Source #

The maximum number of tasks per page.

listTasks_nextToken :: Lens' ListTasks (Maybe Text) Source #

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

listTasks_state :: Lens' ListTasks (Maybe TaskState) Source #

A structure used to filter the list of tasks.

Destructuring the Response

data ListTasksResponse Source #

See: newListTasksResponse smart constructor.

Constructors

ListTasksResponse' 

Fields

Instances

Instances details
Generic ListTasksResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Associated Types

type Rep ListTasksResponse :: Type -> Type #

Read ListTasksResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Show ListTasksResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

NFData ListTasksResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

Methods

rnf :: ListTasksResponse -> () #

Eq ListTasksResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

type Rep ListTasksResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListTasks

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

newListTasksResponse Source #

Create a value of ListTasksResponse 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:

ListTasks, listTasksResponse_nextToken - A pagination token to continue to the next page of tasks.

$sel:tasks:ListTasksResponse', listTasksResponse_tasks - A list of task structures containing details about each task.

$sel:httpStatus:ListTasksResponse', listTasksResponse_httpStatus - The response's http status code.

Response Lenses

listTasksResponse_nextToken :: Lens' ListTasksResponse (Maybe Text) Source #

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

listTasksResponse_tasks :: Lens' ListTasksResponse (Maybe [TaskSummary]) Source #

A list of task structures containing details about each task.

listTasksResponse_httpStatus :: Lens' ListTasksResponse Int Source #

The response's http status code.