aws-sdk-s3 1.114.0 → 1.115.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc4ed3965895fd8f673f79e9c405d272cd281f2fee60e6f78a791a0743c981fe
4
- data.tar.gz: 2328ddf1594b50e642acfb659edc07fe02f35ad383948363699333e63e3b57ca
3
+ metadata.gz: 8f6bcf037d303611c499b18e346918dfa94632af0e0f2170ddea71b04022b646
4
+ data.tar.gz: 87619f8106356f34e070a7215bbd81de9e58ac3a3d7a586b5f93064eb1989d2d
5
5
  SHA512:
6
- metadata.gz: d35e6bd7c43c29a3bb8b31b4094a89608fac6ed9b3b13fd4da5fa37419f573215290346214d1c62747add1f352b43c405afb2c4b7e187ce267def725aa8b2ff1
7
- data.tar.gz: b02f97001766edc02501290d135234ef99b45b54bf25560384887455a1f4dcec81b235aaa553e25e43cfe60c7cd8ef6a315ba44979b94fd0f6d2c2dc7a348404
6
+ metadata.gz: 0f218e976873fed04027aa60f9b946f02e0329d6e9f375f2024072744b372070966dec41dd9386e9c69da1875e575c8b481f47584e84e16561e18f669d3ae020
7
+ data.tar.gz: '08d983381937f557e2b7b3159bd8d7bfce48cc80962c9319d81f2a6032ecb7a7e95fe0af3b140d0ef3db6d2023ebca0c880a8b2337c40bcd459cadc67599d595'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.115.0 (2022-10-19)
5
+ ------------------
6
+
7
+ * Feature - Updates internal logic for constructing API endpoints. We have added rule-based endpoints and internal model parameters.
8
+
4
9
  1.114.0 (2022-05-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
1
+ 1.115.0
@@ -223,7 +223,7 @@ module Aws::S3
223
223
  # bucket.create({
224
224
  # acl: "private", # accepts private, public-read, public-read-write, authenticated-read
225
225
  # create_bucket_configuration: {
226
- # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
226
+ # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
227
227
  # },
228
228
  # grant_full_control: "GrantFullControl",
229
229
  # grant_read: "GrantRead",
@@ -1697,7 +1697,7 @@ module Aws::S3
1697
1697
  # acl: "private", # accepts private, public-read, public-read-write, authenticated-read
1698
1698
  # bucket: "BucketName", # required
1699
1699
  # create_bucket_configuration: {
1700
- # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
1700
+ # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
1701
1701
  # },
1702
1702
  # grant_full_control: "GrantFullControl",
1703
1703
  # grant_read: "GrantRead",
@@ -3223,35 +3223,35 @@ module Aws::S3
3223
3223
  # * {Types::DeleteObjectTaggingOutput#version_id #version_id} => String
3224
3224
  #
3225
3225
  #
3226
- # @example Example: To remove tag set from an object version
3226
+ # @example Example: To remove tag set from an object
3227
3227
  #
3228
- # # The following example removes tag set associated with the specified object version. The request specifies both the
3229
- # # object key and object version.
3228
+ # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
3229
+ # # operation removes tag set from the latest object version.
3230
3230
  #
3231
3231
  # resp = client.delete_object_tagging({
3232
3232
  # bucket: "examplebucket",
3233
3233
  # key: "HappyFace.jpg",
3234
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3235
3234
  # })
3236
3235
  #
3237
3236
  # resp.to_h outputs the following:
3238
3237
  # {
3239
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3238
+ # version_id: "null",
3240
3239
  # }
3241
3240
  #
3242
- # @example Example: To remove tag set from an object
3241
+ # @example Example: To remove tag set from an object version
3243
3242
  #
3244
- # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
3245
- # # operation removes tag set from the latest object version.
3243
+ # # The following example removes tag set associated with the specified object version. The request specifies both the
3244
+ # # object key and object version.
3246
3245
  #
3247
3246
  # resp = client.delete_object_tagging({
3248
3247
  # bucket: "examplebucket",
3249
3248
  # key: "HappyFace.jpg",
3249
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3250
3250
  # })
3251
3251
  #
3252
3252
  # resp.to_h outputs the following:
3253
3253
  # {
3254
- # version_id: "null",
3254
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3255
3255
  # }
3256
3256
  #
3257
3257
  # @example Request syntax with placeholder values
@@ -3410,22 +3410,20 @@ module Aws::S3
3410
3410
  # * {Types::DeleteObjectsOutput#errors #errors} => Array<Types::Error>
3411
3411
  #
3412
3412
  #
3413
- # @example Example: To delete multiple object versions from a versioned bucket
3413
+ # @example Example: To delete multiple objects from a versioned bucket
3414
3414
  #
3415
- # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
3416
- # # versions and returns the key and versions of deleted objects in the response.
3415
+ # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
3416
+ # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
3417
3417
  #
3418
3418
  # resp = client.delete_objects({
3419
3419
  # bucket: "examplebucket",
3420
3420
  # delete: {
3421
3421
  # objects: [
3422
3422
  # {
3423
- # key: "HappyFace.jpg",
3424
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
3423
+ # key: "objectkey1",
3425
3424
  # },
3426
3425
  # {
3427
- # key: "HappyFace.jpg",
3428
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
3426
+ # key: "objectkey2",
3429
3427
  # },
3430
3428
  # ],
3431
3429
  # quiet: false,
@@ -3436,30 +3434,34 @@ module Aws::S3
3436
3434
  # {
3437
3435
  # deleted: [
3438
3436
  # {
3439
- # key: "HappyFace.jpg",
3440
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
3437
+ # delete_marker: true,
3438
+ # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
3439
+ # key: "objectkey1",
3441
3440
  # },
3442
3441
  # {
3443
- # key: "HappyFace.jpg",
3444
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
3442
+ # delete_marker: true,
3443
+ # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
3444
+ # key: "objectkey2",
3445
3445
  # },
3446
3446
  # ],
3447
3447
  # }
3448
3448
  #
3449
- # @example Example: To delete multiple objects from a versioned bucket
3449
+ # @example Example: To delete multiple object versions from a versioned bucket
3450
3450
  #
3451
- # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
3452
- # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
3451
+ # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
3452
+ # # versions and returns the key and versions of deleted objects in the response.
3453
3453
  #
3454
3454
  # resp = client.delete_objects({
3455
3455
  # bucket: "examplebucket",
3456
3456
  # delete: {
3457
3457
  # objects: [
3458
3458
  # {
3459
- # key: "objectkey1",
3459
+ # key: "HappyFace.jpg",
3460
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
3460
3461
  # },
3461
3462
  # {
3462
- # key: "objectkey2",
3463
+ # key: "HappyFace.jpg",
3464
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
3463
3465
  # },
3464
3466
  # ],
3465
3467
  # quiet: false,
@@ -3470,14 +3472,12 @@ module Aws::S3
3470
3472
  # {
3471
3473
  # deleted: [
3472
3474
  # {
3473
- # delete_marker: true,
3474
- # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
3475
- # key: "objectkey1",
3475
+ # key: "HappyFace.jpg",
3476
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
3476
3477
  # },
3477
3478
  # {
3478
- # delete_marker: true,
3479
- # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
3480
- # key: "objectkey2",
3479
+ # key: "HappyFace.jpg",
3480
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
3481
3481
  # },
3482
3482
  # ],
3483
3483
  # }
@@ -4418,7 +4418,7 @@ module Aws::S3
4418
4418
  #
4419
4419
  # @example Response structure
4420
4420
  #
4421
- # resp.location_constraint #=> String, one of "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ca-central-1", "cn-north-1", "cn-northwest-1", "EU", "eu-central-1", "eu-north-1", "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", "me-south-1", "sa-east-1", "us-east-2", "us-gov-east-1", "us-gov-west-1", "us-west-1", "us-west-2"
4421
+ # resp.location_constraint #=> String, one of "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ca-central-1", "cn-north-1", "cn-northwest-1", "EU", "eu-central-1", "eu-north-1", "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", "me-south-1", "sa-east-1", "us-east-2", "us-gov-east-1", "us-gov-west-1", "us-west-1", "us-west-2"
4422
4422
  #
4423
4423
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation AWS API Documentation
4424
4424
  #
@@ -6582,49 +6582,49 @@ module Aws::S3
6582
6582
  # * {Types::GetObjectTaggingOutput#tag_set #tag_set} => Array<Types::Tag>
6583
6583
  #
6584
6584
  #
6585
- # @example Example: To retrieve tag set of an object
6585
+ # @example Example: To retrieve tag set of a specific object version
6586
6586
  #
6587
- # # The following example retrieves tag set of an object.
6587
+ # # The following example retrieves tag set of an object. The request specifies object version.
6588
6588
  #
6589
6589
  # resp = client.get_object_tagging({
6590
6590
  # bucket: "examplebucket",
6591
- # key: "HappyFace.jpg",
6591
+ # key: "exampleobject",
6592
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
6592
6593
  # })
6593
6594
  #
6594
6595
  # resp.to_h outputs the following:
6595
6596
  # {
6596
6597
  # tag_set: [
6597
6598
  # {
6598
- # key: "Key4",
6599
- # value: "Value4",
6600
- # },
6601
- # {
6602
- # key: "Key3",
6603
- # value: "Value3",
6599
+ # key: "Key1",
6600
+ # value: "Value1",
6604
6601
  # },
6605
6602
  # ],
6606
- # version_id: "null",
6603
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
6607
6604
  # }
6608
6605
  #
6609
- # @example Example: To retrieve tag set of a specific object version
6606
+ # @example Example: To retrieve tag set of an object
6610
6607
  #
6611
- # # The following example retrieves tag set of an object. The request specifies object version.
6608
+ # # The following example retrieves tag set of an object.
6612
6609
  #
6613
6610
  # resp = client.get_object_tagging({
6614
6611
  # bucket: "examplebucket",
6615
- # key: "exampleobject",
6616
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
6612
+ # key: "HappyFace.jpg",
6617
6613
  # })
6618
6614
  #
6619
6615
  # resp.to_h outputs the following:
6620
6616
  # {
6621
6617
  # tag_set: [
6622
6618
  # {
6623
- # key: "Key1",
6624
- # value: "Value1",
6619
+ # key: "Key4",
6620
+ # value: "Value4",
6621
+ # },
6622
+ # {
6623
+ # key: "Key3",
6624
+ # value: "Value3",
6625
6625
  # },
6626
6626
  # ],
6627
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
6627
+ # version_id: "null",
6628
6628
  # }
6629
6629
  #
6630
6630
  # @example Request syntax with placeholder values
@@ -7817,97 +7817,97 @@ module Aws::S3
7817
7817
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7818
7818
  #
7819
7819
  #
7820
- # @example Example: List next set of multipart uploads when previous result is truncated
7820
+ # @example Example: To list in-progress multipart uploads on a bucket
7821
7821
  #
7822
- # # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
7823
- # # setup of multipart uploads.
7822
+ # # The following example lists in-progress multipart uploads on a specific bucket.
7824
7823
  #
7825
7824
  # resp = client.list_multipart_uploads({
7826
7825
  # bucket: "examplebucket",
7827
- # key_marker: "nextkeyfrompreviousresponse",
7828
- # max_uploads: 2,
7829
- # upload_id_marker: "valuefrompreviousresponse",
7830
7826
  # })
7831
7827
  #
7832
7828
  # resp.to_h outputs the following:
7833
7829
  # {
7834
- # bucket: "acl1",
7835
- # is_truncated: true,
7836
- # key_marker: "",
7837
- # max_uploads: 2,
7838
- # next_key_marker: "someobjectkey",
7839
- # next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
7840
- # upload_id_marker: "",
7841
7830
  # uploads: [
7842
7831
  # {
7843
7832
  # initiated: Time.parse("2014-05-01T05:40:58.000Z"),
7844
7833
  # initiator: {
7845
- # display_name: "ownder-display-name",
7834
+ # display_name: "display-name",
7846
7835
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7847
7836
  # },
7848
7837
  # key: "JavaFile",
7849
7838
  # owner: {
7850
- # display_name: "mohanataws",
7851
- # id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7839
+ # display_name: "display-name",
7840
+ # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7852
7841
  # },
7853
7842
  # storage_class: "STANDARD",
7854
- # upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
7843
+ # upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
7855
7844
  # },
7856
7845
  # {
7857
7846
  # initiated: Time.parse("2014-05-01T05:41:27.000Z"),
7858
7847
  # initiator: {
7859
- # display_name: "ownder-display-name",
7848
+ # display_name: "display-name",
7860
7849
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7861
7850
  # },
7862
7851
  # key: "JavaFile",
7863
7852
  # owner: {
7864
- # display_name: "ownder-display-name",
7853
+ # display_name: "display-name",
7865
7854
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7866
7855
  # },
7867
7856
  # storage_class: "STANDARD",
7868
- # upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
7857
+ # upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
7869
7858
  # },
7870
7859
  # ],
7871
7860
  # }
7872
7861
  #
7873
- # @example Example: To list in-progress multipart uploads on a bucket
7862
+ # @example Example: List next set of multipart uploads when previous result is truncated
7874
7863
  #
7875
- # # The following example lists in-progress multipart uploads on a specific bucket.
7864
+ # # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
7865
+ # # setup of multipart uploads.
7876
7866
  #
7877
7867
  # resp = client.list_multipart_uploads({
7878
7868
  # bucket: "examplebucket",
7869
+ # key_marker: "nextkeyfrompreviousresponse",
7870
+ # max_uploads: 2,
7871
+ # upload_id_marker: "valuefrompreviousresponse",
7879
7872
  # })
7880
7873
  #
7881
7874
  # resp.to_h outputs the following:
7882
7875
  # {
7876
+ # bucket: "acl1",
7877
+ # is_truncated: true,
7878
+ # key_marker: "",
7879
+ # max_uploads: 2,
7880
+ # next_key_marker: "someobjectkey",
7881
+ # next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
7882
+ # upload_id_marker: "",
7883
7883
  # uploads: [
7884
7884
  # {
7885
7885
  # initiated: Time.parse("2014-05-01T05:40:58.000Z"),
7886
7886
  # initiator: {
7887
- # display_name: "display-name",
7887
+ # display_name: "ownder-display-name",
7888
7888
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7889
7889
  # },
7890
7890
  # key: "JavaFile",
7891
7891
  # owner: {
7892
- # display_name: "display-name",
7893
- # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7892
+ # display_name: "mohanataws",
7893
+ # id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7894
7894
  # },
7895
7895
  # storage_class: "STANDARD",
7896
- # upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
7896
+ # upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
7897
7897
  # },
7898
7898
  # {
7899
7899
  # initiated: Time.parse("2014-05-01T05:41:27.000Z"),
7900
7900
  # initiator: {
7901
- # display_name: "display-name",
7901
+ # display_name: "ownder-display-name",
7902
7902
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7903
7903
  # },
7904
7904
  # key: "JavaFile",
7905
7905
  # owner: {
7906
- # display_name: "display-name",
7906
+ # display_name: "ownder-display-name",
7907
7907
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
7908
7908
  # },
7909
7909
  # storage_class: "STANDARD",
7910
- # upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
7910
+ # upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
7911
7911
  # },
7912
7912
  # ],
7913
7913
  # }
@@ -12163,20 +12163,22 @@ module Aws::S3
12163
12163
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
12164
12164
  #
12165
12165
  #
12166
- # @example Example: To create an object.
12166
+ # @example Example: To upload an object and specify optional tags
12167
12167
  #
12168
- # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
12168
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
12169
+ # # S3 returns version ID of the newly created object.
12169
12170
  #
12170
12171
  # resp = client.put_object({
12171
- # body: "filetoupload",
12172
+ # body: "c:\\HappyFace.jpg",
12172
12173
  # bucket: "examplebucket",
12173
- # key: "objectkey",
12174
+ # key: "HappyFace.jpg",
12175
+ # tagging: "key1=value1&key2=value2",
12174
12176
  # })
12175
12177
  #
12176
12178
  # resp.to_h outputs the following:
12177
12179
  # {
12178
12180
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12179
- # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
12181
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
12180
12182
  # }
12181
12183
  #
12182
12184
  # @example Example: To upload an object
@@ -12196,43 +12198,45 @@ module Aws::S3
12196
12198
  # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
12197
12199
  # }
12198
12200
  #
12199
- # @example Example: To upload object and specify user-defined metadata
12201
+ # @example Example: To upload an object and specify server-side encryption and object tags
12200
12202
  #
12201
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
12202
- # # enabled, S3 returns version ID in response.
12203
+ # # The following example uploads and object. The request specifies the optional server-side encryption option. The request
12204
+ # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
12203
12205
  #
12204
12206
  # resp = client.put_object({
12205
12207
  # body: "filetoupload",
12206
12208
  # bucket: "examplebucket",
12207
12209
  # key: "exampleobject",
12208
- # metadata: {
12209
- # "metadata1" => "value1",
12210
- # "metadata2" => "value2",
12211
- # },
12210
+ # server_side_encryption: "AES256",
12211
+ # tagging: "key1=value1&key2=value2",
12212
12212
  # })
12213
12213
  #
12214
12214
  # resp.to_h outputs the following:
12215
12215
  # {
12216
12216
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12217
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
12217
+ # server_side_encryption: "AES256",
12218
+ # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
12218
12219
  # }
12219
12220
  #
12220
- # @example Example: To upload an object and specify optional tags
12221
+ # @example Example: To upload object and specify user-defined metadata
12221
12222
  #
12222
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
12223
- # # S3 returns version ID of the newly created object.
12223
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
12224
+ # # enabled, S3 returns version ID in response.
12224
12225
  #
12225
12226
  # resp = client.put_object({
12226
- # body: "c:\\HappyFace.jpg",
12227
+ # body: "filetoupload",
12227
12228
  # bucket: "examplebucket",
12228
- # key: "HappyFace.jpg",
12229
- # tagging: "key1=value1&key2=value2",
12229
+ # key: "exampleobject",
12230
+ # metadata: {
12231
+ # "metadata1" => "value1",
12232
+ # "metadata2" => "value2",
12233
+ # },
12230
12234
  # })
12231
12235
  #
12232
12236
  # resp.to_h outputs the following:
12233
12237
  # {
12234
12238
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12235
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
12239
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
12236
12240
  # }
12237
12241
  #
12238
12242
  # @example Example: To upload an object (specify optional headers)
@@ -12255,42 +12259,38 @@ module Aws::S3
12255
12259
  # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
12256
12260
  # }
12257
12261
  #
12258
- # @example Example: To upload an object and specify server-side encryption and object tags
12262
+ # @example Example: To upload an object and specify canned ACL.
12259
12263
  #
12260
- # # The following example uploads and object. The request specifies the optional server-side encryption option. The request
12261
- # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
12264
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
12265
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
12262
12266
  #
12263
12267
  # resp = client.put_object({
12268
+ # acl: "authenticated-read",
12264
12269
  # body: "filetoupload",
12265
12270
  # bucket: "examplebucket",
12266
12271
  # key: "exampleobject",
12267
- # server_side_encryption: "AES256",
12268
- # tagging: "key1=value1&key2=value2",
12269
12272
  # })
12270
12273
  #
12271
12274
  # resp.to_h outputs the following:
12272
12275
  # {
12273
12276
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12274
- # server_side_encryption: "AES256",
12275
- # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
12277
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
12276
12278
  # }
12277
12279
  #
12278
- # @example Example: To upload an object and specify canned ACL.
12280
+ # @example Example: To create an object.
12279
12281
  #
12280
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
12281
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
12282
+ # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
12282
12283
  #
12283
12284
  # resp = client.put_object({
12284
- # acl: "authenticated-read",
12285
12285
  # body: "filetoupload",
12286
12286
  # bucket: "examplebucket",
12287
- # key: "exampleobject",
12287
+ # key: "objectkey",
12288
12288
  # })
12289
12289
  #
12290
12290
  # resp.to_h outputs the following:
12291
12291
  # {
12292
12292
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12293
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
12293
+ # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
12294
12294
  # }
12295
12295
  #
12296
12296
  # @example Streaming a file from disk
@@ -14849,45 +14849,45 @@ module Aws::S3
14849
14849
  # * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
14850
14850
  #
14851
14851
  #
14852
- # @example Example: To upload a part by copying data from an existing object as data source
14852
+ # @example Example: To upload a part by copying byte range from an existing object as data source
14853
14853
  #
14854
- # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
14854
+ # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
14855
+ # # data source.
14855
14856
  #
14856
14857
  # resp = client.upload_part_copy({
14857
14858
  # bucket: "examplebucket",
14858
14859
  # copy_source: "/bucketname/sourceobjectkey",
14860
+ # copy_source_range: "bytes=1-100000",
14859
14861
  # key: "examplelargeobject",
14860
- # part_number: 1,
14862
+ # part_number: 2,
14861
14863
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
14862
14864
  # })
14863
14865
  #
14864
14866
  # resp.to_h outputs the following:
14865
14867
  # {
14866
14868
  # copy_part_result: {
14867
- # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
14868
- # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
14869
+ # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
14870
+ # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
14869
14871
  # },
14870
14872
  # }
14871
14873
  #
14872
- # @example Example: To upload a part by copying byte range from an existing object as data source
14874
+ # @example Example: To upload a part by copying data from an existing object as data source
14873
14875
  #
14874
- # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
14875
- # # data source.
14876
+ # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
14876
14877
  #
14877
14878
  # resp = client.upload_part_copy({
14878
14879
  # bucket: "examplebucket",
14879
14880
  # copy_source: "/bucketname/sourceobjectkey",
14880
- # copy_source_range: "bytes=1-100000",
14881
14881
  # key: "examplelargeobject",
14882
- # part_number: 2,
14882
+ # part_number: 1,
14883
14883
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
14884
14884
  # })
14885
14885
  #
14886
14886
  # resp.to_h outputs the following:
14887
14887
  # {
14888
14888
  # copy_part_result: {
14889
- # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
14890
- # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
14889
+ # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
14890
+ # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
14891
14891
  # },
14892
14892
  # }
14893
14893
  #
@@ -15337,7 +15337,7 @@ module Aws::S3
15337
15337
  params: params,
15338
15338
  config: config)
15339
15339
  context[:gem_name] = 'aws-sdk-s3'
15340
- context[:gem_version] = '1.114.0'
15340
+ context[:gem_version] = '1.115.0'
15341
15341
  Seahorse::Client::Request.new(handlers, context)
15342
15342
  end
15343
15343