aws-sdk-s3 1.176.1 → 1.177.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +191 -191
- data/lib/aws-sdk-s3/types.rb +11 -9
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5527258c2438f5ef4cc29b1b11fc3b3a1515cf49c092297703f213e8ee3f062f
|
4
|
+
data.tar.gz: 1048ada03491ba3f3dbf9b13df205ecc31845f02536ddae56c1d1b050a06b191
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ec9bf1db9d3d31412426263b5cde0acd230e459f0c5e301709cc937dea986c93ea4c9bc70fe1b2d58928466834cbaf0ebd928e7f579b7063148a83dfcdc3b31
|
7
|
+
data.tar.gz: 61e1af6426a99179cebbda1b97b435917e77af54cac150b0211af1146aa12f9bbcb41f7226aaf453a943c3ec9566265646bf0fa7f1aa8fd42382c0b8107070bd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.177.0 (2025-01-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change.
|
8
|
+
|
4
9
|
1.176.1 (2024-12-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.177.0
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -582,8 +582,8 @@ module Aws::S3
|
|
582
582
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
583
583
|
# for directory buckets in Availability Zones][2] in the *Amazon S3
|
584
584
|
# User Guide*. For more information about endpoints in Local Zones,
|
585
|
-
# see [
|
586
|
-
# S3 User Guide*.
|
585
|
+
# see [Concepts for directory buckets in Local Zones][3] in the
|
586
|
+
# *Amazon S3 User Guide*.
|
587
587
|
#
|
588
588
|
# </note>
|
589
589
|
#
|
@@ -627,7 +627,7 @@ module Aws::S3
|
|
627
627
|
#
|
628
628
|
#
|
629
629
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
|
630
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
630
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
631
631
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
632
632
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
|
633
633
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
@@ -815,8 +815,8 @@ module Aws::S3
|
|
815
815
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints for
|
816
816
|
# directory buckets in Availability Zones][5] in the *Amazon S3 User
|
817
817
|
# Guide*. For more information about endpoints in Local Zones, see
|
818
|
-
# [
|
819
|
-
# Guide*.
|
818
|
+
# [Concepts for directory buckets in Local Zones][6] in the *Amazon S3
|
819
|
+
# User Guide*.
|
820
820
|
#
|
821
821
|
# </note>
|
822
822
|
#
|
@@ -903,7 +903,7 @@ module Aws::S3
|
|
903
903
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
|
904
904
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html
|
905
905
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
|
906
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
906
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
907
907
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
908
908
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
|
909
909
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html
|
@@ -1247,8 +1247,8 @@ module Aws::S3
|
|
1247
1247
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
1248
1248
|
# for directory buckets in Availability Zones][2] in the *Amazon S3
|
1249
1249
|
# User Guide*. For more information about endpoints in Local Zones,
|
1250
|
-
# see [
|
1251
|
-
# S3 User Guide*.
|
1250
|
+
# see [Concepts for directory buckets in Local Zones][3] in the
|
1251
|
+
# *Amazon S3 User Guide*.
|
1252
1252
|
#
|
1253
1253
|
# * VPC endpoints don't support cross-Region requests (including
|
1254
1254
|
# copies). If you're using VPC endpoints, your source and destination
|
@@ -1387,7 +1387,7 @@ module Aws::S3
|
|
1387
1387
|
#
|
1388
1388
|
#
|
1389
1389
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html
|
1390
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
1390
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
1391
1391
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
1392
1392
|
# [4]: https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#manage-acct-regions-enable-standalone
|
1393
1393
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html
|
@@ -2310,8 +2310,8 @@ module Aws::S3
|
|
2310
2310
|
# information about endpoints in Availability Zones, see [Regional and
|
2311
2311
|
# Zonal endpoints for directory buckets in Availability Zones][4] in
|
2312
2312
|
# the *Amazon S3 User Guide*. For more information about endpoints in
|
2313
|
-
# Local Zones, see [
|
2314
|
-
# the *Amazon S3 User Guide*.
|
2313
|
+
# Local Zones, see [Concepts for directory buckets in Local Zones][5]
|
2314
|
+
# in the *Amazon S3 User Guide*.
|
2315
2315
|
#
|
2316
2316
|
# </note>
|
2317
2317
|
#
|
@@ -2403,7 +2403,7 @@ module Aws::S3
|
|
2403
2403
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
2404
2404
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html
|
2405
2405
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html
|
2406
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
2406
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
2407
2407
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
2408
2408
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
2409
2409
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
|
@@ -2721,8 +2721,8 @@ module Aws::S3
|
|
2721
2721
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
2722
2722
|
# for directory buckets in Availability Zones][4] in the *Amazon S3
|
2723
2723
|
# User Guide*. For more information about endpoints in Local Zones,
|
2724
|
-
# see [
|
2725
|
-
# S3 User Guide*.
|
2724
|
+
# see [Concepts for directory buckets in Local Zones][5] in the
|
2725
|
+
# *Amazon S3 User Guide*.
|
2726
2726
|
#
|
2727
2727
|
# </note>
|
2728
2728
|
#
|
@@ -2924,7 +2924,7 @@ module Aws::S3
|
|
2924
2924
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html
|
2925
2925
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html
|
2926
2926
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config
|
2927
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
2927
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
2928
2928
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
2929
2929
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
2930
2930
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions
|
@@ -3677,8 +3677,8 @@ module Aws::S3
|
|
3677
3677
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
3678
3678
|
# for directory buckets in Availability Zones][3] in the *Amazon S3
|
3679
3679
|
# User Guide*. For more information about endpoints in Local Zones,
|
3680
|
-
# see [
|
3681
|
-
# S3 User Guide*.
|
3680
|
+
# see [Concepts for directory buckets in Local Zones][4] in the
|
3681
|
+
# *Amazon S3 User Guide*.
|
3682
3682
|
#
|
3683
3683
|
# * <b> <code>CopyObject</code> API operation</b> - Unlike other Zonal
|
3684
3684
|
# endpoint API operations, the `CopyObject` API operation doesn't use
|
@@ -3784,7 +3784,7 @@ module Aws::S3
|
|
3784
3784
|
#
|
3785
3785
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-APIs.html
|
3786
3786
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-optimizing-performance-guidelines-design-patterns.html#s3-express-optimizing-performance-session-authentication
|
3787
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
3787
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
3788
3788
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
3789
3789
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
3790
3790
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html
|
@@ -3944,8 +3944,8 @@ module Aws::S3
|
|
3944
3944
|
# information about endpoints in Availability Zones, see [Regional and
|
3945
3945
|
# Zonal endpoints for directory buckets in Availability Zones][1] in
|
3946
3946
|
# the *Amazon S3 User Guide*. For more information about endpoints in
|
3947
|
-
# Local Zones, see [
|
3948
|
-
# the *Amazon S3 User Guide*.
|
3947
|
+
# Local Zones, see [Concepts for directory buckets in Local Zones][2]
|
3948
|
+
# in the *Amazon S3 User Guide*.
|
3949
3949
|
#
|
3950
3950
|
# </note>
|
3951
3951
|
#
|
@@ -3976,7 +3976,7 @@ module Aws::S3
|
|
3976
3976
|
#
|
3977
3977
|
#
|
3978
3978
|
#
|
3979
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
3979
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
3980
3980
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
3981
3981
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
3982
3982
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
|
@@ -4441,8 +4441,8 @@ module Aws::S3
|
|
4441
4441
|
# information about endpoints in Availability Zones, see [Regional
|
4442
4442
|
# and Zonal endpoints for directory buckets in Availability
|
4443
4443
|
# Zones][3] in the *Amazon S3 User Guide*. For more information
|
4444
|
-
# about endpoints in Local Zones, see [
|
4445
|
-
#
|
4444
|
+
# about endpoints in Local Zones, see [Concepts for directory
|
4445
|
+
# buckets in Local Zones][4] in the *Amazon S3 User Guide*.
|
4446
4446
|
#
|
4447
4447
|
# </note>
|
4448
4448
|
# ^
|
@@ -4465,7 +4465,7 @@ module Aws::S3
|
|
4465
4465
|
#
|
4466
4466
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
4467
4467
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
4468
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
4468
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
4469
4469
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
4470
4470
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
|
4471
4471
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
|
@@ -4692,7 +4692,7 @@ module Aws::S3
|
|
4692
4692
|
# about endpoints in Availability Zones, see [Regional and Zonal
|
4693
4693
|
# endpoints for directory buckets in Availability Zones][1] in the
|
4694
4694
|
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
4695
|
-
# Zones, see [
|
4695
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
4696
4696
|
# *Amazon S3 User Guide*.
|
4697
4697
|
#
|
4698
4698
|
# </note>
|
@@ -4749,7 +4749,7 @@ module Aws::S3
|
|
4749
4749
|
#
|
4750
4750
|
#
|
4751
4751
|
#
|
4752
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
4752
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
4753
4753
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
4754
4754
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
4755
4755
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
@@ -5042,8 +5042,8 @@ module Aws::S3
|
|
5042
5042
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
5043
5043
|
# for directory buckets in Availability Zones][3] in the *Amazon S3
|
5044
5044
|
# User Guide*. For more information about endpoints in Local Zones,
|
5045
|
-
# see [
|
5046
|
-
# S3 User Guide*.
|
5045
|
+
# see [Concepts for directory buckets in Local Zones][4] in the
|
5046
|
+
# *Amazon S3 User Guide*.
|
5047
5047
|
#
|
5048
5048
|
# </note>
|
5049
5049
|
#
|
@@ -5116,7 +5116,7 @@ module Aws::S3
|
|
5116
5116
|
#
|
5117
5117
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html
|
5118
5118
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html
|
5119
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
5119
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
5120
5120
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
5121
5121
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html
|
5122
5122
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete
|
@@ -5270,6 +5270,15 @@ module Aws::S3
|
|
5270
5270
|
# * {Types::DeleteObjectOutput#request_charged #request_charged} => String
|
5271
5271
|
#
|
5272
5272
|
#
|
5273
|
+
# @example Example: To delete an object (from a non-versioned bucket)
|
5274
|
+
#
|
5275
|
+
# # The following example deletes an object from a non-versioned bucket.
|
5276
|
+
#
|
5277
|
+
# resp = client.delete_object({
|
5278
|
+
# bucket: "ExampleBucket",
|
5279
|
+
# key: "HappyFace.jpg",
|
5280
|
+
# })
|
5281
|
+
#
|
5273
5282
|
# @example Example: To delete an object
|
5274
5283
|
#
|
5275
5284
|
# # The following example deletes an object from an S3 bucket.
|
@@ -5283,15 +5292,6 @@ module Aws::S3
|
|
5283
5292
|
# {
|
5284
5293
|
# }
|
5285
5294
|
#
|
5286
|
-
# @example Example: To delete an object (from a non-versioned bucket)
|
5287
|
-
#
|
5288
|
-
# # The following example deletes an object from a non-versioned bucket.
|
5289
|
-
#
|
5290
|
-
# resp = client.delete_object({
|
5291
|
-
# bucket: "ExampleBucket",
|
5292
|
-
# key: "HappyFace.jpg",
|
5293
|
-
# })
|
5294
|
-
#
|
5295
5295
|
# @example Request syntax with placeholder values
|
5296
5296
|
#
|
5297
5297
|
# resp = client.delete_object({
|
@@ -5470,8 +5470,8 @@ module Aws::S3
|
|
5470
5470
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
5471
5471
|
# for directory buckets in Availability Zones][1] in the *Amazon S3
|
5472
5472
|
# User Guide*. For more information about endpoints in Local Zones,
|
5473
|
-
# see [
|
5474
|
-
# S3 User Guide*.
|
5473
|
+
# see [Concepts for directory buckets in Local Zones][2] in the
|
5474
|
+
# *Amazon S3 User Guide*.
|
5475
5475
|
#
|
5476
5476
|
# </note>
|
5477
5477
|
#
|
@@ -5555,7 +5555,7 @@ module Aws::S3
|
|
5555
5555
|
#
|
5556
5556
|
#
|
5557
5557
|
#
|
5558
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
5558
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
5559
5559
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
5560
5560
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete
|
5561
5561
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
@@ -5708,20 +5708,22 @@ module Aws::S3
|
|
5708
5708
|
# * {Types::DeleteObjectsOutput#errors #errors} => Array<Types::Error>
|
5709
5709
|
#
|
5710
5710
|
#
|
5711
|
-
# @example Example: To delete multiple
|
5711
|
+
# @example Example: To delete multiple object versions from a versioned bucket
|
5712
5712
|
#
|
5713
|
-
# # The following example deletes objects from a bucket. The
|
5714
|
-
# #
|
5713
|
+
# # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
|
5714
|
+
# # versions and returns the key and versions of deleted objects in the response.
|
5715
5715
|
#
|
5716
5716
|
# resp = client.delete_objects({
|
5717
5717
|
# bucket: "examplebucket",
|
5718
5718
|
# delete: {
|
5719
5719
|
# objects: [
|
5720
5720
|
# {
|
5721
|
-
# key: "
|
5721
|
+
# key: "HappyFace.jpg",
|
5722
|
+
# version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
|
5722
5723
|
# },
|
5723
5724
|
# {
|
5724
|
-
# key: "
|
5725
|
+
# key: "HappyFace.jpg",
|
5726
|
+
# version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
|
5725
5727
|
# },
|
5726
5728
|
# ],
|
5727
5729
|
# quiet: false,
|
@@ -5732,34 +5734,30 @@ module Aws::S3
|
|
5732
5734
|
# {
|
5733
5735
|
# deleted: [
|
5734
5736
|
# {
|
5735
|
-
#
|
5736
|
-
#
|
5737
|
-
# key: "objectkey1",
|
5737
|
+
# key: "HappyFace.jpg",
|
5738
|
+
# version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
|
5738
5739
|
# },
|
5739
5740
|
# {
|
5740
|
-
#
|
5741
|
-
#
|
5742
|
-
# key: "objectkey2",
|
5741
|
+
# key: "HappyFace.jpg",
|
5742
|
+
# version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
|
5743
5743
|
# },
|
5744
5744
|
# ],
|
5745
5745
|
# }
|
5746
5746
|
#
|
5747
|
-
# @example Example: To delete multiple
|
5747
|
+
# @example Example: To delete multiple objects from a versioned bucket
|
5748
5748
|
#
|
5749
|
-
# # The following example deletes objects from a bucket. The
|
5750
|
-
# #
|
5749
|
+
# # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
|
5750
|
+
# # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
|
5751
5751
|
#
|
5752
5752
|
# resp = client.delete_objects({
|
5753
5753
|
# bucket: "examplebucket",
|
5754
5754
|
# delete: {
|
5755
5755
|
# objects: [
|
5756
5756
|
# {
|
5757
|
-
# key: "
|
5758
|
-
# version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
|
5757
|
+
# key: "objectkey1",
|
5759
5758
|
# },
|
5760
5759
|
# {
|
5761
|
-
# key: "
|
5762
|
-
# version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
|
5760
|
+
# key: "objectkey2",
|
5763
5761
|
# },
|
5764
5762
|
# ],
|
5765
5763
|
# quiet: false,
|
@@ -5770,12 +5768,14 @@ module Aws::S3
|
|
5770
5768
|
# {
|
5771
5769
|
# deleted: [
|
5772
5770
|
# {
|
5773
|
-
#
|
5774
|
-
#
|
5771
|
+
# delete_marker: true,
|
5772
|
+
# delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
|
5773
|
+
# key: "objectkey1",
|
5775
5774
|
# },
|
5776
5775
|
# {
|
5777
|
-
#
|
5778
|
-
#
|
5776
|
+
# delete_marker: true,
|
5777
|
+
# delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
|
5778
|
+
# key: "objectkey2",
|
5779
5779
|
# },
|
5780
5780
|
# ],
|
5781
5781
|
# }
|
@@ -6733,8 +6733,8 @@ module Aws::S3
|
|
6733
6733
|
# information about endpoints in Availability Zones, see [Regional
|
6734
6734
|
# and Zonal endpoints for directory buckets in Availability
|
6735
6735
|
# Zones][5] in the *Amazon S3 User Guide*. For more information
|
6736
|
-
# about endpoints in Local Zones, see [
|
6737
|
-
#
|
6736
|
+
# about endpoints in Local Zones, see [Concepts for directory
|
6737
|
+
# buckets in Local Zones][6] in the *Amazon S3 User Guide*.
|
6738
6738
|
#
|
6739
6739
|
# </note>
|
6740
6740
|
#
|
@@ -6768,7 +6768,7 @@ module Aws::S3
|
|
6768
6768
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html
|
6769
6769
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
6770
6770
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
6771
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
6771
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
6772
6772
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
6773
6773
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html
|
6774
6774
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
|
@@ -7484,7 +7484,7 @@ module Aws::S3
|
|
7484
7484
|
# about endpoints in Availability Zones, see [Regional and Zonal
|
7485
7485
|
# endpoints for directory buckets in Availability Zones][1] in the
|
7486
7486
|
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
7487
|
-
# Zones, see [
|
7487
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
7488
7488
|
# *Amazon S3 User Guide*.
|
7489
7489
|
#
|
7490
7490
|
# </note>
|
@@ -7548,7 +7548,7 @@ module Aws::S3
|
|
7548
7548
|
#
|
7549
7549
|
#
|
7550
7550
|
#
|
7551
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
7551
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
7552
7552
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
7553
7553
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
7554
7554
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
@@ -8176,8 +8176,8 @@ module Aws::S3
|
|
8176
8176
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints for
|
8177
8177
|
# directory buckets in Availability Zones][2] in the *Amazon S3 User
|
8178
8178
|
# Guide*. For more information about endpoints in Local Zones, see
|
8179
|
-
# [
|
8180
|
-
# Guide*.
|
8179
|
+
# [Concepts for directory buckets in Local Zones][3] in the *Amazon S3
|
8180
|
+
# User Guide*.
|
8181
8181
|
#
|
8182
8182
|
# Permissions
|
8183
8183
|
# : * **General purpose bucket permissions** - You must have the
|
@@ -8313,7 +8313,7 @@ module Aws::S3
|
|
8313
8313
|
#
|
8314
8314
|
#
|
8315
8315
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket
|
8316
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
8316
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
8317
8317
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
8318
8318
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html
|
8319
8319
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
@@ -9019,8 +9019,8 @@ module Aws::S3
|
|
9019
9019
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints for
|
9020
9020
|
# directory buckets in Availability Zones][1] in the *Amazon S3 User
|
9021
9021
|
# Guide*. For more information about endpoints in Local Zones, see
|
9022
|
-
# [
|
9023
|
-
# Guide*.
|
9022
|
+
# [Concepts for directory buckets in Local Zones][2] in the *Amazon S3
|
9023
|
+
# User Guide*.
|
9024
9024
|
#
|
9025
9025
|
# </note>
|
9026
9026
|
#
|
@@ -9169,7 +9169,7 @@ module Aws::S3
|
|
9169
9169
|
#
|
9170
9170
|
#
|
9171
9171
|
#
|
9172
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
9172
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
9173
9173
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
9174
9174
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html
|
9175
9175
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
@@ -10040,8 +10040,8 @@ module Aws::S3
|
|
10040
10040
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
10041
10041
|
# for directory buckets in Availability Zones][5] in the *Amazon S3
|
10042
10042
|
# User Guide*. For more information about endpoints in Local Zones,
|
10043
|
-
# see [
|
10044
|
-
# S3 User Guide*.
|
10043
|
+
# see [Concepts for directory buckets in Local Zones][6] in the
|
10044
|
+
# *Amazon S3 User Guide*.
|
10045
10045
|
#
|
10046
10046
|
# </note>
|
10047
10047
|
#
|
@@ -10051,7 +10051,7 @@ module Aws::S3
|
|
10051
10051
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
10052
10052
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html
|
10053
10053
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html
|
10054
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
10054
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
10055
10055
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
10056
10056
|
#
|
10057
10057
|
# @option params [required, String] :bucket
|
@@ -10291,8 +10291,8 @@ module Aws::S3
|
|
10291
10291
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
10292
10292
|
# for directory buckets in Availability Zones][6] in the *Amazon S3
|
10293
10293
|
# User Guide*. For more information about endpoints in Local Zones,
|
10294
|
-
# see [
|
10295
|
-
# S3 User Guide*.
|
10294
|
+
# see [Concepts for directory buckets in Local Zones][7] in the
|
10295
|
+
# *Amazon S3 User Guide*.
|
10296
10296
|
#
|
10297
10297
|
# </note>
|
10298
10298
|
#
|
@@ -10309,7 +10309,7 @@ module Aws::S3
|
|
10309
10309
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
10310
10310
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
|
10311
10311
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
|
10312
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
10312
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
10313
10313
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
10314
10314
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
10315
10315
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html
|
@@ -11231,7 +11231,7 @@ module Aws::S3
|
|
11231
11231
|
# about endpoints in Availability Zones, see [Regional and Zonal
|
11232
11232
|
# endpoints for directory buckets in Availability Zones][2] in the
|
11233
11233
|
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
11234
|
-
# Zones, see [
|
11234
|
+
# Zones, see [Concepts for directory buckets in Local Zones][3] in the
|
11235
11235
|
# *Amazon S3 User Guide*.
|
11236
11236
|
#
|
11237
11237
|
# </note>
|
@@ -11260,7 +11260,7 @@ module Aws::S3
|
|
11260
11260
|
#
|
11261
11261
|
#
|
11262
11262
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html
|
11263
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
11263
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
11264
11264
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
11265
11265
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
11266
11266
|
#
|
@@ -11355,8 +11355,8 @@ module Aws::S3
|
|
11355
11355
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints for
|
11356
11356
|
# directory buckets in Availability Zones][2] in the *Amazon S3 User
|
11357
11357
|
# Guide*. For more information about endpoints in Local Zones, see
|
11358
|
-
# [
|
11359
|
-
# Guide*.
|
11358
|
+
# [Concepts for directory buckets in Local Zones][3] in the *Amazon S3
|
11359
|
+
# User Guide*.
|
11360
11360
|
#
|
11361
11361
|
# </note>
|
11362
11362
|
#
|
@@ -11417,7 +11417,7 @@ module Aws::S3
|
|
11417
11417
|
#
|
11418
11418
|
#
|
11419
11419
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
|
11420
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
11420
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
11421
11421
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
11422
11422
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
|
11423
11423
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
@@ -11606,97 +11606,97 @@ module Aws::S3
|
|
11606
11606
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
11607
11607
|
#
|
11608
11608
|
#
|
11609
|
-
# @example Example:
|
11609
|
+
# @example Example: List next set of multipart uploads when previous result is truncated
|
11610
11610
|
#
|
11611
|
-
# # The following example
|
11611
|
+
# # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
|
11612
|
+
# # setup of multipart uploads.
|
11612
11613
|
#
|
11613
11614
|
# resp = client.list_multipart_uploads({
|
11614
11615
|
# bucket: "examplebucket",
|
11616
|
+
# key_marker: "nextkeyfrompreviousresponse",
|
11617
|
+
# max_uploads: 2,
|
11618
|
+
# upload_id_marker: "valuefrompreviousresponse",
|
11615
11619
|
# })
|
11616
11620
|
#
|
11617
11621
|
# resp.to_h outputs the following:
|
11618
11622
|
# {
|
11623
|
+
# bucket: "acl1",
|
11624
|
+
# is_truncated: true,
|
11625
|
+
# key_marker: "",
|
11626
|
+
# max_uploads: 2,
|
11627
|
+
# next_key_marker: "someobjectkey",
|
11628
|
+
# next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
11629
|
+
# upload_id_marker: "",
|
11619
11630
|
# uploads: [
|
11620
11631
|
# {
|
11621
11632
|
# initiated: Time.parse("2014-05-01T05:40:58.000Z"),
|
11622
11633
|
# initiator: {
|
11623
|
-
# display_name: "display-name",
|
11634
|
+
# display_name: "ownder-display-name",
|
11624
11635
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11625
11636
|
# },
|
11626
11637
|
# key: "JavaFile",
|
11627
11638
|
# owner: {
|
11628
|
-
# display_name: "
|
11629
|
-
# id: "
|
11639
|
+
# display_name: "mohanataws",
|
11640
|
+
# id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11630
11641
|
# },
|
11631
11642
|
# storage_class: "STANDARD",
|
11632
|
-
# upload_id: "
|
11643
|
+
# upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
|
11633
11644
|
# },
|
11634
11645
|
# {
|
11635
11646
|
# initiated: Time.parse("2014-05-01T05:41:27.000Z"),
|
11636
11647
|
# initiator: {
|
11637
|
-
# display_name: "display-name",
|
11648
|
+
# display_name: "ownder-display-name",
|
11638
11649
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11639
11650
|
# },
|
11640
11651
|
# key: "JavaFile",
|
11641
11652
|
# owner: {
|
11642
|
-
# display_name: "display-name",
|
11653
|
+
# display_name: "ownder-display-name",
|
11643
11654
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11644
11655
|
# },
|
11645
11656
|
# storage_class: "STANDARD",
|
11646
|
-
# upload_id: "
|
11657
|
+
# upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
11647
11658
|
# },
|
11648
11659
|
# ],
|
11649
11660
|
# }
|
11650
11661
|
#
|
11651
|
-
# @example Example:
|
11662
|
+
# @example Example: To list in-progress multipart uploads on a bucket
|
11652
11663
|
#
|
11653
|
-
# # The following example
|
11654
|
-
# # setup of multipart uploads.
|
11664
|
+
# # The following example lists in-progress multipart uploads on a specific bucket.
|
11655
11665
|
#
|
11656
11666
|
# resp = client.list_multipart_uploads({
|
11657
11667
|
# bucket: "examplebucket",
|
11658
|
-
# key_marker: "nextkeyfrompreviousresponse",
|
11659
|
-
# max_uploads: 2,
|
11660
|
-
# upload_id_marker: "valuefrompreviousresponse",
|
11661
11668
|
# })
|
11662
11669
|
#
|
11663
11670
|
# resp.to_h outputs the following:
|
11664
11671
|
# {
|
11665
|
-
# bucket: "acl1",
|
11666
|
-
# is_truncated: true,
|
11667
|
-
# key_marker: "",
|
11668
|
-
# max_uploads: 2,
|
11669
|
-
# next_key_marker: "someobjectkey",
|
11670
|
-
# next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
11671
|
-
# upload_id_marker: "",
|
11672
11672
|
# uploads: [
|
11673
11673
|
# {
|
11674
11674
|
# initiated: Time.parse("2014-05-01T05:40:58.000Z"),
|
11675
11675
|
# initiator: {
|
11676
|
-
# display_name: "
|
11676
|
+
# display_name: "display-name",
|
11677
11677
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11678
11678
|
# },
|
11679
11679
|
# key: "JavaFile",
|
11680
11680
|
# owner: {
|
11681
|
-
# display_name: "
|
11682
|
-
# id: "
|
11681
|
+
# display_name: "display-name",
|
11682
|
+
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11683
11683
|
# },
|
11684
11684
|
# storage_class: "STANDARD",
|
11685
|
-
# upload_id: "
|
11685
|
+
# upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
|
11686
11686
|
# },
|
11687
11687
|
# {
|
11688
11688
|
# initiated: Time.parse("2014-05-01T05:41:27.000Z"),
|
11689
11689
|
# initiator: {
|
11690
|
-
# display_name: "
|
11690
|
+
# display_name: "display-name",
|
11691
11691
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11692
11692
|
# },
|
11693
11693
|
# key: "JavaFile",
|
11694
11694
|
# owner: {
|
11695
|
-
# display_name: "
|
11695
|
+
# display_name: "display-name",
|
11696
11696
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
11697
11697
|
# },
|
11698
11698
|
# storage_class: "STANDARD",
|
11699
|
-
# upload_id: "
|
11699
|
+
# upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
11700
11700
|
# },
|
11701
11701
|
# ],
|
11702
11702
|
# }
|
@@ -12248,8 +12248,8 @@ module Aws::S3
|
|
12248
12248
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
12249
12249
|
# for directory buckets in Availability Zones][3] in the *Amazon S3
|
12250
12250
|
# User Guide*. For more information about endpoints in Local Zones,
|
12251
|
-
# see [
|
12252
|
-
# S3 User Guide*.
|
12251
|
+
# see [Concepts for directory buckets in Local Zones][4] in the
|
12252
|
+
# *Amazon S3 User Guide*.
|
12253
12253
|
#
|
12254
12254
|
# </note>
|
12255
12255
|
#
|
@@ -12307,7 +12307,7 @@ module Aws::S3
|
|
12307
12307
|
#
|
12308
12308
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html
|
12309
12309
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html
|
12310
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
12310
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
12311
12311
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
12312
12312
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
12313
12313
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
@@ -12596,8 +12596,8 @@ module Aws::S3
|
|
12596
12596
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints for
|
12597
12597
|
# directory buckets in Availability Zones][3] in the *Amazon S3 User
|
12598
12598
|
# Guide*. For more information about endpoints in Local Zones, see
|
12599
|
-
# [
|
12600
|
-
# Guide*.
|
12599
|
+
# [Concepts for directory buckets in Local Zones][4] in the *Amazon S3
|
12600
|
+
# User Guide*.
|
12601
12601
|
#
|
12602
12602
|
# </note>
|
12603
12603
|
#
|
@@ -12651,7 +12651,7 @@ module Aws::S3
|
|
12651
12651
|
#
|
12652
12652
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
|
12653
12653
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
|
12654
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
12654
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
12655
12655
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
12656
12656
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
|
12657
12657
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
@@ -13611,7 +13611,7 @@ module Aws::S3
|
|
13611
13611
|
# about endpoints in Availability Zones, see [Regional and Zonal
|
13612
13612
|
# endpoints for directory buckets in Availability Zones][1] in the
|
13613
13613
|
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
13614
|
-
# Zones, see [
|
13614
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
13615
13615
|
# *Amazon S3 User Guide*.
|
13616
13616
|
#
|
13617
13617
|
# </note>
|
@@ -13719,7 +13719,7 @@ module Aws::S3
|
|
13719
13719
|
#
|
13720
13720
|
#
|
13721
13721
|
#
|
13722
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
13722
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
13723
13723
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
13724
13724
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
|
13725
13725
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
|
@@ -14364,8 +14364,8 @@ module Aws::S3
|
|
14364
14364
|
# information about endpoints in Availability Zones, see [Regional
|
14365
14365
|
# and Zonal endpoints for directory buckets in Availability
|
14366
14366
|
# Zones][7] in the *Amazon S3 User Guide*. For more information
|
14367
|
-
# about endpoints in Local Zones, see [
|
14368
|
-
#
|
14367
|
+
# about endpoints in Local Zones, see [Concepts for directory
|
14368
|
+
# buckets in Local Zones][8] in the *Amazon S3 User Guide*.
|
14369
14369
|
#
|
14370
14370
|
# </note>
|
14371
14371
|
#
|
@@ -14387,7 +14387,7 @@ module Aws::S3
|
|
14387
14387
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html
|
14388
14388
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
14389
14389
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
14390
|
-
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
14390
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
14391
14391
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
14392
14392
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
|
14393
14393
|
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
|
@@ -15192,7 +15192,7 @@ module Aws::S3
|
|
15192
15192
|
# about endpoints in Availability Zones, see [Regional and Zonal
|
15193
15193
|
# endpoints for directory buckets in Availability Zones][1] in the
|
15194
15194
|
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
15195
|
-
# Zones, see [
|
15195
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
15196
15196
|
# *Amazon S3 User Guide*.
|
15197
15197
|
#
|
15198
15198
|
# </note>
|
@@ -15256,7 +15256,7 @@ module Aws::S3
|
|
15256
15256
|
#
|
15257
15257
|
#
|
15258
15258
|
#
|
15259
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
15259
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
15260
15260
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
15261
15261
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
15262
15262
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
@@ -16220,8 +16220,8 @@ module Aws::S3
|
|
16220
16220
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints
|
16221
16221
|
# for directory buckets in Availability Zones][1] in the *Amazon S3
|
16222
16222
|
# User Guide*. For more information about endpoints in Local Zones,
|
16223
|
-
# see [
|
16224
|
-
# S3 User Guide*.
|
16223
|
+
# see [Concepts for directory buckets in Local Zones][2] in the
|
16224
|
+
# *Amazon S3 User Guide*.
|
16225
16225
|
#
|
16226
16226
|
# </note>
|
16227
16227
|
#
|
@@ -16313,7 +16313,7 @@ module Aws::S3
|
|
16313
16313
|
#
|
16314
16314
|
#
|
16315
16315
|
#
|
16316
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
16316
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
16317
16317
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
16318
16318
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
|
16319
16319
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html
|
@@ -16975,101 +16975,96 @@ module Aws::S3
|
|
16975
16975
|
# * {Types::PutObjectOutput#request_charged #request_charged} => String
|
16976
16976
|
#
|
16977
16977
|
#
|
16978
|
-
# @example Example: To upload an object
|
16978
|
+
# @example Example: To upload an object and specify canned ACL.
|
16979
16979
|
#
|
16980
|
-
# # The following example uploads
|
16981
|
-
# #
|
16980
|
+
# # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
|
16981
|
+
# # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
|
16982
16982
|
#
|
16983
16983
|
# resp = client.put_object({
|
16984
|
-
#
|
16984
|
+
# acl: "authenticated-read",
|
16985
|
+
# body: "filetoupload",
|
16985
16986
|
# bucket: "examplebucket",
|
16986
|
-
# key: "
|
16987
|
-
# server_side_encryption: "AES256",
|
16988
|
-
# storage_class: "STANDARD_IA",
|
16987
|
+
# key: "exampleobject",
|
16989
16988
|
# })
|
16990
16989
|
#
|
16991
16990
|
# resp.to_h outputs the following:
|
16992
16991
|
# {
|
16993
16992
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
16994
|
-
#
|
16995
|
-
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
16993
|
+
# version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
|
16996
16994
|
# }
|
16997
16995
|
#
|
16998
|
-
# @example Example: To
|
16996
|
+
# @example Example: To create an object.
|
16999
16997
|
#
|
17000
|
-
# # The following example
|
17001
|
-
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
16998
|
+
# # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
17002
16999
|
#
|
17003
17000
|
# resp = client.put_object({
|
17004
17001
|
# body: "filetoupload",
|
17005
17002
|
# bucket: "examplebucket",
|
17006
|
-
# key: "
|
17007
|
-
# server_side_encryption: "AES256",
|
17008
|
-
# tagging: "key1=value1&key2=value2",
|
17003
|
+
# key: "objectkey",
|
17009
17004
|
# })
|
17010
17005
|
#
|
17011
17006
|
# resp.to_h outputs the following:
|
17012
17007
|
# {
|
17013
17008
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
17014
|
-
#
|
17015
|
-
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
17009
|
+
# version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
|
17016
17010
|
# }
|
17017
17011
|
#
|
17018
|
-
# @example Example: To upload object and specify
|
17012
|
+
# @example Example: To upload an object and specify optional tags
|
17019
17013
|
#
|
17020
|
-
# # The following example
|
17021
|
-
# #
|
17014
|
+
# # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
|
17015
|
+
# # S3 returns version ID of the newly created object.
|
17022
17016
|
#
|
17023
17017
|
# resp = client.put_object({
|
17024
|
-
# body: "
|
17018
|
+
# body: "c:\\HappyFace.jpg",
|
17025
17019
|
# bucket: "examplebucket",
|
17026
|
-
# key: "
|
17027
|
-
#
|
17028
|
-
# "metadata1" => "value1",
|
17029
|
-
# "metadata2" => "value2",
|
17030
|
-
# },
|
17020
|
+
# key: "HappyFace.jpg",
|
17021
|
+
# tagging: "key1=value1&key2=value2",
|
17031
17022
|
# })
|
17032
17023
|
#
|
17033
17024
|
# resp.to_h outputs the following:
|
17034
17025
|
# {
|
17035
17026
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
17036
|
-
# version_id: "
|
17027
|
+
# version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
|
17037
17028
|
# }
|
17038
17029
|
#
|
17039
|
-
# @example Example: To upload an object and specify
|
17030
|
+
# @example Example: To upload an object and specify server-side encryption and object tags
|
17040
17031
|
#
|
17041
|
-
# # The following example uploads
|
17042
|
-
# #
|
17032
|
+
# # The following example uploads an object. The request specifies the optional server-side encryption option. The request
|
17033
|
+
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
17043
17034
|
#
|
17044
17035
|
# resp = client.put_object({
|
17045
|
-
# acl: "authenticated-read",
|
17046
17036
|
# body: "filetoupload",
|
17047
17037
|
# bucket: "examplebucket",
|
17048
17038
|
# key: "exampleobject",
|
17039
|
+
# server_side_encryption: "AES256",
|
17040
|
+
# tagging: "key1=value1&key2=value2",
|
17049
17041
|
# })
|
17050
17042
|
#
|
17051
17043
|
# resp.to_h outputs the following:
|
17052
17044
|
# {
|
17053
17045
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
17054
|
-
#
|
17046
|
+
# server_side_encryption: "AES256",
|
17047
|
+
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
17055
17048
|
# }
|
17056
17049
|
#
|
17057
|
-
# @example Example: To upload an object
|
17050
|
+
# @example Example: To upload an object (specify optional headers)
|
17058
17051
|
#
|
17059
|
-
# # The following example uploads an object. The request specifies optional
|
17060
|
-
# #
|
17052
|
+
# # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
|
17053
|
+
# # storage class and use server-side encryption.
|
17061
17054
|
#
|
17062
17055
|
# resp = client.put_object({
|
17063
|
-
# body: "
|
17056
|
+
# body: "HappyFace.jpg",
|
17064
17057
|
# bucket: "examplebucket",
|
17065
17058
|
# key: "HappyFace.jpg",
|
17066
|
-
#
|
17059
|
+
# server_side_encryption: "AES256",
|
17060
|
+
# storage_class: "STANDARD_IA",
|
17067
17061
|
# })
|
17068
17062
|
#
|
17069
17063
|
# resp.to_h outputs the following:
|
17070
17064
|
# {
|
17071
17065
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
17072
|
-
#
|
17066
|
+
# server_side_encryption: "AES256",
|
17067
|
+
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
17073
17068
|
# }
|
17074
17069
|
#
|
17075
17070
|
# @example Example: To upload an object
|
@@ -17089,20 +17084,25 @@ module Aws::S3
|
|
17089
17084
|
# version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
|
17090
17085
|
# }
|
17091
17086
|
#
|
17092
|
-
# @example Example: To
|
17087
|
+
# @example Example: To upload object and specify user-defined metadata
|
17093
17088
|
#
|
17094
|
-
# # The following example creates an object.
|
17089
|
+
# # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
|
17090
|
+
# # enabled, S3 returns version ID in response.
|
17095
17091
|
#
|
17096
17092
|
# resp = client.put_object({
|
17097
17093
|
# body: "filetoupload",
|
17098
17094
|
# bucket: "examplebucket",
|
17099
|
-
# key: "
|
17095
|
+
# key: "exampleobject",
|
17096
|
+
# metadata: {
|
17097
|
+
# "metadata1" => "value1",
|
17098
|
+
# "metadata2" => "value2",
|
17099
|
+
# },
|
17100
17100
|
# })
|
17101
17101
|
#
|
17102
17102
|
# resp.to_h outputs the following:
|
17103
17103
|
# {
|
17104
17104
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
17105
|
-
# version_id: "
|
17105
|
+
# version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
|
17106
17106
|
# }
|
17107
17107
|
#
|
17108
17108
|
# @example Streaming a file from disk
|
@@ -19071,8 +19071,8 @@ module Aws::S3
|
|
19071
19071
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints for
|
19072
19072
|
# directory buckets in Availability Zones][5] in the *Amazon S3 User
|
19073
19073
|
# Guide*. For more information about endpoints in Local Zones, see
|
19074
|
-
# [
|
19075
|
-
# Guide*.
|
19074
|
+
# [Concepts for directory buckets in Local Zones][6] in the *Amazon S3
|
19075
|
+
# User Guide*.
|
19076
19076
|
#
|
19077
19077
|
# </note>
|
19078
19078
|
#
|
@@ -19206,7 +19206,7 @@ module Aws::S3
|
|
19206
19206
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
|
19207
19207
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html
|
19208
19208
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html
|
19209
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
19209
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
19210
19210
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
19211
19211
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html
|
19212
19212
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
|
@@ -19516,8 +19516,8 @@ module Aws::S3
|
|
19516
19516
|
# endpoints in Availability Zones, see [Regional and Zonal endpoints for
|
19517
19517
|
# directory buckets in Availability Zones][5] in the *Amazon S3 User
|
19518
19518
|
# Guide*. For more information about endpoints in Local Zones, see
|
19519
|
-
# [
|
19520
|
-
# Guide*.
|
19519
|
+
# [Concepts for directory buckets in Local Zones][6] in the *Amazon S3
|
19520
|
+
# User Guide*.
|
19521
19521
|
#
|
19522
19522
|
# </note>
|
19523
19523
|
#
|
@@ -19662,7 +19662,7 @@ module Aws::S3
|
|
19662
19662
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html
|
19663
19663
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
|
19664
19664
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html
|
19665
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
19665
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
19666
19666
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
19667
19667
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
|
19668
19668
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html
|
@@ -19971,45 +19971,45 @@ module Aws::S3
|
|
19971
19971
|
# * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
|
19972
19972
|
#
|
19973
19973
|
#
|
19974
|
-
# @example Example: To upload a part by copying
|
19974
|
+
# @example Example: To upload a part by copying data from an existing object as data source
|
19975
19975
|
#
|
19976
|
-
# # The following example uploads a part of a multipart upload by copying
|
19977
|
-
# # data source.
|
19976
|
+
# # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
|
19978
19977
|
#
|
19979
19978
|
# resp = client.upload_part_copy({
|
19980
19979
|
# bucket: "examplebucket",
|
19981
19980
|
# copy_source: "/bucketname/sourceobjectkey",
|
19982
|
-
# copy_source_range: "bytes=1-100000",
|
19983
19981
|
# key: "examplelargeobject",
|
19984
|
-
# part_number:
|
19982
|
+
# part_number: 1,
|
19985
19983
|
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
|
19986
19984
|
# })
|
19987
19985
|
#
|
19988
19986
|
# resp.to_h outputs the following:
|
19989
19987
|
# {
|
19990
19988
|
# copy_part_result: {
|
19991
|
-
# etag: "\"
|
19992
|
-
# last_modified: Time.parse("2016-12-29T21:
|
19989
|
+
# etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
19990
|
+
# last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
|
19993
19991
|
# },
|
19994
19992
|
# }
|
19995
19993
|
#
|
19996
|
-
# @example Example: To upload a part by copying
|
19994
|
+
# @example Example: To upload a part by copying byte range from an existing object as data source
|
19997
19995
|
#
|
19998
|
-
# # The following example uploads a part of a multipart upload by copying
|
19996
|
+
# # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
|
19997
|
+
# # data source.
|
19999
19998
|
#
|
20000
19999
|
# resp = client.upload_part_copy({
|
20001
20000
|
# bucket: "examplebucket",
|
20002
20001
|
# copy_source: "/bucketname/sourceobjectkey",
|
20002
|
+
# copy_source_range: "bytes=1-100000",
|
20003
20003
|
# key: "examplelargeobject",
|
20004
|
-
# part_number:
|
20004
|
+
# part_number: 2,
|
20005
20005
|
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
|
20006
20006
|
# })
|
20007
20007
|
#
|
20008
20008
|
# resp.to_h outputs the following:
|
20009
20009
|
# {
|
20010
20010
|
# copy_part_result: {
|
20011
|
-
# etag: "\"
|
20012
|
-
# last_modified: Time.parse("2016-12-29T21:
|
20011
|
+
# etag: "\"65d16d19e65a7508a51f043180edcc36\"",
|
20012
|
+
# last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
|
20013
20013
|
# },
|
20014
20014
|
# }
|
20015
20015
|
#
|
@@ -20471,7 +20471,7 @@ module Aws::S3
|
|
20471
20471
|
tracer: tracer
|
20472
20472
|
)
|
20473
20473
|
context[:gem_name] = 'aws-sdk-s3'
|
20474
|
-
context[:gem_version] = '1.
|
20474
|
+
context[:gem_version] = '1.177.0'
|
20475
20475
|
Seahorse::Client::Request.new(handlers, context)
|
20476
20476
|
end
|
20477
20477
|
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -2478,29 +2478,31 @@ module Aws::S3
|
|
2478
2478
|
# choose a Region to optimize latency, minimize costs, or address
|
2479
2479
|
# regulatory requirements. For example, if you reside in Europe, you
|
2480
2480
|
# will probably find it advantageous to create buckets in the Europe
|
2481
|
-
# (Ireland) Region.
|
2482
|
-
# in the *Amazon S3 User Guide*.
|
2481
|
+
# (Ireland) Region.
|
2483
2482
|
#
|
2484
2483
|
# If you don't specify a Region, the bucket is created in the US East
|
2485
2484
|
# (N. Virginia) Region (us-east-1) by default.
|
2486
2485
|
#
|
2486
|
+
# For a list of the valid values for all of the Amazon Web Services
|
2487
|
+
# Regions, see [Regions and Endpoints][1].
|
2488
|
+
#
|
2487
2489
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
2488
2490
|
#
|
2489
2491
|
# </note>
|
2490
2492
|
#
|
2491
2493
|
#
|
2492
2494
|
#
|
2493
|
-
# [1]: https://docs.aws.amazon.com/
|
2495
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
|
2494
2496
|
# @return [String]
|
2495
2497
|
#
|
2496
2498
|
# @!attribute [rw] location
|
2497
2499
|
# Specifies the location where the bucket will be created.
|
2498
2500
|
#
|
2499
2501
|
# <b>Directory buckets </b> - The location type is Availability Zone
|
2500
|
-
# or Local Zone.
|
2501
|
-
# must be
|
2502
|
-
#
|
2503
|
-
#
|
2502
|
+
# or Local Zone. To use the Local Zone location type, your account
|
2503
|
+
# must be enabled for Dedicated Local Zones. Otherwise, you get an
|
2504
|
+
# HTTP `403 Forbidden` error with the error code `AccessDenied`. To
|
2505
|
+
# learn more, see [Enable accounts for Dedicated Local Zones][1] in
|
2504
2506
|
# the *Amazon S3 User Guide*.
|
2505
2507
|
#
|
2506
2508
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
@@ -11669,8 +11671,8 @@ module Aws::S3
|
|
11669
11671
|
# Specifies the location where the bucket will be created.
|
11670
11672
|
#
|
11671
11673
|
# For directory buckets, the location type is Availability Zone or Local
|
11672
|
-
# Zone. For more information about directory buckets, see [
|
11673
|
-
# buckets][1] in the *Amazon S3 User Guide*.
|
11674
|
+
# Zone. For more information about directory buckets, see [Working with
|
11675
|
+
# directory buckets][1] in the *Amazon S3 User Guide*.
|
11674
11676
|
#
|
11675
11677
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
11676
11678
|
#
|
data/lib/aws-sdk-s3.rb
CHANGED
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.
|
4
|
+
version: 1.177.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:
|
11
|
+
date: 2025-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|