Module Smaws_Client_DocDB.CopyDBClusterSnapshot

Copies a snapshot of a cluster.

To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared cluster snapshot. You can only copy a shared DB cluster snapshot, whether encrypted or not, in the same Amazon Web Services Region.

To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that cluster snapshot is in the copying status.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `DBClusterSnapshotAlreadyExistsFault of Types.db_cluster_snapshot_already_exists_fault | `DBClusterSnapshotNotFoundFault of Types.db_cluster_snapshot_not_found_fault | `InvalidDBClusterSnapshotStateFault of Types.invalid_db_cluster_snapshot_state_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault | `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.copy_db_cluster_snapshot_message -> (Types.copy_db_cluster_snapshot_result, [> Smaws_Lib.Protocols.AwsQuery.error | `DBClusterSnapshotAlreadyExistsFault of Types.db_cluster_snapshot_already_exists_fault | `DBClusterSnapshotNotFoundFault of Types.db_cluster_snapshot_not_found_fault | `InvalidDBClusterSnapshotStateFault of Types.invalid_db_cluster_snapshot_state_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault | `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.copy_db_cluster_snapshot_message -> (Types.copy_db_cluster_snapshot_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `DBClusterSnapshotAlreadyExistsFault of Types.db_cluster_snapshot_already_exists_fault | `DBClusterSnapshotNotFoundFault of Types.db_cluster_snapshot_not_found_fault | `InvalidDBClusterSnapshotStateFault of Types.invalid_db_cluster_snapshot_state_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault | `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ] * Smaws_Lib.Response.metadata) Stdlib.result