CloudFormation.Client.
list_change_sets
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.list_change_sets(
StackName='string',
NextToken='string'
)
[REQUIRED]
The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.
dict
Response Syntax
{
'Summaries': [
{
'StackId': 'string',
'StackName': 'string',
'ChangeSetId': 'string',
'ChangeSetName': 'string',
'ExecutionStatus': 'UNAVAILABLE'|'AVAILABLE'|'EXECUTE_IN_PROGRESS'|'EXECUTE_COMPLETE'|'EXECUTE_FAILED'|'OBSOLETE',
'Status': 'CREATE_PENDING'|'CREATE_IN_PROGRESS'|'CREATE_COMPLETE'|'DELETE_PENDING'|'DELETE_IN_PROGRESS'|'DELETE_COMPLETE'|'DELETE_FAILED'|'FAILED',
'StatusReason': 'string',
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'IncludeNestedStacks': True|False,
'ParentChangeSetId': 'string',
'RootChangeSetId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
The output for the ListChangeSets action.
Summaries (list) --
A list of ChangeSetSummary
structures that provides the ID and status of each change set for the specified stack.
(dict) --
The ChangeSetSummary
structure describes a change set, its status, and the stack with which it's associated.
StackId (string) --
The ID of the stack with which the change set is associated.
StackName (string) --
The name of the stack with which the change set is associated.
ChangeSetId (string) --
The ID of the change set.
ChangeSetName (string) --
The name of the change set.
ExecutionStatus (string) --
If the change set execution status is AVAILABLE
, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE
state because CloudFormation is still creating it or in an OBSOLETE
state because the stack was already updated.
Status (string) --
The state of the change set, such as CREATE_IN_PROGRESS
, CREATE_COMPLETE
, or FAILED
.
StatusReason (string) --
A description of the change set's status. For example, if your change set is in the FAILED
state, CloudFormation shows the error message.
CreationTime (datetime) --
The start time when the change set was created, in UTC.
Description (string) --
Descriptive information about the change set.
IncludeNestedStacks (boolean) --
Specifies the current setting of IncludeNestedStacks
for the change set.
ParentChangeSetId (string) --
The parent change set ID.
RootChangeSetId (string) --
The root change set ID.
NextToken (string) --
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
.