Skip to content

CloudFormationClient.list_imports

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports . For more information about importing an exported output value, see the Fn::ImportValue function.

Install and imports

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

Signature

async def list_imports(
    *,
    export_name: str,
    next_token: str | None = None,
) -> ListImportsOutput: ...

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)
export_name Yes The name of the exported output value. CloudFormation returns the stack names that are importing this value.
next_token No The token for the next set of items to return. (You received this token from a previous call.)

Output

ListImportsOutput.

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
imports list[str] | None Always present —
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.

ListImportsOutput

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

Pagination and streaming

client.paginators.list_imports(...) accepts the same arguments and returns AsyncIterator[ListImportsOutput]. 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.

Service guide · Pinned model