aws-sdk-core 3.168.0 → 3.168.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a4dd2eca826a9e7e2691ae3617a046c7861951e597b2976a5a8d92c85a3029b
4
- data.tar.gz: 28d8c99591cd0da107d3d38ef1a1941edebf56e1dab2a17f53a372bbb9f28032
3
+ metadata.gz: d302eff376c44110aea11be83cd8f12190865cac35125ee586638d139eb8d729
4
+ data.tar.gz: 1e8736d1ca2854c274e71acd23c8acaca5f7f79a9389c0bb19939fee1ec87ed1
5
5
  SHA512:
6
- metadata.gz: 2bcf6c20074fff2e6eded6da89cfe2806a2bf439e5da8176e673918bbb8f09e6f8fe7aa9cb96973a5699d4f4d0b79f6e2763772c61ff9e3054418c44737b53b0
7
- data.tar.gz: a84c1f410f5ff61e5aafbe2a92d2cde3690e22b12df5c4c10f6ae1a6e7b4264f46daa91bef758ef36ae215341826ae4d2f65762594051bf0d5ad576402dee5c7
6
+ metadata.gz: adb0e5f011fd909a3e19d5a1fd1b6a0f668173bc5db6e68d13d595b8ba297e8a1ea781849138cb1daf368ffb7a5e37a2677a2ce677ddb57e9e76ced96a49ec19
7
+ data.tar.gz: 20c1233b92f0c755b58f1693ec5cd79c739c48736200fd711518db4dfbdb1af9d73fa0f92efef2275782d69da8d95d63d3d75f44a686946744b7facaab574ae5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
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
+
4
19
  3.168.0 (2022-11-17)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.168.0
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
- region = (options[:config] && options[:config].region)
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
@@ -39,7 +39,8 @@ module Aws
39
39
 
40
40
  CHECKSUM_ERRORS = Set.new(
41
41
  [
42
- 'CRC32CheckFailed' # dynamodb
42
+ 'CRC32CheckFailed', # dynamodb
43
+ 'BadDigest' # s3
43
44
  ]
44
45
  )
45
46
 
@@ -39,6 +39,7 @@ module Aws
39
39
 
40
40
  options[:region] = @sso_region
41
41
  options[:credentials] = nil
42
+ options[:token_provider] = nil
42
43
  @client = options[:client] || Aws::SSOOIDC::Client.new(options)
43
44
 
44
45
  super
@@ -585,7 +585,7 @@ module Aws::SSO
585
585
  params: params,
586
586
  config: config)
587
587
  context[:gem_name] = 'aws-sdk-core'
588
- context[:gem_version] = '3.168.0'
588
+ context[:gem_version] = '3.168.3'
589
589
  Seahorse::Client::Request.new(handlers, context)
590
590
  end
591
591
 
@@ -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
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sso/customizations'
54
54
  # @!group service
55
55
  module Aws::SSO
56
56
 
57
- GEM_VERSION = '3.168.0'
57
+ GEM_VERSION = '3.168.3'
58
58
 
59
59
  end
@@ -581,7 +581,7 @@ module Aws::SSOOIDC
581
581
  params: params,
582
582
  config: config)
583
583
  context[:gem_name] = 'aws-sdk-core'
584
- context[:gem_version] = '3.168.0'
584
+ context[:gem_version] = '3.168.3'
585
585
  Seahorse::Client::Request.new(handlers, context)
586
586
  end
587
587
 
@@ -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
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-ssooidc/customizations'
54
54
  # @!group service
55
55
  module Aws::SSOOIDC
56
56
 
57
- GEM_VERSION = '3.168.0'
57
+ GEM_VERSION = '3.168.3'
58
58
 
59
59
  end
@@ -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.168.0'
2319
+ context[:gem_version] = '3.168.3'
2320
2320
  Seahorse::Client::Request.new(handlers, context)
2321
2321
  end
2322
2322
 
@@ -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]
@@ -397,22 +371,6 @@ module Aws::STS
397
371
  include Aws::Structure
398
372
  end
399
373
 
400
- # @note When making an API call, you may pass AssumeRoleWithSAMLRequest
401
- # data as a hash:
402
- #
403
- # {
404
- # role_arn: "arnType", # required
405
- # principal_arn: "arnType", # required
406
- # saml_assertion: "SAMLAssertionType", # required
407
- # policy_arns: [
408
- # {
409
- # arn: "arnType",
410
- # },
411
- # ],
412
- # policy: "sessionPolicyDocumentType",
413
- # duration_seconds: 1,
414
- # }
415
- #
416
374
  # @!attribute [rw] role_arn
417
375
  # The Amazon Resource Name (ARN) of the role that the caller is
418
376
  # assuming.
@@ -670,23 +628,6 @@ module Aws::STS
670
628
  include Aws::Structure
671
629
  end
672
630
 
673
- # @note When making an API call, you may pass AssumeRoleWithWebIdentityRequest
674
- # data as a hash:
675
- #
676
- # {
677
- # role_arn: "arnType", # required
678
- # role_session_name: "roleSessionNameType", # required
679
- # web_identity_token: "clientTokenType", # required
680
- # provider_id: "urlType",
681
- # policy_arns: [
682
- # {
683
- # arn: "arnType",
684
- # },
685
- # ],
686
- # policy: "sessionPolicyDocumentType",
687
- # duration_seconds: 1,
688
- # }
689
- #
690
631
  # @!attribute [rw] role_arn
691
632
  # The Amazon Resource Name (ARN) of the role that the caller is
692
633
  # assuming.
@@ -1004,13 +945,6 @@ module Aws::STS
1004
945
  include Aws::Structure
1005
946
  end
1006
947
 
1007
- # @note When making an API call, you may pass DecodeAuthorizationMessageRequest
1008
- # data as a hash:
1009
- #
1010
- # {
1011
- # encoded_message: "encodedMessageType", # required
1012
- # }
1013
- #
1014
948
  # @!attribute [rw] encoded_message
1015
949
  # The encoded message that was returned with the response.
1016
950
  # @return [String]
@@ -1081,13 +1015,6 @@ module Aws::STS
1081
1015
  include Aws::Structure
1082
1016
  end
1083
1017
 
1084
- # @note When making an API call, you may pass GetAccessKeyInfoRequest
1085
- # data as a hash:
1086
- #
1087
- # {
1088
- # access_key_id: "accessKeyIdType", # required
1089
- # }
1090
- #
1091
1018
  # @!attribute [rw] access_key_id
1092
1019
  # The identifier of an access key.
1093
1020
  #
@@ -1156,26 +1083,6 @@ module Aws::STS
1156
1083
  include Aws::Structure
1157
1084
  end
1158
1085
 
1159
- # @note When making an API call, you may pass GetFederationTokenRequest
1160
- # data as a hash:
1161
- #
1162
- # {
1163
- # name: "userNameType", # required
1164
- # policy: "sessionPolicyDocumentType",
1165
- # policy_arns: [
1166
- # {
1167
- # arn: "arnType",
1168
- # },
1169
- # ],
1170
- # duration_seconds: 1,
1171
- # tags: [
1172
- # {
1173
- # key: "tagKeyType", # required
1174
- # value: "tagValueType", # required
1175
- # },
1176
- # ],
1177
- # }
1178
- #
1179
1086
  # @!attribute [rw] name
1180
1087
  # The name of the federated user. The name is used as an identifier
1181
1088
  # for the temporary security credentials (such as `Bob`). For example,
@@ -1389,15 +1296,6 @@ module Aws::STS
1389
1296
  include Aws::Structure
1390
1297
  end
1391
1298
 
1392
- # @note When making an API call, you may pass GetSessionTokenRequest
1393
- # data as a hash:
1394
- #
1395
- # {
1396
- # duration_seconds: 1,
1397
- # serial_number: "serialNumberType",
1398
- # token_code: "tokenCodeType",
1399
- # }
1400
- #
1401
1299
  # @!attribute [rw] duration_seconds
1402
1300
  # The duration, in seconds, that the credentials should remain valid.
1403
1301
  # Acceptable durations for IAM user sessions range from 900 seconds
@@ -1581,13 +1479,6 @@ module Aws::STS
1581
1479
  # A reference to the IAM managed policy that is passed as a session
1582
1480
  # policy for a role session or a federated user session.
1583
1481
  #
1584
- # @note When making an API call, you may pass PolicyDescriptorType
1585
- # data as a hash:
1586
- #
1587
- # {
1588
- # arn: "arnType",
1589
- # }
1590
- #
1591
1482
  # @!attribute [rw] arn
1592
1483
  # The Amazon Resource Name (ARN) of the IAM managed policy to use as a
1593
1484
  # session policy for the role. For more information about ARNs, see
@@ -1638,14 +1529,6 @@ module Aws::STS
1638
1529
  #
1639
1530
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html
1640
1531
  #
1641
- # @note When making an API call, you may pass Tag
1642
- # data as a hash:
1643
- #
1644
- # {
1645
- # key: "tagKeyType", # required
1646
- # value: "tagValueType", # required
1647
- # }
1648
- #
1649
1532
  # @!attribute [rw] key
1650
1533
  # The key for a session tag.
1651
1534
  #
data/lib/aws-sdk-sts.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sts/customizations'
54
54
  # @!group service
55
55
  module Aws::STS
56
56
 
57
- GEM_VERSION = '3.168.0'
57
+ GEM_VERSION = '3.168.3'
58
58
 
59
59
  end
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.168.0
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-17 00:00:00.000000000 Z
11
+ date: 2022-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath