blib/lib/Paws/IAM/VirtualMFADevice.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/IAM/User.pm ↑ Summary blib/lib/Paws/ImportExport/Job.pm »
1 # Generated by default/object.tt
2 package Paws::IAM::VirtualMFADevice;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Base32StringSeed => (is => 'ro', isa => 'Str');
5 1 has EnableDate => (is => 'ro', isa => 'Str');
6 1 has QRCodePNG => (is => 'ro', isa => 'Str');
7 1 has SerialNumber => (is => 'ro', isa => 'Str', required => 1);
8 1 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Tag]');
9 1 has User => (is => 'ro', isa => 'Paws::IAM::User');
10  
11 1 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::IAM::VirtualMFADevice
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::IAM::VirtualMFADevice object:
29  
30 $service_obj->Method(Att1 => { Base32StringSeed => $value, ..., User => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::VirtualMFADevice object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Base32StringSeed
38  
39 =head1 DESCRIPTION
40  
41 Contains information about a virtual MFA device.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 Base32StringSeed => Str
47  
48 The base32 seed defined as specified in RFC3548
49 (https://tools.ietf.org/html/rfc3548.txt). The C<Base32StringSeed> is
50 base64-encoded.
51  
52  
53 =head2 EnableDate => Str
54  
55 The date and time on which the virtual MFA device was enabled.
56  
57  
58 =head2 QRCodePNG => Str
59  
60 A QR code PNG image that encodes
61 C<otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String>
62 where C<$virtualMFADeviceName> is one of the create call arguments.
63 C<AccountName> is the user name if set (otherwise, the account ID
64 otherwise), and C<Base32String> is the seed in base32 format. The
65 C<Base32String> value is base64-encoded.
66  
67  
68 =head2 B<REQUIRED> SerialNumber => Str
69  
70 The serial number associated with C<VirtualMFADevice>.
71  
72  
73 =head2 Tags => ArrayRef[L<Paws::IAM::Tag>]
74  
75 A list of tags that are attached to the virtual MFA device. For more
76 information about tagging, see Tagging IAM resources
77 (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the
78 I<IAM User Guide>.
79  
80  
81 =head2 User => L<Paws::IAM::User>
82  
83 The IAM user associated with this virtual MFA device.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98  
« blib/lib/Paws/IAM/User.pm ↑ Summary blib/lib/Paws/ImportExport/Job.pm »