Skip to content

CloudFormation  >  Operations  >  list_stack_refactors

list_stack_refactors

Operation

list_stack_refactors async

list_stack_refactors(input: ListStackRefactorsInput, plugins: list[Plugin] | None = None) -> ListStackRefactorsOutput

Lists all account stack refactor operations and their statuses.

Parameters:

Name Type Description Default
input ListStackRefactorsInput

An instance of ListStackRefactorsInput.

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
ListStackRefactorsOutput

An instance of ListStackRefactorsOutput.

Input

ListStackRefactorsInput dataclass

Bases: _SerdeShape

Dataclass for ListStackRefactorsInput structure.

Attributes

execution_status_filter class-attribute instance-attribute
execution_status_filter: list[str] | None = ...

Execution status to use as a filter. Specify one or more execution status codes to list only stack refactors with the specified execution status codes.

max_results class-attribute instance-attribute
max_results: int | None = ...

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

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

Output

ListStackRefactorsOutput dataclass

Bases: _SerdeShape

Dataclass for ListStackRefactorsOutput structure.

Attributes

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

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to 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.

stack_refactor_summaries class-attribute instance-attribute
stack_refactor_summaries: list[StackRefactorSummary] | None = ...

Provides a summary of a stack refactor, including the following:

  • StackRefactorId

  • Status

  • StatusReason

  • ExecutionStatus

  • ExecutionStatusReason

  • Description