aws-sdk-s3 1.81.1 → 1.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +62 -0
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +71 -0
- data/lib/aws-sdk-s3/bucket.rb +21 -3
- data/lib/aws-sdk-s3/client.rb +1159 -276
- data/lib/aws-sdk-s3/client_api.rb +171 -1
- data/lib/aws-sdk-s3/customizations.rb +1 -1
- data/lib/aws-sdk-s3/customizations/bucket.rb +7 -4
- data/lib/aws-sdk-s3/customizations/object.rb +4 -3
- data/lib/aws-sdk-s3/errors.rb +21 -0
- data/lib/aws-sdk-s3/file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_upload_part.rb +12 -3
- data/lib/aws-sdk-s3/object.rb +79 -8
- data/lib/aws-sdk-s3/object_acl.rb +8 -0
- data/lib/aws-sdk-s3/object_summary.rb +73 -8
- data/lib/aws-sdk-s3/object_version.rb +5 -1
- data/lib/aws-sdk-s3/plugins/arn.rb +187 -0
- data/lib/aws-sdk-s3/plugins/bucket_dns.rb +0 -2
- data/lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb +1 -1
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +7 -2
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +29 -7
- data/lib/aws-sdk-s3/types.rb +1188 -177
- metadata +7 -5
- data/lib/aws-sdk-s3/plugins/bucket_arn.rb +0 -212
@@ -22,7 +22,7 @@ module Aws
|
|
22
22
|
# @return [Client]
|
23
23
|
attr_reader :client
|
24
24
|
|
25
|
-
# @return [Integer] Files larger than this in bytes are uploaded
|
25
|
+
# @return [Integer] Files larger than or equal to this in bytes are uploaded
|
26
26
|
# using a {MultipartFileUploader}.
|
27
27
|
attr_reader :multipart_threshold
|
28
28
|
|
@@ -241,9 +241,9 @@ module Aws::S3
|
|
241
241
|
# Resource Name (ARN) of the object as accessed through the access
|
242
242
|
# point, in the format
|
243
243
|
# `arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key>`.
|
244
|
-
# For example, to copy the object `reports/january.pdf` through
|
245
|
-
#
|
246
|
-
#
|
244
|
+
# For example, to copy the object `reports/january.pdf` through access
|
245
|
+
# point `my-access-point` owned by account `123456789012` in Region
|
246
|
+
# `us-west-2`, use the URL encoding of
|
247
247
|
# `arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf`.
|
248
248
|
# The value must be URL encoded.
|
249
249
|
#
|
@@ -252,6 +252,15 @@ module Aws::S3
|
|
252
252
|
#
|
253
253
|
# </note>
|
254
254
|
#
|
255
|
+
# Alternatively, for objects accessed through Amazon S3 on Outposts,
|
256
|
+
# specify the ARN of the object as accessed in the format
|
257
|
+
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key>`.
|
258
|
+
# For example, to copy the object `reports/january.pdf` through
|
259
|
+
# outpost `my-outpost` owned by account `123456789012` in Region
|
260
|
+
# `us-west-2`, use the URL encoding of
|
261
|
+
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
|
262
|
+
# The value must be URL encoded.
|
263
|
+
#
|
255
264
|
# To copy a specific version of an object, append
|
256
265
|
# `?versionId=<version-id>` to the value (for example,
|
257
266
|
# `awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`).
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -91,6 +91,12 @@ module Aws::S3
|
|
91
91
|
data[:restore]
|
92
92
|
end
|
93
93
|
|
94
|
+
# The archive state of the head object.
|
95
|
+
# @return [String]
|
96
|
+
def archive_status
|
97
|
+
data[:archive_status]
|
98
|
+
end
|
99
|
+
|
94
100
|
# Last modified date of the object
|
95
101
|
# @return [Time]
|
96
102
|
def last_modified
|
@@ -530,7 +536,7 @@ module Aws::S3
|
|
530
536
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
531
537
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
532
538
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
533
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
539
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
534
540
|
# website_redirect_location: "WebsiteRedirectLocation",
|
535
541
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
536
542
|
# sse_customer_key: "SSECustomerKey",
|
@@ -551,6 +557,8 @@ module Aws::S3
|
|
551
557
|
# @param [Hash] options ({})
|
552
558
|
# @option options [String] :acl
|
553
559
|
# The canned ACL to apply to the object.
|
560
|
+
#
|
561
|
+
# This action is not supported by Amazon S3 on Outposts.
|
554
562
|
# @option options [String] :cache_control
|
555
563
|
# Specifies caching behavior along the request/reply chain.
|
556
564
|
# @option options [String] :content_disposition
|
@@ -590,6 +598,15 @@ module Aws::S3
|
|
590
598
|
#
|
591
599
|
# </note>
|
592
600
|
#
|
601
|
+
# Alternatively, for objects accessed through Amazon S3 on Outposts,
|
602
|
+
# specify the ARN of the object as accessed in the format
|
603
|
+
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key>`.
|
604
|
+
# For example, to copy the object `reports/january.pdf` through
|
605
|
+
# outpost `my-outpost` owned by account `123456789012` in Region
|
606
|
+
# `us-west-2`, use the URL encoding of
|
607
|
+
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
|
608
|
+
# The value must be URL encoded.
|
609
|
+
#
|
593
610
|
# To copy a specific version of an object, append
|
594
611
|
# `?versionId=<version-id>` to the value (for example,
|
595
612
|
# `awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`).
|
@@ -614,12 +631,20 @@ module Aws::S3
|
|
614
631
|
# @option options [String] :grant_full_control
|
615
632
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
616
633
|
# object.
|
634
|
+
#
|
635
|
+
# This action is not supported by Amazon S3 on Outposts.
|
617
636
|
# @option options [String] :grant_read
|
618
637
|
# Allows grantee to read the object data and its metadata.
|
638
|
+
#
|
639
|
+
# This action is not supported by Amazon S3 on Outposts.
|
619
640
|
# @option options [String] :grant_read_acp
|
620
641
|
# Allows grantee to read the object ACL.
|
642
|
+
#
|
643
|
+
# This action is not supported by Amazon S3 on Outposts.
|
621
644
|
# @option options [String] :grant_write_acp
|
622
645
|
# Allows grantee to write the ACL for the applicable object.
|
646
|
+
#
|
647
|
+
# This action is not supported by Amazon S3 on Outposts.
|
623
648
|
# @option options [Hash<String,String>] :metadata
|
624
649
|
# A map of metadata to store with the object in S3.
|
625
650
|
# @option options [String] :metadata_directive
|
@@ -632,7 +657,16 @@ module Aws::S3
|
|
632
657
|
# The server-side encryption algorithm used when storing this object in
|
633
658
|
# Amazon S3 (for example, AES256, aws:kms).
|
634
659
|
# @option options [String] :storage_class
|
635
|
-
#
|
660
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
661
|
+
# created objects. The STANDARD storage class provides high durability
|
662
|
+
# and high availability. Depending on performance needs, you can specify
|
663
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
664
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
665
|
+
# in the *Amazon S3 Service Developer Guide*.
|
666
|
+
#
|
667
|
+
#
|
668
|
+
#
|
669
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
636
670
|
# @option options [String] :website_redirect_location
|
637
671
|
# If the bucket is configured as a website, redirects requests for this
|
638
672
|
# object to another object in the same bucket or to an external URL.
|
@@ -881,7 +915,7 @@ module Aws::S3
|
|
881
915
|
# "MetadataKey" => "MetadataValue",
|
882
916
|
# },
|
883
917
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
884
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
918
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
885
919
|
# website_redirect_location: "WebsiteRedirectLocation",
|
886
920
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
887
921
|
# sse_customer_key: "SSECustomerKey",
|
@@ -898,6 +932,8 @@ module Aws::S3
|
|
898
932
|
# @param [Hash] options ({})
|
899
933
|
# @option options [String] :acl
|
900
934
|
# The canned ACL to apply to the object.
|
935
|
+
#
|
936
|
+
# This action is not supported by Amazon S3 on Outposts.
|
901
937
|
# @option options [String] :cache_control
|
902
938
|
# Specifies caching behavior along the request/reply chain.
|
903
939
|
# @option options [String] :content_disposition
|
@@ -915,19 +951,36 @@ module Aws::S3
|
|
915
951
|
# @option options [String] :grant_full_control
|
916
952
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
917
953
|
# object.
|
954
|
+
#
|
955
|
+
# This action is not supported by Amazon S3 on Outposts.
|
918
956
|
# @option options [String] :grant_read
|
919
957
|
# Allows grantee to read the object data and its metadata.
|
958
|
+
#
|
959
|
+
# This action is not supported by Amazon S3 on Outposts.
|
920
960
|
# @option options [String] :grant_read_acp
|
921
961
|
# Allows grantee to read the object ACL.
|
962
|
+
#
|
963
|
+
# This action is not supported by Amazon S3 on Outposts.
|
922
964
|
# @option options [String] :grant_write_acp
|
923
965
|
# Allows grantee to write the ACL for the applicable object.
|
966
|
+
#
|
967
|
+
# This action is not supported by Amazon S3 on Outposts.
|
924
968
|
# @option options [Hash<String,String>] :metadata
|
925
969
|
# A map of metadata to store with the object in S3.
|
926
970
|
# @option options [String] :server_side_encryption
|
927
971
|
# The server-side encryption algorithm used when storing this object in
|
928
972
|
# Amazon S3 (for example, AES256, aws:kms).
|
929
973
|
# @option options [String] :storage_class
|
930
|
-
#
|
974
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
975
|
+
# created objects. The STANDARD storage class provides high durability
|
976
|
+
# and high availability. Depending on performance needs, you can specify
|
977
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
978
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
979
|
+
# in the *Amazon S3 Service Developer Guide*.
|
980
|
+
#
|
981
|
+
#
|
982
|
+
#
|
983
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
931
984
|
# @option options [String] :website_redirect_location
|
932
985
|
# If the bucket is configured as a website, redirects requests for this
|
933
986
|
# object to another object in the same bucket or to an external URL.
|
@@ -1021,7 +1074,7 @@ module Aws::S3
|
|
1021
1074
|
# "MetadataKey" => "MetadataValue",
|
1022
1075
|
# },
|
1023
1076
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1024
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
1077
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1025
1078
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1026
1079
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1027
1080
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1040,6 +1093,8 @@ module Aws::S3
|
|
1040
1093
|
# The canned ACL to apply to the object. For more information, see
|
1041
1094
|
# [Canned ACL][1].
|
1042
1095
|
#
|
1096
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1097
|
+
#
|
1043
1098
|
#
|
1044
1099
|
#
|
1045
1100
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
@@ -1111,20 +1166,36 @@ module Aws::S3
|
|
1111
1166
|
# @option options [String] :grant_full_control
|
1112
1167
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
1113
1168
|
# object.
|
1169
|
+
#
|
1170
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1114
1171
|
# @option options [String] :grant_read
|
1115
1172
|
# Allows grantee to read the object data and its metadata.
|
1173
|
+
#
|
1174
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1116
1175
|
# @option options [String] :grant_read_acp
|
1117
1176
|
# Allows grantee to read the object ACL.
|
1177
|
+
#
|
1178
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1118
1179
|
# @option options [String] :grant_write_acp
|
1119
1180
|
# Allows grantee to write the ACL for the applicable object.
|
1181
|
+
#
|
1182
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1120
1183
|
# @option options [Hash<String,String>] :metadata
|
1121
1184
|
# A map of metadata to store with the object in S3.
|
1122
1185
|
# @option options [String] :server_side_encryption
|
1123
1186
|
# The server-side encryption algorithm used when storing this object in
|
1124
1187
|
# Amazon S3 (for example, AES256, aws:kms).
|
1125
1188
|
# @option options [String] :storage_class
|
1126
|
-
#
|
1127
|
-
#
|
1189
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
1190
|
+
# created objects. The STANDARD storage class provides high durability
|
1191
|
+
# and high availability. Depending on performance needs, you can specify
|
1192
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
1193
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
1194
|
+
# in the *Amazon S3 Service Developer Guide*.
|
1195
|
+
#
|
1196
|
+
#
|
1197
|
+
#
|
1198
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
1128
1199
|
# @option options [String] :website_redirect_location
|
1129
1200
|
# If the bucket is configured as a website, redirects requests for this
|
1130
1201
|
# object to another object in the same bucket or to an external URL.
|
@@ -1298,7 +1369,7 @@ module Aws::S3
|
|
1298
1369
|
# value: "MetadataValue",
|
1299
1370
|
# },
|
1300
1371
|
# ],
|
1301
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
1372
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1302
1373
|
# },
|
1303
1374
|
# },
|
1304
1375
|
# },
|
@@ -253,15 +253,23 @@ module Aws::S3
|
|
253
253
|
# @option options [String] :grant_full_control
|
254
254
|
# Allows grantee the read, write, read ACP, and write ACP permissions on
|
255
255
|
# the bucket.
|
256
|
+
#
|
257
|
+
# This action is not supported by Amazon S3 on Outposts.
|
256
258
|
# @option options [String] :grant_read
|
257
259
|
# Allows grantee to list the objects in the bucket.
|
260
|
+
#
|
261
|
+
# This action is not supported by Amazon S3 on Outposts.
|
258
262
|
# @option options [String] :grant_read_acp
|
259
263
|
# Allows grantee to read the bucket ACL.
|
264
|
+
#
|
265
|
+
# This action is not supported by Amazon S3 on Outposts.
|
260
266
|
# @option options [String] :grant_write
|
261
267
|
# Allows grantee to create, overwrite, and delete any object in the
|
262
268
|
# bucket.
|
263
269
|
# @option options [String] :grant_write_acp
|
264
270
|
# Allows grantee to write the ACL for the applicable bucket.
|
271
|
+
#
|
272
|
+
# This action is not supported by Amazon S3 on Outposts.
|
265
273
|
# @option options [String] :request_payer
|
266
274
|
# Confirms that the requester knows that they will be charged for the
|
267
275
|
# request. Bucket owners need not specify this parameter in their
|
@@ -295,7 +295,7 @@ module Aws::S3
|
|
295
295
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
296
296
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
297
297
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
298
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
298
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
299
299
|
# website_redirect_location: "WebsiteRedirectLocation",
|
300
300
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
301
301
|
# sse_customer_key: "SSECustomerKey",
|
@@ -316,6 +316,8 @@ module Aws::S3
|
|
316
316
|
# @param [Hash] options ({})
|
317
317
|
# @option options [String] :acl
|
318
318
|
# The canned ACL to apply to the object.
|
319
|
+
#
|
320
|
+
# This action is not supported by Amazon S3 on Outposts.
|
319
321
|
# @option options [String] :cache_control
|
320
322
|
# Specifies caching behavior along the request/reply chain.
|
321
323
|
# @option options [String] :content_disposition
|
@@ -355,6 +357,15 @@ module Aws::S3
|
|
355
357
|
#
|
356
358
|
# </note>
|
357
359
|
#
|
360
|
+
# Alternatively, for objects accessed through Amazon S3 on Outposts,
|
361
|
+
# specify the ARN of the object as accessed in the format
|
362
|
+
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key>`.
|
363
|
+
# For example, to copy the object `reports/january.pdf` through
|
364
|
+
# outpost `my-outpost` owned by account `123456789012` in Region
|
365
|
+
# `us-west-2`, use the URL encoding of
|
366
|
+
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
|
367
|
+
# The value must be URL encoded.
|
368
|
+
#
|
358
369
|
# To copy a specific version of an object, append
|
359
370
|
# `?versionId=<version-id>` to the value (for example,
|
360
371
|
# `awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`).
|
@@ -379,12 +390,20 @@ module Aws::S3
|
|
379
390
|
# @option options [String] :grant_full_control
|
380
391
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
381
392
|
# object.
|
393
|
+
#
|
394
|
+
# This action is not supported by Amazon S3 on Outposts.
|
382
395
|
# @option options [String] :grant_read
|
383
396
|
# Allows grantee to read the object data and its metadata.
|
397
|
+
#
|
398
|
+
# This action is not supported by Amazon S3 on Outposts.
|
384
399
|
# @option options [String] :grant_read_acp
|
385
400
|
# Allows grantee to read the object ACL.
|
401
|
+
#
|
402
|
+
# This action is not supported by Amazon S3 on Outposts.
|
386
403
|
# @option options [String] :grant_write_acp
|
387
404
|
# Allows grantee to write the ACL for the applicable object.
|
405
|
+
#
|
406
|
+
# This action is not supported by Amazon S3 on Outposts.
|
388
407
|
# @option options [Hash<String,String>] :metadata
|
389
408
|
# A map of metadata to store with the object in S3.
|
390
409
|
# @option options [String] :metadata_directive
|
@@ -397,7 +416,16 @@ module Aws::S3
|
|
397
416
|
# The server-side encryption algorithm used when storing this object in
|
398
417
|
# Amazon S3 (for example, AES256, aws:kms).
|
399
418
|
# @option options [String] :storage_class
|
400
|
-
#
|
419
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
420
|
+
# created objects. The STANDARD storage class provides high durability
|
421
|
+
# and high availability. Depending on performance needs, you can specify
|
422
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
423
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
424
|
+
# in the *Amazon S3 Service Developer Guide*.
|
425
|
+
#
|
426
|
+
#
|
427
|
+
#
|
428
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
401
429
|
# @option options [String] :website_redirect_location
|
402
430
|
# If the bucket is configured as a website, redirects requests for this
|
403
431
|
# object to another object in the same bucket or to an external URL.
|
@@ -646,7 +674,7 @@ module Aws::S3
|
|
646
674
|
# "MetadataKey" => "MetadataValue",
|
647
675
|
# },
|
648
676
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
649
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
677
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
650
678
|
# website_redirect_location: "WebsiteRedirectLocation",
|
651
679
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
652
680
|
# sse_customer_key: "SSECustomerKey",
|
@@ -663,6 +691,8 @@ module Aws::S3
|
|
663
691
|
# @param [Hash] options ({})
|
664
692
|
# @option options [String] :acl
|
665
693
|
# The canned ACL to apply to the object.
|
694
|
+
#
|
695
|
+
# This action is not supported by Amazon S3 on Outposts.
|
666
696
|
# @option options [String] :cache_control
|
667
697
|
# Specifies caching behavior along the request/reply chain.
|
668
698
|
# @option options [String] :content_disposition
|
@@ -680,19 +710,36 @@ module Aws::S3
|
|
680
710
|
# @option options [String] :grant_full_control
|
681
711
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
682
712
|
# object.
|
713
|
+
#
|
714
|
+
# This action is not supported by Amazon S3 on Outposts.
|
683
715
|
# @option options [String] :grant_read
|
684
716
|
# Allows grantee to read the object data and its metadata.
|
717
|
+
#
|
718
|
+
# This action is not supported by Amazon S3 on Outposts.
|
685
719
|
# @option options [String] :grant_read_acp
|
686
720
|
# Allows grantee to read the object ACL.
|
721
|
+
#
|
722
|
+
# This action is not supported by Amazon S3 on Outposts.
|
687
723
|
# @option options [String] :grant_write_acp
|
688
724
|
# Allows grantee to write the ACL for the applicable object.
|
725
|
+
#
|
726
|
+
# This action is not supported by Amazon S3 on Outposts.
|
689
727
|
# @option options [Hash<String,String>] :metadata
|
690
728
|
# A map of metadata to store with the object in S3.
|
691
729
|
# @option options [String] :server_side_encryption
|
692
730
|
# The server-side encryption algorithm used when storing this object in
|
693
731
|
# Amazon S3 (for example, AES256, aws:kms).
|
694
732
|
# @option options [String] :storage_class
|
695
|
-
#
|
733
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
734
|
+
# created objects. The STANDARD storage class provides high durability
|
735
|
+
# and high availability. Depending on performance needs, you can specify
|
736
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
737
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
738
|
+
# in the *Amazon S3 Service Developer Guide*.
|
739
|
+
#
|
740
|
+
#
|
741
|
+
#
|
742
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
696
743
|
# @option options [String] :website_redirect_location
|
697
744
|
# If the bucket is configured as a website, redirects requests for this
|
698
745
|
# object to another object in the same bucket or to an external URL.
|
@@ -786,7 +833,7 @@ module Aws::S3
|
|
786
833
|
# "MetadataKey" => "MetadataValue",
|
787
834
|
# },
|
788
835
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
789
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
836
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
790
837
|
# website_redirect_location: "WebsiteRedirectLocation",
|
791
838
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
792
839
|
# sse_customer_key: "SSECustomerKey",
|
@@ -805,6 +852,8 @@ module Aws::S3
|
|
805
852
|
# The canned ACL to apply to the object. For more information, see
|
806
853
|
# [Canned ACL][1].
|
807
854
|
#
|
855
|
+
# This action is not supported by Amazon S3 on Outposts.
|
856
|
+
#
|
808
857
|
#
|
809
858
|
#
|
810
859
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
@@ -876,20 +925,36 @@ module Aws::S3
|
|
876
925
|
# @option options [String] :grant_full_control
|
877
926
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
878
927
|
# object.
|
928
|
+
#
|
929
|
+
# This action is not supported by Amazon S3 on Outposts.
|
879
930
|
# @option options [String] :grant_read
|
880
931
|
# Allows grantee to read the object data and its metadata.
|
932
|
+
#
|
933
|
+
# This action is not supported by Amazon S3 on Outposts.
|
881
934
|
# @option options [String] :grant_read_acp
|
882
935
|
# Allows grantee to read the object ACL.
|
936
|
+
#
|
937
|
+
# This action is not supported by Amazon S3 on Outposts.
|
883
938
|
# @option options [String] :grant_write_acp
|
884
939
|
# Allows grantee to write the ACL for the applicable object.
|
940
|
+
#
|
941
|
+
# This action is not supported by Amazon S3 on Outposts.
|
885
942
|
# @option options [Hash<String,String>] :metadata
|
886
943
|
# A map of metadata to store with the object in S3.
|
887
944
|
# @option options [String] :server_side_encryption
|
888
945
|
# The server-side encryption algorithm used when storing this object in
|
889
946
|
# Amazon S3 (for example, AES256, aws:kms).
|
890
947
|
# @option options [String] :storage_class
|
891
|
-
#
|
892
|
-
#
|
948
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
949
|
+
# created objects. The STANDARD storage class provides high durability
|
950
|
+
# and high availability. Depending on performance needs, you can specify
|
951
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
952
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
953
|
+
# in the *Amazon S3 Service Developer Guide*.
|
954
|
+
#
|
955
|
+
#
|
956
|
+
#
|
957
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
893
958
|
# @option options [String] :website_redirect_location
|
894
959
|
# If the bucket is configured as a website, redirects requests for this
|
895
960
|
# object to another object in the same bucket or to an external URL.
|
@@ -1063,7 +1128,7 @@ module Aws::S3
|
|
1063
1128
|
# value: "MetadataValue",
|
1064
1129
|
# },
|
1065
1130
|
# ],
|
1066
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
1131
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1067
1132
|
# },
|
1068
1133
|
# },
|
1069
1134
|
# },
|