Module Values.ModifyClusterSnapshotMessageSource

Modifies the settings for a snapshot. This exanmple modifies the manual retention period setting for a cluster snapshot.

Sourcetype nonrec t = {
  1. snapshotIdentifier : String_.t;
    (*

    The identifier of the snapshot whose setting you want to modify.

    *)
  2. manualSnapshotRetentionPeriod : IntegerOptional.t option;
    (*

    The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot. The value must be either -1 or an integer between 1 and 3,653.

    *)
  3. force : Boolean.t option;
    (*

    A Boolean option to override an exception if the retention period has already passed.

    *)
}
Sourceval context_ : string
Sourceval make : ?manualSnapshotRetentionPeriod:??? -> ?force:??? -> snapshotIdentifier:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of IntegerOptional.t | `String of String_.t ]) 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