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

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

Defined in Amazonka.StepFunctions.ListStateMachines

Read ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Show ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Generic ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Associated Types

type Rep ListStateMachines :: Type -> Type #

NFData ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Methods

rnf :: ListStateMachines -> () #

Hashable ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

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

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

type Rep ListStateMachines Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

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

Defined in Amazonka.StepFunctions.ListStateMachines

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

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

Request Lenses

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.

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.

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

Defined in Amazonka.StepFunctions.ListStateMachines

Read ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Show ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Generic ListStateMachinesResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.ListStateMachines

Associated Types

type Rep ListStateMachinesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" '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:

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