aws-sdk-s3 1.170.0 → 1.173.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +14 -0
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +5 -0
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +20 -0
- data/lib/aws-sdk-s3/client.rb +471 -290
- data/lib/aws-sdk-s3/client_api.rb +30 -0
- data/lib/aws-sdk-s3/errors.rb +44 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +12 -0
- data/lib/aws-sdk-s3/object.rb +54 -0
- data/lib/aws-sdk-s3/object_summary.rb +54 -0
- data/lib/aws-sdk-s3/object_version.rb +43 -0
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
- data/lib/aws-sdk-s3/types.rb +254 -91
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +5 -1
- data/sig/client.rbs +12 -3
- data/sig/errors.rbs +8 -0
- data/sig/multipart_upload.rbs +2 -1
- data/sig/object.rbs +5 -1
- data/sig/object_summary.rbs +5 -1
- data/sig/object_version.rbs +4 -1
- data/sig/types.rbs +21 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc1d1e6f211667a5d43efca71499d376d431a071ac8da1c40541cd62714fedca
|
4
|
+
data.tar.gz: 2c2f348879b9c7528079daa05202884cb53c6b318a1a67d00346edf339b3e307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4685a39edd262e847985899a2d5c45f6029b5ab58d5719b54b8d76d018e3ec30843a6518dd5861f651030646f45599743b605fadc44304711d704586cdfeffb
|
7
|
+
data.tar.gz: 1cb52f420a2c97cfb7910e2caf71608270d40283e28bf3b86d40e9ba6ac48bd695e7f1b98bc3eca072e42eb30e6fdab86d0332690cbb896d7669d1e08fe90154
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.173.0 (2024-11-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API.
|
8
|
+
|
9
|
+
1.172.0 (2024-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.171.0 (2024-11-14)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release updates the ListBuckets API Reference documentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas.
|
18
|
+
|
19
|
+
1.170.1 (2024-11-11)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Issue - Tighten regex used to check for S3 200 errors.
|
23
|
+
|
4
24
|
1.170.0 (2024-11-06)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.173.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -381,6 +381,9 @@ module Aws::S3
|
|
381
381
|
# {
|
382
382
|
# key: "ObjectKey", # required
|
383
383
|
# version_id: "ObjectVersionId",
|
384
|
+
# etag: "ETag",
|
385
|
+
# last_modified_time: Time.now,
|
386
|
+
# size: 1,
|
384
387
|
# },
|
385
388
|
# ],
|
386
389
|
# quiet: false,
|
@@ -511,6 +514,7 @@ module Aws::S3
|
|
511
514
|
# grant_read_acp: "GrantReadACP",
|
512
515
|
# grant_write_acp: "GrantWriteACP",
|
513
516
|
# key: "ObjectKey", # required
|
517
|
+
# write_offset_bytes: 1,
|
514
518
|
# metadata: {
|
515
519
|
# "MetadataKey" => "MetadataValue",
|
516
520
|
# },
|
@@ -782,6 +786,16 @@ module Aws::S3
|
|
782
786
|
# </note>
|
783
787
|
# @option options [required, String] :key
|
784
788
|
# Object key for which the PUT action was initiated.
|
789
|
+
# @option options [Integer] :write_offset_bytes
|
790
|
+
# Specifies the offset for appending data to existing objects in bytes.
|
791
|
+
# The offset must be equal to the size of the existing object being
|
792
|
+
# appended to. If no object exists, setting this header to 0 will create
|
793
|
+
# a new object.
|
794
|
+
#
|
795
|
+
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
796
|
+
# Express One Zone storage class in directory buckets.
|
797
|
+
#
|
798
|
+
# </note>
|
785
799
|
# @option options [Hash<String,String>] :metadata
|
786
800
|
# A map of metadata to store with the object in S3.
|
787
801
|
# @option options [String] :server_side_encryption
|
@@ -188,6 +188,11 @@ module Aws::S3
|
|
188
188
|
# The account ID of the expected bucket owner. If the account ID that
|
189
189
|
# you provide does not match the actual owner of the bucket, the request
|
190
190
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
191
|
+
#
|
192
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
193
|
+
# supported for directory bucket lifecycle configurations.
|
194
|
+
#
|
195
|
+
# </note>
|
191
196
|
# @return [EmptyStructure]
|
192
197
|
def delete(options = {})
|
193
198
|
options = options.merge(bucket: @bucket_name)
|
@@ -43,6 +43,11 @@ module Aws::S3
|
|
43
43
|
# Indicates which default minimum object size behavior is applied to the
|
44
44
|
# lifecycle configuration.
|
45
45
|
#
|
46
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
47
|
+
# supported for directory bucket lifecycle configurations.
|
48
|
+
#
|
49
|
+
# </note>
|
50
|
+
#
|
46
51
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
47
52
|
# transition to any storage class by default.
|
48
53
|
#
|
@@ -208,6 +213,11 @@ module Aws::S3
|
|
208
213
|
# The account ID of the expected bucket owner. If the account ID that
|
209
214
|
# you provide does not match the actual owner of the bucket, the request
|
210
215
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
216
|
+
#
|
217
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
218
|
+
# supported for directory bucket lifecycle configurations.
|
219
|
+
#
|
220
|
+
# </note>
|
211
221
|
# @return [EmptyStructure]
|
212
222
|
def delete(options = {})
|
213
223
|
options = options.merge(bucket: @bucket_name)
|
@@ -301,10 +311,20 @@ module Aws::S3
|
|
301
311
|
# The account ID of the expected bucket owner. If the account ID that
|
302
312
|
# you provide does not match the actual owner of the bucket, the request
|
303
313
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
314
|
+
#
|
315
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
316
|
+
# supported for directory bucket lifecycle configurations.
|
317
|
+
#
|
318
|
+
# </note>
|
304
319
|
# @option options [String] :transition_default_minimum_object_size
|
305
320
|
# Indicates which default minimum object size behavior is applied to the
|
306
321
|
# lifecycle configuration.
|
307
322
|
#
|
323
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
324
|
+
# supported for directory bucket lifecycle configurations.
|
325
|
+
#
|
326
|
+
# </note>
|
327
|
+
#
|
308
328
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
309
329
|
# transition to any storage class by default.
|
310
330
|
#
|