Skip to content

CloudFormationClient.list_stack_instance_resource_drifts

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Returns drift information for resources in a stack instance. ListStackInstanceResourceDrifts returns drift information for the most recent drift detection operation. If an operation is in progress, it may only return partial results.

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from collections.abc import Sequence
from rboto_cloudformation.types import (
    CallAs,
    ListStackInstanceResourceDriftsOutput,
    StackResourceDriftStatus,
)

Signature

async def list_stack_instance_resource_drifts(
    *,
    stack_set_name: str,
    stack_instance_account: str,
    stack_instance_region: str,
    operation_id: str,
    next_token: str | None = None,
    max_results: int | None = None,
    stack_instance_resource_drift_statuses: Sequence[StackResourceDriftStatus] | None = None,
    call_as: CallAs | None = None,
) -> ListStackInstanceResourceDriftsOutput: ...

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_set_name Yes The name or unique ID of the StackSet that you want to list drifted resources for.
stack_instance_account Yes The name of the Amazon Web Services account that you want to list resource drifts for.
stack_instance_region Yes The name of the Region where you want to list resource drifts.
operation_id Yes The unique ID of the drift operation.
next_token No The token for the next set of items to return. (You received this token from a previous call.)
max_results No 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.
stack_instance_resource_drift_statuses No The resource drift status of the stack instance. DELETED : The resource differs from its expected template configuration in that the resource has been deleted. MODIFIED : One or more resource properties differ from their expected template values. IN_SYNC : The resource's actual configuration matches its expected template configuration. NOT_CHECKED : CloudFormation doesn't currently return this...
call_as No [Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF . If you are signed in to a delegated administrator account,...

Output

ListStackInstanceResourceDriftsOutput.

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
summaries list[StackInstanceResourceDriftsSummaryOutput] | None Always present StackInstanceResourceDriftsSummaryOutput
next_token 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.

CallAs, ListStackInstanceResourceDriftsOutput, StackResourceDriftStatus

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

Pagination and streaming

client.paginators.list_stack_instance_resource_drifts(...) accepts the same arguments and returns AsyncIterator[ListStackInstanceResourceDriftsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_cloudformation.exceptions:

OperationNotFoundError, StackInstanceNotFoundError, StackSetNotFoundError.

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

Service guide · Pinned model