aws-sdk-inspector2 1.36.0 → 1.38.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: c9cc800fa3e38b55c0cdbafcdb9524f93ae2befdda7d063babf040ece4c664d4
4
- data.tar.gz: 60fbb864282db97445f9746cdd413825daad16412a1300dab1cbfe010dc960ca
3
+ metadata.gz: ba92f05fdb25e596bacc24750558eb62401999906c079c77c71b895f1e899545
4
+ data.tar.gz: 90d2dbac83bf1f280fbe220c3f4957eb0625b87eb6f723c2acc4ff17ce76f5dc
5
5
  SHA512:
6
- metadata.gz: 64dd75d8ad69addeaf7d1efaef6707d2eaea780e1d861be9ede3f3a30e6b66f287bd2b3413935c5ab6456d456d519f27083ebefe77ee3f74fe5f82bca9202f77
7
- data.tar.gz: 047cd90e621157527806d41446e3f784846f25b1bfd0e51a0bc9d3b57580a3dc74b20ead52f7fbeeda44cf95d3ab65a0a893662b0b0605e58e84772d518f0fc5
6
+ metadata.gz: 3246c24103cf68f3985abbe477c74319b4044e7aab09d3180c2a5a575a19fc9442089d3bde1877ffcfe8c5472da3a8eada0576c2a95eab646efc6e782355b2fa
7
+ data.tar.gz: 0d1bf09272d69cd0bd94bc98dda0b0009d75460f3048eb419141979467dc9839f274ce5b0473e90a3beafbd530e57491479c0604033bdb49ddb512d9658c5735
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2024-09-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.37.0 (2024-09-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.36.0 (2024-08-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.38.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::Inspector2
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::Inspector2::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::Inspector2
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:
@@ -413,6 +425,12 @@ module Aws::Inspector2
413
425
  # @option options [String] :ssl_ca_store
414
426
  # Sets the X509::Store to verify peer certificate.
415
427
  #
428
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
429
+ # Sets a client certificate when creating http connections.
430
+ #
431
+ # @option options [OpenSSL::PKey] :ssl_key
432
+ # Sets a client key when creating http connections.
433
+ #
416
434
  # @option options [Float] :ssl_timeout
417
435
  # Sets the SSL timeout in seconds
418
436
  #
@@ -5317,14 +5335,19 @@ module Aws::Inspector2
5317
5335
  # @api private
5318
5336
  def build_request(operation_name, params = {})
5319
5337
  handlers = @handlers.for(operation_name)
5338
+ tracer = config.telemetry_provider.tracer_provider.tracer(
5339
+ Aws::Telemetry.module_to_tracer_name('Aws::Inspector2')
5340
+ )
5320
5341
  context = Seahorse::Client::RequestContext.new(
5321
5342
  operation_name: operation_name,
5322
5343
  operation: config.api.operation(operation_name),
5323
5344
  client: self,
5324
5345
  params: params,
5325
- config: config)
5346
+ config: config,
5347
+ tracer: tracer
5348
+ )
5326
5349
  context[:gem_name] = 'aws-sdk-inspector2'
5327
- context[:gem_version] = '1.36.0'
5350
+ context[:gem_version] = '1.38.0'
5328
5351
  Seahorse::Client::Request.new(handlers, context)
5329
5352
  end
5330
5353
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-inspector2/customizations'
52
52
  # @!group service
53
53
  module Aws::Inspector2
54
54
 
55
- GEM_VERSION = '1.36.0'
55
+ GEM_VERSION = '1.38.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-inspector2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.38.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-22 00:00:00.000000000 Z
11
+ date: 2024-09-10 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