aws-sdk-lambda 1.127.0 → 1.128.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-lambda/client.rb +19 -2
- data/lib/aws-sdk-lambda.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: abbb65da8487e14ffd1fafb60692bf6091e0695e1837409659fdb95d744bc42d
|
4
|
+
data.tar.gz: 1636772432f0e820dad915336ef1657228d16a14b90ffae23a6b6c28cbcd3774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ccdf22f5b60416518524eabc7eae406328b0390e9629454330bbe390bf0ba2934ff928430dd3b19a405a74895a6f8f1aaa3fd81753ea85a1a8d493ba43b0afe
|
7
|
+
data.tar.gz: 40522bc43852f370c74414425a67e0c6743fd3aea925689dfd0bad1017b8f281af13c909b5152190a67bdde0bc4f7bcecaa675187ba3f364273289ad345ce18d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.128.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
|
require 'aws-sdk-core/plugins/event_stream_configuration.rb'
|
@@ -84,6 +85,7 @@ module Aws::Lambda
|
|
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::RestJson)
|
89
91
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
@@ -341,6 +343,16 @@ module Aws::Lambda
|
|
341
343
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
342
344
|
# requests are made, and retries are disabled.
|
343
345
|
#
|
346
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
347
|
+
# Allows you to provide a telemetry provider, which is used to
|
348
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
349
|
+
# will not record or emit any telemetry data. The SDK supports the
|
350
|
+
# following telemetry providers:
|
351
|
+
#
|
352
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
353
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
354
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
355
|
+
#
|
344
356
|
# @option options [Aws::TokenProvider] :token_provider
|
345
357
|
# A Bearer Token Provider. This can be an instance of any one of the
|
346
358
|
# following classes:
|
@@ -6725,14 +6737,19 @@ module Aws::Lambda
|
|
6725
6737
|
# @api private
|
6726
6738
|
def build_request(operation_name, params = {})
|
6727
6739
|
handlers = @handlers.for(operation_name)
|
6740
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
6741
|
+
Aws::Telemetry.module_to_tracer_name('Aws::Lambda')
|
6742
|
+
)
|
6728
6743
|
context = Seahorse::Client::RequestContext.new(
|
6729
6744
|
operation_name: operation_name,
|
6730
6745
|
operation: config.api.operation(operation_name),
|
6731
6746
|
client: self,
|
6732
6747
|
params: params,
|
6733
|
-
config: config
|
6748
|
+
config: config,
|
6749
|
+
tracer: tracer
|
6750
|
+
)
|
6734
6751
|
context[:gem_name] = 'aws-sdk-lambda'
|
6735
|
-
context[:gem_version] = '1.
|
6752
|
+
context[:gem_version] = '1.128.0'
|
6736
6753
|
Seahorse::Client::Request.new(handlers, context)
|
6737
6754
|
end
|
6738
6755
|
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -53,6 +53,7 @@ module Aws
|
|
53
53
|
?session_token: String,
|
54
54
|
?sigv4a_signing_region_set: Array[String],
|
55
55
|
?stub_responses: untyped,
|
56
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
56
57
|
?token_provider: untyped,
|
57
58
|
?use_dualstack_endpoint: bool,
|
58
59
|
?use_fips_endpoint: bool,
|
data/sig/resource.rbs
CHANGED
@@ -53,6 +53,7 @@ module Aws
|
|
53
53
|
?session_token: String,
|
54
54
|
?sigv4a_signing_region_set: Array[String],
|
55
55
|
?stub_responses: untyped,
|
56
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
56
57
|
?token_provider: untyped,
|
57
58
|
?use_dualstack_endpoint: bool,
|
58
59
|
?use_fips_endpoint: bool,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.128.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
|