amazonka-stepfunctions-2.0: Amazon Step Functions 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.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

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

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

Instances

Instances details
ToJSON ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.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

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 #

Generic ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Associated Types

type Rep ListActivities :: Type -> Type #

Read ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Show ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

NFData ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Methods

rnf :: ListActivities -> () #

Eq ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Hashable ListActivities Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

type AWSResponse 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" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "ListActivities'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

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.

Request Lenses

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.

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.

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
Generic ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Associated Types

type Rep ListActivitiesResponse :: Type -> Type #

Read ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Show ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

NFData ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

Methods

rnf :: ListActivitiesResponse -> () #

Eq ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

type Rep ListActivitiesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListActivities

type Rep ListActivitiesResponse = D1 ('MetaData "ListActivitiesResponse" "Amazonka.StepFunctions.ListActivities" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" '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:

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.