list_topics¶
Operation¶
list_topics
async
¶
list_topics(input: ListTopicsInput, plugins: list[Plugin] | None = None) -> ListTopicsOutput
Returns a list of the requester's topics. Each call returns a limited
list of topics, up to 100. If there are more topics, a NextToken is
also returned. Use the NextToken parameter in a new ListTopics call
to get further results.
This action is throttled at 30 transactions per second (TPS).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListTopicsInput
|
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 |
|---|---|
ListTopicsOutput
|
An instance of |
Input¶
ListTopicsInput
dataclass
¶
Output¶
ListTopicsOutput
dataclass
¶
Response for ListTopics action.
Attributes¶
next_token
class-attribute
instance-attribute
¶
next_token: str | None = None
Token to pass along to the next ListTopics request. This element is
returned if there are additional topics to retrieve.
response_metadata
class-attribute
instance-attribute
¶
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)
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.