blib/lib/Paws/ElastiCache/ModifyUser.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ElastiCache::ModifyUser;
3 use Moose;
4 has AccessString => (is => 'ro', isa => 'Str');
5 has AppendAccessString => (is => 'ro', isa => 'Str');
6 has NoPasswordRequired => (is => 'ro', isa => 'Bool');
7 has Passwords => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has UserId => (is => 'ro', isa => 'Str', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyUser');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElastiCache::User');
14 class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifyUserResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::ElastiCache::ModifyUser - Arguments for method ModifyUser on L<Paws::ElastiCache>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ModifyUser on the
26 L<Amazon ElastiCache|Paws::ElastiCache> service. Use the attributes of this class
27 as arguments to method ModifyUser.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyUser.
30  
31 =head1 SYNOPSIS
32  
33 my $elasticache = Paws->service('ElastiCache');
34 my $User = $elasticache->ModifyUser(
35 UserId => 'MyUserId',
36 AccessString => 'MyAccessString', # OPTIONAL
37 AppendAccessString => 'MyAccessString', # OPTIONAL
38 NoPasswordRequired => 1, # OPTIONAL
39 Passwords => [ 'MyString', ... ], # OPTIONAL
40 );
41  
42 # Results:
43 my $ARN = $User->ARN;
44 my $AccessString = $User->AccessString;
45 my $Authentication = $User->Authentication;
46 my $Engine = $User->Engine;
47 my $Status = $User->Status;
48 my $UserGroupIds = $User->UserGroupIds;
49 my $UserId = $User->UserId;
50 my $UserName = $User->UserName;
51  
52 # Returns a L<Paws::ElastiCache::User> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticache/ModifyUser>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 AccessString => Str
61  
62 Access permissions string used for this user.
63  
64  
65  
66 =head2 AppendAccessString => Str
67  
68 Adds additional user permissions to the access string.
69  
70  
71  
72 =head2 NoPasswordRequired => Bool
73  
74 Indicates no password is required for the user.
75  
76  
77  
78 =head2 Passwords => ArrayRef[Str|Undef]
79  
80 The passwords belonging to the user. You are allowed up to two.
81  
82  
83  
84 =head2 B<REQUIRED> UserId => Str
85  
86 The ID of the user.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method ModifyUser in L<Paws::ElastiCache>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102