NAME

Paws::FSX::CopyBackup - Arguments for method CopyBackup on Paws::FSX

DESCRIPTION

This class represents the parameters used for calling the method CopyBackup on the Amazon FSx service. Use the attributes of this class as arguments to method CopyBackup.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyBackup.

SYNOPSIS

my $fsx = Paws->service('FSX');
my $CopyBackupResponse = $fsx->CopyBackup(
  SourceBackupId     => 'MySourceBackupId',
  ClientRequestToken => 'MyClientRequestToken',    # OPTIONAL
  CopyTags           => 1,                         # OPTIONAL
  KmsKeyId           => 'MyKmsKeyId',              # OPTIONAL
  SourceRegion       => 'MyRegion',                # OPTIONAL
  Tags               => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $Backup = $CopyBackupResponse->Backup;

# Returns a L<Paws::FSX::CopyBackupResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/fsx/CopyBackup

ATTRIBUTES

ClientRequestToken => Str

CopyTags => Bool

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.

KmsKeyId => Str

REQUIRED SourceBackupId => Str

The ID of the source backup. Specifies the ID of the backup that is being copied.

SourceRegion => Str

The source AWS Region of the backup. Specifies the AWS Region from which the backup is being copied. The source and destination Regions must be in the same AWS partition. If you don't specify a Region, it defaults to the Region where the request is sent from (in-Region copy).

Tags => ArrayRef[Paws::FSX::Tag]

SEE ALSO

This class forms part of Paws, documenting arguments for method CopyBackup in Paws::FSX

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues