aws-sdk-s3 1.167.0 → 1.176.1
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 +55 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +72 -17
- 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 +1577 -947
- data/lib/aws-sdk-s3/client_api.rb +131 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/endpoints.rb +445 -1403
- data/lib/aws-sdk-s3/errors.rb +44 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +33 -0
- data/lib/aws-sdk-s3/object.rb +142 -43
- data/lib/aws-sdk-s3/object_summary.rb +139 -42
- data/lib/aws-sdk-s3/object_version.rb +43 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -204
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
- data/lib/aws-sdk-s3/presigner.rb +1 -0
- data/lib/aws-sdk-s3/resource.rb +34 -9
- data/lib/aws-sdk-s3/types.rb +903 -257
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +11 -3
- data/sig/client.rbs +54 -7
- data/sig/errors.rbs +8 -0
- data/sig/multipart_upload.rbs +3 -1
- data/sig/object.rbs +6 -1
- data/sig/object_summary.rbs +6 -1
- data/sig/object_version.rbs +4 -1
- data/sig/resource.rbs +4 -2
- data/sig/types.rbs +93 -3
- metadata +4 -4
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
@@ -20,6 +20,9 @@ module Aws
|
|
20
20
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#creation_date-instance_method
|
21
21
|
def creation_date: () -> ::Time
|
22
22
|
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
|
24
|
+
def bucket_region: () -> ::String
|
25
|
+
|
23
26
|
def client: () -> Client
|
24
27
|
|
25
28
|
|
@@ -47,11 +50,11 @@ module Aws
|
|
47
50
|
?create_bucket_configuration: {
|
48
51
|
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
49
52
|
location: {
|
50
|
-
type: ("AvailabilityZone")?,
|
53
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
51
54
|
name: ::String?
|
52
55
|
}?,
|
53
56
|
bucket: {
|
54
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
57
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
55
58
|
type: ("Directory")?
|
56
59
|
}?
|
57
60
|
},
|
@@ -77,7 +80,10 @@ module Aws
|
|
77
80
|
objects: Array[
|
78
81
|
{
|
79
82
|
key: ::String,
|
80
|
-
version_id: ::String
|
83
|
+
version_id: ::String?,
|
84
|
+
etag: ::String?,
|
85
|
+
last_modified_time: ::Time?,
|
86
|
+
size: ::Integer?
|
81
87
|
},
|
82
88
|
],
|
83
89
|
quiet: bool?
|
@@ -107,12 +113,14 @@ module Aws
|
|
107
113
|
?checksum_sha1: ::String,
|
108
114
|
?checksum_sha256: ::String,
|
109
115
|
?expires: ::Time,
|
116
|
+
?if_match: ::String,
|
110
117
|
?if_none_match: ::String,
|
111
118
|
?grant_full_control: ::String,
|
112
119
|
?grant_read: ::String,
|
113
120
|
?grant_read_acp: ::String,
|
114
121
|
?grant_write_acp: ::String,
|
115
122
|
key: ::String,
|
123
|
+
?write_offset_bytes: ::Integer,
|
116
124
|
?metadata: Hash[::String, ::String],
|
117
125
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
118
126
|
?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
|
|
@@ -144,6 +145,7 @@ module Aws
|
|
144
145
|
?checksum_sha256: ::String,
|
145
146
|
?request_payer: ("requester"),
|
146
147
|
?expected_bucket_owner: ::String,
|
148
|
+
?if_match: ::String,
|
147
149
|
?if_none_match: ::String,
|
148
150
|
?sse_customer_algorithm: ::String,
|
149
151
|
?sse_customer_key: ::String,
|
@@ -222,11 +224,11 @@ module Aws
|
|
222
224
|
?create_bucket_configuration: {
|
223
225
|
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
224
226
|
location: {
|
225
|
-
type: ("AvailabilityZone")?,
|
227
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
226
228
|
name: ::String?
|
227
229
|
}?,
|
228
230
|
bucket: {
|
229
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
231
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
230
232
|
type: ("Directory")?
|
231
233
|
}?
|
232
234
|
},
|
@@ -240,6 +242,21 @@ module Aws
|
|
240
242
|
) -> _CreateBucketResponseSuccess
|
241
243
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
|
242
244
|
|
245
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
|
246
|
+
def create_bucket_metadata_table_configuration: (
|
247
|
+
bucket: ::String,
|
248
|
+
?content_md5: ::String,
|
249
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
250
|
+
metadata_table_configuration: {
|
251
|
+
s3_tables_destination: {
|
252
|
+
table_bucket_arn: ::String,
|
253
|
+
table_name: ::String
|
254
|
+
}
|
255
|
+
},
|
256
|
+
?expected_bucket_owner: ::String
|
257
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
259
|
+
|
243
260
|
interface _CreateMultipartUploadResponseSuccess
|
244
261
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultipartUploadOutput]
|
245
262
|
def abort_date: () -> ::Time
|
@@ -361,6 +378,13 @@ module Aws
|
|
361
378
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
362
379
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
363
380
|
|
381
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
|
382
|
+
def delete_bucket_metadata_table_configuration: (
|
383
|
+
bucket: ::String,
|
384
|
+
?expected_bucket_owner: ::String
|
385
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
386
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
387
|
+
|
364
388
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metrics_configuration-instance_method
|
365
389
|
def delete_bucket_metrics_configuration: (
|
366
390
|
bucket: ::String,
|
@@ -418,7 +442,10 @@ module Aws
|
|
418
442
|
?version_id: ::String,
|
419
443
|
?request_payer: ("requester"),
|
420
444
|
?bypass_governance_retention: bool,
|
421
|
-
?expected_bucket_owner: ::String
|
445
|
+
?expected_bucket_owner: ::String,
|
446
|
+
?if_match: ::String,
|
447
|
+
?if_match_last_modified_time: ::Time,
|
448
|
+
?if_match_size: ::Integer
|
422
449
|
) -> _DeleteObjectResponseSuccess
|
423
450
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
|
424
451
|
|
@@ -448,7 +475,10 @@ module Aws
|
|
448
475
|
objects: Array[
|
449
476
|
{
|
450
477
|
key: ::String,
|
451
|
-
version_id: ::String
|
478
|
+
version_id: ::String?,
|
479
|
+
etag: ::String?,
|
480
|
+
last_modified_time: ::Time?,
|
481
|
+
size: ::Integer?
|
452
482
|
},
|
453
483
|
],
|
454
484
|
quiet: bool?
|
@@ -595,6 +625,17 @@ module Aws
|
|
595
625
|
) -> _GetBucketLoggingResponseSuccess
|
596
626
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
|
597
627
|
|
628
|
+
interface _GetBucketMetadataTableConfigurationResponseSuccess
|
629
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
|
630
|
+
def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
|
631
|
+
end
|
632
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_table_configuration-instance_method
|
633
|
+
def get_bucket_metadata_table_configuration: (
|
634
|
+
bucket: ::String,
|
635
|
+
?expected_bucket_owner: ::String
|
636
|
+
) -> _GetBucketMetadataTableConfigurationResponseSuccess
|
637
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataTableConfigurationResponseSuccess
|
638
|
+
|
598
639
|
interface _GetBucketMetricsConfigurationResponseSuccess
|
599
640
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
|
600
641
|
def metrics_configuration: () -> Types::MetricsConfiguration
|
@@ -917,7 +958,7 @@ module Aws
|
|
917
958
|
|
918
959
|
interface _HeadBucketResponseSuccess
|
919
960
|
include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
|
920
|
-
def bucket_location_type: () -> ("AvailabilityZone")
|
961
|
+
def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
|
921
962
|
def bucket_location_name: () -> ::String
|
922
963
|
def bucket_region: () -> ::String
|
923
964
|
def access_point_alias: () -> bool
|
@@ -1057,11 +1098,14 @@ module Aws
|
|
1057
1098
|
def buckets: () -> ::Array[Types::Bucket]
|
1058
1099
|
def owner: () -> Types::Owner
|
1059
1100
|
def continuation_token: () -> ::String
|
1101
|
+
def prefix: () -> ::String
|
1060
1102
|
end
|
1061
1103
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_buckets-instance_method
|
1062
1104
|
def list_buckets: (
|
1063
1105
|
?max_buckets: ::Integer,
|
1064
|
-
?continuation_token: ::String
|
1106
|
+
?continuation_token: ::String,
|
1107
|
+
?prefix: ::String,
|
1108
|
+
?bucket_region: ::String
|
1065
1109
|
) -> _ListBucketsResponseSuccess
|
1066
1110
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketsResponseSuccess
|
1067
1111
|
|
@@ -1883,6 +1927,7 @@ module Aws
|
|
1883
1927
|
def ssekms_key_id: () -> ::String
|
1884
1928
|
def ssekms_encryption_context: () -> ::String
|
1885
1929
|
def bucket_key_enabled: () -> bool
|
1930
|
+
def size: () -> ::Integer
|
1886
1931
|
def request_charged: () -> ("requester")
|
1887
1932
|
end
|
1888
1933
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
|
@@ -1903,12 +1948,14 @@ module Aws
|
|
1903
1948
|
?checksum_sha1: ::String,
|
1904
1949
|
?checksum_sha256: ::String,
|
1905
1950
|
?expires: ::Time,
|
1951
|
+
?if_match: ::String,
|
1906
1952
|
?if_none_match: ::String,
|
1907
1953
|
?grant_full_control: ::String,
|
1908
1954
|
?grant_read: ::String,
|
1909
1955
|
?grant_read_acp: ::String,
|
1910
1956
|
?grant_write_acp: ::String,
|
1911
1957
|
key: ::String,
|
1958
|
+
?write_offset_bytes: ::Integer,
|
1912
1959
|
?metadata: Hash[::String, ::String],
|
1913
1960
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
1914
1961
|
?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
|
|
@@ -81,6 +82,7 @@ module Aws
|
|
81
82
|
?checksum_sha256: ::String,
|
82
83
|
?request_payer: ("requester"),
|
83
84
|
?expected_bucket_owner: ::String,
|
85
|
+
?if_match: ::String,
|
84
86
|
?if_none_match: ::String,
|
85
87
|
?sse_customer_algorithm: ::String,
|
86
88
|
?sse_customer_key: ::String,
|
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
|
|
@@ -277,11 +280,13 @@ module Aws
|
|
277
280
|
?checksum_sha1: ::String,
|
278
281
|
?checksum_sha256: ::String,
|
279
282
|
?expires: ::Time,
|
283
|
+
?if_match: ::String,
|
280
284
|
?if_none_match: ::String,
|
281
285
|
?grant_full_control: ::String,
|
282
286
|
?grant_read: ::String,
|
283
287
|
?grant_read_acp: ::String,
|
284
288
|
?grant_write_acp: ::String,
|
289
|
+
?write_offset_bytes: ::Integer,
|
285
290
|
?metadata: Hash[::String, ::String],
|
286
291
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
287
292
|
?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
|
|
@@ -190,11 +193,13 @@ module Aws
|
|
190
193
|
?checksum_sha1: ::String,
|
191
194
|
?checksum_sha256: ::String,
|
192
195
|
?expires: ::Time,
|
196
|
+
?if_match: ::String,
|
193
197
|
?if_none_match: ::String,
|
194
198
|
?grant_full_control: ::String,
|
195
199
|
?grant_read: ::String,
|
196
200
|
?grant_read_acp: ::String,
|
197
201
|
?grant_write_acp: ::String,
|
202
|
+
?write_offset_bytes: ::Integer,
|
198
203
|
?metadata: Hash[::String, ::String],
|
199
204
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
200
205
|
?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/resource.rbs
CHANGED
@@ -99,11 +99,11 @@ module Aws
|
|
99
99
|
?create_bucket_configuration: {
|
100
100
|
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
101
101
|
location: {
|
102
|
-
type: ("AvailabilityZone")?,
|
102
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
103
103
|
name: ::String?
|
104
104
|
}?,
|
105
105
|
bucket: {
|
106
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
106
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
107
107
|
type: ("Directory")?
|
108
108
|
}?
|
109
109
|
},
|
@@ -123,6 +123,8 @@ module Aws
|
|
123
123
|
|
124
124
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Resource.html#buckets-instance_method
|
125
125
|
def buckets: (
|
126
|
+
?prefix: ::String,
|
127
|
+
?bucket_region: ::String
|
126
128
|
) -> Bucket::Collection
|
127
129
|
| (?Hash[Symbol, untyped]) -> Bucket::Collection
|
128
130
|
end
|
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
|
|
@@ -79,6 +80,7 @@ module Aws::S3
|
|
79
80
|
class Bucket
|
80
81
|
attr_accessor name: ::String
|
81
82
|
attr_accessor creation_date: ::Time
|
83
|
+
attr_accessor bucket_region: ::String
|
82
84
|
SENSITIVE: []
|
83
85
|
end
|
84
86
|
|
@@ -89,7 +91,7 @@ module Aws::S3
|
|
89
91
|
end
|
90
92
|
|
91
93
|
class BucketInfo
|
92
|
-
attr_accessor data_redundancy: ("SingleAvailabilityZone")
|
94
|
+
attr_accessor data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")
|
93
95
|
attr_accessor type: ("Directory")
|
94
96
|
SENSITIVE: []
|
95
97
|
end
|
@@ -190,6 +192,7 @@ module Aws::S3
|
|
190
192
|
attr_accessor checksum_sha256: ::String
|
191
193
|
attr_accessor request_payer: ("requester")
|
192
194
|
attr_accessor expected_bucket_owner: ::String
|
195
|
+
attr_accessor if_match: ::String
|
193
196
|
attr_accessor if_none_match: ::String
|
194
197
|
attr_accessor sse_customer_algorithm: ::String
|
195
198
|
attr_accessor sse_customer_key: ::String
|
@@ -310,6 +313,15 @@ module Aws::S3
|
|
310
313
|
SENSITIVE: []
|
311
314
|
end
|
312
315
|
|
316
|
+
class CreateBucketMetadataTableConfigurationRequest
|
317
|
+
attr_accessor bucket: ::String
|
318
|
+
attr_accessor content_md5: ::String
|
319
|
+
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
320
|
+
attr_accessor metadata_table_configuration: Types::MetadataTableConfiguration
|
321
|
+
attr_accessor expected_bucket_owner: ::String
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
313
325
|
class CreateBucketOutput
|
314
326
|
attr_accessor location: ::String
|
315
327
|
SENSITIVE: []
|
@@ -450,6 +462,12 @@ module Aws::S3
|
|
450
462
|
SENSITIVE: []
|
451
463
|
end
|
452
464
|
|
465
|
+
class DeleteBucketMetadataTableConfigurationRequest
|
466
|
+
attr_accessor bucket: ::String
|
467
|
+
attr_accessor expected_bucket_owner: ::String
|
468
|
+
SENSITIVE: []
|
469
|
+
end
|
470
|
+
|
453
471
|
class DeleteBucketMetricsConfigurationRequest
|
454
472
|
attr_accessor bucket: ::String
|
455
473
|
attr_accessor id: ::String
|
@@ -522,6 +540,9 @@ module Aws::S3
|
|
522
540
|
attr_accessor request_payer: ("requester")
|
523
541
|
attr_accessor bypass_governance_retention: bool
|
524
542
|
attr_accessor expected_bucket_owner: ::String
|
543
|
+
attr_accessor if_match: ::String
|
544
|
+
attr_accessor if_match_last_modified_time: ::Time
|
545
|
+
attr_accessor if_match_size: ::Integer
|
525
546
|
SENSITIVE: []
|
526
547
|
end
|
527
548
|
|
@@ -593,6 +614,9 @@ module Aws::S3
|
|
593
614
|
SENSITIVE: []
|
594
615
|
end
|
595
616
|
|
617
|
+
class EncryptionTypeMismatch < Aws::EmptyStructure
|
618
|
+
end
|
619
|
+
|
596
620
|
class EndEvent
|
597
621
|
attr_accessor event_type: untyped
|
598
622
|
SENSITIVE: []
|
@@ -606,6 +630,12 @@ module Aws::S3
|
|
606
630
|
SENSITIVE: []
|
607
631
|
end
|
608
632
|
|
633
|
+
class ErrorDetails
|
634
|
+
attr_accessor error_code: ::String
|
635
|
+
attr_accessor error_message: ::String
|
636
|
+
SENSITIVE: []
|
637
|
+
end
|
638
|
+
|
609
639
|
class ErrorDocument
|
610
640
|
attr_accessor key: ::String
|
611
641
|
SENSITIVE: []
|
@@ -752,6 +782,24 @@ module Aws::S3
|
|
752
782
|
SENSITIVE: []
|
753
783
|
end
|
754
784
|
|
785
|
+
class GetBucketMetadataTableConfigurationOutput
|
786
|
+
attr_accessor get_bucket_metadata_table_configuration_result: Types::GetBucketMetadataTableConfigurationResult
|
787
|
+
SENSITIVE: []
|
788
|
+
end
|
789
|
+
|
790
|
+
class GetBucketMetadataTableConfigurationRequest
|
791
|
+
attr_accessor bucket: ::String
|
792
|
+
attr_accessor expected_bucket_owner: ::String
|
793
|
+
SENSITIVE: []
|
794
|
+
end
|
795
|
+
|
796
|
+
class GetBucketMetadataTableConfigurationResult
|
797
|
+
attr_accessor metadata_table_configuration_result: Types::MetadataTableConfigurationResult
|
798
|
+
attr_accessor status: ::String
|
799
|
+
attr_accessor error: Types::ErrorDetails
|
800
|
+
SENSITIVE: []
|
801
|
+
end
|
802
|
+
|
755
803
|
class GetBucketMetricsConfigurationOutput
|
756
804
|
attr_accessor metrics_configuration: Types::MetricsConfiguration
|
757
805
|
SENSITIVE: []
|
@@ -1082,7 +1130,7 @@ module Aws::S3
|
|
1082
1130
|
end
|
1083
1131
|
|
1084
1132
|
class HeadBucketOutput
|
1085
|
-
attr_accessor bucket_location_type: ("AvailabilityZone")
|
1133
|
+
attr_accessor bucket_location_type: ("AvailabilityZone" | "LocalZone")
|
1086
1134
|
attr_accessor bucket_location_name: ::String
|
1087
1135
|
attr_accessor bucket_region: ::String
|
1088
1136
|
attr_accessor access_point_alias: bool
|
@@ -1205,6 +1253,12 @@ module Aws::S3
|
|
1205
1253
|
SENSITIVE: []
|
1206
1254
|
end
|
1207
1255
|
|
1256
|
+
class InvalidRequest < Aws::EmptyStructure
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
class InvalidWriteOffset < Aws::EmptyStructure
|
1260
|
+
end
|
1261
|
+
|
1208
1262
|
class InventoryConfiguration
|
1209
1263
|
attr_accessor destination: Types::InventoryDestination
|
1210
1264
|
attr_accessor is_enabled: bool
|
@@ -1369,12 +1423,15 @@ module Aws::S3
|
|
1369
1423
|
attr_accessor buckets: ::Array[Types::Bucket]
|
1370
1424
|
attr_accessor owner: Types::Owner
|
1371
1425
|
attr_accessor continuation_token: ::String
|
1426
|
+
attr_accessor prefix: ::String
|
1372
1427
|
SENSITIVE: []
|
1373
1428
|
end
|
1374
1429
|
|
1375
1430
|
class ListBucketsRequest
|
1376
1431
|
attr_accessor max_buckets: ::Integer
|
1377
1432
|
attr_accessor continuation_token: ::String
|
1433
|
+
attr_accessor prefix: ::String
|
1434
|
+
attr_accessor bucket_region: ::String
|
1378
1435
|
SENSITIVE: []
|
1379
1436
|
end
|
1380
1437
|
|
@@ -1546,7 +1603,7 @@ module Aws::S3
|
|
1546
1603
|
end
|
1547
1604
|
|
1548
1605
|
class LocationInfo
|
1549
|
-
attr_accessor type: ("AvailabilityZone")
|
1606
|
+
attr_accessor type: ("AvailabilityZone" | "LocalZone")
|
1550
1607
|
attr_accessor name: ::String
|
1551
1608
|
SENSITIVE: []
|
1552
1609
|
end
|
@@ -1565,6 +1622,16 @@ module Aws::S3
|
|
1565
1622
|
SENSITIVE: []
|
1566
1623
|
end
|
1567
1624
|
|
1625
|
+
class MetadataTableConfiguration
|
1626
|
+
attr_accessor s3_tables_destination: Types::S3TablesDestination
|
1627
|
+
SENSITIVE: []
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
class MetadataTableConfigurationResult
|
1631
|
+
attr_accessor s3_tables_destination_result: Types::S3TablesDestinationResult
|
1632
|
+
SENSITIVE: []
|
1633
|
+
end
|
1634
|
+
|
1568
1635
|
class Metrics
|
1569
1636
|
attr_accessor status: ("Enabled" | "Disabled")
|
1570
1637
|
attr_accessor event_threshold: Types::ReplicationTimeValue
|
@@ -1663,6 +1730,9 @@ module Aws::S3
|
|
1663
1730
|
class ObjectIdentifier
|
1664
1731
|
attr_accessor key: ::String
|
1665
1732
|
attr_accessor version_id: ::String
|
1733
|
+
attr_accessor etag: ::String
|
1734
|
+
attr_accessor last_modified_time: ::Time
|
1735
|
+
attr_accessor size: ::Integer
|
1666
1736
|
SENSITIVE: []
|
1667
1737
|
end
|
1668
1738
|
|
@@ -2044,6 +2114,7 @@ module Aws::S3
|
|
2044
2114
|
attr_accessor ssekms_key_id: ::String
|
2045
2115
|
attr_accessor ssekms_encryption_context: ::String
|
2046
2116
|
attr_accessor bucket_key_enabled: bool
|
2117
|
+
attr_accessor size: ::Integer
|
2047
2118
|
attr_accessor request_charged: ("requester")
|
2048
2119
|
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
2049
2120
|
end
|
@@ -2065,12 +2136,14 @@ module Aws::S3
|
|
2065
2136
|
attr_accessor checksum_sha1: ::String
|
2066
2137
|
attr_accessor checksum_sha256: ::String
|
2067
2138
|
attr_accessor expires: ::Time
|
2139
|
+
attr_accessor if_match: ::String
|
2068
2140
|
attr_accessor if_none_match: ::String
|
2069
2141
|
attr_accessor grant_full_control: ::String
|
2070
2142
|
attr_accessor grant_read: ::String
|
2071
2143
|
attr_accessor grant_read_acp: ::String
|
2072
2144
|
attr_accessor grant_write_acp: ::String
|
2073
2145
|
attr_accessor key: ::String
|
2146
|
+
attr_accessor write_offset_bytes: ::Integer
|
2074
2147
|
attr_accessor metadata: ::Hash[::String, ::String]
|
2075
2148
|
attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
|
2076
2149
|
attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
@@ -2298,6 +2371,20 @@ module Aws::S3
|
|
2298
2371
|
SENSITIVE: []
|
2299
2372
|
end
|
2300
2373
|
|
2374
|
+
class S3TablesDestination
|
2375
|
+
attr_accessor table_bucket_arn: ::String
|
2376
|
+
attr_accessor table_name: ::String
|
2377
|
+
SENSITIVE: []
|
2378
|
+
end
|
2379
|
+
|
2380
|
+
class S3TablesDestinationResult
|
2381
|
+
attr_accessor table_bucket_arn: ::String
|
2382
|
+
attr_accessor table_name: ::String
|
2383
|
+
attr_accessor table_arn: ::String
|
2384
|
+
attr_accessor table_namespace: ::String
|
2385
|
+
SENSITIVE: []
|
2386
|
+
end
|
2387
|
+
|
2301
2388
|
class SSEKMS
|
2302
2389
|
attr_accessor key_id: ::String
|
2303
2390
|
SENSITIVE: [:key_id]
|
@@ -2433,6 +2520,9 @@ module Aws::S3
|
|
2433
2520
|
SENSITIVE: []
|
2434
2521
|
end
|
2435
2522
|
|
2523
|
+
class TooManyParts < Aws::EmptyStructure
|
2524
|
+
end
|
2525
|
+
|
2436
2526
|
class TopicConfiguration
|
2437
2527
|
attr_accessor id: ::String
|
2438
2528
|
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.176.1
|
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-12-12 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.210.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.210.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:
|