IAM/LoginProfile.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« IAM/InstanceProfiles.pm ↑ Summary IAM/MFADevice.pm »
1 package Net::Amazon::IAM::LoginProfile;
2 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 =head1 NAME
5  
6 Net::Amazon::IAM::LoginProfile
7  
8 =head1 DESCRIPTION
9  
10 A class representing a IAM login profile.
11  
12 =head1 ATTRIBUTES
13  
14 =over
15  
16 =item CreateDate (required)
17  
18 The date when the password for the user was created.
19  
20 =item PasswordResetRequired (optional)
21  
22 Specifies whether the user is required to set a new password on next sign-in.
23  
24 =item UserName (required)
25  
26 The name of the user, which can be used for signing in to the AWS Management Console.
27  
28 =back
29  
30 =cut
31  
32 1 has 'CreateDate' => (
33 is => 'ro',
34 isa => 'Str',
35 required => 1,
36 );
37  
38 1 has 'PasswordResetRequired' => (
39 is => 'ro',
40 isa => 'Maybe[Str]',
41 required => 0,
42 );
43  
44 1 has 'UserName' => (
45 is => 'ro',
46 isa => 'Str',
47 required => 1,
48 );
49  
50 1 __PACKAGE__->meta->make_immutable();
51  
52 =head1 AUTHOR
53  
54 Igor Tsigankov <tsiganenok@gmail.com>
55  
56 =head1 COPYRIGHT
57  
58 Copyright (c) 2015 Igor Tsigankov . This program is free software; you can redistribute it and/or modify it
59 under the same terms as Perl itself.
60  
61 =cut
62  
63 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
64 1 1;
« IAM/InstanceProfiles.pm ↑ Summary IAM/MFADevice.pm »