| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IAM::AccessKey; | ||
| 3 | use Moose; | ||
| 4 | has AccessKeyId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has CreateDate => (is => 'ro', isa => 'Str'); | ||
| 6 | has SecretAccessKey => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Status => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has UserName => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::IAM::AccessKey | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::IAM::AccessKey object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { AccessKeyId => $value, ..., UserName => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::AccessKey object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->AccessKeyId | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Contains information about an AWS access key. | ||
| 41 | |||
| 42 | This data type is used as a response element in the CreateAccessKey and | ||
| 43 | ListAccessKeys operations. | ||
| 44 | |||
| 45 | The C<SecretAccessKey> value is returned only in response to | ||
| 46 | CreateAccessKey. You can get a secret access key only when you first | ||
| 47 | create an access key; you cannot recover the secret access key later. | ||
| 48 | If you lose a secret access key, you must create a new access key. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> AccessKeyId => Str | ||
| 54 | |||
| 55 | The ID for this access key. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 CreateDate => Str | ||
| 59 | |||
| 60 | The date when the access key was created. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> SecretAccessKey => Str | ||
| 64 | |||
| 65 | The secret key used to sign requests. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> Status => Str | ||
| 69 | |||
| 70 | The status of the access key. C<Active> means that the key is valid for | ||
| 71 | API calls, while C<Inactive> means it is not. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> UserName => Str | ||
| 75 | |||
| 76 | The name of the IAM user that the access key is associated with. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, describing an object used in L<Paws::IAM> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |