aws-sdk-s3 1.159.0 → 1.160.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-s3/client.rb +19 -2
- data/lib/aws-sdk-s3.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: 626b7f94bf87dd8ee9f00eea6d41f99e94f36960c1b22a6de4e3c22033a23e73
|
4
|
+
data.tar.gz: 6a1dd3a39ca55926608b7ee234a764370063e66dfc308392b47f8b8cbe5ed693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90976c3b85af292542c4a17a2102ae02b89796aa14f9282f8a0959c81071155a7790b9587ea5ab69d19db4a431103387764caa395d2f1e390213797d677cfdd2
|
7
|
+
data.tar.gz: 2205aed27fc2ffbdf8f279459102fd36c5d91fcbdb9b2e661877707d408c8cb8c0cc7a9766b41c10d7594f88434d0ab24dda6e0658968e460f2f722cdf9501c2
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.160.0
|
data/lib/aws-sdk-s3/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/rest_xml.rb'
|
37
38
|
require 'aws-sdk-s3/plugins/accelerate.rb'
|
@@ -104,6 +105,7 @@ module Aws::S3
|
|
104
105
|
add_plugin(Aws::Plugins::RequestCompression)
|
105
106
|
add_plugin(Aws::Plugins::DefaultsMode)
|
106
107
|
add_plugin(Aws::Plugins::RecursionDetection)
|
108
|
+
add_plugin(Aws::Plugins::Telemetry)
|
107
109
|
add_plugin(Aws::Plugins::Sign)
|
108
110
|
add_plugin(Aws::Plugins::Protocols::RestXml)
|
109
111
|
add_plugin(Aws::S3::Plugins::Accelerate)
|
@@ -432,6 +434,16 @@ module Aws::S3
|
|
432
434
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
433
435
|
# requests are made, and retries are disabled.
|
434
436
|
#
|
437
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
438
|
+
# Allows you to provide a telemetry provider, which is used to
|
439
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
440
|
+
# will not record or emit any telemetry data. The SDK supports the
|
441
|
+
# following telemetry providers:
|
442
|
+
#
|
443
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
444
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
445
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
446
|
+
#
|
435
447
|
# @option options [Aws::TokenProvider] :token_provider
|
436
448
|
# A Bearer Token Provider. This can be an instance of any one of the
|
437
449
|
# following classes:
|
@@ -19085,14 +19097,19 @@ module Aws::S3
|
|
19085
19097
|
# @api private
|
19086
19098
|
def build_request(operation_name, params = {})
|
19087
19099
|
handlers = @handlers.for(operation_name)
|
19100
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
19101
|
+
Aws::Telemetry.module_to_tracer_name('Aws::S3')
|
19102
|
+
)
|
19088
19103
|
context = Seahorse::Client::RequestContext.new(
|
19089
19104
|
operation_name: operation_name,
|
19090
19105
|
operation: config.api.operation(operation_name),
|
19091
19106
|
client: self,
|
19092
19107
|
params: params,
|
19093
|
-
config: config
|
19108
|
+
config: config,
|
19109
|
+
tracer: tracer
|
19110
|
+
)
|
19094
19111
|
context[:gem_name] = 'aws-sdk-s3'
|
19095
|
-
context[:gem_version] = '1.
|
19112
|
+
context[:gem_version] = '1.160.0'
|
19096
19113
|
Seahorse::Client::Request.new(handlers, context)
|
19097
19114
|
end
|
19098
19115
|
|
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -64,6 +64,7 @@ module Aws
|
|
64
64
|
?session_token: String,
|
65
65
|
?sigv4a_signing_region_set: Array[String],
|
66
66
|
?stub_responses: untyped,
|
67
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
67
68
|
?token_provider: untyped,
|
68
69
|
?use_accelerate_endpoint: bool,
|
69
70
|
?use_dualstack_endpoint: bool,
|
data/sig/resource.rbs
CHANGED
@@ -64,6 +64,7 @@ module Aws
|
|
64
64
|
?session_token: String,
|
65
65
|
?sigv4a_signing_region_set: Array[String],
|
66
66
|
?stub_responses: untyped,
|
67
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
67
68
|
?token_provider: untyped,
|
68
69
|
?use_accelerate_endpoint: bool,
|
69
70
|
?use_dualstack_endpoint: bool,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.160.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-kms
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.203.0
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: 3.203.0
|
61
61
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
62
62
|
This gem is part of the AWS SDK for Ruby.
|
63
63
|
email:
|