amazonka-cloudformation-2.0: Amazon CloudFormation 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.CloudFormation.ListChangeSets

Description

Returns the ID and status of each active change set for a stack. For example, CloudFormation lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING state.

This operation returns paginated results.

Synopsis

Creating a Request

data ListChangeSets Source #

The input for the ListChangeSets action.

See: newListChangeSets smart constructor.

Constructors

ListChangeSets' 

Fields

  • nextToken :: Maybe Text

    A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.

  • stackName :: Text

    The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

Instances

Instances details
ToHeaders ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

ToPath ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

ToQuery ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

AWSPager ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

AWSRequest ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Associated Types

type AWSResponse ListChangeSets #

Generic ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Associated Types

type Rep ListChangeSets :: Type -> Type #

Read ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Show ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

NFData ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Methods

rnf :: ListChangeSets -> () #

Eq ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Hashable ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

type AWSResponse ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

type Rep ListChangeSets Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

type Rep ListChangeSets = D1 ('MetaData "ListChangeSets" "Amazonka.CloudFormation.ListChangeSets" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "ListChangeSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListChangeSets Source #

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

ListChangeSets, listChangeSets_nextToken - A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.

ListChangeSets, listChangeSets_stackName - The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

Request Lenses

listChangeSets_nextToken :: Lens' ListChangeSets (Maybe Text) Source #

A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.

listChangeSets_stackName :: Lens' ListChangeSets Text Source #

The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

Destructuring the Response

data ListChangeSetsResponse Source #

The output for the ListChangeSets action.

See: newListChangeSetsResponse smart constructor.

Constructors

ListChangeSetsResponse' 

Fields

  • nextToken :: Maybe Text

    If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null.

  • summaries :: Maybe [ChangeSetSummary]

    A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Associated Types

type Rep ListChangeSetsResponse :: Type -> Type #

Read ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Show ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

NFData ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

Methods

rnf :: ListChangeSetsResponse -> () #

Eq ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

type Rep ListChangeSetsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListChangeSets

type Rep ListChangeSetsResponse = D1 ('MetaData "ListChangeSetsResponse" "Amazonka.CloudFormation.ListChangeSets" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "ListChangeSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "summaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChangeSetSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListChangeSetsResponse Source #

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

ListChangeSets, listChangeSetsResponse_nextToken - If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null.

$sel:summaries:ListChangeSetsResponse', listChangeSetsResponse_summaries - A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack.

$sel:httpStatus:ListChangeSetsResponse', listChangeSetsResponse_httpStatus - The response's http status code.

Response Lenses

listChangeSetsResponse_nextToken :: Lens' ListChangeSetsResponse (Maybe Text) Source #

If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null.

listChangeSetsResponse_summaries :: Lens' ListChangeSetsResponse (Maybe [ChangeSetSummary]) Source #

A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack.