File Coverage

blib/lib/Paws/IAM/UpdateUser.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::IAM::UpdateUser;
3 1     1   563 use Moose;
  1         2  
  1         9  
4             has NewPath => (is => 'ro', isa => 'Str');
5             has NewUserName => (is => 'ro', isa => 'Str');
6             has UserName => (is => 'ro', isa => 'Str', required => 1);
7              
8 1     1   7003 use MooseX::ClassAttribute;
  1         4  
  1         11  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateUser');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::IAM::UpdateUser - Arguments for method UpdateUser on Paws::IAM
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method UpdateUser on the
24             AWS Identity and Access Management service. Use the attributes of this class
25             as arguments to method UpdateUser.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateUser.
28              
29             As an example:
30              
31             $service_obj->UpdateUser(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 NewPath => Str
39              
40             New path for the IAM user. Include this parameter only if you're
41             changing the user's path.
42              
43             This paramater allows (per its regex pattern) a string of characters
44             consisting of either a forward slash (/) by itself or a string that
45             must begin and end with forward slashes, containing any ASCII character
46             from the ! (\u0021) thru the DEL character (\u007F), including most
47             punctuation characters, digits, and upper and lowercased letters.
48              
49              
50              
51             =head2 NewUserName => Str
52              
53             New name for the user. Include this parameter only if you're changing
54             the user's name.
55              
56             This parameter allows (per its regex pattern) a string of characters
57             consisting of upper and lowercase alphanumeric characters with no
58             spaces. You can also include any of the following characters: =,.@-
59              
60              
61              
62             =head2 B<REQUIRED> UserName => Str
63              
64             Name of the user to update. If you're changing the name of the user,
65             this is the original user name.
66              
67             This parameter allows (per its regex pattern) a string of characters
68             consisting of upper and lowercase alphanumeric characters with no
69             spaces. You can also include any of the following characters: =,.@-
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method UpdateUser in L<Paws::IAM>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85