aws-sdk-s3 1.169.0 → 1.177.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 +50 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +36 -2
- 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 +1575 -949
- data/lib/aws-sdk-s3/client_api.rb +126 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/endpoints.rb +42 -0
- 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 +77 -1
- data/lib/aws-sdk-s3/object_summary.rb +74 -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/presigner.rb +1 -0
- data/lib/aws-sdk-s3/resource.rb +9 -8
- data/lib/aws-sdk-s3/types.rb +837 -211
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +8 -3
- data/sig/client.rbs +50 -6
- 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 +2 -2
- data/sig/types.rbs +89 -3
- metadata +2 -2
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
@@ -50,11 +50,11 @@ module Aws
|
|
50
50
|
?create_bucket_configuration: {
|
51
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")?,
|
52
52
|
location: {
|
53
|
-
type: ("AvailabilityZone")?,
|
53
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
54
54
|
name: ::String?
|
55
55
|
}?,
|
56
56
|
bucket: {
|
57
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
57
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
58
58
|
type: ("Directory")?
|
59
59
|
}?
|
60
60
|
},
|
@@ -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?
|
@@ -110,12 +113,14 @@ module Aws
|
|
110
113
|
?checksum_sha1: ::String,
|
111
114
|
?checksum_sha256: ::String,
|
112
115
|
?expires: ::Time,
|
116
|
+
?if_match: ::String,
|
113
117
|
?if_none_match: ::String,
|
114
118
|
?grant_full_control: ::String,
|
115
119
|
?grant_read: ::String,
|
116
120
|
?grant_read_acp: ::String,
|
117
121
|
?grant_write_acp: ::String,
|
118
122
|
key: ::String,
|
123
|
+
?write_offset_bytes: ::Integer,
|
119
124
|
?metadata: Hash[::String, ::String],
|
120
125
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
121
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
|
@@ -1886,6 +1927,7 @@ module Aws
|
|
1886
1927
|
def ssekms_key_id: () -> ::String
|
1887
1928
|
def ssekms_encryption_context: () -> ::String
|
1888
1929
|
def bucket_key_enabled: () -> bool
|
1930
|
+
def size: () -> ::Integer
|
1889
1931
|
def request_charged: () -> ("requester")
|
1890
1932
|
end
|
1891
1933
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
|
@@ -1906,12 +1948,14 @@ module Aws
|
|
1906
1948
|
?checksum_sha1: ::String,
|
1907
1949
|
?checksum_sha256: ::String,
|
1908
1950
|
?expires: ::Time,
|
1951
|
+
?if_match: ::String,
|
1909
1952
|
?if_none_match: ::String,
|
1910
1953
|
?grant_full_control: ::String,
|
1911
1954
|
?grant_read: ::String,
|
1912
1955
|
?grant_read_acp: ::String,
|
1913
1956
|
?grant_write_acp: ::String,
|
1914
1957
|
key: ::String,
|
1958
|
+
?write_offset_bytes: ::Integer,
|
1915
1959
|
?metadata: Hash[::String, ::String],
|
1916
1960
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
1917
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
|
},
|
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
|
|
@@ -90,7 +91,7 @@ module Aws::S3
|
|
90
91
|
end
|
91
92
|
|
92
93
|
class BucketInfo
|
93
|
-
attr_accessor data_redundancy: ("SingleAvailabilityZone")
|
94
|
+
attr_accessor data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")
|
94
95
|
attr_accessor type: ("Directory")
|
95
96
|
SENSITIVE: []
|
96
97
|
end
|
@@ -191,6 +192,7 @@ module Aws::S3
|
|
191
192
|
attr_accessor checksum_sha256: ::String
|
192
193
|
attr_accessor request_payer: ("requester")
|
193
194
|
attr_accessor expected_bucket_owner: ::String
|
195
|
+
attr_accessor if_match: ::String
|
194
196
|
attr_accessor if_none_match: ::String
|
195
197
|
attr_accessor sse_customer_algorithm: ::String
|
196
198
|
attr_accessor sse_customer_key: ::String
|
@@ -311,6 +313,15 @@ module Aws::S3
|
|
311
313
|
SENSITIVE: []
|
312
314
|
end
|
313
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
|
+
|
314
325
|
class CreateBucketOutput
|
315
326
|
attr_accessor location: ::String
|
316
327
|
SENSITIVE: []
|
@@ -451,6 +462,12 @@ module Aws::S3
|
|
451
462
|
SENSITIVE: []
|
452
463
|
end
|
453
464
|
|
465
|
+
class DeleteBucketMetadataTableConfigurationRequest
|
466
|
+
attr_accessor bucket: ::String
|
467
|
+
attr_accessor expected_bucket_owner: ::String
|
468
|
+
SENSITIVE: []
|
469
|
+
end
|
470
|
+
|
454
471
|
class DeleteBucketMetricsConfigurationRequest
|
455
472
|
attr_accessor bucket: ::String
|
456
473
|
attr_accessor id: ::String
|
@@ -523,6 +540,9 @@ module Aws::S3
|
|
523
540
|
attr_accessor request_payer: ("requester")
|
524
541
|
attr_accessor bypass_governance_retention: bool
|
525
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
|
526
546
|
SENSITIVE: []
|
527
547
|
end
|
528
548
|
|
@@ -594,6 +614,9 @@ module Aws::S3
|
|
594
614
|
SENSITIVE: []
|
595
615
|
end
|
596
616
|
|
617
|
+
class EncryptionTypeMismatch < Aws::EmptyStructure
|
618
|
+
end
|
619
|
+
|
597
620
|
class EndEvent
|
598
621
|
attr_accessor event_type: untyped
|
599
622
|
SENSITIVE: []
|
@@ -607,6 +630,12 @@ module Aws::S3
|
|
607
630
|
SENSITIVE: []
|
608
631
|
end
|
609
632
|
|
633
|
+
class ErrorDetails
|
634
|
+
attr_accessor error_code: ::String
|
635
|
+
attr_accessor error_message: ::String
|
636
|
+
SENSITIVE: []
|
637
|
+
end
|
638
|
+
|
610
639
|
class ErrorDocument
|
611
640
|
attr_accessor key: ::String
|
612
641
|
SENSITIVE: []
|
@@ -753,6 +782,24 @@ module Aws::S3
|
|
753
782
|
SENSITIVE: []
|
754
783
|
end
|
755
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
|
+
|
756
803
|
class GetBucketMetricsConfigurationOutput
|
757
804
|
attr_accessor metrics_configuration: Types::MetricsConfiguration
|
758
805
|
SENSITIVE: []
|
@@ -1083,7 +1130,7 @@ module Aws::S3
|
|
1083
1130
|
end
|
1084
1131
|
|
1085
1132
|
class HeadBucketOutput
|
1086
|
-
attr_accessor bucket_location_type: ("AvailabilityZone")
|
1133
|
+
attr_accessor bucket_location_type: ("AvailabilityZone" | "LocalZone")
|
1087
1134
|
attr_accessor bucket_location_name: ::String
|
1088
1135
|
attr_accessor bucket_region: ::String
|
1089
1136
|
attr_accessor access_point_alias: bool
|
@@ -1206,6 +1253,12 @@ module Aws::S3
|
|
1206
1253
|
SENSITIVE: []
|
1207
1254
|
end
|
1208
1255
|
|
1256
|
+
class InvalidRequest < Aws::EmptyStructure
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
class InvalidWriteOffset < Aws::EmptyStructure
|
1260
|
+
end
|
1261
|
+
|
1209
1262
|
class InventoryConfiguration
|
1210
1263
|
attr_accessor destination: Types::InventoryDestination
|
1211
1264
|
attr_accessor is_enabled: bool
|
@@ -1550,7 +1603,7 @@ module Aws::S3
|
|
1550
1603
|
end
|
1551
1604
|
|
1552
1605
|
class LocationInfo
|
1553
|
-
attr_accessor type: ("AvailabilityZone")
|
1606
|
+
attr_accessor type: ("AvailabilityZone" | "LocalZone")
|
1554
1607
|
attr_accessor name: ::String
|
1555
1608
|
SENSITIVE: []
|
1556
1609
|
end
|
@@ -1569,6 +1622,16 @@ module Aws::S3
|
|
1569
1622
|
SENSITIVE: []
|
1570
1623
|
end
|
1571
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
|
+
|
1572
1635
|
class Metrics
|
1573
1636
|
attr_accessor status: ("Enabled" | "Disabled")
|
1574
1637
|
attr_accessor event_threshold: Types::ReplicationTimeValue
|
@@ -1667,6 +1730,9 @@ module Aws::S3
|
|
1667
1730
|
class ObjectIdentifier
|
1668
1731
|
attr_accessor key: ::String
|
1669
1732
|
attr_accessor version_id: ::String
|
1733
|
+
attr_accessor etag: ::String
|
1734
|
+
attr_accessor last_modified_time: ::Time
|
1735
|
+
attr_accessor size: ::Integer
|
1670
1736
|
SENSITIVE: []
|
1671
1737
|
end
|
1672
1738
|
|
@@ -2048,6 +2114,7 @@ module Aws::S3
|
|
2048
2114
|
attr_accessor ssekms_key_id: ::String
|
2049
2115
|
attr_accessor ssekms_encryption_context: ::String
|
2050
2116
|
attr_accessor bucket_key_enabled: bool
|
2117
|
+
attr_accessor size: ::Integer
|
2051
2118
|
attr_accessor request_charged: ("requester")
|
2052
2119
|
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
2053
2120
|
end
|
@@ -2069,12 +2136,14 @@ module Aws::S3
|
|
2069
2136
|
attr_accessor checksum_sha1: ::String
|
2070
2137
|
attr_accessor checksum_sha256: ::String
|
2071
2138
|
attr_accessor expires: ::Time
|
2139
|
+
attr_accessor if_match: ::String
|
2072
2140
|
attr_accessor if_none_match: ::String
|
2073
2141
|
attr_accessor grant_full_control: ::String
|
2074
2142
|
attr_accessor grant_read: ::String
|
2075
2143
|
attr_accessor grant_read_acp: ::String
|
2076
2144
|
attr_accessor grant_write_acp: ::String
|
2077
2145
|
attr_accessor key: ::String
|
2146
|
+
attr_accessor write_offset_bytes: ::Integer
|
2078
2147
|
attr_accessor metadata: ::Hash[::String, ::String]
|
2079
2148
|
attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
|
2080
2149
|
attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
@@ -2302,6 +2371,20 @@ module Aws::S3
|
|
2302
2371
|
SENSITIVE: []
|
2303
2372
|
end
|
2304
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
|
+
|
2305
2388
|
class SSEKMS
|
2306
2389
|
attr_accessor key_id: ::String
|
2307
2390
|
SENSITIVE: [:key_id]
|
@@ -2437,6 +2520,9 @@ module Aws::S3
|
|
2437
2520
|
SENSITIVE: []
|
2438
2521
|
end
|
2439
2522
|
|
2523
|
+
class TooManyParts < Aws::EmptyStructure
|
2524
|
+
end
|
2525
|
+
|
2440
2526
|
class TopicConfiguration
|
2441
2527
|
attr_accessor id: ::String
|
2442
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.177.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:
|
11
|
+
date: 2025-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|