aws-sdk-core 3.167.0 → 3.168.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/credential_provider_chain.rb +6 -4
- data/lib/aws-sdk-core/plugins/retries/error_inspector.rb +2 -1
- data/lib/aws-sdk-core/sso_token_provider.rb +1 -0
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso/types.rb +0 -35
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +1 -1
- data/lib/aws-sdk-ssooidc/types.rb +0 -32
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +122 -122
- data/lib/aws-sdk-sts/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-sts/types.rb +79 -186
- data/lib/aws-sdk-sts.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d302eff376c44110aea11be83cd8f12190865cac35125ee586638d139eb8d729
|
4
|
+
data.tar.gz: 1e8736d1ca2854c274e71acd23c8acaca5f7f79a9389c0bb19939fee1ec87ed1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adb0e5f011fd909a3e19d5a1fd1b6a0f668173bc5db6e68d13d595b8ba297e8a1ea781849138cb1daf368ffb7a5e37a2677a2ce677ddb57e9e76ced96a49ec19
|
7
|
+
data.tar.gz: 20c1233b92f0c755b58f1693ec5cd79c739c48736200fd711518db4dfbdb1af9d73fa0f92efef2275782d69da8d95d63d3d75f44a686946744b7facaab574ae5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.168.3 (2022-12-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Retry S3's `BadDigest` error
|
8
|
+
|
9
|
+
3.168.2 (2022-11-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Allow region resolution in `AssumeRoleCredentials` from `CredentialProviderChain`.
|
13
|
+
|
14
|
+
3.168.1 (2022-11-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Issue - Fix initialization of SSOTokenProvider when `AWS_PROFILE` is specified.
|
18
|
+
|
19
|
+
3.168.0 (2022-11-17)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
23
|
+
|
4
24
|
3.167.0 (2022-11-09)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.168.3
|
@@ -169,12 +169,14 @@ module Aws
|
|
169
169
|
end
|
170
170
|
|
171
171
|
def assume_role_with_profile(options, profile_name)
|
172
|
-
|
173
|
-
Aws.shared_config.assume_role_credentials_from_config(
|
172
|
+
assume_opts = {
|
174
173
|
profile: profile_name,
|
175
|
-
region: region,
|
176
174
|
chain_config: @config
|
177
|
-
|
175
|
+
}
|
176
|
+
if options[:config] && options[:config].region
|
177
|
+
assume_opts[:region] = options[:config].region
|
178
|
+
end
|
179
|
+
Aws.shared_config.assume_role_credentials_from_config(assume_opts)
|
178
180
|
end
|
179
181
|
end
|
180
182
|
end
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso/types.rb
CHANGED
@@ -34,15 +34,6 @@ module Aws::SSO
|
|
34
34
|
include Aws::Structure
|
35
35
|
end
|
36
36
|
|
37
|
-
# @note When making an API call, you may pass GetRoleCredentialsRequest
|
38
|
-
# data as a hash:
|
39
|
-
#
|
40
|
-
# {
|
41
|
-
# role_name: "RoleNameType", # required
|
42
|
-
# account_id: "AccountIdType", # required
|
43
|
-
# access_token: "AccessTokenType", # required
|
44
|
-
# }
|
45
|
-
#
|
46
37
|
# @!attribute [rw] role_name
|
47
38
|
# The friendly name of the role that is assigned to the user.
|
48
39
|
# @return [String]
|
@@ -97,16 +88,6 @@ module Aws::SSO
|
|
97
88
|
include Aws::Structure
|
98
89
|
end
|
99
90
|
|
100
|
-
# @note When making an API call, you may pass ListAccountRolesRequest
|
101
|
-
# data as a hash:
|
102
|
-
#
|
103
|
-
# {
|
104
|
-
# next_token: "NextTokenType",
|
105
|
-
# max_results: 1,
|
106
|
-
# access_token: "AccessTokenType", # required
|
107
|
-
# account_id: "AccountIdType", # required
|
108
|
-
# }
|
109
|
-
#
|
110
91
|
# @!attribute [rw] next_token
|
111
92
|
# The page token from the previous response output when you request
|
112
93
|
# subsequent pages.
|
@@ -159,15 +140,6 @@ module Aws::SSO
|
|
159
140
|
include Aws::Structure
|
160
141
|
end
|
161
142
|
|
162
|
-
# @note When making an API call, you may pass ListAccountsRequest
|
163
|
-
# data as a hash:
|
164
|
-
#
|
165
|
-
# {
|
166
|
-
# next_token: "NextTokenType",
|
167
|
-
# max_results: 1,
|
168
|
-
# access_token: "AccessTokenType", # required
|
169
|
-
# }
|
170
|
-
#
|
171
143
|
# @!attribute [rw] next_token
|
172
144
|
# (Optional) When requesting subsequent pages, this is the page token
|
173
145
|
# from the previous response output.
|
@@ -215,13 +187,6 @@ module Aws::SSO
|
|
215
187
|
include Aws::Structure
|
216
188
|
end
|
217
189
|
|
218
|
-
# @note When making an API call, you may pass LogoutRequest
|
219
|
-
# data as a hash:
|
220
|
-
#
|
221
|
-
# {
|
222
|
-
# access_token: "AccessTokenType", # required
|
223
|
-
# }
|
224
|
-
#
|
225
190
|
# @!attribute [rw] access_token
|
226
191
|
# The token issued by the `CreateToken` API call. For more
|
227
192
|
# information, see [CreateToken][1] in the *IAM Identity Center OIDC
|
data/lib/aws-sdk-sso.rb
CHANGED
@@ -45,20 +45,6 @@ module Aws::SSOOIDC
|
|
45
45
|
include Aws::Structure
|
46
46
|
end
|
47
47
|
|
48
|
-
# @note When making an API call, you may pass CreateTokenRequest
|
49
|
-
# data as a hash:
|
50
|
-
#
|
51
|
-
# {
|
52
|
-
# client_id: "ClientId", # required
|
53
|
-
# client_secret: "ClientSecret", # required
|
54
|
-
# grant_type: "GrantType", # required
|
55
|
-
# device_code: "DeviceCode",
|
56
|
-
# code: "AuthCode",
|
57
|
-
# refresh_token: "RefreshToken",
|
58
|
-
# scope: ["Scope"],
|
59
|
-
# redirect_uri: "URI",
|
60
|
-
# }
|
61
|
-
#
|
62
48
|
# @!attribute [rw] client_id
|
63
49
|
# The unique identifier string for each client. This value should come
|
64
50
|
# from the persisted result of the RegisterClient API.
|
@@ -317,15 +303,6 @@ module Aws::SSOOIDC
|
|
317
303
|
include Aws::Structure
|
318
304
|
end
|
319
305
|
|
320
|
-
# @note When making an API call, you may pass RegisterClientRequest
|
321
|
-
# data as a hash:
|
322
|
-
#
|
323
|
-
# {
|
324
|
-
# client_name: "ClientName", # required
|
325
|
-
# client_type: "ClientType", # required
|
326
|
-
# scopes: ["Scope"],
|
327
|
-
# }
|
328
|
-
#
|
329
306
|
# @!attribute [rw] client_name
|
330
307
|
# The friendly name of the client.
|
331
308
|
# @return [String]
|
@@ -410,15 +387,6 @@ module Aws::SSOOIDC
|
|
410
387
|
include Aws::Structure
|
411
388
|
end
|
412
389
|
|
413
|
-
# @note When making an API call, you may pass StartDeviceAuthorizationRequest
|
414
|
-
# data as a hash:
|
415
|
-
#
|
416
|
-
# {
|
417
|
-
# client_id: "ClientId", # required
|
418
|
-
# client_secret: "ClientSecret", # required
|
419
|
-
# start_url: "URI", # required
|
420
|
-
# }
|
421
|
-
#
|
422
390
|
# @!attribute [rw] client_id
|
423
391
|
# The unique identifier string for the client that is registered with
|
424
392
|
# IAM Identity Center. This value should come from the persisted
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -394,18 +394,18 @@ module Aws::STS
|
|
394
394
|
#
|
395
395
|
# (Optional) You can pass inline or managed [session policies][3] to
|
396
396
|
# this operation. You can pass a single JSON policy document to use as
|
397
|
-
# an inline session policy. You can also specify up to 10 managed
|
398
|
-
#
|
399
|
-
# use for both inline and managed session policies
|
400
|
-
# characters. Passing policies to this operation
|
401
|
-
# credentials. The resulting session's
|
402
|
-
# of the role's identity-based policy
|
403
|
-
# use the role's temporary
|
404
|
-
# Services API calls to access
|
405
|
-
# role. You cannot use session
|
406
|
-
#
|
407
|
-
#
|
408
|
-
# User Guide*.
|
397
|
+
# an inline session policy. You can also specify up to 10 managed policy
|
398
|
+
# Amazon Resource Names (ARNs) to use as managed session policies. The
|
399
|
+
# plaintext that you use for both inline and managed session policies
|
400
|
+
# can't exceed 2,048 characters. Passing policies to this operation
|
401
|
+
# returns new temporary credentials. The resulting session's
|
402
|
+
# permissions are the intersection of the role's identity-based policy
|
403
|
+
# and the session policies. You can use the role's temporary
|
404
|
+
# credentials in subsequent Amazon Web Services API calls to access
|
405
|
+
# resources in the account that owns the role. You cannot use session
|
406
|
+
# policies to grant more permissions than those allowed by the
|
407
|
+
# identity-based policy of the role that is being assumed. For more
|
408
|
+
# information, see [Session Policies][3] in the *IAM User Guide*.
|
409
409
|
#
|
410
410
|
# When you create a role, you create two policies: A role trust policy
|
411
411
|
# that specifies *who* can assume the role and a permissions policy that
|
@@ -519,12 +519,12 @@ module Aws::STS
|
|
519
519
|
# about ARNs, see [Amazon Resource Names (ARNs) and Amazon Web Services
|
520
520
|
# Service Namespaces][1] in the Amazon Web Services General Reference.
|
521
521
|
#
|
522
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
523
|
-
#
|
524
|
-
# separate limit. Your request can fail for this limit
|
525
|
-
# plaintext meets the other requirements. The
|
526
|
-
# response element indicates by percentage how close
|
527
|
-
# tags for your request are to the upper size limit.
|
522
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
523
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
524
|
+
# format that has a separate limit. Your request can fail for this limit
|
525
|
+
# even if your plaintext meets the other requirements. The
|
526
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
527
|
+
# the policies and tags for your request are to the upper size limit.
|
528
528
|
#
|
529
529
|
# </note>
|
530
530
|
#
|
@@ -564,12 +564,12 @@ module Aws::STS
|
|
564
564
|
# the tab (\\u0009), linefeed (\\u000A), and carriage return (\\u000D)
|
565
565
|
# characters.
|
566
566
|
#
|
567
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
568
|
-
#
|
569
|
-
# separate limit. Your request can fail for this limit
|
570
|
-
# plaintext meets the other requirements. The
|
571
|
-
# response element indicates by percentage how close
|
572
|
-
# tags for your request are to the upper size limit.
|
567
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
568
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
569
|
+
# format that has a separate limit. Your request can fail for this limit
|
570
|
+
# even if your plaintext meets the other requirements. The
|
571
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
572
|
+
# the policies and tags for your request are to the upper size limit.
|
573
573
|
#
|
574
574
|
# </note>
|
575
575
|
#
|
@@ -627,12 +627,12 @@ module Aws::STS
|
|
627
627
|
# can’t exceed 256 characters. For these and additional limits, see [IAM
|
628
628
|
# and STS Character Limits][2] in the *IAM User Guide*.
|
629
629
|
#
|
630
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
631
|
-
#
|
632
|
-
# separate limit. Your request can fail for this limit
|
633
|
-
# plaintext meets the other requirements. The
|
634
|
-
# response element indicates by percentage how close
|
635
|
-
# tags for your request are to the upper size limit.
|
630
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
631
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
632
|
+
# format that has a separate limit. Your request can fail for this limit
|
633
|
+
# even if your plaintext meets the other requirements. The
|
634
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
635
|
+
# the policies and tags for your request are to the upper size limit.
|
636
636
|
#
|
637
637
|
# </note>
|
638
638
|
#
|
@@ -895,18 +895,18 @@ module Aws::STS
|
|
895
895
|
#
|
896
896
|
# (Optional) You can pass inline or managed [session policies][6] to
|
897
897
|
# this operation. You can pass a single JSON policy document to use as
|
898
|
-
# an inline session policy. You can also specify up to 10 managed
|
899
|
-
#
|
900
|
-
# use for both inline and managed session policies
|
901
|
-
# characters. Passing policies to this operation
|
902
|
-
# credentials. The resulting session's
|
903
|
-
# of the role's identity-based policy
|
904
|
-
# use the role's temporary
|
905
|
-
# Services API calls to access
|
906
|
-
# role. You cannot use session
|
907
|
-
#
|
908
|
-
#
|
909
|
-
# User Guide*.
|
898
|
+
# an inline session policy. You can also specify up to 10 managed policy
|
899
|
+
# Amazon Resource Names (ARNs) to use as managed session policies. The
|
900
|
+
# plaintext that you use for both inline and managed session policies
|
901
|
+
# can't exceed 2,048 characters. Passing policies to this operation
|
902
|
+
# returns new temporary credentials. The resulting session's
|
903
|
+
# permissions are the intersection of the role's identity-based policy
|
904
|
+
# and the session policies. You can use the role's temporary
|
905
|
+
# credentials in subsequent Amazon Web Services API calls to access
|
906
|
+
# resources in the account that owns the role. You cannot use session
|
907
|
+
# policies to grant more permissions than those allowed by the
|
908
|
+
# identity-based policy of the role that is being assumed. For more
|
909
|
+
# information, see [Session Policies][6] in the *IAM User Guide*.
|
910
910
|
#
|
911
911
|
# Calling `AssumeRoleWithSAML` does not require the use of Amazon Web
|
912
912
|
# Services security credentials. The identity of the caller is validated
|
@@ -932,12 +932,12 @@ module Aws::STS
|
|
932
932
|
# characters. For these and additional limits, see [IAM and STS
|
933
933
|
# Character Limits][8] in the *IAM User Guide*.
|
934
934
|
#
|
935
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
936
|
-
#
|
937
|
-
# separate limit. Your request can fail for this limit
|
938
|
-
# plaintext meets the other requirements. The
|
939
|
-
# response element indicates by percentage how close
|
940
|
-
# tags for your request are to the upper size limit.
|
935
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
936
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
937
|
+
# format that has a separate limit. Your request can fail for this limit
|
938
|
+
# even if your plaintext meets the other requirements. The
|
939
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
940
|
+
# the policies and tags for your request are to the upper size limit.
|
941
941
|
#
|
942
942
|
# </note>
|
943
943
|
#
|
@@ -1023,12 +1023,12 @@ module Aws::STS
|
|
1023
1023
|
# about ARNs, see [Amazon Resource Names (ARNs) and Amazon Web Services
|
1024
1024
|
# Service Namespaces][1] in the Amazon Web Services General Reference.
|
1025
1025
|
#
|
1026
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
1027
|
-
#
|
1028
|
-
# separate limit. Your request can fail for this limit
|
1029
|
-
# plaintext meets the other requirements. The
|
1030
|
-
# response element indicates by percentage how close
|
1031
|
-
# tags for your request are to the upper size limit.
|
1026
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
1027
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
1028
|
+
# format that has a separate limit. Your request can fail for this limit
|
1029
|
+
# even if your plaintext meets the other requirements. The
|
1030
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
1031
|
+
# the policies and tags for your request are to the upper size limit.
|
1032
1032
|
#
|
1033
1033
|
# </note>
|
1034
1034
|
#
|
@@ -1068,12 +1068,12 @@ module Aws::STS
|
|
1068
1068
|
# the tab (\\u0009), linefeed (\\u000A), and carriage return (\\u000D)
|
1069
1069
|
# characters.
|
1070
1070
|
#
|
1071
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
1072
|
-
#
|
1073
|
-
# separate limit. Your request can fail for this limit
|
1074
|
-
# plaintext meets the other requirements. The
|
1075
|
-
# response element indicates by percentage how close
|
1076
|
-
# tags for your request are to the upper size limit.
|
1071
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
1072
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
1073
|
+
# format that has a separate limit. Your request can fail for this limit
|
1074
|
+
# even if your plaintext meets the other requirements. The
|
1075
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
1076
|
+
# the policies and tags for your request are to the upper size limit.
|
1077
1077
|
#
|
1078
1078
|
# </note>
|
1079
1079
|
#
|
@@ -1256,18 +1256,18 @@ module Aws::STS
|
|
1256
1256
|
#
|
1257
1257
|
# (Optional) You can pass inline or managed [session policies][10] to
|
1258
1258
|
# this operation. You can pass a single JSON policy document to use as
|
1259
|
-
# an inline session policy. You can also specify up to 10 managed
|
1260
|
-
#
|
1261
|
-
# use for both inline and managed session policies
|
1262
|
-
# characters. Passing policies to this operation
|
1263
|
-
# credentials. The resulting session's
|
1264
|
-
# of the role's identity-based policy
|
1265
|
-
# use the role's temporary
|
1266
|
-
# Services API calls to access
|
1267
|
-
# role. You cannot use session
|
1268
|
-
#
|
1269
|
-
#
|
1270
|
-
# User Guide*.
|
1259
|
+
# an inline session policy. You can also specify up to 10 managed policy
|
1260
|
+
# Amazon Resource Names (ARNs) to use as managed session policies. The
|
1261
|
+
# plaintext that you use for both inline and managed session policies
|
1262
|
+
# can't exceed 2,048 characters. Passing policies to this operation
|
1263
|
+
# returns new temporary credentials. The resulting session's
|
1264
|
+
# permissions are the intersection of the role's identity-based policy
|
1265
|
+
# and the session policies. You can use the role's temporary
|
1266
|
+
# credentials in subsequent Amazon Web Services API calls to access
|
1267
|
+
# resources in the account that owns the role. You cannot use session
|
1268
|
+
# policies to grant more permissions than those allowed by the
|
1269
|
+
# identity-based policy of the role that is being assumed. For more
|
1270
|
+
# information, see [Session Policies][10] in the *IAM User Guide*.
|
1271
1271
|
#
|
1272
1272
|
# **Tags**
|
1273
1273
|
#
|
@@ -1281,12 +1281,12 @@ module Aws::STS
|
|
1281
1281
|
# characters. For these and additional limits, see [IAM and STS
|
1282
1282
|
# Character Limits][12] in the *IAM User Guide*.
|
1283
1283
|
#
|
1284
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
1285
|
-
#
|
1286
|
-
# separate limit. Your request can fail for this limit
|
1287
|
-
# plaintext meets the other requirements. The
|
1288
|
-
# response element indicates by percentage how close
|
1289
|
-
# tags for your request are to the upper size limit.
|
1284
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
1285
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
1286
|
+
# format that has a separate limit. Your request can fail for this limit
|
1287
|
+
# even if your plaintext meets the other requirements. The
|
1288
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
1289
|
+
# the policies and tags for your request are to the upper size limit.
|
1290
1290
|
#
|
1291
1291
|
# </note>
|
1292
1292
|
#
|
@@ -1410,12 +1410,12 @@ module Aws::STS
|
|
1410
1410
|
# about ARNs, see [Amazon Resource Names (ARNs) and Amazon Web Services
|
1411
1411
|
# Service Namespaces][1] in the Amazon Web Services General Reference.
|
1412
1412
|
#
|
1413
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
1414
|
-
#
|
1415
|
-
# separate limit. Your request can fail for this limit
|
1416
|
-
# plaintext meets the other requirements. The
|
1417
|
-
# response element indicates by percentage how close
|
1418
|
-
# tags for your request are to the upper size limit.
|
1413
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
1414
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
1415
|
+
# format that has a separate limit. Your request can fail for this limit
|
1416
|
+
# even if your plaintext meets the other requirements. The
|
1417
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
1418
|
+
# the policies and tags for your request are to the upper size limit.
|
1419
1419
|
#
|
1420
1420
|
# </note>
|
1421
1421
|
#
|
@@ -1455,12 +1455,12 @@ module Aws::STS
|
|
1455
1455
|
# the tab (\\u0009), linefeed (\\u000A), and carriage return (\\u000D)
|
1456
1456
|
# characters.
|
1457
1457
|
#
|
1458
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
1459
|
-
#
|
1460
|
-
# separate limit. Your request can fail for this limit
|
1461
|
-
# plaintext meets the other requirements. The
|
1462
|
-
# response element indicates by percentage how close
|
1463
|
-
# tags for your request are to the upper size limit.
|
1458
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
1459
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
1460
|
+
# format that has a separate limit. Your request can fail for this limit
|
1461
|
+
# even if your plaintext meets the other requirements. The
|
1462
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
1463
|
+
# the policies and tags for your request are to the upper size limit.
|
1464
1464
|
#
|
1465
1465
|
# </note>
|
1466
1466
|
#
|
@@ -1852,10 +1852,10 @@ module Aws::STS
|
|
1852
1852
|
#
|
1853
1853
|
# You must pass an inline or managed [session policy][6] to this
|
1854
1854
|
# operation. You can pass a single JSON policy document to use as an
|
1855
|
-
# inline session policy. You can also specify up to 10 managed
|
1856
|
-
# to use as managed session policies. The
|
1857
|
-
# both inline and managed session policies
|
1858
|
-
# characters.
|
1855
|
+
# inline session policy. You can also specify up to 10 managed policy
|
1856
|
+
# Amazon Resource Names (ARNs) to use as managed session policies. The
|
1857
|
+
# plaintext that you use for both inline and managed session policies
|
1858
|
+
# can't exceed 2,048 characters.
|
1859
1859
|
#
|
1860
1860
|
# Though the session policy parameters are optional, if you do not pass
|
1861
1861
|
# a policy, then the resulting federated user session has no
|
@@ -1934,8 +1934,8 @@ module Aws::STS
|
|
1934
1934
|
#
|
1935
1935
|
# You must pass an inline or managed [session policy][1] to this
|
1936
1936
|
# operation. You can pass a single JSON policy document to use as an
|
1937
|
-
# inline session policy. You can also specify up to 10 managed
|
1938
|
-
# to use as managed session policies.
|
1937
|
+
# inline session policy. You can also specify up to 10 managed policy
|
1938
|
+
# Amazon Resource Names (ARNs) to use as managed session policies.
|
1939
1939
|
#
|
1940
1940
|
# This parameter is optional. However, if you do not pass any session
|
1941
1941
|
# policies, then the resulting federated user session has no
|
@@ -1963,12 +1963,12 @@ module Aws::STS
|
|
1963
1963
|
# the tab (\\u0009), linefeed (\\u000A), and carriage return (\\u000D)
|
1964
1964
|
# characters.
|
1965
1965
|
#
|
1966
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
1967
|
-
#
|
1968
|
-
# separate limit. Your request can fail for this limit
|
1969
|
-
# plaintext meets the other requirements. The
|
1970
|
-
# response element indicates by percentage how close
|
1971
|
-
# tags for your request are to the upper size limit.
|
1966
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
1967
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
1968
|
+
# format that has a separate limit. Your request can fail for this limit
|
1969
|
+
# even if your plaintext meets the other requirements. The
|
1970
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
1971
|
+
# the policies and tags for your request are to the upper size limit.
|
1972
1972
|
#
|
1973
1973
|
# </note>
|
1974
1974
|
#
|
@@ -1983,13 +1983,13 @@ module Aws::STS
|
|
1983
1983
|
#
|
1984
1984
|
# You must pass an inline or managed [session policy][1] to this
|
1985
1985
|
# operation. You can pass a single JSON policy document to use as an
|
1986
|
-
# inline session policy. You can also specify up to 10 managed
|
1987
|
-
# to use as managed session policies. The
|
1988
|
-
# both inline and managed session policies
|
1989
|
-
# characters. You can provide up to 10 managed
|
1990
|
-
# information about ARNs, see [Amazon Resource
|
1991
|
-
# Web Services Service Namespaces][2] in the
|
1992
|
-
# Reference.
|
1986
|
+
# inline session policy. You can also specify up to 10 managed policy
|
1987
|
+
# Amazon Resource Names (ARNs) to use as managed session policies. The
|
1988
|
+
# plaintext that you use for both inline and managed session policies
|
1989
|
+
# can't exceed 2,048 characters. You can provide up to 10 managed
|
1990
|
+
# policy ARNs. For more information about ARNs, see [Amazon Resource
|
1991
|
+
# Names (ARNs) and Amazon Web Services Service Namespaces][2] in the
|
1992
|
+
# Amazon Web Services General Reference.
|
1993
1993
|
#
|
1994
1994
|
# This parameter is optional. However, if you do not pass any session
|
1995
1995
|
# policies, then the resulting federated user session has no
|
@@ -2010,12 +2010,12 @@ module Aws::STS
|
|
2010
2010
|
# are granted in addition to the permissions that are granted by the
|
2011
2011
|
# session policies.
|
2012
2012
|
#
|
2013
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
2014
|
-
#
|
2015
|
-
# separate limit. Your request can fail for this limit
|
2016
|
-
# plaintext meets the other requirements. The
|
2017
|
-
# response element indicates by percentage how close
|
2018
|
-
# tags for your request are to the upper size limit.
|
2013
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
2014
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
2015
|
+
# format that has a separate limit. Your request can fail for this limit
|
2016
|
+
# even if your plaintext meets the other requirements. The
|
2017
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
2018
|
+
# the policies and tags for your request are to the upper size limit.
|
2019
2019
|
#
|
2020
2020
|
# </note>
|
2021
2021
|
#
|
@@ -2043,12 +2043,12 @@ module Aws::STS
|
|
2043
2043
|
# can’t exceed 256 characters. For these and additional limits, see [IAM
|
2044
2044
|
# and STS Character Limits][2] in the *IAM User Guide*.
|
2045
2045
|
#
|
2046
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed session
|
2047
|
-
#
|
2048
|
-
# separate limit. Your request can fail for this limit
|
2049
|
-
# plaintext meets the other requirements. The
|
2050
|
-
# response element indicates by percentage how close
|
2051
|
-
# tags for your request are to the upper size limit.
|
2046
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline session
|
2047
|
+
# policy, managed policy ARNs, and session tags into a packed binary
|
2048
|
+
# format that has a separate limit. Your request can fail for this limit
|
2049
|
+
# even if your plaintext meets the other requirements. The
|
2050
|
+
# `PackedPolicySize` response element indicates by percentage how close
|
2051
|
+
# the policies and tags for your request are to the upper size limit.
|
2052
2052
|
#
|
2053
2053
|
# </note>
|
2054
2054
|
#
|
@@ -2316,7 +2316,7 @@ module Aws::STS
|
|
2316
2316
|
params: params,
|
2317
2317
|
config: config)
|
2318
2318
|
context[:gem_name] = 'aws-sdk-core'
|
2319
|
-
context[:gem_version] = '3.
|
2319
|
+
context[:gem_version] = '3.168.3'
|
2320
2320
|
Seahorse::Client::Request.new(handlers, context)
|
2321
2321
|
end
|
2322
2322
|
|
@@ -217,8 +217,8 @@ cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoic3Ry
|
|
217
217
|
aW5nRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9uIn0sImF3cy1nbG9i
|
218
218
|
YWwiXX1dLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL3N0cy5hbWF6b25h
|
219
219
|
d3MuY29tIiwicHJvcGVydGllcyI6eyJhdXRoU2NoZW1lcyI6W3sibmFtZSI6
|
220
|
-
|
221
|
-
|
220
|
+
InNpZ3Y0Iiwic2lnbmluZ1JlZ2lvbiI6InVzLWVhc3QtMSIsInNpZ25pbmdO
|
221
|
+
YW1lIjoic3RzIn1dfSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQi
|
222
222
|
fSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczov
|
223
223
|
L3N0cy57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJw
|
224
224
|
cm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQi
|
data/lib/aws-sdk-sts/types.rb
CHANGED
@@ -10,32 +10,6 @@
|
|
10
10
|
module Aws::STS
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AssumeRoleRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# role_arn: "arnType", # required
|
18
|
-
# role_session_name: "roleSessionNameType", # required
|
19
|
-
# policy_arns: [
|
20
|
-
# {
|
21
|
-
# arn: "arnType",
|
22
|
-
# },
|
23
|
-
# ],
|
24
|
-
# policy: "sessionPolicyDocumentType",
|
25
|
-
# duration_seconds: 1,
|
26
|
-
# tags: [
|
27
|
-
# {
|
28
|
-
# key: "tagKeyType", # required
|
29
|
-
# value: "tagValueType", # required
|
30
|
-
# },
|
31
|
-
# ],
|
32
|
-
# transitive_tag_keys: ["tagKeyType"],
|
33
|
-
# external_id: "externalIdType",
|
34
|
-
# serial_number: "serialNumberType",
|
35
|
-
# token_code: "tokenCodeType",
|
36
|
-
# source_identity: "sourceIdentityType",
|
37
|
-
# }
|
38
|
-
#
|
39
13
|
# @!attribute [rw] role_arn
|
40
14
|
# The Amazon Resource Name (ARN) of the role to assume.
|
41
15
|
# @return [String]
|
@@ -70,12 +44,13 @@ module Aws::STS
|
|
70
44
|
# Web Services Service Namespaces][1] in the Amazon Web Services
|
71
45
|
# General Reference.
|
72
46
|
#
|
73
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
74
|
-
#
|
75
|
-
# separate limit. Your request can fail for
|
76
|
-
# plaintext meets the other requirements. The
|
77
|
-
# response element indicates by percentage how
|
78
|
-
# tags for your request are to the upper size
|
47
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
48
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
49
|
+
# binary format that has a separate limit. Your request can fail for
|
50
|
+
# this limit even if your plaintext meets the other requirements. The
|
51
|
+
# `PackedPolicySize` response element indicates by percentage how
|
52
|
+
# close the policies and tags for your request are to the upper size
|
53
|
+
# limit.
|
79
54
|
#
|
80
55
|
# </note>
|
81
56
|
#
|
@@ -116,12 +91,13 @@ module Aws::STS
|
|
116
91
|
# include the tab (\\u0009), linefeed (\\u000A), and carriage return
|
117
92
|
# (\\u000D) characters.
|
118
93
|
#
|
119
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
120
|
-
#
|
121
|
-
# separate limit. Your request can fail for
|
122
|
-
# plaintext meets the other requirements. The
|
123
|
-
# response element indicates by percentage how
|
124
|
-
# tags for your request are to the upper size
|
94
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
95
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
96
|
+
# binary format that has a separate limit. Your request can fail for
|
97
|
+
# this limit even if your plaintext meets the other requirements. The
|
98
|
+
# `PackedPolicySize` response element indicates by percentage how
|
99
|
+
# close the policies and tags for your request are to the upper size
|
100
|
+
# limit.
|
125
101
|
#
|
126
102
|
# </note>
|
127
103
|
#
|
@@ -181,12 +157,13 @@ module Aws::STS
|
|
181
157
|
# values can’t exceed 256 characters. For these and additional limits,
|
182
158
|
# see [IAM and STS Character Limits][2] in the *IAM User Guide*.
|
183
159
|
#
|
184
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
185
|
-
#
|
186
|
-
# separate limit. Your request can fail for
|
187
|
-
# plaintext meets the other requirements. The
|
188
|
-
# response element indicates by percentage how
|
189
|
-
# tags for your request are to the upper size
|
160
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
161
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
162
|
+
# binary format that has a separate limit. Your request can fail for
|
163
|
+
# this limit even if your plaintext meets the other requirements. The
|
164
|
+
# `PackedPolicySize` response element indicates by percentage how
|
165
|
+
# close the policies and tags for your request are to the upper size
|
166
|
+
# limit.
|
190
167
|
#
|
191
168
|
# </note>
|
192
169
|
#
|
@@ -394,22 +371,6 @@ module Aws::STS
|
|
394
371
|
include Aws::Structure
|
395
372
|
end
|
396
373
|
|
397
|
-
# @note When making an API call, you may pass AssumeRoleWithSAMLRequest
|
398
|
-
# data as a hash:
|
399
|
-
#
|
400
|
-
# {
|
401
|
-
# role_arn: "arnType", # required
|
402
|
-
# principal_arn: "arnType", # required
|
403
|
-
# saml_assertion: "SAMLAssertionType", # required
|
404
|
-
# policy_arns: [
|
405
|
-
# {
|
406
|
-
# arn: "arnType",
|
407
|
-
# },
|
408
|
-
# ],
|
409
|
-
# policy: "sessionPolicyDocumentType",
|
410
|
-
# duration_seconds: 1,
|
411
|
-
# }
|
412
|
-
#
|
413
374
|
# @!attribute [rw] role_arn
|
414
375
|
# The Amazon Resource Name (ARN) of the role that the caller is
|
415
376
|
# assuming.
|
@@ -443,12 +404,13 @@ module Aws::STS
|
|
443
404
|
# Web Services Service Namespaces][1] in the Amazon Web Services
|
444
405
|
# General Reference.
|
445
406
|
#
|
446
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
447
|
-
#
|
448
|
-
# separate limit. Your request can fail for
|
449
|
-
# plaintext meets the other requirements. The
|
450
|
-
# response element indicates by percentage how
|
451
|
-
# tags for your request are to the upper size
|
407
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
408
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
409
|
+
# binary format that has a separate limit. Your request can fail for
|
410
|
+
# this limit even if your plaintext meets the other requirements. The
|
411
|
+
# `PackedPolicySize` response element indicates by percentage how
|
412
|
+
# close the policies and tags for your request are to the upper size
|
413
|
+
# limit.
|
452
414
|
#
|
453
415
|
# </note>
|
454
416
|
#
|
@@ -489,12 +451,13 @@ module Aws::STS
|
|
489
451
|
# include the tab (\\u0009), linefeed (\\u000A), and carriage return
|
490
452
|
# (\\u000D) characters.
|
491
453
|
#
|
492
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
493
|
-
#
|
494
|
-
# separate limit. Your request can fail for
|
495
|
-
# plaintext meets the other requirements. The
|
496
|
-
# response element indicates by percentage how
|
497
|
-
# tags for your request are to the upper size
|
454
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
455
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
456
|
+
# binary format that has a separate limit. Your request can fail for
|
457
|
+
# this limit even if your plaintext meets the other requirements. The
|
458
|
+
# `PackedPolicySize` response element indicates by percentage how
|
459
|
+
# close the policies and tags for your request are to the upper size
|
460
|
+
# limit.
|
498
461
|
#
|
499
462
|
# </note>
|
500
463
|
#
|
@@ -665,23 +628,6 @@ module Aws::STS
|
|
665
628
|
include Aws::Structure
|
666
629
|
end
|
667
630
|
|
668
|
-
# @note When making an API call, you may pass AssumeRoleWithWebIdentityRequest
|
669
|
-
# data as a hash:
|
670
|
-
#
|
671
|
-
# {
|
672
|
-
# role_arn: "arnType", # required
|
673
|
-
# role_session_name: "roleSessionNameType", # required
|
674
|
-
# web_identity_token: "clientTokenType", # required
|
675
|
-
# provider_id: "urlType",
|
676
|
-
# policy_arns: [
|
677
|
-
# {
|
678
|
-
# arn: "arnType",
|
679
|
-
# },
|
680
|
-
# ],
|
681
|
-
# policy: "sessionPolicyDocumentType",
|
682
|
-
# duration_seconds: 1,
|
683
|
-
# }
|
684
|
-
#
|
685
631
|
# @!attribute [rw] role_arn
|
686
632
|
# The Amazon Resource Name (ARN) of the role that the caller is
|
687
633
|
# assuming.
|
@@ -733,12 +679,13 @@ module Aws::STS
|
|
733
679
|
# Web Services Service Namespaces][1] in the Amazon Web Services
|
734
680
|
# General Reference.
|
735
681
|
#
|
736
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
737
|
-
#
|
738
|
-
# separate limit. Your request can fail for
|
739
|
-
# plaintext meets the other requirements. The
|
740
|
-
# response element indicates by percentage how
|
741
|
-
# tags for your request are to the upper size
|
682
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
683
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
684
|
+
# binary format that has a separate limit. Your request can fail for
|
685
|
+
# this limit even if your plaintext meets the other requirements. The
|
686
|
+
# `PackedPolicySize` response element indicates by percentage how
|
687
|
+
# close the policies and tags for your request are to the upper size
|
688
|
+
# limit.
|
742
689
|
#
|
743
690
|
# </note>
|
744
691
|
#
|
@@ -779,12 +726,13 @@ module Aws::STS
|
|
779
726
|
# include the tab (\\u0009), linefeed (\\u000A), and carriage return
|
780
727
|
# (\\u000D) characters.
|
781
728
|
#
|
782
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
783
|
-
#
|
784
|
-
# separate limit. Your request can fail for
|
785
|
-
# plaintext meets the other requirements. The
|
786
|
-
# response element indicates by percentage how
|
787
|
-
# tags for your request are to the upper size
|
729
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
730
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
731
|
+
# binary format that has a separate limit. Your request can fail for
|
732
|
+
# this limit even if your plaintext meets the other requirements. The
|
733
|
+
# `PackedPolicySize` response element indicates by percentage how
|
734
|
+
# close the policies and tags for your request are to the upper size
|
735
|
+
# limit.
|
788
736
|
#
|
789
737
|
# </note>
|
790
738
|
#
|
@@ -997,13 +945,6 @@ module Aws::STS
|
|
997
945
|
include Aws::Structure
|
998
946
|
end
|
999
947
|
|
1000
|
-
# @note When making an API call, you may pass DecodeAuthorizationMessageRequest
|
1001
|
-
# data as a hash:
|
1002
|
-
#
|
1003
|
-
# {
|
1004
|
-
# encoded_message: "encodedMessageType", # required
|
1005
|
-
# }
|
1006
|
-
#
|
1007
948
|
# @!attribute [rw] encoded_message
|
1008
949
|
# The encoded message that was returned with the response.
|
1009
950
|
# @return [String]
|
@@ -1074,13 +1015,6 @@ module Aws::STS
|
|
1074
1015
|
include Aws::Structure
|
1075
1016
|
end
|
1076
1017
|
|
1077
|
-
# @note When making an API call, you may pass GetAccessKeyInfoRequest
|
1078
|
-
# data as a hash:
|
1079
|
-
#
|
1080
|
-
# {
|
1081
|
-
# access_key_id: "accessKeyIdType", # required
|
1082
|
-
# }
|
1083
|
-
#
|
1084
1018
|
# @!attribute [rw] access_key_id
|
1085
1019
|
# The identifier of an access key.
|
1086
1020
|
#
|
@@ -1149,26 +1083,6 @@ module Aws::STS
|
|
1149
1083
|
include Aws::Structure
|
1150
1084
|
end
|
1151
1085
|
|
1152
|
-
# @note When making an API call, you may pass GetFederationTokenRequest
|
1153
|
-
# data as a hash:
|
1154
|
-
#
|
1155
|
-
# {
|
1156
|
-
# name: "userNameType", # required
|
1157
|
-
# policy: "sessionPolicyDocumentType",
|
1158
|
-
# policy_arns: [
|
1159
|
-
# {
|
1160
|
-
# arn: "arnType",
|
1161
|
-
# },
|
1162
|
-
# ],
|
1163
|
-
# duration_seconds: 1,
|
1164
|
-
# tags: [
|
1165
|
-
# {
|
1166
|
-
# key: "tagKeyType", # required
|
1167
|
-
# value: "tagValueType", # required
|
1168
|
-
# },
|
1169
|
-
# ],
|
1170
|
-
# }
|
1171
|
-
#
|
1172
1086
|
# @!attribute [rw] name
|
1173
1087
|
# The name of the federated user. The name is used as an identifier
|
1174
1088
|
# for the temporary security credentials (such as `Bob`). For example,
|
@@ -1187,8 +1101,8 @@ module Aws::STS
|
|
1187
1101
|
#
|
1188
1102
|
# You must pass an inline or managed [session policy][1] to this
|
1189
1103
|
# operation. You can pass a single JSON policy document to use as an
|
1190
|
-
# inline session policy. You can also specify up to 10 managed
|
1191
|
-
#
|
1104
|
+
# inline session policy. You can also specify up to 10 managed policy
|
1105
|
+
# Amazon Resource Names (ARNs) to use as managed session policies.
|
1192
1106
|
#
|
1193
1107
|
# This parameter is optional. However, if you do not pass any session
|
1194
1108
|
# policies, then the resulting federated user session has no
|
@@ -1216,12 +1130,13 @@ module Aws::STS
|
|
1216
1130
|
# include the tab (\\u0009), linefeed (\\u000A), and carriage return
|
1217
1131
|
# (\\u000D) characters.
|
1218
1132
|
#
|
1219
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
1220
|
-
#
|
1221
|
-
# separate limit. Your request can fail for
|
1222
|
-
# plaintext meets the other requirements. The
|
1223
|
-
# response element indicates by percentage how
|
1224
|
-
# tags for your request are to the upper size
|
1133
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
1134
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
1135
|
+
# binary format that has a separate limit. Your request can fail for
|
1136
|
+
# this limit even if your plaintext meets the other requirements. The
|
1137
|
+
# `PackedPolicySize` response element indicates by percentage how
|
1138
|
+
# close the policies and tags for your request are to the upper size
|
1139
|
+
# limit.
|
1225
1140
|
#
|
1226
1141
|
# </note>
|
1227
1142
|
#
|
@@ -1238,13 +1153,13 @@ module Aws::STS
|
|
1238
1153
|
#
|
1239
1154
|
# You must pass an inline or managed [session policy][1] to this
|
1240
1155
|
# operation. You can pass a single JSON policy document to use as an
|
1241
|
-
# inline session policy. You can also specify up to 10 managed
|
1242
|
-
#
|
1243
|
-
# use for both inline and managed session policies
|
1244
|
-
# characters. You can provide up to 10 managed
|
1245
|
-
# information about ARNs, see [Amazon Resource
|
1246
|
-
# Web Services Service Namespaces][2] in the
|
1247
|
-
# General Reference.
|
1156
|
+
# inline session policy. You can also specify up to 10 managed policy
|
1157
|
+
# Amazon Resource Names (ARNs) to use as managed session policies. The
|
1158
|
+
# plaintext that you use for both inline and managed session policies
|
1159
|
+
# can't exceed 2,048 characters. You can provide up to 10 managed
|
1160
|
+
# policy ARNs. For more information about ARNs, see [Amazon Resource
|
1161
|
+
# Names (ARNs) and Amazon Web Services Service Namespaces][2] in the
|
1162
|
+
# Amazon Web Services General Reference.
|
1248
1163
|
#
|
1249
1164
|
# This parameter is optional. However, if you do not pass any session
|
1250
1165
|
# policies, then the resulting federated user session has no
|
@@ -1265,12 +1180,13 @@ module Aws::STS
|
|
1265
1180
|
# are granted in addition to the permissions that are granted by the
|
1266
1181
|
# session policies.
|
1267
1182
|
#
|
1268
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
1269
|
-
#
|
1270
|
-
# separate limit. Your request can fail for
|
1271
|
-
# plaintext meets the other requirements. The
|
1272
|
-
# response element indicates by percentage how
|
1273
|
-
# tags for your request are to the upper size
|
1183
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
1184
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
1185
|
+
# binary format that has a separate limit. Your request can fail for
|
1186
|
+
# this limit even if your plaintext meets the other requirements. The
|
1187
|
+
# `PackedPolicySize` response element indicates by percentage how
|
1188
|
+
# close the policies and tags for your request are to the upper size
|
1189
|
+
# limit.
|
1274
1190
|
#
|
1275
1191
|
# </note>
|
1276
1192
|
#
|
@@ -1301,12 +1217,13 @@ module Aws::STS
|
|
1301
1217
|
# values can’t exceed 256 characters. For these and additional limits,
|
1302
1218
|
# see [IAM and STS Character Limits][2] in the *IAM User Guide*.
|
1303
1219
|
#
|
1304
|
-
# <note markdown="1"> An Amazon Web Services conversion compresses the passed
|
1305
|
-
#
|
1306
|
-
# separate limit. Your request can fail for
|
1307
|
-
# plaintext meets the other requirements. The
|
1308
|
-
# response element indicates by percentage how
|
1309
|
-
# tags for your request are to the upper size
|
1220
|
+
# <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
|
1221
|
+
# session policy, managed policy ARNs, and session tags into a packed
|
1222
|
+
# binary format that has a separate limit. Your request can fail for
|
1223
|
+
# this limit even if your plaintext meets the other requirements. The
|
1224
|
+
# `PackedPolicySize` response element indicates by percentage how
|
1225
|
+
# close the policies and tags for your request are to the upper size
|
1226
|
+
# limit.
|
1310
1227
|
#
|
1311
1228
|
# </note>
|
1312
1229
|
#
|
@@ -1379,15 +1296,6 @@ module Aws::STS
|
|
1379
1296
|
include Aws::Structure
|
1380
1297
|
end
|
1381
1298
|
|
1382
|
-
# @note When making an API call, you may pass GetSessionTokenRequest
|
1383
|
-
# data as a hash:
|
1384
|
-
#
|
1385
|
-
# {
|
1386
|
-
# duration_seconds: 1,
|
1387
|
-
# serial_number: "serialNumberType",
|
1388
|
-
# token_code: "tokenCodeType",
|
1389
|
-
# }
|
1390
|
-
#
|
1391
1299
|
# @!attribute [rw] duration_seconds
|
1392
1300
|
# The duration, in seconds, that the credentials should remain valid.
|
1393
1301
|
# Acceptable durations for IAM user sessions range from 900 seconds
|
@@ -1571,13 +1479,6 @@ module Aws::STS
|
|
1571
1479
|
# A reference to the IAM managed policy that is passed as a session
|
1572
1480
|
# policy for a role session or a federated user session.
|
1573
1481
|
#
|
1574
|
-
# @note When making an API call, you may pass PolicyDescriptorType
|
1575
|
-
# data as a hash:
|
1576
|
-
#
|
1577
|
-
# {
|
1578
|
-
# arn: "arnType",
|
1579
|
-
# }
|
1580
|
-
#
|
1581
1482
|
# @!attribute [rw] arn
|
1582
1483
|
# The Amazon Resource Name (ARN) of the IAM managed policy to use as a
|
1583
1484
|
# session policy for the role. For more information about ARNs, see
|
@@ -1628,14 +1529,6 @@ module Aws::STS
|
|
1628
1529
|
#
|
1629
1530
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html
|
1630
1531
|
#
|
1631
|
-
# @note When making an API call, you may pass Tag
|
1632
|
-
# data as a hash:
|
1633
|
-
#
|
1634
|
-
# {
|
1635
|
-
# key: "tagKeyType", # required
|
1636
|
-
# value: "tagValueType", # required
|
1637
|
-
# }
|
1638
|
-
#
|
1639
1532
|
# @!attribute [rw] key
|
1640
1533
|
# The key for a session tag.
|
1641
1534
|
#
|
data/lib/aws-sdk-sts.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.168.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|