Smaws_Client_Redshift.DisableSnapshotCopyDisables the automatic copying of snapshots from one region to another region for a specified cluster.
If your cluster and its snapshots are encrypted using an encrypted symmetric key from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the key in the destination region.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `SnapshotCopyAlreadyDisabledFault of
Types.snapshot_copy_already_disabled_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.disable_snapshot_copy_message ->
(Types.disable_snapshot_copy_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `SnapshotCopyAlreadyDisabledFault of
Types.snapshot_copy_already_disabled_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.disable_snapshot_copy_message ->
(Types.disable_snapshot_copy_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `SnapshotCopyAlreadyDisabledFault of
Types.snapshot_copy_already_disabled_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result