Module Smaws_Client_CloudTrail.GetResourcePolicy

val request : Smaws_Lib.Context.t -> get_resource_policy_request -> (get_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 | `ResourcePolicyNotFoundException of resource_policy_not_found_exception | `ResourceTypeNotSupportedException of resource_type_not_supported_exception | `UnsupportedOperationException of unsupported_operation_exception ]) Stdlib.result

Retrieves the JSON text of the resource-based policy document attached to the CloudTrail channel.