aws-sdk-machinelearning 1.57.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-machinelearning/client.rb +19 -2
- data/lib/aws-sdk-machinelearning.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3118a960a8c2c4f9d6d37bc37d5c6d75016b4d48d13beb22b06d1d542121b62a
|
4
|
+
data.tar.gz: 299a1ba6c250e1f950092d5a580cb1e9222f5358785e9d83e599523a3a03432f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cb31afa233025f048deb39d6eea80c0a236f402482efb22d6edb8aad2341f1139ad82f5fe3989e6c768de214e3c69dac7456e2d5d7861a0cf8828ffdaeb8381
|
7
|
+
data.tar.gz: '000847e17936b267725b1cad238832774dc391f8578078d10a983de2c46783ca76d4ea394358dbe83af7f43078c91253f5636e22442ac2e0e1599c0732eef4c2'
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.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
|
require 'aws-sdk-machinelearning/plugins/predict_endpoint.rb'
|
@@ -84,6 +85,7 @@ module Aws::MachineLearning
|
|
84
85
|
add_plugin(Aws::Plugins::RequestCompression)
|
85
86
|
add_plugin(Aws::Plugins::DefaultsMode)
|
86
87
|
add_plugin(Aws::Plugins::RecursionDetection)
|
88
|
+
add_plugin(Aws::Plugins::Telemetry)
|
87
89
|
add_plugin(Aws::Plugins::Sign)
|
88
90
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
89
91
|
add_plugin(Aws::MachineLearning::Plugins::PredictEndpoint)
|
@@ -339,6 +341,16 @@ module Aws::MachineLearning
|
|
339
341
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
340
342
|
# requests are made, and retries are disabled.
|
341
343
|
#
|
344
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
345
|
+
# Allows you to provide a telemetry provider, which is used to
|
346
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
347
|
+
# will not record or emit any telemetry data. The SDK supports the
|
348
|
+
# following telemetry providers:
|
349
|
+
#
|
350
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
351
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
352
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
353
|
+
#
|
342
354
|
# @option options [Aws::TokenProvider] :token_provider
|
343
355
|
# A Bearer Token Provider. This can be an instance of any one of the
|
344
356
|
# following classes:
|
@@ -2454,14 +2466,19 @@ module Aws::MachineLearning
|
|
2454
2466
|
# @api private
|
2455
2467
|
def build_request(operation_name, params = {})
|
2456
2468
|
handlers = @handlers.for(operation_name)
|
2469
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
2470
|
+
Aws::Telemetry.module_to_tracer_name('Aws::MachineLearning')
|
2471
|
+
)
|
2457
2472
|
context = Seahorse::Client::RequestContext.new(
|
2458
2473
|
operation_name: operation_name,
|
2459
2474
|
operation: config.api.operation(operation_name),
|
2460
2475
|
client: self,
|
2461
2476
|
params: params,
|
2462
|
-
config: config
|
2477
|
+
config: config,
|
2478
|
+
tracer: tracer
|
2479
|
+
)
|
2463
2480
|
context[:gem_name] = 'aws-sdk-machinelearning'
|
2464
|
-
context[:gem_version] = '1.
|
2481
|
+
context[:gem_version] = '1.58.0'
|
2465
2482
|
Seahorse::Client::Request.new(handlers, context)
|
2466
2483
|
end
|
2467
2484
|
|
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-machinelearning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.58.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-
|
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.
|
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.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|