delete_topic¶
Operation¶
delete_topic
async
¶
delete_topic(input: DeleteTopicInput, plugins: list[Plugin] | None = None) -> DeleteTopicOutput
Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteTopicInput
|
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 |
|---|---|
DeleteTopicOutput
|
An instance of |
Input¶
DeleteTopicInput
dataclass
¶
Output¶
DeleteTopicOutput
dataclass
¶
Dataclass for DeleteTopicOutput structure.