| 1 | |||
| 2 | package Paws::IAM::CreateVirtualMFADevice; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has Path => (is => 'ro', isa => 'Str'); | |
| 5 | 1 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Tag]'); | |
| 6 | 1 | has VirtualMFADeviceName => (is => 'ro', isa => 'Str', required => 1); | |
| 7 | |||
| 8 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateVirtualMFADevice'); | |
| 11 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::CreateVirtualMFADeviceResponse'); | |
| 12 | 1 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateVirtualMFADeviceResult'); | |
| 13 | 1 | 1; | |
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::IAM::CreateVirtualMFADevice - Arguments for method CreateVirtualMFADevice on L<Paws::IAM> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateVirtualMFADevice on the | ||
| 24 | L<AWS Identity and Access Management|Paws::IAM> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateVirtualMFADevice. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateVirtualMFADevice. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $iam = Paws->service('IAM'); | ||
| 32 | my $CreateVirtualMFADeviceResponse = $iam->CreateVirtualMFADevice( | ||
| 33 | VirtualMFADeviceName => 'MyvirtualMFADeviceName', | ||
| 34 | Path => 'MypathType', # OPTIONAL | ||
| 35 | Tags => [ | ||
| 36 | { | ||
| 37 | Key => 'MytagKeyType', # min: 1, max: 128 | ||
| 38 | Value => 'MytagValueType', # max: 256 | ||
| 39 | |||
| 40 | }, | ||
| 41 | ... | ||
| 42 | ], # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $VirtualMFADevice = $CreateVirtualMFADeviceResponse->VirtualMFADevice; | ||
| 47 | |||
| 48 | # Returns a L<Paws::IAM::CreateVirtualMFADeviceResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iam/CreateVirtualMFADevice> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Path => Str | ||
| 57 | |||
| 58 | The path for the virtual MFA device. For more information about paths, | ||
| 59 | see IAM identifiers | ||
| 60 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) | ||
| 61 | in the I<IAM User Guide>. | ||
| 62 | |||
| 63 | This parameter is optional. If it is not included, it defaults to a | ||
| 64 | slash (/). | ||
| 65 | |||
| 66 | This parameter allows (through its regex pattern | ||
| 67 | (http://wikipedia.org/wiki/regex)) a string of characters consisting of | ||
| 68 | either a forward slash (/) by itself or a string that must begin and | ||
| 69 | end with forward slashes. In addition, it can contain any ASCII | ||
| 70 | character from the ! (C<\u0021>) through the DEL character (C<\u007F>), | ||
| 71 | including most punctuation characters, digits, and upper and lowercased | ||
| 72 | letters. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 Tags => ArrayRef[L<Paws::IAM::Tag>] | ||
| 77 | |||
| 78 | A list of tags that you want to attach to the new IAM virtual MFA | ||
| 79 | device. Each tag consists of a key name and an associated value. For | ||
| 80 | more information about tagging, see Tagging IAM resources | ||
| 81 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the | ||
| 82 | I<IAM User Guide>. | ||
| 83 | |||
| 84 | If any one of the tags is invalid or if you exceed the allowed maximum | ||
| 85 | number of tags, then the entire request fails and the resource is not | ||
| 86 | created. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> VirtualMFADeviceName => Str | ||
| 91 | |||
| 92 | The name of the virtual MFA device. Use with path to uniquely identify | ||
| 93 | a virtual MFA device. | ||
| 94 | |||
| 95 | This parameter allows (through its regex pattern | ||
| 96 | (http://wikipedia.org/wiki/regex)) a string of characters consisting of | ||
| 97 | upper and lowercase alphanumeric characters with no spaces. You can | ||
| 98 | also include any of the following characters: _+=,.@- | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head1 SEE ALSO | ||
| 104 | |||
| 105 | This class forms part of L<Paws>, documenting arguments for method CreateVirtualMFADevice in L<Paws::IAM> | ||
| 106 | |||
| 107 | =head1 BUGS and CONTRIBUTIONS | ||
| 108 | |||
| 109 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 110 | |||
| 111 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 112 | |||
| 113 | =cut | ||
| 114 | |||