You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-sts/src/STS.ts
+22-24Lines changed: 22 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -65,9 +65,9 @@ export class STS extends STSClient {
65
65
* operations.</p>
66
66
* <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
67
67
* this operation. You can pass a single JSON policy document to use as an inline session
68
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
69
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
70
-
* characters. Passing policies to this operation returns new
68
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
69
+
* managed session policies. The plaintext that you use for both inline and managed session
70
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
71
71
* temporary credentials. The resulting session's permissions are the intersection of the
72
72
* role's identity-based policy and the session policies. You can use the role's temporary
73
73
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
@@ -210,9 +210,9 @@ export class STS extends STSClient {
210
210
* operations.</p>
211
211
* <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
212
212
* this operation. You can pass a single JSON policy document to use as an inline session
213
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
214
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
215
-
* characters. Passing policies to this operation returns new
213
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
214
+
* managed session policies. The plaintext that you use for both inline and managed session
215
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
216
216
* temporary credentials. The resulting session's permissions are the intersection of the
217
217
* role's identity-based policy and the session policies. You can use the role's temporary
218
218
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
@@ -244,12 +244,11 @@ export class STS extends STSClient {
244
244
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
245
245
*
246
246
* <note>
247
-
* <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
248
-
* packed binary format that has a separate limit. Your request can fail for this limit
249
-
* even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
250
-
* response element indicates by percentage how close the policies and tags for your
251
-
* request are to the upper size limit.
252
-
* </p>
247
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
248
+
* and session tags into a packed binary format that has a separate limit. Your request can
249
+
* fail for this limit even if your plaintext meets the other requirements. The
250
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
251
+
* policies and tags for your request are to the upper size limit.</p>
253
252
* </note>
254
253
*
255
254
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
@@ -376,9 +375,9 @@ export class STS extends STSClient {
376
375
* operations.</p>
377
376
* <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
378
377
* this operation. You can pass a single JSON policy document to use as an inline session
379
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
380
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
381
-
* characters. Passing policies to this operation returns new
378
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
379
+
* managed session policies. The plaintext that you use for both inline and managed session
380
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
382
381
* temporary credentials. The resulting session's permissions are the intersection of the
383
382
* role's identity-based policy and the session policies. You can use the role's temporary
384
383
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
@@ -399,12 +398,11 @@ export class STS extends STSClient {
399
398
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
400
399
*
401
400
* <note>
402
-
* <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
403
-
* packed binary format that has a separate limit. Your request can fail for this limit
404
-
* even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
405
-
* response element indicates by percentage how close the policies and tags for your
406
-
* request are to the upper size limit.
407
-
* </p>
401
+
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
402
+
* and session tags into a packed binary format that has a separate limit. Your request can
403
+
* fail for this limit even if your plaintext meets the other requirements. The
404
+
* <code>PackedPolicySize</code> response element indicates by percentage how close the
405
+
* policies and tags for your request are to the upper size limit.</p>
408
406
* </note>
409
407
*
410
408
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
@@ -695,9 +693,9 @@ export class STS extends STSClient {
695
693
* </ul>
696
694
* <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
697
695
* this operation. You can pass a single JSON policy document to use as an inline session
698
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
699
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
700
-
* characters.</p>
696
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
697
+
* managed session policies. The plaintext that you use for both inline and managed session
698
+
* policies can't exceed 2,048 characters.</p>
701
699
* <p>Though the session policy parameters are optional, if you do not pass a policy, then the
702
700
* resulting federated user session has no permissions. When you pass session policies, the
703
701
* session permissions are the intersection of the IAM user policies and the session
* <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
46
46
* this operation. You can pass a single JSON policy document to use as an inline session
47
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
48
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
49
-
* characters. Passing policies to this operation returns new
47
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
48
+
* managed session policies. The plaintext that you use for both inline and managed session
49
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
50
50
* temporary credentials. The resulting session's permissions are the intersection of the
51
51
* role's identity-based policy and the session policies. You can use the role's temporary
52
52
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
* <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
78
78
* this operation. You can pass a single JSON policy document to use as an inline session
79
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
80
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
81
-
* characters. Passing policies to this operation returns new
79
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
80
+
* managed session policies. The plaintext that you use for both inline and managed session
81
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
82
82
* temporary credentials. The resulting session's permissions are the intersection of the
83
83
* role's identity-based policy and the session policies. You can use the role's temporary
84
84
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
* <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
81
81
* this operation. You can pass a single JSON policy document to use as an inline session
82
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
83
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
84
-
* characters. Passing policies to this operation returns new
82
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
83
+
* managed session policies. The plaintext that you use for both inline and managed session
84
+
* policies can't exceed 2,048 characters. Passing policies to this operation returns new
85
85
* temporary credentials. The resulting session's permissions are the intersection of the
86
86
* role's identity-based policy and the session policies. You can use the role's temporary
87
87
* credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
* <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
77
77
* this operation. You can pass a single JSON policy document to use as an inline session
78
-
* policy. You can also specify up to 10 managed policies to use as managed session policies.
79
-
* The plaintext that you use for both inline and managed session policies can't exceed 2,048
80
-
* characters.</p>
78
+
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
79
+
* managed session policies. The plaintext that you use for both inline and managed session
80
+
* policies can't exceed 2,048 characters.</p>
81
81
* <p>Though the session policy parameters are optional, if you do not pass a policy, then the
82
82
* resulting federated user session has no permissions. When you pass session policies, the
83
83
* session permissions are the intersection of the IAM user policies and the session
0 commit comments