File Coverage

blib/lib/Paws/STS/AssumeRoleWithWebIdentityResponse.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::STS::AssumeRoleWithWebIdentityResponse;
3 1     1   307 use Moose;
  1         2  
  1         6  
4             has AssumedRoleUser => (is => 'ro', isa => 'Paws::STS::AssumedRoleUser');
5             has Audience => (is => 'ro', isa => 'Str');
6             has Credentials => (is => 'ro', isa => 'Paws::STS::Credentials');
7             has PackedPolicySize => (is => 'ro', isa => 'Int');
8             has Provider => (is => 'ro', isa => 'Str');
9             has SubjectFromWebIdentityToken => (is => 'ro', isa => 'Str');
10              
11             has _request_id => (is => 'ro', isa => 'Str');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::STS::AssumeRoleWithWebIdentityResponse
19              
20             =head1 ATTRIBUTES
21              
22              
23             =head2 AssumedRoleUser => L<Paws::STS::AssumedRoleUser>
24              
25             The Amazon Resource Name (ARN) and the assumed role ID, which are
26             identifiers that you can use to refer to the resulting temporary
27             security credentials. For example, you can reference these credentials
28             as a principal in a resource-based policy by using the ARN or assumed
29             role ID. The ARN and ID include the C<RoleSessionName> that you
30             specified when you called C<AssumeRole>.
31              
32              
33             =head2 Audience => Str
34              
35             The intended audience (also known as client ID) of the web identity
36             token. This is traditionally the client identifier issued to the
37             application that requested the web identity token.
38              
39              
40             =head2 Credentials => L<Paws::STS::Credentials>
41              
42             The temporary security credentials, which include an access key ID, a
43             secret access key, and a security token.
44              
45             B<Note:> The size of the security token that STS APIs return is not
46             fixed. We strongly recommend that you make no assumptions about the
47             maximum size. As of this writing, the typical size is less than 4096
48             bytes, but that can vary. Also, future updates to AWS might require
49             larger sizes.
50              
51              
52             =head2 PackedPolicySize => Int
53              
54             A percentage value that indicates the size of the policy in packed
55             form. The service rejects any policy with a packed size greater than
56             100 percent, which means the policy exceeded the allowed space.
57              
58              
59             =head2 Provider => Str
60              
61             The issuing authority of the web identity token presented. For OpenID
62             Connect ID Tokens this contains the value of the C<iss> field. For
63             OAuth 2.0 access tokens, this contains the value of the C<ProviderId>
64             parameter that was passed in the C<AssumeRoleWithWebIdentity> request.
65              
66              
67             =head2 SubjectFromWebIdentityToken => Str
68              
69             The unique user identifier that is returned by the identity provider.
70             This identifier is associated with the C<WebIdentityToken> that was
71             submitted with the C<AssumeRoleWithWebIdentity> call. The identifier is
72             typically unique to the user and the application that acquired the
73             C<WebIdentityToken> (pairwise identifier). For OpenID Connect ID
74             tokens, this field contains the value returned by the identity provider
75             as the token's C<sub> (Subject) claim.
76              
77              
78             =head2 _request_id => Str
79              
80              
81             =cut
82