aws-sdk-lexruntimev2 1.38.0 → 1.39.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: 9e14c8971376f4d408572aee8c3995b4e5c0c47cd96d8ed04a429e30da17b16d
4
- data.tar.gz: cb7bac4795a58f29e179dbb448ac15e41e973b828769586f915cae7ad4589f90
3
+ metadata.gz: 410cf2d5b1f2efe67f6fe16ed492f289518c14dc8ae3116946110037dc877bf8
4
+ data.tar.gz: 22d6dcac60e9f0eba8cad92cc43e510436d5c669e8cfcad4bbc8a05100ec834d
5
5
  SHA512:
6
- metadata.gz: 0d1207a72afd29456354c30673513d2843ea40d01feb12af772feef1a8f0a4f9b1f456d29a480b701948d84a077fca56d6a98c6f11b2c256bf817bfc2668061b
7
- data.tar.gz: 23e04e42630a866380ca2853452662f6f742c160aabd17d318123e0583b7435c1fde9131c42d733a38c70b1d6d77017d79e41a24aed277e481bf9f95f0192f91
6
+ metadata.gz: 504fdcf95d2ee6c344ddac48cb434ad122d5cc47024620ac5e2b1fdf77d9920a08fbf23ac431c9994edb6c21a0d68d4b95f9696f64a7bdc25e66931e2e410fa9
7
+ data.tar.gz: c41f5eb49f940cc9cedb17c30f1a3b04d87915bbdc4a47635998a18c898889d472a6ae0f3d10aa0eadc5cad19d401f72802d2ab16898cea63c7dbb084cdf4c7a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.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.38.0 (2024-07-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.39.0
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
28
28
  require 'aws-sdk-core/plugins/request_compression.rb'
29
29
  require 'aws-sdk-core/plugins/defaults_mode.rb'
30
30
  require 'aws-sdk-core/plugins/recursion_detection.rb'
31
+ require 'aws-sdk-core/plugins/telemetry.rb'
31
32
  require 'aws-sdk-core/plugins/sign.rb'
32
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
33
34
  require 'aws-sdk-core/plugins/event_stream_configuration.rb'
@@ -61,6 +62,7 @@ module Aws::LexRuntimeV2
61
62
  add_plugin(Aws::Plugins::RequestCompression)
62
63
  add_plugin(Aws::Plugins::DefaultsMode)
63
64
  add_plugin(Aws::Plugins::RecursionDetection)
65
+ add_plugin(Aws::Plugins::Telemetry)
64
66
  add_plugin(Aws::Plugins::Sign)
65
67
  add_plugin(Aws::Plugins::Protocols::RestJson)
66
68
  add_plugin(Aws::Plugins::EventStreamConfiguration)
@@ -268,6 +270,16 @@ module Aws::LexRuntimeV2
268
270
  # ** Please note ** When response stubbing is enabled, no HTTP
269
271
  # requests are made, and retries are disabled.
270
272
  #
273
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
274
+ # Allows you to provide a telemetry provider, which is used to
275
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
276
+ # will not record or emit any telemetry data. The SDK supports the
277
+ # following telemetry providers:
278
+ #
279
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
280
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
281
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
282
+ #
271
283
  # @option options [Aws::TokenProvider] :token_provider
272
284
  # A Bearer Token Provider. This can be an instance of any one of the
273
285
  # following classes:
@@ -734,15 +746,20 @@ module Aws::LexRuntimeV2
734
746
  # @api private
735
747
  def build_request(operation_name, params = {})
736
748
  handlers = @handlers.for(operation_name)
749
+ tracer = config.telemetry_provider.tracer_provider.tracer(
750
+ Aws::Telemetry.module_to_tracer_name('Aws::LexRuntimeV2')
751
+ )
737
752
  context = Seahorse::Client::RequestContext.new(
738
753
  operation_name: operation_name,
739
754
  operation: config.api.operation(operation_name),
740
755
  client: self,
741
756
  params: params,
742
757
  http_response: Seahorse::Client::Http::AsyncResponse.new,
743
- config: config)
758
+ config: config,
759
+ tracer: tracer
760
+ )
744
761
  context[:gem_name] = 'aws-sdk-lexruntimev2'
745
- context[:gem_version] = '1.38.0'
762
+ context[:gem_version] = '1.39.0'
746
763
  Seahorse::Client::Request.new(handlers, context)
747
764
  end
748
765
 
@@ -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
  require 'aws-sdk-core/plugins/event_stream_configuration.rb'
@@ -84,6 +85,7 @@ module Aws::LexRuntimeV2
84
85
  add_plugin(Aws::Plugins::RequestCompression)
85
86
  add_plugin(Aws::Plugins::DefaultsMode)
86
87
  add_plugin(Aws::Plugins::RecursionDetection)
88
+ add_plugin(Aws::Plugins::Telemetry)
87
89
  add_plugin(Aws::Plugins::Sign)
88
90
  add_plugin(Aws::Plugins::Protocols::RestJson)
89
91
  add_plugin(Aws::Plugins::EventStreamConfiguration)
@@ -341,6 +343,16 @@ module Aws::LexRuntimeV2
341
343
  # ** Please note ** When response stubbing is enabled, no HTTP
342
344
  # requests are made, and retries are disabled.
343
345
  #
346
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
347
+ # Allows you to provide a telemetry provider, which is used to
348
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
349
+ # will not record or emit any telemetry data. The SDK supports the
350
+ # following telemetry providers:
351
+ #
352
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
353
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
354
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
355
+ #
344
356
  # @option options [Aws::TokenProvider] :token_provider
345
357
  # A Bearer Token Provider. This can be an instance of any one of the
346
358
  # following classes:
@@ -1199,14 +1211,19 @@ module Aws::LexRuntimeV2
1199
1211
  # @api private
1200
1212
  def build_request(operation_name, params = {})
1201
1213
  handlers = @handlers.for(operation_name)
1214
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1215
+ Aws::Telemetry.module_to_tracer_name('Aws::LexRuntimeV2')
1216
+ )
1202
1217
  context = Seahorse::Client::RequestContext.new(
1203
1218
  operation_name: operation_name,
1204
1219
  operation: config.api.operation(operation_name),
1205
1220
  client: self,
1206
1221
  params: params,
1207
- config: config)
1222
+ config: config,
1223
+ tracer: tracer
1224
+ )
1208
1225
  context[:gem_name] = 'aws-sdk-lexruntimev2'
1209
- context[:gem_version] = '1.38.0'
1226
+ context[:gem_version] = '1.39.0'
1210
1227
  Seahorse::Client::Request.new(handlers, context)
1211
1228
  end
1212
1229
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-lexruntimev2/event_streams'
54
54
  # @!group service
55
55
  module Aws::LexRuntimeV2
56
56
 
57
- GEM_VERSION = '1.38.0'
57
+ GEM_VERSION = '1.39.0'
58
58
 
59
59
  end
data/sig/client.rbs CHANGED
@@ -53,6 +53,7 @@ module Aws
53
53
  ?session_token: String,
54
54
  ?sigv4a_signing_region_set: Array[String],
55
55
  ?stub_responses: untyped,
56
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
56
57
  ?token_provider: untyped,
57
58
  ?use_dualstack_endpoint: bool,
58
59
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -53,6 +53,7 @@ module Aws
53
53
  ?session_token: String,
54
54
  ?sigv4a_signing_region_set: Array[String],
55
55
  ?stub_responses: untyped,
56
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
56
57
  ?token_provider: untyped,
57
58
  ?use_dualstack_endpoint: bool,
58
59
  ?use_fips_endpoint: bool,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexruntimev2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.39.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-18 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