aws-sdk-core 3.125.6 → 3.126.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7697e88b23e150cf35d43ec085b450e20b156027735bfc96d0ae247d7c39f0f5
4
- data.tar.gz: e2b958820fd48609f9a1533538ab105fb9513d15c68eecbc3c4314b2e5d3d986
3
+ metadata.gz: 8e3ff54f89f443c065f82814db9e9594f0ebe726aeee0fefcc8d69ba96e07c08
4
+ data.tar.gz: 7d943334fda11d8d24667b9edd746faee35de1c8814c6f843f03f36b24af8a81
5
5
  SHA512:
6
- metadata.gz: a4b344c92e66c33a08007014096ced99a8994068663f00a1b46b38826e1c801b48ec503198f290866bcabdc53791cc146097a26110b51b74f032130402c70cba
7
- data.tar.gz: 1399f142cfc9a1e9632b0d8b70b305d40cb7ef0cb57cbd763ad1d7dacba66ca7f77b1f28e6a61b8165657ea6c6ace1088b02d81ec595f00e9c9bffc89e7b8b9d
6
+ metadata.gz: 2b232fea85c3efd584c156f05604dd0bf38aa255c43f2ea17fc27575deab1ed182d85196ccb396f51e21c856e02544287be50a79d80efc43ffda67d02a411b27
7
+ data.tar.gz: d31b0414fd7a575fe30b17037705dd115ef9bcdc0957d7d3641b6c1fccb1e964794d0652e2c5b7df38e75250619623b7b49cca9ccb540308469b3586bdbe298e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.126.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
8
+
9
+ * Feature - Add support for recursion detection.
10
+
4
11
  3.125.6 (2022-02-02)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.125.6
1
+ 3.126.0
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aws
4
+ module Plugins
5
+ # @api private
6
+ class RecursionDetection < Seahorse::Client::Plugin
7
+
8
+ # @api private
9
+ class Handler < Seahorse::Client::Handler
10
+ def call(context)
11
+
12
+ unless context.http_request.headers.key?('x-amz-trace-id')
13
+ if ENV['AWS_LAMBDA_FUNCTION_NAME'] &&
14
+ (trace_id = ENV['_X_AMZ_TRACE_ID'])
15
+ context.http_request.headers['x-amz-trace-id'] = trace_id
16
+ end
17
+ end
18
+ @handler.call(context)
19
+ end
20
+ end
21
+
22
+ # should be at the end of build so that
23
+ # modeled traits / service customizations apply first
24
+ handler(Handler, step: :build, order: 99)
25
+ end
26
+ end
27
+ end
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
33
34
 
@@ -75,6 +76,7 @@ module Aws::SSO
75
76
  add_plugin(Aws::Plugins::TransferEncoding)
76
77
  add_plugin(Aws::Plugins::HttpChecksum)
77
78
  add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
78
80
  add_plugin(Aws::Plugins::SignatureV4)
79
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
80
82
 
@@ -541,7 +543,7 @@ module Aws::SSO
541
543
  params: params,
542
544
  config: config)
543
545
  context[:gem_name] = 'aws-sdk-core'
544
- context[:gem_version] = '3.125.6'
546
+ context[:gem_version] = '3.126.0'
545
547
  Seahorse::Client::Request.new(handlers, context)
546
548
  end
547
549
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sso/customizations'
50
50
  # @!group service
51
51
  module Aws::SSO
52
52
 
53
- GEM_VERSION = '3.125.6'
53
+ GEM_VERSION = '3.126.0'
54
54
 
55
55
  end
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
33
  require 'aws-sdk-core/plugins/protocols/query.rb'
33
34
  require 'aws-sdk-sts/plugins/sts_regional_endpoints.rb'
@@ -76,6 +77,7 @@ module Aws::STS
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
78
79
  add_plugin(Aws::Plugins::DefaultsMode)
80
+ add_plugin(Aws::Plugins::RecursionDetection)
79
81
  add_plugin(Aws::Plugins::SignatureV4)
80
82
  add_plugin(Aws::Plugins::Protocols::Query)
81
83
  add_plugin(Aws::STS::Plugins::STSRegionalEndpoints)
@@ -2284,7 +2286,7 @@ module Aws::STS
2284
2286
  params: params,
2285
2287
  config: config)
2286
2288
  context[:gem_name] = 'aws-sdk-core'
2287
- context[:gem_version] = '3.125.6'
2289
+ context[:gem_version] = '3.126.0'
2288
2290
  Seahorse::Client::Request.new(handlers, context)
2289
2291
  end
2290
2292
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sts/customizations'
50
50
  # @!group service
51
51
  module Aws::STS
52
52
 
53
- GEM_VERSION = '3.125.6'
53
+ GEM_VERSION = '3.126.0'
54
54
 
55
55
  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.125.6
4
+ version: 3.126.0
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-02-02 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -161,6 +161,7 @@ files:
161
161
  - lib/aws-sdk-core/plugins/protocols/query.rb
162
162
  - lib/aws-sdk-core/plugins/protocols/rest_json.rb
163
163
  - lib/aws-sdk-core/plugins/protocols/rest_xml.rb
164
+ - lib/aws-sdk-core/plugins/recursion_detection.rb
164
165
  - lib/aws-sdk-core/plugins/regional_endpoint.rb
165
166
  - lib/aws-sdk-core/plugins/response_paging.rb
166
167
  - lib/aws-sdk-core/plugins/retries/client_rate_limiter.rb