Module Smaws_Client_SNS.CreateTopic

Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see Creating an Amazon SNS topic in the Amazon SNS Developer Guide. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.

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 | `InvalidSecurityException of Types.invalid_security_exception | `StaleTagException of Types.stale_tag_exception | `TagLimitExceededException of Types.tag_limit_exceeded_exception | `TagPolicyException of Types.tag_policy_exception | `TopicLimitExceededException of Types.topic_limit_exceeded_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_topic_input -> (Types.create_topic_response, [> 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 | `InvalidSecurityException of Types.invalid_security_exception | `StaleTagException of Types.stale_tag_exception | `TagLimitExceededException of Types.tag_limit_exceeded_exception | `TagPolicyException of Types.tag_policy_exception | `TopicLimitExceededException of Types.topic_limit_exceeded_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_topic_input -> (Types.create_topic_response 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 | `InvalidSecurityException of Types.invalid_security_exception | `StaleTagException of Types.stale_tag_exception | `TagLimitExceededException of Types.tag_limit_exceeded_exception | `TagPolicyException of Types.tag_policy_exception | `TopicLimitExceededException of Types.topic_limit_exceeded_exception ] * Smaws_Lib.Response.metadata) Stdlib.result