Struct aws_sdk_fsx::input::CopyBackupInput [−][src]
#[non_exhaustive]pub struct CopyBackupInput {
pub client_request_token: Option<String>,
pub source_backup_id: Option<String>,
pub source_region: Option<String>,
pub kms_key_id: Option<String>,
pub copy_tags: Option<bool>,
pub tags: Option<Vec<Tag>>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_request_token: Option<String>(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
source_backup_id: Option<String>The ID of the source backup. Specifies the ID of the backup that is being copied.
source_region: Option<String>The source Amazon Web Services Region of the backup. Specifies the Amazon Web Services Region from which the backup is being copied. The source and destination Regions must be in the same Amazon Web Services partition. If you don't specify a Region, it defaults to the Region where the request is sent from (in-Region copy).
kms_key_id: Option<String>The ID of the Key Management Service (KMS) key used to encrypt the file system's data
for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and
Amazon FSx for Lustre PERSISTENT_1 file systems at rest. If not specified, the Amazon FSx
managed key is used. The Amazon FSx for Lustre SCRATCH_1 and SCRATCH_2 file systems
are always encrypted at rest using Amazon FSx managed keys. For more information, see Encrypt
in the Key Management Service API Reference.
A boolean flag indicating whether tags from the source backup should be copied to the backup copy. This value defaults to false.
If you set CopyTags to true and the source backup has
existing tags, you can use the Tags parameter to create new
tags, provided that the sum of the source backup tags and the new tags
doesn't exceed 50. Both sets of tags are merged. If there are tag
conflicts (for example, two tags with the same key but different values),
the tags created with the Tags parameter take precedence.
A list of Tag values, with a maximum of 50 elements.
Implementations
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CopyBackup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CopyBackup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CopyBackup>
Creates a new builder-style object to manufacture CopyBackupInput
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
The ID of the source backup. Specifies the ID of the backup that is being copied.
The source Amazon Web Services Region of the backup. Specifies the Amazon Web Services Region from which the backup is being copied. The source and destination Regions must be in the same Amazon Web Services partition. If you don't specify a Region, it defaults to the Region where the request is sent from (in-Region copy).
The ID of the Key Management Service (KMS) key used to encrypt the file system's data
for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and
Amazon FSx for Lustre PERSISTENT_1 file systems at rest. If not specified, the Amazon FSx
managed key is used. The Amazon FSx for Lustre SCRATCH_1 and SCRATCH_2 file systems
are always encrypted at rest using Amazon FSx managed keys. For more information, see Encrypt
in the Key Management Service API Reference.
A boolean flag indicating whether tags from the source backup should be copied to the backup copy. This value defaults to false.
If you set CopyTags to true and the source backup has
existing tags, you can use the Tags parameter to create new
tags, provided that the sum of the source backup tags and the new tags
doesn't exceed 50. Both sets of tags are merged. If there are tag
conflicts (for example, two tags with the same key but different values),
the tags created with the Tags parameter take precedence.
A list of Tag values, with a maximum of 50 elements.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CopyBackupInput
impl Send for CopyBackupInput
impl Sync for CopyBackupInput
impl Unpin for CopyBackupInput
impl UnwindSafe for CopyBackupInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more