IAM/MFADevice.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/LoginProfile.pm ↑ Summary IAM/MFADevices.pm »
1 package Net::Amazon::IAM::MFADevice;
2 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 =head1 NAME
5  
6 Net::Amazon::IAM::MFADevice
7  
8 =head1 DESCRIPTION
9  
10 Contains information about an MFA device.
11  
12 =head1 ATTRIBUTES
13  
14 =over
15  
16 =item EnableDate (optional)
17  
18 The date when the MFA device was enabled for the user.
19  
20 =item SerialNumber (required)
21  
22 The serial number that uniquely identifies the MFA device.
23 For virtual MFA devices, the serial number is the device ARN.
24  
25 =item UserName (required)
26  
27 The user with whom the MFA device is associated.
28  
29 =back
30  
31 =cut
32  
33 1 has 'EnableDate' => (
34 is => 'ro',
35 isa => 'Str',
36 required => 1,
37 );
38  
39 1 has 'SerialNumber' => (
40 is => 'ro',
41 isa => 'Str',
42 required => 1,
43 );
44  
45 1 has 'UserName' => (
46 is => 'ro',
47 isa => 'Str',
48 required => 1,
49 );
50  
51 1 __PACKAGE__->meta->make_immutable();
52  
53 =head1 AUTHOR
54  
55 Igor Tsigankov <tsiganenok@gmail.com>
56  
57 =head1 COPYRIGHT
58  
59 Copyright (c) 2015 Igor Tsigankov . This program is free software; you can redistribute it and/or modify it
60 under the same terms as Perl itself.
61  
62 =cut
63  
64 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
65 1 1;
« IAM/LoginProfile.pm ↑ Summary IAM/MFADevices.pm »