Smaws_Client_SNS.DeleteTopicDeletes 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `ConcurrentAccessException of Types.concurrent_access_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidStateException of Types.invalid_state_exception
| `NotFoundException of Types.not_found_exception
| `StaleTagException of Types.stale_tag_exception
| `TagPolicyException of Types.tag_policy_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_topic_input ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `ConcurrentAccessException of Types.concurrent_access_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidStateException of Types.invalid_state_exception
| `NotFoundException of Types.not_found_exception
| `StaleTagException of Types.stale_tag_exception
| `TagPolicyException of Types.tag_policy_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_topic_input ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `ConcurrentAccessException of Types.concurrent_access_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidStateException of Types.invalid_state_exception
| `NotFoundException of Types.not_found_exception
| `StaleTagException of Types.stale_tag_exception
| `TagPolicyException of Types.tag_policy_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result