aws-sdk-s3 1.186.1 → 1.191.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 +32 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +11 -4
- data/lib/aws-sdk-s3/client.rb +660 -168
- data/lib/aws-sdk-s3/client_api.rb +47 -0
- data/lib/aws-sdk-s3/endpoints.rb +14 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
- data/lib/aws-sdk-s3/object.rb +65 -13
- data/lib/aws-sdk-s3/object_acl.rb +7 -1
- data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
- data/lib/aws-sdk-s3/object_summary.rb +34 -11
- data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/types.rb +548 -58
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +2 -2
- data/sig/client.rbs +56 -30
- data/sig/errors.rbs +2 -0
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +13 -10
- data/sig/object_summary.rbs +9 -9
- data/sig/types.rbs +57 -29
- metadata +4 -4
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
@@ -123,8 +123,8 @@ module Aws
|
|
123
123
|
key: ::String,
|
124
124
|
?write_offset_bytes: ::Integer,
|
125
125
|
?metadata: Hash[::String, ::String],
|
126
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
127
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
126
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
127
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
128
128
|
?website_redirect_location: ::String,
|
129
129
|
?sse_customer_algorithm: ::String,
|
130
130
|
?sse_customer_key: ::String,
|
data/sig/client.rbs
CHANGED
@@ -120,7 +120,7 @@ module Aws
|
|
120
120
|
def checksum_sha1: () -> ::String
|
121
121
|
def checksum_sha256: () -> ::String
|
122
122
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
123
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
123
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
124
124
|
def version_id: () -> ::String
|
125
125
|
def ssekms_key_id: () -> ::String
|
126
126
|
def bucket_key_enabled: () -> bool
|
@@ -167,7 +167,7 @@ module Aws
|
|
167
167
|
def expiration: () -> ::String
|
168
168
|
def copy_source_version_id: () -> ::String
|
169
169
|
def version_id: () -> ::String
|
170
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
170
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
171
171
|
def sse_customer_algorithm: () -> ::String
|
172
172
|
def sse_customer_key_md5: () -> ::String
|
173
173
|
def ssekms_key_id: () -> ::String
|
@@ -199,8 +199,8 @@ module Aws
|
|
199
199
|
?metadata: Hash[::String, ::String],
|
200
200
|
?metadata_directive: ("COPY" | "REPLACE"),
|
201
201
|
?tagging_directive: ("COPY" | "REPLACE"),
|
202
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
203
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
202
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
203
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
204
204
|
?website_redirect_location: ::String,
|
205
205
|
?sse_customer_algorithm: ::String,
|
206
206
|
?sse_customer_key: ::String,
|
@@ -272,7 +272,7 @@ module Aws
|
|
272
272
|
def bucket: () -> ::String
|
273
273
|
def key: () -> ::String
|
274
274
|
def upload_id: () -> ::String
|
275
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
275
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
276
276
|
def sse_customer_algorithm: () -> ::String
|
277
277
|
def sse_customer_key_md5: () -> ::String
|
278
278
|
def ssekms_key_id: () -> ::String
|
@@ -298,8 +298,8 @@ module Aws
|
|
298
298
|
?grant_write_acp: ::String,
|
299
299
|
key: ::String,
|
300
300
|
?metadata: Hash[::String, ::String],
|
301
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
302
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
301
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
302
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
303
303
|
?website_redirect_location: ::String,
|
304
304
|
?sse_customer_algorithm: ::String,
|
305
305
|
?sse_customer_key: ::String,
|
@@ -320,7 +320,7 @@ module Aws
|
|
320
320
|
|
321
321
|
interface _CreateSessionResponseSuccess
|
322
322
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
|
323
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
323
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
324
324
|
def ssekms_key_id: () -> ::String
|
325
325
|
def ssekms_encryption_context: () -> ::String
|
326
326
|
def bucket_key_enabled: () -> bool
|
@@ -330,7 +330,7 @@ module Aws
|
|
330
330
|
def create_session: (
|
331
331
|
?session_mode: ("ReadOnly" | "ReadWrite"),
|
332
332
|
bucket: ::String,
|
333
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
333
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
334
334
|
?ssekms_key_id: ::String,
|
335
335
|
?ssekms_encryption_context: ::String,
|
336
336
|
?bucket_key_enabled: bool
|
@@ -369,7 +369,8 @@ module Aws
|
|
369
369
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_intelligent_tiering_configuration-instance_method
|
370
370
|
def delete_bucket_intelligent_tiering_configuration: (
|
371
371
|
bucket: ::String,
|
372
|
-
id: ::String
|
372
|
+
id: ::String,
|
373
|
+
?expected_bucket_owner: ::String
|
373
374
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
374
375
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
375
376
|
|
@@ -574,7 +575,8 @@ module Aws
|
|
574
575
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_intelligent_tiering_configuration-instance_method
|
575
576
|
def get_bucket_intelligent_tiering_configuration: (
|
576
577
|
bucket: ::String,
|
577
|
-
id: ::String
|
578
|
+
id: ::String,
|
579
|
+
?expected_bucket_owner: ::String
|
578
580
|
) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
|
579
581
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
|
580
582
|
|
@@ -804,13 +806,13 @@ module Aws
|
|
804
806
|
def expires: () -> ::Time
|
805
807
|
def expires_string: () -> ::String
|
806
808
|
def website_redirect_location: () -> ::String
|
807
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
809
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
808
810
|
def metadata: () -> ::Hash[::String, ::String]
|
809
811
|
def sse_customer_algorithm: () -> ::String
|
810
812
|
def sse_customer_key_md5: () -> ::String
|
811
813
|
def ssekms_key_id: () -> ::String
|
812
814
|
def bucket_key_enabled: () -> bool
|
813
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
815
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
814
816
|
def request_charged: () -> ("requester")
|
815
817
|
def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
|
816
818
|
def parts_count: () -> ::Integer
|
@@ -870,7 +872,7 @@ module Aws
|
|
870
872
|
def etag: () -> ::String
|
871
873
|
def checksum: () -> Types::Checksum
|
872
874
|
def object_parts: () -> Types::GetObjectAttributesParts
|
873
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
875
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
874
876
|
def object_size: () -> ::Integer
|
875
877
|
end
|
876
878
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_attributes-instance_method
|
@@ -1009,16 +1011,17 @@ module Aws
|
|
1009
1011
|
def expires: () -> ::Time
|
1010
1012
|
def expires_string: () -> ::String
|
1011
1013
|
def website_redirect_location: () -> ::String
|
1012
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
1014
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
1013
1015
|
def metadata: () -> ::Hash[::String, ::String]
|
1014
1016
|
def sse_customer_algorithm: () -> ::String
|
1015
1017
|
def sse_customer_key_md5: () -> ::String
|
1016
1018
|
def ssekms_key_id: () -> ::String
|
1017
1019
|
def bucket_key_enabled: () -> bool
|
1018
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
1020
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
1019
1021
|
def request_charged: () -> ("requester")
|
1020
1022
|
def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
|
1021
1023
|
def parts_count: () -> ::Integer
|
1024
|
+
def tag_count: () -> ::Integer
|
1022
1025
|
def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
|
1023
1026
|
def object_lock_retain_until_date: () -> ::Time
|
1024
1027
|
def object_lock_legal_hold_status: () -> ("ON" | "OFF")
|
@@ -1074,7 +1077,8 @@ module Aws
|
|
1074
1077
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_intelligent_tiering_configurations-instance_method
|
1075
1078
|
def list_bucket_intelligent_tiering_configurations: (
|
1076
1079
|
bucket: ::String,
|
1077
|
-
?continuation_token: ::String
|
1080
|
+
?continuation_token: ::String,
|
1081
|
+
?expected_bucket_owner: ::String
|
1078
1082
|
) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
|
1079
1083
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
|
1080
1084
|
|
@@ -1272,7 +1276,7 @@ module Aws
|
|
1272
1276
|
def parts: () -> ::Array[Types::Part]
|
1273
1277
|
def initiator: () -> Types::Initiator
|
1274
1278
|
def owner: () -> Types::Owner
|
1275
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
1279
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
1276
1280
|
def request_charged: () -> ("requester")
|
1277
1281
|
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
1278
1282
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
@@ -1406,7 +1410,7 @@ module Aws
|
|
1406
1410
|
rules: Array[
|
1407
1411
|
{
|
1408
1412
|
apply_server_side_encryption_by_default: {
|
1409
|
-
sse_algorithm: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
1413
|
+
sse_algorithm: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
1410
1414
|
kms_master_key_id: ::String?
|
1411
1415
|
}?,
|
1412
1416
|
bucket_key_enabled: bool?
|
@@ -1421,6 +1425,7 @@ module Aws
|
|
1421
1425
|
def put_bucket_intelligent_tiering_configuration: (
|
1422
1426
|
bucket: ::String,
|
1423
1427
|
id: ::String,
|
1428
|
+
?expected_bucket_owner: ::String,
|
1424
1429
|
intelligent_tiering_configuration: {
|
1425
1430
|
id: ::String,
|
1426
1431
|
filter: {
|
@@ -1760,7 +1765,8 @@ module Aws
|
|
1760
1765
|
object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
|
1761
1766
|
},
|
1762
1767
|
]
|
1763
|
-
}
|
1768
|
+
},
|
1769
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
1764
1770
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1765
1771
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1766
1772
|
|
@@ -1818,7 +1824,7 @@ module Aws
|
|
1818
1824
|
destination: {
|
1819
1825
|
bucket: ::String,
|
1820
1826
|
account: ::String?,
|
1821
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?,
|
1827
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?,
|
1822
1828
|
access_control_translation: {
|
1823
1829
|
owner: ("Destination")
|
1824
1830
|
}?,
|
@@ -1938,7 +1944,7 @@ module Aws
|
|
1938
1944
|
def checksum_sha1: () -> ::String
|
1939
1945
|
def checksum_sha256: () -> ::String
|
1940
1946
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
1941
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
1947
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
1942
1948
|
def version_id: () -> ::String
|
1943
1949
|
def sse_customer_algorithm: () -> ::String
|
1944
1950
|
def sse_customer_key_md5: () -> ::String
|
@@ -1976,8 +1982,8 @@ module Aws
|
|
1976
1982
|
key: ::String,
|
1977
1983
|
?write_offset_bytes: ::Integer,
|
1978
1984
|
?metadata: Hash[::String, ::String],
|
1979
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
1980
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
1985
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
1986
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
1981
1987
|
?website_redirect_location: ::String,
|
1982
1988
|
?sse_customer_algorithm: ::String,
|
1983
1989
|
?sse_customer_key: ::String,
|
@@ -2138,6 +2144,26 @@ module Aws
|
|
2138
2144
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2139
2145
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2140
2146
|
|
2147
|
+
interface _RenameObjectResponseSuccess
|
2148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RenameObjectOutput]
|
2149
|
+
end
|
2150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#rename_object-instance_method
|
2151
|
+
def rename_object: (
|
2152
|
+
bucket: ::String,
|
2153
|
+
key: ::String,
|
2154
|
+
rename_source: ::String,
|
2155
|
+
?destination_if_match: ::String,
|
2156
|
+
?destination_if_none_match: ::String,
|
2157
|
+
?destination_if_modified_since: ::Time,
|
2158
|
+
?destination_if_unmodified_since: ::Time,
|
2159
|
+
?source_if_match: ::String,
|
2160
|
+
?source_if_none_match: ::String,
|
2161
|
+
?source_if_modified_since: ::Time,
|
2162
|
+
?source_if_unmodified_since: ::Time,
|
2163
|
+
?client_token: ::String
|
2164
|
+
) -> _RenameObjectResponseSuccess
|
2165
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RenameObjectResponseSuccess
|
2166
|
+
|
2141
2167
|
interface _RestoreObjectResponseSuccess
|
2142
2168
|
include ::Seahorse::Client::_ResponseSuccess[Types::RestoreObjectOutput]
|
2143
2169
|
def request_charged: () -> ("requester")
|
@@ -2194,7 +2220,7 @@ module Aws
|
|
2194
2220
|
bucket_name: ::String,
|
2195
2221
|
prefix: ::String,
|
2196
2222
|
encryption: {
|
2197
|
-
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
2223
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
2198
2224
|
kms_key_id: ::String?,
|
2199
2225
|
kms_context: ::String?
|
2200
2226
|
}?,
|
@@ -2225,7 +2251,7 @@ module Aws
|
|
2225
2251
|
value: ::String?
|
2226
2252
|
},
|
2227
2253
|
]?,
|
2228
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
|
2254
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
|
2229
2255
|
}?
|
2230
2256
|
}?
|
2231
2257
|
},
|
@@ -2290,7 +2316,7 @@ module Aws
|
|
2290
2316
|
|
2291
2317
|
interface _UploadPartResponseSuccess
|
2292
2318
|
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
|
2293
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
2319
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
2294
2320
|
def etag: () -> ::String
|
2295
2321
|
def checksum_crc32: () -> ::String
|
2296
2322
|
def checksum_crc32c: () -> ::String
|
@@ -2330,7 +2356,7 @@ module Aws
|
|
2330
2356
|
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartCopyOutput]
|
2331
2357
|
def copy_source_version_id: () -> ::String
|
2332
2358
|
def copy_part_result: () -> Types::CopyPartResult
|
2333
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
2359
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
2334
2360
|
def sse_customer_algorithm: () -> ::String
|
2335
2361
|
def sse_customer_key_md5: () -> ::String
|
2336
2362
|
def ssekms_key_id: () -> ::String
|
@@ -2396,11 +2422,11 @@ module Aws
|
|
2396
2422
|
?replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED"),
|
2397
2423
|
?request_charged: ("requester"),
|
2398
2424
|
?restore: ::String,
|
2399
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
2425
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
2400
2426
|
?sse_customer_algorithm: ::String,
|
2401
2427
|
?ssekms_key_id: ::String,
|
2402
2428
|
?sse_customer_key_md5: ::String,
|
2403
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
2429
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
2404
2430
|
?tag_count: ::Integer,
|
2405
2431
|
?version_id: ::String,
|
2406
2432
|
?bucket_key_enabled: bool
|
data/sig/errors.rbs
CHANGED
@@ -17,6 +17,8 @@ module Aws
|
|
17
17
|
end
|
18
18
|
class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
|
19
19
|
end
|
20
|
+
class IdempotencyParameterMismatch < ::Aws::Errors::ServiceError
|
21
|
+
end
|
20
22
|
class InvalidObjectState < ::Aws::Errors::ServiceError
|
21
23
|
def storage_class: () -> ::String
|
22
24
|
def access_tier: () -> ::String
|
data/sig/multipart_upload.rbs
CHANGED
@@ -33,7 +33,7 @@ module Aws
|
|
33
33
|
def initiated: () -> ::Time
|
34
34
|
|
35
35
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#storage_class-instance_method
|
36
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
36
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
37
37
|
|
38
38
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#owner-instance_method
|
39
39
|
def owner: () -> Types::Owner
|
data/sig/object.rbs
CHANGED
@@ -96,7 +96,7 @@ module Aws
|
|
96
96
|
def website_redirect_location: () -> ::String
|
97
97
|
|
98
98
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#server_side_encryption-instance_method
|
99
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
99
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
100
100
|
|
101
101
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#metadata-instance_method
|
102
102
|
def metadata: () -> ::Hash[::String, ::String]
|
@@ -114,7 +114,7 @@ module Aws
|
|
114
114
|
def bucket_key_enabled: () -> bool
|
115
115
|
|
116
116
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#storage_class-instance_method
|
117
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
117
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
118
118
|
|
119
119
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#request_charged-instance_method
|
120
120
|
def request_charged: () -> ("requester")
|
@@ -125,6 +125,9 @@ module Aws
|
|
125
125
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#parts_count-instance_method
|
126
126
|
def parts_count: () -> ::Integer
|
127
127
|
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#tag_count-instance_method
|
129
|
+
def tag_count: () -> ::Integer
|
130
|
+
|
128
131
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_mode-instance_method
|
129
132
|
def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
|
130
133
|
|
@@ -180,8 +183,8 @@ module Aws
|
|
180
183
|
?metadata: Hash[::String, ::String],
|
181
184
|
?metadata_directive: ("COPY" | "REPLACE"),
|
182
185
|
?tagging_directive: ("COPY" | "REPLACE"),
|
183
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
184
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
186
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
187
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
185
188
|
?website_redirect_location: ::String,
|
186
189
|
?sse_customer_algorithm: ::String,
|
187
190
|
?sse_customer_key: ::String,
|
@@ -253,8 +256,8 @@ module Aws
|
|
253
256
|
?grant_read_acp: ::String,
|
254
257
|
?grant_write_acp: ::String,
|
255
258
|
?metadata: Hash[::String, ::String],
|
256
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
257
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
259
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
260
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
258
261
|
?website_redirect_location: ::String,
|
259
262
|
?sse_customer_algorithm: ::String,
|
260
263
|
?sse_customer_key: ::String,
|
@@ -299,8 +302,8 @@ module Aws
|
|
299
302
|
?grant_write_acp: ::String,
|
300
303
|
?write_offset_bytes: ::Integer,
|
301
304
|
?metadata: Hash[::String, ::String],
|
302
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
303
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
305
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
306
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
304
307
|
?website_redirect_location: ::String,
|
305
308
|
?sse_customer_algorithm: ::String,
|
306
309
|
?sse_customer_key: ::String,
|
@@ -366,7 +369,7 @@ module Aws
|
|
366
369
|
bucket_name: ::String,
|
367
370
|
prefix: ::String,
|
368
371
|
encryption: {
|
369
|
-
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
372
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
370
373
|
kms_key_id: ::String?,
|
371
374
|
kms_context: ::String?
|
372
375
|
}?,
|
@@ -397,7 +400,7 @@ module Aws
|
|
397
400
|
value: ::String?
|
398
401
|
},
|
399
402
|
]?,
|
400
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
|
403
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
|
401
404
|
}?
|
402
405
|
}?
|
403
406
|
},
|
data/sig/object_summary.rbs
CHANGED
@@ -36,7 +36,7 @@ module Aws
|
|
36
36
|
def size: () -> ::Integer
|
37
37
|
|
38
38
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#storage_class-instance_method
|
39
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
39
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
40
40
|
|
41
41
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#owner-instance_method
|
42
42
|
def owner: () -> Types::Owner
|
@@ -87,8 +87,8 @@ module Aws
|
|
87
87
|
?metadata: Hash[::String, ::String],
|
88
88
|
?metadata_directive: ("COPY" | "REPLACE"),
|
89
89
|
?tagging_directive: ("COPY" | "REPLACE"),
|
90
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
91
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
90
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
91
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
92
92
|
?website_redirect_location: ::String,
|
93
93
|
?sse_customer_algorithm: ::String,
|
94
94
|
?sse_customer_key: ::String,
|
@@ -160,8 +160,8 @@ module Aws
|
|
160
160
|
?grant_read_acp: ::String,
|
161
161
|
?grant_write_acp: ::String,
|
162
162
|
?metadata: Hash[::String, ::String],
|
163
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
164
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
163
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
164
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
165
165
|
?website_redirect_location: ::String,
|
166
166
|
?sse_customer_algorithm: ::String,
|
167
167
|
?sse_customer_key: ::String,
|
@@ -206,8 +206,8 @@ module Aws
|
|
206
206
|
?grant_write_acp: ::String,
|
207
207
|
?write_offset_bytes: ::Integer,
|
208
208
|
?metadata: Hash[::String, ::String],
|
209
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
210
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
209
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
210
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
211
211
|
?website_redirect_location: ::String,
|
212
212
|
?sse_customer_algorithm: ::String,
|
213
213
|
?sse_customer_key: ::String,
|
@@ -273,7 +273,7 @@ module Aws
|
|
273
273
|
bucket_name: ::String,
|
274
274
|
prefix: ::String,
|
275
275
|
encryption: {
|
276
|
-
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
276
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
277
277
|
kms_key_id: ::String?,
|
278
278
|
kms_context: ::String?
|
279
279
|
}?,
|
@@ -304,7 +304,7 @@ module Aws
|
|
304
304
|
value: ::String?
|
305
305
|
},
|
306
306
|
]?,
|
307
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
|
307
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
|
308
308
|
}?
|
309
309
|
}?
|
310
310
|
},
|