aws-sdk-wafregional 1.67.0 → 1.69.0

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: dd19cb58f51d8468148ca4a08d680a7e2eecf82f5051e92743a4ed1a8cc03925
4
- data.tar.gz: f70c0f2db0d8d447e924d3b0a4c0db25c44793d9cf1d7115be7576e87a47250f
3
+ metadata.gz: 555f303f45b6c9febf68e5d766dda48a45e89c7402a7d5dd6b02e1af0d28178a
4
+ data.tar.gz: 65473d7531f94dcfe7c61ac5af1849ccc2c81ea67ce808219817b7391470345a
5
5
  SHA512:
6
- metadata.gz: 73e6b0b04831628638088f56e60947210fab0cac50ffa1ab2aaac3624a93d61f2d1b8e81e06ac89ae449e56829b07dc9f2461516ee7eb0058c65b9547157f54b
7
- data.tar.gz: 239f5b74fedbde0c0913cfc7a33b433db50b4ba5827290130f77a8ae75c4b6bd07d5a89507c7fb72c7633651045b9bad462fc701e999e38f2eb0e6606fdfd279
6
+ metadata.gz: 5c7d05744cddd921f8d16266f02dc54997176e4ab2a1dda0b19a77184b95b3cf67dc4560f2218f0b455e414039fd4d3acd3992048bb85075eeab3d95ea44f1ce
7
+ data.tar.gz: e9d4dea6db2fb61e86cdefc2af5a11906a607366d419b0e482df6cebbd9e8d596bbf7db640c8b7ed53e10cfaf0f0f01417d1ca4201382d5d7eaa54de5b793a52
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.68.0 (2024-08-02)
10
+ ------------------
11
+
12
+ * Feature - Add v2 smoke tests and smithy smokeTests trait for SDK testing.
13
+
4
14
  1.67.0 (2024-07-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::WAFRegional
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
88
90
  add_plugin(Aws::WAFRegional::Plugins::Endpoints)
@@ -337,6 +339,16 @@ module Aws::WAFRegional
337
339
  # ** Please note ** When response stubbing is enabled, no HTTP
338
340
  # requests are made, and retries are disabled.
339
341
  #
342
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
343
+ # Allows you to provide a telemetry provider, which is used to
344
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
345
+ # will not record or emit any telemetry data. The SDK supports the
346
+ # following telemetry providers:
347
+ #
348
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
349
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
350
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
351
+ #
340
352
  # @option options [Aws::TokenProvider] :token_provider
341
353
  # A Bearer Token Provider. This can be an instance of any one of the
342
354
  # following classes:
@@ -6961,14 +6973,19 @@ module Aws::WAFRegional
6961
6973
  # @api private
6962
6974
  def build_request(operation_name, params = {})
6963
6975
  handlers = @handlers.for(operation_name)
6976
+ tracer = config.telemetry_provider.tracer_provider.tracer(
6977
+ Aws::Telemetry.module_to_tracer_name('Aws::WAFRegional')
6978
+ )
6964
6979
  context = Seahorse::Client::RequestContext.new(
6965
6980
  operation_name: operation_name,
6966
6981
  operation: config.api.operation(operation_name),
6967
6982
  client: self,
6968
6983
  params: params,
6969
- config: config)
6984
+ config: config,
6985
+ tracer: tracer
6986
+ )
6970
6987
  context[:gem_name] = 'aws-sdk-wafregional'
6971
- context[:gem_version] = '1.67.0'
6988
+ context[:gem_version] = '1.69.0'
6972
6989
  Seahorse::Client::Request.new(handlers, context)
6973
6990
  end
6974
6991
 
@@ -32,7 +32,7 @@ module Aws::WAFRegional
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://waf-regional-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-wafregional/customizations'
52
52
  # @!group service
53
53
  module Aws::WAFRegional
54
54
 
55
- GEM_VERSION = '1.67.0'
55
+ GEM_VERSION = '1.69.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-wafregional
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.69.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: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement