aws-sdk-s3 1.151.0 → 1.156.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 +40 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +12 -12
- data/lib/aws-sdk-s3/bucket_acl.rb +3 -3
- data/lib/aws-sdk-s3/bucket_cors.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +4 -4
- data/lib/aws-sdk-s3/bucket_logging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
- data/lib/aws-sdk-s3/bucket_tagging.rb +4 -4
- data/lib/aws-sdk-s3/bucket_versioning.rb +5 -5
- data/lib/aws-sdk-s3/bucket_website.rb +4 -4
- data/lib/aws-sdk-s3/client.rb +123 -88
- data/lib/aws-sdk-s3/client_api.rb +10 -2
- data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
- data/lib/aws-sdk-s3/customizations/object.rb +5 -5
- data/lib/aws-sdk-s3/encryption/client.rb +2 -2
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/endpoint_parameters.rb +8 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +1 -0
- data/lib/aws-sdk-s3/endpoints.rb +100 -1
- data/lib/aws-sdk-s3/file_downloader.rb +1 -1
- data/lib/aws-sdk-s3/file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_upload.rb +4 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -3
- data/lib/aws-sdk-s3/object.rb +30 -12
- data/lib/aws-sdk-s3/object_acl.rb +3 -3
- data/lib/aws-sdk-s3/object_copier.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +10 -10
- data/lib/aws-sdk-s3/object_version.rb +23 -5
- data/lib/aws-sdk-s3/plugins/access_grants.rb +7 -1
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +7 -1
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +53 -16
- data/lib/aws-sdk-s3/resource.rb +2 -2
- data/lib/aws-sdk-s3/types.rb +48 -17
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +19 -0
- data/sig/object.rbs +6 -0
- data/sig/object_version.rbs +6 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +6 -0
- data/sig/waiters.rbs +12 -0
- metadata +6 -6
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -3299,7 +3299,7 @@ module Aws::S3
|
|
3299
3299
|
|
3300
3300
|
# @!attribute [rw] credentials
|
3301
3301
|
# The established temporary security credentials for the created
|
3302
|
-
# session
|
3302
|
+
# session.
|
3303
3303
|
# @return [Types::SessionCredentials]
|
3304
3304
|
#
|
3305
3305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateSessionOutput AWS API Documentation
|
@@ -8452,6 +8452,30 @@ module Aws::S3
|
|
8452
8452
|
# Not Satisfiable` error.
|
8453
8453
|
# @return [String]
|
8454
8454
|
#
|
8455
|
+
# @!attribute [rw] response_cache_control
|
8456
|
+
# Sets the `Cache-Control` header of the response.
|
8457
|
+
# @return [String]
|
8458
|
+
#
|
8459
|
+
# @!attribute [rw] response_content_disposition
|
8460
|
+
# Sets the `Content-Disposition` header of the response.
|
8461
|
+
# @return [String]
|
8462
|
+
#
|
8463
|
+
# @!attribute [rw] response_content_encoding
|
8464
|
+
# Sets the `Content-Encoding` header of the response.
|
8465
|
+
# @return [String]
|
8466
|
+
#
|
8467
|
+
# @!attribute [rw] response_content_language
|
8468
|
+
# Sets the `Content-Language` header of the response.
|
8469
|
+
# @return [String]
|
8470
|
+
#
|
8471
|
+
# @!attribute [rw] response_content_type
|
8472
|
+
# Sets the `Content-Type` header of the response.
|
8473
|
+
# @return [String]
|
8474
|
+
#
|
8475
|
+
# @!attribute [rw] response_expires
|
8476
|
+
# Sets the `Expires` header of the response.
|
8477
|
+
# @return [Time]
|
8478
|
+
#
|
8455
8479
|
# @!attribute [rw] version_id
|
8456
8480
|
# Version ID used to reference a specific version of the object.
|
8457
8481
|
#
|
@@ -8543,6 +8567,12 @@ module Aws::S3
|
|
8543
8567
|
:if_unmodified_since,
|
8544
8568
|
:key,
|
8545
8569
|
:range,
|
8570
|
+
:response_cache_control,
|
8571
|
+
:response_content_disposition,
|
8572
|
+
:response_content_encoding,
|
8573
|
+
:response_content_language,
|
8574
|
+
:response_content_type,
|
8575
|
+
:response_expires,
|
8546
8576
|
:version_id,
|
8547
8577
|
:sse_customer_algorithm,
|
8548
8578
|
:sse_customer_key,
|
@@ -8559,10 +8589,11 @@ module Aws::S3
|
|
8559
8589
|
#
|
8560
8590
|
# @!attribute [rw] suffix
|
8561
8591
|
# A suffix that is appended to a request that is for a directory on
|
8562
|
-
# the website endpoint (
|
8563
|
-
# you make a request to samplebucket/images
|
8564
|
-
# will be for the object with the key name
|
8565
|
-
# suffix must not be empty and must not
|
8592
|
+
# the website endpoint. (For example, if the suffix is `index.html`
|
8593
|
+
# and you make a request to `samplebucket/images/`, the data that is
|
8594
|
+
# returned will be for the object with the key name
|
8595
|
+
# `images/index.html`.) The suffix must not be empty and must not
|
8596
|
+
# include a slash character.
|
8566
8597
|
#
|
8567
8598
|
# Replacement must be made for object keys containing special
|
8568
8599
|
# characters (such as carriage returns) when using XML requests. For
|
@@ -10122,7 +10153,7 @@ module Aws::S3
|
|
10122
10153
|
# Encoding type used by Amazon S3 to encode object keys in the
|
10123
10154
|
# response. If using `url`, non-ASCII characters used in an object's
|
10124
10155
|
# key name will be URL encoded. For example, the object
|
10125
|
-
#
|
10156
|
+
# `test_file(3).png` will appear as `test_file%283%29.png`.
|
10126
10157
|
# @return [String]
|
10127
10158
|
#
|
10128
10159
|
# @!attribute [rw] request_charged
|
@@ -10478,7 +10509,7 @@ module Aws::S3
|
|
10478
10509
|
# Encoding type used by Amazon S3 to encode object keys in the
|
10479
10510
|
# response. If using `url`, non-ASCII characters used in an object's
|
10480
10511
|
# key name will be URL encoded. For example, the object
|
10481
|
-
#
|
10512
|
+
# `test_file(3).png` will appear as `test_file%283%29.png`.
|
10482
10513
|
# @return [String]
|
10483
10514
|
#
|
10484
10515
|
# @!attribute [rw] max_keys
|
@@ -11173,10 +11204,10 @@ module Aws::S3
|
|
11173
11204
|
# @return [Integer]
|
11174
11205
|
#
|
11175
11206
|
# @!attribute [rw] newer_noncurrent_versions
|
11176
|
-
# Specifies how many
|
11177
|
-
#
|
11178
|
-
#
|
11179
|
-
#
|
11207
|
+
# Specifies how many noncurrent versions Amazon S3 will retain. You
|
11208
|
+
# can specify up to 100 noncurrent versions to retain. Amazon S3 will
|
11209
|
+
# permanently delete any additional noncurrent versions beyond the
|
11210
|
+
# specified number to retain. For more information about noncurrent
|
11180
11211
|
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
11181
11212
|
# S3 User Guide*.
|
11182
11213
|
#
|
@@ -11220,12 +11251,12 @@ module Aws::S3
|
|
11220
11251
|
# @return [String]
|
11221
11252
|
#
|
11222
11253
|
# @!attribute [rw] newer_noncurrent_versions
|
11223
|
-
# Specifies how many
|
11224
|
-
#
|
11225
|
-
#
|
11226
|
-
#
|
11227
|
-
#
|
11228
|
-
# S3 User Guide*.
|
11254
|
+
# Specifies how many noncurrent versions Amazon S3 will retain in the
|
11255
|
+
# same storage class before transitioning objects. You can specify up
|
11256
|
+
# to 100 noncurrent versions to retain. Amazon S3 will transition any
|
11257
|
+
# additional noncurrent versions beyond the specified number to
|
11258
|
+
# retain. For more information about noncurrent versions, see
|
11259
|
+
# [Lifecycle configuration elements][1] in the *Amazon S3 User Guide*.
|
11229
11260
|
#
|
11230
11261
|
#
|
11231
11262
|
#
|
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -62,6 +62,7 @@ module Aws
|
|
62
62
|
?sdk_ua_app_id: String,
|
63
63
|
?secret_access_key: String,
|
64
64
|
?session_token: String,
|
65
|
+
?sigv4a_signing_region_set: Array[String],
|
65
66
|
?stub_responses: untyped,
|
66
67
|
?token_provider: untyped,
|
67
68
|
?use_accelerate_endpoint: bool,
|
@@ -963,6 +964,12 @@ module Aws
|
|
963
964
|
?if_unmodified_since: ::Time,
|
964
965
|
key: ::String,
|
965
966
|
?range: ::String,
|
967
|
+
?response_cache_control: ::String,
|
968
|
+
?response_content_disposition: ::String,
|
969
|
+
?response_content_encoding: ::String,
|
970
|
+
?response_content_language: ::String,
|
971
|
+
?response_content_type: ::String,
|
972
|
+
?response_expires: ::Time,
|
966
973
|
?version_id: ::String,
|
967
974
|
?sse_customer_algorithm: ::String,
|
968
975
|
?sse_customer_key: ::String,
|
@@ -2328,6 +2335,12 @@ module Aws
|
|
2328
2335
|
?if_unmodified_since: ::Time,
|
2329
2336
|
key: ::String,
|
2330
2337
|
?range: ::String,
|
2338
|
+
?response_cache_control: ::String,
|
2339
|
+
?response_content_disposition: ::String,
|
2340
|
+
?response_content_encoding: ::String,
|
2341
|
+
?response_content_language: ::String,
|
2342
|
+
?response_content_type: ::String,
|
2343
|
+
?response_expires: ::Time,
|
2331
2344
|
?version_id: ::String,
|
2332
2345
|
?sse_customer_algorithm: ::String,
|
2333
2346
|
?sse_customer_key: ::String,
|
@@ -2346,6 +2359,12 @@ module Aws
|
|
2346
2359
|
?if_unmodified_since: ::Time,
|
2347
2360
|
key: ::String,
|
2348
2361
|
?range: ::String,
|
2362
|
+
?response_cache_control: ::String,
|
2363
|
+
?response_content_disposition: ::String,
|
2364
|
+
?response_content_encoding: ::String,
|
2365
|
+
?response_content_language: ::String,
|
2366
|
+
?response_content_type: ::String,
|
2367
|
+
?response_expires: ::Time,
|
2349
2368
|
?version_id: ::String,
|
2350
2369
|
?sse_customer_algorithm: ::String,
|
2351
2370
|
?sse_customer_key: ::String,
|
data/sig/object.rbs
CHANGED
@@ -397,6 +397,12 @@ module Aws
|
|
397
397
|
?if_none_match: ::String,
|
398
398
|
?if_unmodified_since: ::Time,
|
399
399
|
?range: ::String,
|
400
|
+
?response_cache_control: ::String,
|
401
|
+
?response_content_disposition: ::String,
|
402
|
+
?response_content_encoding: ::String,
|
403
|
+
?response_content_language: ::String,
|
404
|
+
?response_content_type: ::String,
|
405
|
+
?response_expires: ::Time,
|
400
406
|
?version_id: ::String,
|
401
407
|
?sse_customer_algorithm: ::String,
|
402
408
|
?sse_customer_key: ::String,
|
data/sig/object_version.rbs
CHANGED
@@ -102,6 +102,12 @@ module Aws
|
|
102
102
|
?if_none_match: ::String,
|
103
103
|
?if_unmodified_since: ::Time,
|
104
104
|
?range: ::String,
|
105
|
+
?response_cache_control: ::String,
|
106
|
+
?response_content_disposition: ::String,
|
107
|
+
?response_content_encoding: ::String,
|
108
|
+
?response_content_language: ::String,
|
109
|
+
?response_content_type: ::String,
|
110
|
+
?response_expires: ::Time,
|
105
111
|
?sse_customer_algorithm: ::String,
|
106
112
|
?sse_customer_key: ::String,
|
107
113
|
?sse_customer_key_md5: ::String,
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -1132,6 +1132,12 @@ module Aws::S3
|
|
1132
1132
|
attr_accessor if_unmodified_since: ::Time
|
1133
1133
|
attr_accessor key: ::String
|
1134
1134
|
attr_accessor range: ::String
|
1135
|
+
attr_accessor response_cache_control: ::String
|
1136
|
+
attr_accessor response_content_disposition: ::String
|
1137
|
+
attr_accessor response_content_encoding: ::String
|
1138
|
+
attr_accessor response_content_language: ::String
|
1139
|
+
attr_accessor response_content_type: ::String
|
1140
|
+
attr_accessor response_expires: ::Time
|
1135
1141
|
attr_accessor version_id: ::String
|
1136
1142
|
attr_accessor sse_customer_algorithm: ::String
|
1137
1143
|
attr_accessor sse_customer_key: ::String
|
data/sig/waiters.rbs
CHANGED
@@ -43,6 +43,12 @@ module Aws
|
|
43
43
|
?if_unmodified_since: ::Time,
|
44
44
|
key: ::String,
|
45
45
|
?range: ::String,
|
46
|
+
?response_cache_control: ::String,
|
47
|
+
?response_content_disposition: ::String,
|
48
|
+
?response_content_encoding: ::String,
|
49
|
+
?response_content_language: ::String,
|
50
|
+
?response_content_type: ::String,
|
51
|
+
?response_expires: ::Time,
|
46
52
|
?version_id: ::String,
|
47
53
|
?sse_customer_algorithm: ::String,
|
48
54
|
?sse_customer_key: ::String,
|
@@ -67,6 +73,12 @@ module Aws
|
|
67
73
|
?if_unmodified_since: ::Time,
|
68
74
|
key: ::String,
|
69
75
|
?range: ::String,
|
76
|
+
?response_cache_control: ::String,
|
77
|
+
?response_content_disposition: ::String,
|
78
|
+
?response_content_encoding: ::String,
|
79
|
+
?response_content_language: ::String,
|
80
|
+
?response_content_type: ::String,
|
81
|
+
?response_expires: ::Time,
|
70
82
|
?version_id: ::String,
|
71
83
|
?sse_customer_algorithm: ::String,
|
72
84
|
?sse_customer_key: ::String,
|
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.156.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-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: aws-sdk-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.201.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.201.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:
|