|
8 | 8 |
|
9 | 9 | class AssumeRoleWithWebIdentityResponse extends Result |
10 | 10 | { |
11 | | - /** |
12 | | - * The temporary security credentials, which include an access key ID, a secret access key, and a security token. |
13 | | - */ |
14 | 11 | private $Credentials; |
15 | 12 |
|
16 | | - /** |
17 | | - * The unique user identifier that is returned by the identity provider. This identifier is associated with the |
18 | | - * `WebIdentityToken` that was submitted with the `AssumeRoleWithWebIdentity` call. The identifier is typically unique |
19 | | - * to the user and the application that acquired the `WebIdentityToken` (pairwise identifier). For OpenID Connect ID |
20 | | - * tokens, this field contains the value returned by the identity provider as the token's `sub` (Subject) claim. |
21 | | - */ |
22 | 13 | private $SubjectFromWebIdentityToken; |
23 | 14 |
|
24 | | - /** |
25 | | - * The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the |
26 | | - * resulting temporary security credentials. For example, you can reference these credentials as a principal in a |
27 | | - * resource-based policy by using the ARN or assumed role ID. The ARN and ID include the `RoleSessionName` that you |
28 | | - * specified when you called `AssumeRole`. |
29 | | - */ |
30 | 15 | private $AssumedRoleUser; |
31 | 16 |
|
32 | | - /** |
33 | | - * A percentage value that indicates the packed size of the session policies and session tags combined passed in the |
34 | | - * request. The request fails if the packed size is greater than 100 percent, which means the policies and tags exceeded |
35 | | - * the allowed space. |
36 | | - */ |
37 | 17 | private $PackedPolicySize; |
38 | 18 |
|
39 | | - /** |
40 | | - * The issuing authority of the web identity token presented. For OpenID Connect ID tokens, this contains the value of |
41 | | - * the `iss` field. For OAuth 2.0 access tokens, this contains the value of the `ProviderId` parameter that was passed |
42 | | - * in the `AssumeRoleWithWebIdentity` request. |
43 | | - */ |
44 | 19 | private $Provider; |
45 | 20 |
|
46 | | - /** |
47 | | - * The intended audience (also known as client ID) of the web identity token. This is traditionally the client |
48 | | - * identifier issued to the application that requested the web identity token. |
49 | | - */ |
50 | 21 | private $Audience; |
51 | 22 |
|
| 23 | + /** |
| 24 | + * The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the |
| 25 | + * resulting temporary security credentials. For example, you can reference these credentials as a principal in a |
| 26 | + * resource-based policy by using the ARN or assumed role ID. The ARN and ID include the `RoleSessionName` that you |
| 27 | + * specified when you called `AssumeRole`. |
| 28 | + */ |
52 | 29 | public function getAssumedRoleUser(): ?AssumedRoleUser |
53 | 30 | { |
54 | 31 | $this->initialize(); |
55 | 32 |
|
56 | 33 | return $this->AssumedRoleUser; |
57 | 34 | } |
58 | 35 |
|
| 36 | + /** |
| 37 | + * The intended audience (also known as client ID) of the web identity token. This is traditionally the client |
| 38 | + * identifier issued to the application that requested the web identity token. |
| 39 | + */ |
59 | 40 | public function getAudience(): ?string |
60 | 41 | { |
61 | 42 | $this->initialize(); |
62 | 43 |
|
63 | 44 | return $this->Audience; |
64 | 45 | } |
65 | 46 |
|
| 47 | + /** |
| 48 | + * The temporary security credentials, which include an access key ID, a secret access key, and a security token. |
| 49 | + */ |
66 | 50 | public function getCredentials(): ?Credentials |
67 | 51 | { |
68 | 52 | $this->initialize(); |
69 | 53 |
|
70 | 54 | return $this->Credentials; |
71 | 55 | } |
72 | 56 |
|
| 57 | + /** |
| 58 | + * A percentage value that indicates the packed size of the session policies and session tags combined passed in the |
| 59 | + * request. The request fails if the packed size is greater than 100 percent, which means the policies and tags exceeded |
| 60 | + * the allowed space. |
| 61 | + */ |
73 | 62 | public function getPackedPolicySize(): ?int |
74 | 63 | { |
75 | 64 | $this->initialize(); |
76 | 65 |
|
77 | 66 | return $this->PackedPolicySize; |
78 | 67 | } |
79 | 68 |
|
| 69 | + /** |
| 70 | + * The issuing authority of the web identity token presented. For OpenID Connect ID tokens, this contains the value of |
| 71 | + * the `iss` field. For OAuth 2.0 access tokens, this contains the value of the `ProviderId` parameter that was passed |
| 72 | + * in the `AssumeRoleWithWebIdentity` request. |
| 73 | + */ |
80 | 74 | public function getProvider(): ?string |
81 | 75 | { |
82 | 76 | $this->initialize(); |
83 | 77 |
|
84 | 78 | return $this->Provider; |
85 | 79 | } |
86 | 80 |
|
| 81 | + /** |
| 82 | + * The unique user identifier that is returned by the identity provider. This identifier is associated with the |
| 83 | + * `WebIdentityToken` that was submitted with the `AssumeRoleWithWebIdentity` call. The identifier is typically unique |
| 84 | + * to the user and the application that acquired the `WebIdentityToken` (pairwise identifier). For OpenID Connect ID |
| 85 | + * tokens, this field contains the value returned by the identity provider as the token's `sub` (Subject) claim. |
| 86 | + */ |
87 | 87 | public function getSubjectFromWebIdentityToken(): ?string |
88 | 88 | { |
89 | 89 | $this->initialize(); |
|
0 commit comments