aws-sdk-s3 1.44.0 → 1.45.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 448202627ad3793537031f033bdb587655d833f2
4
- data.tar.gz: 01fade9a85a1ada384d7a5bef2760439011ef6a6
3
+ metadata.gz: b44d9d56abdfa63468b76ba983192a68b41dafd8
4
+ data.tar.gz: 7d9e701fa6a3f589bca7591830f3a17fbe91be95
5
5
  SHA512:
6
- metadata.gz: b626806cb23d1d1e6e2e7b965b6213b472616a8ac01292b1e189ca47d5b27c7ffaef86296428ad2f5e12295911983d77fe06f695adf464a761bfd313e96b3739
7
- data.tar.gz: 7e3cd20f1f6c450391fd76161741082f63ffdee2936f417e0f59c65c10454fb4b53e45ff89c91a7983f013e50bed0b99ff224922b05558f5ac3923c89b4a4165
6
+ metadata.gz: 11a39dc412135d9e99c917f1bde27652dedf04cfc0173a9592e8b56a346d90f9d838f8d72dd4358f36873626fe91f5b0830b629f4134e971201eed6b9933d377
7
+ data.tar.gz: b37dc1bae4e87a50b3ad28eb428eba1c637a1afe6a867b5aa230eb48e48db6c0e352e14691a2262430bc4c089626214cba00ab8f2c8a10660d0371648fa2443b
@@ -63,6 +63,6 @@ require_relative 'aws-sdk-s3/event_streams'
63
63
  # @service
64
64
  module Aws::S3
65
65
 
66
- GEM_VERSION = '1.44.0'
66
+ GEM_VERSION = '1.45.0'
67
67
 
68
68
  end
@@ -328,6 +328,7 @@ module Aws::S3
328
328
  # sse_customer_key: "SSECustomerKey",
329
329
  # sse_customer_key_md5: "SSECustomerKeyMD5",
330
330
  # ssekms_key_id: "SSEKMSKeyId",
331
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
331
332
  # request_payer: "requester", # accepts requester
332
333
  # tagging: "TaggingHeader",
333
334
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -401,6 +402,10 @@ module Aws::S3
401
402
  # via SSL or using SigV4. Documentation on configuring any of the
402
403
  # officially supported AWS SDKs and CLI can be found at
403
404
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
405
+ # @option options [String] :ssekms_encryption_context
406
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
407
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
408
+ # with the encryption context key-value pairs.
404
409
  # @option options [String] :request_payer
405
410
  # Confirms that the requester knows that she or he will be charged for
406
411
  # the request. Bucket owners need not specify this parameter in their
@@ -586,6 +586,11 @@ module Aws::S3
586
586
  # officially supported AWS SDKs and CLI can be found at
587
587
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
588
588
  #
589
+ # @option params [String] :ssekms_encryption_context
590
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
591
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
592
+ # with the encryption context key-value pairs.
593
+ #
589
594
  # @option params [String] :copy_source_sse_customer_algorithm
590
595
  # Specifies the algorithm to use when decrypting the source object
591
596
  # (e.g., AES256).
@@ -632,6 +637,7 @@ module Aws::S3
632
637
  # * {Types::CopyObjectOutput#sse_customer_algorithm #sse_customer_algorithm} => String
633
638
  # * {Types::CopyObjectOutput#sse_customer_key_md5 #sse_customer_key_md5} => String
634
639
  # * {Types::CopyObjectOutput#ssekms_key_id #ssekms_key_id} => String
640
+ # * {Types::CopyObjectOutput#ssekms_encryption_context #ssekms_encryption_context} => String
635
641
  # * {Types::CopyObjectOutput#request_charged #request_charged} => String
636
642
  #
637
643
  #
@@ -686,6 +692,7 @@ module Aws::S3
686
692
  # sse_customer_key: "SSECustomerKey",
687
693
  # sse_customer_key_md5: "SSECustomerKeyMD5",
688
694
  # ssekms_key_id: "SSEKMSKeyId",
695
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
689
696
  # copy_source_sse_customer_algorithm: "CopySourceSSECustomerAlgorithm",
690
697
  # copy_source_sse_customer_key: "CopySourceSSECustomerKey",
691
698
  # copy_source_sse_customer_key_md5: "CopySourceSSECustomerKeyMD5",
@@ -707,6 +714,7 @@ module Aws::S3
707
714
  # resp.sse_customer_algorithm #=> String
708
715
  # resp.sse_customer_key_md5 #=> String
709
716
  # resp.ssekms_key_id #=> String
717
+ # resp.ssekms_encryption_context #=> String
710
718
  # resp.request_charged #=> String, one of "requester"
711
719
  #
712
720
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject AWS API Documentation
@@ -753,33 +761,33 @@ module Aws::S3
753
761
  # * {Types::CreateBucketOutput#location #location} => String
754
762
  #
755
763
  #
756
- # @example Example: To create a bucket
764
+ # @example Example: To create a bucket in a specific region
757
765
  #
758
- # # The following example creates a bucket.
766
+ # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
759
767
  #
760
768
  # resp = client.create_bucket({
761
769
  # bucket: "examplebucket",
770
+ # create_bucket_configuration: {
771
+ # location_constraint: "eu-west-1",
772
+ # },
762
773
  # })
763
774
  #
764
775
  # resp.to_h outputs the following:
765
776
  # {
766
- # location: "/examplebucket",
777
+ # location: "http://examplebucket.s3.amazonaws.com/",
767
778
  # }
768
779
  #
769
- # @example Example: To create a bucket in a specific region
780
+ # @example Example: To create a bucket
770
781
  #
771
- # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
782
+ # # The following example creates a bucket.
772
783
  #
773
784
  # resp = client.create_bucket({
774
785
  # bucket: "examplebucket",
775
- # create_bucket_configuration: {
776
- # location_constraint: "eu-west-1",
777
- # },
778
786
  # })
779
787
  #
780
788
  # resp.to_h outputs the following:
781
789
  # {
782
- # location: "http://examplebucket.s3.amazonaws.com/",
790
+ # location: "/examplebucket",
783
791
  # }
784
792
  #
785
793
  # @example Request syntax with placeholder values
@@ -897,6 +905,11 @@ module Aws::S3
897
905
  # officially supported AWS SDKs and CLI can be found at
898
906
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
899
907
  #
908
+ # @option params [String] :ssekms_encryption_context
909
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
910
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
911
+ # with the encryption context key-value pairs.
912
+ #
900
913
  # @option params [String] :request_payer
901
914
  # Confirms that the requester knows that she or he will be charged for
902
915
  # the request. Bucket owners need not specify this parameter in their
@@ -930,6 +943,7 @@ module Aws::S3
930
943
  # * {Types::CreateMultipartUploadOutput#sse_customer_algorithm #sse_customer_algorithm} => String
931
944
  # * {Types::CreateMultipartUploadOutput#sse_customer_key_md5 #sse_customer_key_md5} => String
932
945
  # * {Types::CreateMultipartUploadOutput#ssekms_key_id #ssekms_key_id} => String
946
+ # * {Types::CreateMultipartUploadOutput#ssekms_encryption_context #ssekms_encryption_context} => String
933
947
  # * {Types::CreateMultipartUploadOutput#request_charged #request_charged} => String
934
948
  #
935
949
  #
@@ -975,6 +989,7 @@ module Aws::S3
975
989
  # sse_customer_key: "SSECustomerKey",
976
990
  # sse_customer_key_md5: "SSECustomerKeyMD5",
977
991
  # ssekms_key_id: "SSEKMSKeyId",
992
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
978
993
  # request_payer: "requester", # accepts requester
979
994
  # tagging: "TaggingHeader",
980
995
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -993,6 +1008,7 @@ module Aws::S3
993
1008
  # resp.sse_customer_algorithm #=> String
994
1009
  # resp.sse_customer_key_md5 #=> String
995
1010
  # resp.ssekms_key_id #=> String
1011
+ # resp.ssekms_encryption_context #=> String
996
1012
  # resp.request_charged #=> String, one of "requester"
997
1013
  #
998
1014
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload AWS API Documentation
@@ -1238,9 +1254,12 @@ module Aws::S3
1238
1254
  end
1239
1255
 
1240
1256
  # Deletes the replication configuration from the bucket. For information
1241
- # about replication configuration, see [Cross-Region Replication (CRR)](
1242
- # https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the
1243
- # *Amazon S3 Developer Guide*.
1257
+ # about replication configuration, see [Cross-Region Replication
1258
+ # (CRR)][1] in the *Amazon S3 Developer Guide*.
1259
+ #
1260
+ #
1261
+ #
1262
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html
1244
1263
  #
1245
1264
  # @option params [required, String] :bucket
1246
1265
  # The bucket name.
@@ -1369,6 +1388,15 @@ module Aws::S3
1369
1388
  # * {Types::DeleteObjectOutput#request_charged #request_charged} => String
1370
1389
  #
1371
1390
  #
1391
+ # @example Example: To delete an object (from a non-versioned bucket)
1392
+ #
1393
+ # # The following example deletes an object from a non-versioned bucket.
1394
+ #
1395
+ # resp = client.delete_object({
1396
+ # bucket: "ExampleBucket",
1397
+ # key: "HappyFace.jpg",
1398
+ # })
1399
+ #
1372
1400
  # @example Example: To delete an object
1373
1401
  #
1374
1402
  # # The following example deletes an object from an S3 bucket.
@@ -1382,15 +1410,6 @@ module Aws::S3
1382
1410
  # {
1383
1411
  # }
1384
1412
  #
1385
- # @example Example: To delete an object (from a non-versioned bucket)
1386
- #
1387
- # # The following example deletes an object from a non-versioned bucket.
1388
- #
1389
- # resp = client.delete_object({
1390
- # bucket: "ExampleBucket",
1391
- # key: "HappyFace.jpg",
1392
- # })
1393
- #
1394
1413
  # @example Request syntax with placeholder values
1395
1414
  #
1396
1415
  # resp = client.delete_object({
@@ -1513,20 +1532,22 @@ module Aws::S3
1513
1532
  # * {Types::DeleteObjectsOutput#errors #errors} => Array<Types::Error>
1514
1533
  #
1515
1534
  #
1516
- # @example Example: To delete multiple objects from a versioned bucket
1535
+ # @example Example: To delete multiple object versions from a versioned bucket
1517
1536
  #
1518
- # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
1519
- # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
1537
+ # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
1538
+ # # versions and returns the key and versions of deleted objects in the response.
1520
1539
  #
1521
1540
  # resp = client.delete_objects({
1522
1541
  # bucket: "examplebucket",
1523
1542
  # delete: {
1524
1543
  # objects: [
1525
1544
  # {
1526
- # key: "objectkey1",
1545
+ # key: "HappyFace.jpg",
1546
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1527
1547
  # },
1528
1548
  # {
1529
- # key: "objectkey2",
1549
+ # key: "HappyFace.jpg",
1550
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1530
1551
  # },
1531
1552
  # ],
1532
1553
  # quiet: false,
@@ -1537,34 +1558,30 @@ module Aws::S3
1537
1558
  # {
1538
1559
  # deleted: [
1539
1560
  # {
1540
- # delete_marker: true,
1541
- # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
1542
- # key: "objectkey1",
1561
+ # key: "HappyFace.jpg",
1562
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1543
1563
  # },
1544
1564
  # {
1545
- # delete_marker: true,
1546
- # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
1547
- # key: "objectkey2",
1565
+ # key: "HappyFace.jpg",
1566
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1548
1567
  # },
1549
1568
  # ],
1550
1569
  # }
1551
1570
  #
1552
- # @example Example: To delete multiple object versions from a versioned bucket
1571
+ # @example Example: To delete multiple objects from a versioned bucket
1553
1572
  #
1554
- # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
1555
- # # versions and returns the key and versions of deleted objects in the response.
1573
+ # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
1574
+ # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
1556
1575
  #
1557
1576
  # resp = client.delete_objects({
1558
1577
  # bucket: "examplebucket",
1559
1578
  # delete: {
1560
1579
  # objects: [
1561
1580
  # {
1562
- # key: "HappyFace.jpg",
1563
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1581
+ # key: "objectkey1",
1564
1582
  # },
1565
1583
  # {
1566
- # key: "HappyFace.jpg",
1567
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1584
+ # key: "objectkey2",
1568
1585
  # },
1569
1586
  # ],
1570
1587
  # quiet: false,
@@ -1575,12 +1592,14 @@ module Aws::S3
1575
1592
  # {
1576
1593
  # deleted: [
1577
1594
  # {
1578
- # key: "HappyFace.jpg",
1579
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1595
+ # delete_marker: true,
1596
+ # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
1597
+ # key: "objectkey1",
1580
1598
  # },
1581
1599
  # {
1582
- # key: "HappyFace.jpg",
1583
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1600
+ # delete_marker: true,
1601
+ # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
1602
+ # key: "objectkey2",
1584
1603
  # },
1585
1604
  # ],
1586
1605
  # }
@@ -2774,49 +2793,49 @@ module Aws::S3
2774
2793
  # * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
2775
2794
  #
2776
2795
  #
2777
- # @example Example: To retrieve a byte range of an object
2796
+ # @example Example: To retrieve an object
2778
2797
  #
2779
- # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
2780
- # # specific byte range.
2798
+ # # The following example retrieves an object for an S3 bucket.
2781
2799
  #
2782
2800
  # resp = client.get_object({
2783
2801
  # bucket: "examplebucket",
2784
- # key: "SampleFile.txt",
2785
- # range: "bytes=0-9",
2802
+ # key: "HappyFace.jpg",
2786
2803
  # })
2787
2804
  #
2788
2805
  # resp.to_h outputs the following:
2789
2806
  # {
2790
2807
  # accept_ranges: "bytes",
2791
- # content_length: 10,
2792
- # content_range: "bytes 0-9/43",
2793
- # content_type: "text/plain",
2794
- # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
2795
- # last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
2808
+ # content_length: 3191,
2809
+ # content_type: "image/jpeg",
2810
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
2811
+ # last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
2796
2812
  # metadata: {
2797
2813
  # },
2814
+ # tag_count: 2,
2798
2815
  # version_id: "null",
2799
2816
  # }
2800
2817
  #
2801
- # @example Example: To retrieve an object
2818
+ # @example Example: To retrieve a byte range of an object
2802
2819
  #
2803
- # # The following example retrieves an object for an S3 bucket.
2820
+ # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
2821
+ # # specific byte range.
2804
2822
  #
2805
2823
  # resp = client.get_object({
2806
2824
  # bucket: "examplebucket",
2807
- # key: "HappyFace.jpg",
2825
+ # key: "SampleFile.txt",
2826
+ # range: "bytes=0-9",
2808
2827
  # })
2809
2828
  #
2810
2829
  # resp.to_h outputs the following:
2811
2830
  # {
2812
2831
  # accept_ranges: "bytes",
2813
- # content_length: 3191,
2814
- # content_type: "image/jpeg",
2815
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
2816
- # last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
2832
+ # content_length: 10,
2833
+ # content_range: "bytes 0-9/43",
2834
+ # content_type: "text/plain",
2835
+ # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
2836
+ # last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
2817
2837
  # metadata: {
2818
2838
  # },
2819
- # tag_count: 2,
2820
2839
  # version_id: "null",
2821
2840
  # }
2822
2841
  #
@@ -3163,49 +3182,49 @@ module Aws::S3
3163
3182
  # * {Types::GetObjectTaggingOutput#tag_set #tag_set} => Array<Types::Tag>
3164
3183
  #
3165
3184
  #
3166
- # @example Example: To retrieve tag set of an object
3185
+ # @example Example: To retrieve tag set of a specific object version
3167
3186
  #
3168
- # # The following example retrieves tag set of an object.
3187
+ # # The following example retrieves tag set of an object. The request specifies object version.
3169
3188
  #
3170
3189
  # resp = client.get_object_tagging({
3171
3190
  # bucket: "examplebucket",
3172
- # key: "HappyFace.jpg",
3191
+ # key: "exampleobject",
3192
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3173
3193
  # })
3174
3194
  #
3175
3195
  # resp.to_h outputs the following:
3176
3196
  # {
3177
3197
  # tag_set: [
3178
3198
  # {
3179
- # key: "Key4",
3180
- # value: "Value4",
3181
- # },
3182
- # {
3183
- # key: "Key3",
3184
- # value: "Value3",
3199
+ # key: "Key1",
3200
+ # value: "Value1",
3185
3201
  # },
3186
3202
  # ],
3187
- # version_id: "null",
3203
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3188
3204
  # }
3189
3205
  #
3190
- # @example Example: To retrieve tag set of a specific object version
3206
+ # @example Example: To retrieve tag set of an object
3191
3207
  #
3192
- # # The following example retrieves tag set of an object. The request specifies object version.
3208
+ # # The following example retrieves tag set of an object.
3193
3209
  #
3194
3210
  # resp = client.get_object_tagging({
3195
3211
  # bucket: "examplebucket",
3196
- # key: "exampleobject",
3197
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3212
+ # key: "HappyFace.jpg",
3198
3213
  # })
3199
3214
  #
3200
3215
  # resp.to_h outputs the following:
3201
3216
  # {
3202
3217
  # tag_set: [
3203
3218
  # {
3204
- # key: "Key1",
3205
- # value: "Value1",
3219
+ # key: "Key4",
3220
+ # value: "Value4",
3221
+ # },
3222
+ # {
3223
+ # key: "Key3",
3224
+ # value: "Value3",
3206
3225
  # },
3207
3226
  # ],
3208
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3227
+ # version_id: "null",
3209
3228
  # }
3210
3229
  #
3211
3230
  # @example Request syntax with placeholder values
@@ -5710,6 +5729,11 @@ module Aws::S3
5710
5729
  # officially supported AWS SDKs and CLI can be found at
5711
5730
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
5712
5731
  #
5732
+ # @option params [String] :ssekms_encryption_context
5733
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
5734
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
5735
+ # with the encryption context key-value pairs.
5736
+ #
5713
5737
  # @option params [String] :request_payer
5714
5738
  # Confirms that the requester knows that she or he will be charged for
5715
5739
  # the request. Bucket owners need not specify this parameter in their
@@ -5739,137 +5763,138 @@ module Aws::S3
5739
5763
  # * {Types::PutObjectOutput#sse_customer_algorithm #sse_customer_algorithm} => String
5740
5764
  # * {Types::PutObjectOutput#sse_customer_key_md5 #sse_customer_key_md5} => String
5741
5765
  # * {Types::PutObjectOutput#ssekms_key_id #ssekms_key_id} => String
5766
+ # * {Types::PutObjectOutput#ssekms_encryption_context #ssekms_encryption_context} => String
5742
5767
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
5743
5768
  #
5744
5769
  #
5745
- # @example Example: To upload an object and specify server-side encryption and object tags
5770
+ # @example Example: To upload an object and specify canned ACL.
5746
5771
  #
5747
- # # The following example uploads and object. The request specifies the optional server-side encryption option. The request
5748
- # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
5772
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
5773
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
5749
5774
  #
5750
5775
  # resp = client.put_object({
5776
+ # acl: "authenticated-read",
5751
5777
  # body: "filetoupload",
5752
5778
  # bucket: "examplebucket",
5753
5779
  # key: "exampleobject",
5754
- # server_side_encryption: "AES256",
5755
- # tagging: "key1=value1&key2=value2",
5756
5780
  # })
5757
5781
  #
5758
5782
  # resp.to_h outputs the following:
5759
5783
  # {
5760
5784
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5761
- # server_side_encryption: "AES256",
5762
- # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
5785
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
5763
5786
  # }
5764
5787
  #
5765
- # @example Example: To create an object.
5788
+ # @example Example: To upload an object and specify optional tags
5766
5789
  #
5767
- # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
5790
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
5791
+ # # S3 returns version ID of the newly created object.
5768
5792
  #
5769
5793
  # resp = client.put_object({
5770
- # body: "filetoupload",
5794
+ # body: "c:\\HappyFace.jpg",
5771
5795
  # bucket: "examplebucket",
5772
- # key: "objectkey",
5796
+ # key: "HappyFace.jpg",
5797
+ # tagging: "key1=value1&key2=value2",
5773
5798
  # })
5774
5799
  #
5775
5800
  # resp.to_h outputs the following:
5776
5801
  # {
5777
5802
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5778
- # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
5803
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
5779
5804
  # }
5780
5805
  #
5781
- # @example Example: To upload an object and specify canned ACL.
5806
+ # @example Example: To upload object and specify user-defined metadata
5782
5807
  #
5783
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
5784
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
5808
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
5809
+ # # enabled, S3 returns version ID in response.
5785
5810
  #
5786
5811
  # resp = client.put_object({
5787
- # acl: "authenticated-read",
5788
5812
  # body: "filetoupload",
5789
5813
  # bucket: "examplebucket",
5790
5814
  # key: "exampleobject",
5815
+ # metadata: {
5816
+ # "metadata1" => "value1",
5817
+ # "metadata2" => "value2",
5818
+ # },
5791
5819
  # })
5792
5820
  #
5793
5821
  # resp.to_h outputs the following:
5794
5822
  # {
5795
5823
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5796
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
5824
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
5797
5825
  # }
5798
5826
  #
5799
- # @example Example: To upload an object
5827
+ # @example Example: To upload an object and specify server-side encryption and object tags
5800
5828
  #
5801
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
5802
- # # syntax. S3 returns VersionId of the newly created object.
5829
+ # # The following example uploads and object. The request specifies the optional server-side encryption option. The request
5830
+ # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
5803
5831
  #
5804
5832
  # resp = client.put_object({
5805
- # body: "HappyFace.jpg",
5833
+ # body: "filetoupload",
5806
5834
  # bucket: "examplebucket",
5807
- # key: "HappyFace.jpg",
5835
+ # key: "exampleobject",
5836
+ # server_side_encryption: "AES256",
5837
+ # tagging: "key1=value1&key2=value2",
5808
5838
  # })
5809
5839
  #
5810
5840
  # resp.to_h outputs the following:
5811
5841
  # {
5812
5842
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5813
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
5843
+ # server_side_encryption: "AES256",
5844
+ # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
5814
5845
  # }
5815
5846
  #
5816
- # @example Example: To upload object and specify user-defined metadata
5847
+ # @example Example: To create an object.
5817
5848
  #
5818
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
5819
- # # enabled, S3 returns version ID in response.
5849
+ # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
5820
5850
  #
5821
5851
  # resp = client.put_object({
5822
5852
  # body: "filetoupload",
5823
5853
  # bucket: "examplebucket",
5824
- # key: "exampleobject",
5825
- # metadata: {
5826
- # "metadata1" => "value1",
5827
- # "metadata2" => "value2",
5828
- # },
5854
+ # key: "objectkey",
5829
5855
  # })
5830
5856
  #
5831
5857
  # resp.to_h outputs the following:
5832
5858
  # {
5833
5859
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5834
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
5860
+ # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
5835
5861
  # }
5836
5862
  #
5837
- # @example Example: To upload an object (specify optional headers)
5863
+ # @example Example: To upload an object
5838
5864
  #
5839
- # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
5840
- # # storage class and use server-side encryption.
5865
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
5866
+ # # syntax. S3 returns VersionId of the newly created object.
5841
5867
  #
5842
5868
  # resp = client.put_object({
5843
5869
  # body: "HappyFace.jpg",
5844
5870
  # bucket: "examplebucket",
5845
5871
  # key: "HappyFace.jpg",
5846
- # server_side_encryption: "AES256",
5847
- # storage_class: "STANDARD_IA",
5848
5872
  # })
5849
5873
  #
5850
5874
  # resp.to_h outputs the following:
5851
5875
  # {
5852
5876
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5853
- # server_side_encryption: "AES256",
5854
- # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
5877
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
5855
5878
  # }
5856
5879
  #
5857
- # @example Example: To upload an object and specify optional tags
5880
+ # @example Example: To upload an object (specify optional headers)
5858
5881
  #
5859
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
5860
- # # S3 returns version ID of the newly created object.
5882
+ # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
5883
+ # # storage class and use server-side encryption.
5861
5884
  #
5862
5885
  # resp = client.put_object({
5863
- # body: "c:\\HappyFace.jpg",
5886
+ # body: "HappyFace.jpg",
5864
5887
  # bucket: "examplebucket",
5865
5888
  # key: "HappyFace.jpg",
5866
- # tagging: "key1=value1&key2=value2",
5889
+ # server_side_encryption: "AES256",
5890
+ # storage_class: "STANDARD_IA",
5867
5891
  # })
5868
5892
  #
5869
5893
  # resp.to_h outputs the following:
5870
5894
  # {
5871
5895
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5872
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
5896
+ # server_side_encryption: "AES256",
5897
+ # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
5873
5898
  # }
5874
5899
  #
5875
5900
  # @example Streaming a file from disk
@@ -5907,6 +5932,7 @@ module Aws::S3
5907
5932
  # sse_customer_key: "SSECustomerKey",
5908
5933
  # sse_customer_key_md5: "SSECustomerKeyMD5",
5909
5934
  # ssekms_key_id: "SSEKMSKeyId",
5935
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
5910
5936
  # request_payer: "requester", # accepts requester
5911
5937
  # tagging: "TaggingHeader",
5912
5938
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -5923,6 +5949,7 @@ module Aws::S3
5923
5949
  # resp.sse_customer_algorithm #=> String
5924
5950
  # resp.sse_customer_key_md5 #=> String
5925
5951
  # resp.ssekms_key_id #=> String
5952
+ # resp.ssekms_encryption_context #=> String
5926
5953
  # resp.request_charged #=> String, one of "requester"
5927
5954
  #
5928
5955
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject AWS API Documentation
@@ -7072,7 +7099,7 @@ module Aws::S3
7072
7099
  params: params,
7073
7100
  config: config)
7074
7101
  context[:gem_name] = 'aws-sdk-s3'
7075
- context[:gem_version] = '1.44.0'
7102
+ context[:gem_version] = '1.45.0'
7076
7103
  Seahorse::Client::Request.new(handlers, context)
7077
7104
  end
7078
7105
 
@@ -460,6 +460,7 @@ module Aws::S3
460
460
  SSECustomerKey = Shapes::StringShape.new(name: 'SSECustomerKey')
461
461
  SSECustomerKeyMD5 = Shapes::StringShape.new(name: 'SSECustomerKeyMD5')
462
462
  SSEKMS = Shapes::StructureShape.new(name: 'SSEKMS')
463
+ SSEKMSEncryptionContext = Shapes::StringShape.new(name: 'SSEKMSEncryptionContext')
463
464
  SSEKMSKeyId = Shapes::StringShape.new(name: 'SSEKMSKeyId')
464
465
  SSES3 = Shapes::StructureShape.new(name: 'SSES3')
465
466
  SelectObjectContentEventStream = Shapes::StructureShape.new(name: 'SelectObjectContentEventStream')
@@ -666,6 +667,7 @@ module Aws::S3
666
667
  CopyObjectOutput.add_member(:sse_customer_algorithm, Shapes::ShapeRef.new(shape: SSECustomerAlgorithm, location: "header", location_name: "x-amz-server-side-encryption-customer-algorithm"))
667
668
  CopyObjectOutput.add_member(:sse_customer_key_md5, Shapes::ShapeRef.new(shape: SSECustomerKeyMD5, location: "header", location_name: "x-amz-server-side-encryption-customer-key-MD5"))
668
669
  CopyObjectOutput.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
670
+ CopyObjectOutput.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
669
671
  CopyObjectOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
670
672
  CopyObjectOutput.struct_class = Types::CopyObjectOutput
671
673
  CopyObjectOutput[:payload] = :copy_object_result
@@ -699,6 +701,7 @@ module Aws::S3
699
701
  CopyObjectRequest.add_member(:sse_customer_key, Shapes::ShapeRef.new(shape: SSECustomerKey, location: "header", location_name: "x-amz-server-side-encryption-customer-key"))
700
702
  CopyObjectRequest.add_member(:sse_customer_key_md5, Shapes::ShapeRef.new(shape: SSECustomerKeyMD5, location: "header", location_name: "x-amz-server-side-encryption-customer-key-MD5"))
701
703
  CopyObjectRequest.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
704
+ CopyObjectRequest.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
702
705
  CopyObjectRequest.add_member(:copy_source_sse_customer_algorithm, Shapes::ShapeRef.new(shape: CopySourceSSECustomerAlgorithm, location: "header", location_name: "x-amz-copy-source-server-side-encryption-customer-algorithm"))
703
706
  CopyObjectRequest.add_member(:copy_source_sse_customer_key, Shapes::ShapeRef.new(shape: CopySourceSSECustomerKey, location: "header", location_name: "x-amz-copy-source-server-side-encryption-customer-key"))
704
707
  CopyObjectRequest.add_member(:copy_source_sse_customer_key_md5, Shapes::ShapeRef.new(shape: CopySourceSSECustomerKeyMD5, location: "header", location_name: "x-amz-copy-source-server-side-encryption-customer-key-MD5"))
@@ -745,6 +748,7 @@ module Aws::S3
745
748
  CreateMultipartUploadOutput.add_member(:sse_customer_algorithm, Shapes::ShapeRef.new(shape: SSECustomerAlgorithm, location: "header", location_name: "x-amz-server-side-encryption-customer-algorithm"))
746
749
  CreateMultipartUploadOutput.add_member(:sse_customer_key_md5, Shapes::ShapeRef.new(shape: SSECustomerKeyMD5, location: "header", location_name: "x-amz-server-side-encryption-customer-key-MD5"))
747
750
  CreateMultipartUploadOutput.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
751
+ CreateMultipartUploadOutput.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
748
752
  CreateMultipartUploadOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
749
753
  CreateMultipartUploadOutput.struct_class = Types::CreateMultipartUploadOutput
750
754
 
@@ -769,6 +773,7 @@ module Aws::S3
769
773
  CreateMultipartUploadRequest.add_member(:sse_customer_key, Shapes::ShapeRef.new(shape: SSECustomerKey, location: "header", location_name: "x-amz-server-side-encryption-customer-key"))
770
774
  CreateMultipartUploadRequest.add_member(:sse_customer_key_md5, Shapes::ShapeRef.new(shape: SSECustomerKeyMD5, location: "header", location_name: "x-amz-server-side-encryption-customer-key-MD5"))
771
775
  CreateMultipartUploadRequest.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
776
+ CreateMultipartUploadRequest.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
772
777
  CreateMultipartUploadRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
773
778
  CreateMultipartUploadRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: TaggingHeader, location: "header", location_name: "x-amz-tagging"))
774
779
  CreateMultipartUploadRequest.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
@@ -1804,6 +1809,7 @@ module Aws::S3
1804
1809
  PutObjectOutput.add_member(:sse_customer_algorithm, Shapes::ShapeRef.new(shape: SSECustomerAlgorithm, location: "header", location_name: "x-amz-server-side-encryption-customer-algorithm"))
1805
1810
  PutObjectOutput.add_member(:sse_customer_key_md5, Shapes::ShapeRef.new(shape: SSECustomerKeyMD5, location: "header", location_name: "x-amz-server-side-encryption-customer-key-MD5"))
1806
1811
  PutObjectOutput.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
1812
+ PutObjectOutput.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
1807
1813
  PutObjectOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
1808
1814
  PutObjectOutput.struct_class = Types::PutObjectOutput
1809
1815
 
@@ -1831,6 +1837,7 @@ module Aws::S3
1831
1837
  PutObjectRequest.add_member(:sse_customer_key, Shapes::ShapeRef.new(shape: SSECustomerKey, location: "header", location_name: "x-amz-server-side-encryption-customer-key"))
1832
1838
  PutObjectRequest.add_member(:sse_customer_key_md5, Shapes::ShapeRef.new(shape: SSECustomerKeyMD5, location: "header", location_name: "x-amz-server-side-encryption-customer-key-MD5"))
1833
1839
  PutObjectRequest.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
1840
+ PutObjectRequest.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
1834
1841
  PutObjectRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
1835
1842
  PutObjectRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: TaggingHeader, location: "header", location_name: "x-amz-tagging"))
1836
1843
  PutObjectRequest.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
@@ -452,6 +452,7 @@ module Aws::S3
452
452
  # sse_customer_key: "SSECustomerKey",
453
453
  # sse_customer_key_md5: "SSECustomerKeyMD5",
454
454
  # ssekms_key_id: "SSEKMSKeyId",
455
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
455
456
  # copy_source_sse_customer_algorithm: "CopySourceSSECustomerAlgorithm",
456
457
  # copy_source_sse_customer_key: "CopySourceSSECustomerKey",
457
458
  # copy_source_sse_customer_key_md5: "CopySourceSSECustomerKeyMD5",
@@ -536,6 +537,10 @@ module Aws::S3
536
537
  # via SSL or using SigV4. Documentation on configuring any of the
537
538
  # officially supported AWS SDKs and CLI can be found at
538
539
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
540
+ # @option options [String] :ssekms_encryption_context
541
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
542
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
543
+ # with the encryption context key-value pairs.
539
544
  # @option options [String] :copy_source_sse_customer_algorithm
540
545
  # Specifies the algorithm to use when decrypting the source object
541
546
  # (e.g., AES256).
@@ -717,6 +722,7 @@ module Aws::S3
717
722
  # sse_customer_key: "SSECustomerKey",
718
723
  # sse_customer_key_md5: "SSECustomerKeyMD5",
719
724
  # ssekms_key_id: "SSEKMSKeyId",
725
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
720
726
  # request_payer: "requester", # accepts requester
721
727
  # tagging: "TaggingHeader",
722
728
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -779,6 +785,10 @@ module Aws::S3
779
785
  # via SSL or using SigV4. Documentation on configuring any of the
780
786
  # officially supported AWS SDKs and CLI can be found at
781
787
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
788
+ # @option options [String] :ssekms_encryption_context
789
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
790
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
791
+ # with the encryption context key-value pairs.
782
792
  # @option options [String] :request_payer
783
793
  # Confirms that the requester knows that she or he will be charged for
784
794
  # the request. Bucket owners need not specify this parameter in their
@@ -838,6 +848,7 @@ module Aws::S3
838
848
  # sse_customer_key: "SSECustomerKey",
839
849
  # sse_customer_key_md5: "SSECustomerKeyMD5",
840
850
  # ssekms_key_id: "SSEKMSKeyId",
851
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
841
852
  # request_payer: "requester", # accepts requester
842
853
  # tagging: "TaggingHeader",
843
854
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -909,6 +920,10 @@ module Aws::S3
909
920
  # via SSL or using SigV4. Documentation on configuring any of the
910
921
  # officially supported AWS SDKs and CLI can be found at
911
922
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
923
+ # @option options [String] :ssekms_encryption_context
924
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
925
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
926
+ # with the encryption context key-value pairs.
912
927
  # @option options [String] :request_payer
913
928
  # Confirms that the requester knows that she or he will be charged for
914
929
  # the request. Bucket owners need not specify this parameter in their
@@ -278,6 +278,7 @@ module Aws::S3
278
278
  # sse_customer_key: "SSECustomerKey",
279
279
  # sse_customer_key_md5: "SSECustomerKeyMD5",
280
280
  # ssekms_key_id: "SSEKMSKeyId",
281
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
281
282
  # copy_source_sse_customer_algorithm: "CopySourceSSECustomerAlgorithm",
282
283
  # copy_source_sse_customer_key: "CopySourceSSECustomerKey",
283
284
  # copy_source_sse_customer_key_md5: "CopySourceSSECustomerKeyMD5",
@@ -362,6 +363,10 @@ module Aws::S3
362
363
  # via SSL or using SigV4. Documentation on configuring any of the
363
364
  # officially supported AWS SDKs and CLI can be found at
364
365
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
366
+ # @option options [String] :ssekms_encryption_context
367
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
368
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
369
+ # with the encryption context key-value pairs.
365
370
  # @option options [String] :copy_source_sse_customer_algorithm
366
371
  # Specifies the algorithm to use when decrypting the source object
367
372
  # (e.g., AES256).
@@ -543,6 +548,7 @@ module Aws::S3
543
548
  # sse_customer_key: "SSECustomerKey",
544
549
  # sse_customer_key_md5: "SSECustomerKeyMD5",
545
550
  # ssekms_key_id: "SSEKMSKeyId",
551
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
546
552
  # request_payer: "requester", # accepts requester
547
553
  # tagging: "TaggingHeader",
548
554
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -605,6 +611,10 @@ module Aws::S3
605
611
  # via SSL or using SigV4. Documentation on configuring any of the
606
612
  # officially supported AWS SDKs and CLI can be found at
607
613
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
614
+ # @option options [String] :ssekms_encryption_context
615
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
616
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
617
+ # with the encryption context key-value pairs.
608
618
  # @option options [String] :request_payer
609
619
  # Confirms that the requester knows that she or he will be charged for
610
620
  # the request. Bucket owners need not specify this parameter in their
@@ -664,6 +674,7 @@ module Aws::S3
664
674
  # sse_customer_key: "SSECustomerKey",
665
675
  # sse_customer_key_md5: "SSECustomerKeyMD5",
666
676
  # ssekms_key_id: "SSEKMSKeyId",
677
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
667
678
  # request_payer: "requester", # accepts requester
668
679
  # tagging: "TaggingHeader",
669
680
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -735,6 +746,10 @@ module Aws::S3
735
746
  # via SSL or using SigV4. Documentation on configuring any of the
736
747
  # officially supported AWS SDKs and CLI can be found at
737
748
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
749
+ # @option options [String] :ssekms_encryption_context
750
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
751
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
752
+ # with the encryption context key-value pairs.
738
753
  # @option options [String] :request_payer
739
754
  # Confirms that the requester knows that she or he will be charged for
740
755
  # the request. Bucket owners need not specify this parameter in their
@@ -993,6 +993,13 @@ module Aws::S3
993
993
  # master encryption key that was used for the object.
994
994
  # @return [String]
995
995
  #
996
+ # @!attribute [rw] ssekms_encryption_context
997
+ # If present, specifies the AWS KMS Encryption Context to use for
998
+ # object encryption. The value of this header is a base64-encoded
999
+ # UTF-8 string holding JSON with the encryption context key-value
1000
+ # pairs.
1001
+ # @return [String]
1002
+ #
996
1003
  # @!attribute [rw] request_charged
997
1004
  # If present, indicates that the requester was successfully charged
998
1005
  # for the request.
@@ -1009,6 +1016,7 @@ module Aws::S3
1009
1016
  :sse_customer_algorithm,
1010
1017
  :sse_customer_key_md5,
1011
1018
  :ssekms_key_id,
1019
+ :ssekms_encryption_context,
1012
1020
  :request_charged)
1013
1021
  include Aws::Structure
1014
1022
  end
@@ -1047,6 +1055,7 @@ module Aws::S3
1047
1055
  # sse_customer_key: "SSECustomerKey",
1048
1056
  # sse_customer_key_md5: "SSECustomerKeyMD5",
1049
1057
  # ssekms_key_id: "SSEKMSKeyId",
1058
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
1050
1059
  # copy_source_sse_customer_algorithm: "CopySourceSSECustomerAlgorithm",
1051
1060
  # copy_source_sse_customer_key: "CopySourceSSECustomerKey",
1052
1061
  # copy_source_sse_customer_key_md5: "CopySourceSSECustomerKeyMD5",
@@ -1191,6 +1200,12 @@ module Aws::S3
1191
1200
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
1192
1201
  # @return [String]
1193
1202
  #
1203
+ # @!attribute [rw] ssekms_encryption_context
1204
+ # Specifies the AWS KMS Encryption Context to use for object
1205
+ # encryption. The value of this header is a base64-encoded UTF-8
1206
+ # string holding JSON with the encryption context key-value pairs.
1207
+ # @return [String]
1208
+ #
1194
1209
  # @!attribute [rw] copy_source_sse_customer_algorithm
1195
1210
  # Specifies the algorithm to use when decrypting the source object
1196
1211
  # (e.g., AES256).
@@ -1267,6 +1282,7 @@ module Aws::S3
1267
1282
  :sse_customer_key,
1268
1283
  :sse_customer_key_md5,
1269
1284
  :ssekms_key_id,
1285
+ :ssekms_encryption_context,
1270
1286
  :copy_source_sse_customer_algorithm,
1271
1287
  :copy_source_sse_customer_key,
1272
1288
  :copy_source_sse_customer_key_md5,
@@ -1452,6 +1468,13 @@ module Aws::S3
1452
1468
  # master encryption key that was used for the object.
1453
1469
  # @return [String]
1454
1470
  #
1471
+ # @!attribute [rw] ssekms_encryption_context
1472
+ # If present, specifies the AWS KMS Encryption Context to use for
1473
+ # object encryption. The value of this header is a base64-encoded
1474
+ # UTF-8 string holding JSON with the encryption context key-value
1475
+ # pairs.
1476
+ # @return [String]
1477
+ #
1455
1478
  # @!attribute [rw] request_charged
1456
1479
  # If present, indicates that the requester was successfully charged
1457
1480
  # for the request.
@@ -1469,6 +1492,7 @@ module Aws::S3
1469
1492
  :sse_customer_algorithm,
1470
1493
  :sse_customer_key_md5,
1471
1494
  :ssekms_key_id,
1495
+ :ssekms_encryption_context,
1472
1496
  :request_charged)
1473
1497
  include Aws::Structure
1474
1498
  end
@@ -1500,6 +1524,7 @@ module Aws::S3
1500
1524
  # sse_customer_key: "SSECustomerKey",
1501
1525
  # sse_customer_key_md5: "SSECustomerKeyMD5",
1502
1526
  # ssekms_key_id: "SSEKMSKeyId",
1527
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
1503
1528
  # request_payer: "requester", # accepts requester
1504
1529
  # tagging: "TaggingHeader",
1505
1530
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -1607,6 +1632,12 @@ module Aws::S3
1607
1632
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
1608
1633
  # @return [String]
1609
1634
  #
1635
+ # @!attribute [rw] ssekms_encryption_context
1636
+ # Specifies the AWS KMS Encryption Context to use for object
1637
+ # encryption. The value of this header is a base64-encoded UTF-8
1638
+ # string holding JSON with the encryption context key-value pairs.
1639
+ # @return [String]
1640
+ #
1610
1641
  # @!attribute [rw] request_payer
1611
1642
  # Confirms that the requester knows that she or he will be charged for
1612
1643
  # the request. Bucket owners need not specify this parameter in their
@@ -1658,6 +1689,7 @@ module Aws::S3
1658
1689
  :sse_customer_key,
1659
1690
  :sse_customer_key_md5,
1660
1691
  :ssekms_key_id,
1692
+ :ssekms_encryption_context,
1661
1693
  :request_payer,
1662
1694
  :tagging,
1663
1695
  :object_lock_mode,
@@ -7753,6 +7785,13 @@ module Aws::S3
7753
7785
  # master encryption key that was used for the object.
7754
7786
  # @return [String]
7755
7787
  #
7788
+ # @!attribute [rw] ssekms_encryption_context
7789
+ # If present, specifies the AWS KMS Encryption Context to use for
7790
+ # object encryption. The value of this header is a base64-encoded
7791
+ # UTF-8 string holding JSON with the encryption context key-value
7792
+ # pairs.
7793
+ # @return [String]
7794
+ #
7756
7795
  # @!attribute [rw] request_charged
7757
7796
  # If present, indicates that the requester was successfully charged
7758
7797
  # for the request.
@@ -7768,6 +7807,7 @@ module Aws::S3
7768
7807
  :sse_customer_algorithm,
7769
7808
  :sse_customer_key_md5,
7770
7809
  :ssekms_key_id,
7810
+ :ssekms_encryption_context,
7771
7811
  :request_charged)
7772
7812
  include Aws::Structure
7773
7813
  end
@@ -7802,6 +7842,7 @@ module Aws::S3
7802
7842
  # sse_customer_key: "SSECustomerKey",
7803
7843
  # sse_customer_key_md5: "SSECustomerKeyMD5",
7804
7844
  # ssekms_key_id: "SSEKMSKeyId",
7845
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
7805
7846
  # request_payer: "requester", # accepts requester
7806
7847
  # tagging: "TaggingHeader",
7807
7848
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -7926,6 +7967,12 @@ module Aws::S3
7926
7967
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
7927
7968
  # @return [String]
7928
7969
  #
7970
+ # @!attribute [rw] ssekms_encryption_context
7971
+ # Specifies the AWS KMS Encryption Context to use for object
7972
+ # encryption. The value of this header is a base64-encoded UTF-8
7973
+ # string holding JSON with the encryption context key-value pairs.
7974
+ # @return [String]
7975
+ #
7929
7976
  # @!attribute [rw] request_payer
7930
7977
  # Confirms that the requester knows that she or he will be charged for
7931
7978
  # the request. Bucket owners need not specify this parameter in their
@@ -7980,6 +8027,7 @@ module Aws::S3
7980
8027
  :sse_customer_key,
7981
8028
  :sse_customer_key_md5,
7982
8029
  :ssekms_key_id,
8030
+ :ssekms_encryption_context,
7983
8031
  :request_payer,
7984
8032
  :tagging,
7985
8033
  :object_lock_mode,
@@ -8491,9 +8539,12 @@ module Aws::S3
8491
8539
  # * Same object qualify tag based filter criteria specified in
8492
8540
  # multiple rules
8493
8541
  #
8494
- # For more information, see [Cross-Region Replication (CRR)](
8495
- # https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the
8542
+ # For more information, see [Cross-Region Replication (CRR)][1] in the
8496
8543
  # *Amazon S3 Developer Guide*.
8544
+ #
8545
+ #
8546
+ #
8547
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html
8497
8548
  # @return [Integer]
8498
8549
  #
8499
8550
  # @!attribute [rw] prefix
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-01 00:00:00.000000000 Z
11
+ date: 2019-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms