aws-sdk-s3 1.187.0 → 1.188.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
  SHA256:
3
- metadata.gz: 25f340cf3b28573ad256e91c2683cf14cfec9c2d1d814c2cdc6a35c63e423663
4
- data.tar.gz: 110419b0f840fb39c7b102d5c83688c65b5b6d4267ce986420886218ef5ef0a2
3
+ metadata.gz: 310470bdb24160f824d153efac697cd69471c516d2714a2b4129160fff6bf74e
4
+ data.tar.gz: 1d8aa63b1f3b817352dbb57e66da5e41b27ba6948cbe2cc53ee6ba4866861d98
5
5
  SHA512:
6
- metadata.gz: cfb5d8c4dedf1deea6d85fdfab79473504c0ef959b58fe837a1acd5e17d89fc3f64fc1a9fe7c6bd523691dbb6b8c438ad06c410160c97303d969f2547e11d012
7
- data.tar.gz: 2413bcadc4dab84b6c98b223a700700817542f1b0b4071100231769ece33fb6a3247ca03e2a80474f13037e630affef4516c6c59ca406103a1d76f86c17b7a3a
6
+ metadata.gz: 9896f94797c2d66c75c3e874db351bd6e48293724e792f60a070a42594849de4b302db4b97c04dd0165986dfec2a808063bdd8d63499ea2f8a84b42ea0f8ef03
7
+ data.tar.gz: c82ec444b9a7a940cb433908bdab83c05597d1b83899ba93d2c6341366ec8596df39e10dd982674fdc08fa4857aca3d9066781356df1b7b480af2868087b8a9c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.188.0 (2025-05-29)
5
+ ------------------
6
+
7
+ * Feature - Adding checksum support for S3 PutBucketOwnershipControls API.
8
+
4
9
  1.187.0 (2025-05-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.187.0
1
+ 1.188.0
@@ -2605,33 +2605,33 @@ module Aws::S3
2605
2605
  # * {Types::CreateBucketOutput#location #location} => String
2606
2606
  #
2607
2607
  #
2608
- # @example Example: To create a bucket
2608
+ # @example Example: To create a bucket in a specific region
2609
2609
  #
2610
- # # The following example creates a bucket.
2610
+ # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
2611
2611
  #
2612
2612
  # resp = client.create_bucket({
2613
2613
  # bucket: "examplebucket",
2614
+ # create_bucket_configuration: {
2615
+ # location_constraint: "eu-west-1",
2616
+ # },
2614
2617
  # })
2615
2618
  #
2616
2619
  # resp.to_h outputs the following:
2617
2620
  # {
2618
- # location: "/examplebucket",
2621
+ # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
2619
2622
  # }
2620
2623
  #
2621
- # @example Example: To create a bucket in a specific region
2624
+ # @example Example: To create a bucket
2622
2625
  #
2623
- # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
2626
+ # # The following example creates a bucket.
2624
2627
  #
2625
2628
  # resp = client.create_bucket({
2626
2629
  # bucket: "examplebucket",
2627
- # create_bucket_configuration: {
2628
- # location_constraint: "eu-west-1",
2629
- # },
2630
2630
  # })
2631
2631
  #
2632
2632
  # resp.to_h outputs the following:
2633
2633
  # {
2634
- # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
2634
+ # location: "/examplebucket",
2635
2635
  # }
2636
2636
  #
2637
2637
  # @example Request syntax with placeholder values
@@ -5796,22 +5796,20 @@ module Aws::S3
5796
5796
  # * {Types::DeleteObjectsOutput#errors #errors} => Array&lt;Types::Error&gt;
5797
5797
  #
5798
5798
  #
5799
- # @example Example: To delete multiple object versions from a versioned bucket
5799
+ # @example Example: To delete multiple objects from a versioned bucket
5800
5800
  #
5801
- # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
5802
- # # versions and returns the key and versions of deleted objects in the response.
5801
+ # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
5802
+ # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
5803
5803
  #
5804
5804
  # resp = client.delete_objects({
5805
5805
  # bucket: "examplebucket",
5806
5806
  # delete: {
5807
5807
  # objects: [
5808
5808
  # {
5809
- # key: "HappyFace.jpg",
5810
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5809
+ # key: "objectkey1",
5811
5810
  # },
5812
5811
  # {
5813
- # key: "HappyFace.jpg",
5814
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5812
+ # key: "objectkey2",
5815
5813
  # },
5816
5814
  # ],
5817
5815
  # quiet: false,
@@ -5822,30 +5820,34 @@ module Aws::S3
5822
5820
  # {
5823
5821
  # deleted: [
5824
5822
  # {
5825
- # key: "HappyFace.jpg",
5826
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5823
+ # delete_marker: true,
5824
+ # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
5825
+ # key: "objectkey1",
5827
5826
  # },
5828
5827
  # {
5829
- # key: "HappyFace.jpg",
5830
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5828
+ # delete_marker: true,
5829
+ # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
5830
+ # key: "objectkey2",
5831
5831
  # },
5832
5832
  # ],
5833
5833
  # }
5834
5834
  #
5835
- # @example Example: To delete multiple objects from a versioned bucket
5835
+ # @example Example: To delete multiple object versions from a versioned bucket
5836
5836
  #
5837
- # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
5838
- # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
5837
+ # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
5838
+ # # versions and returns the key and versions of deleted objects in the response.
5839
5839
  #
5840
5840
  # resp = client.delete_objects({
5841
5841
  # bucket: "examplebucket",
5842
5842
  # delete: {
5843
5843
  # objects: [
5844
5844
  # {
5845
- # key: "objectkey1",
5845
+ # key: "HappyFace.jpg",
5846
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5846
5847
  # },
5847
5848
  # {
5848
- # key: "objectkey2",
5849
+ # key: "HappyFace.jpg",
5850
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5849
5851
  # },
5850
5852
  # ],
5851
5853
  # quiet: false,
@@ -5856,14 +5858,12 @@ module Aws::S3
5856
5858
  # {
5857
5859
  # deleted: [
5858
5860
  # {
5859
- # delete_marker: true,
5860
- # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
5861
- # key: "objectkey1",
5861
+ # key: "HappyFace.jpg",
5862
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5862
5863
  # },
5863
5864
  # {
5864
- # delete_marker: true,
5865
- # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
5866
- # key: "objectkey2",
5865
+ # key: "HappyFace.jpg",
5866
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5867
5867
  # },
5868
5868
  # ],
5869
5869
  # }
@@ -8751,49 +8751,49 @@ module Aws::S3
8751
8751
  # * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
8752
8752
  #
8753
8753
  #
8754
- # @example Example: To retrieve an object
8754
+ # @example Example: To retrieve a byte range of an object
8755
8755
  #
8756
- # # The following example retrieves an object for an S3 bucket.
8756
+ # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
8757
+ # # specific byte range.
8757
8758
  #
8758
8759
  # resp = client.get_object({
8759
8760
  # bucket: "examplebucket",
8760
- # key: "HappyFace.jpg",
8761
+ # key: "SampleFile.txt",
8762
+ # range: "bytes=0-9",
8761
8763
  # })
8762
8764
  #
8763
8765
  # resp.to_h outputs the following:
8764
8766
  # {
8765
8767
  # accept_ranges: "bytes",
8766
- # content_length: 3191,
8767
- # content_type: "image/jpeg",
8768
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
8769
- # last_modified: Time.parse("2016-12-15T01:19:41.000Z"),
8768
+ # content_length: 10,
8769
+ # content_range: "bytes 0-9/43",
8770
+ # content_type: "text/plain",
8771
+ # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
8772
+ # last_modified: Time.parse("2014-10-09T22:57:28.000Z"),
8770
8773
  # metadata: {
8771
8774
  # },
8772
- # tag_count: 2,
8773
8775
  # version_id: "null",
8774
8776
  # }
8775
8777
  #
8776
- # @example Example: To retrieve a byte range of an object
8778
+ # @example Example: To retrieve an object
8777
8779
  #
8778
- # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
8779
- # # specific byte range.
8780
+ # # The following example retrieves an object for an S3 bucket.
8780
8781
  #
8781
8782
  # resp = client.get_object({
8782
8783
  # bucket: "examplebucket",
8783
- # key: "SampleFile.txt",
8784
- # range: "bytes=0-9",
8784
+ # key: "HappyFace.jpg",
8785
8785
  # })
8786
8786
  #
8787
8787
  # resp.to_h outputs the following:
8788
8788
  # {
8789
8789
  # accept_ranges: "bytes",
8790
- # content_length: 10,
8791
- # content_range: "bytes 0-9/43",
8792
- # content_type: "text/plain",
8793
- # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
8794
- # last_modified: Time.parse("2014-10-09T22:57:28.000Z"),
8790
+ # content_length: 3191,
8791
+ # content_type: "image/jpeg",
8792
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
8793
+ # last_modified: Time.parse("2016-12-15T01:19:41.000Z"),
8795
8794
  # metadata: {
8796
8795
  # },
8796
+ # tag_count: 2,
8797
8797
  # version_id: "null",
8798
8798
  # }
8799
8799
  #
@@ -9090,12 +9090,12 @@ module Aws::S3
9090
9090
  req.send_request(options)
9091
9091
  end
9092
9092
 
9093
- # Retrieves all the metadata from an object without returning the object
9094
- # itself. This operation is useful if you're interested only in an
9095
- # object's metadata.
9093
+ # Retrieves all of the metadata from an object without returning the
9094
+ # object itself. This operation is useful if you're interested only in
9095
+ # an object's metadata.
9096
9096
  #
9097
9097
  # `GetObjectAttributes` combines the functionality of `HeadObject` and
9098
- # `ListParts`. All of the data returned with each of those individual
9098
+ # `ListParts`. All of the data returned with both of those individual
9099
9099
  # calls can be returned with a single call to `GetObjectAttributes`.
9100
9100
  #
9101
9101
  # <note markdown="1"> **Directory buckets** - For directory buckets, you must make requests
@@ -9114,16 +9114,23 @@ module Aws::S3
9114
9114
  # Permissions
9115
9115
  # : * **General purpose bucket permissions** - To use
9116
9116
  # `GetObjectAttributes`, you must have READ access to the object.
9117
- # The permissions that you need to use this operation depend on
9118
- # whether the bucket is versioned. If the bucket is versioned, you
9119
- # need both the `s3:GetObjectVersion` and
9120
- # `s3:GetObjectVersionAttributes` permissions for this operation. If
9121
- # the bucket is not versioned, you need the `s3:GetObject` and
9122
- # `s3:GetObjectAttributes` permissions. For more information, see
9123
- # [Specifying Permissions in a Policy][3] in the *Amazon S3 User
9124
- # Guide*. If the object that you request does not exist, the error
9125
- # Amazon S3 returns depends on whether you also have the
9126
- # `s3:ListBucket` permission.
9117
+ #
9118
+ # The other permissions that you need to use this operation depend
9119
+ # on whether the bucket is versioned and if a version ID is passed
9120
+ # in the `GetObjectAttributes` request.
9121
+ #
9122
+ # * If you pass a version ID in your request, you need both the
9123
+ # `s3:GetObjectVersion` and `s3:GetObjectVersionAttributes`
9124
+ # permissions.
9125
+ #
9126
+ # * If you do not pass a version ID in your request, you need the
9127
+ # `s3:GetObject` and `s3:GetObjectAttributes` permissions.
9128
+ # For more information, see [Specifying Permissions in a Policy][3]
9129
+ # in the *Amazon S3 User Guide*.
9130
+ #
9131
+ # If the object that you request does not exist, the error Amazon S3
9132
+ # returns depends on whether you also have the `s3:ListBucket`
9133
+ # permission.
9127
9134
  #
9128
9135
  # * If you have the `s3:ListBucket` permission on the bucket, Amazon
9129
9136
  # S3 returns an HTTP status code `404 Not Found` ("no such key")
@@ -9167,12 +9174,12 @@ module Aws::S3
9167
9174
  #
9168
9175
  # </note>
9169
9176
  #
9170
- # If you encrypt an object by using server-side encryption with
9171
- # customer-provided encryption keys (SSE-C) when you store the object
9172
- # in Amazon S3, then when you retrieve the metadata from the object,
9173
- # you must use the following headers to provide the encryption key for
9174
- # the server to be able to retrieve the object's metadata. The
9175
- # headers are:
9177
+ # If you encrypted an object when you stored the object in Amazon S3
9178
+ # by using server-side encryption with customer-provided encryption
9179
+ # keys (SSE-C), then when you retrieve the metadata from the object,
9180
+ # you must use the following headers. These headers provide the server
9181
+ # with the encryption key required to retrieve the object's metadata.
9182
+ # The headers are:
9176
9183
  #
9177
9184
  # * `x-amz-server-side-encryption-customer-algorithm`
9178
9185
  #
@@ -9332,11 +9339,23 @@ module Aws::S3
9332
9339
  # </note>
9333
9340
  #
9334
9341
  # @option params [Integer] :max_parts
9335
- # Sets the maximum number of parts to return.
9342
+ # Sets the maximum number of parts to return. For more information, see
9343
+ # [Uploading and copying objects using multipart upload in Amazon S3
9344
+ # ][1] in the *Amazon Simple Storage Service user guide*.
9345
+ #
9346
+ #
9347
+ #
9348
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html
9336
9349
  #
9337
9350
  # @option params [Integer] :part_number_marker
9338
9351
  # Specifies the part after which listing should begin. Only parts with
9339
- # higher part numbers will be listed.
9352
+ # higher part numbers will be listed. For more information, see
9353
+ # [Uploading and copying objects using multipart upload in Amazon S3
9354
+ # ][1] in the *Amazon Simple Storage Service user guide*.
9355
+ #
9356
+ #
9357
+ #
9358
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html
9340
9359
  #
9341
9360
  # @option params [String] :sse_customer_algorithm
9342
9361
  # Specifies the algorithm to use when encrypting the object (for
@@ -15280,6 +15299,22 @@ module Aws::S3
15280
15299
  # The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred, or
15281
15300
  # ObjectWriter) that you want to apply to this Amazon S3 bucket.
15282
15301
  #
15302
+ # @option params [String] :checksum_algorithm
15303
+ # Indicates the algorithm used to create the checksum for the object
15304
+ # when you use the SDK. This header will not provide any additional
15305
+ # functionality if you don't use the SDK. When you send this header,
15306
+ # there must be a corresponding `x-amz-checksum-algorithm ` header sent.
15307
+ # Otherwise, Amazon S3 fails the request with the HTTP status code `400
15308
+ # Bad Request`. For more information, see [Checking object integrity][1]
15309
+ # in the *Amazon S3 User Guide*.
15310
+ #
15311
+ # If you provide an individual checksum, Amazon S3 ignores any provided
15312
+ # `ChecksumAlgorithm` parameter.
15313
+ #
15314
+ #
15315
+ #
15316
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
15317
+ #
15283
15318
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
15284
15319
  #
15285
15320
  # @example Request syntax with placeholder values
@@ -15295,6 +15330,7 @@ module Aws::S3
15295
15330
  # },
15296
15331
  # ],
15297
15332
  # },
15333
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
15298
15334
  # })
15299
15335
  #
15300
15336
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControls AWS API Documentation
@@ -17133,38 +17169,39 @@ module Aws::S3
17133
17169
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
17134
17170
  #
17135
17171
  #
17136
- # @example Example: To create an object.
17172
+ # @example Example: To upload an object and specify canned ACL.
17137
17173
  #
17138
- # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
17174
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
17175
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
17139
17176
  #
17140
17177
  # resp = client.put_object({
17178
+ # acl: "authenticated-read",
17141
17179
  # body: "filetoupload",
17142
17180
  # bucket: "examplebucket",
17143
- # key: "objectkey",
17181
+ # key: "exampleobject",
17144
17182
  # })
17145
17183
  #
17146
17184
  # resp.to_h outputs the following:
17147
17185
  # {
17148
17186
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17149
- # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
17187
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
17150
17188
  # }
17151
17189
  #
17152
- # @example Example: To upload an object and specify optional tags
17190
+ # @example Example: To upload an object
17153
17191
  #
17154
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
17155
- # # S3 returns version ID of the newly created object.
17192
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
17193
+ # # syntax. S3 returns VersionId of the newly created object.
17156
17194
  #
17157
17195
  # resp = client.put_object({
17158
- # body: "c:\\HappyFace.jpg",
17196
+ # body: "HappyFace.jpg",
17159
17197
  # bucket: "examplebucket",
17160
17198
  # key: "HappyFace.jpg",
17161
- # tagging: "key1=value1&key2=value2",
17162
17199
  # })
17163
17200
  #
17164
17201
  # resp.to_h outputs the following:
17165
17202
  # {
17166
17203
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17167
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
17204
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
17168
17205
  # }
17169
17206
  #
17170
17207
  # @example Example: To upload an object (specify optional headers)
@@ -17187,22 +17224,22 @@ module Aws::S3
17187
17224
  # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
17188
17225
  # }
17189
17226
  #
17190
- # @example Example: To upload an object and specify canned ACL.
17227
+ # @example Example: To upload an object and specify optional tags
17191
17228
  #
17192
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
17193
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
17229
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
17230
+ # # S3 returns version ID of the newly created object.
17194
17231
  #
17195
17232
  # resp = client.put_object({
17196
- # acl: "authenticated-read",
17197
- # body: "filetoupload",
17233
+ # body: "c:\\HappyFace.jpg",
17198
17234
  # bucket: "examplebucket",
17199
- # key: "exampleobject",
17235
+ # key: "HappyFace.jpg",
17236
+ # tagging: "key1=value1&key2=value2",
17200
17237
  # })
17201
17238
  #
17202
17239
  # resp.to_h outputs the following:
17203
17240
  # {
17204
17241
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17205
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
17242
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
17206
17243
  # }
17207
17244
  #
17208
17245
  # @example Example: To upload an object and specify server-side encryption and object tags
@@ -17246,21 +17283,20 @@ module Aws::S3
17246
17283
  # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
17247
17284
  # }
17248
17285
  #
17249
- # @example Example: To upload an object
17286
+ # @example Example: To create an object.
17250
17287
  #
17251
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
17252
- # # syntax. S3 returns VersionId of the newly created object.
17288
+ # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
17253
17289
  #
17254
17290
  # resp = client.put_object({
17255
- # body: "HappyFace.jpg",
17291
+ # body: "filetoupload",
17256
17292
  # bucket: "examplebucket",
17257
- # key: "HappyFace.jpg",
17293
+ # key: "objectkey",
17258
17294
  # })
17259
17295
  #
17260
17296
  # resp.to_h outputs the following:
17261
17297
  # {
17262
17298
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17263
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
17299
+ # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
17264
17300
  # }
17265
17301
  #
17266
17302
  # @example Streaming a file from disk
@@ -20162,45 +20198,45 @@ module Aws::S3
20162
20198
  # * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
20163
20199
  #
20164
20200
  #
20165
- # @example Example: To upload a part by copying byte range from an existing object as data source
20201
+ # @example Example: To upload a part by copying data from an existing object as data source
20166
20202
  #
20167
- # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
20168
- # # data source.
20203
+ # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
20169
20204
  #
20170
20205
  # resp = client.upload_part_copy({
20171
20206
  # bucket: "examplebucket",
20172
20207
  # copy_source: "/bucketname/sourceobjectkey",
20173
- # copy_source_range: "bytes=1-100000",
20174
20208
  # key: "examplelargeobject",
20175
- # part_number: 2,
20209
+ # part_number: 1,
20176
20210
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
20177
20211
  # })
20178
20212
  #
20179
20213
  # resp.to_h outputs the following:
20180
20214
  # {
20181
20215
  # copy_part_result: {
20182
- # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
20183
- # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
20216
+ # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
20217
+ # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
20184
20218
  # },
20185
20219
  # }
20186
20220
  #
20187
- # @example Example: To upload a part by copying data from an existing object as data source
20221
+ # @example Example: To upload a part by copying byte range from an existing object as data source
20188
20222
  #
20189
- # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
20223
+ # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
20224
+ # # data source.
20190
20225
  #
20191
20226
  # resp = client.upload_part_copy({
20192
20227
  # bucket: "examplebucket",
20193
20228
  # copy_source: "/bucketname/sourceobjectkey",
20229
+ # copy_source_range: "bytes=1-100000",
20194
20230
  # key: "examplelargeobject",
20195
- # part_number: 1,
20231
+ # part_number: 2,
20196
20232
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
20197
20233
  # })
20198
20234
  #
20199
20235
  # resp.to_h outputs the following:
20200
20236
  # {
20201
20237
  # copy_part_result: {
20202
- # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
20203
- # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
20238
+ # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
20239
+ # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
20204
20240
  # },
20205
20241
  # }
20206
20242
  #
@@ -20547,12 +20583,18 @@ module Aws::S3
20547
20583
  #
20548
20584
  # @option params [String] :request_charged
20549
20585
  # If present, indicates that the requester was successfully charged for
20550
- # the request.
20586
+ # the request. For more information, see [Using Requester Pays buckets
20587
+ # for storage transfers and usage][1] in the *Amazon Simple Storage
20588
+ # Service user guide*.
20551
20589
  #
20552
20590
  # <note markdown="1"> This functionality is not supported for directory buckets.
20553
20591
  #
20554
20592
  # </note>
20555
20593
  #
20594
+ #
20595
+ #
20596
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
20597
+ #
20556
20598
  # @option params [String] :restore
20557
20599
  # Provides information about object restoration operation and expiration
20558
20600
  # time of the restored object copy.
@@ -20680,7 +20722,7 @@ module Aws::S3
20680
20722
  tracer: tracer
20681
20723
  )
20682
20724
  context[:gem_name] = 'aws-sdk-s3'
20683
- context[:gem_version] = '1.187.0'
20725
+ context[:gem_version] = '1.188.0'
20684
20726
  Seahorse::Client::Request.new(handlers, context)
20685
20727
  end
20686
20728
 
@@ -2299,6 +2299,7 @@ module Aws::S3
2299
2299
  PutBucketOwnershipControlsRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
2300
2300
  PutBucketOwnershipControlsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
2301
2301
  PutBucketOwnershipControlsRequest.add_member(:ownership_controls, Shapes::ShapeRef.new(shape: OwnershipControls, required: true, location_name: "OwnershipControls", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
2302
+ PutBucketOwnershipControlsRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
2302
2303
  PutBucketOwnershipControlsRequest.struct_class = Types::PutBucketOwnershipControlsRequest
2303
2304
  PutBucketOwnershipControlsRequest[:payload] = :ownership_controls
2304
2305
  PutBucketOwnershipControlsRequest[:payload_member] = PutBucketOwnershipControlsRequest.member(:ownership_controls)
@@ -3753,6 +3754,11 @@ module Aws::S3
3753
3754
  o.http_method = "PUT"
3754
3755
  o.http_request_uri = "/?ownershipControls"
3755
3756
  o.http_checksum = {
3757
+ "requestAlgorithmMember" => "checksum_algorithm",
3758
+ "requestChecksumRequired" => true,
3759
+ }
3760
+ o.http_checksum = {
3761
+ "requestAlgorithmMember" => "checksum_algorithm",
3756
3762
  "requestChecksumRequired" => true,
3757
3763
  }
3758
3764
  o.input = Shapes::ShapeRef.new(shape: PutBucketOwnershipControlsRequest)
@@ -397,11 +397,17 @@ module Aws::S3
397
397
  end
398
398
 
399
399
  # If present, indicates that the requester was successfully charged for
400
- # the request.
400
+ # the request. For more information, see [Using Requester Pays buckets
401
+ # for storage transfers and usage][1] in the *Amazon Simple Storage
402
+ # Service user guide*.
401
403
  #
402
404
  # <note markdown="1"> This functionality is not supported for directory buckets.
403
405
  #
404
406
  # </note>
407
+ #
408
+ #
409
+ #
410
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
405
411
  # @return [String]
406
412
  def request_charged
407
413
  data[:request_charged]
@@ -55,11 +55,17 @@ module Aws::S3
55
55
  end
56
56
 
57
57
  # If present, indicates that the requester was successfully charged for
58
- # the request.
58
+ # the request. For more information, see [Using Requester Pays buckets
59
+ # for storage transfers and usage][1] in the *Amazon Simple Storage
60
+ # Service user guide*.
59
61
  #
60
62
  # <note markdown="1"> This functionality is not supported for directory buckets.
61
63
  #
62
64
  # </note>
65
+ #
66
+ #
67
+ #
68
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
63
69
  # @return [String]
64
70
  def request_charged
65
71
  data[:request_charged]
@@ -35,11 +35,17 @@ module Aws::S3
35
35
 
36
36
  # @!attribute [rw] request_charged
37
37
  # If present, indicates that the requester was successfully charged
38
- # for the request.
38
+ # for the request. For more information, see [Using Requester Pays
39
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
40
+ # Storage Service user guide*.
39
41
  #
40
42
  # <note markdown="1"> This functionality is not supported for directory buckets.
41
43
  #
42
44
  # </note>
45
+ #
46
+ #
47
+ #
48
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
43
49
  # @return [String]
44
50
  #
45
51
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadOutput AWS API Documentation
@@ -964,11 +970,17 @@ module Aws::S3
964
970
  #
965
971
  # @!attribute [rw] request_charged
966
972
  # If present, indicates that the requester was successfully charged
967
- # for the request.
973
+ # for the request. For more information, see [Using Requester Pays
974
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
975
+ # Storage Service user guide*.
968
976
  #
969
977
  # <note markdown="1"> This functionality is not supported for directory buckets.
970
978
  #
971
979
  # </note>
980
+ #
981
+ #
982
+ #
983
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
972
984
  # @return [String]
973
985
  #
974
986
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadOutput AWS API Documentation
@@ -1513,11 +1525,17 @@ module Aws::S3
1513
1525
  #
1514
1526
  # @!attribute [rw] request_charged
1515
1527
  # If present, indicates that the requester was successfully charged
1516
- # for the request.
1528
+ # for the request. For more information, see [Using Requester Pays
1529
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
1530
+ # Storage Service user guide*.
1517
1531
  #
1518
1532
  # <note markdown="1"> This functionality is not supported for directory buckets.
1519
1533
  #
1520
1534
  # </note>
1535
+ #
1536
+ #
1537
+ #
1538
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
1521
1539
  # @return [String]
1522
1540
  #
1523
1541
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectOutput AWS API Documentation
@@ -2621,10 +2639,10 @@ module Aws::S3
2621
2639
  #
2622
2640
  # <b>Directory buckets </b> - The location type is Availability Zone
2623
2641
  # or Local Zone. To use the Local Zone location type, your account
2624
- # must be enabled for Dedicated Local Zones. Otherwise, you get an
2625
- # HTTP `403 Forbidden` error with the error code `AccessDenied`. To
2626
- # learn more, see [Enable accounts for Dedicated Local Zones][1] in
2627
- # the *Amazon S3 User Guide*.
2642
+ # must be enabled for Local Zones. Otherwise, you get an HTTP `403
2643
+ # Forbidden` error with the error code `AccessDenied`. To learn more,
2644
+ # see [Enable accounts for Local Zones][1] in the *Amazon S3 User
2645
+ # Guide*.
2628
2646
  #
2629
2647
  # <note markdown="1"> This functionality is only supported by directory buckets.
2630
2648
  #
@@ -2938,11 +2956,17 @@ module Aws::S3
2938
2956
  #
2939
2957
  # @!attribute [rw] request_charged
2940
2958
  # If present, indicates that the requester was successfully charged
2941
- # for the request.
2959
+ # for the request. For more information, see [Using Requester Pays
2960
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
2961
+ # Storage Service user guide*.
2942
2962
  #
2943
2963
  # <note markdown="1"> This functionality is not supported for directory buckets.
2944
2964
  #
2945
2965
  # </note>
2966
+ #
2967
+ #
2968
+ #
2969
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
2946
2970
  # @return [String]
2947
2971
  #
2948
2972
  # @!attribute [rw] checksum_algorithm
@@ -4348,11 +4372,17 @@ module Aws::S3
4348
4372
  #
4349
4373
  # @!attribute [rw] request_charged
4350
4374
  # If present, indicates that the requester was successfully charged
4351
- # for the request.
4375
+ # for the request. For more information, see [Using Requester Pays
4376
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
4377
+ # Storage Service user guide*.
4352
4378
  #
4353
4379
  # <note markdown="1"> This functionality is not supported for directory buckets.
4354
4380
  #
4355
4381
  # </note>
4382
+ #
4383
+ #
4384
+ #
4385
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
4356
4386
  # @return [String]
4357
4387
  #
4358
4388
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectOutput AWS API Documentation
@@ -4613,11 +4643,17 @@ module Aws::S3
4613
4643
  #
4614
4644
  # @!attribute [rw] request_charged
4615
4645
  # If present, indicates that the requester was successfully charged
4616
- # for the request.
4646
+ # for the request. For more information, see [Using Requester Pays
4647
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
4648
+ # Storage Service user guide*.
4617
4649
  #
4618
4650
  # <note markdown="1"> This functionality is not supported for directory buckets.
4619
4651
  #
4620
4652
  # </note>
4653
+ #
4654
+ #
4655
+ #
4656
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
4621
4657
  # @return [String]
4622
4658
  #
4623
4659
  # @!attribute [rw] errors
@@ -5983,11 +6019,17 @@ module Aws::S3
5983
6019
  #
5984
6020
  # @!attribute [rw] request_charged
5985
6021
  # If present, indicates that the requester was successfully charged
5986
- # for the request.
6022
+ # for the request. For more information, see [Using Requester Pays
6023
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
6024
+ # Storage Service user guide*.
5987
6025
  #
5988
6026
  # <note markdown="1"> This functionality is not supported for directory buckets.
5989
6027
  #
5990
6028
  # </note>
6029
+ #
6030
+ #
6031
+ #
6032
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
5991
6033
  # @return [String]
5992
6034
  #
5993
6035
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationOutput AWS API Documentation
@@ -6960,11 +7002,17 @@ module Aws::S3
6960
7002
  #
6961
7003
  # @!attribute [rw] request_charged
6962
7004
  # If present, indicates that the requester was successfully charged
6963
- # for the request.
7005
+ # for the request. For more information, see [Using Requester Pays
7006
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
7007
+ # Storage Service user guide*.
6964
7008
  #
6965
7009
  # <note markdown="1"> This functionality is not supported for directory buckets.
6966
7010
  #
6967
7011
  # </note>
7012
+ #
7013
+ #
7014
+ #
7015
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
6968
7016
  # @return [String]
6969
7017
  #
6970
7018
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclOutput AWS API Documentation
@@ -7078,11 +7126,17 @@ module Aws::S3
7078
7126
  #
7079
7127
  # @!attribute [rw] request_charged
7080
7128
  # If present, indicates that the requester was successfully charged
7081
- # for the request.
7129
+ # for the request. For more information, see [Using Requester Pays
7130
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
7131
+ # Storage Service user guide*.
7082
7132
  #
7083
7133
  # <note markdown="1"> This functionality is not supported for directory buckets.
7084
7134
  #
7085
7135
  # </note>
7136
+ #
7137
+ #
7138
+ #
7139
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
7086
7140
  # @return [String]
7087
7141
  #
7088
7142
  # @!attribute [rw] etag
@@ -7257,12 +7311,24 @@ module Aws::S3
7257
7311
  # @return [String]
7258
7312
  #
7259
7313
  # @!attribute [rw] max_parts
7260
- # Sets the maximum number of parts to return.
7314
+ # Sets the maximum number of parts to return. For more information,
7315
+ # see [Uploading and copying objects using multipart upload in Amazon
7316
+ # S3 ][1] in the *Amazon Simple Storage Service user guide*.
7317
+ #
7318
+ #
7319
+ #
7320
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html
7261
7321
  # @return [Integer]
7262
7322
  #
7263
7323
  # @!attribute [rw] part_number_marker
7264
7324
  # Specifies the part after which listing should begin. Only parts with
7265
- # higher part numbers will be listed.
7325
+ # higher part numbers will be listed. For more information, see
7326
+ # [Uploading and copying objects using multipart upload in Amazon S3
7327
+ # ][1] in the *Amazon Simple Storage Service user guide*.
7328
+ #
7329
+ #
7330
+ #
7331
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html
7266
7332
  # @return [Integer]
7267
7333
  #
7268
7334
  # @!attribute [rw] sse_customer_algorithm
@@ -7734,11 +7800,17 @@ module Aws::S3
7734
7800
  #
7735
7801
  # @!attribute [rw] request_charged
7736
7802
  # If present, indicates that the requester was successfully charged
7737
- # for the request.
7803
+ # for the request. For more information, see [Using Requester Pays
7804
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
7805
+ # Storage Service user guide*.
7738
7806
  #
7739
7807
  # <note markdown="1"> This functionality is not supported for directory buckets.
7740
7808
  #
7741
7809
  # </note>
7810
+ #
7811
+ #
7812
+ #
7813
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
7742
7814
  # @return [String]
7743
7815
  #
7744
7816
  # @!attribute [rw] replication_status
@@ -8377,11 +8449,17 @@ module Aws::S3
8377
8449
  #
8378
8450
  # @!attribute [rw] request_charged
8379
8451
  # If present, indicates that the requester was successfully charged
8380
- # for the request.
8452
+ # for the request. For more information, see [Using Requester Pays
8453
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
8454
+ # Storage Service user guide*.
8381
8455
  #
8382
8456
  # <note markdown="1"> This functionality is not supported for directory buckets.
8383
8457
  #
8384
8458
  # </note>
8459
+ #
8460
+ #
8461
+ #
8462
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
8385
8463
  # @return [String]
8386
8464
  #
8387
8465
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentOutput AWS API Documentation
@@ -8976,11 +9054,17 @@ module Aws::S3
8976
9054
  #
8977
9055
  # @!attribute [rw] request_charged
8978
9056
  # If present, indicates that the requester was successfully charged
8979
- # for the request.
9057
+ # for the request. For more information, see [Using Requester Pays
9058
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
9059
+ # Storage Service user guide*.
8980
9060
  #
8981
9061
  # <note markdown="1"> This functionality is not supported for directory buckets.
8982
9062
  #
8983
9063
  # </note>
9064
+ #
9065
+ #
9066
+ #
9067
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
8984
9068
  # @return [String]
8985
9069
  #
8986
9070
  # @!attribute [rw] replication_status
@@ -9987,9 +10071,10 @@ module Aws::S3
9987
10071
  #
9988
10072
  # @!attribute [rw] filter
9989
10073
  # The `Filter` is used to identify objects that a Lifecycle Rule
9990
- # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
9991
- # `And` specified. `Filter` is required if the `LifecycleRule` does
9992
- # not contain a `Prefix` element.
10074
+ # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`,
10075
+ # `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified.
10076
+ # `Filter` is required if the `LifecycleRule` does not contain a
10077
+ # `Prefix` element.
9993
10078
  #
9994
10079
  # <note markdown="1"> `Tag` filters are not supported for directory buckets.
9995
10080
  #
@@ -10633,11 +10718,17 @@ module Aws::S3
10633
10718
  #
10634
10719
  # @!attribute [rw] request_charged
10635
10720
  # If present, indicates that the requester was successfully charged
10636
- # for the request.
10721
+ # for the request. For more information, see [Using Requester Pays
10722
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
10723
+ # Storage Service user guide*.
10637
10724
  #
10638
10725
  # <note markdown="1"> This functionality is not supported for directory buckets.
10639
10726
  #
10640
10727
  # </note>
10728
+ #
10729
+ #
10730
+ #
10731
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
10641
10732
  # @return [String]
10642
10733
  #
10643
10734
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsOutput AWS API Documentation
@@ -10932,11 +11023,17 @@ module Aws::S3
10932
11023
  #
10933
11024
  # @!attribute [rw] request_charged
10934
11025
  # If present, indicates that the requester was successfully charged
10935
- # for the request.
11026
+ # for the request. For more information, see [Using Requester Pays
11027
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
11028
+ # Storage Service user guide*.
10936
11029
  #
10937
11030
  # <note markdown="1"> This functionality is not supported for directory buckets.
10938
11031
  #
10939
11032
  # </note>
11033
+ #
11034
+ #
11035
+ #
11036
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
10940
11037
  # @return [String]
10941
11038
  #
10942
11039
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsOutput AWS API Documentation
@@ -11164,11 +11261,17 @@ module Aws::S3
11164
11261
  #
11165
11262
  # @!attribute [rw] request_charged
11166
11263
  # If present, indicates that the requester was successfully charged
11167
- # for the request.
11264
+ # for the request. For more information, see [Using Requester Pays
11265
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
11266
+ # Storage Service user guide*.
11168
11267
  #
11169
11268
  # <note markdown="1"> This functionality is not supported for directory buckets.
11170
11269
  #
11171
11270
  # </note>
11271
+ #
11272
+ #
11273
+ #
11274
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
11172
11275
  # @return [String]
11173
11276
  #
11174
11277
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsOutput AWS API Documentation
@@ -11437,11 +11540,17 @@ module Aws::S3
11437
11540
  #
11438
11541
  # @!attribute [rw] request_charged
11439
11542
  # If present, indicates that the requester was successfully charged
11440
- # for the request.
11543
+ # for the request. For more information, see [Using Requester Pays
11544
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
11545
+ # Storage Service user guide*.
11441
11546
  #
11442
11547
  # <note markdown="1"> This functionality is not supported for directory buckets.
11443
11548
  #
11444
11549
  # </note>
11550
+ #
11551
+ #
11552
+ #
11553
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
11445
11554
  # @return [String]
11446
11555
  #
11447
11556
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Output AWS API Documentation
@@ -11744,11 +11853,17 @@ module Aws::S3
11744
11853
  #
11745
11854
  # @!attribute [rw] request_charged
11746
11855
  # If present, indicates that the requester was successfully charged
11747
- # for the request.
11856
+ # for the request. For more information, see [Using Requester Pays
11857
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
11858
+ # Storage Service user guide*.
11748
11859
  #
11749
11860
  # <note markdown="1"> This functionality is not supported for directory buckets.
11750
11861
  #
11751
11862
  # </note>
11863
+ #
11864
+ #
11865
+ #
11866
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
11752
11867
  # @return [String]
11753
11868
  #
11754
11869
  # @!attribute [rw] checksum_algorithm
@@ -14011,13 +14126,31 @@ module Aws::S3
14011
14126
  # or ObjectWriter) that you want to apply to this Amazon S3 bucket.
14012
14127
  # @return [Types::OwnershipControls]
14013
14128
  #
14129
+ # @!attribute [rw] checksum_algorithm
14130
+ # Indicates the algorithm used to create the checksum for the object
14131
+ # when you use the SDK. This header will not provide any additional
14132
+ # functionality if you don't use the SDK. When you send this header,
14133
+ # there must be a corresponding `x-amz-checksum-algorithm ` header
14134
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
14135
+ # code `400 Bad Request`. For more information, see [Checking object
14136
+ # integrity][1] in the *Amazon S3 User Guide*.
14137
+ #
14138
+ # If you provide an individual checksum, Amazon S3 ignores any
14139
+ # provided `ChecksumAlgorithm` parameter.
14140
+ #
14141
+ #
14142
+ #
14143
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
14144
+ # @return [String]
14145
+ #
14014
14146
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControlsRequest AWS API Documentation
14015
14147
  #
14016
14148
  class PutBucketOwnershipControlsRequest < Struct.new(
14017
14149
  :bucket,
14018
14150
  :content_md5,
14019
14151
  :expected_bucket_owner,
14020
- :ownership_controls)
14152
+ :ownership_controls,
14153
+ :checksum_algorithm)
14021
14154
  SENSITIVE = []
14022
14155
  include Aws::Structure
14023
14156
  end
@@ -14445,11 +14578,17 @@ module Aws::S3
14445
14578
 
14446
14579
  # @!attribute [rw] request_charged
14447
14580
  # If present, indicates that the requester was successfully charged
14448
- # for the request.
14581
+ # for the request. For more information, see [Using Requester Pays
14582
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
14583
+ # Storage Service user guide*.
14449
14584
  #
14450
14585
  # <note markdown="1"> This functionality is not supported for directory buckets.
14451
14586
  #
14452
14587
  # </note>
14588
+ #
14589
+ #
14590
+ #
14591
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
14453
14592
  # @return [String]
14454
14593
  #
14455
14594
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclOutput AWS API Documentation
@@ -14631,11 +14770,17 @@ module Aws::S3
14631
14770
 
14632
14771
  # @!attribute [rw] request_charged
14633
14772
  # If present, indicates that the requester was successfully charged
14634
- # for the request.
14773
+ # for the request. For more information, see [Using Requester Pays
14774
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
14775
+ # Storage Service user guide*.
14635
14776
  #
14636
14777
  # <note markdown="1"> This functionality is not supported for directory buckets.
14637
14778
  #
14638
14779
  # </note>
14780
+ #
14781
+ #
14782
+ #
14783
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
14639
14784
  # @return [String]
14640
14785
  #
14641
14786
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldOutput AWS API Documentation
@@ -14749,11 +14894,17 @@ module Aws::S3
14749
14894
 
14750
14895
  # @!attribute [rw] request_charged
14751
14896
  # If present, indicates that the requester was successfully charged
14752
- # for the request.
14897
+ # for the request. For more information, see [Using Requester Pays
14898
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
14899
+ # Storage Service user guide*.
14753
14900
  #
14754
14901
  # <note markdown="1"> This functionality is not supported for directory buckets.
14755
14902
  #
14756
14903
  # </note>
14904
+ #
14905
+ #
14906
+ #
14907
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
14757
14908
  # @return [String]
14758
14909
  #
14759
14910
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfigurationOutput AWS API Documentation
@@ -15043,11 +15194,17 @@ module Aws::S3
15043
15194
  #
15044
15195
  # @!attribute [rw] request_charged
15045
15196
  # If present, indicates that the requester was successfully charged
15046
- # for the request.
15197
+ # for the request. For more information, see [Using Requester Pays
15198
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
15199
+ # Storage Service user guide*.
15047
15200
  #
15048
15201
  # <note markdown="1"> This functionality is not supported for directory buckets.
15049
15202
  #
15050
15203
  # </note>
15204
+ #
15205
+ #
15206
+ #
15207
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
15051
15208
  # @return [String]
15052
15209
  #
15053
15210
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectOutput AWS API Documentation
@@ -15819,11 +15976,17 @@ module Aws::S3
15819
15976
 
15820
15977
  # @!attribute [rw] request_charged
15821
15978
  # If present, indicates that the requester was successfully charged
15822
- # for the request.
15979
+ # for the request. For more information, see [Using Requester Pays
15980
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
15981
+ # Storage Service user guide*.
15823
15982
  #
15824
15983
  # <note markdown="1"> This functionality is not supported for directory buckets.
15825
15984
  #
15826
15985
  # </note>
15986
+ #
15987
+ #
15988
+ #
15989
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
15827
15990
  # @return [String]
15828
15991
  #
15829
15992
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetentionOutput AWS API Documentation
@@ -16630,11 +16793,17 @@ module Aws::S3
16630
16793
 
16631
16794
  # @!attribute [rw] request_charged
16632
16795
  # If present, indicates that the requester was successfully charged
16633
- # for the request.
16796
+ # for the request. For more information, see [Using Requester Pays
16797
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
16798
+ # Storage Service user guide*.
16634
16799
  #
16635
16800
  # <note markdown="1"> This functionality is not supported for directory buckets.
16636
16801
  #
16637
16802
  # </note>
16803
+ #
16804
+ #
16805
+ #
16806
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
16638
16807
  # @return [String]
16639
16808
  #
16640
16809
  # @!attribute [rw] restore_output_path
@@ -18057,11 +18226,17 @@ module Aws::S3
18057
18226
  #
18058
18227
  # @!attribute [rw] request_charged
18059
18228
  # If present, indicates that the requester was successfully charged
18060
- # for the request.
18229
+ # for the request. For more information, see [Using Requester Pays
18230
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
18231
+ # Storage Service user guide*.
18061
18232
  #
18062
18233
  # <note markdown="1"> This functionality is not supported for directory buckets.
18063
18234
  #
18064
18235
  # </note>
18236
+ #
18237
+ #
18238
+ #
18239
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
18065
18240
  # @return [String]
18066
18241
  #
18067
18242
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyOutput AWS API Documentation
@@ -18525,11 +18700,17 @@ module Aws::S3
18525
18700
  #
18526
18701
  # @!attribute [rw] request_charged
18527
18702
  # If present, indicates that the requester was successfully charged
18528
- # for the request.
18703
+ # for the request. For more information, see [Using Requester Pays
18704
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
18705
+ # Storage Service user guide*.
18529
18706
  #
18530
18707
  # <note markdown="1"> This functionality is not supported for directory buckets.
18531
18708
  #
18532
18709
  # </note>
18710
+ #
18711
+ #
18712
+ #
18713
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
18533
18714
  # @return [String]
18534
18715
  #
18535
18716
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartOutput AWS API Documentation
@@ -19119,11 +19300,17 @@ module Aws::S3
19119
19300
  #
19120
19301
  # @!attribute [rw] request_charged
19121
19302
  # If present, indicates that the requester was successfully charged
19122
- # for the request.
19303
+ # for the request. For more information, see [Using Requester Pays
19304
+ # buckets for storage transfers and usage][1] in the *Amazon Simple
19305
+ # Storage Service user guide*.
19123
19306
  #
19124
19307
  # <note markdown="1"> This functionality is not supported for directory buckets.
19125
19308
  #
19126
19309
  # </note>
19310
+ #
19311
+ #
19312
+ #
19313
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
19127
19314
  # @return [String]
19128
19315
  #
19129
19316
  # @!attribute [rw] restore
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.187.0'
78
+ GEM_VERSION = '1.188.0'
79
79
 
80
80
  end
81
81
 
data/sig/client.rbs CHANGED
@@ -1760,7 +1760,8 @@ module Aws
1760
1760
  object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
1761
1761
  },
1762
1762
  ]
1763
- }
1763
+ },
1764
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1764
1765
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1765
1766
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1766
1767
 
data/sig/types.rbs CHANGED
@@ -2008,6 +2008,7 @@ module Aws::S3
2008
2008
  attr_accessor content_md5: ::String
2009
2009
  attr_accessor expected_bucket_owner: ::String
2010
2010
  attr_accessor ownership_controls: Types::OwnershipControls
2011
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2011
2012
  SENSITIVE: []
2012
2013
  end
2013
2014
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.187.0
4
+ version: 1.188.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services