aws-sdk-s3 1.163.0 → 1.165.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +3 -0
- data/lib/aws-sdk-s3/client.rb +11 -5
- data/lib/aws-sdk-s3/client_api.rb +1 -0
- data/lib/aws-sdk-s3/customizations/object.rb +6 -0
- data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
- data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
- data/lib/aws-sdk-s3/customizations.rb +24 -38
- data/lib/aws-sdk-s3/errors.rb +3 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +3 -0
- data/lib/aws-sdk-s3/object.rb +3 -0
- data/lib/aws-sdk-s3/object_summary.rb +3 -0
- data/lib/aws-sdk-s3/object_version.rb +3 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +13 -7
- data/lib/aws-sdk-s3/types.rb +3 -0
- data/lib/aws-sdk-s3.rb +34 -32
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0aa9fbde11eac941f8acb2ca195e3e7953a6b1d1d110b40fb5e4d540e6d0da6
|
4
|
+
data.tar.gz: e14828589702041491555c856609ca27a4d18eb0d966d20c9f7324c79a54ec4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6e1453eb1fb1f093e1bbd38454f05b9504bd540c545f54ea807e9fd42ef4ab3229936c32377bfc9e3b8724adf1acff2b1e794947580b735d755e894efac6c92
|
7
|
+
data.tar.gz: e9f9299b01f7c16d3fbff508582ba68be10d0f613f41d945b9462ac83507e6d305f2fe0e04608ea52d7d22bae80ec4ef2333ee28344fe17676b3acd5ad4ac94d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.165.0 (2024-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.164.0 (2024-09-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.163.0 (2024-09-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.165.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -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`,
|
176
|
-
#
|
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::
|
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
|
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.
|
19817
|
+
context[:gem_version] = '1.165.0'
|
19812
19818
|
Seahorse::Client::Request.new(handlers, context)
|
19813
19819
|
end
|
19814
19820
|
|
@@ -80,6 +80,11 @@ module Aws
|
|
80
80
|
object.download_file(destination, options)
|
81
81
|
end
|
82
82
|
|
83
|
+
class Collection < Aws::Resources::Collection
|
84
|
+
alias_method :delete, :batch_delete!
|
85
|
+
extend Aws::Deprecations
|
86
|
+
deprecated :delete, use: :batch_delete!
|
87
|
+
end
|
83
88
|
end
|
84
89
|
end
|
85
90
|
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
module S3
|
5
|
+
class ObjectVersion
|
6
|
+
class Collection < Aws::Resources::Collection
|
7
|
+
alias_method :delete, :batch_delete!
|
8
|
+
extend Aws::Deprecations
|
9
|
+
deprecated :delete, use: :batch_delete!
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -1,44 +1,30 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
3
|
+
module Aws
|
4
|
+
module S3
|
5
|
+
# utility classes
|
6
|
+
autoload :BucketRegionCache, 'aws-sdk-s3/bucket_region_cache'
|
7
|
+
autoload :Encryption, 'aws-sdk-s3/encryption'
|
8
|
+
autoload :EncryptionV2, 'aws-sdk-s3/encryption_v2'
|
9
|
+
autoload :FilePart, 'aws-sdk-s3/file_part'
|
10
|
+
autoload :FileUploader, 'aws-sdk-s3/file_uploader'
|
11
|
+
autoload :FileDownloader, 'aws-sdk-s3/file_downloader'
|
12
|
+
autoload :LegacySigner, 'aws-sdk-s3/legacy_signer'
|
13
|
+
autoload :MultipartFileUploader, 'aws-sdk-s3/multipart_file_uploader'
|
14
|
+
autoload :MultipartStreamUploader, 'aws-sdk-s3/multipart_stream_uploader'
|
15
|
+
autoload :MultipartUploadError, 'aws-sdk-s3/multipart_upload_error'
|
16
|
+
autoload :ObjectCopier, 'aws-sdk-s3/object_copier'
|
17
|
+
autoload :ObjectMultipartCopier, 'aws-sdk-s3/object_multipart_copier'
|
18
|
+
autoload :PresignedPost, 'aws-sdk-s3/presigned_post'
|
19
|
+
autoload :Presigner, 'aws-sdk-s3/presigner'
|
18
20
|
|
19
|
-
# s3 express session auth
|
20
|
-
|
21
|
-
|
21
|
+
# s3 express session auth
|
22
|
+
autoload :ExpressCredentials, 'aws-sdk-s3/express_credentials'
|
23
|
+
autoload :ExpressCredentialsProvider, 'aws-sdk-s3/express_credentials_provider'
|
22
24
|
|
23
|
-
# s3 access grants auth
|
24
|
-
require 'aws-sdk-s3/access_grants_credentials'
|
25
|
-
require 'aws-sdk-s3/access_grants_credentials_provider'
|
25
|
+
# s3 access grants auth
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
require 'aws-sdk-s3/customizations/object'
|
31
|
-
require 'aws-sdk-s3/customizations/object_summary'
|
32
|
-
require 'aws-sdk-s3/customizations/multipart_upload'
|
33
|
-
require 'aws-sdk-s3/customizations/types/list_object_versions_output'
|
34
|
-
require 'aws-sdk-s3/customizations/types/permanent_redirect'
|
35
|
-
|
36
|
-
[
|
37
|
-
Aws::S3::Object::Collection,
|
38
|
-
Aws::S3::ObjectSummary::Collection,
|
39
|
-
Aws::S3::ObjectVersion::Collection,
|
40
|
-
].each do |klass|
|
41
|
-
klass.send(:alias_method, :delete, :batch_delete!)
|
42
|
-
klass.extend Aws::Deprecations
|
43
|
-
klass.send(:deprecated, :delete, use: :batch_delete!)
|
27
|
+
autoload :AccessGrantsCredentials, 'aws-sdk-s3/access_grants_credentials'
|
28
|
+
autoload :AccessGrantsCredentialsProvider, 'aws-sdk-s3/access_grants_credentials_provider'
|
29
|
+
end
|
44
30
|
end
|
data/lib/aws-sdk-s3/errors.rb
CHANGED
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -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:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
|
30
|
-
|
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/types.rb
CHANGED
@@ -18108,3 +18108,6 @@ module Aws::S3
|
|
18108
18108
|
|
18109
18109
|
end
|
18110
18110
|
end
|
18111
|
+
|
18112
|
+
require "aws-sdk-s3/customizations/types/list_object_versions_output"
|
18113
|
+
require "aws-sdk-s3/customizations/types/permanent_redirect"
|
data/lib/aws-sdk-s3.rb
CHANGED
@@ -12,37 +12,6 @@ require 'aws-sdk-kms'
|
|
12
12
|
require 'aws-sigv4'
|
13
13
|
require 'aws-sdk-core'
|
14
14
|
|
15
|
-
require_relative 'aws-sdk-s3/types'
|
16
|
-
require_relative 'aws-sdk-s3/client_api'
|
17
|
-
require_relative 'aws-sdk-s3/plugins/endpoints.rb'
|
18
|
-
require_relative 'aws-sdk-s3/client'
|
19
|
-
require_relative 'aws-sdk-s3/errors'
|
20
|
-
require_relative 'aws-sdk-s3/waiters'
|
21
|
-
require_relative 'aws-sdk-s3/resource'
|
22
|
-
require_relative 'aws-sdk-s3/endpoint_parameters'
|
23
|
-
require_relative 'aws-sdk-s3/endpoint_provider'
|
24
|
-
require_relative 'aws-sdk-s3/endpoints'
|
25
|
-
require_relative 'aws-sdk-s3/bucket'
|
26
|
-
require_relative 'aws-sdk-s3/bucket_acl'
|
27
|
-
require_relative 'aws-sdk-s3/bucket_cors'
|
28
|
-
require_relative 'aws-sdk-s3/bucket_lifecycle'
|
29
|
-
require_relative 'aws-sdk-s3/bucket_lifecycle_configuration'
|
30
|
-
require_relative 'aws-sdk-s3/bucket_logging'
|
31
|
-
require_relative 'aws-sdk-s3/bucket_notification'
|
32
|
-
require_relative 'aws-sdk-s3/bucket_policy'
|
33
|
-
require_relative 'aws-sdk-s3/bucket_request_payment'
|
34
|
-
require_relative 'aws-sdk-s3/bucket_tagging'
|
35
|
-
require_relative 'aws-sdk-s3/bucket_versioning'
|
36
|
-
require_relative 'aws-sdk-s3/bucket_website'
|
37
|
-
require_relative 'aws-sdk-s3/multipart_upload'
|
38
|
-
require_relative 'aws-sdk-s3/multipart_upload_part'
|
39
|
-
require_relative 'aws-sdk-s3/object'
|
40
|
-
require_relative 'aws-sdk-s3/object_acl'
|
41
|
-
require_relative 'aws-sdk-s3/object_summary'
|
42
|
-
require_relative 'aws-sdk-s3/object_version'
|
43
|
-
require_relative 'aws-sdk-s3/customizations'
|
44
|
-
require_relative 'aws-sdk-s3/event_streams'
|
45
|
-
|
46
15
|
# This module provides support for Amazon Simple Storage Service. This module is available in the
|
47
16
|
# `aws-sdk-s3` gem.
|
48
17
|
#
|
@@ -72,7 +41,40 @@ require_relative 'aws-sdk-s3/event_streams'
|
|
72
41
|
#
|
73
42
|
# @!group service
|
74
43
|
module Aws::S3
|
44
|
+
autoload :Types, 'aws-sdk-s3/types'
|
45
|
+
autoload :ClientApi, 'aws-sdk-s3/client_api'
|
46
|
+
module Plugins
|
47
|
+
autoload :Endpoints, 'aws-sdk-s3/plugins/endpoints.rb'
|
48
|
+
end
|
49
|
+
autoload :Client, 'aws-sdk-s3/client'
|
50
|
+
autoload :Errors, 'aws-sdk-s3/errors'
|
51
|
+
autoload :Waiters, 'aws-sdk-s3/waiters'
|
52
|
+
autoload :Resource, 'aws-sdk-s3/resource'
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-s3/endpoint_parameters'
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-s3/endpoint_provider'
|
55
|
+
autoload :Endpoints, 'aws-sdk-s3/endpoints'
|
56
|
+
autoload :Bucket, 'aws-sdk-s3/bucket'
|
57
|
+
autoload :BucketAcl, 'aws-sdk-s3/bucket_acl'
|
58
|
+
autoload :BucketCors, 'aws-sdk-s3/bucket_cors'
|
59
|
+
autoload :BucketLifecycle, 'aws-sdk-s3/bucket_lifecycle'
|
60
|
+
autoload :BucketLifecycleConfiguration, 'aws-sdk-s3/bucket_lifecycle_configuration'
|
61
|
+
autoload :BucketLogging, 'aws-sdk-s3/bucket_logging'
|
62
|
+
autoload :BucketNotification, 'aws-sdk-s3/bucket_notification'
|
63
|
+
autoload :BucketPolicy, 'aws-sdk-s3/bucket_policy'
|
64
|
+
autoload :BucketRequestPayment, 'aws-sdk-s3/bucket_request_payment'
|
65
|
+
autoload :BucketTagging, 'aws-sdk-s3/bucket_tagging'
|
66
|
+
autoload :BucketVersioning, 'aws-sdk-s3/bucket_versioning'
|
67
|
+
autoload :BucketWebsite, 'aws-sdk-s3/bucket_website'
|
68
|
+
autoload :MultipartUpload, 'aws-sdk-s3/multipart_upload'
|
69
|
+
autoload :MultipartUploadPart, 'aws-sdk-s3/multipart_upload_part'
|
70
|
+
autoload :Object, 'aws-sdk-s3/object'
|
71
|
+
autoload :ObjectAcl, 'aws-sdk-s3/object_acl'
|
72
|
+
autoload :ObjectSummary, 'aws-sdk-s3/object_summary'
|
73
|
+
autoload :ObjectVersion, 'aws-sdk-s3/object_version'
|
74
|
+
autoload :EventStreams, 'aws-sdk-s3/event_streams'
|
75
75
|
|
76
|
-
GEM_VERSION = '1.
|
76
|
+
GEM_VERSION = '1.165.0'
|
77
77
|
|
78
78
|
end
|
79
|
+
|
80
|
+
require_relative 'aws-sdk-s3/customizations'
|
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
CHANGED
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.165.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-
|
11
|
+
date: 2024-09-23 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.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.
|
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:
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- lib/aws-sdk-s3/customizations/multipart_upload.rb
|
94
94
|
- lib/aws-sdk-s3/customizations/object.rb
|
95
95
|
- lib/aws-sdk-s3/customizations/object_summary.rb
|
96
|
+
- lib/aws-sdk-s3/customizations/object_version.rb
|
96
97
|
- lib/aws-sdk-s3/customizations/types/list_object_versions_output.rb
|
97
98
|
- lib/aws-sdk-s3/customizations/types/permanent_redirect.rb
|
98
99
|
- lib/aws-sdk-s3/encryption.rb
|