aws-sdk-guardduty 1.96.0 → 1.97.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: 71f3f93965e4a16bc1b8280a32ea04174809d37a46097fd1872782450141009d
4
- data.tar.gz: 2ff67d1fb41908654df8f8c7dff90dc03347210b2ed2ca7864179a333f5b751b
3
+ metadata.gz: 8f18dc06c69b3deef4a709fc1eb6d811ed1d39de57a725f68e24a15b5ff989a9
4
+ data.tar.gz: c636b642bbe68eac79509170b4b4e70367634e90d212f48e87547be962d66aff
5
5
  SHA512:
6
- metadata.gz: f04ad58f9f6b16577fe1ca713a1bf38e658eb66261e7ecb9536aba3d6171f99ffd01cc79dd49e67683c6746f6030a8ed708abd580d6190c195fbe40b81a9e6ad
7
- data.tar.gz: a58f7bc8ea39415dd211d0785853a6e197e587d2cedd3ebc42d985a4a22d13f6c0688bcfd789a00d9cb95a81c58a774a33387e921417121ba75350de4a66e5ca
6
+ metadata.gz: ade91017393d9592ab229bc67c259a2a8ec55b6f6317004f9f05c30c3d0964d1dab18c1d84736c65adcd20d70ffe091d4dc8093c911876e7fb01c6d8154cf11b
7
+ data.tar.gz: a131c1804bdaeaf833d825d59c95841561d42dd9687cdb94d57116acc5f0bccfe7375f8b233b26942cbf3a8e92842e05fcdd63b971a2e5f349ba387336ac04fb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.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.96.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.97.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::GuardDuty
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::GuardDuty::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::GuardDuty
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:
@@ -4976,14 +4988,19 @@ module Aws::GuardDuty
4976
4988
  # @api private
4977
4989
  def build_request(operation_name, params = {})
4978
4990
  handlers = @handlers.for(operation_name)
4991
+ tracer = config.telemetry_provider.tracer_provider.tracer(
4992
+ Aws::Telemetry.module_to_tracer_name('Aws::GuardDuty')
4993
+ )
4979
4994
  context = Seahorse::Client::RequestContext.new(
4980
4995
  operation_name: operation_name,
4981
4996
  operation: config.api.operation(operation_name),
4982
4997
  client: self,
4983
4998
  params: params,
4984
- config: config)
4999
+ config: config,
5000
+ tracer: tracer
5001
+ )
4985
5002
  context[:gem_name] = 'aws-sdk-guardduty'
4986
- context[:gem_version] = '1.96.0'
5003
+ context[:gem_version] = '1.97.0'
4987
5004
  Seahorse::Client::Request.new(handlers, context)
4988
5005
  end
4989
5006
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-guardduty/customizations'
52
52
  # @!group service
53
53
  module Aws::GuardDuty
54
54
 
55
- GEM_VERSION = '1.96.0'
55
+ GEM_VERSION = '1.97.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-guardduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.96.0
4
+ version: 1.97.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