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

Description

Lists the existing state machines.

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 ListStateMachines Source #

See: newListStateMachines smart constructor.

Constructors

ListStateMachines' 

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

Defined in Amazonka.StepFunctions.ListStateMachines

ToHeaders ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

ToPath ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

ToQuery ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

AWSPager ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

AWSRequest ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Associated Types

type AWSResponse ListStateMachines #

Generic ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Associated Types

type Rep ListStateMachines :: Type -> Type #

Read ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Show ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

NFData ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Methods

rnf :: ListStateMachines -> () #

Eq ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Hashable ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

type AWSResponse ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

type Rep ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

type Rep ListStateMachines = D1 ('MetaData "ListStateMachines" "Amazonka.StepFunctions.ListStateMachines" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "ListStateMachines'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListStateMachines :: ListStateMachines Source #

Create a value of ListStateMachines 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:ListStateMachines', listStateMachines_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.

ListStateMachines, listStateMachines_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

listStateMachines_maxResults :: Lens' ListStateMachines (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.

listStateMachines_nextToken :: Lens' ListStateMachines (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 ListStateMachinesResponse Source #

See: newListStateMachinesResponse smart constructor.

Constructors

ListStateMachinesResponse' 

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.

  • stateMachines :: [StateMachineListItem]
     

Instances

Instances details
Generic ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Associated Types

type Rep ListStateMachinesResponse :: Type -> Type #

Read ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Show ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

NFData ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Eq ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

type Rep ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

type Rep ListStateMachinesResponse = D1 ('MetaData "ListStateMachinesResponse" "Amazonka.StepFunctions.ListStateMachines" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "ListStateMachinesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "stateMachines") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [StateMachineListItem]))))

newListStateMachinesResponse Source #

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

ListStateMachines, listStateMachinesResponse_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:ListStateMachinesResponse', listStateMachinesResponse_httpStatus - The response's http status code.

$sel:stateMachines:ListStateMachinesResponse', listStateMachinesResponse_stateMachines - Undocumented member.

Response Lenses

listStateMachinesResponse_nextToken :: Lens' ListStateMachinesResponse (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.