| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SSO::RoleCredentials; | ||
| 3 | use Moose; | ||
| 4 | has AccessKeyId => (is => 'ro', isa => 'Str', request_name => 'accessKeyId', traits => ['NameInRequest']); | ||
| 5 | has Expiration => (is => 'ro', isa => 'Int', request_name => 'expiration', traits => ['NameInRequest']); | ||
| 6 | has SecretAccessKey => (is => 'ro', isa => 'Str', request_name => 'secretAccessKey', traits => ['NameInRequest']); | ||
| 7 | has SessionToken => (is => 'ro', isa => 'Str', request_name => 'sessionToken', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::SSO::RoleCredentials | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::SSO::RoleCredentials object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { AccessKeyId => $value, ..., SessionToken => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::SSO::RoleCredentials object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->AccessKeyId | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Provides information about the role credentials that are assigned to | ||
| 40 | the user. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 AccessKeyId => Str | ||
| 46 | |||
| 47 | The identifier used for the temporary security credentials. For more | ||
| 48 | information, see Using Temporary Security Credentials to Request Access | ||
| 49 | to AWS Resources | ||
| 50 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) | ||
| 51 | in the I<AWS IAM User Guide>. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Expiration => Int | ||
| 55 | |||
| 56 | The date on which temporary security credentials expire. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 SecretAccessKey => Str | ||
| 60 | |||
| 61 | The key that is used to sign the request. For more information, see | ||
| 62 | Using Temporary Security Credentials to Request Access to AWS Resources | ||
| 63 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) | ||
| 64 | in the I<AWS IAM User Guide>. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 SessionToken => Str | ||
| 68 | |||
| 69 | The token used for temporary credentials. For more information, see | ||
| 70 | Using Temporary Security Credentials to Request Access to AWS Resources | ||
| 71 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) | ||
| 72 | in the I<AWS IAM User Guide>. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, describing an object used in L<Paws::SSO> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |