| 1 | |||
| 2 | package Paws::KMS::UpdatePrimaryRegion; | ||
| 3 | use Moose; | ||
| 4 | has KeyId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has PrimaryRegion => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdatePrimaryRegion'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::KMS::UpdatePrimaryRegion - Arguments for method UpdatePrimaryRegion on L<Paws::KMS> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method UpdatePrimaryRegion on the | ||
| 23 | L<AWS Key Management Service|Paws::KMS> service. Use the attributes of this class | ||
| 24 | as arguments to method UpdatePrimaryRegion. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePrimaryRegion. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $kms = Paws->service('KMS'); | ||
| 31 | $kms->UpdatePrimaryRegion( | ||
| 32 | KeyId => 'MyKeyIdType', | ||
| 33 | PrimaryRegion => 'MyRegionType', | ||
| 34 | |||
| 35 | ); | ||
| 36 | |||
| 37 | 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. | ||
| 38 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kms/UpdatePrimaryRegion> | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 B<REQUIRED> KeyId => Str | ||
| 44 | |||
| 45 | Identifies the current primary key. When the operation completes, this | ||
| 46 | CMK will be a replica key. | ||
| 47 | |||
| 48 | Specify the key ID or key ARN of a multi-Region primary key. | ||
| 49 | |||
| 50 | For example: | ||
| 51 | |||
| 52 | =over | ||
| 53 | |||
| 54 | =item * | ||
| 55 | |||
| 56 | Key ID: C<mrk-1234abcd12ab34cd56ef1234567890ab> | ||
| 57 | |||
| 58 | =item * | ||
| 59 | |||
| 60 | Key ARN: | ||
| 61 | C<arn:aws:kms:us-east-2:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab> | ||
| 62 | |||
| 63 | =back | ||
| 64 | |||
| 65 | To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> PrimaryRegion => Str | ||
| 70 | |||
| 71 | The AWS Region of the new primary key. Enter the Region ID, such as | ||
| 72 | C<us-east-1> or C<ap-southeast-2>. There must be an existing replica | ||
| 73 | key in this Region. | ||
| 74 | |||
| 75 | When the operation completes, the multi-Region key in this Region will | ||
| 76 | be the primary key. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, documenting arguments for method UpdatePrimaryRegion in L<Paws::KMS> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |