Module Smaws_Client_Redshift.CopyClusterSnapshot

Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state.

When you delete a cluster, Amazon Redshift deletes any automated snapshots of the cluster. Also, when the retention period of the snapshot expires, Amazon Redshift automatically deletes it. If you want to keep an automated snapshot for a longer period, you can make a manual copy of the snapshot. Manual snapshots are retained until you delete them.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `ClusterSnapshotAlreadyExistsFault of Types.cluster_snapshot_already_exists_fault | `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_not_found_fault | `ClusterSnapshotQuotaExceededFault of Types.cluster_snapshot_quota_exceeded_fault | `InvalidClusterSnapshotStateFault of Types.invalid_cluster_snapshot_state_fault | `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.copy_cluster_snapshot_message -> (Types.copy_cluster_snapshot_result, [> Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `ClusterSnapshotAlreadyExistsFault of Types.cluster_snapshot_already_exists_fault | `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_not_found_fault | `ClusterSnapshotQuotaExceededFault of Types.cluster_snapshot_quota_exceeded_fault | `InvalidClusterSnapshotStateFault of Types.invalid_cluster_snapshot_state_fault | `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.copy_cluster_snapshot_message -> (Types.copy_cluster_snapshot_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `ClusterSnapshotAlreadyExistsFault of Types.cluster_snapshot_already_exists_fault | `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_not_found_fault | `ClusterSnapshotQuotaExceededFault of Types.cluster_snapshot_quota_exceeded_fault | `InvalidClusterSnapshotStateFault of Types.invalid_cluster_snapshot_state_fault | `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault ] * Smaws_Lib.Response.metadata) Stdlib.result