aws-sdk-s3 1.128.0 → 1.132.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: 6ec7c4fd0f4d8fb1a8efd8527908821bc3fabd58ee2078241bbcb9bb5ad2b040
4
- data.tar.gz: 2fb1ef8bfc93f1821890cd9ff18b51f1bc6708286581b3e94733c4cc96975949
3
+ metadata.gz: adbed389cd50d435107ac0380117b7e1a316f18dc19cc9a140b223320980fb27
4
+ data.tar.gz: feea3f5c604991ae327c7e3a7c1811ea0de5ab4474154e3bc69162d8262def72
5
5
  SHA512:
6
- metadata.gz: fcb07dec8c0c01ef7a334c27694b3ab5974702a63d2a4232db073d09f464498e3dbeef28f9e201201c8fc3e9b943bf605bf1dc7a5b4199710654b17b48d88416
7
- data.tar.gz: a82960fccb97ad47049ade2b4222c8a52422eba7a0f3b63b61fb3257de080436db8d184a58d957151e041f63af171577b3e45a18ca91d851cba98d49d9cb72e8
6
+ metadata.gz: 3f9adfd588e576e5dd17a9abac897b5d3e113b3fefd03de458fc0c8556c9a43336f84af4a3faf4f8516995cfff58cb9085af209f1f2ef8991204e11f7b7e9164
7
+ data.tar.gz: 5eb78921bec0f584949cec19adc7d6f38c65daabab5f9ed01c7298d7bfb14501512a1ea99abc6449591867bf548bab50ec0fd3fe54c21dd5ddfddafa370aaae6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,31 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.132.0 (2023-07-24)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Feature - Add support for verifying checksums in FileDownloader.
10
+
11
+ 1.131.0 (2023-07-20)
12
+ ------------------
13
+
14
+ * Feature - Improve performance of S3 clients by simplifying and optimizing endpoint resolution.
15
+
16
+ 1.130.0 (2023-07-13)
17
+ ------------------
18
+
19
+ * Feature - S3 Inventory now supports Object Access Control List and Object Owner as available object metadata fields in inventory reports.
20
+
21
+ * Feature - Allow Object multipart copy API to work when requiring a checksum algorithm.
22
+ * Feature - Allow Object multipart copy API to optionally copy parts as they exist on the source object if it has parts, instead of generating new part ranges, when specifying `use_source_parts: true`.
23
+
24
+ 1.129.0 (2023-07-11)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
4
29
  1.128.0 (2023-07-06)
5
30
  ------------------
6
31
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.128.0
1
+ 1.132.0
@@ -229,7 +229,7 @@ module Aws::S3
229
229
  # bucket.create({
230
230
  # acl: "private", # accepts private, public-read, public-read-write, authenticated-read
231
231
  # create_bucket_configuration: {
232
- # 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
232
+ # 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, ap-south-2, eu-south-2
233
233
  # },
234
234
  # grant_full_control: "GrantFullControl",
235
235
  # grant_read: "GrantRead",
@@ -272,6 +272,10 @@ module Aws::S3
272
272
  # When set to `true`, the bucket name is always left in the
273
273
  # request URI and never moved to the host as a sub-domain.
274
274
  #
275
+ # @option options [Boolean] :ignore_configured_endpoint_urls
276
+ # Setting to true disables use of endpoint URLs provided via environment
277
+ # variables and the shared configuration file.
278
+ #
275
279
  # @option options [Proc] :input_event_stream_handler
276
280
  # When an EventStream or Proc object is provided, it can be used for sending events for the event stream.
277
281
  #
@@ -964,8 +968,10 @@ module Aws::S3
964
968
  # </note>
965
969
  #
966
970
  # The copy request charge is based on the storage class and Region that
967
- # you specify for the destination object. For pricing information, see
968
- # [Amazon S3 pricing][3].
971
+ # you specify for the destination object. The request can also result in
972
+ # a data retrieval charge for the source if the source storage class
973
+ # bills for data retrieval. For pricing information, see [Amazon S3
974
+ # pricing][3].
969
975
  #
970
976
  # Amazon S3 transfer acceleration does not support cross-Region copies.
971
977
  # If you request a cross-Region copy using a transfer acceleration
@@ -1691,33 +1697,33 @@ module Aws::S3
1691
1697
  # * {Types::CreateBucketOutput#location #location} => String
1692
1698
  #
1693
1699
  #
1694
- # @example Example: To create a bucket
1700
+ # @example Example: To create a bucket in a specific region
1695
1701
  #
1696
- # # The following example creates a bucket.
1702
+ # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
1697
1703
  #
1698
1704
  # resp = client.create_bucket({
1699
1705
  # bucket: "examplebucket",
1706
+ # create_bucket_configuration: {
1707
+ # location_constraint: "eu-west-1",
1708
+ # },
1700
1709
  # })
1701
1710
  #
1702
1711
  # resp.to_h outputs the following:
1703
1712
  # {
1704
- # location: "/examplebucket",
1713
+ # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
1705
1714
  # }
1706
1715
  #
1707
- # @example Example: To create a bucket in a specific region
1716
+ # @example Example: To create a bucket
1708
1717
  #
1709
- # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
1718
+ # # The following example creates a bucket.
1710
1719
  #
1711
1720
  # resp = client.create_bucket({
1712
1721
  # bucket: "examplebucket",
1713
- # create_bucket_configuration: {
1714
- # location_constraint: "eu-west-1",
1715
- # },
1716
1722
  # })
1717
1723
  #
1718
1724
  # resp.to_h outputs the following:
1719
1725
  # {
1720
- # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
1726
+ # location: "/examplebucket",
1721
1727
  # }
1722
1728
  #
1723
1729
  # @example Request syntax with placeholder values
@@ -1726,7 +1732,7 @@ module Aws::S3
1726
1732
  # acl: "private", # accepts private, public-read, public-read-write, authenticated-read
1727
1733
  # bucket: "BucketName", # required
1728
1734
  # create_bucket_configuration: {
1729
- # 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
1735
+ # 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, ap-south-2, eu-south-2
1730
1736
  # },
1731
1737
  # grant_full_control: "GrantFullControl",
1732
1738
  # grant_read: "GrantRead",
@@ -3169,6 +3175,15 @@ module Aws::S3
3169
3175
  # * {Types::DeleteObjectOutput#request_charged #request_charged} => String
3170
3176
  #
3171
3177
  #
3178
+ # @example Example: To delete an object (from a non-versioned bucket)
3179
+ #
3180
+ # # The following example deletes an object from a non-versioned bucket.
3181
+ #
3182
+ # resp = client.delete_object({
3183
+ # bucket: "ExampleBucket",
3184
+ # key: "HappyFace.jpg",
3185
+ # })
3186
+ #
3172
3187
  # @example Example: To delete an object
3173
3188
  #
3174
3189
  # # The following example deletes an object from an S3 bucket.
@@ -3182,15 +3197,6 @@ module Aws::S3
3182
3197
  # {
3183
3198
  # }
3184
3199
  #
3185
- # @example Example: To delete an object (from a non-versioned bucket)
3186
- #
3187
- # # The following example deletes an object from a non-versioned bucket.
3188
- #
3189
- # resp = client.delete_object({
3190
- # bucket: "ExampleBucket",
3191
- # key: "HappyFace.jpg",
3192
- # })
3193
- #
3194
3200
  # @example Request syntax with placeholder values
3195
3201
  #
3196
3202
  # resp = client.delete_object({
@@ -3282,35 +3288,35 @@ module Aws::S3
3282
3288
  # * {Types::DeleteObjectTaggingOutput#version_id #version_id} => String
3283
3289
  #
3284
3290
  #
3285
- # @example Example: To remove tag set from an object version
3291
+ # @example Example: To remove tag set from an object
3286
3292
  #
3287
- # # The following example removes tag set associated with the specified object version. The request specifies both the
3288
- # # object key and object version.
3293
+ # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
3294
+ # # operation removes tag set from the latest object version.
3289
3295
  #
3290
3296
  # resp = client.delete_object_tagging({
3291
3297
  # bucket: "examplebucket",
3292
3298
  # key: "HappyFace.jpg",
3293
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3294
3299
  # })
3295
3300
  #
3296
3301
  # resp.to_h outputs the following:
3297
3302
  # {
3298
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3303
+ # version_id: "null",
3299
3304
  # }
3300
3305
  #
3301
- # @example Example: To remove tag set from an object
3306
+ # @example Example: To remove tag set from an object version
3302
3307
  #
3303
- # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
3304
- # # operation removes tag set from the latest object version.
3308
+ # # The following example removes tag set associated with the specified object version. The request specifies both the
3309
+ # # object key and object version.
3305
3310
  #
3306
3311
  # resp = client.delete_object_tagging({
3307
3312
  # bucket: "examplebucket",
3308
3313
  # key: "HappyFace.jpg",
3314
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3309
3315
  # })
3310
3316
  #
3311
3317
  # resp.to_h outputs the following:
3312
3318
  # {
3313
- # version_id: "null",
3319
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
3314
3320
  # }
3315
3321
  #
3316
3322
  # @example Request syntax with placeholder values
@@ -4223,7 +4229,7 @@ module Aws::S3
4223
4229
  # resp.inventory_configuration.id #=> String
4224
4230
  # resp.inventory_configuration.included_object_versions #=> String, one of "All", "Current"
4225
4231
  # resp.inventory_configuration.optional_fields #=> Array
4226
- # resp.inventory_configuration.optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm"
4232
+ # resp.inventory_configuration.optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner"
4227
4233
  # resp.inventory_configuration.schedule.frequency #=> String, one of "Daily", "Weekly"
4228
4234
  #
4229
4235
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration AWS API Documentation
@@ -4567,7 +4573,7 @@ module Aws::S3
4567
4573
  #
4568
4574
  # @example Response structure
4569
4575
  #
4570
- # 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"
4576
+ # 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", "ap-south-2", "eu-south-2"
4571
4577
  #
4572
4578
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation AWS API Documentation
4573
4579
  #
@@ -7741,7 +7747,7 @@ module Aws::S3
7741
7747
  # resp.inventory_configuration_list[0].id #=> String
7742
7748
  # resp.inventory_configuration_list[0].included_object_versions #=> String, one of "All", "Current"
7743
7749
  # resp.inventory_configuration_list[0].optional_fields #=> Array
7744
- # resp.inventory_configuration_list[0].optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm"
7750
+ # resp.inventory_configuration_list[0].optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner"
7745
7751
  # resp.inventory_configuration_list[0].schedule.frequency #=> String, one of "Daily", "Weekly"
7746
7752
  # resp.is_truncated #=> Boolean
7747
7753
  # resp.next_continuation_token #=> String
@@ -10165,7 +10171,7 @@ module Aws::S3
10165
10171
  # },
10166
10172
  # id: "InventoryId", # required
10167
10173
  # included_object_versions: "All", # required, accepts All, Current
10168
- # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm
10174
+ # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm, ObjectAccessControlList, ObjectOwner
10169
10175
  # schedule: { # required
10170
10176
  # frequency: "Daily", # required, accepts Daily, Weekly
10171
10177
  # },
@@ -12489,6 +12495,23 @@ module Aws::S3
12489
12495
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
12490
12496
  #
12491
12497
  #
12498
+ # @example Example: To upload an object
12499
+ #
12500
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
12501
+ # # syntax. S3 returns VersionId of the newly created object.
12502
+ #
12503
+ # resp = client.put_object({
12504
+ # body: "HappyFace.jpg",
12505
+ # bucket: "examplebucket",
12506
+ # key: "HappyFace.jpg",
12507
+ # })
12508
+ #
12509
+ # resp.to_h outputs the following:
12510
+ # {
12511
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12512
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
12513
+ # }
12514
+ #
12492
12515
  # @example Example: To upload object and specify user-defined metadata
12493
12516
  #
12494
12517
  # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
@@ -12546,41 +12569,6 @@ module Aws::S3
12546
12569
  # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
12547
12570
  # }
12548
12571
  #
12549
- # @example Example: To upload an object and specify canned ACL.
12550
- #
12551
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
12552
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
12553
- #
12554
- # resp = client.put_object({
12555
- # acl: "authenticated-read",
12556
- # body: "filetoupload",
12557
- # bucket: "examplebucket",
12558
- # key: "exampleobject",
12559
- # })
12560
- #
12561
- # resp.to_h outputs the following:
12562
- # {
12563
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12564
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
12565
- # }
12566
- #
12567
- # @example Example: To upload an object
12568
- #
12569
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
12570
- # # syntax. S3 returns VersionId of the newly created object.
12571
- #
12572
- # resp = client.put_object({
12573
- # body: "HappyFace.jpg",
12574
- # bucket: "examplebucket",
12575
- # key: "HappyFace.jpg",
12576
- # })
12577
- #
12578
- # resp.to_h outputs the following:
12579
- # {
12580
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12581
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
12582
- # }
12583
- #
12584
12572
  # @example Example: To upload an object and specify server-side encryption and object tags
12585
12573
  #
12586
12574
  # # The following example uploads an object. The request specifies the optional server-side encryption option. The request
@@ -12619,6 +12607,24 @@ module Aws::S3
12619
12607
  # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
12620
12608
  # }
12621
12609
  #
12610
+ # @example Example: To upload an object and specify canned ACL.
12611
+ #
12612
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
12613
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
12614
+ #
12615
+ # resp = client.put_object({
12616
+ # acl: "authenticated-read",
12617
+ # body: "filetoupload",
12618
+ # bucket: "examplebucket",
12619
+ # key: "exampleobject",
12620
+ # })
12621
+ #
12622
+ # resp.to_h outputs the following:
12623
+ # {
12624
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
12625
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
12626
+ # }
12627
+ #
12622
12628
  # @example Streaming a file from disk
12623
12629
  # # upload file from disk in a single request, may not exceed 5GB
12624
12630
  # File.open('/source/file/path', 'rb') do |file|
@@ -15161,45 +15167,45 @@ module Aws::S3
15161
15167
  # * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
15162
15168
  #
15163
15169
  #
15164
- # @example Example: To upload a part by copying data from an existing object as data source
15170
+ # @example Example: To upload a part by copying byte range from an existing object as data source
15165
15171
  #
15166
- # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
15172
+ # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
15173
+ # # data source.
15167
15174
  #
15168
15175
  # resp = client.upload_part_copy({
15169
15176
  # bucket: "examplebucket",
15170
15177
  # copy_source: "/bucketname/sourceobjectkey",
15178
+ # copy_source_range: "bytes=1-100000",
15171
15179
  # key: "examplelargeobject",
15172
- # part_number: 1,
15180
+ # part_number: 2,
15173
15181
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
15174
15182
  # })
15175
15183
  #
15176
15184
  # resp.to_h outputs the following:
15177
15185
  # {
15178
15186
  # copy_part_result: {
15179
- # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
15180
- # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
15187
+ # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
15188
+ # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
15181
15189
  # },
15182
15190
  # }
15183
15191
  #
15184
- # @example Example: To upload a part by copying byte range from an existing object as data source
15192
+ # @example Example: To upload a part by copying data from an existing object as data source
15185
15193
  #
15186
- # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
15187
- # # data source.
15194
+ # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
15188
15195
  #
15189
15196
  # resp = client.upload_part_copy({
15190
15197
  # bucket: "examplebucket",
15191
15198
  # copy_source: "/bucketname/sourceobjectkey",
15192
- # copy_source_range: "bytes=1-100000",
15193
15199
  # key: "examplelargeobject",
15194
- # part_number: 2,
15200
+ # part_number: 1,
15195
15201
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
15196
15202
  # })
15197
15203
  #
15198
15204
  # resp.to_h outputs the following:
15199
15205
  # {
15200
15206
  # copy_part_result: {
15201
- # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
15202
- # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
15207
+ # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
15208
+ # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
15203
15209
  # },
15204
15210
  # }
15205
15211
  #
@@ -15647,7 +15653,7 @@ module Aws::S3
15647
15653
  params: params,
15648
15654
  config: config)
15649
15655
  context[:gem_name] = 'aws-sdk-s3'
15650
- context[:gem_version] = '1.128.0'
15656
+ context[:gem_version] = '1.132.0'
15651
15657
  Seahorse::Client::Request.new(handlers, context)
15652
15658
  end
15653
15659
 
@@ -8,7 +8,7 @@ module Aws
8
8
  class PermanentRedirect < ServiceError
9
9
  # @param [Seahorse::Client::RequestContext] context
10
10
  # @param [String] message
11
- # @param [Aws::S3::Types::PermanentRedirect] data
11
+ # @param [Aws::S3::Types::PermanentRedirect] _data
12
12
  def initialize(context, message, _data = Aws::EmptyStructure.new)
13
13
  data = Aws::S3::Types::PermanentRedirect.new(message: message)
14
14
  body = context.http_response.body_contents
@@ -46,6 +46,14 @@ module Aws
46
46
  # different region. You do not need to specify this option
47
47
  # if you have provided a `:source_client` or a `:content_length`.
48
48
  #
49
+ # @option options [Boolean] :use_source_parts (false) Only used when
50
+ # `:multipart_copy` is `true`. Use part sizes defined on the source
51
+ # object if any exist. If copying or moving an object that
52
+ # is already multipart, this does not re-part the object, instead
53
+ # re-using the part definitions on the original. That means the etag
54
+ # and any checksums will not change. This is especially useful if the
55
+ # source object has parts with varied sizes.
56
+ #
49
57
  # @example Basic object copy
50
58
  #
51
59
  # bucket = Aws::S3::Bucket.new('target-bucket')
@@ -484,6 +492,18 @@ module Aws
484
492
  # retrieve the object. For more about object versioning, see:
485
493
  # https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectVersioning.html
486
494
  #
495
+ # @option options [String] checksum_mode (ENABLED) When `ENABLED` and
496
+ # the object has a stored checksum, it will be used to validate the
497
+ # download and will raise an `Aws::Errors::ChecksumError` if
498
+ # checksum validation fails. You may provide a `on_checksum_validated`
499
+ # callback if you need to verify that validation occured and which
500
+ # algorithm was used.
501
+ #
502
+ # @option options [Callable] on_checksum_validated Called each time a
503
+ # request's checksum is validated with the checksum algorithm and the
504
+ # response. For multipart downloads, this will be called for each
505
+ # part that is downloaded and validated.
506
+ #
487
507
  # @return [Boolean] Returns `true` when the file is downloaded without
488
508
  # any errors.
489
509
  def download_file(destination, options = {})
@@ -119,6 +119,10 @@ module Aws::S3
119
119
  end
120
120
  self[:endpoint] = options[:endpoint]
121
121
  self[:force_path_style] = options[:force_path_style]
122
+ self[:force_path_style] = false if self[:force_path_style].nil?
123
+ if self[:force_path_style].nil?
124
+ raise ArgumentError, "Missing required EndpointParameter: :force_path_style"
125
+ end
122
126
  self[:accelerate] = options[:accelerate]
123
127
  self[:accelerate] = false if self[:accelerate].nil?
124
128
  if self[:accelerate].nil?