Skip to content

CloudFormationClient.describe_stack_refactor

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Describes the stack refactor status.

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
    DescribeStackRefactorOutput,
)

Signature

async def describe_stack_refactor(
    *,
    stack_refactor_id: str,
) -> DescribeStackRefactorOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
stack_refactor_id Yes The ID associated with the stack refactor created from the CreateStackRefactor action.

Output

DescribeStackRefactorOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
description str | None Always present —
stack_refactor_id str | None Always present —
stack_ids list[str] | None Always present —
execution_status StackRefactorExecutionStatusOutput | None Always present StackRefactorExecutionStatusOutput
execution_status_reason str | None Always present —
status StackRefactorStatusOutput | None Always present StackRefactorStatusOutput
status_reason str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

DescribeStackRefactorOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Waiters

from rboto import WaiterConfig. Calls use this public operation, including configured middleware and native retries. Polling, deadlines and errors.

client.waiters.stack_refactor_create_complete:

async def stack_refactor_create_complete(
    *,
    stack_refactor_id: str,
    waiter_config: WaiterConfig | None = None,
) -> DescribeStackRefactorOutput: ...

Default fixed delay: 5 seconds. Default maximum: 40 polls. No overall timeout unless configured.

Returns the successful polling Output.

Acceptor index State Matcher Model path Expected
0 success stringEquals Status CREATE_COMPLETE
1 failure stringEquals Status CREATE_FAILED
2 failure errorType — ValidationError

Acceptors are checked in order. Missing fields or unmatched successful responses continue polling. Unmatched service errors propagate.

client.waiters.stack_refactor_execute_complete:

async def stack_refactor_execute_complete(
    *,
    stack_refactor_id: str,
    waiter_config: WaiterConfig | None = None,
) -> DescribeStackRefactorOutput: ...

Default fixed delay: 15 seconds. Default maximum: 40 polls. No overall timeout unless configured.

Returns the successful polling Output.

Acceptor index State Matcher Model path Expected
0 success stringEquals ExecutionStatus EXECUTE_COMPLETE
1 failure stringEquals ExecutionStatus EXECUTE_FAILED
2 failure stringEquals ExecutionStatus ROLLBACK_COMPLETE
3 failure errorType — ValidationError

Acceptors are checked in order. Missing fields or unmatched successful responses continue polling. Unmatched service errors propagate.

Errors

Import from rboto_cloudformation.exceptions:

StackRefactorNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model