Module Smaws_Client_Redshift.PutResourcePolicy

Updates the resource policy for a specified resource.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `ConflictPolicyUpdateFault of Types.conflict_policy_update_fault | `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.put_resource_policy_message -> (Types.put_resource_policy_result, [> Smaws_Lib.Protocols.AwsQuery.error | `ConflictPolicyUpdateFault of Types.conflict_policy_update_fault | `InvalidPolicyFault of Types.invalid_policy_fault | `ResourceNotFoundFault of Types.resource_not_found_fault | `UnsupportedOperationFault of Types.unsupported_operation_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.put_resource_policy_message -> (Types.put_resource_policy_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `ConflictPolicyUpdateFault of Types.conflict_policy_update_fault | `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