aws-sdk-s3 1.171.0 → 1.173.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 +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 +466 -306
- 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/types.rb +246 -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
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
@@ -80,7 +80,10 @@ module Aws
|
|
80
80
|
objects: Array[
|
81
81
|
{
|
82
82
|
key: ::String,
|
83
|
-
version_id: ::String
|
83
|
+
version_id: ::String?,
|
84
|
+
etag: ::String?,
|
85
|
+
last_modified_time: ::Time?,
|
86
|
+
size: ::Integer?
|
84
87
|
},
|
85
88
|
],
|
86
89
|
quiet: bool?
|
@@ -116,6 +119,7 @@ module Aws
|
|
116
119
|
?grant_read_acp: ::String,
|
117
120
|
?grant_write_acp: ::String,
|
118
121
|
key: ::String,
|
122
|
+
?write_offset_bytes: ::Integer,
|
119
123
|
?metadata: Hash[::String, ::String],
|
120
124
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
121
125
|
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
data/sig/client.rbs
CHANGED
@@ -100,7 +100,8 @@ module Aws
|
|
100
100
|
key: ::String,
|
101
101
|
upload_id: ::String,
|
102
102
|
?request_payer: ("requester"),
|
103
|
-
?expected_bucket_owner: ::String
|
103
|
+
?expected_bucket_owner: ::String,
|
104
|
+
?if_match_initiated_time: ::Time
|
104
105
|
) -> _AbortMultipartUploadResponseSuccess
|
105
106
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AbortMultipartUploadResponseSuccess
|
106
107
|
|
@@ -418,7 +419,10 @@ module Aws
|
|
418
419
|
?version_id: ::String,
|
419
420
|
?request_payer: ("requester"),
|
420
421
|
?bypass_governance_retention: bool,
|
421
|
-
?expected_bucket_owner: ::String
|
422
|
+
?expected_bucket_owner: ::String,
|
423
|
+
?if_match: ::String,
|
424
|
+
?if_match_last_modified_time: ::Time,
|
425
|
+
?if_match_size: ::Integer
|
422
426
|
) -> _DeleteObjectResponseSuccess
|
423
427
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
|
424
428
|
|
@@ -448,7 +452,10 @@ module Aws
|
|
448
452
|
objects: Array[
|
449
453
|
{
|
450
454
|
key: ::String,
|
451
|
-
version_id: ::String
|
455
|
+
version_id: ::String?,
|
456
|
+
etag: ::String?,
|
457
|
+
last_modified_time: ::Time?,
|
458
|
+
size: ::Integer?
|
452
459
|
},
|
453
460
|
],
|
454
461
|
quiet: bool?
|
@@ -1886,6 +1893,7 @@ module Aws
|
|
1886
1893
|
def ssekms_key_id: () -> ::String
|
1887
1894
|
def ssekms_encryption_context: () -> ::String
|
1888
1895
|
def bucket_key_enabled: () -> bool
|
1896
|
+
def size: () -> ::Integer
|
1889
1897
|
def request_charged: () -> ("requester")
|
1890
1898
|
end
|
1891
1899
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
|
@@ -1912,6 +1920,7 @@ module Aws
|
|
1912
1920
|
?grant_read_acp: ::String,
|
1913
1921
|
?grant_write_acp: ::String,
|
1914
1922
|
key: ::String,
|
1923
|
+
?write_offset_bytes: ::Integer,
|
1915
1924
|
?metadata: Hash[::String, ::String],
|
1916
1925
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
1917
1926
|
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
data/sig/errors.rbs
CHANGED
@@ -15,10 +15,16 @@ module Aws
|
|
15
15
|
end
|
16
16
|
class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
|
17
17
|
end
|
18
|
+
class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
|
19
|
+
end
|
18
20
|
class InvalidObjectState < ::Aws::Errors::ServiceError
|
19
21
|
def storage_class: () -> ::String
|
20
22
|
def access_tier: () -> ::String
|
21
23
|
end
|
24
|
+
class InvalidRequest < ::Aws::Errors::ServiceError
|
25
|
+
end
|
26
|
+
class InvalidWriteOffset < ::Aws::Errors::ServiceError
|
27
|
+
end
|
22
28
|
class NoSuchBucket < ::Aws::Errors::ServiceError
|
23
29
|
end
|
24
30
|
class NoSuchKey < ::Aws::Errors::ServiceError
|
@@ -29,6 +35,8 @@ module Aws
|
|
29
35
|
end
|
30
36
|
class ObjectNotInActiveTierError < ::Aws::Errors::ServiceError
|
31
37
|
end
|
38
|
+
class TooManyParts < ::Aws::Errors::ServiceError
|
39
|
+
end
|
32
40
|
end
|
33
41
|
end
|
34
42
|
end
|
data/sig/multipart_upload.rbs
CHANGED
@@ -57,7 +57,8 @@ module Aws
|
|
57
57
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#abort-instance_method
|
58
58
|
def abort: (
|
59
59
|
?request_payer: ("requester"),
|
60
|
-
?expected_bucket_owner: ::String
|
60
|
+
?expected_bucket_owner: ::String,
|
61
|
+
?if_match_initiated_time: ::Time
|
61
62
|
) -> Types::AbortMultipartUploadOutput
|
62
63
|
| (?Hash[Symbol, untyped]) -> Types::AbortMultipartUploadOutput
|
63
64
|
|
data/sig/object.rbs
CHANGED
@@ -199,7 +199,10 @@ module Aws
|
|
199
199
|
?version_id: ::String,
|
200
200
|
?request_payer: ("requester"),
|
201
201
|
?bypass_governance_retention: bool,
|
202
|
-
?expected_bucket_owner: ::String
|
202
|
+
?expected_bucket_owner: ::String,
|
203
|
+
?if_match: ::String,
|
204
|
+
?if_match_last_modified_time: ::Time,
|
205
|
+
?if_match_size: ::Integer
|
203
206
|
) -> Types::DeleteObjectOutput
|
204
207
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
205
208
|
|
@@ -282,6 +285,7 @@ module Aws
|
|
282
285
|
?grant_read: ::String,
|
283
286
|
?grant_read_acp: ::String,
|
284
287
|
?grant_write_acp: ::String,
|
288
|
+
?write_offset_bytes: ::Integer,
|
285
289
|
?metadata: Hash[::String, ::String],
|
286
290
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
287
291
|
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
data/sig/object_summary.rbs
CHANGED
@@ -112,7 +112,10 @@ module Aws
|
|
112
112
|
?version_id: ::String,
|
113
113
|
?request_payer: ("requester"),
|
114
114
|
?bypass_governance_retention: bool,
|
115
|
-
?expected_bucket_owner: ::String
|
115
|
+
?expected_bucket_owner: ::String,
|
116
|
+
?if_match: ::String,
|
117
|
+
?if_match_last_modified_time: ::Time,
|
118
|
+
?if_match_size: ::Integer
|
116
119
|
) -> Types::DeleteObjectOutput
|
117
120
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
118
121
|
|
@@ -195,6 +198,7 @@ module Aws
|
|
195
198
|
?grant_read: ::String,
|
196
199
|
?grant_read_acp: ::String,
|
197
200
|
?grant_write_acp: ::String,
|
201
|
+
?write_offset_bytes: ::Integer,
|
198
202
|
?metadata: Hash[::String, ::String],
|
199
203
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
200
204
|
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
data/sig/object_version.rbs
CHANGED
@@ -68,7 +68,10 @@ module Aws
|
|
68
68
|
?mfa: ::String,
|
69
69
|
?request_payer: ("requester"),
|
70
70
|
?bypass_governance_retention: bool,
|
71
|
-
?expected_bucket_owner: ::String
|
71
|
+
?expected_bucket_owner: ::String,
|
72
|
+
?if_match: ::String,
|
73
|
+
?if_match_last_modified_time: ::Time,
|
74
|
+
?if_match_size: ::Integer
|
72
75
|
) -> Types::DeleteObjectOutput
|
73
76
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
74
77
|
|
data/sig/types.rbs
CHANGED
@@ -24,6 +24,7 @@ module Aws::S3
|
|
24
24
|
attr_accessor upload_id: ::String
|
25
25
|
attr_accessor request_payer: ("requester")
|
26
26
|
attr_accessor expected_bucket_owner: ::String
|
27
|
+
attr_accessor if_match_initiated_time: ::Time
|
27
28
|
SENSITIVE: []
|
28
29
|
end
|
29
30
|
|
@@ -523,6 +524,9 @@ module Aws::S3
|
|
523
524
|
attr_accessor request_payer: ("requester")
|
524
525
|
attr_accessor bypass_governance_retention: bool
|
525
526
|
attr_accessor expected_bucket_owner: ::String
|
527
|
+
attr_accessor if_match: ::String
|
528
|
+
attr_accessor if_match_last_modified_time: ::Time
|
529
|
+
attr_accessor if_match_size: ::Integer
|
526
530
|
SENSITIVE: []
|
527
531
|
end
|
528
532
|
|
@@ -594,6 +598,9 @@ module Aws::S3
|
|
594
598
|
SENSITIVE: []
|
595
599
|
end
|
596
600
|
|
601
|
+
class EncryptionTypeMismatch < Aws::EmptyStructure
|
602
|
+
end
|
603
|
+
|
597
604
|
class EndEvent
|
598
605
|
attr_accessor event_type: untyped
|
599
606
|
SENSITIVE: []
|
@@ -1206,6 +1213,12 @@ module Aws::S3
|
|
1206
1213
|
SENSITIVE: []
|
1207
1214
|
end
|
1208
1215
|
|
1216
|
+
class InvalidRequest < Aws::EmptyStructure
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
class InvalidWriteOffset < Aws::EmptyStructure
|
1220
|
+
end
|
1221
|
+
|
1209
1222
|
class InventoryConfiguration
|
1210
1223
|
attr_accessor destination: Types::InventoryDestination
|
1211
1224
|
attr_accessor is_enabled: bool
|
@@ -1667,6 +1680,9 @@ module Aws::S3
|
|
1667
1680
|
class ObjectIdentifier
|
1668
1681
|
attr_accessor key: ::String
|
1669
1682
|
attr_accessor version_id: ::String
|
1683
|
+
attr_accessor etag: ::String
|
1684
|
+
attr_accessor last_modified_time: ::Time
|
1685
|
+
attr_accessor size: ::Integer
|
1670
1686
|
SENSITIVE: []
|
1671
1687
|
end
|
1672
1688
|
|
@@ -2048,6 +2064,7 @@ module Aws::S3
|
|
2048
2064
|
attr_accessor ssekms_key_id: ::String
|
2049
2065
|
attr_accessor ssekms_encryption_context: ::String
|
2050
2066
|
attr_accessor bucket_key_enabled: bool
|
2067
|
+
attr_accessor size: ::Integer
|
2051
2068
|
attr_accessor request_charged: ("requester")
|
2052
2069
|
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
2053
2070
|
end
|
@@ -2075,6 +2092,7 @@ module Aws::S3
|
|
2075
2092
|
attr_accessor grant_read_acp: ::String
|
2076
2093
|
attr_accessor grant_write_acp: ::String
|
2077
2094
|
attr_accessor key: ::String
|
2095
|
+
attr_accessor write_offset_bytes: ::Integer
|
2078
2096
|
attr_accessor metadata: ::Hash[::String, ::String]
|
2079
2097
|
attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
|
2080
2098
|
attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
@@ -2437,6 +2455,9 @@ module Aws::S3
|
|
2437
2455
|
SENSITIVE: []
|
2438
2456
|
end
|
2439
2457
|
|
2458
|
+
class TooManyParts < Aws::EmptyStructure
|
2459
|
+
end
|
2460
|
+
|
2440
2461
|
class TopicConfiguration
|
2441
2462
|
attr_accessor id: ::String
|
2442
2463
|
attr_accessor topic_arn: ::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.173.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-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|