Module Values.CopyBackupResponseSource

Copies an existing backup within the same Amazon Web Services account to another Amazon Web Services Region (cross-Region copy) or within the same Amazon Web Services Region (in-Region copy). You can have up to five backup copy requests in progress to a single destination Region per account. You can use cross-Region backup copies for cross-Region disaster recovery. You can periodically take backups and copy them to another Region so that in the event of a disaster in the primary Region, you can restore from backup and recover availability quickly in the other Region. You can make cross-Region copies only within your Amazon Web Services partition. A partition is a grouping of Regions. Amazon Web Services currently has three partitions: aws (Standard Regions), aws-cn (China Regions), and aws-us-gov (Amazon Web Services GovCloud [US] Regions). You can also use backup copies to clone your file dataset to another Region or within the same Region. You can use the SourceRegion parameter to specify the Amazon Web Services Region from which the backup will be copied. For example, if you make the call from the us-west-1 Region and want to copy a backup from the us-east-2 Region, you specify us-east-2 in the SourceRegion parameter to make a cross-Region copy. If you don't specify a Region, the backup copy is created in the same Region where the request is sent from (in-Region copy). For more information about creating backup copies, see Copying backups in the Amazon FSx for Windows User Guide, Copying backups in the Amazon FSx for Lustre User Guide, and Copying backups in the Amazon FSx for OpenZFS User Guide.

Sourcetype nonrec t = {
  1. backup : Backup.t option;
}
Sourcetype nonrec error = [
  1. | `BackupNotFound of BackupNotFound.t
  2. | `BadRequest of BadRequest.t
  3. | `IncompatibleParameterError of IncompatibleParameterError.t
  4. | `IncompatibleRegionForMultiAZ of IncompatibleRegionForMultiAZ.t
  5. | `InternalServerError of InternalServerError.t
  6. | `InvalidDestinationKmsKey of InvalidDestinationKmsKey.t
  7. | `InvalidRegion of InvalidRegion.t
  8. | `InvalidSourceKmsKey of InvalidSourceKmsKey.t
  9. | `ServiceLimitExceeded of ServiceLimitExceeded.t
  10. | `SourceBackupUnavailable of SourceBackupUnavailable.t
  11. | `UnsupportedOperation of UnsupportedOperation.t
  12. | `Unknown_operation_error of string * string option
]
Sourceval make : ?backup:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BackupNotFound of BackupNotFound.t | `BadRequest of BadRequest.t | `IncompatibleParameterError of IncompatibleParameterError.t | `IncompatibleRegionForMultiAZ of IncompatibleRegionForMultiAZ.t | `InternalServerError of InternalServerError.t | `InvalidDestinationKmsKey of InvalidDestinationKmsKey.t | `InvalidRegion of InvalidRegion.t | `InvalidSourceKmsKey of InvalidSourceKmsKey.t | `ServiceLimitExceeded of ServiceLimitExceeded.t | `SourceBackupUnavailable of SourceBackupUnavailable.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BackupNotFound of BackupNotFound.t | `BadRequest of BadRequest.t | `IncompatibleParameterError of IncompatibleParameterError.t | `IncompatibleRegionForMultiAZ of IncompatibleRegionForMultiAZ.t | `InternalServerError of InternalServerError.t | `InvalidDestinationKmsKey of InvalidDestinationKmsKey.t | `InvalidRegion of InvalidRegion.t | `InvalidSourceKmsKey of InvalidSourceKmsKey.t | `ServiceLimitExceeded of ServiceLimitExceeded.t | `SourceBackupUnavailable of SourceBackupUnavailable.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * Awso.Botodata.value) 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