libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions
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.StepFunctions.ListActivities

Description

Lists the existing activities.

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

This operation returns paginated results.

Synopsis

Creating a Request

data ListActivities Source #

See: newListActivities smart constructor.

Constructors

ListActivities' 

Fields

  • nextToken :: Maybe Text

    If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

  • maxResults :: Maybe Natural

    The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

    This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

Instances

Instances details
Eq ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Read ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Show ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Generic ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Associated Types

type Rep ListActivities :: Type -> Type #

NFData ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Methods

rnf :: ListActivities -> () #

Hashable ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

ToJSON ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

AWSPager ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

AWSRequest ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Associated Types

type AWSResponse ListActivities #

ToHeaders ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

ToPath ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

ToQuery ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

type Rep ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

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

Defined in Amazonka.StepFunctions.ListActivities

newListActivities :: ListActivities Source #

Create a value of ListActivities 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:ListActivities', listActivities_nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

$sel:maxResults:ListActivities', listActivities_maxResults - The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

Request Lenses

listActivities_nextToken :: Lens' ListActivities (Maybe Text) Source #

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

listActivities_maxResults :: Lens' ListActivities (Maybe Natural) Source #

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

Destructuring the Response

data ListActivitiesResponse Source #

See: newListActivitiesResponse smart constructor.

Constructors

ListActivitiesResponse' 

Fields

  • nextToken :: Maybe Text

    If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

  • httpStatus :: Int

    The response's http status code.

  • activities :: [ActivityListItem]

    The list of activities.

Instances

Instances details
Eq ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Read ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Show ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Generic ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Associated Types

type Rep ListActivitiesResponse :: Type -> Type #

NFData ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Methods

rnf :: ListActivitiesResponse -> () #

type Rep ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

type Rep ListActivitiesResponse = D1 ('MetaData "ListActivitiesResponse" "Amazonka.StepFunctions.ListActivities" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "ListActivitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "activities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ActivityListItem]))))

newListActivitiesResponse Source #

Create a value of ListActivitiesResponse 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:ListActivities', listActivitiesResponse_nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

$sel:httpStatus:ListActivitiesResponse', listActivitiesResponse_httpStatus - The response's http status code.

$sel:activities:ListActivitiesResponse', listActivitiesResponse_activities - The list of activities.

Response Lenses

listActivitiesResponse_nextToken :: Lens' ListActivitiesResponse (Maybe Text) Source #

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.