Module Values.CopySnapshotAndUpdateVolumeRequestSource

Updates an existing volume by using a snapshot from another Amazon FSx for OpenZFS file system. For more information, see on-demand data replication in the Amazon FSx for OpenZFS User Guide.

Sourcetype nonrec t = {
  1. clientRequestToken : ClientRequestToken.t option;
  2. volumeId : VolumeId.t;
    (*

    Specifies the ID of the volume that you are copying the snapshot to.

    *)
  3. sourceSnapshotARN : ResourceARN.t;
  4. copyStrategy : OpenZFSCopyStrategy.t option;
    (*

    Specifies the strategy to use when copying data from a snapshot to the volume. FULL_COPY - Copies all data from the snapshot to the volume. INCREMENTAL_COPY - Copies only the snapshot data that's changed since the previous replication. CLONE isn't a valid copy strategy option for the CopySnapshotAndUpdateVolume operation.

    *)
  5. options : UpdateOpenZFSVolumeOptions.t option;
    (*

    Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication. Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot. DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume. DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume. DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientRequestToken:??? -> ?copyStrategy:??? -> ?options:??? -> volumeId:VolumeId.t -> sourceSnapshotARN:ResourceARN.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of ClientRequestToken.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