« blib/lib/Paws/IAM/UpdateGroup.pm
↑ Summary
blib/lib/Paws/IAM/UpdateOpenIDConnectProviderThumbprint.pm »
| 1 | |||
| 2 | package Paws::IAM::UpdateLoginProfile; | ||
| 3 | use Moose; | ||
| 4 | has Password => (is => 'ro', isa => 'Str'); | ||
| 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 => 'UpdateLoginProfile'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::IAM::UpdateLoginProfile - Arguments for method UpdateLoginProfile on L<Paws::IAM> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method UpdateLoginProfile on the | ||
| 24 | L<AWS Identity and Access Management|Paws::IAM> service. Use the attributes of this class | ||
| 25 | as arguments to method UpdateLoginProfile. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLoginProfile. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $iam = Paws->service('IAM'); | ||
| 32 | # To change the password for an IAM user | ||
| 33 | # The following command creates or changes the password for the IAM user named | ||
| 34 | # Bob. | ||
| 35 | $iam->UpdateLoginProfile( | ||
| 36 | 'Password' => 'SomeKindOfPassword123!@#', | ||
| 37 | 'UserName' => 'Bob' | ||
| 38 | ); | ||
| 39 | |||
| 40 | |||
| 41 | 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. | ||
| 42 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iam/UpdateLoginProfile> | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Password => Str | ||
| 48 | |||
| 49 | The new password for the specified IAM user. | ||
| 50 | |||
| 51 | The regex pattern (http://wikipedia.org/wiki/regex) used to validate | ||
| 52 | this parameter is a string of characters consisting of the following: | ||
| 53 | |||
| 54 | =over | ||
| 55 | |||
| 56 | =item * | ||
| 57 | |||
| 58 | Any printable ASCII character ranging from the space character | ||
| 59 | (C<\u0020>) through the end of the ASCII character range | ||
| 60 | |||
| 61 | =item * | ||
| 62 | |||
| 63 | The printable characters in the Basic Latin and Latin-1 Supplement | ||
| 64 | character set (through C<\u00FF>) | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | The special characters tab (C<\u0009>), line feed (C<\u000A>), and | ||
| 69 | carriage return (C<\u000D>) | ||
| 70 | |||
| 71 | =back | ||
| 72 | |||
| 73 | However, the format can be further restricted by the account | ||
| 74 | administrator by setting a password policy on the AWS account. For more | ||
| 75 | information, see UpdateAccountPasswordPolicy. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 PasswordResetRequired => Bool | ||
| 80 | |||
| 81 | Allows this new password to be used only once by requiring the | ||
| 82 | specified IAM user to set a new password on next sign-in. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 B<REQUIRED> UserName => Str | ||
| 87 | |||
| 88 | The name of the user whose password you want to update. | ||
| 89 | |||
| 90 | This parameter allows (through its regex pattern | ||
| 91 | (http://wikipedia.org/wiki/regex)) a string of characters consisting of | ||
| 92 | upper and lowercase alphanumeric characters with no spaces. You can | ||
| 93 | also include any of the following characters: _+=,.@- | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, documenting arguments for method UpdateLoginProfile in L<Paws::IAM> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |