Module Smaws_Client_RDS.CopyDBSnapshot

Copies the specified DB snapshot. The source DB snapshot must be in the available state.

You can copy a snapshot from one Amazon Web Services Region to another. In that case, the Amazon Web Services Region where you call the CopyDBSnapshot operation is the destination Amazon Web Services Region for the DB snapshot copy.

This command doesn't apply to RDS Custom.

For more information about copying snapshots, see Copying a DB Snapshot in the Amazon RDS User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `CustomAvailabilityZoneNotFoundFault of Types.custom_availability_zone_not_found_fault | `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault | `DBSnapshotNotFoundFault of Types.db_snapshot_not_found_fault | `InvalidDBSnapshotStateFault of Types.invalid_db_snapshot_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_snapshot_message -> (Types.copy_db_snapshot_result, [> Smaws_Lib.Protocols.AwsQuery.error | `CustomAvailabilityZoneNotFoundFault of Types.custom_availability_zone_not_found_fault | `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault | `DBSnapshotNotFoundFault of Types.db_snapshot_not_found_fault | `InvalidDBSnapshotStateFault of Types.invalid_db_snapshot_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_snapshot_message -> (Types.copy_db_snapshot_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `CustomAvailabilityZoneNotFoundFault of Types.custom_availability_zone_not_found_fault | `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault | `DBSnapshotNotFoundFault of Types.db_snapshot_not_found_fault | `InvalidDBSnapshotStateFault of Types.invalid_db_snapshot_state_fault | `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault | `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ] * Smaws_Lib.Response.metadata) Stdlib.result