aws-sdk-costoptimizationhub 1.11.0 → 1.12.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: 32e5ed167b979230b9c9aa6ac376982480f3987ab60d4c934d07a20e513c28f5
4
- data.tar.gz: 130e1fef533831d292f5cbebc73bcbddb0e7f319ea2d3642bce1e1e5226709fe
3
+ metadata.gz: 9d00522d6b282b63a8aa5fd0f41aed04899eea807e5a1263e5391fe36d0528b0
4
+ data.tar.gz: f7240bfadc3555ea17174da9e70c27e9987fe656e6d926c444385f566149b255
5
5
  SHA512:
6
- metadata.gz: 418b88825ce2accab7807643fd9f7b55080025ccb84a014bb111746e9ddb93b68211d333256ed6cbe8fcc6c0d71ead87f7209d879e81d5cf90e7c7b4ed4c2ec6
7
- data.tar.gz: 7a9c7dbfa837f43a9e02cfe3dd152c19cf7db03c5f671cb39b002f564325e90fac5e4e11be5d452407e16e71d09f66c5ec704623669d8b2297ad723859363096
6
+ metadata.gz: dc8c70e7f855f0b2868450d9cadae27968fb294ccab409b192a09aaa639ab813a6e62debce6c2e68e156715bded254a3762b60278f74eb1c793746754c91a7eb
7
+ data.tar.gz: 9e52393f5cf087d66e805a1eb8623430aba73c0a4a86b2de7cdfdc3f6f19951d20efbeb4cd0834a3c8111528bb5317cbe3f52776afe09087eaf45ba23903aede
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.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.11.0 (2024-08-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.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::CostOptimizationHub
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::CostOptimizationHub::Plugins::Endpoints)
@@ -337,6 +339,16 @@ module Aws::CostOptimizationHub
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:
@@ -1291,14 +1303,19 @@ module Aws::CostOptimizationHub
1291
1303
  # @api private
1292
1304
  def build_request(operation_name, params = {})
1293
1305
  handlers = @handlers.for(operation_name)
1306
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1307
+ Aws::Telemetry.module_to_tracer_name('Aws::CostOptimizationHub')
1308
+ )
1294
1309
  context = Seahorse::Client::RequestContext.new(
1295
1310
  operation_name: operation_name,
1296
1311
  operation: config.api.operation(operation_name),
1297
1312
  client: self,
1298
1313
  params: params,
1299
- config: config)
1314
+ config: config,
1315
+ tracer: tracer
1316
+ )
1300
1317
  context[:gem_name] = 'aws-sdk-costoptimizationhub'
1301
- context[:gem_version] = '1.11.0'
1318
+ context[:gem_version] = '1.12.0'
1302
1319
  Seahorse::Client::Request.new(handlers, context)
1303
1320
  end
1304
1321
 
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-costoptimizationhub/customizations'
53
53
  # @!group service
54
54
  module Aws::CostOptimizationHub
55
55
 
56
- GEM_VERSION = '1.11.0'
56
+ GEM_VERSION = '1.12.0'
57
57
 
58
58
  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-costoptimizationhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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-06 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