aws-sdk-s3 1.163.0 → 1.164.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: afd4c360870e136ada49d27ff23a992d83e10cf8086d49fa60e4109a83befc49
4
- data.tar.gz: 74b212aa39f93b6233b2aaa1dfcd647339745c8ad5e54fa26ee341040c27bc22
3
+ metadata.gz: 77e74c647825ee4355ba239d028a4882f80d0387a0b6e321e8e2495051ac8185
4
+ data.tar.gz: 764c5e816f3280f7482a59bc8000c69a420eba1d1c10600132a4ed92e7ed0e80
5
5
  SHA512:
6
- metadata.gz: 86ea94d75b351388571d07466ea49d5243f70a31c7688d18047acb746ede2d81703ba5225a58eb221430304de7bb483ca70e6d31eaa89feb3b1b4a12e830cbb6
7
- data.tar.gz: 1aca70a5ee0e958587aa59e255ef5a2ddbce7e61f466fca44ae482d8703965d0ec30b46e6f58f76c9c97b2590f86a25d34e7aed4c81a59191442461b8641c39b
6
+ metadata.gz: 70e1f3e58c4c5a54e6b19ccdcb4bf040885fb4355e91b3c81abb6d558c7c42ac567b1c0ae18abf946dab7bb0f2b65018232d0f160cd3eb797998972d6b9e310c
7
+ data.tar.gz: f32acdc4b3304f6fc0290fb0f33bbec25ce7e432441490c802152b414691d216a33ecf08eb671a68f52ac6a87cd26822aeaf0f20da5edc0caf873eaaad91c350
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.164.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.163.0 (2024-09-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.163.0
1
+ 1.164.0
@@ -172,13 +172,15 @@ module Aws::S3
172
172
  # locations will be searched for credentials:
173
173
  #
174
174
  # * `Aws.config[:credentials]`
175
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
176
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
175
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
176
+ # `:account_id` options.
177
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
178
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
177
179
  # * `~/.aws/credentials`
178
180
  # * `~/.aws/config`
179
181
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
180
182
  # are very aggressive. Construct and pass an instance of
181
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
183
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
182
184
  # enable retries and extended timeouts. Instance profile credential
183
185
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
184
186
  # to true.
@@ -207,6 +209,8 @@ module Aws::S3
207
209
  #
208
210
  # @option options [String] :access_key_id
209
211
  #
212
+ # @option options [String] :account_id
213
+ #
210
214
  # @option options [Boolean] :active_endpoint_cache (false)
211
215
  # When set to `true`, a thread polling for endpoints will be running in
212
216
  # the background every 60 secs (default). Defaults to `false`.
@@ -476,7 +480,9 @@ module Aws::S3
476
480
  # sending the request.
477
481
  #
478
482
  # @option options [Aws::S3::EndpointProvider] :endpoint_provider
479
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::S3::EndpointParameters`
483
+ # The endpoint provider used to resolve endpoints. Any object that responds to
484
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
485
+ # `Aws::S3::EndpointParameters`.
480
486
  #
481
487
  # @option options [Float] :http_continue_timeout (1)
482
488
  # The number of seconds to wait for a 100-continue response before sending the
@@ -19808,7 +19814,7 @@ module Aws::S3
19808
19814
  tracer: tracer
19809
19815
  )
19810
19816
  context[:gem_name] = 'aws-sdk-s3'
19811
- context[:gem_version] = '1.163.0'
19817
+ context[:gem_version] = '1.164.0'
19812
19818
  Seahorse::Client::Request.new(handlers, context)
19813
19819
  end
19814
19820
 
@@ -15,19 +15,22 @@ module Aws::S3
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::S3::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::S3::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::S3::EndpointParameters`.
22
+ DOCS
23
23
  Aws::S3::EndpointProvider.new
24
24
  end
25
25
 
26
26
  option(
27
27
  :disable_s3_express_session_auth,
28
28
  doc_type: 'Boolean',
29
- default: nil,
30
- docstring: "Parameter to indicate whether S3Express session auth should be disabled")
29
+ docstring: <<~DOCS) do |cfg|
30
+ Parameter to indicate whether S3Express session auth should be disabled
31
+ DOCS
32
+ nil
33
+ end
31
34
 
32
35
  # @api private
33
36
  class Handler < Seahorse::Client::Handler
@@ -57,6 +60,9 @@ module Aws::S3
57
60
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
58
61
  metrics << 'SIGV4A_SIGNING'
59
62
  end
63
+ if context.config.credentials&.credentials&.account_id
64
+ metrics << 'RESOLVED_ACCOUNT_ID'
65
+ end
60
66
  Aws::Plugins::UserAgent.metric(*metrics, &block)
61
67
  end
62
68
 
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.163.0'
76
+ GEM_VERSION = '1.164.0'
77
77
 
78
78
  end
data/sig/client.rbs CHANGED
@@ -17,6 +17,7 @@ module Aws
17
17
  ?access_grants: bool,
18
18
  ?access_grants_credentials_provider: untyped,
19
19
  ?access_key_id: String,
20
+ ?account_id: String,
20
21
  ?active_endpoint_cache: bool,
21
22
  ?adaptive_retry_wait_to_fill: bool,
22
23
  ?client_side_monitoring: bool,
data/sig/resource.rbs CHANGED
@@ -17,6 +17,7 @@ module Aws
17
17
  ?access_grants: bool,
18
18
  ?access_grants_credentials_provider: untyped,
19
19
  ?access_key_id: String,
20
+ ?account_id: String,
20
21
  ?active_endpoint_cache: bool,
21
22
  ?adaptive_retry_wait_to_fill: bool,
22
23
  ?client_side_monitoring: 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.163.0
4
+ version: 1.164.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-09-18 00:00:00.000000000 Z
11
+ date: 2024-09-20 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.205.0
50
+ version: 3.207.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.205.0
60
+ version: 3.207.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: