Module Smaws_Client_CloudTrail.PutResourcePolicy

val request : Smaws_Lib.Context.t -> put_resource_policy_request -> (put_resource_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `OperationNotPermittedException of operation_not_permitted_exception | `ResourceARNNotValidException of resource_arn_not_valid_exception | `ResourceNotFoundException of resource_not_found_exception | `ResourcePolicyNotValidException of resource_policy_not_valid_exception | `ResourceTypeNotSupportedException of resource_type_not_supported_exception | `UnsupportedOperationException of unsupported_operation_exception ]) Stdlib.result

Attaches a resource-based permission policy to a CloudTrail channel that is used for an integration with an event source outside of Amazon Web Services. For more information about resource-based policies, see CloudTrail resource-based policy examples in the CloudTrail User Guide.