amazonka-datasync-2.0: Amazon DataSync 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.DataSync.ListTaskExecutions

Description

Returns a list of executed tasks.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTaskExecutions Source #

ListTaskExecutions

See: newListTaskExecutions smart constructor.

Constructors

ListTaskExecutions' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of executed tasks to list.

  • nextToken :: Maybe Text

    An opaque string that indicates the position at which to begin the next list of the executed tasks.

  • taskArn :: Maybe Text

    The Amazon Resource Name (ARN) of the task whose tasks you want to list.

Instances

Instances details
ToJSON ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

ToHeaders ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

ToPath ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

ToQuery ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

AWSPager ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

AWSRequest ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Associated Types

type AWSResponse ListTaskExecutions #

Generic ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Associated Types

type Rep ListTaskExecutions :: Type -> Type #

Read ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Show ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

NFData ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Methods

rnf :: ListTaskExecutions -> () #

Eq ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Hashable ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

type AWSResponse ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

type Rep ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

type Rep ListTaskExecutions = D1 ('MetaData "ListTaskExecutions" "Amazonka.DataSync.ListTaskExecutions" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "ListTaskExecutions'" '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 "taskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListTaskExecutions :: ListTaskExecutions Source #

Create a value of ListTaskExecutions 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:ListTaskExecutions', listTaskExecutions_maxResults - The maximum number of executed tasks to list.

ListTaskExecutions, listTaskExecutions_nextToken - An opaque string that indicates the position at which to begin the next list of the executed tasks.

ListTaskExecutions, listTaskExecutions_taskArn - The Amazon Resource Name (ARN) of the task whose tasks you want to list.

Request Lenses

listTaskExecutions_maxResults :: Lens' ListTaskExecutions (Maybe Natural) Source #

The maximum number of executed tasks to list.

listTaskExecutions_nextToken :: Lens' ListTaskExecutions (Maybe Text) Source #

An opaque string that indicates the position at which to begin the next list of the executed tasks.

listTaskExecutions_taskArn :: Lens' ListTaskExecutions (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task whose tasks you want to list.

Destructuring the Response

data ListTaskExecutionsResponse Source #

ListTaskExecutionsResponse

See: newListTaskExecutionsResponse smart constructor.

Constructors

ListTaskExecutionsResponse' 

Fields

Instances

Instances details
Generic ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Associated Types

type Rep ListTaskExecutionsResponse :: Type -> Type #

Read ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Show ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

NFData ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Eq ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

type Rep ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

type Rep ListTaskExecutionsResponse = D1 ('MetaData "ListTaskExecutionsResponse" "Amazonka.DataSync.ListTaskExecutions" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "ListTaskExecutionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "taskExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TaskExecutionListEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTaskExecutionsResponse Source #

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

ListTaskExecutions, listTaskExecutionsResponse_nextToken - An opaque string that indicates the position at which to begin returning the next list of executed tasks.

$sel:taskExecutions:ListTaskExecutionsResponse', listTaskExecutionsResponse_taskExecutions - A list of executed tasks.

$sel:httpStatus:ListTaskExecutionsResponse', listTaskExecutionsResponse_httpStatus - The response's http status code.

Response Lenses

listTaskExecutionsResponse_nextToken :: Lens' ListTaskExecutionsResponse (Maybe Text) Source #

An opaque string that indicates the position at which to begin returning the next list of executed tasks.