aws-sdk-ec2 1.471.0 → 1.472.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-ec2/client.rb +19 -2
- data/lib/aws-sdk-ec2.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: eeeaf732b3aef45ddeb0f7c62b2c33d89e165211c7a469cd4de28725a321736b
|
4
|
+
data.tar.gz: 0bc57432234b612f582d870726d7d24be6ad17f3d1809232a6778298a9aea264
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d2579a3e928c9ca2052cee8b1bac4c146ab3da44a621be54e50dba1fa2b8ef7d6ed011504f3eaefdda0213e17551b35d7aa5e481941aa3ff070422037675f54
|
7
|
+
data.tar.gz: f07c7ddc5da6ca6868c4f2c6dcbfb8c10775588034bd6ae63d971506bdb0b09ee0bd8d8a8b26b9655db7c4f9ef2772ef9932d8ee658bc1a5c32ea8e1e11203ac
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.472.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -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/ec2.rb'
|
37
38
|
require 'aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb'
|
@@ -85,6 +86,7 @@ module Aws::EC2
|
|
85
86
|
add_plugin(Aws::Plugins::RequestCompression)
|
86
87
|
add_plugin(Aws::Plugins::DefaultsMode)
|
87
88
|
add_plugin(Aws::Plugins::RecursionDetection)
|
89
|
+
add_plugin(Aws::Plugins::Telemetry)
|
88
90
|
add_plugin(Aws::Plugins::Sign)
|
89
91
|
add_plugin(Aws::Plugins::Protocols::EC2)
|
90
92
|
add_plugin(Aws::EC2::Plugins::CopyEncryptedSnapshot)
|
@@ -334,6 +336,16 @@ module Aws::EC2
|
|
334
336
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
335
337
|
# requests are made, and retries are disabled.
|
336
338
|
#
|
339
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
340
|
+
# Allows you to provide a telemetry provider, which is used to
|
341
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
342
|
+
# will not record or emit any telemetry data. The SDK supports the
|
343
|
+
# following telemetry providers:
|
344
|
+
#
|
345
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
346
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
347
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
348
|
+
#
|
337
349
|
# @option options [Aws::TokenProvider] :token_provider
|
338
350
|
# A Bearer Token Provider. This can be an instance of any one of the
|
339
351
|
# following classes:
|
@@ -60102,14 +60114,19 @@ module Aws::EC2
|
|
60102
60114
|
# @api private
|
60103
60115
|
def build_request(operation_name, params = {})
|
60104
60116
|
handlers = @handlers.for(operation_name)
|
60117
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
60118
|
+
Aws::Telemetry.module_to_tracer_name('Aws::EC2')
|
60119
|
+
)
|
60105
60120
|
context = Seahorse::Client::RequestContext.new(
|
60106
60121
|
operation_name: operation_name,
|
60107
60122
|
operation: config.api.operation(operation_name),
|
60108
60123
|
client: self,
|
60109
60124
|
params: params,
|
60110
|
-
config: config
|
60125
|
+
config: config,
|
60126
|
+
tracer: tracer
|
60127
|
+
)
|
60111
60128
|
context[:gem_name] = 'aws-sdk-ec2'
|
60112
|
-
context[:gem_version] = '1.
|
60129
|
+
context[:gem_version] = '1.472.0'
|
60113
60130
|
Seahorse::Client::Request.new(handlers, context)
|
60114
60131
|
end
|
60115
60132
|
|
data/lib/aws-sdk-ec2.rb
CHANGED
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-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.472.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
|