Skip to content

CloudFormation  >  Operations  >  list_change_sets

list_change_sets

Operation

list_change_sets async

list_change_sets(input: ListChangeSetsInput, plugins: list[Plugin] | None = None) -> ListChangeSetsOutput

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.

Parameters:

Name Type Description Default
input ListChangeSetsInput

An instance of ListChangeSetsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListChangeSetsOutput

An instance of ListChangeSetsOutput.

Input

ListChangeSetsInput dataclass

Bases: _SerdeShape

The input for the ListChangeSets action.

Attributes

next_token class-attribute instance-attribute
next_token: str | None = ...

The token for the next set of items to return. (You received this token from a previous call.)

stack_name class-attribute instance-attribute
stack_name: str | None = ...

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

Output

ListChangeSetsOutput dataclass

Bases: _SerdeShape

The output for the ListChangeSets action.

Attributes

next_token class-attribute instance-attribute
next_token: str | None = ...

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.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

summaries class-attribute instance-attribute
summaries: list[ChangeSetSummary] | None = ...

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