Module Smaws_Client_Redshift.GetResourcePolicy

Get the resource policy for a specified resource.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `InvalidPolicyFault of Types.invalid_policy_fault | `ResourceNotFoundFault of Types.resource_not_found_fault | `UnsupportedOperationFault of Types.unsupported_operation_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_resource_policy_message -> (Types.get_resource_policy_result, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidPolicyFault of Types.invalid_policy_fault | `ResourceNotFoundFault of Types.resource_not_found_fault | `UnsupportedOperationFault of Types.unsupported_operation_fault ]) Stdlib.result