Skip to content

CloudFormationClient.list_stack_sets

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Returns summary information about StackSets that are associated with the user. This API provides strongly consistent reads meaning it will always return the most up-to-date data. [Self-managed permissions] If you set the CallAs parameter to SELF while signed in to your Amazon Web Services account, ListStackSets returns all self-managed StackSets in your Amazon Web Services account....

Install and imports

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

Signature

async def list_stack_sets(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
    status: StackSetStatus | None = None,
    call_as: CallAs | None = None,
) -> ListStackSetsOutput: ...

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)
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.
status No The status of the StackSets that you want to get summary information about.
call_as No [Service-managed permissions] Specifies whether you are acting as an account administrator in the 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, specify...

Output

ListStackSetsOutput.

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[StackSetSummaryOutput] | None Always present StackSetSummaryOutput
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, ListStackSetsOutput, StackSetStatus

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

Pagination and streaming

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

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

No output stream.

Errors

No modeled service errors for this operation.

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

Service guide · Pinned model