blib/lib/Paws/IAM/MFADevice.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/IAM/ListVirtualMFADevicesResponse.pm ↑ Summary blib/lib/Paws/IAM/Role.pm »
1 # Generated by default/object.tt
2 package Paws::IAM::MFADevice;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has EnableDate => (is => 'ro', isa => 'Str', required => 1);
5 1 has SerialNumber => (is => 'ro', isa => 'Str', required => 1);
6 1 has UserName => (is => 'ro', isa => 'Str', required => 1);
7  
8 1 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::IAM::MFADevice
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::IAM::MFADevice object:
26  
27 $service_obj->Method(Att1 => { EnableDate => $value, ..., UserName => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::MFADevice object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->EnableDate
35  
36 =head1 DESCRIPTION
37  
38 Contains information about an MFA device.
39  
40 This data type is used as a response element in the ListMFADevices
41 operation.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> EnableDate => Str
47  
48 The date when the MFA device was enabled for the user.
49  
50  
51 =head2 B<REQUIRED> SerialNumber => Str
52  
53 The serial number that uniquely identifies the MFA device. For virtual
54 MFA devices, the serial number is the device ARN.
55  
56  
57 =head2 B<REQUIRED> UserName => Str
58  
59 The user with whom the MFA device is associated.
60  
61  
62  
63 =head1 SEE ALSO
64  
65 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
66  
67 =head1 BUGS and CONTRIBUTIONS
68  
69 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
70  
71 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
72  
73 =cut
74  
« blib/lib/Paws/IAM/ListVirtualMFADevicesResponse.pm ↑ Summary blib/lib/Paws/IAM/Role.pm »