Module Values.CopyClusterSnapshotResultSource

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.

Sourcetype copyClusterSnapshotResult = {
  1. snapshot : Snapshot.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. copyClusterSnapshotResult : copyClusterSnapshotResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ClusterNotFoundFault of ClusterNotFoundFault.t
  2. | `ClusterSnapshotAlreadyExistsFault of ClusterSnapshotAlreadyExistsFault.t
  3. | `ClusterSnapshotNotFoundFault of ClusterSnapshotNotFoundFault.t
  4. | `ClusterSnapshotQuotaExceededFault of ClusterSnapshotQuotaExceededFault.t
  5. | `InvalidClusterSnapshotStateFault of InvalidClusterSnapshotStateFault.t
  6. | `InvalidRetentionPeriodFault of InvalidRetentionPeriodFault.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?snapshot:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClusterNotFoundFault of unit | `ClusterSnapshotAlreadyExistsFault of unit | `ClusterSnapshotNotFoundFault of unit | `ClusterSnapshotQuotaExceededFault of unit | `InvalidClusterSnapshotStateFault of unit | `InvalidRetentionPeriodFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClusterNotFoundFault of unit | `ClusterSnapshotAlreadyExistsFault of unit | `ClusterSnapshotNotFoundFault of unit | `ClusterSnapshotQuotaExceededFault of unit | `InvalidClusterSnapshotStateFault of unit | `InvalidRetentionPeriodFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ] list | `Long of Long.t | `String of String_.t | `Timestamp of TStamp.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t