Skip to content

CloudFormation  >  Operations  >  list_generated_templates

list_generated_templates

Operation

list_generated_templates async

list_generated_templates(input: ListGeneratedTemplatesInput, plugins: list[Plugin] | None = None) -> ListGeneratedTemplatesOutput

Lists your generated templates in this Region.

Parameters:

Name Type Description Default
input ListGeneratedTemplatesInput

An instance of ListGeneratedTemplatesInput.

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
ListGeneratedTemplatesOutput

An instance of ListGeneratedTemplatesOutput.

Input

ListGeneratedTemplatesInput dataclass

Bases: _SerdeShape

Dataclass for ListGeneratedTemplatesInput structure.

Attributes

max_results class-attribute instance-attribute
max_results: int | None = ...

If the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results. By default the ListGeneratedTemplates API action will return at most 50 results in each response. The maximum value is 100.

next_token class-attribute instance-attribute
next_token: str | None = ...

The token for the next set of items to return. (You received this token from a previous call.)

Output

ListGeneratedTemplatesOutput dataclass

Bases: _SerdeShape

Dataclass for ListGeneratedTemplatesOutput structure.

Attributes

next_token class-attribute instance-attribute
next_token: str | None = ...

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListGeneratedTemplates again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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[TemplateSummary] | None = ...

A list of summaries of the generated templates.