« blib/lib/Paws/IAM/CreateInstanceProfileResponse.pm
↑ Summary
blib/lib/Paws/IAM/CreateLoginProfileResponse.pm »
| 1 | |||
| 2 | package Paws::IAM::CreateLoginProfile; | ||
| 3 | use Moose; | ||
| 4 | has Password => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has PasswordResetRequired => (is => 'ro', isa => 'Bool'); | ||
| 6 | has UserName => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateLoginProfile'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::CreateLoginProfileResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateLoginProfileResult'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::IAM::CreateLoginProfile - Arguments for method CreateLoginProfile on L<Paws::IAM> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateLoginProfile on the | ||
| 24 | L<AWS Identity and Access Management|Paws::IAM> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateLoginProfile. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLoginProfile. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $iam = Paws->service('IAM'); | ||
| 32 | # To create an instance profile | ||
| 33 | # The following command changes IAM user Bob's password and sets the flag that | ||
| 34 | # required Bob to change the password the next time he signs in. | ||
| 35 | my $CreateLoginProfileResponse = $iam->CreateLoginProfile( | ||
| 36 | 'Password' => 'h]6EszR}vJ*m', | ||
| 37 | 'PasswordResetRequired' => 1, | ||
| 38 | 'UserName' => 'Bob' | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $LoginProfile = $CreateLoginProfileResponse->LoginProfile; | ||
| 43 | |||
| 44 | # Returns a L<Paws::IAM::CreateLoginProfileResponse> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iam/CreateLoginProfile> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> Password => Str | ||
| 53 | |||
| 54 | The new password for the user. | ||
| 55 | |||
| 56 | The regex pattern (http://wikipedia.org/wiki/regex) that is used to | ||
| 57 | validate this parameter is a string of characters. That string can | ||
| 58 | include almost any printable ASCII character from the space (C<\u0020>) | ||
| 59 | through the end of the ASCII character range (C<\u00FF>). You can also | ||
| 60 | include the tab (C<\u0009>), line feed (C<\u000A>), and carriage return | ||
| 61 | (C<\u000D>) characters. Any of these characters are valid in a | ||
| 62 | password. However, many tools, such as the AWS Management Console, | ||
| 63 | might restrict the ability to type certain characters because they have | ||
| 64 | special meaning within that tool. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 PasswordResetRequired => Bool | ||
| 69 | |||
| 70 | Specifies whether the user is required to set a new password on next | ||
| 71 | sign-in. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> UserName => Str | ||
| 76 | |||
| 77 | The name of the IAM user to create a password for. The user must | ||
| 78 | already exist. | ||
| 79 | |||
| 80 | This parameter allows (through its regex pattern | ||
| 81 | (http://wikipedia.org/wiki/regex)) a string of characters consisting of | ||
| 82 | upper and lowercase alphanumeric characters with no spaces. You can | ||
| 83 | also include any of the following characters: _+=,.@- | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method CreateLoginProfile in L<Paws::IAM> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |