Module Values.ModifySnapshotCopyRetentionPeriodResultSource

Modifies the number of days to retain snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region. By default, this operation only changes the retention period of copied automated snapshots. The retention periods for both new and existing copied automated snapshots are updated with the new retention period. You can set the manual option to change only the retention periods of copied manual snapshots. If you set this option, only newly copied manual snapshots have the new retention period.

Sourcetype modifySnapshotCopyRetentionPeriodResult = {
  1. cluster : Cluster.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. modifySnapshotCopyRetentionPeriodResult : modifySnapshotCopyRetentionPeriodResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ClusterNotFoundFault of ClusterNotFoundFault.t
  2. | `InvalidClusterStateFault of InvalidClusterStateFault.t
  3. | `InvalidRetentionPeriodFault of InvalidRetentionPeriodFault.t
  4. | `SnapshotCopyDisabledFault of SnapshotCopyDisabledFault.t
  5. | `UnauthorizedOperation of UnauthorizedOperation.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?cluster:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClusterNotFoundFault of unit | `InvalidClusterStateFault of unit | `InvalidRetentionPeriodFault of unit | `SnapshotCopyDisabledFault of unit | `UnauthorizedOperation of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClusterNotFoundFault of unit | `InvalidClusterStateFault of unit | `InvalidRetentionPeriodFault of unit | `SnapshotCopyDisabledFault of unit | `UnauthorizedOperation 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 | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of TStamp.t ]) list ] list | `Long of LongOptional.t | `String of String_.t | `Structure of (string * [> `Boolean of BooleanOptional.t | `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `Long of Long.t | `String of String_.t | `Timestamp of TStamp.t ]) list | `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