Module Smaws_Client_CloudWatchLogs.PutDestinationPolicy

Creates or updates an access policy associated with an existing destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `OperationAbortedException of Types.operation_aborted_exception | `ServiceUnavailableException of Types.service_unavailable_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_destination_policy_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `OperationAbortedException of Types.operation_aborted_exception | `ServiceUnavailableException of Types.service_unavailable_exception ]) Stdlib.result