aws-sdk-s3 1.135.0 → 1.136.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: b4312762a051a1316d3e9bf604cc515013d79ab8d69c40f3afdd09db961abb0d
4
- data.tar.gz: 33bbdef2172c9a372528535cac262ba397ce074f8a6b8e66e3fc82c09d37955c
3
+ metadata.gz: 3a563e0602ed3c1393406bb2158324b9571f7c579924f3f349fe237333d218d1
4
+ data.tar.gz: 4559f4a20a3abd9dcddde15fd814012e3874813d2e5cc15cd0066125aea8348f
5
5
  SHA512:
6
- metadata.gz: 923d86f0eef2170067b2b0d943ca902e1b007ce1cf4d917f7dc6cf320b7b7ec07901e6c8246d405b86ef262135d6b0da71963d27488876e4bab8e6fd615f8ce5
7
- data.tar.gz: 3b8c7ee1b28d1cb50ab50f833b37c12dec006bf9fe0980b7c1518ab6f7bf14a4c496f611a8f3bac416a64a1b7b7574cf8341877a5d3c34f2e0b6f82bb9269441
6
+ metadata.gz: 03eda70ab440bdf32208be9a6f8bbe5435d77090ef6198129b9cb06b91d2aba9fb5bb3820d53380af6863f4538344d6833d507d5c46b3609d648f2c52a26561c
7
+ data.tar.gz: 43cd7b5022e8602f9590463478de5adf88de7cc31d1d13179551b9434a21fd6150c61009b98796eddc91a772c70e47698e58720f79733ad03ea638c27e052653
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.136.0 (2023-09-26)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new field COMPLETED to the ReplicationStatus Enum. You can now use this field to validate the replication status of S3 objects using the AWS SDK.
8
+
4
9
  1.135.0 (2023-09-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.135.0
1
+ 1.136.0
@@ -1711,33 +1711,33 @@ module Aws::S3
1711
1711
  # * {Types::CreateBucketOutput#location #location} => String
1712
1712
  #
1713
1713
  #
1714
- # @example Example: To create a bucket in a specific region
1714
+ # @example Example: To create a bucket
1715
1715
  #
1716
- # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
1716
+ # # The following example creates a bucket.
1717
1717
  #
1718
1718
  # resp = client.create_bucket({
1719
1719
  # bucket: "examplebucket",
1720
- # create_bucket_configuration: {
1721
- # location_constraint: "eu-west-1",
1722
- # },
1723
1720
  # })
1724
1721
  #
1725
1722
  # resp.to_h outputs the following:
1726
1723
  # {
1727
- # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
1724
+ # location: "/examplebucket",
1728
1725
  # }
1729
1726
  #
1730
- # @example Example: To create a bucket
1727
+ # @example Example: To create a bucket in a specific region
1731
1728
  #
1732
- # # The following example creates a bucket.
1729
+ # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
1733
1730
  #
1734
1731
  # resp = client.create_bucket({
1735
1732
  # bucket: "examplebucket",
1733
+ # create_bucket_configuration: {
1734
+ # location_constraint: "eu-west-1",
1735
+ # },
1736
1736
  # })
1737
1737
  #
1738
1738
  # resp.to_h outputs the following:
1739
1739
  # {
1740
- # location: "/examplebucket",
1740
+ # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
1741
1741
  # }
1742
1742
  #
1743
1743
  # @example Request syntax with placeholder values
@@ -3306,35 +3306,35 @@ module Aws::S3
3306
3306
  # * {Types::DeleteObjectTaggingOutput#version_id #version_id} => String
3307
3307
  #
3308
3308
  #
3309
- # @example Example: To remove tag set from an object
3309
+ # @example Example: To remove tag set from an object version
3310
3310
  #
3311
- # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
3312
- # # operation removes tag set from the latest object version.
3311
+ # # The following example removes tag set associated with the specified object version. The request specifies both the
3312
+ # # object key and object version.
3313
3313
  #
3314
3314
  # resp = client.delete_object_tagging({
3315
3315
  # bucket: "examplebucket",
3316
3316
  # key: "HappyFace.jpg",
3317
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3317
3318
  # })
3318
3319
  #
3319
3320
  # resp.to_h outputs the following:
3320
3321
  # {
3321
- # version_id: "null",
3322
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3322
3323
  # }
3323
3324
  #
3324
- # @example Example: To remove tag set from an object version
3325
+ # @example Example: To remove tag set from an object
3325
3326
  #
3326
- # # The following example removes tag set associated with the specified object version. The request specifies both the
3327
- # # object key and object version.
3327
+ # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
3328
+ # # operation removes tag set from the latest object version.
3328
3329
  #
3329
3330
  # resp = client.delete_object_tagging({
3330
3331
  # bucket: "examplebucket",
3331
3332
  # key: "HappyFace.jpg",
3332
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3333
3333
  # })
3334
3334
  #
3335
3335
  # resp.to_h outputs the following:
3336
3336
  # {
3337
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3337
+ # version_id: "null",
3338
3338
  # }
3339
3339
  #
3340
3340
  # @example Request syntax with placeholder values
@@ -5954,49 +5954,49 @@ module Aws::S3
5954
5954
  # * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
5955
5955
  #
5956
5956
  #
5957
- # @example Example: To retrieve an object
5957
+ # @example Example: To retrieve a byte range of an object
5958
5958
  #
5959
- # # The following example retrieves an object for an S3 bucket.
5959
+ # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
5960
+ # # specific byte range.
5960
5961
  #
5961
5962
  # resp = client.get_object({
5962
5963
  # bucket: "examplebucket",
5963
- # key: "HappyFace.jpg",
5964
+ # key: "SampleFile.txt",
5965
+ # range: "bytes=0-9",
5964
5966
  # })
5965
5967
  #
5966
5968
  # resp.to_h outputs the following:
5967
5969
  # {
5968
5970
  # accept_ranges: "bytes",
5969
- # content_length: 3191,
5970
- # content_type: "image/jpeg",
5971
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5972
- # last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
5971
+ # content_length: 10,
5972
+ # content_range: "bytes 0-9/43",
5973
+ # content_type: "text/plain",
5974
+ # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
5975
+ # last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
5973
5976
  # metadata: {
5974
5977
  # },
5975
- # tag_count: 2,
5976
5978
  # version_id: "null",
5977
5979
  # }
5978
5980
  #
5979
- # @example Example: To retrieve a byte range of an object
5981
+ # @example Example: To retrieve an object
5980
5982
  #
5981
- # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
5982
- # # specific byte range.
5983
+ # # The following example retrieves an object for an S3 bucket.
5983
5984
  #
5984
5985
  # resp = client.get_object({
5985
5986
  # bucket: "examplebucket",
5986
- # key: "SampleFile.txt",
5987
- # range: "bytes=0-9",
5987
+ # key: "HappyFace.jpg",
5988
5988
  # })
5989
5989
  #
5990
5990
  # resp.to_h outputs the following:
5991
5991
  # {
5992
5992
  # accept_ranges: "bytes",
5993
- # content_length: 10,
5994
- # content_range: "bytes 0-9/43",
5995
- # content_type: "text/plain",
5996
- # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
5997
- # last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
5993
+ # content_length: 3191,
5994
+ # content_type: "image/jpeg",
5995
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5996
+ # last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
5998
5997
  # metadata: {
5999
5998
  # },
5999
+ # tag_count: 2,
6000
6000
  # version_id: "null",
6001
6001
  # }
6002
6002
  #
@@ -6089,7 +6089,7 @@ module Aws::S3
6089
6089
  # resp.bucket_key_enabled #=> Boolean
6090
6090
  # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW"
6091
6091
  # resp.request_charged #=> String, one of "requester"
6092
- # resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
6092
+ # resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
6093
6093
  # resp.parts_count #=> Integer
6094
6094
  # resp.tag_count #=> Integer
6095
6095
  # resp.object_lock_mode #=> String, one of "GOVERNANCE", "COMPLIANCE"
@@ -7495,7 +7495,7 @@ module Aws::S3
7495
7495
  # resp.bucket_key_enabled #=> Boolean
7496
7496
  # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW"
7497
7497
  # resp.request_charged #=> String, one of "requester"
7498
- # resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
7498
+ # resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
7499
7499
  # resp.parts_count #=> Integer
7500
7500
  # resp.object_lock_mode #=> String, one of "GOVERNANCE", "COMPLIANCE"
7501
7501
  # resp.object_lock_retain_until_date #=> Time
@@ -8120,97 +8120,97 @@ module Aws::S3
8120
8120
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
8121
8121
  #
8122
8122
  #
8123
- # @example Example: List next set of multipart uploads when previous result is truncated
8123
+ # @example Example: To list in-progress multipart uploads on a bucket
8124
8124
  #
8125
- # # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
8126
- # # setup of multipart uploads.
8125
+ # # The following example lists in-progress multipart uploads on a specific bucket.
8127
8126
  #
8128
8127
  # resp = client.list_multipart_uploads({
8129
8128
  # bucket: "examplebucket",
8130
- # key_marker: "nextkeyfrompreviousresponse",
8131
- # max_uploads: 2,
8132
- # upload_id_marker: "valuefrompreviousresponse",
8133
8129
  # })
8134
8130
  #
8135
8131
  # resp.to_h outputs the following:
8136
8132
  # {
8137
- # bucket: "acl1",
8138
- # is_truncated: true,
8139
- # key_marker: "",
8140
- # max_uploads: 2,
8141
- # next_key_marker: "someobjectkey",
8142
- # next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
8143
- # upload_id_marker: "",
8144
8133
  # uploads: [
8145
8134
  # {
8146
8135
  # initiated: Time.parse("2014-05-01T05:40:58.000Z"),
8147
8136
  # initiator: {
8148
- # display_name: "ownder-display-name",
8137
+ # display_name: "display-name",
8149
8138
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8150
8139
  # },
8151
8140
  # key: "JavaFile",
8152
8141
  # owner: {
8153
- # display_name: "mohanataws",
8154
- # id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8142
+ # display_name: "display-name",
8143
+ # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8155
8144
  # },
8156
8145
  # storage_class: "STANDARD",
8157
- # upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
8146
+ # upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
8158
8147
  # },
8159
8148
  # {
8160
8149
  # initiated: Time.parse("2014-05-01T05:41:27.000Z"),
8161
8150
  # initiator: {
8162
- # display_name: "ownder-display-name",
8151
+ # display_name: "display-name",
8163
8152
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8164
8153
  # },
8165
8154
  # key: "JavaFile",
8166
8155
  # owner: {
8167
- # display_name: "ownder-display-name",
8156
+ # display_name: "display-name",
8168
8157
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8169
8158
  # },
8170
8159
  # storage_class: "STANDARD",
8171
- # upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
8160
+ # upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
8172
8161
  # },
8173
8162
  # ],
8174
8163
  # }
8175
8164
  #
8176
- # @example Example: To list in-progress multipart uploads on a bucket
8165
+ # @example Example: List next set of multipart uploads when previous result is truncated
8177
8166
  #
8178
- # # The following example lists in-progress multipart uploads on a specific bucket.
8167
+ # # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
8168
+ # # setup of multipart uploads.
8179
8169
  #
8180
8170
  # resp = client.list_multipart_uploads({
8181
8171
  # bucket: "examplebucket",
8172
+ # key_marker: "nextkeyfrompreviousresponse",
8173
+ # max_uploads: 2,
8174
+ # upload_id_marker: "valuefrompreviousresponse",
8182
8175
  # })
8183
8176
  #
8184
8177
  # resp.to_h outputs the following:
8185
8178
  # {
8179
+ # bucket: "acl1",
8180
+ # is_truncated: true,
8181
+ # key_marker: "",
8182
+ # max_uploads: 2,
8183
+ # next_key_marker: "someobjectkey",
8184
+ # next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
8185
+ # upload_id_marker: "",
8186
8186
  # uploads: [
8187
8187
  # {
8188
8188
  # initiated: Time.parse("2014-05-01T05:40:58.000Z"),
8189
8189
  # initiator: {
8190
- # display_name: "display-name",
8190
+ # display_name: "ownder-display-name",
8191
8191
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8192
8192
  # },
8193
8193
  # key: "JavaFile",
8194
8194
  # owner: {
8195
- # display_name: "display-name",
8196
- # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8195
+ # display_name: "mohanataws",
8196
+ # id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8197
8197
  # },
8198
8198
  # storage_class: "STANDARD",
8199
- # upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
8199
+ # upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
8200
8200
  # },
8201
8201
  # {
8202
8202
  # initiated: Time.parse("2014-05-01T05:41:27.000Z"),
8203
8203
  # initiator: {
8204
- # display_name: "display-name",
8204
+ # display_name: "ownder-display-name",
8205
8205
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8206
8206
  # },
8207
8207
  # key: "JavaFile",
8208
8208
  # owner: {
8209
- # display_name: "display-name",
8209
+ # display_name: "ownder-display-name",
8210
8210
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
8211
8211
  # },
8212
8212
  # storage_class: "STANDARD",
8213
- # upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
8213
+ # upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
8214
8214
  # },
8215
8215
  # ],
8216
8216
  # }
@@ -12530,23 +12530,6 @@ module Aws::S3
12530
12530
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
12531
12531
  #
12532
12532
  #
12533
- # @example Example: To upload an object
12534
- #
12535
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
12536
- # # syntax. S3 returns VersionId of the newly created object.
12537
- #
12538
- # resp = client.put_object({
12539
- # body: "HappyFace.jpg",
12540
- # bucket: "examplebucket",
12541
- # key: "HappyFace.jpg",
12542
- # })
12543
- #
12544
- # resp.to_h outputs the following:
12545
- # {
12546
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12547
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
12548
- # }
12549
- #
12550
12533
  # @example Example: To upload an object and specify server-side encryption and object tags
12551
12534
  #
12552
12535
  # # The following example uploads an object. The request specifies the optional server-side encryption option. The request
@@ -12583,25 +12566,24 @@ module Aws::S3
12583
12566
  # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
12584
12567
  # }
12585
12568
  #
12586
- # @example Example: To upload object and specify user-defined metadata
12569
+ # @example Example: To upload an object (specify optional headers)
12587
12570
  #
12588
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
12589
- # # enabled, S3 returns version ID in response.
12571
+ # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
12572
+ # # storage class and use server-side encryption.
12590
12573
  #
12591
12574
  # resp = client.put_object({
12592
- # body: "filetoupload",
12575
+ # body: "HappyFace.jpg",
12593
12576
  # bucket: "examplebucket",
12594
- # key: "exampleobject",
12595
- # metadata: {
12596
- # "metadata1" => "value1",
12597
- # "metadata2" => "value2",
12598
- # },
12577
+ # key: "HappyFace.jpg",
12578
+ # server_side_encryption: "AES256",
12579
+ # storage_class: "STANDARD_IA",
12599
12580
  # })
12600
12581
  #
12601
12582
  # resp.to_h outputs the following:
12602
12583
  # {
12603
12584
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12604
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
12585
+ # server_side_encryption: "AES256",
12586
+ # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
12605
12587
  # }
12606
12588
  #
12607
12589
  # @example Example: To upload an object and specify optional tags
@@ -12622,6 +12604,27 @@ module Aws::S3
12622
12604
  # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
12623
12605
  # }
12624
12606
  #
12607
+ # @example Example: To upload object and specify user-defined metadata
12608
+ #
12609
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
12610
+ # # enabled, S3 returns version ID in response.
12611
+ #
12612
+ # resp = client.put_object({
12613
+ # body: "filetoupload",
12614
+ # bucket: "examplebucket",
12615
+ # key: "exampleobject",
12616
+ # metadata: {
12617
+ # "metadata1" => "value1",
12618
+ # "metadata2" => "value2",
12619
+ # },
12620
+ # })
12621
+ #
12622
+ # resp.to_h outputs the following:
12623
+ # {
12624
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12625
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
12626
+ # }
12627
+ #
12625
12628
  # @example Example: To upload an object and specify canned ACL.
12626
12629
  #
12627
12630
  # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
@@ -12640,24 +12643,21 @@ module Aws::S3
12640
12643
  # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
12641
12644
  # }
12642
12645
  #
12643
- # @example Example: To upload an object (specify optional headers)
12646
+ # @example Example: To upload an object
12644
12647
  #
12645
- # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
12646
- # # storage class and use server-side encryption.
12648
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
12649
+ # # syntax. S3 returns VersionId of the newly created object.
12647
12650
  #
12648
12651
  # resp = client.put_object({
12649
12652
  # body: "HappyFace.jpg",
12650
12653
  # bucket: "examplebucket",
12651
12654
  # key: "HappyFace.jpg",
12652
- # server_side_encryption: "AES256",
12653
- # storage_class: "STANDARD_IA",
12654
12655
  # })
12655
12656
  #
12656
12657
  # resp.to_h outputs the following:
12657
12658
  # {
12658
12659
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12659
- # server_side_encryption: "AES256",
12660
- # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
12660
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
12661
12661
  # }
12662
12662
  #
12663
12663
  # @example Streaming a file from disk
@@ -15210,45 +15210,45 @@ module Aws::S3
15210
15210
  # * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
15211
15211
  #
15212
15212
  #
15213
- # @example Example: To upload a part by copying byte range from an existing object as data source
15213
+ # @example Example: To upload a part by copying data from an existing object as data source
15214
15214
  #
15215
- # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
15216
- # # data source.
15215
+ # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
15217
15216
  #
15218
15217
  # resp = client.upload_part_copy({
15219
15218
  # bucket: "examplebucket",
15220
15219
  # copy_source: "/bucketname/sourceobjectkey",
15221
- # copy_source_range: "bytes=1-100000",
15222
15220
  # key: "examplelargeobject",
15223
- # part_number: 2,
15221
+ # part_number: 1,
15224
15222
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
15225
15223
  # })
15226
15224
  #
15227
15225
  # resp.to_h outputs the following:
15228
15226
  # {
15229
15227
  # copy_part_result: {
15230
- # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
15231
- # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
15228
+ # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
15229
+ # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
15232
15230
  # },
15233
15231
  # }
15234
15232
  #
15235
- # @example Example: To upload a part by copying data from an existing object as data source
15233
+ # @example Example: To upload a part by copying byte range from an existing object as data source
15236
15234
  #
15237
- # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
15235
+ # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
15236
+ # # data source.
15238
15237
  #
15239
15238
  # resp = client.upload_part_copy({
15240
15239
  # bucket: "examplebucket",
15241
15240
  # copy_source: "/bucketname/sourceobjectkey",
15241
+ # copy_source_range: "bytes=1-100000",
15242
15242
  # key: "examplelargeobject",
15243
- # part_number: 1,
15243
+ # part_number: 2,
15244
15244
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
15245
15245
  # })
15246
15246
  #
15247
15247
  # resp.to_h outputs the following:
15248
15248
  # {
15249
15249
  # copy_part_result: {
15250
- # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
15251
- # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
15250
+ # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
15251
+ # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
15252
15252
  # },
15253
15253
  # }
15254
15254
  #
@@ -15662,7 +15662,7 @@ module Aws::S3
15662
15662
  # object_lock_legal_hold_status: "ON", # accepts ON, OFF
15663
15663
  # object_lock_retain_until_date: Time.now,
15664
15664
  # parts_count: 1,
15665
- # replication_status: "COMPLETE", # accepts COMPLETE, PENDING, FAILED, REPLICA
15665
+ # replication_status: "COMPLETE", # accepts COMPLETE, PENDING, FAILED, REPLICA, COMPLETED
15666
15666
  # request_charged: "requester", # accepts requester
15667
15667
  # restore: "Restore",
15668
15668
  # server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
@@ -15697,7 +15697,7 @@ module Aws::S3
15697
15697
  params: params,
15698
15698
  config: config)
15699
15699
  context[:gem_name] = 'aws-sdk-s3'
15700
- context[:gem_version] = '1.135.0'
15700
+ context[:gem_version] = '1.136.0'
15701
15701
  Seahorse::Client::Request.new(handlers, context)
15702
15702
  end
15703
15703
 
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.135.0'
76
+ GEM_VERSION = '1.136.0'
77
77
 
78
78
  end
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.135.0
4
+ version: 1.136.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: 2023-09-20 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms