| 1 | |||
| 2 | package Paws::ElastiCache::ModifyUserGroup; | ||
| 3 | use Moose; | ||
| 4 | has UserGroupId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has UserIdsToAdd => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 6 | has UserIdsToRemove => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyUserGroup'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElastiCache::UserGroup'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifyUserGroupResult'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ElastiCache::ModifyUserGroup - Arguments for method ModifyUserGroup on L<Paws::ElastiCache> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method ModifyUserGroup on the | ||
| 24 | L<Amazon ElastiCache|Paws::ElastiCache> service. Use the attributes of this class | ||
| 25 | as arguments to method ModifyUserGroup. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyUserGroup. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $elasticache = Paws->service('ElastiCache'); | ||
| 32 | my $UserGroup = $elasticache->ModifyUserGroup( | ||
| 33 | UserGroupId => 'MyString', | ||
| 34 | UserIdsToAdd => [ | ||
| 35 | 'MyUserId', ... # min: 1 | ||
| 36 | ], # OPTIONAL | ||
| 37 | UserIdsToRemove => [ | ||
| 38 | 'MyUserId', ... # min: 1 | ||
| 39 | ], # OPTIONAL | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $ARN = $UserGroup->ARN; | ||
| 44 | my $Engine = $UserGroup->Engine; | ||
| 45 | my $PendingChanges = $UserGroup->PendingChanges; | ||
| 46 | my $ReplicationGroups = $UserGroup->ReplicationGroups; | ||
| 47 | my $Status = $UserGroup->Status; | ||
| 48 | my $UserGroupId = $UserGroup->UserGroupId; | ||
| 49 | my $UserIds = $UserGroup->UserIds; | ||
| 50 | |||
| 51 | # Returns a L<Paws::ElastiCache::UserGroup> object. | ||
| 52 | |||
| 53 | 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. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticache/ModifyUserGroup> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> UserGroupId => Str | ||
| 60 | |||
| 61 | The ID of the user group. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 UserIdsToAdd => ArrayRef[Str|Undef] | ||
| 66 | |||
| 67 | The list of user IDs to add to the user group. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 UserIdsToRemove => ArrayRef[Str|Undef] | ||
| 72 | |||
| 73 | The list of user IDs to remove from the user group. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, documenting arguments for method ModifyUserGroup in L<Paws::ElastiCache> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |