aws-sdk-s3 1.92.0 → 1.95.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +2 -4
- data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +2 -4
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +1 -3
- data/lib/aws-sdk-s3/bucket.rb +11 -11
- data/lib/aws-sdk-s3/bucket_acl.rb +4 -2
- data/lib/aws-sdk-s3/bucket_logging.rb +1 -2
- data/lib/aws-sdk-s3/client.rb +320 -287
- data/lib/aws-sdk-s3/customizations/object.rb +30 -11
- data/lib/aws-sdk-s3/file_uploader.rb +2 -2
- data/lib/aws-sdk-s3/multipart_upload.rb +3 -3
- data/lib/aws-sdk-s3/multipart_upload_part.rb +2 -2
- data/lib/aws-sdk-s3/object.rb +104 -20
- data/lib/aws-sdk-s3/object_acl.rb +5 -3
- data/lib/aws-sdk-s3/object_summary.rb +17 -19
- data/lib/aws-sdk-s3/object_version.rb +4 -4
- data/lib/aws-sdk-s3/plugins/arn.rb +37 -21
- data/lib/aws-sdk-s3/presigner.rb +12 -3
- data/lib/aws-sdk-s3/resource.rb +4 -2
- data/lib/aws-sdk-s3/types.rb +209 -195
- metadata +5 -6
@@ -153,21 +153,35 @@ module Aws
|
|
153
153
|
# obj.presigned_url(:put, acl: 'public-read')
|
154
154
|
# #=> "https://bucket-name.s3.amazonaws.com/object-key?..."
|
155
155
|
#
|
156
|
-
# @
|
157
|
-
#
|
158
|
-
#
|
156
|
+
# @example Pre-signed UploadPart PUT
|
157
|
+
#
|
158
|
+
# # the object uploaded using this URL will be publicly accessible
|
159
|
+
# obj.presigned_url(:upload_part, part_number: 1, upload_id: 'uploadIdToken')
|
160
|
+
# #=> "https://bucket-name.s3.amazonaws.com/object-key?..."
|
161
|
+
#
|
162
|
+
# @param [Symbol] method
|
163
|
+
# The S3 operation to generate a presigned URL for. Valid values
|
164
|
+
# are `:get`, `:put`, `:head`, `:delete`, `:create_multipart_upload`,
|
165
|
+
# `:list_multipart_uploads`, `:complete_multipart_upload`,
|
166
|
+
# `:abort_multipart_upload`, `:list_parts`, and `:upload_part`.
|
159
167
|
#
|
160
168
|
# @param [Hash] params
|
161
169
|
# Additional request parameters to use when generating the pre-signed
|
162
170
|
# URL. See the related documentation in {Client} for accepted
|
163
171
|
# params.
|
164
172
|
#
|
165
|
-
# |
|
166
|
-
#
|
167
|
-
# | `:get`
|
168
|
-
# | `:put`
|
169
|
-
# | `:head`
|
170
|
-
# | `:delete`
|
173
|
+
# | Method | Client Method |
|
174
|
+
# |------------------------------|------------------------------------|
|
175
|
+
# | `:get` | {Client#get_object} |
|
176
|
+
# | `:put` | {Client#put_object} |
|
177
|
+
# | `:head` | {Client#head_object} |
|
178
|
+
# | `:delete` | {Client#delete_object} |
|
179
|
+
# | `:create_multipart_upload` | {Client#create_multipart_upload} |
|
180
|
+
# | `:list_multipart_uploads` | {Client#list_multipart_uploads} |
|
181
|
+
# | `:complete_multipart_upload` | {Client#complete_multipart_upload} |
|
182
|
+
# | `:abort_multipart_upload` | {Client#abort_multipart_upload} |
|
183
|
+
# | `:list_parts` | {Client#list_parts} |
|
184
|
+
# | `:upload_part` | {Client#upload_part} |
|
171
185
|
#
|
172
186
|
# @option params [Boolean] :virtual_host (false) When `true` the
|
173
187
|
# presigned URL will use the bucket name as a virtual host.
|
@@ -188,10 +202,15 @@ module Aws
|
|
188
202
|
#
|
189
203
|
# @return [String]
|
190
204
|
#
|
191
|
-
def presigned_url(
|
205
|
+
def presigned_url(method, params = {})
|
192
206
|
presigner = Presigner.new(client: client)
|
207
|
+
|
208
|
+
if %w(delete head get put).include?(method.to_s)
|
209
|
+
method = "#{method}_object".to_sym
|
210
|
+
end
|
211
|
+
|
193
212
|
presigner.presigned_url(
|
194
|
-
|
213
|
+
method.downcase,
|
195
214
|
params.merge(bucket: bucket_name, key: key)
|
196
215
|
)
|
197
216
|
end
|
@@ -7,7 +7,7 @@ module Aws
|
|
7
7
|
# @api private
|
8
8
|
class FileUploader
|
9
9
|
|
10
|
-
|
10
|
+
ONE_HUNDRED_MEGABYTES = 100 * 1024 * 1024
|
11
11
|
|
12
12
|
# @param [Hash] options
|
13
13
|
# @option options [Client] :client
|
@@ -16,7 +16,7 @@ module Aws
|
|
16
16
|
@options = options
|
17
17
|
@client = options[:client] || Client.new
|
18
18
|
@multipart_threshold = options[:multipart_threshold] ||
|
19
|
-
|
19
|
+
ONE_HUNDRED_MEGABYTES
|
20
20
|
end
|
21
21
|
|
22
22
|
# @return [Client]
|
@@ -228,7 +228,7 @@ module Aws::S3
|
|
228
228
|
# request. Bucket owners need not specify this parameter in their
|
229
229
|
# requests. For information about downloading objects from requester
|
230
230
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
231
|
-
# in the *Amazon S3
|
231
|
+
# in the *Amazon S3 User Guide*.
|
232
232
|
#
|
233
233
|
#
|
234
234
|
#
|
@@ -270,7 +270,7 @@ module Aws::S3
|
|
270
270
|
# request. Bucket owners need not specify this parameter in their
|
271
271
|
# requests. For information about downloading objects from requester
|
272
272
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
273
|
-
# in the *Amazon S3
|
273
|
+
# in the *Amazon S3 User Guide*.
|
274
274
|
#
|
275
275
|
#
|
276
276
|
#
|
@@ -329,7 +329,7 @@ module Aws::S3
|
|
329
329
|
# request. Bucket owners need not specify this parameter in their
|
330
330
|
# requests. For information about downloading objects from requester
|
331
331
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
332
|
-
# in the *Amazon S3
|
332
|
+
# in the *Amazon S3 User Guide*.
|
333
333
|
#
|
334
334
|
#
|
335
335
|
#
|
@@ -317,7 +317,7 @@ module Aws::S3
|
|
317
317
|
# request. Bucket owners need not specify this parameter in their
|
318
318
|
# requests. For information about downloading objects from requester
|
319
319
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
320
|
-
# in the *Amazon S3
|
320
|
+
# in the *Amazon S3 User Guide*.
|
321
321
|
#
|
322
322
|
#
|
323
323
|
#
|
@@ -384,7 +384,7 @@ module Aws::S3
|
|
384
384
|
# request. Bucket owners need not specify this parameter in their
|
385
385
|
# requests. For information about downloading objects from requester
|
386
386
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
387
|
-
# in the *Amazon S3
|
387
|
+
# in the *Amazon S3 User Guide*.
|
388
388
|
#
|
389
389
|
#
|
390
390
|
#
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -73,7 +73,7 @@ module Aws::S3
|
|
73
73
|
# If an archive copy is already restored, the header value indicates
|
74
74
|
# when Amazon S3 is scheduled to delete the object copy. For example:
|
75
75
|
#
|
76
|
-
# `x-amz-restore: ongoing-request="false", expiry-date="Fri,
|
76
|
+
# `x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec 2012
|
77
77
|
# 00:00:00 GMT"`
|
78
78
|
#
|
79
79
|
# If the object restoration is in progress, the header returns the value
|
@@ -679,7 +679,7 @@ module Aws::S3
|
|
679
679
|
# and high availability. Depending on performance needs, you can specify
|
680
680
|
# a different Storage Class. Amazon S3 on Outposts only uses the
|
681
681
|
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
682
|
-
# in the *Amazon S3
|
682
|
+
# in the *Amazon S3 User Guide*.
|
683
683
|
#
|
684
684
|
#
|
685
685
|
#
|
@@ -706,8 +706,8 @@ module Aws::S3
|
|
706
706
|
# PUT requests for an object protected by AWS KMS will fail if not made
|
707
707
|
# via SSL or using SigV4. For information about configuring using any of
|
708
708
|
# the officially supported AWS SDKs and AWS CLI, see [Specifying the
|
709
|
-
# Signature Version in Request Authentication][1] in the *Amazon S3
|
710
|
-
#
|
709
|
+
# Signature Version in Request Authentication][1] in the *Amazon S3 User
|
710
|
+
# Guide*.
|
711
711
|
#
|
712
712
|
#
|
713
713
|
#
|
@@ -740,7 +740,7 @@ module Aws::S3
|
|
740
740
|
# request. Bucket owners need not specify this parameter in their
|
741
741
|
# requests. For information about downloading objects from requester
|
742
742
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
743
|
-
# in the *Amazon S3
|
743
|
+
# in the *Amazon S3 User Guide*.
|
744
744
|
#
|
745
745
|
#
|
746
746
|
#
|
@@ -796,7 +796,7 @@ module Aws::S3
|
|
796
796
|
# request. Bucket owners need not specify this parameter in their
|
797
797
|
# requests. For information about downloading objects from requester
|
798
798
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
799
|
-
# in the *Amazon S3
|
799
|
+
# in the *Amazon S3 User Guide*.
|
800
800
|
#
|
801
801
|
#
|
802
802
|
#
|
@@ -898,7 +898,7 @@ module Aws::S3
|
|
898
898
|
# request. Bucket owners need not specify this parameter in their
|
899
899
|
# requests. For information about downloading objects from requester
|
900
900
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
901
|
-
# in the *Amazon S3
|
901
|
+
# in the *Amazon S3 User Guide*.
|
902
902
|
#
|
903
903
|
#
|
904
904
|
#
|
@@ -1002,7 +1002,7 @@ module Aws::S3
|
|
1002
1002
|
# and high availability. Depending on performance needs, you can specify
|
1003
1003
|
# a different Storage Class. Amazon S3 on Outposts only uses the
|
1004
1004
|
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
1005
|
-
# in the *Amazon S3
|
1005
|
+
# in the *Amazon S3 User Guide*.
|
1006
1006
|
#
|
1007
1007
|
#
|
1008
1008
|
#
|
@@ -1030,7 +1030,7 @@ module Aws::S3
|
|
1030
1030
|
# protected by AWS KMS will fail if not made via SSL or using SigV4. For
|
1031
1031
|
# information about configuring using any of the officially supported
|
1032
1032
|
# AWS SDKs and AWS CLI, see [Specifying the Signature Version in Request
|
1033
|
-
# Authentication][1] in the *Amazon S3
|
1033
|
+
# Authentication][1] in the *Amazon S3 User Guide*.
|
1034
1034
|
#
|
1035
1035
|
#
|
1036
1036
|
#
|
@@ -1052,7 +1052,7 @@ module Aws::S3
|
|
1052
1052
|
# request. Bucket owners need not specify this parameter in their
|
1053
1053
|
# requests. For information about downloading objects from requester
|
1054
1054
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1055
|
-
# in the *Amazon S3
|
1055
|
+
# in the *Amazon S3 User Guide*.
|
1056
1056
|
#
|
1057
1057
|
#
|
1058
1058
|
#
|
@@ -1226,7 +1226,7 @@ module Aws::S3
|
|
1226
1226
|
# and high availability. Depending on performance needs, you can specify
|
1227
1227
|
# a different Storage Class. Amazon S3 on Outposts only uses the
|
1228
1228
|
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
1229
|
-
# in the *Amazon S3
|
1229
|
+
# in the *Amazon S3 User Guide*.
|
1230
1230
|
#
|
1231
1231
|
#
|
1232
1232
|
#
|
@@ -1273,14 +1273,12 @@ module Aws::S3
|
|
1273
1273
|
# If `x-amz-server-side-encryption` is present and has the value of
|
1274
1274
|
# `aws:kms`, this header specifies the ID of the AWS Key Management
|
1275
1275
|
# Service (AWS KMS) symmetrical customer managed customer master key
|
1276
|
-
# (CMK) that was used for the object.
|
1277
|
-
#
|
1278
|
-
# If the value of `x-amz-server-side-encryption` is `aws:kms`, this
|
1279
|
-
# header specifies the ID of the symmetric customer managed AWS KMS CMK
|
1280
|
-
# that will be used for the object. If you specify
|
1276
|
+
# (CMK) that was used for the object. If you specify
|
1281
1277
|
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
1282
1278
|
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
|
1283
|
-
# managed CMK in AWS to protect the data.
|
1279
|
+
# managed CMK in AWS to protect the data. If the KMS key does not exist
|
1280
|
+
# in the same account issuing the command, you must use the full ARN and
|
1281
|
+
# not just the ID.
|
1284
1282
|
# @option options [String] :ssekms_encryption_context
|
1285
1283
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
1286
1284
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
@@ -1298,7 +1296,7 @@ module Aws::S3
|
|
1298
1296
|
# request. Bucket owners need not specify this parameter in their
|
1299
1297
|
# requests. For information about downloading objects from requester
|
1300
1298
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1301
|
-
# in the *Amazon S3
|
1299
|
+
# in the *Amazon S3 User Guide*.
|
1302
1300
|
#
|
1303
1301
|
#
|
1304
1302
|
#
|
@@ -1429,7 +1427,7 @@ module Aws::S3
|
|
1429
1427
|
# request. Bucket owners need not specify this parameter in their
|
1430
1428
|
# requests. For information about downloading objects from requester
|
1431
1429
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1432
|
-
# in the *Amazon S3
|
1430
|
+
# in the *Amazon S3 User Guide*.
|
1433
1431
|
#
|
1434
1432
|
#
|
1435
1433
|
#
|
@@ -1448,6 +1446,92 @@ module Aws::S3
|
|
1448
1446
|
resp.data
|
1449
1447
|
end
|
1450
1448
|
|
1449
|
+
# @example Request syntax with placeholder values
|
1450
|
+
#
|
1451
|
+
# object.head({
|
1452
|
+
# if_match: "IfMatch",
|
1453
|
+
# if_modified_since: Time.now,
|
1454
|
+
# if_none_match: "IfNoneMatch",
|
1455
|
+
# if_unmodified_since: Time.now,
|
1456
|
+
# range: "Range",
|
1457
|
+
# version_id: "ObjectVersionId",
|
1458
|
+
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1459
|
+
# sse_customer_key: "SSECustomerKey",
|
1460
|
+
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
1461
|
+
# request_payer: "requester", # accepts requester
|
1462
|
+
# part_number: 1,
|
1463
|
+
# expected_bucket_owner: "AccountId",
|
1464
|
+
# })
|
1465
|
+
# @param [Hash] options ({})
|
1466
|
+
# @option options [String] :if_match
|
1467
|
+
# Return the object only if its entity tag (ETag) is the same as the one
|
1468
|
+
# specified, otherwise return a 412 (precondition failed).
|
1469
|
+
# @option options [Time,DateTime,Date,Integer,String] :if_modified_since
|
1470
|
+
# Return the object only if it has been modified since the specified
|
1471
|
+
# time, otherwise return a 304 (not modified).
|
1472
|
+
# @option options [String] :if_none_match
|
1473
|
+
# Return the object only if its entity tag (ETag) is different from the
|
1474
|
+
# one specified, otherwise return a 304 (not modified).
|
1475
|
+
# @option options [Time,DateTime,Date,Integer,String] :if_unmodified_since
|
1476
|
+
# Return the object only if it has not been modified since the specified
|
1477
|
+
# time, otherwise return a 412 (precondition failed).
|
1478
|
+
# @option options [String] :range
|
1479
|
+
# Downloads the specified range bytes of an object. For more information
|
1480
|
+
# about the HTTP Range header, see
|
1481
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
|
1482
|
+
#
|
1483
|
+
# <note markdown="1"> Amazon S3 doesn't support retrieving multiple ranges of data per
|
1484
|
+
# `GET` request.
|
1485
|
+
#
|
1486
|
+
# </note>
|
1487
|
+
#
|
1488
|
+
#
|
1489
|
+
#
|
1490
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
|
1491
|
+
# @option options [String] :version_id
|
1492
|
+
# VersionId used to reference a specific version of the object.
|
1493
|
+
# @option options [String] :sse_customer_algorithm
|
1494
|
+
# Specifies the algorithm to use to when encrypting the object (for
|
1495
|
+
# example, AES256).
|
1496
|
+
# @option options [String] :sse_customer_key
|
1497
|
+
# Specifies the customer-provided encryption key for Amazon S3 to use in
|
1498
|
+
# encrypting data. This value is used to store the object and then it is
|
1499
|
+
# discarded; Amazon S3 does not store the encryption key. The key must
|
1500
|
+
# be appropriate for use with the algorithm specified in the
|
1501
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
1502
|
+
# @option options [String] :sse_customer_key_md5
|
1503
|
+
# Specifies the 128-bit MD5 digest of the encryption key according to
|
1504
|
+
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
1505
|
+
# ensure that the encryption key was transmitted without error.
|
1506
|
+
# @option options [String] :request_payer
|
1507
|
+
# Confirms that the requester knows that they will be charged for the
|
1508
|
+
# request. Bucket owners need not specify this parameter in their
|
1509
|
+
# requests. For information about downloading objects from requester
|
1510
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1511
|
+
# in the *Amazon S3 User Guide*.
|
1512
|
+
#
|
1513
|
+
#
|
1514
|
+
#
|
1515
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
1516
|
+
# @option options [Integer] :part_number
|
1517
|
+
# Part number of the object being read. This is a positive integer
|
1518
|
+
# between 1 and 10,000. Effectively performs a 'ranged' HEAD request
|
1519
|
+
# for the part specified. Useful querying about the size of the part and
|
1520
|
+
# the number of parts in this object.
|
1521
|
+
# @option options [String] :expected_bucket_owner
|
1522
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
1523
|
+
# a different account, the request will fail with an HTTP `403 (Access
|
1524
|
+
# Denied)` error.
|
1525
|
+
# @return [Types::HeadObjectOutput]
|
1526
|
+
def head(options = {})
|
1527
|
+
options = options.merge(
|
1528
|
+
bucket: @bucket_name,
|
1529
|
+
key: @key
|
1530
|
+
)
|
1531
|
+
resp = @client.head_object(options)
|
1532
|
+
resp.data
|
1533
|
+
end
|
1534
|
+
|
1451
1535
|
# @!group Associations
|
1452
1536
|
|
1453
1537
|
# @return [ObjectAcl]
|
@@ -1573,7 +1657,7 @@ module Aws::S3
|
|
1573
1657
|
# request. Bucket owners need not specify this parameter in their
|
1574
1658
|
# requests. For information about downloading objects from requester
|
1575
1659
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1576
|
-
# in the *Amazon S3
|
1660
|
+
# in the *Amazon S3 User Guide*.
|
1577
1661
|
#
|
1578
1662
|
#
|
1579
1663
|
#
|
@@ -267,8 +267,10 @@ module Aws::S3
|
|
267
267
|
#
|
268
268
|
# This action is not supported by Amazon S3 on Outposts.
|
269
269
|
# @option options [String] :grant_write
|
270
|
-
# Allows grantee to create
|
271
|
-
#
|
270
|
+
# Allows grantee to create new objects in the bucket.
|
271
|
+
#
|
272
|
+
# For the bucket and object owners of existing objects, also allows
|
273
|
+
# deletions and overwrites of those objects.
|
272
274
|
# @option options [String] :grant_write_acp
|
273
275
|
# Allows grantee to write the ACL for the applicable bucket.
|
274
276
|
#
|
@@ -278,7 +280,7 @@ module Aws::S3
|
|
278
280
|
# request. Bucket owners need not specify this parameter in their
|
279
281
|
# requests. For information about downloading objects from requester
|
280
282
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
281
|
-
# in the *Amazon S3
|
283
|
+
# in the *Amazon S3 User Guide*.
|
282
284
|
#
|
283
285
|
#
|
284
286
|
#
|
@@ -422,7 +422,7 @@ module Aws::S3
|
|
422
422
|
# and high availability. Depending on performance needs, you can specify
|
423
423
|
# a different Storage Class. Amazon S3 on Outposts only uses the
|
424
424
|
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
425
|
-
# in the *Amazon S3
|
425
|
+
# in the *Amazon S3 User Guide*.
|
426
426
|
#
|
427
427
|
#
|
428
428
|
#
|
@@ -449,8 +449,8 @@ module Aws::S3
|
|
449
449
|
# PUT requests for an object protected by AWS KMS will fail if not made
|
450
450
|
# via SSL or using SigV4. For information about configuring using any of
|
451
451
|
# the officially supported AWS SDKs and AWS CLI, see [Specifying the
|
452
|
-
# Signature Version in Request Authentication][1] in the *Amazon S3
|
453
|
-
#
|
452
|
+
# Signature Version in Request Authentication][1] in the *Amazon S3 User
|
453
|
+
# Guide*.
|
454
454
|
#
|
455
455
|
#
|
456
456
|
#
|
@@ -483,7 +483,7 @@ module Aws::S3
|
|
483
483
|
# request. Bucket owners need not specify this parameter in their
|
484
484
|
# requests. For information about downloading objects from requester
|
485
485
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
486
|
-
# in the *Amazon S3
|
486
|
+
# in the *Amazon S3 User Guide*.
|
487
487
|
#
|
488
488
|
#
|
489
489
|
#
|
@@ -539,7 +539,7 @@ module Aws::S3
|
|
539
539
|
# request. Bucket owners need not specify this parameter in their
|
540
540
|
# requests. For information about downloading objects from requester
|
541
541
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
542
|
-
# in the *Amazon S3
|
542
|
+
# in the *Amazon S3 User Guide*.
|
543
543
|
#
|
544
544
|
#
|
545
545
|
#
|
@@ -641,7 +641,7 @@ module Aws::S3
|
|
641
641
|
# request. Bucket owners need not specify this parameter in their
|
642
642
|
# requests. For information about downloading objects from requester
|
643
643
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
644
|
-
# in the *Amazon S3
|
644
|
+
# in the *Amazon S3 User Guide*.
|
645
645
|
#
|
646
646
|
#
|
647
647
|
#
|
@@ -745,7 +745,7 @@ module Aws::S3
|
|
745
745
|
# and high availability. Depending on performance needs, you can specify
|
746
746
|
# a different Storage Class. Amazon S3 on Outposts only uses the
|
747
747
|
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
748
|
-
# in the *Amazon S3
|
748
|
+
# in the *Amazon S3 User Guide*.
|
749
749
|
#
|
750
750
|
#
|
751
751
|
#
|
@@ -773,7 +773,7 @@ module Aws::S3
|
|
773
773
|
# protected by AWS KMS will fail if not made via SSL or using SigV4. For
|
774
774
|
# information about configuring using any of the officially supported
|
775
775
|
# AWS SDKs and AWS CLI, see [Specifying the Signature Version in Request
|
776
|
-
# Authentication][1] in the *Amazon S3
|
776
|
+
# Authentication][1] in the *Amazon S3 User Guide*.
|
777
777
|
#
|
778
778
|
#
|
779
779
|
#
|
@@ -795,7 +795,7 @@ module Aws::S3
|
|
795
795
|
# request. Bucket owners need not specify this parameter in their
|
796
796
|
# requests. For information about downloading objects from requester
|
797
797
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
798
|
-
# in the *Amazon S3
|
798
|
+
# in the *Amazon S3 User Guide*.
|
799
799
|
#
|
800
800
|
#
|
801
801
|
#
|
@@ -969,7 +969,7 @@ module Aws::S3
|
|
969
969
|
# and high availability. Depending on performance needs, you can specify
|
970
970
|
# a different Storage Class. Amazon S3 on Outposts only uses the
|
971
971
|
# OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
|
972
|
-
# in the *Amazon S3
|
972
|
+
# in the *Amazon S3 User Guide*.
|
973
973
|
#
|
974
974
|
#
|
975
975
|
#
|
@@ -1016,14 +1016,12 @@ module Aws::S3
|
|
1016
1016
|
# If `x-amz-server-side-encryption` is present and has the value of
|
1017
1017
|
# `aws:kms`, this header specifies the ID of the AWS Key Management
|
1018
1018
|
# Service (AWS KMS) symmetrical customer managed customer master key
|
1019
|
-
# (CMK) that was used for the object.
|
1020
|
-
#
|
1021
|
-
# If the value of `x-amz-server-side-encryption` is `aws:kms`, this
|
1022
|
-
# header specifies the ID of the symmetric customer managed AWS KMS CMK
|
1023
|
-
# that will be used for the object. If you specify
|
1019
|
+
# (CMK) that was used for the object. If you specify
|
1024
1020
|
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
1025
1021
|
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
|
1026
|
-
# managed CMK in AWS to protect the data.
|
1022
|
+
# managed CMK in AWS to protect the data. If the KMS key does not exist
|
1023
|
+
# in the same account issuing the command, you must use the full ARN and
|
1024
|
+
# not just the ID.
|
1027
1025
|
# @option options [String] :ssekms_encryption_context
|
1028
1026
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
1029
1027
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
@@ -1041,7 +1039,7 @@ module Aws::S3
|
|
1041
1039
|
# request. Bucket owners need not specify this parameter in their
|
1042
1040
|
# requests. For information about downloading objects from requester
|
1043
1041
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1044
|
-
# in the *Amazon S3
|
1042
|
+
# in the *Amazon S3 User Guide*.
|
1045
1043
|
#
|
1046
1044
|
#
|
1047
1045
|
#
|
@@ -1172,7 +1170,7 @@ module Aws::S3
|
|
1172
1170
|
# request. Bucket owners need not specify this parameter in their
|
1173
1171
|
# requests. For information about downloading objects from requester
|
1174
1172
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1175
|
-
# in the *Amazon S3
|
1173
|
+
# in the *Amazon S3 User Guide*.
|
1176
1174
|
#
|
1177
1175
|
#
|
1178
1176
|
#
|
@@ -1325,7 +1323,7 @@ module Aws::S3
|
|
1325
1323
|
# request. Bucket owners need not specify this parameter in their
|
1326
1324
|
# requests. For information about downloading objects from requester
|
1327
1325
|
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1328
|
-
# in the *Amazon S3
|
1326
|
+
# in the *Amazon S3 User Guide*.
|
1329
1327
|
#
|
1330
1328
|
#
|
1331
1329
|
#
|