| 1 | |||
| 2 | package Paws::STS::AssumeRoleResponse; | ||
| 3 | use Moose; | ||
| 4 | has AssumedRoleUser => (is => 'ro', isa => 'Paws::STS::AssumedRoleUser'); | ||
| 5 | has Credentials => (is => 'ro', isa => 'Paws::STS::Credentials'); | ||
| 6 | has PackedPolicySize => (is => 'ro', isa => 'Int'); | ||
| 7 | has SourceIdentity => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::STS::AssumeRoleResponse | ||
| 17 | |||
| 18 | =head1 ATTRIBUTES | ||
| 19 | |||
| 20 | |||
| 21 | =head2 AssumedRoleUser => L<Paws::STS::AssumedRoleUser> | ||
| 22 | |||
| 23 | The Amazon Resource Name (ARN) and the assumed role ID, which are | ||
| 24 | identifiers that you can use to refer to the resulting temporary | ||
| 25 | security credentials. For example, you can reference these credentials | ||
| 26 | as a principal in a resource-based policy by using the ARN or assumed | ||
| 27 | role ID. The ARN and ID include the C<RoleSessionName> that you | ||
| 28 | specified when you called C<AssumeRole>. | ||
| 29 | |||
| 30 | |||
| 31 | =head2 Credentials => L<Paws::STS::Credentials> | ||
| 32 | |||
| 33 | The temporary security credentials, which include an access key ID, a | ||
| 34 | secret access key, and a security (or session) token. | ||
| 35 | |||
| 36 | The size of the security token that STS API operations return is not | ||
| 37 | fixed. We strongly recommend that you make no assumptions about the | ||
| 38 | maximum size. | ||
| 39 | |||
| 40 | |||
| 41 | =head2 PackedPolicySize => Int | ||
| 42 | |||
| 43 | A percentage value that indicates the packed size of the session | ||
| 44 | policies and session tags combined passed in the request. The request | ||
| 45 | fails if the packed size is greater than 100 percent, which means the | ||
| 46 | policies and tags exceeded the allowed space. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 SourceIdentity => Str | ||
| 50 | |||
| 51 | The source identity specified by the principal that is calling the | ||
| 52 | C<AssumeRole> operation. | ||
| 53 | |||
| 54 | You can require users to specify a source identity when they assume a | ||
| 55 | role. You do this by using the C<sts:SourceIdentity> condition key in a | ||
| 56 | role trust policy. You can use source identity information in AWS | ||
| 57 | CloudTrail logs to determine who took actions with a role. You can use | ||
| 58 | the C<aws:SourceIdentity> condition key to further control access to | ||
| 59 | AWS resources based on the value of source identity. For more | ||
| 60 | information about using source identity, see Monitor and control | ||
| 61 | actions taken with assumed roles | ||
| 62 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html) | ||
| 63 | in the I<IAM User Guide>. | ||
| 64 | |||
| 65 | The regex used to validate this parameter is a string of characters | ||
| 66 | consisting of upper- and lower-case alphanumeric characters with no | ||
| 67 | spaces. You can also include underscores or any of the following | ||
| 68 | characters: =,.@- | ||
| 69 | |||
| 70 | |||
| 71 | =head2 _request_id => Str | ||
| 72 | |||
| 73 | |||
| 74 | =cut | ||
| 75 |