aws-sdk-s3 1.82.0 → 1.83.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/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/bucket.rb +20 -2
- data/lib/aws-sdk-s3/client.rb +302 -77
- data/lib/aws-sdk-s3/client_api.rb +61 -0
- data/lib/aws-sdk-s3/object.rb +60 -4
- data/lib/aws-sdk-s3/object_acl.rb +8 -0
- data/lib/aws-sdk-s3/object_summary.rb +60 -4
- data/lib/aws-sdk-s3/object_version.rb +5 -1
- data/lib/aws-sdk-s3/types.rb +348 -120
- metadata +2 -2
@@ -115,6 +115,7 @@ module Aws::S3
|
|
115
115
|
DeleteBucketInventoryConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketInventoryConfigurationRequest')
|
116
116
|
DeleteBucketLifecycleRequest = Shapes::StructureShape.new(name: 'DeleteBucketLifecycleRequest')
|
117
117
|
DeleteBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketMetricsConfigurationRequest')
|
118
|
+
DeleteBucketOwnershipControlsRequest = Shapes::StructureShape.new(name: 'DeleteBucketOwnershipControlsRequest')
|
118
119
|
DeleteBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteBucketPolicyRequest')
|
119
120
|
DeleteBucketReplicationRequest = Shapes::StructureShape.new(name: 'DeleteBucketReplicationRequest')
|
120
121
|
DeleteBucketRequest = Shapes::StructureShape.new(name: 'DeleteBucketRequest')
|
@@ -193,6 +194,8 @@ module Aws::S3
|
|
193
194
|
GetBucketMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketMetricsConfigurationOutput')
|
194
195
|
GetBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketMetricsConfigurationRequest')
|
195
196
|
GetBucketNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketNotificationConfigurationRequest')
|
197
|
+
GetBucketOwnershipControlsOutput = Shapes::StructureShape.new(name: 'GetBucketOwnershipControlsOutput')
|
198
|
+
GetBucketOwnershipControlsRequest = Shapes::StructureShape.new(name: 'GetBucketOwnershipControlsRequest')
|
196
199
|
GetBucketPolicyOutput = Shapes::StructureShape.new(name: 'GetBucketPolicyOutput')
|
197
200
|
GetBucketPolicyRequest = Shapes::StructureShape.new(name: 'GetBucketPolicyRequest')
|
198
201
|
GetBucketPolicyStatusOutput = Shapes::StructureShape.new(name: 'GetBucketPolicyStatusOutput')
|
@@ -362,6 +365,7 @@ module Aws::S3
|
|
362
365
|
ObjectLockRule = Shapes::StructureShape.new(name: 'ObjectLockRule')
|
363
366
|
ObjectLockToken = Shapes::StringShape.new(name: 'ObjectLockToken')
|
364
367
|
ObjectNotInActiveTierError = Shapes::StructureShape.new(name: 'ObjectNotInActiveTierError')
|
368
|
+
ObjectOwnership = Shapes::StringShape.new(name: 'ObjectOwnership')
|
365
369
|
ObjectStorageClass = Shapes::StringShape.new(name: 'ObjectStorageClass')
|
366
370
|
ObjectVersion = Shapes::StructureShape.new(name: 'ObjectVersion')
|
367
371
|
ObjectVersionId = Shapes::StringShape.new(name: 'ObjectVersionId')
|
@@ -371,6 +375,9 @@ module Aws::S3
|
|
371
375
|
OutputSerialization = Shapes::StructureShape.new(name: 'OutputSerialization')
|
372
376
|
Owner = Shapes::StructureShape.new(name: 'Owner')
|
373
377
|
OwnerOverride = Shapes::StringShape.new(name: 'OwnerOverride')
|
378
|
+
OwnershipControls = Shapes::StructureShape.new(name: 'OwnershipControls')
|
379
|
+
OwnershipControlsRule = Shapes::StructureShape.new(name: 'OwnershipControlsRule')
|
380
|
+
OwnershipControlsRules = Shapes::ListShape.new(name: 'OwnershipControlsRules', flattened: true)
|
374
381
|
ParquetInput = Shapes::StructureShape.new(name: 'ParquetInput')
|
375
382
|
Part = Shapes::StructureShape.new(name: 'Part')
|
376
383
|
PartNumber = Shapes::IntegerShape.new(name: 'PartNumber')
|
@@ -399,6 +406,7 @@ module Aws::S3
|
|
399
406
|
PutBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketMetricsConfigurationRequest')
|
400
407
|
PutBucketNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketNotificationConfigurationRequest')
|
401
408
|
PutBucketNotificationRequest = Shapes::StructureShape.new(name: 'PutBucketNotificationRequest')
|
409
|
+
PutBucketOwnershipControlsRequest = Shapes::StructureShape.new(name: 'PutBucketOwnershipControlsRequest')
|
402
410
|
PutBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutBucketPolicyRequest')
|
403
411
|
PutBucketReplicationRequest = Shapes::StructureShape.new(name: 'PutBucketReplicationRequest')
|
404
412
|
PutBucketRequestPaymentRequest = Shapes::StructureShape.new(name: 'PutBucketRequestPaymentRequest')
|
@@ -839,6 +847,10 @@ module Aws::S3
|
|
839
847
|
DeleteBucketMetricsConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
840
848
|
DeleteBucketMetricsConfigurationRequest.struct_class = Types::DeleteBucketMetricsConfigurationRequest
|
841
849
|
|
850
|
+
DeleteBucketOwnershipControlsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
851
|
+
DeleteBucketOwnershipControlsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
852
|
+
DeleteBucketOwnershipControlsRequest.struct_class = Types::DeleteBucketOwnershipControlsRequest
|
853
|
+
|
842
854
|
DeleteBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
843
855
|
DeleteBucketPolicyRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
844
856
|
DeleteBucketPolicyRequest.struct_class = Types::DeleteBucketPolicyRequest
|
@@ -1057,6 +1069,15 @@ module Aws::S3
|
|
1057
1069
|
GetBucketNotificationConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1058
1070
|
GetBucketNotificationConfigurationRequest.struct_class = Types::GetBucketNotificationConfigurationRequest
|
1059
1071
|
|
1072
|
+
GetBucketOwnershipControlsOutput.add_member(:ownership_controls, Shapes::ShapeRef.new(shape: OwnershipControls, location_name: "OwnershipControls"))
|
1073
|
+
GetBucketOwnershipControlsOutput.struct_class = Types::GetBucketOwnershipControlsOutput
|
1074
|
+
GetBucketOwnershipControlsOutput[:payload] = :ownership_controls
|
1075
|
+
GetBucketOwnershipControlsOutput[:payload_member] = GetBucketOwnershipControlsOutput.member(:ownership_controls)
|
1076
|
+
|
1077
|
+
GetBucketOwnershipControlsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1078
|
+
GetBucketOwnershipControlsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1079
|
+
GetBucketOwnershipControlsRequest.struct_class = Types::GetBucketOwnershipControlsRequest
|
1080
|
+
|
1060
1081
|
GetBucketPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
1061
1082
|
GetBucketPolicyOutput.struct_class = Types::GetBucketPolicyOutput
|
1062
1083
|
GetBucketPolicyOutput[:payload] = :policy
|
@@ -1692,6 +1713,14 @@ module Aws::S3
|
|
1692
1713
|
Owner.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "ID"))
|
1693
1714
|
Owner.struct_class = Types::Owner
|
1694
1715
|
|
1716
|
+
OwnershipControls.add_member(:rules, Shapes::ShapeRef.new(shape: OwnershipControlsRules, required: true, location_name: "Rule"))
|
1717
|
+
OwnershipControls.struct_class = Types::OwnershipControls
|
1718
|
+
|
1719
|
+
OwnershipControlsRule.add_member(:object_ownership, Shapes::ShapeRef.new(shape: ObjectOwnership, required: true, location_name: "ObjectOwnership"))
|
1720
|
+
OwnershipControlsRule.struct_class = Types::OwnershipControlsRule
|
1721
|
+
|
1722
|
+
OwnershipControlsRules.member = Shapes::ShapeRef.new(shape: OwnershipControlsRule)
|
1723
|
+
|
1695
1724
|
ParquetInput.struct_class = Types::ParquetInput
|
1696
1725
|
|
1697
1726
|
Part.add_member(:part_number, Shapes::ShapeRef.new(shape: PartNumber, location_name: "PartNumber"))
|
@@ -1818,6 +1847,14 @@ module Aws::S3
|
|
1818
1847
|
PutBucketNotificationRequest[:payload] = :notification_configuration
|
1819
1848
|
PutBucketNotificationRequest[:payload_member] = PutBucketNotificationRequest.member(:notification_configuration)
|
1820
1849
|
|
1850
|
+
PutBucketOwnershipControlsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1851
|
+
PutBucketOwnershipControlsRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1852
|
+
PutBucketOwnershipControlsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1853
|
+
PutBucketOwnershipControlsRequest.add_member(:ownership_controls, Shapes::ShapeRef.new(shape: OwnershipControls, required: true, location_name: "OwnershipControls", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1854
|
+
PutBucketOwnershipControlsRequest.struct_class = Types::PutBucketOwnershipControlsRequest
|
1855
|
+
PutBucketOwnershipControlsRequest[:payload] = :ownership_controls
|
1856
|
+
PutBucketOwnershipControlsRequest[:payload_member] = PutBucketOwnershipControlsRequest.member(:ownership_controls)
|
1857
|
+
|
1821
1858
|
PutBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1822
1859
|
PutBucketPolicyRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, deprecated: true, location: "header", location_name: "Content-MD5", metadata: {"deprecatedMessage"=>"Content-MD5 header will now be automatically computed and injected in associated operation's Http request."}))
|
1823
1860
|
PutBucketPolicyRequest.add_member(:confirm_remove_self_bucket_access, Shapes::ShapeRef.new(shape: ConfirmRemoveSelfBucketAccess, location: "header", location_name: "x-amz-confirm-remove-self-bucket-access"))
|
@@ -2415,6 +2452,14 @@ module Aws::S3
|
|
2415
2452
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2416
2453
|
end)
|
2417
2454
|
|
2455
|
+
api.add_operation(:delete_bucket_ownership_controls, Seahorse::Model::Operation.new.tap do |o|
|
2456
|
+
o.name = "DeleteBucketOwnershipControls"
|
2457
|
+
o.http_method = "DELETE"
|
2458
|
+
o.http_request_uri = "/{Bucket}?ownershipControls"
|
2459
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketOwnershipControlsRequest)
|
2460
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2461
|
+
end)
|
2462
|
+
|
2418
2463
|
api.add_operation(:delete_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
2419
2464
|
o.name = "DeleteBucketPolicy"
|
2420
2465
|
o.http_method = "DELETE"
|
@@ -2586,6 +2631,14 @@ module Aws::S3
|
|
2586
2631
|
o.output = Shapes::ShapeRef.new(shape: NotificationConfiguration)
|
2587
2632
|
end)
|
2588
2633
|
|
2634
|
+
api.add_operation(:get_bucket_ownership_controls, Seahorse::Model::Operation.new.tap do |o|
|
2635
|
+
o.name = "GetBucketOwnershipControls"
|
2636
|
+
o.http_method = "GET"
|
2637
|
+
o.http_request_uri = "/{Bucket}?ownershipControls"
|
2638
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketOwnershipControlsRequest)
|
2639
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketOwnershipControlsOutput)
|
2640
|
+
end)
|
2641
|
+
|
2589
2642
|
api.add_operation(:get_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
2590
2643
|
o.name = "GetBucketPolicy"
|
2591
2644
|
o.http_method = "GET"
|
@@ -2941,6 +2994,14 @@ module Aws::S3
|
|
2941
2994
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2942
2995
|
end)
|
2943
2996
|
|
2997
|
+
api.add_operation(:put_bucket_ownership_controls, Seahorse::Model::Operation.new.tap do |o|
|
2998
|
+
o.name = "PutBucketOwnershipControls"
|
2999
|
+
o.http_method = "PUT"
|
3000
|
+
o.http_request_uri = "/{Bucket}?ownershipControls"
|
3001
|
+
o.input = Shapes::ShapeRef.new(shape: PutBucketOwnershipControlsRequest)
|
3002
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3003
|
+
end)
|
3004
|
+
|
2944
3005
|
api.add_operation(:put_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
2945
3006
|
o.name = "PutBucketPolicy"
|
2946
3007
|
o.http_method = "PUT"
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -551,6 +551,8 @@ module Aws::S3
|
|
551
551
|
# @param [Hash] options ({})
|
552
552
|
# @option options [String] :acl
|
553
553
|
# The canned ACL to apply to the object.
|
554
|
+
#
|
555
|
+
# This action is not supported by Amazon S3 on Outposts.
|
554
556
|
# @option options [String] :cache_control
|
555
557
|
# Specifies caching behavior along the request/reply chain.
|
556
558
|
# @option options [String] :content_disposition
|
@@ -623,12 +625,20 @@ module Aws::S3
|
|
623
625
|
# @option options [String] :grant_full_control
|
624
626
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
625
627
|
# object.
|
628
|
+
#
|
629
|
+
# This action is not supported by Amazon S3 on Outposts.
|
626
630
|
# @option options [String] :grant_read
|
627
631
|
# Allows grantee to read the object data and its metadata.
|
632
|
+
#
|
633
|
+
# This action is not supported by Amazon S3 on Outposts.
|
628
634
|
# @option options [String] :grant_read_acp
|
629
635
|
# Allows grantee to read the object ACL.
|
636
|
+
#
|
637
|
+
# This action is not supported by Amazon S3 on Outposts.
|
630
638
|
# @option options [String] :grant_write_acp
|
631
639
|
# Allows grantee to write the ACL for the applicable object.
|
640
|
+
#
|
641
|
+
# This action is not supported by Amazon S3 on Outposts.
|
632
642
|
# @option options [Hash<String,String>] :metadata
|
633
643
|
# A map of metadata to store with the object in S3.
|
634
644
|
# @option options [String] :metadata_directive
|
@@ -641,7 +651,16 @@ module Aws::S3
|
|
641
651
|
# The server-side encryption algorithm used when storing this object in
|
642
652
|
# Amazon S3 (for example, AES256, aws:kms).
|
643
653
|
# @option options [String] :storage_class
|
644
|
-
#
|
654
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
655
|
+
# created objects. The STANDARD storage class provides high durability
|
656
|
+
# and high availability. Depending on performance needs, you can specify
|
657
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
658
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
659
|
+
# in the *Amazon S3 Service Developer Guide*.
|
660
|
+
#
|
661
|
+
#
|
662
|
+
#
|
663
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
645
664
|
# @option options [String] :website_redirect_location
|
646
665
|
# If the bucket is configured as a website, redirects requests for this
|
647
666
|
# object to another object in the same bucket or to an external URL.
|
@@ -907,6 +926,8 @@ module Aws::S3
|
|
907
926
|
# @param [Hash] options ({})
|
908
927
|
# @option options [String] :acl
|
909
928
|
# The canned ACL to apply to the object.
|
929
|
+
#
|
930
|
+
# This action is not supported by Amazon S3 on Outposts.
|
910
931
|
# @option options [String] :cache_control
|
911
932
|
# Specifies caching behavior along the request/reply chain.
|
912
933
|
# @option options [String] :content_disposition
|
@@ -924,19 +945,36 @@ module Aws::S3
|
|
924
945
|
# @option options [String] :grant_full_control
|
925
946
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
926
947
|
# object.
|
948
|
+
#
|
949
|
+
# This action is not supported by Amazon S3 on Outposts.
|
927
950
|
# @option options [String] :grant_read
|
928
951
|
# Allows grantee to read the object data and its metadata.
|
952
|
+
#
|
953
|
+
# This action is not supported by Amazon S3 on Outposts.
|
929
954
|
# @option options [String] :grant_read_acp
|
930
955
|
# Allows grantee to read the object ACL.
|
956
|
+
#
|
957
|
+
# This action is not supported by Amazon S3 on Outposts.
|
931
958
|
# @option options [String] :grant_write_acp
|
932
959
|
# Allows grantee to write the ACL for the applicable object.
|
960
|
+
#
|
961
|
+
# This action is not supported by Amazon S3 on Outposts.
|
933
962
|
# @option options [Hash<String,String>] :metadata
|
934
963
|
# A map of metadata to store with the object in S3.
|
935
964
|
# @option options [String] :server_side_encryption
|
936
965
|
# The server-side encryption algorithm used when storing this object in
|
937
966
|
# Amazon S3 (for example, AES256, aws:kms).
|
938
967
|
# @option options [String] :storage_class
|
939
|
-
#
|
968
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
969
|
+
# created objects. The STANDARD storage class provides high durability
|
970
|
+
# and high availability. Depending on performance needs, you can specify
|
971
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
972
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
973
|
+
# in the *Amazon S3 Service Developer Guide*.
|
974
|
+
#
|
975
|
+
#
|
976
|
+
#
|
977
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
940
978
|
# @option options [String] :website_redirect_location
|
941
979
|
# If the bucket is configured as a website, redirects requests for this
|
942
980
|
# object to another object in the same bucket or to an external URL.
|
@@ -1049,6 +1087,8 @@ module Aws::S3
|
|
1049
1087
|
# The canned ACL to apply to the object. For more information, see
|
1050
1088
|
# [Canned ACL][1].
|
1051
1089
|
#
|
1090
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1091
|
+
#
|
1052
1092
|
#
|
1053
1093
|
#
|
1054
1094
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
@@ -1120,20 +1160,36 @@ module Aws::S3
|
|
1120
1160
|
# @option options [String] :grant_full_control
|
1121
1161
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
1122
1162
|
# object.
|
1163
|
+
#
|
1164
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1123
1165
|
# @option options [String] :grant_read
|
1124
1166
|
# Allows grantee to read the object data and its metadata.
|
1167
|
+
#
|
1168
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1125
1169
|
# @option options [String] :grant_read_acp
|
1126
1170
|
# Allows grantee to read the object ACL.
|
1171
|
+
#
|
1172
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1127
1173
|
# @option options [String] :grant_write_acp
|
1128
1174
|
# Allows grantee to write the ACL for the applicable object.
|
1175
|
+
#
|
1176
|
+
# This action is not supported by Amazon S3 on Outposts.
|
1129
1177
|
# @option options [Hash<String,String>] :metadata
|
1130
1178
|
# A map of metadata to store with the object in S3.
|
1131
1179
|
# @option options [String] :server_side_encryption
|
1132
1180
|
# The server-side encryption algorithm used when storing this object in
|
1133
1181
|
# Amazon S3 (for example, AES256, aws:kms).
|
1134
1182
|
# @option options [String] :storage_class
|
1135
|
-
#
|
1136
|
-
#
|
1183
|
+
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
1184
|
+
# created objects. The STANDARD storage class provides high durability
|
1185
|
+
# and high availability. Depending on performance needs, you can specify
|
1186
|
+
# a different Storage Class. Amazon S3 on Outposts only uses the
|
1187
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
1188
|
+
# in the *Amazon S3 Service Developer Guide*.
|
1189
|
+
#
|
1190
|
+
#
|
1191
|
+
#
|
1192
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
1137
1193
|
# @option options [String] :website_redirect_location
|
1138
1194
|
# If the bucket is configured as a website, redirects requests for this
|
1139
1195
|
# object to another object in the same bucket or to an external URL.
|
@@ -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
|
@@ -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
|
@@ -388,12 +390,20 @@ module Aws::S3
|
|
388
390
|
# @option options [String] :grant_full_control
|
389
391
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
390
392
|
# object.
|
393
|
+
#
|
394
|
+
# This action is not supported by Amazon S3 on Outposts.
|
391
395
|
# @option options [String] :grant_read
|
392
396
|
# Allows grantee to read the object data and its metadata.
|
397
|
+
#
|
398
|
+
# This action is not supported by Amazon S3 on Outposts.
|
393
399
|
# @option options [String] :grant_read_acp
|
394
400
|
# Allows grantee to read the object ACL.
|
401
|
+
#
|
402
|
+
# This action is not supported by Amazon S3 on Outposts.
|
395
403
|
# @option options [String] :grant_write_acp
|
396
404
|
# Allows grantee to write the ACL for the applicable object.
|
405
|
+
#
|
406
|
+
# This action is not supported by Amazon S3 on Outposts.
|
397
407
|
# @option options [Hash<String,String>] :metadata
|
398
408
|
# A map of metadata to store with the object in S3.
|
399
409
|
# @option options [String] :metadata_directive
|
@@ -406,7 +416,16 @@ module Aws::S3
|
|
406
416
|
# The server-side encryption algorithm used when storing this object in
|
407
417
|
# Amazon S3 (for example, AES256, aws:kms).
|
408
418
|
# @option options [String] :storage_class
|
409
|
-
#
|
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
|
410
429
|
# @option options [String] :website_redirect_location
|
411
430
|
# If the bucket is configured as a website, redirects requests for this
|
412
431
|
# object to another object in the same bucket or to an external URL.
|
@@ -672,6 +691,8 @@ module Aws::S3
|
|
672
691
|
# @param [Hash] options ({})
|
673
692
|
# @option options [String] :acl
|
674
693
|
# The canned ACL to apply to the object.
|
694
|
+
#
|
695
|
+
# This action is not supported by Amazon S3 on Outposts.
|
675
696
|
# @option options [String] :cache_control
|
676
697
|
# Specifies caching behavior along the request/reply chain.
|
677
698
|
# @option options [String] :content_disposition
|
@@ -689,19 +710,36 @@ module Aws::S3
|
|
689
710
|
# @option options [String] :grant_full_control
|
690
711
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
691
712
|
# object.
|
713
|
+
#
|
714
|
+
# This action is not supported by Amazon S3 on Outposts.
|
692
715
|
# @option options [String] :grant_read
|
693
716
|
# Allows grantee to read the object data and its metadata.
|
717
|
+
#
|
718
|
+
# This action is not supported by Amazon S3 on Outposts.
|
694
719
|
# @option options [String] :grant_read_acp
|
695
720
|
# Allows grantee to read the object ACL.
|
721
|
+
#
|
722
|
+
# This action is not supported by Amazon S3 on Outposts.
|
696
723
|
# @option options [String] :grant_write_acp
|
697
724
|
# Allows grantee to write the ACL for the applicable object.
|
725
|
+
#
|
726
|
+
# This action is not supported by Amazon S3 on Outposts.
|
698
727
|
# @option options [Hash<String,String>] :metadata
|
699
728
|
# A map of metadata to store with the object in S3.
|
700
729
|
# @option options [String] :server_side_encryption
|
701
730
|
# The server-side encryption algorithm used when storing this object in
|
702
731
|
# Amazon S3 (for example, AES256, aws:kms).
|
703
732
|
# @option options [String] :storage_class
|
704
|
-
#
|
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
|
705
743
|
# @option options [String] :website_redirect_location
|
706
744
|
# If the bucket is configured as a website, redirects requests for this
|
707
745
|
# object to another object in the same bucket or to an external URL.
|
@@ -814,6 +852,8 @@ module Aws::S3
|
|
814
852
|
# The canned ACL to apply to the object. For more information, see
|
815
853
|
# [Canned ACL][1].
|
816
854
|
#
|
855
|
+
# This action is not supported by Amazon S3 on Outposts.
|
856
|
+
#
|
817
857
|
#
|
818
858
|
#
|
819
859
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
@@ -885,20 +925,36 @@ module Aws::S3
|
|
885
925
|
# @option options [String] :grant_full_control
|
886
926
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
887
927
|
# object.
|
928
|
+
#
|
929
|
+
# This action is not supported by Amazon S3 on Outposts.
|
888
930
|
# @option options [String] :grant_read
|
889
931
|
# Allows grantee to read the object data and its metadata.
|
932
|
+
#
|
933
|
+
# This action is not supported by Amazon S3 on Outposts.
|
890
934
|
# @option options [String] :grant_read_acp
|
891
935
|
# Allows grantee to read the object ACL.
|
936
|
+
#
|
937
|
+
# This action is not supported by Amazon S3 on Outposts.
|
892
938
|
# @option options [String] :grant_write_acp
|
893
939
|
# Allows grantee to write the ACL for the applicable object.
|
940
|
+
#
|
941
|
+
# This action is not supported by Amazon S3 on Outposts.
|
894
942
|
# @option options [Hash<String,String>] :metadata
|
895
943
|
# A map of metadata to store with the object in S3.
|
896
944
|
# @option options [String] :server_side_encryption
|
897
945
|
# The server-side encryption algorithm used when storing this object in
|
898
946
|
# Amazon S3 (for example, AES256, aws:kms).
|
899
947
|
# @option options [String] :storage_class
|
900
|
-
#
|
901
|
-
#
|
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
|
902
958
|
# @option options [String] :website_redirect_location
|
903
959
|
# If the bucket is configured as a website, redirects requests for this
|
904
960
|
# object to another object in the same bucket or to an external URL.
|
@@ -403,12 +403,16 @@ module Aws::S3
|
|
403
403
|
# @option options [String] :range
|
404
404
|
# Downloads the specified range bytes of an object. For more information
|
405
405
|
# about the HTTP Range header, see
|
406
|
-
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35]
|
406
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
|
407
407
|
#
|
408
408
|
# <note markdown="1"> Amazon S3 doesn't support retrieving multiple ranges of data per
|
409
409
|
# `GET` request.
|
410
410
|
#
|
411
411
|
# </note>
|
412
|
+
#
|
413
|
+
#
|
414
|
+
#
|
415
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
|
412
416
|
# @option options [String] :sse_customer_algorithm
|
413
417
|
# Specifies the algorithm to use to when encrypting the object (for
|
414
418
|
# example, AES256).
|