« blib/lib/Paws/SSMIncidents/UpdateRelatedItemsOutput.pm
↑ Summary
blib/lib/Paws/SSMIncidents/UpdateReplicationSetAction.pm »
| 1 | |||
| 2 | package Paws::SSMIncidents::UpdateReplicationSet; | ||
| 3 | use Moose; | ||
| 4 | has Actions => (is => 'ro', isa => 'ArrayRef[Paws::SSMIncidents::UpdateReplicationSetAction]', traits => ['NameInRequest'], request_name => 'actions', required => 1); | ||
| 5 | has Arn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'arn', required => 1); | ||
| 6 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateReplicationSet'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/updateReplicationSet'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSMIncidents::UpdateReplicationSetOutput'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::SSMIncidents::UpdateReplicationSet - Arguments for method UpdateReplicationSet on L<Paws::SSMIncidents> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateReplicationSet on the | ||
| 25 | L<AWS Systems Manager Incident Manager|Paws::SSMIncidents> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateReplicationSet. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateReplicationSet. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $ssm-incidents = Paws->service('SSMIncidents'); | ||
| 33 | my $UpdateReplicationSetOutput = $ssm -incidents->UpdateReplicationSet( | ||
| 34 | Actions => [ | ||
| 35 | { | ||
| 36 | AddRegionAction => { | ||
| 37 | RegionName => 'MyRegionName', # max: 20 | ||
| 38 | SseKmsKeyId => 'MySseKmsKey', # max: 2048; OPTIONAL | ||
| 39 | }, # OPTIONAL | ||
| 40 | DeleteRegionAction => { | ||
| 41 | RegionName => 'MyRegionName', # max: 20 | ||
| 42 | |||
| 43 | }, # OPTIONAL | ||
| 44 | }, | ||
| 45 | ... | ||
| 46 | ], | ||
| 47 | Arn => 'MyArn', | ||
| 48 | ClientToken => 'MyClientToken', # OPTIONAL | ||
| 49 | ); | ||
| 50 | |||
| 51 | 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. | ||
| 52 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents/UpdateReplicationSet> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> Actions => ArrayRef[L<Paws::SSMIncidents::UpdateReplicationSetAction>] | ||
| 58 | |||
| 59 | An action to add or delete a Region. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> Arn => Str | ||
| 64 | |||
| 65 | The Amazon Resource Name (ARN) of the replication set you're updating. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 ClientToken => Str | ||
| 70 | |||
| 71 | A token ensuring that the action is called only once with the specified | ||
| 72 | details. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method UpdateReplicationSet in L<Paws::SSMIncidents> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |