Smaws_Client_Redshift.GetResourcePolicyGet 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 ] ->
stringval 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.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_resource_policy_message ->
(Types.get_resource_policy_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidPolicyFault of Types.invalid_policy_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault
| `UnsupportedOperationFault of Types.unsupported_operation_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result