libZSservicesZSamazonka-datasyncZSamazonka-datasync
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.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

  • taskArn :: Maybe Text

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

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

    The maximum number of executed tasks to list.

Instances

Instances details
Eq ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Read ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Show ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Generic ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Associated Types

type Rep ListTaskExecutions :: Type -> Type #

NFData ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Methods

rnf :: ListTaskExecutions -> () #

Hashable ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

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

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

type Rep ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

type Rep ListTaskExecutions = D1 ('MetaData "ListTaskExecutions" "Amazonka.DataSync.ListTaskExecutions" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "ListTaskExecutions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListTaskExecutions Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

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:taskArn:ListTaskExecutions', listTaskExecutions_taskArn - The Amazon Resource Name (ARN) of the task whose tasks you want to list.

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

$sel:maxResults:ListTaskExecutions', listTaskExecutions_maxResults - The maximum number of executed tasks to list.

Request Lenses

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

The Amazon Resource Name (ARN) of the task whose tasks you want 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_maxResults :: Lens' ListTaskExecutions (Maybe Natural) Source #

The maximum number of executed tasks to list.

Destructuring the Response

data ListTaskExecutionsResponse Source #

ListTaskExecutionsResponse

See: newListTaskExecutionsResponse smart constructor.

Constructors

ListTaskExecutionsResponse' 

Fields

Instances

Instances details
Eq ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Read ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Show ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Generic ListTaskExecutionsResponse Source # 
Instance details

Defined in Amazonka.DataSync.ListTaskExecutions

Associated Types

type Rep ListTaskExecutionsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" '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:

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