aws-sdk-s3 1.59.1 → 1.60.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/bucket.rb +17 -16
- data/lib/aws-sdk-s3/client.rb +168 -148
- data/lib/aws-sdk-s3/multipart_upload.rb +15 -15
- data/lib/aws-sdk-s3/multipart_upload_part.rb +10 -10
- data/lib/aws-sdk-s3/object.rb +51 -49
- data/lib/aws-sdk-s3/object_acl.rb +5 -5
- data/lib/aws-sdk-s3/object_summary.rb +49 -48
- data/lib/aws-sdk-s3/object_version.rb +20 -20
- data/lib/aws-sdk-s3/types.rb +156 -132
- metadata +2 -2
@@ -218,15 +218,15 @@ module Aws::S3
|
|
218
218
|
# })
|
219
219
|
# @param [Hash] options ({})
|
220
220
|
# @option options [String] :request_payer
|
221
|
-
# Confirms that the requester knows that
|
222
|
-
#
|
223
|
-
# requests. For information about downloading objects from
|
224
|
-
#
|
221
|
+
# Confirms that the requester knows that they will be charged for the
|
222
|
+
# request. Bucket owners need not specify this parameter in their
|
223
|
+
# requests. For information about downloading objects from requester
|
224
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
225
225
|
# in the *Amazon S3 Developer Guide*.
|
226
226
|
#
|
227
227
|
#
|
228
228
|
#
|
229
|
-
# [1]: https://docs.aws.amazon.com/
|
229
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
230
230
|
# @return [Types::AbortMultipartUploadOutput]
|
231
231
|
def abort(options = {})
|
232
232
|
options = options.merge(
|
@@ -255,15 +255,15 @@ module Aws::S3
|
|
255
255
|
# @option options [Types::CompletedMultipartUpload] :multipart_upload
|
256
256
|
# The container for the multipart upload request information.
|
257
257
|
# @option options [String] :request_payer
|
258
|
-
# Confirms that the requester knows that
|
259
|
-
#
|
260
|
-
# requests. For information about downloading objects from
|
261
|
-
#
|
258
|
+
# Confirms that the requester knows that they will be charged for the
|
259
|
+
# request. Bucket owners need not specify this parameter in their
|
260
|
+
# requests. For information about downloading objects from requester
|
261
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
262
262
|
# in the *Amazon S3 Developer Guide*.
|
263
263
|
#
|
264
264
|
#
|
265
265
|
#
|
266
|
-
# [1]: https://docs.aws.amazon.com/
|
266
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
267
267
|
# @return [Object]
|
268
268
|
def complete(options = {})
|
269
269
|
options = options.merge(
|
@@ -309,15 +309,15 @@ module Aws::S3
|
|
309
309
|
# })
|
310
310
|
# @param [Hash] options ({})
|
311
311
|
# @option options [String] :request_payer
|
312
|
-
# Confirms that the requester knows that
|
313
|
-
#
|
314
|
-
# requests. For information about downloading objects from
|
315
|
-
#
|
312
|
+
# Confirms that the requester knows that they will be charged for the
|
313
|
+
# request. Bucket owners need not specify this parameter in their
|
314
|
+
# requests. For information about downloading objects from requester
|
315
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
316
316
|
# in the *Amazon S3 Developer Guide*.
|
317
317
|
#
|
318
318
|
#
|
319
319
|
#
|
320
|
-
# [1]: https://docs.aws.amazon.com/
|
320
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
321
321
|
# @return [MultipartUploadPart::Collection]
|
322
322
|
def parts(options = {})
|
323
323
|
batches = Enumerator.new do |y|
|
@@ -264,15 +264,15 @@ module Aws::S3
|
|
264
264
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
265
265
|
# ensure that the encryption key was transmitted without error.
|
266
266
|
# @option options [String] :request_payer
|
267
|
-
# Confirms that the requester knows that
|
268
|
-
#
|
269
|
-
# requests. For information about downloading objects from
|
270
|
-
#
|
267
|
+
# Confirms that the requester knows that they will be charged for the
|
268
|
+
# request. Bucket owners need not specify this parameter in their
|
269
|
+
# requests. For information about downloading objects from requester
|
270
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
271
271
|
# in the *Amazon S3 Developer Guide*.
|
272
272
|
#
|
273
273
|
#
|
274
274
|
#
|
275
|
-
# [1]: https://docs.aws.amazon.com/
|
275
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
276
276
|
# @return [Types::UploadPartCopyOutput]
|
277
277
|
def copy_from(options = {})
|
278
278
|
options = options.merge(
|
@@ -322,15 +322,15 @@ module Aws::S3
|
|
322
322
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
323
323
|
# ensure that the encryption key was transmitted without error.
|
324
324
|
# @option options [String] :request_payer
|
325
|
-
# Confirms that the requester knows that
|
326
|
-
#
|
327
|
-
# requests. For information about downloading objects from
|
328
|
-
#
|
325
|
+
# Confirms that the requester knows that they will be charged for the
|
326
|
+
# request. Bucket owners need not specify this parameter in their
|
327
|
+
# requests. For information about downloading objects from requester
|
328
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
329
329
|
# in the *Amazon S3 Developer Guide*.
|
330
330
|
#
|
331
331
|
#
|
332
332
|
#
|
333
|
-
# [1]: https://docs.aws.amazon.com/
|
333
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
334
334
|
# @return [Types::UploadPartOutput]
|
335
335
|
def upload(options = {})
|
336
336
|
options = options.merge(
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -207,7 +207,8 @@ module Aws::S3
|
|
207
207
|
end
|
208
208
|
|
209
209
|
# If present, specifies the ID of the AWS Key Management Service (AWS
|
210
|
-
# KMS) customer master key (CMK) that was
|
210
|
+
# KMS) symmetric customer managed customer master key (CMK) that was
|
211
|
+
# used for the object.
|
211
212
|
# @return [String]
|
212
213
|
def ssekms_key_id
|
213
214
|
data[:ssekms_key_id]
|
@@ -617,7 +618,7 @@ module Aws::S3
|
|
617
618
|
#
|
618
619
|
#
|
619
620
|
#
|
620
|
-
# [1]: https://docs.aws.amazon.com/
|
621
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
621
622
|
# @option options [String] :ssekms_encryption_context
|
622
623
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
623
624
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
@@ -634,15 +635,15 @@ module Aws::S3
|
|
634
635
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
635
636
|
# ensure that the encryption key was transmitted without error.
|
636
637
|
# @option options [String] :request_payer
|
637
|
-
# Confirms that the requester knows that
|
638
|
-
#
|
639
|
-
# requests. For information about downloading objects from
|
640
|
-
#
|
638
|
+
# Confirms that the requester knows that they will be charged for the
|
639
|
+
# request. Bucket owners need not specify this parameter in their
|
640
|
+
# requests. For information about downloading objects from requester
|
641
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
641
642
|
# in the *Amazon S3 Developer Guide*.
|
642
643
|
#
|
643
644
|
#
|
644
645
|
#
|
645
|
-
# [1]: https://docs.aws.amazon.com/
|
646
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
646
647
|
# @option options [String] :tagging
|
647
648
|
# The tag-set for the object destination object this value must be used
|
648
649
|
# in conjunction with the `TaggingDirective`. The tag-set must be
|
@@ -681,15 +682,15 @@ module Aws::S3
|
|
681
682
|
# @option options [String] :version_id
|
682
683
|
# VersionId used to reference a specific version of the object.
|
683
684
|
# @option options [String] :request_payer
|
684
|
-
# Confirms that the requester knows that
|
685
|
-
#
|
686
|
-
# requests. For information about downloading objects from
|
687
|
-
#
|
685
|
+
# Confirms that the requester knows that they will be charged for the
|
686
|
+
# request. Bucket owners need not specify this parameter in their
|
687
|
+
# requests. For information about downloading objects from requester
|
688
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
688
689
|
# in the *Amazon S3 Developer Guide*.
|
689
690
|
#
|
690
691
|
#
|
691
692
|
#
|
692
|
-
# [1]: https://docs.aws.amazon.com/
|
693
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
693
694
|
# @option options [Boolean] :bypass_governance_retention
|
694
695
|
# Indicates whether S3 Object Lock should bypass Governance-mode
|
695
696
|
# restrictions to process this operation.
|
@@ -769,15 +770,15 @@ module Aws::S3
|
|
769
770
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
770
771
|
# ensure that the encryption key was transmitted without error.
|
771
772
|
# @option options [String] :request_payer
|
772
|
-
# Confirms that the requester knows that
|
773
|
-
#
|
774
|
-
# requests. For information about downloading objects from
|
775
|
-
#
|
773
|
+
# Confirms that the requester knows that they will be charged for the
|
774
|
+
# request. Bucket owners need not specify this parameter in their
|
775
|
+
# requests. For information about downloading objects from requester
|
776
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
776
777
|
# in the *Amazon S3 Developer Guide*.
|
777
778
|
#
|
778
779
|
#
|
779
780
|
#
|
780
|
-
# [1]: https://docs.aws.amazon.com/
|
781
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
781
782
|
# @option options [Integer] :part_number
|
782
783
|
# Part number of the object being read. This is a positive integer
|
783
784
|
# between 1 and 10,000. Effectively performs a 'ranged' GET request
|
@@ -875,12 +876,12 @@ module Aws::S3
|
|
875
876
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
876
877
|
# ensure that the encryption key was transmitted without error.
|
877
878
|
# @option options [String] :ssekms_key_id
|
878
|
-
# Specifies the
|
879
|
-
#
|
880
|
-
# via SSL or using SigV4. For
|
881
|
-
#
|
882
|
-
#
|
883
|
-
# Developer Guide*.
|
879
|
+
# Specifies the ID of the symmetric customer managed AWS KMS CMK to use
|
880
|
+
# for object encryption. All GET and PUT requests for an object
|
881
|
+
# protected by AWS KMS will fail if not made via SSL or using SigV4. For
|
882
|
+
# information about configuring using any of the officially supported
|
883
|
+
# AWS SDKs and AWS CLI, see [Specifying the Signature Version in Request
|
884
|
+
# Authentication][1] in the *Amazon S3 Developer Guide*.
|
884
885
|
#
|
885
886
|
#
|
886
887
|
#
|
@@ -890,15 +891,15 @@ module Aws::S3
|
|
890
891
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
891
892
|
# with the encryption context key-value pairs.
|
892
893
|
# @option options [String] :request_payer
|
893
|
-
# Confirms that the requester knows that
|
894
|
-
#
|
895
|
-
# requests. For information about downloading objects from
|
896
|
-
#
|
894
|
+
# Confirms that the requester knows that they will be charged for the
|
895
|
+
# request. Bucket owners need not specify this parameter in their
|
896
|
+
# requests. For information about downloading objects from requester
|
897
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
897
898
|
# in the *Amazon S3 Developer Guide*.
|
898
899
|
#
|
899
900
|
#
|
900
901
|
#
|
901
|
-
# [1]: https://docs.aws.amazon.com/
|
902
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
902
903
|
# @option options [String] :tagging
|
903
904
|
# The tag-set for the object. The tag-set must be encoded as URL Query
|
904
905
|
# parameters.
|
@@ -1090,28 +1091,29 @@ module Aws::S3
|
|
1090
1091
|
# @option options [String] :ssekms_key_id
|
1091
1092
|
# If `x-amz-server-side-encryption` is present and has the value of
|
1092
1093
|
# `aws:kms`, this header specifies the ID of the AWS Key Management
|
1093
|
-
# Service (AWS KMS) customer master key
|
1094
|
-
# object.
|
1094
|
+
# Service (AWS KMS) symmetrical customer managed customer master key
|
1095
|
+
# (CMK) that was used for the object.
|
1095
1096
|
#
|
1096
1097
|
# If the value of `x-amz-server-side-encryption` is `aws:kms`, this
|
1097
|
-
# header specifies the ID of the AWS KMS CMK
|
1098
|
-
# object. If you specify
|
1099
|
-
#
|
1100
|
-
#
|
1098
|
+
# header specifies the ID of the symmetric customer managed AWS KMS CMK
|
1099
|
+
# that will be used for the object. If you specify
|
1100
|
+
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
1101
|
+
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
|
1102
|
+
# managed CMK in AWS to protect the data.
|
1101
1103
|
# @option options [String] :ssekms_encryption_context
|
1102
1104
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
1103
1105
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
1104
1106
|
# with the encryption context key-value pairs.
|
1105
1107
|
# @option options [String] :request_payer
|
1106
|
-
# Confirms that the requester knows that
|
1107
|
-
#
|
1108
|
-
# requests. For information about downloading objects from
|
1109
|
-
#
|
1108
|
+
# Confirms that the requester knows that they will be charged for the
|
1109
|
+
# request. Bucket owners need not specify this parameter in their
|
1110
|
+
# requests. For information about downloading objects from requester
|
1111
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1110
1112
|
# in the *Amazon S3 Developer Guide*.
|
1111
1113
|
#
|
1112
1114
|
#
|
1113
1115
|
#
|
1114
|
-
# [1]: https://docs.aws.amazon.com/
|
1116
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
1115
1117
|
# @option options [String] :tagging
|
1116
1118
|
# The tag-set for the object. The tag-set must be encoded as URL Query
|
1117
1119
|
# parameters. (For example, "Key1=Value1")
|
@@ -1229,15 +1231,15 @@ module Aws::S3
|
|
1229
1231
|
# @option options [Types::RestoreRequest] :restore_request
|
1230
1232
|
# Container for restore job parameters.
|
1231
1233
|
# @option options [String] :request_payer
|
1232
|
-
# Confirms that the requester knows that
|
1233
|
-
#
|
1234
|
-
# requests. For information about downloading objects from
|
1235
|
-
#
|
1234
|
+
# Confirms that the requester knows that they will be charged for the
|
1235
|
+
# request. Bucket owners need not specify this parameter in their
|
1236
|
+
# requests. For information about downloading objects from requester
|
1237
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1236
1238
|
# in the *Amazon S3 Developer Guide*.
|
1237
1239
|
#
|
1238
1240
|
#
|
1239
1241
|
#
|
1240
|
-
# [1]: https://docs.aws.amazon.com/
|
1242
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
1241
1243
|
# @return [Types::RestoreObjectOutput]
|
1242
1244
|
def restore_object(options = {})
|
1243
1245
|
options = options.merge(
|
@@ -1366,15 +1368,15 @@ module Aws::S3
|
|
1366
1368
|
# Required to permanently delete a versioned object if versioning is
|
1367
1369
|
# configured with MFA delete enabled.
|
1368
1370
|
# @option options [String] :request_payer
|
1369
|
-
# Confirms that the requester knows that
|
1370
|
-
#
|
1371
|
-
# requests. For information about downloading objects from
|
1372
|
-
#
|
1371
|
+
# Confirms that the requester knows that they will be charged for the
|
1372
|
+
# request. Bucket owners need not specify this parameter in their
|
1373
|
+
# requests. For information about downloading objects from requester
|
1374
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1373
1375
|
# in the *Amazon S3 Developer Guide*.
|
1374
1376
|
#
|
1375
1377
|
#
|
1376
1378
|
#
|
1377
|
-
# [1]: https://docs.aws.amazon.com/
|
1379
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
1378
1380
|
# @option options [Boolean] :bypass_governance_retention
|
1379
1381
|
# Specifies whether you want to delete this object even if it has a
|
1380
1382
|
# Governance-type Object Lock in place. You must have sufficient
|
@@ -257,15 +257,15 @@ module Aws::S3
|
|
257
257
|
# @option options [String] :grant_write_acp
|
258
258
|
# Allows grantee to write the ACL for the applicable bucket.
|
259
259
|
# @option options [String] :request_payer
|
260
|
-
# Confirms that the requester knows that
|
261
|
-
#
|
262
|
-
# requests. For information about downloading objects from
|
263
|
-
#
|
260
|
+
# Confirms that the requester knows that they will be charged for the
|
261
|
+
# request. Bucket owners need not specify this parameter in their
|
262
|
+
# requests. For information about downloading objects from requester
|
263
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
264
264
|
# in the *Amazon S3 Developer Guide*.
|
265
265
|
#
|
266
266
|
#
|
267
267
|
#
|
268
|
-
# [1]: https://docs.aws.amazon.com/
|
268
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
269
269
|
# @option options [String] :version_id
|
270
270
|
# VersionId used to reference a specific version of the object.
|
271
271
|
# @return [Types::PutObjectAclOutput]
|
@@ -369,7 +369,7 @@ module Aws::S3
|
|
369
369
|
#
|
370
370
|
#
|
371
371
|
#
|
372
|
-
# [1]: https://docs.aws.amazon.com/
|
372
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
373
373
|
# @option options [String] :ssekms_encryption_context
|
374
374
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
375
375
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
@@ -386,15 +386,15 @@ module Aws::S3
|
|
386
386
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
387
387
|
# ensure that the encryption key was transmitted without error.
|
388
388
|
# @option options [String] :request_payer
|
389
|
-
# Confirms that the requester knows that
|
390
|
-
#
|
391
|
-
# requests. For information about downloading objects from
|
392
|
-
#
|
389
|
+
# Confirms that the requester knows that they will be charged for the
|
390
|
+
# request. Bucket owners need not specify this parameter in their
|
391
|
+
# requests. For information about downloading objects from requester
|
392
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
393
393
|
# in the *Amazon S3 Developer Guide*.
|
394
394
|
#
|
395
395
|
#
|
396
396
|
#
|
397
|
-
# [1]: https://docs.aws.amazon.com/
|
397
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
398
398
|
# @option options [String] :tagging
|
399
399
|
# The tag-set for the object destination object this value must be used
|
400
400
|
# in conjunction with the `TaggingDirective`. The tag-set must be
|
@@ -433,15 +433,15 @@ module Aws::S3
|
|
433
433
|
# @option options [String] :version_id
|
434
434
|
# VersionId used to reference a specific version of the object.
|
435
435
|
# @option options [String] :request_payer
|
436
|
-
# Confirms that the requester knows that
|
437
|
-
#
|
438
|
-
# requests. For information about downloading objects from
|
439
|
-
#
|
436
|
+
# Confirms that the requester knows that they will be charged for the
|
437
|
+
# request. Bucket owners need not specify this parameter in their
|
438
|
+
# requests. For information about downloading objects from requester
|
439
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
440
440
|
# in the *Amazon S3 Developer Guide*.
|
441
441
|
#
|
442
442
|
#
|
443
443
|
#
|
444
|
-
# [1]: https://docs.aws.amazon.com/
|
444
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
445
445
|
# @option options [Boolean] :bypass_governance_retention
|
446
446
|
# Indicates whether S3 Object Lock should bypass Governance-mode
|
447
447
|
# restrictions to process this operation.
|
@@ -521,15 +521,15 @@ module Aws::S3
|
|
521
521
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
522
522
|
# ensure that the encryption key was transmitted without error.
|
523
523
|
# @option options [String] :request_payer
|
524
|
-
# Confirms that the requester knows that
|
525
|
-
#
|
526
|
-
# requests. For information about downloading objects from
|
527
|
-
#
|
524
|
+
# Confirms that the requester knows that they will be charged for the
|
525
|
+
# request. Bucket owners need not specify this parameter in their
|
526
|
+
# requests. For information about downloading objects from requester
|
527
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
528
528
|
# in the *Amazon S3 Developer Guide*.
|
529
529
|
#
|
530
530
|
#
|
531
531
|
#
|
532
|
-
# [1]: https://docs.aws.amazon.com/
|
532
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
533
533
|
# @option options [Integer] :part_number
|
534
534
|
# Part number of the object being read. This is a positive integer
|
535
535
|
# between 1 and 10,000. Effectively performs a 'ranged' GET request
|
@@ -627,12 +627,12 @@ module Aws::S3
|
|
627
627
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
628
628
|
# ensure that the encryption key was transmitted without error.
|
629
629
|
# @option options [String] :ssekms_key_id
|
630
|
-
# Specifies the
|
631
|
-
#
|
632
|
-
# via SSL or using SigV4. For
|
633
|
-
#
|
634
|
-
#
|
635
|
-
# Developer Guide*.
|
630
|
+
# Specifies the ID of the symmetric customer managed AWS KMS CMK to use
|
631
|
+
# for object encryption. All GET and PUT requests for an object
|
632
|
+
# protected by AWS KMS will fail if not made via SSL or using SigV4. For
|
633
|
+
# information about configuring using any of the officially supported
|
634
|
+
# AWS SDKs and AWS CLI, see [Specifying the Signature Version in Request
|
635
|
+
# Authentication][1] in the *Amazon S3 Developer Guide*.
|
636
636
|
#
|
637
637
|
#
|
638
638
|
#
|
@@ -642,15 +642,15 @@ module Aws::S3
|
|
642
642
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
643
643
|
# with the encryption context key-value pairs.
|
644
644
|
# @option options [String] :request_payer
|
645
|
-
# Confirms that the requester knows that
|
646
|
-
#
|
647
|
-
# requests. For information about downloading objects from
|
648
|
-
#
|
645
|
+
# Confirms that the requester knows that they will be charged for the
|
646
|
+
# request. Bucket owners need not specify this parameter in their
|
647
|
+
# requests. For information about downloading objects from requester
|
648
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
649
649
|
# in the *Amazon S3 Developer Guide*.
|
650
650
|
#
|
651
651
|
#
|
652
652
|
#
|
653
|
-
# [1]: https://docs.aws.amazon.com/
|
653
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
654
654
|
# @option options [String] :tagging
|
655
655
|
# The tag-set for the object. The tag-set must be encoded as URL Query
|
656
656
|
# parameters.
|
@@ -842,28 +842,29 @@ module Aws::S3
|
|
842
842
|
# @option options [String] :ssekms_key_id
|
843
843
|
# If `x-amz-server-side-encryption` is present and has the value of
|
844
844
|
# `aws:kms`, this header specifies the ID of the AWS Key Management
|
845
|
-
# Service (AWS KMS) customer master key
|
846
|
-
# object.
|
845
|
+
# Service (AWS KMS) symmetrical customer managed customer master key
|
846
|
+
# (CMK) that was used for the object.
|
847
847
|
#
|
848
848
|
# If the value of `x-amz-server-side-encryption` is `aws:kms`, this
|
849
|
-
# header specifies the ID of the AWS KMS CMK
|
850
|
-
# object. If you specify
|
851
|
-
#
|
852
|
-
#
|
849
|
+
# header specifies the ID of the symmetric customer managed AWS KMS CMK
|
850
|
+
# that will be used for the object. If you specify
|
851
|
+
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
852
|
+
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
|
853
|
+
# managed CMK in AWS to protect the data.
|
853
854
|
# @option options [String] :ssekms_encryption_context
|
854
855
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
855
856
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
856
857
|
# with the encryption context key-value pairs.
|
857
858
|
# @option options [String] :request_payer
|
858
|
-
# Confirms that the requester knows that
|
859
|
-
#
|
860
|
-
# requests. For information about downloading objects from
|
861
|
-
#
|
859
|
+
# Confirms that the requester knows that they will be charged for the
|
860
|
+
# request. Bucket owners need not specify this parameter in their
|
861
|
+
# requests. For information about downloading objects from requester
|
862
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
862
863
|
# in the *Amazon S3 Developer Guide*.
|
863
864
|
#
|
864
865
|
#
|
865
866
|
#
|
866
|
-
# [1]: https://docs.aws.amazon.com/
|
867
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
867
868
|
# @option options [String] :tagging
|
868
869
|
# The tag-set for the object. The tag-set must be encoded as URL Query
|
869
870
|
# parameters. (For example, "Key1=Value1")
|
@@ -981,15 +982,15 @@ module Aws::S3
|
|
981
982
|
# @option options [Types::RestoreRequest] :restore_request
|
982
983
|
# Container for restore job parameters.
|
983
984
|
# @option options [String] :request_payer
|
984
|
-
# Confirms that the requester knows that
|
985
|
-
#
|
986
|
-
# requests. For information about downloading objects from
|
987
|
-
#
|
985
|
+
# Confirms that the requester knows that they will be charged for the
|
986
|
+
# request. Bucket owners need not specify this parameter in their
|
987
|
+
# requests. For information about downloading objects from requester
|
988
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
988
989
|
# in the *Amazon S3 Developer Guide*.
|
989
990
|
#
|
990
991
|
#
|
991
992
|
#
|
992
|
-
# [1]: https://docs.aws.amazon.com/
|
993
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
993
994
|
# @return [Types::RestoreObjectOutput]
|
994
995
|
def restore_object(options = {})
|
995
996
|
options = options.merge(
|
@@ -1127,15 +1128,15 @@ module Aws::S3
|
|
1127
1128
|
# Required to permanently delete a versioned object if versioning is
|
1128
1129
|
# configured with MFA delete enabled.
|
1129
1130
|
# @option options [String] :request_payer
|
1130
|
-
# Confirms that the requester knows that
|
1131
|
-
#
|
1132
|
-
# requests. For information about downloading objects from
|
1133
|
-
#
|
1131
|
+
# Confirms that the requester knows that they will be charged for the
|
1132
|
+
# request. Bucket owners need not specify this parameter in their
|
1133
|
+
# requests. For information about downloading objects from requester
|
1134
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
1134
1135
|
# in the *Amazon S3 Developer Guide*.
|
1135
1136
|
#
|
1136
1137
|
#
|
1137
1138
|
#
|
1138
|
-
# [1]: https://docs.aws.amazon.com/
|
1139
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
1139
1140
|
# @option options [Boolean] :bypass_governance_retention
|
1140
1141
|
# Specifies whether you want to delete this object even if it has a
|
1141
1142
|
# Governance-type Object Lock in place. You must have sufficient
|