aws-sdk-s3 1.188.0 → 1.195.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 +40 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +43 -4
- data/lib/aws-sdk-s3/client.rb +1114 -98
- data/lib/aws-sdk-s3/client_api.rb +228 -0
- data/lib/aws-sdk-s3/endpoints.rb +84 -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 +58 -12
- 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/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/resource.rb +6 -0
- data/lib/aws-sdk-s3/types.rb +1107 -49
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +12 -3
- data/sig/client.rbs +141 -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/resource.rbs +8 -1
- data/sig/types.rbs +182 -29
- metadata +4 -4
data/lib/aws-sdk-s3/endpoints.rb
CHANGED
@@ -63,6 +63,18 @@ module Aws::S3
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
class CreateBucketMetadataConfiguration
|
67
|
+
def self.build(context)
|
68
|
+
Aws::S3::EndpointParameters.create(
|
69
|
+
context.config,
|
70
|
+
bucket: context.params[:bucket],
|
71
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
72
|
+
accelerate: context[:use_accelerate_endpoint],
|
73
|
+
use_s3_express_control_endpoint: true,
|
74
|
+
)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
66
78
|
class CreateBucketMetadataTableConfiguration
|
67
79
|
def self.build(context)
|
68
80
|
Aws::S3::EndpointParameters.create(
|
@@ -183,6 +195,18 @@ module Aws::S3
|
|
183
195
|
end
|
184
196
|
end
|
185
197
|
|
198
|
+
class DeleteBucketMetadataConfiguration
|
199
|
+
def self.build(context)
|
200
|
+
Aws::S3::EndpointParameters.create(
|
201
|
+
context.config,
|
202
|
+
bucket: context.params[:bucket],
|
203
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
204
|
+
accelerate: context[:use_accelerate_endpoint],
|
205
|
+
use_s3_express_control_endpoint: true,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
186
210
|
class DeleteBucketMetadataTableConfiguration
|
187
211
|
def self.build(context)
|
188
212
|
Aws::S3::EndpointParameters.create(
|
@@ -445,6 +469,18 @@ module Aws::S3
|
|
445
469
|
end
|
446
470
|
end
|
447
471
|
|
472
|
+
class GetBucketMetadataConfiguration
|
473
|
+
def self.build(context)
|
474
|
+
Aws::S3::EndpointParameters.create(
|
475
|
+
context.config,
|
476
|
+
bucket: context.params[:bucket],
|
477
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
478
|
+
accelerate: context[:use_accelerate_endpoint],
|
479
|
+
use_s3_express_control_endpoint: true,
|
480
|
+
)
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
448
484
|
class GetBucketMetadataTableConfiguration
|
449
485
|
def self.build(context)
|
450
486
|
Aws::S3::EndpointParameters.create(
|
@@ -1162,6 +1198,18 @@ module Aws::S3
|
|
1162
1198
|
end
|
1163
1199
|
end
|
1164
1200
|
|
1201
|
+
class RenameObject
|
1202
|
+
def self.build(context)
|
1203
|
+
Aws::S3::EndpointParameters.create(
|
1204
|
+
context.config,
|
1205
|
+
bucket: context.params[:bucket],
|
1206
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1207
|
+
accelerate: context[:use_accelerate_endpoint],
|
1208
|
+
key: context.params[:key],
|
1209
|
+
)
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
|
1165
1213
|
class RestoreObject
|
1166
1214
|
def self.build(context)
|
1167
1215
|
Aws::S3::EndpointParameters.create(
|
@@ -1184,6 +1232,30 @@ module Aws::S3
|
|
1184
1232
|
end
|
1185
1233
|
end
|
1186
1234
|
|
1235
|
+
class UpdateBucketMetadataInventoryTableConfiguration
|
1236
|
+
def self.build(context)
|
1237
|
+
Aws::S3::EndpointParameters.create(
|
1238
|
+
context.config,
|
1239
|
+
bucket: context.params[:bucket],
|
1240
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1241
|
+
accelerate: context[:use_accelerate_endpoint],
|
1242
|
+
use_s3_express_control_endpoint: true,
|
1243
|
+
)
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
class UpdateBucketMetadataJournalTableConfiguration
|
1248
|
+
def self.build(context)
|
1249
|
+
Aws::S3::EndpointParameters.create(
|
1250
|
+
context.config,
|
1251
|
+
bucket: context.params[:bucket],
|
1252
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1253
|
+
accelerate: context[:use_accelerate_endpoint],
|
1254
|
+
use_s3_express_control_endpoint: true,
|
1255
|
+
)
|
1256
|
+
end
|
1257
|
+
end
|
1258
|
+
|
1187
1259
|
class UploadPart
|
1188
1260
|
def self.build(context)
|
1189
1261
|
Aws::S3::EndpointParameters.create(
|
@@ -1230,6 +1302,8 @@ module Aws::S3
|
|
1230
1302
|
CopyObject.build(context)
|
1231
1303
|
when :create_bucket
|
1232
1304
|
CreateBucket.build(context)
|
1305
|
+
when :create_bucket_metadata_configuration
|
1306
|
+
CreateBucketMetadataConfiguration.build(context)
|
1233
1307
|
when :create_bucket_metadata_table_configuration
|
1234
1308
|
CreateBucketMetadataTableConfiguration.build(context)
|
1235
1309
|
when :create_multipart_upload
|
@@ -1250,6 +1324,8 @@ module Aws::S3
|
|
1250
1324
|
DeleteBucketInventoryConfiguration.build(context)
|
1251
1325
|
when :delete_bucket_lifecycle
|
1252
1326
|
DeleteBucketLifecycle.build(context)
|
1327
|
+
when :delete_bucket_metadata_configuration
|
1328
|
+
DeleteBucketMetadataConfiguration.build(context)
|
1253
1329
|
when :delete_bucket_metadata_table_configuration
|
1254
1330
|
DeleteBucketMetadataTableConfiguration.build(context)
|
1255
1331
|
when :delete_bucket_metrics_configuration
|
@@ -1294,6 +1370,8 @@ module Aws::S3
|
|
1294
1370
|
GetBucketLocation.build(context)
|
1295
1371
|
when :get_bucket_logging
|
1296
1372
|
GetBucketLogging.build(context)
|
1373
|
+
when :get_bucket_metadata_configuration
|
1374
|
+
GetBucketMetadataConfiguration.build(context)
|
1297
1375
|
when :get_bucket_metadata_table_configuration
|
1298
1376
|
GetBucketMetadataTableConfiguration.build(context)
|
1299
1377
|
when :get_bucket_metrics_configuration
|
@@ -1416,10 +1494,16 @@ module Aws::S3
|
|
1416
1494
|
PutObjectTagging.build(context)
|
1417
1495
|
when :put_public_access_block
|
1418
1496
|
PutPublicAccessBlock.build(context)
|
1497
|
+
when :rename_object
|
1498
|
+
RenameObject.build(context)
|
1419
1499
|
when :restore_object
|
1420
1500
|
RestoreObject.build(context)
|
1421
1501
|
when :select_object_content
|
1422
1502
|
SelectObjectContent.build(context)
|
1503
|
+
when :update_bucket_metadata_inventory_table_configuration
|
1504
|
+
UpdateBucketMetadataInventoryTableConfiguration.build(context)
|
1505
|
+
when :update_bucket_metadata_journal_table_configuration
|
1506
|
+
UpdateBucketMetadataJournalTableConfiguration.build(context)
|
1423
1507
|
when :upload_part
|
1424
1508
|
UploadPart.build(context)
|
1425
1509
|
when :upload_part_copy
|
data/lib/aws-sdk-s3/errors.rb
CHANGED
@@ -30,6 +30,7 @@ module Aws::S3
|
|
30
30
|
# * {BucketAlreadyExists}
|
31
31
|
# * {BucketAlreadyOwnedByYou}
|
32
32
|
# * {EncryptionTypeMismatch}
|
33
|
+
# * {IdempotencyParameterMismatch}
|
33
34
|
# * {InvalidObjectState}
|
34
35
|
# * {InvalidRequest}
|
35
36
|
# * {InvalidWriteOffset}
|
@@ -76,6 +77,16 @@ module Aws::S3
|
|
76
77
|
end
|
77
78
|
end
|
78
79
|
|
80
|
+
class IdempotencyParameterMismatch < ServiceError
|
81
|
+
|
82
|
+
# @param [Seahorse::Client::RequestContext] context
|
83
|
+
# @param [String] message
|
84
|
+
# @param [Aws::S3::Types::IdempotencyParameterMismatch] data
|
85
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
86
|
+
super(context, message, data)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
79
90
|
class InvalidObjectState < ServiceError
|
80
91
|
|
81
92
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -324,7 +324,12 @@ module Aws::S3
|
|
324
324
|
end
|
325
325
|
|
326
326
|
# The server-side encryption algorithm used when you store this object
|
327
|
-
# in Amazon S3
|
327
|
+
# in Amazon S3 or Amazon FSx.
|
328
|
+
#
|
329
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3 access
|
330
|
+
# points, the only valid server side encryption option is `aws:fsx`.
|
331
|
+
#
|
332
|
+
# </note>
|
328
333
|
# @return [String]
|
329
334
|
def server_side_encryption
|
330
335
|
data[:server_side_encryption]
|
@@ -470,6 +475,24 @@ module Aws::S3
|
|
470
475
|
data[:parts_count]
|
471
476
|
end
|
472
477
|
|
478
|
+
# The number of tags, if any, on the object, when you have the relevant
|
479
|
+
# permission to read object tags.
|
480
|
+
#
|
481
|
+
# You can use [GetObjectTagging][1] to retrieve the tag set associated
|
482
|
+
# with an object.
|
483
|
+
#
|
484
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
485
|
+
#
|
486
|
+
# </note>
|
487
|
+
#
|
488
|
+
#
|
489
|
+
#
|
490
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html
|
491
|
+
# @return [Integer]
|
492
|
+
def tag_count
|
493
|
+
data[:tag_count]
|
494
|
+
end
|
495
|
+
|
473
496
|
# The Object Lock mode, if any, that's in effect for this object. This
|
474
497
|
# header is only returned if the requester has the
|
475
498
|
# `s3:GetObjectRetention` permission. For more information about S3
|
@@ -739,8 +762,8 @@ module Aws::S3
|
|
739
762
|
# },
|
740
763
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
741
764
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
742
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
|
743
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
765
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
766
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
744
767
|
# website_redirect_location: "WebsiteRedirectLocation",
|
745
768
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
746
769
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1130,6 +1153,14 @@ module Aws::S3
|
|
1130
1153
|
# key is the same customer managed key that you specified for the
|
1131
1154
|
# directory bucket's default encryption configuration.
|
1132
1155
|
#
|
1156
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data stored
|
1157
|
+
# in Amazon FSx file systems using S3 access points, the only valid
|
1158
|
+
# server side encryption option is `aws:fsx`. All Amazon FSx file
|
1159
|
+
# systems have encryption configured by default and are encrypted at
|
1160
|
+
# rest. Data is automatically encrypted before being written to the
|
1161
|
+
# file system, and automatically decrypted as it is read. These
|
1162
|
+
# processes are handled transparently by Amazon FSx.
|
1163
|
+
#
|
1133
1164
|
#
|
1134
1165
|
#
|
1135
1166
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
|
@@ -1828,8 +1859,8 @@ module Aws::S3
|
|
1828
1859
|
# metadata: {
|
1829
1860
|
# "MetadataKey" => "MetadataValue",
|
1830
1861
|
# },
|
1831
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
|
1832
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
1862
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
1863
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
1833
1864
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1834
1865
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1835
1866
|
# sse_customer_key: "SSECustomerKey",
|
@@ -2146,7 +2177,7 @@ module Aws::S3
|
|
2146
2177
|
# A map of metadata to store with the object in S3.
|
2147
2178
|
# @option options [String] :server_side_encryption
|
2148
2179
|
# The server-side encryption algorithm used when you store this object
|
2149
|
-
# in Amazon S3
|
2180
|
+
# in Amazon S3 or Amazon FSx.
|
2150
2181
|
#
|
2151
2182
|
# * <b>Directory buckets </b> - For directory buckets, there are only
|
2152
2183
|
# two supported options for server-side encryption: server-side
|
@@ -2188,6 +2219,14 @@ module Aws::S3
|
|
2188
2219
|
#
|
2189
2220
|
# </note>
|
2190
2221
|
#
|
2222
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data stored
|
2223
|
+
# in Amazon FSx file systems using S3 access points, the only valid
|
2224
|
+
# server side encryption option is `aws:fsx`. All Amazon FSx file
|
2225
|
+
# systems have encryption configured by default and are encrypted at
|
2226
|
+
# rest. Data is automatically encrypted before being written to the
|
2227
|
+
# file system, and automatically decrypted as it is read. These
|
2228
|
+
# processes are handled transparently by Amazon FSx.
|
2229
|
+
#
|
2191
2230
|
#
|
2192
2231
|
#
|
2193
2232
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
|
@@ -2421,8 +2460,8 @@ module Aws::S3
|
|
2421
2460
|
# metadata: {
|
2422
2461
|
# "MetadataKey" => "MetadataValue",
|
2423
2462
|
# },
|
2424
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
|
2425
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
2463
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
2464
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
2426
2465
|
# website_redirect_location: "WebsiteRedirectLocation",
|
2427
2466
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
2428
2467
|
# sse_customer_key: "SSECustomerKey",
|
@@ -2732,8 +2771,7 @@ module Aws::S3
|
|
2732
2771
|
# A map of metadata to store with the object in S3.
|
2733
2772
|
# @option options [String] :server_side_encryption
|
2734
2773
|
# The server-side encryption algorithm that was used when you store this
|
2735
|
-
# object in Amazon S3
|
2736
|
-
# `aws:kms:dsse`).
|
2774
|
+
# object in Amazon S3 or Amazon FSx.
|
2737
2775
|
#
|
2738
2776
|
# * <b>General purpose buckets </b> - You have four mutually exclusive
|
2739
2777
|
# options to protect data using server-side encryption in Amazon S3,
|
@@ -2787,6 +2825,14 @@ module Aws::S3
|
|
2787
2825
|
#
|
2788
2826
|
# </note>
|
2789
2827
|
#
|
2828
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data stored
|
2829
|
+
# in Amazon FSx file systems using S3 access points, the only valid
|
2830
|
+
# server side encryption option is `aws:fsx`. All Amazon FSx file
|
2831
|
+
# systems have encryption configured by default and are encrypted at
|
2832
|
+
# rest. Data is automatically encrypted before being written to the
|
2833
|
+
# file system, and automatically decrypted as it is read. These
|
2834
|
+
# processes are handled transparently by Amazon FSx.
|
2835
|
+
#
|
2790
2836
|
#
|
2791
2837
|
#
|
2792
2838
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
|
@@ -3059,7 +3105,7 @@ module Aws::S3
|
|
3059
3105
|
# bucket_name: "BucketName", # required
|
3060
3106
|
# prefix: "LocationPrefix", # required
|
3061
3107
|
# encryption: {
|
3062
|
-
# encryption_type: "AES256", # required, accepts AES256, aws:kms, aws:kms:dsse
|
3108
|
+
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
3063
3109
|
# kms_key_id: "SSEKMSKeyId",
|
3064
3110
|
# kms_context: "KMSContext",
|
3065
3111
|
# },
|
@@ -3090,7 +3136,7 @@ module Aws::S3
|
|
3090
3136
|
# value: "MetadataValue",
|
3091
3137
|
# },
|
3092
3138
|
# ],
|
3093
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
3139
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
3094
3140
|
# },
|
3095
3141
|
# },
|
3096
3142
|
# },
|
@@ -359,8 +359,8 @@ module Aws::S3
|
|
359
359
|
# },
|
360
360
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
361
361
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
362
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
|
363
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
362
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
363
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
364
364
|
# website_redirect_location: "WebsiteRedirectLocation",
|
365
365
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
366
366
|
# sse_customer_key: "SSECustomerKey",
|
@@ -750,6 +750,14 @@ module Aws::S3
|
|
750
750
|
# key is the same customer managed key that you specified for the
|
751
751
|
# directory bucket's default encryption configuration.
|
752
752
|
#
|
753
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data stored
|
754
|
+
# in Amazon FSx file systems using S3 access points, the only valid
|
755
|
+
# server side encryption option is `aws:fsx`. All Amazon FSx file
|
756
|
+
# systems have encryption configured by default and are encrypted at
|
757
|
+
# rest. Data is automatically encrypted before being written to the
|
758
|
+
# file system, and automatically decrypted as it is read. These
|
759
|
+
# processes are handled transparently by Amazon FSx.
|
760
|
+
#
|
753
761
|
#
|
754
762
|
#
|
755
763
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
|
@@ -1448,8 +1456,8 @@ module Aws::S3
|
|
1448
1456
|
# metadata: {
|
1449
1457
|
# "MetadataKey" => "MetadataValue",
|
1450
1458
|
# },
|
1451
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
|
1452
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
1459
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
1460
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
1453
1461
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1454
1462
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1455
1463
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1766,7 +1774,7 @@ module Aws::S3
|
|
1766
1774
|
# A map of metadata to store with the object in S3.
|
1767
1775
|
# @option options [String] :server_side_encryption
|
1768
1776
|
# The server-side encryption algorithm used when you store this object
|
1769
|
-
# in Amazon S3
|
1777
|
+
# in Amazon S3 or Amazon FSx.
|
1770
1778
|
#
|
1771
1779
|
# * <b>Directory buckets </b> - For directory buckets, there are only
|
1772
1780
|
# two supported options for server-side encryption: server-side
|
@@ -1808,6 +1816,14 @@ module Aws::S3
|
|
1808
1816
|
#
|
1809
1817
|
# </note>
|
1810
1818
|
#
|
1819
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data stored
|
1820
|
+
# in Amazon FSx file systems using S3 access points, the only valid
|
1821
|
+
# server side encryption option is `aws:fsx`. All Amazon FSx file
|
1822
|
+
# systems have encryption configured by default and are encrypted at
|
1823
|
+
# rest. Data is automatically encrypted before being written to the
|
1824
|
+
# file system, and automatically decrypted as it is read. These
|
1825
|
+
# processes are handled transparently by Amazon FSx.
|
1826
|
+
#
|
1811
1827
|
#
|
1812
1828
|
#
|
1813
1829
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
|
@@ -2041,8 +2057,8 @@ module Aws::S3
|
|
2041
2057
|
# metadata: {
|
2042
2058
|
# "MetadataKey" => "MetadataValue",
|
2043
2059
|
# },
|
2044
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
|
2045
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
2060
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
2061
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
2046
2062
|
# website_redirect_location: "WebsiteRedirectLocation",
|
2047
2063
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
2048
2064
|
# sse_customer_key: "SSECustomerKey",
|
@@ -2352,8 +2368,7 @@ module Aws::S3
|
|
2352
2368
|
# A map of metadata to store with the object in S3.
|
2353
2369
|
# @option options [String] :server_side_encryption
|
2354
2370
|
# The server-side encryption algorithm that was used when you store this
|
2355
|
-
# object in Amazon S3
|
2356
|
-
# `aws:kms:dsse`).
|
2371
|
+
# object in Amazon S3 or Amazon FSx.
|
2357
2372
|
#
|
2358
2373
|
# * <b>General purpose buckets </b> - You have four mutually exclusive
|
2359
2374
|
# options to protect data using server-side encryption in Amazon S3,
|
@@ -2407,6 +2422,14 @@ module Aws::S3
|
|
2407
2422
|
#
|
2408
2423
|
# </note>
|
2409
2424
|
#
|
2425
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data stored
|
2426
|
+
# in Amazon FSx file systems using S3 access points, the only valid
|
2427
|
+
# server side encryption option is `aws:fsx`. All Amazon FSx file
|
2428
|
+
# systems have encryption configured by default and are encrypted at
|
2429
|
+
# rest. Data is automatically encrypted before being written to the
|
2430
|
+
# file system, and automatically decrypted as it is read. These
|
2431
|
+
# processes are handled transparently by Amazon FSx.
|
2432
|
+
#
|
2410
2433
|
#
|
2411
2434
|
#
|
2412
2435
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
|
@@ -2679,7 +2702,7 @@ module Aws::S3
|
|
2679
2702
|
# bucket_name: "BucketName", # required
|
2680
2703
|
# prefix: "LocationPrefix", # required
|
2681
2704
|
# encryption: {
|
2682
|
-
# encryption_type: "AES256", # required, accepts AES256, aws:kms, aws:kms:dsse
|
2705
|
+
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
2683
2706
|
# kms_key_id: "SSEKMSKeyId",
|
2684
2707
|
# kms_context: "KMSContext",
|
2685
2708
|
# },
|
@@ -2710,7 +2733,7 @@ module Aws::S3
|
|
2710
2733
|
# value: "MetadataValue",
|
2711
2734
|
# },
|
2712
2735
|
# ],
|
2713
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE
|
2736
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
2714
2737
|
# },
|
2715
2738
|
# },
|
2716
2739
|
# },
|
data/lib/aws-sdk-s3/resource.rb
CHANGED
@@ -50,6 +50,12 @@ module Aws::S3
|
|
50
50
|
# data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone, SingleLocalZone
|
51
51
|
# type: "Directory", # accepts Directory
|
52
52
|
# },
|
53
|
+
# tags: [
|
54
|
+
# {
|
55
|
+
# key: "ObjectKey", # required
|
56
|
+
# value: "Value", # required
|
57
|
+
# },
|
58
|
+
# ],
|
53
59
|
# },
|
54
60
|
# grant_full_control: "GrantFullControl",
|
55
61
|
# grant_read: "GrantRead",
|