list_stack_sets¶
Operation¶
list_stack_sets
async
¶
list_stack_sets(input: ListStackSetsInput, plugins: list[Plugin] | None = None) -> ListStackSetsOutput
Returns summary information about StackSets that are associated with the user.
Note
This API provides strongly consistent reads meaning it will always return the most up-to-date data.
-
[Self-managed permissions] If you set the
CallAsparameter toSELFwhile signed in to your Amazon Web Services account,ListStackSetsreturns all self-managed StackSets in your Amazon Web Services account. -
[Service-managed permissions] If you set the
CallAsparameter toSELFwhile signed in to the organization's management account,ListStackSetsreturns all StackSets in the management account. -
[Service-managed permissions] If you set the
CallAsparameter toDELEGATED_ADMINwhile signed in to your member account,ListStackSetsreturns all StackSets with service-managed permissions in the management account.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListStackSetsInput
|
An instance of |
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 |
|---|---|
ListStackSetsOutput
|
An instance of |
Input¶
ListStackSetsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListStackSetsInput structure.
Attributes¶
call_as
class-attribute
instance-attribute
¶
call_as: str | None = ...
[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
DELEGATED_ADMIN.
Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
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.
Output¶
ListStackSetsOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListStackSetsOutput structure.
Attributes¶
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call
ListStackInstances 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
¶
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.
summaries
class-attribute
instance-attribute
¶
summaries: list[StackSetSummary] | None = ...
A list of StackSetSummary structures that contain information about
the user's StackSets.