aws-sdk-s3 1.202.0 → 1.206.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 +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +1 -1
- data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +316 -257
- data/lib/aws-sdk-s3/client_api.rb +59 -0
- data/lib/aws-sdk-s3/customizations/object.rb +3 -4
- data/lib/aws-sdk-s3/endpoint_provider.rb +220 -50
- data/lib/aws-sdk-s3/endpoints.rb +26 -0
- data/lib/aws-sdk-s3/file_downloader.rb +19 -2
- data/lib/aws-sdk-s3/object.rb +4 -4
- data/lib/aws-sdk-s3/object_acl.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +4 -4
- data/lib/aws-sdk-s3/transfer_manager.rb +3 -4
- data/lib/aws-sdk-s3/types.rb +206 -98
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -1
- data/sig/client.rbs +37 -11
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +5 -5
- data/sig/object_summary.rbs +5 -5
- data/sig/types.rbs +44 -13
- metadata +1 -1
data/lib/aws-sdk-s3/client.rb
CHANGED
|
@@ -1308,7 +1308,7 @@ module Aws::S3
|
|
|
1308
1308
|
# (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe
|
|
1309
1309
|
# (Ireland), and South America (São Paulo).
|
|
1310
1310
|
#
|
|
1311
|
-
# <note markdown="1"> You can store individual objects of up to
|
|
1311
|
+
# <note markdown="1"> You can store individual objects of up to 50 TB in Amazon S3. You
|
|
1312
1312
|
# create a copy of your object up to 5 GB in size in a single atomic
|
|
1313
1313
|
# action using this API. However, to copy an object greater than 5 GB,
|
|
1314
1314
|
# you must use the multipart upload Upload Part - Copy (UploadPartCopy)
|
|
@@ -2370,7 +2370,7 @@ module Aws::S3
|
|
|
2370
2370
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
|
2371
2371
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
|
2372
2372
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
2373
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
2373
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2374
2374
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
2375
2375
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
2376
2376
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2420,18 +2420,6 @@ module Aws::S3
|
|
|
2420
2420
|
req.send_request(options)
|
|
2421
2421
|
end
|
|
2422
2422
|
|
|
2423
|
-
# End of support notice: As of October 1, 2025, Amazon S3 has
|
|
2424
|
-
# discontinued support for Email Grantee Access Control Lists (ACLs). If
|
|
2425
|
-
# you attempt to use an Email Grantee ACL in a request after October 1,
|
|
2426
|
-
# 2025, the request will receive an `HTTP 405` (Method Not Allowed)
|
|
2427
|
-
# error.
|
|
2428
|
-
#
|
|
2429
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
2430
|
-
# East
|
|
2431
|
-
# (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific
|
|
2432
|
-
# (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe
|
|
2433
|
-
# (Ireland), and South America (São Paulo).
|
|
2434
|
-
#
|
|
2435
2423
|
# <note markdown="1"> This action creates an Amazon S3 bucket. To create an Amazon S3 on
|
|
2436
2424
|
# Outposts bucket, see [ `CreateBucket` ][1].
|
|
2437
2425
|
#
|
|
@@ -3943,7 +3931,7 @@ module Aws::S3
|
|
|
3943
3931
|
# "MetadataKey" => "MetadataValue",
|
|
3944
3932
|
# },
|
|
3945
3933
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
3946
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
3934
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
3947
3935
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
3948
3936
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
3949
3937
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -5405,7 +5393,14 @@ module Aws::S3
|
|
|
5405
5393
|
#
|
|
5406
5394
|
# </note>
|
|
5407
5395
|
#
|
|
5408
|
-
# Deletes
|
|
5396
|
+
# Deletes tags from the general purpose bucket if attribute based access
|
|
5397
|
+
# control (ABAC) is not enabled for the bucket. When you [enable ABAC
|
|
5398
|
+
# for a general purpose bucket][1], you can no longer use this operation
|
|
5399
|
+
# for that bucket and must use [UntagResource][2] instead.
|
|
5400
|
+
#
|
|
5401
|
+
# if ABAC is not enabled for the bucket. When you [enable ABAC for a
|
|
5402
|
+
# general purpose bucket][1], you can no longer use this operation for
|
|
5403
|
+
# that bucket and must use [UntagResource][2] instead.
|
|
5409
5404
|
#
|
|
5410
5405
|
# To use this operation, you must have permission to perform the
|
|
5411
5406
|
# `s3:PutBucketTagging` action. By default, the bucket owner has this
|
|
@@ -5413,9 +5408,9 @@ module Aws::S3
|
|
|
5413
5408
|
#
|
|
5414
5409
|
# The following operations are related to `DeleteBucketTagging`:
|
|
5415
5410
|
#
|
|
5416
|
-
# * [GetBucketTagging][
|
|
5411
|
+
# * [GetBucketTagging][3]
|
|
5417
5412
|
#
|
|
5418
|
-
# * [PutBucketTagging][
|
|
5413
|
+
# * [PutBucketTagging][4]
|
|
5419
5414
|
#
|
|
5420
5415
|
# You must URL encode any signed header values that contain spaces. For
|
|
5421
5416
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -5423,8 +5418,10 @@ module Aws::S3
|
|
|
5423
5418
|
#
|
|
5424
5419
|
#
|
|
5425
5420
|
#
|
|
5426
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
5427
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
5421
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html
|
|
5422
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html
|
|
5423
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
|
|
5424
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
|
5428
5425
|
#
|
|
5429
5426
|
# @option params [required, String] :bucket
|
|
5430
5427
|
# The bucket that has the tag set to be removed.
|
|
@@ -5613,6 +5610,12 @@ module Aws::S3
|
|
|
5613
5610
|
# * <b> <code>s3:DeleteObjectVersion</code> </b> - To delete a
|
|
5614
5611
|
# specific version of an object from a versioning-enabled bucket,
|
|
5615
5612
|
# you must have the `s3:DeleteObjectVersion` permission.
|
|
5613
|
+
#
|
|
5614
|
+
# <note markdown="1"> If the `s3:DeleteObject` or `s3:DeleteObjectVersion` permissions
|
|
5615
|
+
# are explicitly denied in your bucket policy, attempts to delete
|
|
5616
|
+
# any unversioned objects result in a `403 Access Denied` error.
|
|
5617
|
+
#
|
|
5618
|
+
# </note>
|
|
5616
5619
|
# * **Directory bucket permissions** - To grant access to this API
|
|
5617
5620
|
# operation on a directory bucket, we recommend that you use the [
|
|
5618
5621
|
# `CreateSession` ][8] API operation for session-based
|
|
@@ -6052,6 +6055,12 @@ module Aws::S3
|
|
|
6052
6055
|
# * <b> <code>s3:DeleteObjectVersion</code> </b> - To delete a
|
|
6053
6056
|
# specific version of an object from a versioning-enabled bucket,
|
|
6054
6057
|
# you must specify the `s3:DeleteObjectVersion` permission.
|
|
6058
|
+
#
|
|
6059
|
+
# <note markdown="1"> If the `s3:DeleteObject` or `s3:DeleteObjectVersion` permissions
|
|
6060
|
+
# are explicitly denied in your bucket policy, attempts to delete
|
|
6061
|
+
# any unversioned objects result in a `403 Access Denied` error.
|
|
6062
|
+
#
|
|
6063
|
+
# </note>
|
|
6055
6064
|
# * **Directory bucket permissions** - To grant access to this API
|
|
6056
6065
|
# operation on a directory bucket, we recommend that you use the [
|
|
6057
6066
|
# `CreateSession` ][4] API operation for session-based
|
|
@@ -6380,7 +6389,10 @@ module Aws::S3
|
|
|
6380
6389
|
# </note>
|
|
6381
6390
|
#
|
|
6382
6391
|
# Removes the `PublicAccessBlock` configuration for an Amazon S3 bucket.
|
|
6383
|
-
#
|
|
6392
|
+
# This operation removes the bucket-level configuration only. The
|
|
6393
|
+
# effective public access behavior will still be governed by
|
|
6394
|
+
# account-level settings (which may inherit from organization-level
|
|
6395
|
+
# policies). To use this operation, you must have the
|
|
6384
6396
|
# `s3:PutBucketPublicAccessBlock` permission. For more information about
|
|
6385
6397
|
# permissions, see [Permissions Related to Bucket Subresource
|
|
6386
6398
|
# Operations][1] and [Managing Access Permissions to Your Amazon S3
|
|
@@ -6436,6 +6448,46 @@ module Aws::S3
|
|
|
6436
6448
|
req.send_request(options)
|
|
6437
6449
|
end
|
|
6438
6450
|
|
|
6451
|
+
# Returns the attribute-based access control (ABAC) property of the
|
|
6452
|
+
# general purpose bucket. If ABAC is enabled on your bucket, you can use
|
|
6453
|
+
# tags on the bucket for access control. For more information, see
|
|
6454
|
+
# [Enabling ABAC in general purpose buckets][1].
|
|
6455
|
+
#
|
|
6456
|
+
#
|
|
6457
|
+
#
|
|
6458
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html
|
|
6459
|
+
#
|
|
6460
|
+
# @option params [required, String] :bucket
|
|
6461
|
+
# The name of the general purpose bucket.
|
|
6462
|
+
#
|
|
6463
|
+
# @option params [String] :expected_bucket_owner
|
|
6464
|
+
# The Amazon Web Services account ID of the general purpose bucket's
|
|
6465
|
+
# owner.
|
|
6466
|
+
#
|
|
6467
|
+
# @return [Types::GetBucketAbacOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6468
|
+
#
|
|
6469
|
+
# * {Types::GetBucketAbacOutput#abac_status #abac_status} => Types::AbacStatus
|
|
6470
|
+
#
|
|
6471
|
+
# @example Request syntax with placeholder values
|
|
6472
|
+
#
|
|
6473
|
+
# resp = client.get_bucket_abac({
|
|
6474
|
+
# bucket: "BucketName", # required
|
|
6475
|
+
# expected_bucket_owner: "AccountId",
|
|
6476
|
+
# })
|
|
6477
|
+
#
|
|
6478
|
+
# @example Response structure
|
|
6479
|
+
#
|
|
6480
|
+
# resp.abac_status.status #=> String, one of "Enabled", "Disabled"
|
|
6481
|
+
#
|
|
6482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAbac AWS API Documentation
|
|
6483
|
+
#
|
|
6484
|
+
# @overload get_bucket_abac(params = {})
|
|
6485
|
+
# @param [Hash] params ({})
|
|
6486
|
+
def get_bucket_abac(params = {}, options = {})
|
|
6487
|
+
req = build_request(:get_bucket_abac, params)
|
|
6488
|
+
req.send_request(options)
|
|
6489
|
+
end
|
|
6490
|
+
|
|
6439
6491
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
6440
6492
|
#
|
|
6441
6493
|
# </note>
|
|
@@ -6536,19 +6588,6 @@ module Aws::S3
|
|
|
6536
6588
|
req.send_request(options)
|
|
6537
6589
|
end
|
|
6538
6590
|
|
|
6539
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
6540
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
6541
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
6542
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
6543
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
6544
|
-
#
|
|
6545
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
6546
|
-
# East
|
|
6547
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
6548
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
6549
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
6550
|
-
# America (São Paulo) Region.
|
|
6551
|
-
#
|
|
6552
6591
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
6553
6592
|
#
|
|
6554
6593
|
# </note>
|
|
@@ -6865,17 +6904,19 @@ module Aws::S3
|
|
|
6865
6904
|
|
|
6866
6905
|
# Returns the default encryption configuration for an Amazon S3 bucket.
|
|
6867
6906
|
# By default, all buckets have a default encryption configuration that
|
|
6868
|
-
# uses server-side encryption with Amazon S3 managed keys (SSE-S3).
|
|
6907
|
+
# uses server-side encryption with Amazon S3 managed keys (SSE-S3). This
|
|
6908
|
+
# operation also returns the [BucketKeyEnabled][1] and
|
|
6909
|
+
# [BlockedEncryptionTypes][2] statuses.
|
|
6869
6910
|
#
|
|
6870
6911
|
# <note markdown="1"> * **General purpose buckets** - For information about the bucket
|
|
6871
6912
|
# default encryption feature, see [Amazon S3 Bucket Default
|
|
6872
|
-
# Encryption][
|
|
6913
|
+
# Encryption][3] in the *Amazon S3 User Guide*.
|
|
6873
6914
|
#
|
|
6874
6915
|
# * **Directory buckets** - For directory buckets, there are only two
|
|
6875
6916
|
# supported options for server-side encryption: SSE-S3 and SSE-KMS.
|
|
6876
6917
|
# For information about the default encryption configuration in
|
|
6877
6918
|
# directory buckets, see [Setting default server-side encryption
|
|
6878
|
-
# behavior for directory buckets][
|
|
6919
|
+
# behavior for directory buckets][4].
|
|
6879
6920
|
#
|
|
6880
6921
|
# </note>
|
|
6881
6922
|
#
|
|
@@ -6885,8 +6926,8 @@ module Aws::S3
|
|
|
6885
6926
|
# policy. The bucket owner has this permission by default. The
|
|
6886
6927
|
# bucket owner can grant this permission to others. For more
|
|
6887
6928
|
# information about permissions, see [Permissions Related to Bucket
|
|
6888
|
-
# Operations][
|
|
6889
|
-
# Resources][
|
|
6929
|
+
# Operations][5] and [Managing Access Permissions to Your Amazon S3
|
|
6930
|
+
# Resources][6].
|
|
6890
6931
|
#
|
|
6891
6932
|
# * **Directory bucket permissions** - To grant access to this API
|
|
6892
6933
|
# operation, you must have the
|
|
@@ -6896,7 +6937,7 @@ module Aws::S3
|
|
|
6896
6937
|
# only be performed by the Amazon Web Services account that owns the
|
|
6897
6938
|
# resource. For more information about directory bucket policies and
|
|
6898
6939
|
# permissions, see [Amazon Web Services Identity and Access
|
|
6899
|
-
# Management (IAM) for S3 Express One Zone][
|
|
6940
|
+
# Management (IAM) for S3 Express One Zone][7] in the *Amazon S3
|
|
6900
6941
|
# User Guide*.
|
|
6901
6942
|
#
|
|
6902
6943
|
# HTTP Host header syntax
|
|
@@ -6906,9 +6947,9 @@ module Aws::S3
|
|
|
6906
6947
|
#
|
|
6907
6948
|
# The following operations are related to `GetBucketEncryption`:
|
|
6908
6949
|
#
|
|
6909
|
-
# * [PutBucketEncryption][
|
|
6950
|
+
# * [PutBucketEncryption][8]
|
|
6910
6951
|
#
|
|
6911
|
-
# * [DeleteBucketEncryption][
|
|
6952
|
+
# * [DeleteBucketEncryption][9]
|
|
6912
6953
|
#
|
|
6913
6954
|
# You must URL encode any signed header values that contain spaces. For
|
|
6914
6955
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -6916,13 +6957,15 @@ module Aws::S3
|
|
|
6916
6957
|
#
|
|
6917
6958
|
#
|
|
6918
6959
|
#
|
|
6919
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
6920
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
6921
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
6922
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
6923
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
6924
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
6925
|
-
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
6960
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ServerSideEncryptionRule.html#AmazonS3-Type-ServerSideEncryptionRule-BucketKeyEnabled
|
|
6961
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ServerSideEncryptionRule.html#AmazonS3-Type-ServerSideEncryptionRule-BlockedEncryptionTypes
|
|
6962
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
|
|
6963
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html
|
|
6964
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
|
6965
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
|
6966
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
|
6967
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
|
|
6968
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
|
|
6926
6969
|
#
|
|
6927
6970
|
# @option params [required, String] :bucket
|
|
6928
6971
|
# The name of the bucket from which the server-side encryption
|
|
@@ -6971,6 +7014,8 @@ module Aws::S3
|
|
|
6971
7014
|
# resp.server_side_encryption_configuration.rules[0].apply_server_side_encryption_by_default.sse_algorithm #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
6972
7015
|
# resp.server_side_encryption_configuration.rules[0].apply_server_side_encryption_by_default.kms_master_key_id #=> String
|
|
6973
7016
|
# resp.server_side_encryption_configuration.rules[0].bucket_key_enabled #=> Boolean
|
|
7017
|
+
# resp.server_side_encryption_configuration.rules[0].blocked_encryption_types.encryption_type #=> Array
|
|
7018
|
+
# resp.server_side_encryption_configuration.rules[0].blocked_encryption_types.encryption_type[0] #=> String, one of "NONE", "SSE-C"
|
|
6974
7019
|
#
|
|
6975
7020
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption AWS API Documentation
|
|
6976
7021
|
#
|
|
@@ -7585,19 +7630,6 @@ module Aws::S3
|
|
|
7585
7630
|
req.send_request(options)
|
|
7586
7631
|
end
|
|
7587
7632
|
|
|
7588
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
7589
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
7590
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
7591
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
7592
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
7593
|
-
#
|
|
7594
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
7595
|
-
# East
|
|
7596
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
7597
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
7598
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
7599
|
-
# America (São Paulo) Region.
|
|
7600
|
-
#
|
|
7601
7633
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
7602
7634
|
#
|
|
7603
7635
|
# </note>
|
|
@@ -8411,7 +8443,7 @@ module Aws::S3
|
|
|
8411
8443
|
#
|
|
8412
8444
|
# resp.to_h outputs the following:
|
|
8413
8445
|
# {
|
|
8414
|
-
# policy: "{\"Version\":\"2008-10-17\"
|
|
8446
|
+
# policy: "{\"Version\":\"2008-10-17\",&TCX5-2025-waiver;\"Id\":\"LogPolicy\",\"Statement\":[{\"Sid\":\"Enables the log delivery group to publish logs to your bucket \",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"111122223333\"},\"Action\":[\"s3:GetBucketAcl\",\"s3:GetObjectAcl\",\"s3:PutObject\"],\"Resource\":[\"arn:aws:s3:::policytest1/*\",\"arn:aws:s3:::policytest1\"]}]}",
|
|
8415
8447
|
# }
|
|
8416
8448
|
#
|
|
8417
8449
|
# @example Request syntax with placeholder values
|
|
@@ -8612,7 +8644,7 @@ module Aws::S3
|
|
|
8612
8644
|
# resp.replication_configuration.rules[0].existing_object_replication.status #=> String, one of "Enabled", "Disabled"
|
|
8613
8645
|
# resp.replication_configuration.rules[0].destination.bucket #=> String
|
|
8614
8646
|
# resp.replication_configuration.rules[0].destination.account #=> String
|
|
8615
|
-
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
8647
|
+
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
8616
8648
|
# resp.replication_configuration.rules[0].destination.access_control_translation.owner #=> String, one of "Destination"
|
|
8617
8649
|
# resp.replication_configuration.rules[0].destination.encryption_configuration.replica_kms_key_id #=> String
|
|
8618
8650
|
# resp.replication_configuration.rules[0].destination.replication_time.status #=> String, one of "Enabled", "Disabled"
|
|
@@ -8704,7 +8736,11 @@ module Aws::S3
|
|
|
8704
8736
|
#
|
|
8705
8737
|
# </note>
|
|
8706
8738
|
#
|
|
8707
|
-
# Returns the tag set associated with the bucket.
|
|
8739
|
+
# Returns the tag set associated with the general purpose bucket.
|
|
8740
|
+
#
|
|
8741
|
+
# if ABAC is not enabled for the bucket. When you [enable ABAC for a
|
|
8742
|
+
# general purpose bucket][1], you can no longer use this operation for
|
|
8743
|
+
# that bucket and must use [ListTagsForResource][2] instead.
|
|
8708
8744
|
#
|
|
8709
8745
|
# To use this operation, you must have permission to perform the
|
|
8710
8746
|
# `s3:GetBucketTagging` action. By default, the bucket owner has this
|
|
@@ -8720,9 +8756,9 @@ module Aws::S3
|
|
|
8720
8756
|
#
|
|
8721
8757
|
# The following operations are related to `GetBucketTagging`:
|
|
8722
8758
|
#
|
|
8723
|
-
# * [PutBucketTagging][
|
|
8759
|
+
# * [PutBucketTagging][3]
|
|
8724
8760
|
#
|
|
8725
|
-
# * [DeleteBucketTagging][
|
|
8761
|
+
# * [DeleteBucketTagging][4]
|
|
8726
8762
|
#
|
|
8727
8763
|
# You must URL encode any signed header values that contain spaces. For
|
|
8728
8764
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -8730,8 +8766,10 @@ module Aws::S3
|
|
|
8730
8766
|
#
|
|
8731
8767
|
#
|
|
8732
8768
|
#
|
|
8733
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
8734
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
8769
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html
|
|
8770
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListTagsForResource.html
|
|
8771
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
|
8772
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
|
8735
8773
|
#
|
|
8736
8774
|
# @option params [required, String] :bucket
|
|
8737
8775
|
# The name of the bucket for which to get the tagging information.
|
|
@@ -9621,7 +9659,7 @@ module Aws::S3
|
|
|
9621
9659
|
# resp.sse_customer_key_md5 #=> String
|
|
9622
9660
|
# resp.ssekms_key_id #=> String
|
|
9623
9661
|
# resp.bucket_key_enabled #=> Boolean
|
|
9624
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
9662
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
9625
9663
|
# resp.request_charged #=> String, one of "requester"
|
|
9626
9664
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
|
|
9627
9665
|
# resp.parts_count #=> Integer
|
|
@@ -9639,19 +9677,6 @@ module Aws::S3
|
|
|
9639
9677
|
req.send_request(options, &block)
|
|
9640
9678
|
end
|
|
9641
9679
|
|
|
9642
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
9643
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
9644
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
9645
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
9646
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
9647
|
-
#
|
|
9648
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
9649
|
-
# East
|
|
9650
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
9651
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
9652
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
9653
|
-
# America (São Paulo) Region.
|
|
9654
|
-
#
|
|
9655
9680
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
9656
9681
|
#
|
|
9657
9682
|
# </note>
|
|
@@ -10221,7 +10246,7 @@ module Aws::S3
|
|
|
10221
10246
|
# resp.object_parts.parts[0].checksum_crc64nvme #=> String
|
|
10222
10247
|
# resp.object_parts.parts[0].checksum_sha1 #=> String
|
|
10223
10248
|
# resp.object_parts.parts[0].checksum_sha256 #=> String
|
|
10224
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
10249
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
10225
10250
|
# resp.object_size #=> Integer
|
|
10226
10251
|
#
|
|
10227
10252
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributes AWS API Documentation
|
|
@@ -10799,17 +10824,21 @@ module Aws::S3
|
|
|
10799
10824
|
# </note>
|
|
10800
10825
|
#
|
|
10801
10826
|
# Retrieves the `PublicAccessBlock` configuration for an Amazon S3
|
|
10802
|
-
# bucket.
|
|
10827
|
+
# bucket. This operation returns the bucket-level configuration only. To
|
|
10828
|
+
# understand the effective public access behavior, you must also
|
|
10829
|
+
# consider account-level settings (which may inherit from
|
|
10830
|
+
# organization-level policies). To use this operation, you must have the
|
|
10803
10831
|
# `s3:GetBucketPublicAccessBlock` permission. For more information about
|
|
10804
10832
|
# Amazon S3 permissions, see [Specifying Permissions in a Policy][1].
|
|
10805
10833
|
#
|
|
10806
10834
|
# When Amazon S3 evaluates the `PublicAccessBlock` configuration for a
|
|
10807
10835
|
# bucket or an object, it checks the `PublicAccessBlock` configuration
|
|
10808
10836
|
# for both the bucket (or the bucket that contains the object) and the
|
|
10809
|
-
# bucket owner's account.
|
|
10810
|
-
#
|
|
10811
|
-
#
|
|
10812
|
-
#
|
|
10837
|
+
# bucket owner's account. Account-level settings automatically inherit
|
|
10838
|
+
# from organization-level policies when present. If the
|
|
10839
|
+
# `PublicAccessBlock` settings are different between the bucket and the
|
|
10840
|
+
# account, Amazon S3 uses the most restrictive combination of the
|
|
10841
|
+
# bucket-level and account-level settings.
|
|
10813
10842
|
#
|
|
10814
10843
|
# For more information about when Amazon S3 considers a bucket or an
|
|
10815
10844
|
# object public, see [The Meaning of "Public"][2].
|
|
@@ -11583,7 +11612,7 @@ module Aws::S3
|
|
|
11583
11612
|
# resp.sse_customer_key_md5 #=> String
|
|
11584
11613
|
# resp.ssekms_key_id #=> String
|
|
11585
11614
|
# resp.bucket_key_enabled #=> Boolean
|
|
11586
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
11615
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
11587
11616
|
# resp.request_charged #=> String, one of "requester"
|
|
11588
11617
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
|
|
11589
11618
|
# resp.parts_count #=> Integer
|
|
@@ -12026,19 +12055,6 @@ module Aws::S3
|
|
|
12026
12055
|
req.send_request(options)
|
|
12027
12056
|
end
|
|
12028
12057
|
|
|
12029
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
12030
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
12031
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
12032
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
12033
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
12034
|
-
#
|
|
12035
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
12036
|
-
# East
|
|
12037
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
12038
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
12039
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
12040
|
-
# America (São Paulo) Region.
|
|
12041
|
-
#
|
|
12042
12058
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
12043
12059
|
#
|
|
12044
12060
|
# </note>
|
|
@@ -12275,19 +12291,6 @@ module Aws::S3
|
|
|
12275
12291
|
req.send_request(options)
|
|
12276
12292
|
end
|
|
12277
12293
|
|
|
12278
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
12279
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
12280
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
12281
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
12282
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
12283
|
-
#
|
|
12284
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
12285
|
-
# East
|
|
12286
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
12287
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
12288
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
12289
|
-
# America (São Paulo) Region.
|
|
12290
|
-
#
|
|
12291
12294
|
# This operation lists in-progress multipart uploads in a bucket. An
|
|
12292
12295
|
# in-progress multipart upload is a multipart upload that has been
|
|
12293
12296
|
# initiated by the `CreateMultipartUpload` request, but has not yet been
|
|
@@ -12720,7 +12723,7 @@ module Aws::S3
|
|
|
12720
12723
|
# resp.uploads[0].upload_id #=> String
|
|
12721
12724
|
# resp.uploads[0].key #=> String
|
|
12722
12725
|
# resp.uploads[0].initiated #=> Time
|
|
12723
|
-
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
12726
|
+
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
12724
12727
|
# resp.uploads[0].owner.display_name #=> String
|
|
12725
12728
|
# resp.uploads[0].owner.id #=> String
|
|
12726
12729
|
# resp.uploads[0].initiator.id #=> String
|
|
@@ -12741,19 +12744,6 @@ module Aws::S3
|
|
|
12741
12744
|
req.send_request(options)
|
|
12742
12745
|
end
|
|
12743
12746
|
|
|
12744
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
12745
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
12746
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
12747
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
12748
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
12749
|
-
#
|
|
12750
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
12751
|
-
# East
|
|
12752
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
12753
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
12754
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
12755
|
-
# America (São Paulo) Region.
|
|
12756
|
-
#
|
|
12757
12747
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
12758
12748
|
#
|
|
12759
12749
|
# </note>
|
|
@@ -13001,19 +12991,6 @@ module Aws::S3
|
|
|
13001
12991
|
req.send_request(options)
|
|
13002
12992
|
end
|
|
13003
12993
|
|
|
13004
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
13005
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
13006
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
13007
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
13008
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
13009
|
-
#
|
|
13010
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
13011
|
-
# East
|
|
13012
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
13013
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
13014
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
13015
|
-
# America (São Paulo) Region.
|
|
13016
|
-
#
|
|
13017
12994
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
13018
12995
|
#
|
|
13019
12996
|
# </note>
|
|
@@ -13234,7 +13211,7 @@ module Aws::S3
|
|
|
13234
13211
|
# resp.contents[0].checksum_algorithm[0] #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME"
|
|
13235
13212
|
# resp.contents[0].checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
13236
13213
|
# resp.contents[0].size #=> Integer
|
|
13237
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
13214
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
13238
13215
|
# resp.contents[0].owner.display_name #=> String
|
|
13239
13216
|
# resp.contents[0].owner.id #=> String
|
|
13240
13217
|
# resp.contents[0].restore_status.is_restore_in_progress #=> Boolean
|
|
@@ -13257,19 +13234,6 @@ module Aws::S3
|
|
|
13257
13234
|
req.send_request(options)
|
|
13258
13235
|
end
|
|
13259
13236
|
|
|
13260
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
13261
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
13262
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
13263
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
13264
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
13265
|
-
#
|
|
13266
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
13267
|
-
# East
|
|
13268
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
13269
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
13270
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
13271
|
-
# America (São Paulo) Region.
|
|
13272
|
-
#
|
|
13273
13237
|
# Returns some or all (up to 1,000) of the objects in a bucket with each
|
|
13274
13238
|
# request. You can use the request parameters as selection criteria to
|
|
13275
13239
|
# return a subset of the objects in a bucket. A `200 OK` response can
|
|
@@ -13597,7 +13561,7 @@ module Aws::S3
|
|
|
13597
13561
|
# resp.contents[0].checksum_algorithm[0] #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME"
|
|
13598
13562
|
# resp.contents[0].checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
13599
13563
|
# resp.contents[0].size #=> Integer
|
|
13600
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
13564
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
13601
13565
|
# resp.contents[0].owner.display_name #=> String
|
|
13602
13566
|
# resp.contents[0].owner.id #=> String
|
|
13603
13567
|
# resp.contents[0].restore_status.is_restore_in_progress #=> Boolean
|
|
@@ -13624,19 +13588,6 @@ module Aws::S3
|
|
|
13624
13588
|
req.send_request(options)
|
|
13625
13589
|
end
|
|
13626
13590
|
|
|
13627
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
13628
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
13629
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
13630
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
13631
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
13632
|
-
#
|
|
13633
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
13634
|
-
# East
|
|
13635
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
13636
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
13637
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
13638
|
-
# America (São Paulo) Region.
|
|
13639
|
-
#
|
|
13640
13591
|
# Lists the parts that have been uploaded for a specific multipart
|
|
13641
13592
|
# upload.
|
|
13642
13593
|
#
|
|
@@ -13956,7 +13907,7 @@ module Aws::S3
|
|
|
13956
13907
|
# resp.initiator.display_name #=> String
|
|
13957
13908
|
# resp.owner.display_name #=> String
|
|
13958
13909
|
# resp.owner.id #=> String
|
|
13959
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS"
|
|
13910
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
13960
13911
|
# resp.request_charged #=> String, one of "requester"
|
|
13961
13912
|
# resp.checksum_algorithm #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME"
|
|
13962
13913
|
# resp.checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
@@ -13970,6 +13921,81 @@ module Aws::S3
|
|
|
13970
13921
|
req.send_request(options)
|
|
13971
13922
|
end
|
|
13972
13923
|
|
|
13924
|
+
# Sets the attribute-based access control (ABAC) property of the general
|
|
13925
|
+
# purpose bucket. You must have `s3:PutBucketABAC` permission to perform
|
|
13926
|
+
# this action. When you enable ABAC, you can use tags for access control
|
|
13927
|
+
# on your buckets. Additionally, when ABAC is enabled, you must use the
|
|
13928
|
+
# [TagResource][1] and [UntagResource][2] actions to manage tags on your
|
|
13929
|
+
# buckets. You can nolonger use the [PutBucketTagging][3] and
|
|
13930
|
+
# [DeleteBucketTagging][4] actions to tag your bucket. For more
|
|
13931
|
+
# information, see [Enabling ABAC in general purpose buckets][5].
|
|
13932
|
+
#
|
|
13933
|
+
#
|
|
13934
|
+
#
|
|
13935
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_TagResource.html
|
|
13936
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html
|
|
13937
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
|
13938
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
|
13939
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html
|
|
13940
|
+
#
|
|
13941
|
+
# @option params [required, String] :bucket
|
|
13942
|
+
# The name of the general purpose bucket.
|
|
13943
|
+
#
|
|
13944
|
+
# @option params [String] :content_md5
|
|
13945
|
+
# The MD5 hash of the `PutBucketAbac` request body.
|
|
13946
|
+
#
|
|
13947
|
+
# For requests made using the Amazon Web Services Command Line Interface
|
|
13948
|
+
# (CLI) or Amazon Web Services SDKs, this field is calculated
|
|
13949
|
+
# automatically.
|
|
13950
|
+
#
|
|
13951
|
+
# @option params [String] :checksum_algorithm
|
|
13952
|
+
# Indicates the algorithm that you want Amazon S3 to use to create the
|
|
13953
|
+
# checksum. For more information, see [ Checking object integrity][1] in
|
|
13954
|
+
# the *Amazon S3 User Guide*.
|
|
13955
|
+
#
|
|
13956
|
+
#
|
|
13957
|
+
#
|
|
13958
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
|
13959
|
+
#
|
|
13960
|
+
# @option params [String] :expected_bucket_owner
|
|
13961
|
+
# The Amazon Web Services account ID of the general purpose bucket's
|
|
13962
|
+
# owner.
|
|
13963
|
+
#
|
|
13964
|
+
# @option params [required, Types::AbacStatus] :abac_status
|
|
13965
|
+
# The ABAC status of the general purpose bucket. When ABAC is enabled
|
|
13966
|
+
# for the general purpose bucket, you can use tags to manage access to
|
|
13967
|
+
# the general purpose buckets as well as for cost tracking purposes.
|
|
13968
|
+
# When ABAC is disabled for the general purpose buckets, you can only
|
|
13969
|
+
# use tags for cost tracking purposes. For more information, see [Using
|
|
13970
|
+
# tags with S3 general purpose buckets][1].
|
|
13971
|
+
#
|
|
13972
|
+
#
|
|
13973
|
+
#
|
|
13974
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html
|
|
13975
|
+
#
|
|
13976
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
13977
|
+
#
|
|
13978
|
+
# @example Request syntax with placeholder values
|
|
13979
|
+
#
|
|
13980
|
+
# resp = client.put_bucket_abac({
|
|
13981
|
+
# bucket: "BucketName", # required
|
|
13982
|
+
# content_md5: "ContentMD5",
|
|
13983
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
|
13984
|
+
# expected_bucket_owner: "AccountId",
|
|
13985
|
+
# abac_status: { # required
|
|
13986
|
+
# status: "Enabled", # accepts Enabled, Disabled
|
|
13987
|
+
# },
|
|
13988
|
+
# })
|
|
13989
|
+
#
|
|
13990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAbac AWS API Documentation
|
|
13991
|
+
#
|
|
13992
|
+
# @overload put_bucket_abac(params = {})
|
|
13993
|
+
# @param [Hash] params ({})
|
|
13994
|
+
def put_bucket_abac(params = {}, options = {})
|
|
13995
|
+
req = build_request(:put_bucket_abac, params)
|
|
13996
|
+
req.send_request(options)
|
|
13997
|
+
end
|
|
13998
|
+
|
|
13973
13999
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
13974
14000
|
#
|
|
13975
14001
|
# </note>
|
|
@@ -14712,7 +14738,8 @@ module Aws::S3
|
|
|
14712
14738
|
end
|
|
14713
14739
|
|
|
14714
14740
|
# This operation configures default encryption and Amazon S3 Bucket Keys
|
|
14715
|
-
# for an existing bucket.
|
|
14741
|
+
# for an existing bucket. You can also [block encryption types][1] using
|
|
14742
|
+
# this operation.
|
|
14716
14743
|
#
|
|
14717
14744
|
# <note markdown="1"> <b>Directory buckets </b> - For directory buckets, you must make
|
|
14718
14745
|
# requests for this API operation to the Regional endpoint. These
|
|
@@ -14720,9 +14747,9 @@ module Aws::S3
|
|
|
14720
14747
|
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
14721
14748
|
# Virtual-hosted-style requests aren't supported. For more information
|
|
14722
14749
|
# about endpoints in Availability Zones, see [Regional and Zonal
|
|
14723
|
-
# endpoints for directory buckets in Availability Zones][
|
|
14750
|
+
# endpoints for directory buckets in Availability Zones][2] in the
|
|
14724
14751
|
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
|
14725
|
-
# Zones, see [Concepts for directory buckets in Local Zones][
|
|
14752
|
+
# Zones, see [Concepts for directory buckets in Local Zones][3] in the
|
|
14726
14753
|
# *Amazon S3 User Guide*.
|
|
14727
14754
|
#
|
|
14728
14755
|
# </note>
|
|
@@ -14737,12 +14764,12 @@ module Aws::S3
|
|
|
14737
14764
|
# keys (SSE-KMS) or dual-layer server-side encryption with Amazon
|
|
14738
14765
|
# Web Services KMS keys (DSSE-KMS). If you specify default
|
|
14739
14766
|
# encryption by using SSE-KMS, you can also configure [Amazon S3
|
|
14740
|
-
# Bucket Keys][
|
|
14741
|
-
# encryption feature, see [Amazon S3 Bucket Default Encryption][
|
|
14767
|
+
# Bucket Keys][4]. For information about the bucket default
|
|
14768
|
+
# encryption feature, see [Amazon S3 Bucket Default Encryption][5]
|
|
14742
14769
|
# in the *Amazon S3 User Guide*.
|
|
14743
14770
|
#
|
|
14744
14771
|
# * If you use PutBucketEncryption to set your [default bucket
|
|
14745
|
-
# encryption][
|
|
14772
|
+
# encryption][5] to SSE-KMS, you should verify that your KMS key ID
|
|
14746
14773
|
# is correct. Amazon S3 doesn't validate the KMS key ID provided in
|
|
14747
14774
|
# PutBucketEncryption requests.
|
|
14748
14775
|
# * <b>Directory buckets </b> - You can optionally configure default
|
|
@@ -14756,28 +14783,28 @@ module Aws::S3
|
|
|
14756
14783
|
# encrypted with the desired encryption settings. For more
|
|
14757
14784
|
# information about the encryption overriding behaviors in directory
|
|
14758
14785
|
# buckets, see [Specifying server-side encryption with KMS for new
|
|
14759
|
-
# object uploads][
|
|
14786
|
+
# object uploads][6].
|
|
14760
14787
|
#
|
|
14761
14788
|
# * Your SSE-KMS configuration can only support 1 [customer managed
|
|
14762
|
-
# key][
|
|
14763
|
-
# managed key][
|
|
14789
|
+
# key][7] per directory bucket's lifetime. The [Amazon Web Services
|
|
14790
|
+
# managed key][8] (`aws/s3`) isn't supported.
|
|
14764
14791
|
#
|
|
14765
14792
|
# * S3 Bucket Keys are always enabled for `GET` and `PUT` operations
|
|
14766
14793
|
# in a directory bucket and can’t be disabled. S3 Bucket Keys
|
|
14767
14794
|
# aren't supported, when you copy SSE-KMS encrypted objects from
|
|
14768
14795
|
# general purpose buckets to directory buckets, from directory
|
|
14769
14796
|
# buckets to general purpose buckets, or between directory buckets,
|
|
14770
|
-
# through [CopyObject][
|
|
14771
|
-
# in Batch Operations][
|
|
14797
|
+
# through [CopyObject][9], [UploadPartCopy][10], [the Copy operation
|
|
14798
|
+
# in Batch Operations][11], or [the import jobs][12]. In this case,
|
|
14772
14799
|
# Amazon S3 makes a call to KMS every time a copy request is made
|
|
14773
14800
|
# for a KMS-encrypted object.
|
|
14774
14801
|
#
|
|
14775
|
-
# * When you specify an [KMS customer managed key][
|
|
14802
|
+
# * When you specify an [KMS customer managed key][7] for encryption
|
|
14776
14803
|
# in your directory bucket, only use the key ID or key ARN. The key
|
|
14777
14804
|
# alias format of the KMS key isn't supported.
|
|
14778
14805
|
#
|
|
14779
14806
|
# * For directory buckets, if you use PutBucketEncryption to set your
|
|
14780
|
-
# [default bucket encryption][
|
|
14807
|
+
# [default bucket encryption][5] to SSE-KMS, Amazon S3 validates the
|
|
14781
14808
|
# KMS key ID provided in PutBucketEncryption requests.
|
|
14782
14809
|
#
|
|
14783
14810
|
# </note>
|
|
@@ -14790,7 +14817,7 @@ module Aws::S3
|
|
|
14790
14817
|
#
|
|
14791
14818
|
# Also, this action requires Amazon Web Services Signature Version 4.
|
|
14792
14819
|
# For more information, see [ Authenticating Requests (Amazon Web
|
|
14793
|
-
# Services Signature Version 4)][
|
|
14820
|
+
# Services Signature Version 4)][13].
|
|
14794
14821
|
#
|
|
14795
14822
|
# Permissions
|
|
14796
14823
|
# : * **General purpose bucket permissions** - The
|
|
@@ -14798,8 +14825,8 @@ module Aws::S3
|
|
|
14798
14825
|
# policy. The bucket owner has this permission by default. The
|
|
14799
14826
|
# bucket owner can grant this permission to others. For more
|
|
14800
14827
|
# information about permissions, see [Permissions Related to Bucket
|
|
14801
|
-
# Operations][
|
|
14802
|
-
# Resources][
|
|
14828
|
+
# Operations][14] and [Managing Access Permissions to Your Amazon S3
|
|
14829
|
+
# Resources][15] in the *Amazon S3 User Guide*.
|
|
14803
14830
|
#
|
|
14804
14831
|
# * **Directory bucket permissions** - To grant access to this API
|
|
14805
14832
|
# operation, you must have the
|
|
@@ -14809,7 +14836,7 @@ module Aws::S3
|
|
|
14809
14836
|
# only be performed by the Amazon Web Services account that owns the
|
|
14810
14837
|
# resource. For more information about directory bucket policies and
|
|
14811
14838
|
# permissions, see [Amazon Web Services Identity and Access
|
|
14812
|
-
# Management (IAM) for S3 Express One Zone][
|
|
14839
|
+
# Management (IAM) for S3 Express One Zone][16] in the *Amazon S3
|
|
14813
14840
|
# User Guide*.
|
|
14814
14841
|
#
|
|
14815
14842
|
# To set a directory bucket default encryption with SSE-KMS, you
|
|
@@ -14824,9 +14851,9 @@ module Aws::S3
|
|
|
14824
14851
|
#
|
|
14825
14852
|
# The following operations are related to `PutBucketEncryption`:
|
|
14826
14853
|
#
|
|
14827
|
-
# * [GetBucketEncryption][
|
|
14854
|
+
# * [GetBucketEncryption][17]
|
|
14828
14855
|
#
|
|
14829
|
-
# * [DeleteBucketEncryption][
|
|
14856
|
+
# * [DeleteBucketEncryption][18]
|
|
14830
14857
|
#
|
|
14831
14858
|
# You must URL encode any signed header values that contain spaces. For
|
|
14832
14859
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -14834,23 +14861,24 @@ module Aws::S3
|
|
|
14834
14861
|
#
|
|
14835
14862
|
#
|
|
14836
14863
|
#
|
|
14837
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14838
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
14839
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14840
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-
|
|
14841
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14842
|
-
# [6]: https://docs.aws.amazon.com/
|
|
14843
|
-
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#
|
|
14844
|
-
# [8]: https://docs.aws.amazon.com/
|
|
14845
|
-
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
14846
|
-
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14847
|
-
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
14848
|
-
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14849
|
-
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14850
|
-
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
14851
|
-
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
14852
|
-
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14853
|
-
# [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
14864
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_BlockedEncryptionTypes.html
|
|
14865
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
|
14866
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
|
14867
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
|
|
14868
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
|
|
14869
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
|
|
14870
|
+
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
|
|
14871
|
+
# [8]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
|
|
14872
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
|
14873
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
|
|
14874
|
+
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
|
|
14875
|
+
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
|
|
14876
|
+
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
|
14877
|
+
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
|
14878
|
+
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
|
14879
|
+
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
|
14880
|
+
# [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
|
|
14881
|
+
# [18]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
|
|
14854
14882
|
#
|
|
14855
14883
|
# @option params [required, String] :bucket
|
|
14856
14884
|
# Specifies default encryption for a bucket using server-side encryption
|
|
@@ -14934,6 +14962,9 @@ module Aws::S3
|
|
|
14934
14962
|
# kms_master_key_id: "SSEKMSKeyId",
|
|
14935
14963
|
# },
|
|
14936
14964
|
# bucket_key_enabled: false,
|
|
14965
|
+
# blocked_encryption_types: {
|
|
14966
|
+
# encryption_type: ["NONE"], # accepts NONE, SSE-C
|
|
14967
|
+
# },
|
|
14937
14968
|
# },
|
|
14938
14969
|
# ],
|
|
14939
14970
|
# },
|
|
@@ -16786,7 +16817,7 @@ module Aws::S3
|
|
|
16786
16817
|
# destination: { # required
|
|
16787
16818
|
# bucket: "BucketName", # required
|
|
16788
16819
|
# account: "AccountId",
|
|
16789
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
16820
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
16790
16821
|
# access_control_translation: {
|
|
16791
16822
|
# owner: "Destination", # required, accepts Destination
|
|
16792
16823
|
# },
|
|
@@ -16930,7 +16961,11 @@ module Aws::S3
|
|
|
16930
16961
|
#
|
|
16931
16962
|
# </note>
|
|
16932
16963
|
#
|
|
16933
|
-
# Sets the tags for a bucket
|
|
16964
|
+
# Sets the tags for a general purpose bucket if attribute based access
|
|
16965
|
+
# control (ABAC) is not enabled for the bucket. When you [enable ABAC
|
|
16966
|
+
# for a general purpose bucket][1], you can no longer use this operation
|
|
16967
|
+
# for that bucket and must use the [TagResource][2] or
|
|
16968
|
+
# [UntagResource][3] operations instead.
|
|
16934
16969
|
#
|
|
16935
16970
|
# Use tags to organize your Amazon Web Services bill to reflect your own
|
|
16936
16971
|
# cost structure. To do this, sign up to get your Amazon Web Services
|
|
@@ -16940,8 +16975,8 @@ module Aws::S3
|
|
|
16940
16975
|
# several resources with a specific application name, and then organize
|
|
16941
16976
|
# your billing information to see the total cost of that application
|
|
16942
16977
|
# across several services. For more information, see [Cost Allocation
|
|
16943
|
-
# and Tagging][
|
|
16944
|
-
# Tags][
|
|
16978
|
+
# and Tagging][4] and [Using Cost Allocation in Amazon S3 Bucket
|
|
16979
|
+
# Tags][5].
|
|
16945
16980
|
#
|
|
16946
16981
|
# <note markdown="1"> When this operation sets the tags for a bucket, it will overwrite any
|
|
16947
16982
|
# current tags the bucket already has. You cannot use this operation to
|
|
@@ -16953,16 +16988,16 @@ module Aws::S3
|
|
|
16953
16988
|
# `s3:PutBucketTagging` action. The bucket owner has this permission by
|
|
16954
16989
|
# default and can grant this permission to others. For more information
|
|
16955
16990
|
# about permissions, see [Permissions Related to Bucket Subresource
|
|
16956
|
-
# Operations][
|
|
16957
|
-
# Resources][
|
|
16991
|
+
# Operations][6] and [Managing Access Permissions to Your Amazon S3
|
|
16992
|
+
# Resources][7].
|
|
16958
16993
|
#
|
|
16959
16994
|
# `PutBucketTagging` has the following special errors. For more Amazon
|
|
16960
|
-
# S3 errors see, [Error Responses][
|
|
16995
|
+
# S3 errors see, [Error Responses][8].
|
|
16961
16996
|
#
|
|
16962
16997
|
# * `InvalidTag` - The tag provided was not a valid tag. This error can
|
|
16963
16998
|
# occur if the tag did not pass input validation. For more
|
|
16964
16999
|
# information, see [Using Cost Allocation in Amazon S3 Bucket
|
|
16965
|
-
# Tags][
|
|
17000
|
+
# Tags][5].
|
|
16966
17001
|
#
|
|
16967
17002
|
# * `MalformedXML` - The XML provided does not match the schema.
|
|
16968
17003
|
#
|
|
@@ -16974,9 +17009,9 @@ module Aws::S3
|
|
|
16974
17009
|
#
|
|
16975
17010
|
# The following operations are related to `PutBucketTagging`:
|
|
16976
17011
|
#
|
|
16977
|
-
# * [GetBucketTagging][
|
|
17012
|
+
# * [GetBucketTagging][9]
|
|
16978
17013
|
#
|
|
16979
|
-
# * [DeleteBucketTagging][
|
|
17014
|
+
# * [DeleteBucketTagging][10]
|
|
16980
17015
|
#
|
|
16981
17016
|
# You must URL encode any signed header values that contain spaces. For
|
|
16982
17017
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -16984,13 +17019,16 @@ module Aws::S3
|
|
|
16984
17019
|
#
|
|
16985
17020
|
#
|
|
16986
17021
|
#
|
|
16987
|
-
# [1]: https://docs.aws.amazon.com/
|
|
16988
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16989
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16990
|
-
# [4]: https://docs.aws.amazon.com/
|
|
16991
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16992
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16993
|
-
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
17022
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html
|
|
17023
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_TagResource.html
|
|
17024
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html
|
|
17025
|
+
# [4]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
|
17026
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html
|
|
17027
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
|
17028
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
|
17029
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
|
|
17030
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
|
|
17031
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
|
16994
17032
|
#
|
|
16995
17033
|
# @option params [required, String] :bucket
|
|
16996
17034
|
# The bucket name.
|
|
@@ -18425,7 +18463,7 @@ module Aws::S3
|
|
|
18425
18463
|
# "MetadataKey" => "MetadataValue",
|
|
18426
18464
|
# },
|
|
18427
18465
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
18428
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
18466
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
18429
18467
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
18430
18468
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
18431
18469
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -19449,10 +19487,11 @@ module Aws::S3
|
|
|
19449
19487
|
# When Amazon S3 evaluates the `PublicAccessBlock` configuration for a
|
|
19450
19488
|
# bucket or an object, it checks the `PublicAccessBlock` configuration
|
|
19451
19489
|
# for both the bucket (or the bucket that contains the object) and the
|
|
19452
|
-
# bucket owner's account.
|
|
19453
|
-
#
|
|
19454
|
-
#
|
|
19455
|
-
#
|
|
19490
|
+
# bucket owner's account. Account-level settings automatically inherit
|
|
19491
|
+
# from organization-level policies when present. If the
|
|
19492
|
+
# `PublicAccessBlock` configurations are different between the bucket
|
|
19493
|
+
# and the account, Amazon S3 uses the most restrictive combination of
|
|
19494
|
+
# the bucket-level and account-level settings.
|
|
19456
19495
|
#
|
|
19457
19496
|
# For more information about when Amazon S3 considers a bucket or an
|
|
19458
19497
|
# object public, see [The Meaning of "Public"][2].
|
|
@@ -20091,7 +20130,7 @@ module Aws::S3
|
|
|
20091
20130
|
# value: "MetadataValue",
|
|
20092
20131
|
# },
|
|
20093
20132
|
# ],
|
|
20094
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
20133
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
20095
20134
|
# },
|
|
20096
20135
|
# },
|
|
20097
20136
|
# },
|
|
@@ -20850,6 +20889,15 @@ module Aws::S3
|
|
|
20850
20889
|
# Multipart request. For more information, see
|
|
20851
20890
|
# [CreateMultipartUpload][2].
|
|
20852
20891
|
#
|
|
20892
|
+
# <note markdown="1"> If you have server-side encryption with customer-provided keys
|
|
20893
|
+
# (SSE-C) blocked for your general purpose bucket, you will get an
|
|
20894
|
+
# HTTP 403 Access Denied error when you specify the SSE-C request
|
|
20895
|
+
# headers while writing new data to your bucket. For more
|
|
20896
|
+
# information, see [Blocking or unblocking SSE-C for a general
|
|
20897
|
+
# purpose bucket][12].
|
|
20898
|
+
#
|
|
20899
|
+
# </note>
|
|
20900
|
+
#
|
|
20853
20901
|
# If you request server-side encryption using a customer-provided
|
|
20854
20902
|
# encryption key (SSE-C) in your initiate multipart upload request,
|
|
20855
20903
|
# you must provide identical encryption information in each part
|
|
@@ -20860,7 +20908,7 @@ module Aws::S3
|
|
|
20860
20908
|
# * x-amz-server-side-encryption-customer-key
|
|
20861
20909
|
#
|
|
20862
20910
|
# * x-amz-server-side-encryption-customer-key-MD5
|
|
20863
|
-
# For more information, see [Using Server-Side Encryption][
|
|
20911
|
+
# For more information, see [Using Server-Side Encryption][13] in
|
|
20864
20912
|
# the *Amazon S3 User Guide*.
|
|
20865
20913
|
#
|
|
20866
20914
|
# * <b>Directory buckets </b> - For directory buckets, there are only
|
|
@@ -20888,13 +20936,13 @@ module Aws::S3
|
|
|
20888
20936
|
#
|
|
20889
20937
|
# * [CreateMultipartUpload][2]
|
|
20890
20938
|
#
|
|
20891
|
-
# * [CompleteMultipartUpload][
|
|
20939
|
+
# * [CompleteMultipartUpload][14]
|
|
20892
20940
|
#
|
|
20893
|
-
# * [AbortMultipartUpload][
|
|
20941
|
+
# * [AbortMultipartUpload][15]
|
|
20894
20942
|
#
|
|
20895
|
-
# * [ListParts][
|
|
20943
|
+
# * [ListParts][16]
|
|
20896
20944
|
#
|
|
20897
|
-
# * [ListMultipartUploads][
|
|
20945
|
+
# * [ListMultipartUploads][17]
|
|
20898
20946
|
#
|
|
20899
20947
|
# You must URL encode any signed header values that contain spaces. For
|
|
20900
20948
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -20913,11 +20961,12 @@ module Aws::S3
|
|
|
20913
20961
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions
|
|
20914
20962
|
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
|
20915
20963
|
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html
|
|
20916
|
-
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
20917
|
-
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
20918
|
-
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
20919
|
-
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
20920
|
-
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
20964
|
+
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html
|
|
20965
|
+
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
|
|
20966
|
+
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
|
|
20967
|
+
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
|
|
20968
|
+
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
|
|
20969
|
+
# [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
|
|
20921
20970
|
#
|
|
20922
20971
|
# @option params [String, StringIO, File] :body
|
|
20923
20972
|
# Object data.
|
|
@@ -21316,12 +21365,21 @@ module Aws::S3
|
|
|
21316
21365
|
# the `UploadPartCopy` operation, see [CopyObject][13] and
|
|
21317
21366
|
# [UploadPart][2].
|
|
21318
21367
|
#
|
|
21368
|
+
# <note markdown="1"> If you have server-side encryption with customer-provided keys
|
|
21369
|
+
# (SSE-C) blocked for your general purpose bucket, you will get an
|
|
21370
|
+
# HTTP 403 Access Denied error when you specify the SSE-C request
|
|
21371
|
+
# headers while writing new data to your bucket. For more
|
|
21372
|
+
# information, see [Blocking or unblocking SSE-C for a general
|
|
21373
|
+
# purpose bucket][14].
|
|
21374
|
+
#
|
|
21375
|
+
# </note>
|
|
21376
|
+
#
|
|
21319
21377
|
# * <b>Directory buckets </b> - For directory buckets, there are only
|
|
21320
21378
|
# two supported options for server-side encryption: server-side
|
|
21321
21379
|
# encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
|
|
21322
21380
|
# server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). For
|
|
21323
21381
|
# more information, see [Protecting data with server-side
|
|
21324
|
-
# encryption][
|
|
21382
|
+
# encryption][15] in the *Amazon S3 User Guide*.
|
|
21325
21383
|
#
|
|
21326
21384
|
# <note markdown="1"> For directory buckets, when you perform a `CreateMultipartUpload`
|
|
21327
21385
|
# operation and an `UploadPartCopy` operation, the request headers
|
|
@@ -21333,7 +21391,7 @@ module Aws::S3
|
|
|
21333
21391
|
# S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted
|
|
21334
21392
|
# objects from general purpose buckets to directory buckets, from
|
|
21335
21393
|
# directory buckets to general purpose buckets, or between directory
|
|
21336
|
-
# buckets, through [UploadPartCopy][
|
|
21394
|
+
# buckets, through [UploadPartCopy][16]. In this case, Amazon S3
|
|
21337
21395
|
# makes a call to KMS every time a copy request is made for a
|
|
21338
21396
|
# KMS-encrypted object.
|
|
21339
21397
|
#
|
|
@@ -21359,17 +21417,17 @@ module Aws::S3
|
|
|
21359
21417
|
#
|
|
21360
21418
|
# The following operations are related to `UploadPartCopy`:
|
|
21361
21419
|
#
|
|
21362
|
-
# * [CreateMultipartUpload][
|
|
21420
|
+
# * [CreateMultipartUpload][17]
|
|
21363
21421
|
#
|
|
21364
21422
|
# * [UploadPart][2]
|
|
21365
21423
|
#
|
|
21366
|
-
# * [CompleteMultipartUpload][
|
|
21424
|
+
# * [CompleteMultipartUpload][18]
|
|
21367
21425
|
#
|
|
21368
|
-
# * [AbortMultipartUpload][
|
|
21426
|
+
# * [AbortMultipartUpload][19]
|
|
21369
21427
|
#
|
|
21370
|
-
# * [ListParts][
|
|
21428
|
+
# * [ListParts][20]
|
|
21371
21429
|
#
|
|
21372
|
-
# * [ListMultipartUploads][
|
|
21430
|
+
# * [ListMultipartUploads][21]
|
|
21373
21431
|
#
|
|
21374
21432
|
# You must URL encode any signed header values that contain spaces. For
|
|
21375
21433
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -21390,13 +21448,14 @@ module Aws::S3
|
|
|
21390
21448
|
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html
|
|
21391
21449
|
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html
|
|
21392
21450
|
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
|
21393
|
-
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
21394
|
-
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
21395
|
-
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21396
|
-
# [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21397
|
-
# [18]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21398
|
-
# [19]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21399
|
-
# [20]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21451
|
+
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html
|
|
21452
|
+
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
|
|
21453
|
+
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
|
|
21454
|
+
# [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
|
|
21455
|
+
# [18]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
|
|
21456
|
+
# [19]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
|
|
21457
|
+
# [20]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
|
|
21458
|
+
# [21]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
|
|
21400
21459
|
#
|
|
21401
21460
|
# @option params [required, String] :bucket
|
|
21402
21461
|
# The bucket name.
|
|
@@ -22191,7 +22250,7 @@ module Aws::S3
|
|
|
22191
22250
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
22192
22251
|
# ssekms_key_id: "SSEKMSKeyId",
|
|
22193
22252
|
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
|
22194
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
22253
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
22195
22254
|
# tag_count: 1,
|
|
22196
22255
|
# version_id: "ObjectVersionId",
|
|
22197
22256
|
# bucket_key_enabled: false,
|
|
@@ -22224,7 +22283,7 @@ module Aws::S3
|
|
|
22224
22283
|
tracer: tracer
|
|
22225
22284
|
)
|
|
22226
22285
|
context[:gem_name] = 'aws-sdk-s3'
|
|
22227
|
-
context[:gem_version] = '1.
|
|
22286
|
+
context[:gem_version] = '1.206.0'
|
|
22228
22287
|
Seahorse::Client::Request.new(handlers, context)
|
|
22229
22288
|
end
|
|
22230
22289
|
|