@aws-sdk/client-sts 3.211.0 → 3.213.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-types/STS.d.ts +22 -24
- package/dist-types/commands/AssumeRoleCommand.d.ts +3 -3
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +8 -9
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +8 -9
- package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +57 -68
- package/package.json +28 -28
package/dist-types/STS.d.ts
CHANGED
|
@@ -34,9 +34,9 @@ export declare class STS extends STSClient {
|
|
|
34
34
|
* operations.</p>
|
|
35
35
|
* <p>(Optional) You can pass inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policies</a> to
|
|
36
36
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
37
|
-
* policy. You can also specify up to 10 managed
|
|
38
|
-
* The plaintext that you use for both inline and managed session
|
|
39
|
-
* characters. Passing policies to this operation returns new
|
|
37
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
38
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
39
|
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
|
|
40
40
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
41
41
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
42
42
|
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
|
|
@@ -159,9 +159,9 @@ export declare class STS extends STSClient {
|
|
|
159
159
|
* operations.</p>
|
|
160
160
|
* <p>(Optional) You can pass inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policies</a> to
|
|
161
161
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
162
|
-
* policy. You can also specify up to 10 managed
|
|
163
|
-
* The plaintext that you use for both inline and managed session
|
|
164
|
-
* characters. Passing policies to this operation returns new
|
|
162
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
163
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
164
|
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
|
|
165
165
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
166
166
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
167
167
|
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
|
|
@@ -193,12 +193,11 @@ export declare class STS extends STSClient {
|
|
|
193
193
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
194
194
|
*
|
|
195
195
|
* <note>
|
|
196
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
197
|
-
* packed binary format that has a separate limit. Your request can
|
|
198
|
-
* even if your plaintext meets the other requirements. The
|
|
199
|
-
*
|
|
200
|
-
* request are to the upper size limit
|
|
201
|
-
* </p>
|
|
196
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
197
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
198
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
199
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
200
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
202
201
|
* </note>
|
|
203
202
|
*
|
|
204
203
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
@@ -299,9 +298,9 @@ export declare class STS extends STSClient {
|
|
|
299
298
|
* operations.</p>
|
|
300
299
|
* <p>(Optional) You can pass inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policies</a> to
|
|
301
300
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
302
|
-
* policy. You can also specify up to 10 managed
|
|
303
|
-
* The plaintext that you use for both inline and managed session
|
|
304
|
-
* characters. Passing policies to this operation returns new
|
|
301
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
302
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
303
|
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
|
|
305
304
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
306
305
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
307
306
|
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
|
|
@@ -322,12 +321,11 @@ export declare class STS extends STSClient {
|
|
|
322
321
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
323
322
|
*
|
|
324
323
|
* <note>
|
|
325
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
326
|
-
* packed binary format that has a separate limit. Your request can
|
|
327
|
-
* even if your plaintext meets the other requirements. The
|
|
328
|
-
*
|
|
329
|
-
* request are to the upper size limit
|
|
330
|
-
* </p>
|
|
324
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
325
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
326
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
327
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
328
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
331
329
|
* </note>
|
|
332
330
|
*
|
|
333
331
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
@@ -514,9 +512,9 @@ export declare class STS extends STSClient {
|
|
|
514
512
|
* </ul>
|
|
515
513
|
* <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
|
|
516
514
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
517
|
-
* policy. You can also specify up to 10 managed
|
|
518
|
-
* The plaintext that you use for both inline and managed session
|
|
519
|
-
* characters.</p>
|
|
515
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
516
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
517
|
+
* policies can't exceed 2,048 characters.</p>
|
|
520
518
|
* <p>Though the session policy parameters are optional, if you do not pass a policy, then the
|
|
521
519
|
* resulting federated user session has no permissions. When you pass session policies, the
|
|
522
520
|
* session permissions are the intersection of the IAM user policies and the session
|
|
@@ -25,9 +25,9 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
|
|
|
25
25
|
* operations.</p>
|
|
26
26
|
* <p>(Optional) You can pass inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policies</a> to
|
|
27
27
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
28
|
-
* policy. You can also specify up to 10 managed
|
|
29
|
-
* The plaintext that you use for both inline and managed session
|
|
30
|
-
* characters. Passing policies to this operation returns new
|
|
28
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
29
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
30
|
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
|
|
31
31
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
32
32
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
33
33
|
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
|
|
@@ -55,9 +55,9 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
|
|
|
55
55
|
* operations.</p>
|
|
56
56
|
* <p>(Optional) You can pass inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policies</a> to
|
|
57
57
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
58
|
-
* policy. You can also specify up to 10 managed
|
|
59
|
-
* The plaintext that you use for both inline and managed session
|
|
60
|
-
* characters. Passing policies to this operation returns new
|
|
58
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
59
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
60
|
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
|
|
61
61
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
62
62
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
63
63
|
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
|
|
@@ -89,12 +89,11 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
|
|
|
89
89
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
90
90
|
*
|
|
91
91
|
* <note>
|
|
92
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
93
|
-
* packed binary format that has a separate limit. Your request can
|
|
94
|
-
* even if your plaintext meets the other requirements. The
|
|
95
|
-
*
|
|
96
|
-
* request are to the upper size limit
|
|
97
|
-
* </p>
|
|
92
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
93
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
94
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
95
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
96
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
98
97
|
* </note>
|
|
99
98
|
*
|
|
100
99
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
@@ -58,9 +58,9 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
|
|
|
58
58
|
* operations.</p>
|
|
59
59
|
* <p>(Optional) You can pass inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policies</a> to
|
|
60
60
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
61
|
-
* policy. You can also specify up to 10 managed
|
|
62
|
-
* The plaintext that you use for both inline and managed session
|
|
63
|
-
* characters. Passing policies to this operation returns new
|
|
61
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
62
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
63
|
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
|
|
64
64
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
65
65
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
66
66
|
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
|
|
@@ -81,12 +81,11 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
|
|
|
81
81
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
82
82
|
*
|
|
83
83
|
* <note>
|
|
84
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
85
|
-
* packed binary format that has a separate limit. Your request can
|
|
86
|
-
* even if your plaintext meets the other requirements. The
|
|
87
|
-
*
|
|
88
|
-
* request are to the upper size limit
|
|
89
|
-
* </p>
|
|
84
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
85
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
86
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
87
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
88
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
90
89
|
* </note>
|
|
91
90
|
*
|
|
92
91
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
@@ -53,9 +53,9 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
|
|
|
53
53
|
* </ul>
|
|
54
54
|
* <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
|
|
55
55
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
56
|
-
* policy. You can also specify up to 10 managed
|
|
57
|
-
* The plaintext that you use for both inline and managed session
|
|
58
|
-
* characters.</p>
|
|
56
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
57
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
58
|
+
* policies can't exceed 2,048 characters.</p>
|
|
59
59
|
* <p>Though the session policy parameters are optional, if you do not pass a policy, then the
|
|
60
60
|
* resulting federated user session has no permissions. When you pass session policies, the
|
|
61
61
|
* session permissions are the intersection of the IAM user policies and the session
|
|
@@ -78,12 +78,11 @@ export interface AssumeRoleRequest {
|
|
|
78
78
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
79
79
|
*
|
|
80
80
|
* <note>
|
|
81
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
82
|
-
* packed binary format that has a separate limit. Your request can
|
|
83
|
-
* even if your plaintext meets the other requirements. The
|
|
84
|
-
*
|
|
85
|
-
* request are to the upper size limit
|
|
86
|
-
* </p>
|
|
81
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
82
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
83
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
84
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
85
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
87
86
|
* </note>
|
|
88
87
|
*
|
|
89
88
|
* <p>Passing policies to this operation returns new
|
|
@@ -113,12 +112,11 @@ export interface AssumeRoleRequest {
|
|
|
113
112
|
* characters.</p>
|
|
114
113
|
*
|
|
115
114
|
* <note>
|
|
116
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
117
|
-
* packed binary format that has a separate limit. Your request can
|
|
118
|
-
* even if your plaintext meets the other requirements. The
|
|
119
|
-
*
|
|
120
|
-
* request are to the upper size limit
|
|
121
|
-
* </p>
|
|
115
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
116
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
117
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
118
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
119
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
122
120
|
* </note>
|
|
123
121
|
*/
|
|
124
122
|
Policy?: string;
|
|
@@ -160,12 +158,11 @@ export interface AssumeRoleRequest {
|
|
|
160
158
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
161
159
|
*
|
|
162
160
|
* <note>
|
|
163
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
164
|
-
* packed binary format that has a separate limit. Your request can
|
|
165
|
-
* even if your plaintext meets the other requirements. The
|
|
166
|
-
*
|
|
167
|
-
* request are to the upper size limit
|
|
168
|
-
* </p>
|
|
161
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
162
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
163
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
164
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
165
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
169
166
|
* </note>
|
|
170
167
|
*
|
|
171
168
|
* <p>You can pass a session tag with the same key as a tag that is already attached to the
|
|
@@ -400,12 +397,11 @@ export interface AssumeRoleWithSAMLRequest {
|
|
|
400
397
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
401
398
|
*
|
|
402
399
|
* <note>
|
|
403
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
404
|
-
* packed binary format that has a separate limit. Your request can
|
|
405
|
-
* even if your plaintext meets the other requirements. The
|
|
406
|
-
*
|
|
407
|
-
* request are to the upper size limit
|
|
408
|
-
* </p>
|
|
400
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
401
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
402
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
403
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
404
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
409
405
|
* </note>
|
|
410
406
|
*
|
|
411
407
|
* <p>Passing policies to this operation returns new
|
|
@@ -435,12 +431,11 @@ export interface AssumeRoleWithSAMLRequest {
|
|
|
435
431
|
* characters.</p>
|
|
436
432
|
*
|
|
437
433
|
* <note>
|
|
438
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
439
|
-
* packed binary format that has a separate limit. Your request can
|
|
440
|
-
* even if your plaintext meets the other requirements. The
|
|
441
|
-
*
|
|
442
|
-
* request are to the upper size limit
|
|
443
|
-
* </p>
|
|
434
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
435
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
436
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
437
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
438
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
444
439
|
* </note>
|
|
445
440
|
*/
|
|
446
441
|
Policy?: string;
|
|
@@ -627,12 +622,11 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
627
622
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
628
623
|
*
|
|
629
624
|
* <note>
|
|
630
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
631
|
-
* packed binary format that has a separate limit. Your request can
|
|
632
|
-
* even if your plaintext meets the other requirements. The
|
|
633
|
-
*
|
|
634
|
-
* request are to the upper size limit
|
|
635
|
-
* </p>
|
|
625
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
626
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
627
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
628
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
629
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
636
630
|
* </note>
|
|
637
631
|
*
|
|
638
632
|
* <p>Passing policies to this operation returns new
|
|
@@ -662,12 +656,11 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
662
656
|
* characters.</p>
|
|
663
657
|
*
|
|
664
658
|
* <note>
|
|
665
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
666
|
-
* packed binary format that has a separate limit. Your request can
|
|
667
|
-
* even if your plaintext meets the other requirements. The
|
|
668
|
-
*
|
|
669
|
-
* request are to the upper size limit
|
|
670
|
-
* </p>
|
|
659
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
660
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
661
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
662
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
663
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
671
664
|
* </note>
|
|
672
665
|
*/
|
|
673
666
|
Policy?: string;
|
|
@@ -861,8 +854,8 @@ export interface GetFederationTokenRequest {
|
|
|
861
854
|
* <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
|
|
862
855
|
* <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
|
|
863
856
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
864
|
-
* policy. You can also specify up to 10 managed
|
|
865
|
-
* policies.</p>
|
|
857
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
858
|
+
* managed session policies.</p>
|
|
866
859
|
* <p>This parameter is optional. However, if you do not pass any session policies, then the
|
|
867
860
|
* resulting federated user session has no permissions.</p>
|
|
868
861
|
* <p>When you pass session policies, the session permissions are the intersection of the
|
|
@@ -883,12 +876,11 @@ export interface GetFederationTokenRequest {
|
|
|
883
876
|
* characters.</p>
|
|
884
877
|
*
|
|
885
878
|
* <note>
|
|
886
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
887
|
-
* packed binary format that has a separate limit. Your request can
|
|
888
|
-
* even if your plaintext meets the other requirements. The
|
|
889
|
-
*
|
|
890
|
-
* request are to the upper size limit
|
|
891
|
-
* </p>
|
|
879
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
880
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
881
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
882
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
883
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
892
884
|
* </note>
|
|
893
885
|
*/
|
|
894
886
|
Policy?: string;
|
|
@@ -898,12 +890,11 @@ export interface GetFederationTokenRequest {
|
|
|
898
890
|
* is requesting federated access.</p>
|
|
899
891
|
* <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
|
|
900
892
|
* this operation. You can pass a single JSON policy document to use as an inline session
|
|
901
|
-
* policy. You can also specify up to 10 managed
|
|
902
|
-
* The plaintext that you use for both inline and managed session
|
|
903
|
-
* characters. You can provide up to 10 managed policy ARNs. For
|
|
904
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
905
|
-
*
|
|
906
|
-
* Amazon Web Services General Reference.</p>
|
|
893
|
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
|
894
|
+
* managed session policies. The plaintext that you use for both inline and managed session
|
|
895
|
+
* policies can't exceed 2,048 characters. You can provide up to 10 managed policy ARNs. For
|
|
896
|
+
* more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services
|
|
897
|
+
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
907
898
|
* <p>This parameter is optional. However, if you do not pass any session policies, then the
|
|
908
899
|
* resulting federated user session has no permissions.</p>
|
|
909
900
|
* <p>When you pass session policies, the session permissions are the intersection of the
|
|
@@ -919,12 +910,11 @@ export interface GetFederationTokenRequest {
|
|
|
919
910
|
* by the session policies.</p>
|
|
920
911
|
*
|
|
921
912
|
* <note>
|
|
922
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
923
|
-
* packed binary format that has a separate limit. Your request can
|
|
924
|
-
* even if your plaintext meets the other requirements. The
|
|
925
|
-
*
|
|
926
|
-
* request are to the upper size limit
|
|
927
|
-
* </p>
|
|
913
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
914
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
915
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
916
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
917
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
928
918
|
* </note>
|
|
929
919
|
*/
|
|
930
920
|
PolicyArns?: PolicyDescriptorType[];
|
|
@@ -947,12 +937,11 @@ export interface GetFederationTokenRequest {
|
|
|
947
937
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
948
938
|
*
|
|
949
939
|
* <note>
|
|
950
|
-
* <p>An Amazon Web Services conversion compresses the passed session
|
|
951
|
-
* packed binary format that has a separate limit. Your request can
|
|
952
|
-
* even if your plaintext meets the other requirements. The
|
|
953
|
-
*
|
|
954
|
-
* request are to the upper size limit
|
|
955
|
-
* </p>
|
|
940
|
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
941
|
+
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
942
|
+
* fail for this limit even if your plaintext meets the other requirements. The
|
|
943
|
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
944
|
+
* policies and tags for your request are to the upper size limit.</p>
|
|
956
945
|
* </note>
|
|
957
946
|
*
|
|
958
947
|
* <p>You can pass a session tag with the same key as a tag that is already attached to the
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.213.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-sdk-sts": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-sdk-sts": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
44
|
+
"@aws-sdk/types": "3.212.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"fast-xml-parser": "4.0.11",
|