PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::EC2::CopySnapshot; use Moose; has Description => (is => 'ro', isa => 'Str'); has DestinationOutpostArn => (is => 'ro', isa => 'Str'); has DestinationRegion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationRegion' ); has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); has Encrypted => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'encrypted' ); has KmsKeyId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'kmsKeyId' ); has PresignedUrl => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'presignedUrl' ); has SourceRegion => (is => 'ro', isa => 'Str', required => 1); has SourceSnapshotId => (is => 'ro', isa => 'Str', required => 1); has TagSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::TagSpecification]', traits => ['NameInRequest'], request_name => 'TagSpecification' ); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'CopySnapshot'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CopySnapshotResult'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::EC2::CopySnapshot - Arguments for method CopySnapshot on L =head1 DESCRIPTION This class represents the parameters used for calling the method CopySnapshot on the L service. Use the attributes of this class as arguments to method CopySnapshot. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopySnapshot. =head1 SYNOPSIS my $ec2 = Paws->service('EC2'); # To copy a snapshot # This example copies a snapshot with the snapshot ID of # ``snap-066877671789bd71b`` from the ``us-west-2`` region to the ``us-east-1`` # region and adds a short description to identify the snapshot. my $CopySnapshotResult = $ec2->CopySnapshot( 'Description' => 'This is my copied snapshot.', 'DestinationRegion' => 'us-east-1', 'SourceRegion' => 'us-west-2', 'SourceSnapshotId' => 'snap-066877671789bd71b' ); # Results: my $SnapshotId = $CopySnapshotResult->SnapshotId; # Returns a L 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 L =head1 ATTRIBUTES =head2 Description => Str A description for the EBS snapshot. =head2 DestinationOutpostArn => Str The Amazon Resource Name (ARN) of the Outpost to which to copy the snapshot. Only specify this parameter when copying a snapshot from an AWS Region to an Outpost. The snapshot must be in the Region for the destination Outpost. You cannot copy a snapshot from an Outpost to a Region, from one Outpost to another, or within the same Outpost. For more information, see Copying snapshots from an AWS Region to an Outpost (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots) in the I. =head2 DestinationRegion => Str The destination Region to use in the C parameter of a snapshot copy operation. This parameter is only valid for specifying the destination Region in a C parameter, where it is required. The snapshot copy is sent to the regional endpoint that you sent the HTTP request to (for example, C). With the AWS CLI, this is specified using the C<--region> parameter or the default Region in your AWS configuration file. =head2 DryRun => Bool Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is C. Otherwise, it is C. =head2 Encrypted => Bool To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Otherwise, omit this parameter. Encrypted snapshots are encrypted, even if you omit this parameter and encryption by default is not enabled. You cannot set this parameter to false. For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the I. =head2 KmsKeyId => Str The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used. If C is specified, the encrypted state must be C. You can specify the CMK using any of the following: =over =item * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. =item * Key alias. For example, alias/ExampleAlias. =item * Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. =item * Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. =back AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, the action can appear to complete, but eventually fails. =head2 PresignedUrl => Str When you copy an encrypted source snapshot using the Amazon EC2 Query API, you must supply a pre-signed URL. This parameter is optional for unencrypted snapshots. For more information, see Query requests (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html). The C should use the snapshot source endpoint, the C action, and include the C, C, and C parameters. The C must be signed using AWS Signature Version 4. Because EBS snapshots are stored in Amazon S3, the signing algorithm for this parameter uses the same logic that is described in Authenticating Requests: Using Query Parameters (AWS Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) in the I. An invalid or improperly signed C will cause the copy operation to fail asynchronously, and the snapshot will move to an C state. =head2 B SourceRegion => Str The ID of the Region that contains the snapshot to be copied. =head2 B SourceSnapshotId => Str The ID of the EBS snapshot to copy. =head2 TagSpecifications => ArrayRef[L] The tags to apply to the new snapshot. =head1 SEE ALSO This class forms part of L, documenting arguments for method CopySnapshot in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut