aws-sdk-oam 1.20.0 → 1.21.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: 8ec4c6a7fb28f909e0ce7ca6eb4f5d396092ffadefca2c7820caff4978e37b44
4
- data.tar.gz: f546cfa6d4421fbfa6b0f0f36ab9e5af568df11c69e02e039a31e3d6d42d65b8
3
+ metadata.gz: 429e85fecebbd7fef42d7f8c7546beaa33c4409cb6bbc2ab56e3f70155ef0630
4
+ data.tar.gz: c933cf55748f7b02509a5d031bb26ba6a8975104dc318b94d0fe612d8d4ddc68
5
5
  SHA512:
6
- metadata.gz: 383421b77547771d149013e1669cdc88eb81a40b614eeff3f33252b9d13fdd78427d3e1bd27520a992ea3bf7d8d1f0f059680fc50e340a1f8ab1da748ce42b7b
7
- data.tar.gz: f4d9e4ac3c4d420314353d1a7c67d1816a6426d31fbc96736959ab7e5c5630c36038fc4c841c7ee2d560d2dfacab2e5c79fc46e448cc4e94c7ab357ce3f074ef
6
+ metadata.gz: 77d76c996b790f52c2f48056e6a4ea6bc3d79f3c62525c2d1a64c716e72c3c53735c22b8f7175b3bfe262f8d65b112e366c4c1d6f539e53b6feba60a1fbc8d88
7
+ data.tar.gz: a78cc30bbd2dd345d83e725caf13df6ea477c938463e6ea48e2967f23f58e1c9c0f1c930b48a0694d530a25a791e87b8bc9e0ec97845da44a86e101082974d98
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.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.20.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.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/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::OAM
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::RestJson)
88
90
  add_plugin(Aws::OAM::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::OAM
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:
@@ -1240,14 +1252,19 @@ module Aws::OAM
1240
1252
  # @api private
1241
1253
  def build_request(operation_name, params = {})
1242
1254
  handlers = @handlers.for(operation_name)
1255
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1256
+ Aws::Telemetry.module_to_tracer_name('Aws::OAM')
1257
+ )
1243
1258
  context = Seahorse::Client::RequestContext.new(
1244
1259
  operation_name: operation_name,
1245
1260
  operation: config.api.operation(operation_name),
1246
1261
  client: self,
1247
1262
  params: params,
1248
- config: config)
1263
+ config: config,
1264
+ tracer: tracer
1265
+ )
1249
1266
  context[:gem_name] = 'aws-sdk-oam'
1250
- context[:gem_version] = '1.20.0'
1267
+ context[:gem_version] = '1.21.0'
1251
1268
  Seahorse::Client::Request.new(handlers, context)
1252
1269
  end
1253
1270
 
data/lib/aws-sdk-oam.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-oam/customizations'
52
52
  # @!group service
53
53
  module Aws::OAM
54
54
 
55
- GEM_VERSION = '1.20.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
57
  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-oam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.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