CloudFormationClient.list_stack_resources
rboto-cloudformation==0.4.0 · Service index · Types
Model summary (excerpt): Returns descriptions of all resources of the specified stack. For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.
Install and imports
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
ListStackResourcesOutput,
)
Signature
async def list_stack_resources(
*,
stack_name: str,
next_token: str | None = None,
) -> ListStackResourcesOutput: ...
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_name |
Yes | The name or the unique stack ID that is associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. |
next_token |
No | The token for the next set of items to return. (You received this token from a previous call.) |
Output
ListStackResourcesOutput.
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 |
|---|---|---|---|
stack_resource_summaries |
list[StackResourceSummaryOutput] | None |
Always present | StackResourceSummaryOutput |
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.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_stack_resources(...) accepts the same arguments and returns AsyncIterator[ListStackResourcesOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: not exposed.
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.