aws-sdk-cloudtraildata 1.16.0 → 1.17.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: 138a42aa006c6d3eab04f47937836971b2001b92a8e465c203004f728985e38d
4
- data.tar.gz: 0046f04fd8073073ba48eb3a4559118f8b1428c8408a798a91d11d9226f90897
3
+ metadata.gz: 53052f3987162fa54c81f5eccb5a72d74bf9c0a68cd0e2fbe4dc2ae21dea513c
4
+ data.tar.gz: f6f642a4d0c4574475f0cc56ac13e9a0f0d99135fc4c059ebb58924e73fc4f6d
5
5
  SHA512:
6
- metadata.gz: '08c88645b36f3519e661ab4543ab0cf824a365845ecd5e46f2e24bd1d46dc2b5c4c68014b4d1577ac2d004f7a61a2be918778ef38c9053946b605df4f95c0011'
7
- data.tar.gz: bfdc784790f07d534db5d9b44b243e80bd44a79d26416e46e9fbef8ec767e112d36d12e495a4a74ce102aab4ef6b3a2143fc1e90f4de5810e5a692e93f099d5a
6
+ metadata.gz: 91281fbbdfc25f4b79dfe55b89ebd64b0b83087d13567c9ade886bb82f45e2242e469d6c25ac882a01d78e0e51fc71d3503e515d8cc7b9558966aedf7c8f9bbf
7
+ data.tar.gz: 0122a94b00ead845b7264e89fcb93c8264bea6509739b9143a77fc1700bfa2550159f5a109e6398f19b05889c45cf052ce6adc3efb4de3213c391a7f4b4257d8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.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.16.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.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::CloudTrailData
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::CloudTrailData::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::CloudTrailData
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:
@@ -487,14 +499,19 @@ module Aws::CloudTrailData
487
499
  # @api private
488
500
  def build_request(operation_name, params = {})
489
501
  handlers = @handlers.for(operation_name)
502
+ tracer = config.telemetry_provider.tracer_provider.tracer(
503
+ Aws::Telemetry.module_to_tracer_name('Aws::CloudTrailData')
504
+ )
490
505
  context = Seahorse::Client::RequestContext.new(
491
506
  operation_name: operation_name,
492
507
  operation: config.api.operation(operation_name),
493
508
  client: self,
494
509
  params: params,
495
- config: config)
510
+ config: config,
511
+ tracer: tracer
512
+ )
496
513
  context[:gem_name] = 'aws-sdk-cloudtraildata'
497
- context[:gem_version] = '1.16.0'
514
+ context[:gem_version] = '1.17.0'
498
515
  Seahorse::Client::Request.new(handlers, context)
499
516
  end
500
517
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudtraildata/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudTrailData
54
54
 
55
- GEM_VERSION = '1.16.0'
55
+ GEM_VERSION = '1.17.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-cloudtraildata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.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