Module Smaws_Client_CloudTrail.DeleteResourcePolicy

Deletes the resource-based policy attached to the CloudTrail event data store, dashboard, or channel.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `ResourceARNNotValidException of Types.resource_arn_not_valid_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourcePolicyNotFoundException of Types.resource_policy_not_found_exception | `ResourceTypeNotSupportedException of Types.resource_type_not_supported_exception | `UnsupportedOperationException of Types.unsupported_operation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_resource_policy_request -> (Types.delete_resource_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `ResourceARNNotValidException of Types.resource_arn_not_valid_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourcePolicyNotFoundException of Types.resource_policy_not_found_exception | `ResourceTypeNotSupportedException of Types.resource_type_not_supported_exception | `UnsupportedOperationException of Types.unsupported_operation_exception ]) Stdlib.result