File Coverage

blib/lib/Paws/WorkDocs/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::WorkDocs::UpdateUser;
3 1     1   684 use Moose;
  1         4  
  1         9  
4             has AuthenticationToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Authentication' );
5             has GivenName => (is => 'ro', isa => 'Str');
6             has Locale => (is => 'ro', isa => 'Str');
7             has StorageRule => (is => 'ro', isa => 'Paws::WorkDocs::StorageRuleType');
8             has Surname => (is => 'ro', isa => 'Str');
9             has TimeZoneId => (is => 'ro', isa => 'Str');
10             has Type => (is => 'ro', isa => 'Str');
11             has UserId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'UserId' , required => 1);
12              
13 1     1   7373 use MooseX::ClassAttribute;
  1         4  
  1         11  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateUser');
16             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/api/v1/users/{UserId}');
17             class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
18             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WorkDocs::UpdateUserResponse');
19             class_has _result_key => (isa => 'Str', is => 'ro');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::WorkDocs::UpdateUser - Arguments for method UpdateUser on Paws::WorkDocs
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method UpdateUser on the
31             Amazon WorkDocs service. Use the attributes of this class
32             as arguments to method UpdateUser.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateUser.
35              
36             As an example:
37              
38             $service_obj->UpdateUser(Att1 => $value1, Att2 => $value2, ...);
39              
40             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.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AuthenticationToken => Str
46              
47             Amazon WorkDocs authentication token. This field should not be set when
48             using administrative API actions, as in accessing the API using AWS
49             credentials.
50              
51              
52              
53             =head2 GivenName => Str
54              
55             The given name of the user.
56              
57              
58              
59             =head2 Locale => Str
60              
61             The locale of the user.
62              
63             Valid values are: C<"en">, C<"fr">, C<"ko">, C<"de">, C<"es">, C<"ja">, C<"ru">, C<"zh_CN">, C<"zh_TW">, C<"pt_BR">, C<"default">
64              
65             =head2 StorageRule => L<Paws::WorkDocs::StorageRuleType>
66              
67             The amount of storage for the user.
68              
69              
70              
71             =head2 Surname => Str
72              
73             The surname of the user.
74              
75              
76              
77             =head2 TimeZoneId => Str
78              
79             The time zone ID of the user.
80              
81              
82              
83             =head2 Type => Str
84              
85             The type of the user.
86              
87             Valid values are: C<"USER">, C<"ADMIN">
88              
89             =head2 B<REQUIRED> UserId => Str
90              
91             The ID of the user.
92              
93              
94              
95              
96             =head1 SEE ALSO
97              
98             This class forms part of L<Paws>, documenting arguments for method UpdateUser in L<Paws::WorkDocs>
99              
100             =head1 BUGS and CONTRIBUTIONS
101              
102             The source code is located here: https://github.com/pplu/aws-sdk-perl
103              
104             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
105              
106             =cut
107