Module Smaws_Client_SNS.PutDataProtectionPolicy

Adds or updates an inline policy document that is stored in the specified Amazon SNS topic.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `AuthorizationErrorException of Types.authorization_error_exception | `InternalErrorException of Types.internal_error_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidSecurityException of Types.invalid_security_exception | `NotFoundException of Types.not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_data_protection_policy_input -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsQuery.error | `AuthorizationErrorException of Types.authorization_error_exception | `InternalErrorException of Types.internal_error_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidSecurityException of Types.invalid_security_exception | `NotFoundException of Types.not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.put_data_protection_policy_input -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `AuthorizationErrorException of Types.authorization_error_exception | `InternalErrorException of Types.internal_error_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidSecurityException of Types.invalid_security_exception | `NotFoundException of Types.not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result