aws-sdk-polly 1.91.0 → 1.92.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: 4c35f6d1027f07c742555578cd4e72d255d5feb77526cd8ce2e5d3c995c1d086
4
- data.tar.gz: b3c8dda7bfd545b511a927a54ff0d7477d7ed8fb56fd3da07e001e8715568428
3
+ metadata.gz: 80e05d9b21b1b6748b7147f46d1c736dae7a5b93ea5c86290ccfd6a25df09201
4
+ data.tar.gz: be9281f718804a9d76fbab613c9e099db00a3a9d7d1617d0d131e8a53f2d3cad
5
5
  SHA512:
6
- metadata.gz: 456fe075757a1387867f4722a90dacfb515e0f8ea878d725d5e91a7ab624ef91ff59f76fd124f738869ea82435fdd0e671e1adb259b99c32113c63c921e52fb4
7
- data.tar.gz: 3aa14c979cdae9e1f6a0926e6a4f30cff12d7810530691074b1c64ade4fb549d42d30fe548d163b951c1badc905cb3d170a6f3cf22f86bf3fb166929a9a3de43
6
+ metadata.gz: 7876be8199e6c2d6f17a285560c620492ee198c8fd60d45bf0db2ba64e9cb7c39af834bf7a472cf737a03f099ac7d5bc8b77d6967b0e4cfcb7abca269c65d5c0
7
+ data.tar.gz: f0eba8b5b3517bea53ffa8e67d84e8c88fbffe61590512eb0f7e052f1c0f7d9b47a399b4e4a43b6be73ba51fe41ce5abf085178a7818847df7de7938be15fe94
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.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.91.0 (2024-08-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.92.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::Polly
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::Polly::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::Polly
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:
@@ -1175,14 +1187,19 @@ module Aws::Polly
1175
1187
  # @api private
1176
1188
  def build_request(operation_name, params = {})
1177
1189
  handlers = @handlers.for(operation_name)
1190
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1191
+ Aws::Telemetry.module_to_tracer_name('Aws::Polly')
1192
+ )
1178
1193
  context = Seahorse::Client::RequestContext.new(
1179
1194
  operation_name: operation_name,
1180
1195
  operation: config.api.operation(operation_name),
1181
1196
  client: self,
1182
1197
  params: params,
1183
- config: config)
1198
+ config: config,
1199
+ tracer: tracer
1200
+ )
1184
1201
  context[:gem_name] = 'aws-sdk-polly'
1185
- context[:gem_version] = '1.91.0'
1202
+ context[:gem_version] = '1.92.0'
1186
1203
  Seahorse::Client::Request.new(handlers, context)
1187
1204
  end
1188
1205
 
data/lib/aws-sdk-polly.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-polly/customizations'
52
52
  # @!group service
53
53
  module Aws::Polly
54
54
 
55
- GEM_VERSION = '1.91.0'
55
+ GEM_VERSION = '1.92.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-polly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.91.0
4
+ version: 1.92.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-27 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