aws-sdk-cloudwatch 1.97.0 → 1.98.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: 02bdb33d58b2641848fd2e2efe5f3840e46245636f47be31032bf695351c6039
4
- data.tar.gz: c2c37667e5e85d410ea0a9388e83ae17b3d7883223954a181d36eeffee5e0b8e
3
+ metadata.gz: 67daf5989b8713f09c0a4dda0e8a790cdb766f745b14185912d1a9b859c8650b
4
+ data.tar.gz: 7f214b121d594f04fec4c9e3d3045621a04fd103846fcec5022faa6cb7da9f0f
5
5
  SHA512:
6
- metadata.gz: a23decca69bd1ffd64b4efb0cafae27ac50f15546cb8053ef4aa0fd3bd57fc54da44aba3da1ecc003f3bb629c27c0efac8b5ccdb6dd636359580aa78e0f0c95a
7
- data.tar.gz: 119becd22b0432d896ba01ccaf9f942ee55d1c7bc332997e11b0cf87e96180c2dc63656ce07b64c160ef728321c9a2afb66c5c8b86422b768167f17d5dbfa35a
6
+ metadata.gz: 9a294aa4e34d5293437291cd9bc3a9a7333eabb64629817207c048aaaee888878d1b09b195e300657d4a32d5fbae1234a88b48f53bbf9df784f1adaad20a6d1f
7
+ data.tar.gz: a589c386d9568dab3c69b4302aa77a6911def840d3350c57c006c31a32d7d777e0de219b1225feb04d51846b03c55d613b457f07b6c96de46609684b03607e66
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.97.0 (2024-08-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.97.0
1
+ 1.98.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/query.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::CloudWatch
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::Query)
88
90
  add_plugin(Aws::CloudWatch::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::CloudWatch
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -4144,14 +4156,19 @@ module Aws::CloudWatch
4144
4156
  # @api private
4145
4157
  def build_request(operation_name, params = {})
4146
4158
  handlers = @handlers.for(operation_name)
4159
+ tracer = config.telemetry_provider.tracer_provider.tracer(
4160
+ Aws::Telemetry.module_to_tracer_name('Aws::CloudWatch')
4161
+ )
4147
4162
  context = Seahorse::Client::RequestContext.new(
4148
4163
  operation_name: operation_name,
4149
4164
  operation: config.api.operation(operation_name),
4150
4165
  client: self,
4151
4166
  params: params,
4152
- config: config)
4167
+ config: config,
4168
+ tracer: tracer
4169
+ )
4153
4170
  context[:gem_name] = 'aws-sdk-cloudwatch'
4154
- context[:gem_version] = '1.97.0'
4171
+ context[:gem_version] = '1.98.0'
4155
4172
  Seahorse::Client::Request.new(handlers, context)
4156
4173
  end
4157
4174
 
@@ -56,6 +56,6 @@ require_relative 'aws-sdk-cloudwatch/customizations'
56
56
  # @!group service
57
57
  module Aws::CloudWatch
58
58
 
59
- GEM_VERSION = '1.97.0'
59
+ GEM_VERSION = '1.98.0'
60
60
 
61
61
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.97.0
4
+ version: 1.98.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-08-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