aws-sdk-s3 1.204.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 +10 -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 +296 -257
- data/lib/aws-sdk-s3/client_api.rb +50 -0
- data/lib/aws-sdk-s3/endpoints.rb +26 -0
- 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/types.rb +128 -102
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -1
- data/sig/client.rbs +33 -10
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +5 -5
- data/sig/object_summary.rbs +5 -5
- data/sig/types.rbs +38 -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 tags from the bucket
|
|
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.
|
|
@@ -6392,7 +6389,10 @@ module Aws::S3
|
|
|
6392
6389
|
# </note>
|
|
6393
6390
|
#
|
|
6394
6391
|
# Removes the `PublicAccessBlock` configuration for an Amazon S3 bucket.
|
|
6395
|
-
#
|
|
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
|
|
6396
6396
|
# `s3:PutBucketPublicAccessBlock` permission. For more information about
|
|
6397
6397
|
# permissions, see [Permissions Related to Bucket Subresource
|
|
6398
6398
|
# Operations][1] and [Managing Access Permissions to Your Amazon S3
|
|
@@ -6448,6 +6448,46 @@ module Aws::S3
|
|
|
6448
6448
|
req.send_request(options)
|
|
6449
6449
|
end
|
|
6450
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
|
+
|
|
6451
6491
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
6452
6492
|
#
|
|
6453
6493
|
# </note>
|
|
@@ -6548,19 +6588,6 @@ module Aws::S3
|
|
|
6548
6588
|
req.send_request(options)
|
|
6549
6589
|
end
|
|
6550
6590
|
|
|
6551
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
6552
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
6553
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
6554
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
6555
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
6556
|
-
#
|
|
6557
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
6558
|
-
# East
|
|
6559
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
6560
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
6561
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
6562
|
-
# America (São Paulo) Region.
|
|
6563
|
-
#
|
|
6564
6591
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
6565
6592
|
#
|
|
6566
6593
|
# </note>
|
|
@@ -6878,18 +6905,18 @@ module Aws::S3
|
|
|
6878
6905
|
# Returns the default encryption configuration for an Amazon S3 bucket.
|
|
6879
6906
|
# By default, all buckets have a default encryption configuration that
|
|
6880
6907
|
# uses server-side encryption with Amazon S3 managed keys (SSE-S3). This
|
|
6881
|
-
# operation also returns the
|
|
6882
|
-
#
|
|
6908
|
+
# operation also returns the [BucketKeyEnabled][1] and
|
|
6909
|
+
# [BlockedEncryptionTypes][2] statuses.
|
|
6883
6910
|
#
|
|
6884
6911
|
# <note markdown="1"> * **General purpose buckets** - For information about the bucket
|
|
6885
6912
|
# default encryption feature, see [Amazon S3 Bucket Default
|
|
6886
|
-
# Encryption][
|
|
6913
|
+
# Encryption][3] in the *Amazon S3 User Guide*.
|
|
6887
6914
|
#
|
|
6888
6915
|
# * **Directory buckets** - For directory buckets, there are only two
|
|
6889
6916
|
# supported options for server-side encryption: SSE-S3 and SSE-KMS.
|
|
6890
6917
|
# For information about the default encryption configuration in
|
|
6891
6918
|
# directory buckets, see [Setting default server-side encryption
|
|
6892
|
-
# behavior for directory buckets][
|
|
6919
|
+
# behavior for directory buckets][4].
|
|
6893
6920
|
#
|
|
6894
6921
|
# </note>
|
|
6895
6922
|
#
|
|
@@ -6899,8 +6926,8 @@ module Aws::S3
|
|
|
6899
6926
|
# policy. The bucket owner has this permission by default. The
|
|
6900
6927
|
# bucket owner can grant this permission to others. For more
|
|
6901
6928
|
# information about permissions, see [Permissions Related to Bucket
|
|
6902
|
-
# Operations][
|
|
6903
|
-
# Resources][
|
|
6929
|
+
# Operations][5] and [Managing Access Permissions to Your Amazon S3
|
|
6930
|
+
# Resources][6].
|
|
6904
6931
|
#
|
|
6905
6932
|
# * **Directory bucket permissions** - To grant access to this API
|
|
6906
6933
|
# operation, you must have the
|
|
@@ -6910,7 +6937,7 @@ module Aws::S3
|
|
|
6910
6937
|
# only be performed by the Amazon Web Services account that owns the
|
|
6911
6938
|
# resource. For more information about directory bucket policies and
|
|
6912
6939
|
# permissions, see [Amazon Web Services Identity and Access
|
|
6913
|
-
# Management (IAM) for S3 Express One Zone][
|
|
6940
|
+
# Management (IAM) for S3 Express One Zone][7] in the *Amazon S3
|
|
6914
6941
|
# User Guide*.
|
|
6915
6942
|
#
|
|
6916
6943
|
# HTTP Host header syntax
|
|
@@ -6920,9 +6947,9 @@ module Aws::S3
|
|
|
6920
6947
|
#
|
|
6921
6948
|
# The following operations are related to `GetBucketEncryption`:
|
|
6922
6949
|
#
|
|
6923
|
-
# * [PutBucketEncryption][
|
|
6950
|
+
# * [PutBucketEncryption][8]
|
|
6924
6951
|
#
|
|
6925
|
-
# * [DeleteBucketEncryption][
|
|
6952
|
+
# * [DeleteBucketEncryption][9]
|
|
6926
6953
|
#
|
|
6927
6954
|
# You must URL encode any signed header values that contain spaces. For
|
|
6928
6955
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -6930,13 +6957,15 @@ module Aws::S3
|
|
|
6930
6957
|
#
|
|
6931
6958
|
#
|
|
6932
6959
|
#
|
|
6933
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
6934
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
6935
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
6936
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
6937
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
6938
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
6939
|
-
# [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
|
|
6940
6969
|
#
|
|
6941
6970
|
# @option params [required, String] :bucket
|
|
6942
6971
|
# The name of the bucket from which the server-side encryption
|
|
@@ -7601,19 +7630,6 @@ module Aws::S3
|
|
|
7601
7630
|
req.send_request(options)
|
|
7602
7631
|
end
|
|
7603
7632
|
|
|
7604
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
7605
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
7606
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
7607
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
7608
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
7609
|
-
#
|
|
7610
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
7611
|
-
# East
|
|
7612
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
7613
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
7614
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
7615
|
-
# America (São Paulo) Region.
|
|
7616
|
-
#
|
|
7617
7633
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
7618
7634
|
#
|
|
7619
7635
|
# </note>
|
|
@@ -8628,7 +8644,7 @@ module Aws::S3
|
|
|
8628
8644
|
# resp.replication_configuration.rules[0].existing_object_replication.status #=> String, one of "Enabled", "Disabled"
|
|
8629
8645
|
# resp.replication_configuration.rules[0].destination.bucket #=> String
|
|
8630
8646
|
# resp.replication_configuration.rules[0].destination.account #=> String
|
|
8631
|
-
# 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"
|
|
8632
8648
|
# resp.replication_configuration.rules[0].destination.access_control_translation.owner #=> String, one of "Destination"
|
|
8633
8649
|
# resp.replication_configuration.rules[0].destination.encryption_configuration.replica_kms_key_id #=> String
|
|
8634
8650
|
# resp.replication_configuration.rules[0].destination.replication_time.status #=> String, one of "Enabled", "Disabled"
|
|
@@ -8722,6 +8738,10 @@ module Aws::S3
|
|
|
8722
8738
|
#
|
|
8723
8739
|
# Returns the tag set associated with the general purpose bucket.
|
|
8724
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.
|
|
8744
|
+
#
|
|
8725
8745
|
# To use this operation, you must have permission to perform the
|
|
8726
8746
|
# `s3:GetBucketTagging` action. By default, the bucket owner has this
|
|
8727
8747
|
# permission and can grant this permission to others.
|
|
@@ -8736,9 +8756,9 @@ module Aws::S3
|
|
|
8736
8756
|
#
|
|
8737
8757
|
# The following operations are related to `GetBucketTagging`:
|
|
8738
8758
|
#
|
|
8739
|
-
# * [PutBucketTagging][
|
|
8759
|
+
# * [PutBucketTagging][3]
|
|
8740
8760
|
#
|
|
8741
|
-
# * [DeleteBucketTagging][
|
|
8761
|
+
# * [DeleteBucketTagging][4]
|
|
8742
8762
|
#
|
|
8743
8763
|
# You must URL encode any signed header values that contain spaces. For
|
|
8744
8764
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -8746,8 +8766,10 @@ module Aws::S3
|
|
|
8746
8766
|
#
|
|
8747
8767
|
#
|
|
8748
8768
|
#
|
|
8749
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
8750
|
-
# [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
|
|
8751
8773
|
#
|
|
8752
8774
|
# @option params [required, String] :bucket
|
|
8753
8775
|
# The name of the bucket for which to get the tagging information.
|
|
@@ -9637,7 +9659,7 @@ module Aws::S3
|
|
|
9637
9659
|
# resp.sse_customer_key_md5 #=> String
|
|
9638
9660
|
# resp.ssekms_key_id #=> String
|
|
9639
9661
|
# resp.bucket_key_enabled #=> Boolean
|
|
9640
|
-
# 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"
|
|
9641
9663
|
# resp.request_charged #=> String, one of "requester"
|
|
9642
9664
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
|
|
9643
9665
|
# resp.parts_count #=> Integer
|
|
@@ -9655,19 +9677,6 @@ module Aws::S3
|
|
|
9655
9677
|
req.send_request(options, &block)
|
|
9656
9678
|
end
|
|
9657
9679
|
|
|
9658
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
9659
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
9660
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
9661
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
9662
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
9663
|
-
#
|
|
9664
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
9665
|
-
# East
|
|
9666
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
9667
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
9668
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
9669
|
-
# America (São Paulo) Region.
|
|
9670
|
-
#
|
|
9671
9680
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
9672
9681
|
#
|
|
9673
9682
|
# </note>
|
|
@@ -10237,7 +10246,7 @@ module Aws::S3
|
|
|
10237
10246
|
# resp.object_parts.parts[0].checksum_crc64nvme #=> String
|
|
10238
10247
|
# resp.object_parts.parts[0].checksum_sha1 #=> String
|
|
10239
10248
|
# resp.object_parts.parts[0].checksum_sha256 #=> String
|
|
10240
|
-
# 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"
|
|
10241
10250
|
# resp.object_size #=> Integer
|
|
10242
10251
|
#
|
|
10243
10252
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributes AWS API Documentation
|
|
@@ -10815,17 +10824,21 @@ module Aws::S3
|
|
|
10815
10824
|
# </note>
|
|
10816
10825
|
#
|
|
10817
10826
|
# Retrieves the `PublicAccessBlock` configuration for an Amazon S3
|
|
10818
|
-
# 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
|
|
10819
10831
|
# `s3:GetBucketPublicAccessBlock` permission. For more information about
|
|
10820
10832
|
# Amazon S3 permissions, see [Specifying Permissions in a Policy][1].
|
|
10821
10833
|
#
|
|
10822
10834
|
# When Amazon S3 evaluates the `PublicAccessBlock` configuration for a
|
|
10823
10835
|
# bucket or an object, it checks the `PublicAccessBlock` configuration
|
|
10824
10836
|
# for both the bucket (or the bucket that contains the object) and the
|
|
10825
|
-
# bucket owner's account.
|
|
10826
|
-
#
|
|
10827
|
-
#
|
|
10828
|
-
#
|
|
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.
|
|
10829
10842
|
#
|
|
10830
10843
|
# For more information about when Amazon S3 considers a bucket or an
|
|
10831
10844
|
# object public, see [The Meaning of "Public"][2].
|
|
@@ -11599,7 +11612,7 @@ module Aws::S3
|
|
|
11599
11612
|
# resp.sse_customer_key_md5 #=> String
|
|
11600
11613
|
# resp.ssekms_key_id #=> String
|
|
11601
11614
|
# resp.bucket_key_enabled #=> Boolean
|
|
11602
|
-
# 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"
|
|
11603
11616
|
# resp.request_charged #=> String, one of "requester"
|
|
11604
11617
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
|
|
11605
11618
|
# resp.parts_count #=> Integer
|
|
@@ -12042,19 +12055,6 @@ module Aws::S3
|
|
|
12042
12055
|
req.send_request(options)
|
|
12043
12056
|
end
|
|
12044
12057
|
|
|
12045
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
12046
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
12047
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
12048
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
12049
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
12050
|
-
#
|
|
12051
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
12052
|
-
# East
|
|
12053
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
12054
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
12055
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
12056
|
-
# America (São Paulo) Region.
|
|
12057
|
-
#
|
|
12058
12058
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
12059
12059
|
#
|
|
12060
12060
|
# </note>
|
|
@@ -12291,19 +12291,6 @@ module Aws::S3
|
|
|
12291
12291
|
req.send_request(options)
|
|
12292
12292
|
end
|
|
12293
12293
|
|
|
12294
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
12295
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
12296
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
12297
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
12298
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
12299
|
-
#
|
|
12300
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
12301
|
-
# East
|
|
12302
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
12303
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
12304
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
12305
|
-
# America (São Paulo) Region.
|
|
12306
|
-
#
|
|
12307
12294
|
# This operation lists in-progress multipart uploads in a bucket. An
|
|
12308
12295
|
# in-progress multipart upload is a multipart upload that has been
|
|
12309
12296
|
# initiated by the `CreateMultipartUpload` request, but has not yet been
|
|
@@ -12736,7 +12723,7 @@ module Aws::S3
|
|
|
12736
12723
|
# resp.uploads[0].upload_id #=> String
|
|
12737
12724
|
# resp.uploads[0].key #=> String
|
|
12738
12725
|
# resp.uploads[0].initiated #=> Time
|
|
12739
|
-
# 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"
|
|
12740
12727
|
# resp.uploads[0].owner.display_name #=> String
|
|
12741
12728
|
# resp.uploads[0].owner.id #=> String
|
|
12742
12729
|
# resp.uploads[0].initiator.id #=> String
|
|
@@ -12757,19 +12744,6 @@ module Aws::S3
|
|
|
12757
12744
|
req.send_request(options)
|
|
12758
12745
|
end
|
|
12759
12746
|
|
|
12760
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
12761
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
12762
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
12763
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
12764
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
12765
|
-
#
|
|
12766
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
12767
|
-
# East
|
|
12768
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
12769
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
12770
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
12771
|
-
# America (São Paulo) Region.
|
|
12772
|
-
#
|
|
12773
12747
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
12774
12748
|
#
|
|
12775
12749
|
# </note>
|
|
@@ -13017,19 +12991,6 @@ module Aws::S3
|
|
|
13017
12991
|
req.send_request(options)
|
|
13018
12992
|
end
|
|
13019
12993
|
|
|
13020
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
13021
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
13022
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
13023
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
13024
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
13025
|
-
#
|
|
13026
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
13027
|
-
# East
|
|
13028
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
13029
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
13030
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
13031
|
-
# America (São Paulo) Region.
|
|
13032
|
-
#
|
|
13033
12994
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
13034
12995
|
#
|
|
13035
12996
|
# </note>
|
|
@@ -13250,7 +13211,7 @@ module Aws::S3
|
|
|
13250
13211
|
# resp.contents[0].checksum_algorithm[0] #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME"
|
|
13251
13212
|
# resp.contents[0].checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
13252
13213
|
# resp.contents[0].size #=> Integer
|
|
13253
|
-
# 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"
|
|
13254
13215
|
# resp.contents[0].owner.display_name #=> String
|
|
13255
13216
|
# resp.contents[0].owner.id #=> String
|
|
13256
13217
|
# resp.contents[0].restore_status.is_restore_in_progress #=> Boolean
|
|
@@ -13273,19 +13234,6 @@ module Aws::S3
|
|
|
13273
13234
|
req.send_request(options)
|
|
13274
13235
|
end
|
|
13275
13236
|
|
|
13276
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
13277
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
13278
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
13279
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
13280
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
13281
|
-
#
|
|
13282
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
13283
|
-
# East
|
|
13284
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
13285
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
13286
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
13287
|
-
# America (São Paulo) Region.
|
|
13288
|
-
#
|
|
13289
13237
|
# Returns some or all (up to 1,000) of the objects in a bucket with each
|
|
13290
13238
|
# request. You can use the request parameters as selection criteria to
|
|
13291
13239
|
# return a subset of the objects in a bucket. A `200 OK` response can
|
|
@@ -13613,7 +13561,7 @@ module Aws::S3
|
|
|
13613
13561
|
# resp.contents[0].checksum_algorithm[0] #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME"
|
|
13614
13562
|
# resp.contents[0].checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
13615
13563
|
# resp.contents[0].size #=> Integer
|
|
13616
|
-
# 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"
|
|
13617
13565
|
# resp.contents[0].owner.display_name #=> String
|
|
13618
13566
|
# resp.contents[0].owner.id #=> String
|
|
13619
13567
|
# resp.contents[0].restore_status.is_restore_in_progress #=> Boolean
|
|
@@ -13640,19 +13588,6 @@ module Aws::S3
|
|
|
13640
13588
|
req.send_request(options)
|
|
13641
13589
|
end
|
|
13642
13590
|
|
|
13643
|
-
# End of support notice: Beginning November 21, 2025, Amazon S3 will
|
|
13644
|
-
# stop returning `DisplayName`. Update your applications to use
|
|
13645
|
-
# canonical IDs (unique identifier for Amazon Web Services accounts),
|
|
13646
|
-
# Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
|
|
13647
|
-
# resource naming) as a direct replacement of `DisplayName`.
|
|
13648
|
-
#
|
|
13649
|
-
# This change affects the following Amazon Web Services Regions: US
|
|
13650
|
-
# East
|
|
13651
|
-
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
|
13652
|
-
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
13653
|
-
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
|
13654
|
-
# America (São Paulo) Region.
|
|
13655
|
-
#
|
|
13656
13591
|
# Lists the parts that have been uploaded for a specific multipart
|
|
13657
13592
|
# upload.
|
|
13658
13593
|
#
|
|
@@ -13972,7 +13907,7 @@ module Aws::S3
|
|
|
13972
13907
|
# resp.initiator.display_name #=> String
|
|
13973
13908
|
# resp.owner.display_name #=> String
|
|
13974
13909
|
# resp.owner.id #=> String
|
|
13975
|
-
# 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"
|
|
13976
13911
|
# resp.request_charged #=> String, one of "requester"
|
|
13977
13912
|
# resp.checksum_algorithm #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME"
|
|
13978
13913
|
# resp.checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
@@ -13986,6 +13921,81 @@ module Aws::S3
|
|
|
13986
13921
|
req.send_request(options)
|
|
13987
13922
|
end
|
|
13988
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
|
+
|
|
13989
13999
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
13990
14000
|
#
|
|
13991
14001
|
# </note>
|
|
@@ -14728,8 +14738,8 @@ module Aws::S3
|
|
|
14728
14738
|
end
|
|
14729
14739
|
|
|
14730
14740
|
# This operation configures default encryption and Amazon S3 Bucket Keys
|
|
14731
|
-
# for an existing bucket. You can also block encryption types using
|
|
14732
|
-
# operation.
|
|
14741
|
+
# for an existing bucket. You can also [block encryption types][1] using
|
|
14742
|
+
# this operation.
|
|
14733
14743
|
#
|
|
14734
14744
|
# <note markdown="1"> <b>Directory buckets </b> - For directory buckets, you must make
|
|
14735
14745
|
# requests for this API operation to the Regional endpoint. These
|
|
@@ -14737,9 +14747,9 @@ module Aws::S3
|
|
|
14737
14747
|
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
14738
14748
|
# Virtual-hosted-style requests aren't supported. For more information
|
|
14739
14749
|
# about endpoints in Availability Zones, see [Regional and Zonal
|
|
14740
|
-
# endpoints for directory buckets in Availability Zones][
|
|
14750
|
+
# endpoints for directory buckets in Availability Zones][2] in the
|
|
14741
14751
|
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
|
14742
|
-
# Zones, see [Concepts for directory buckets in Local Zones][
|
|
14752
|
+
# Zones, see [Concepts for directory buckets in Local Zones][3] in the
|
|
14743
14753
|
# *Amazon S3 User Guide*.
|
|
14744
14754
|
#
|
|
14745
14755
|
# </note>
|
|
@@ -14754,12 +14764,12 @@ module Aws::S3
|
|
|
14754
14764
|
# keys (SSE-KMS) or dual-layer server-side encryption with Amazon
|
|
14755
14765
|
# Web Services KMS keys (DSSE-KMS). If you specify default
|
|
14756
14766
|
# encryption by using SSE-KMS, you can also configure [Amazon S3
|
|
14757
|
-
# Bucket Keys][
|
|
14758
|
-
# 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]
|
|
14759
14769
|
# in the *Amazon S3 User Guide*.
|
|
14760
14770
|
#
|
|
14761
14771
|
# * If you use PutBucketEncryption to set your [default bucket
|
|
14762
|
-
# encryption][
|
|
14772
|
+
# encryption][5] to SSE-KMS, you should verify that your KMS key ID
|
|
14763
14773
|
# is correct. Amazon S3 doesn't validate the KMS key ID provided in
|
|
14764
14774
|
# PutBucketEncryption requests.
|
|
14765
14775
|
# * <b>Directory buckets </b> - You can optionally configure default
|
|
@@ -14773,28 +14783,28 @@ module Aws::S3
|
|
|
14773
14783
|
# encrypted with the desired encryption settings. For more
|
|
14774
14784
|
# information about the encryption overriding behaviors in directory
|
|
14775
14785
|
# buckets, see [Specifying server-side encryption with KMS for new
|
|
14776
|
-
# object uploads][
|
|
14786
|
+
# object uploads][6].
|
|
14777
14787
|
#
|
|
14778
14788
|
# * Your SSE-KMS configuration can only support 1 [customer managed
|
|
14779
|
-
# key][
|
|
14780
|
-
# managed key][
|
|
14789
|
+
# key][7] per directory bucket's lifetime. The [Amazon Web Services
|
|
14790
|
+
# managed key][8] (`aws/s3`) isn't supported.
|
|
14781
14791
|
#
|
|
14782
14792
|
# * S3 Bucket Keys are always enabled for `GET` and `PUT` operations
|
|
14783
14793
|
# in a directory bucket and can’t be disabled. S3 Bucket Keys
|
|
14784
14794
|
# aren't supported, when you copy SSE-KMS encrypted objects from
|
|
14785
14795
|
# general purpose buckets to directory buckets, from directory
|
|
14786
14796
|
# buckets to general purpose buckets, or between directory buckets,
|
|
14787
|
-
# through [CopyObject][
|
|
14788
|
-
# 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,
|
|
14789
14799
|
# Amazon S3 makes a call to KMS every time a copy request is made
|
|
14790
14800
|
# for a KMS-encrypted object.
|
|
14791
14801
|
#
|
|
14792
|
-
# * When you specify an [KMS customer managed key][
|
|
14802
|
+
# * When you specify an [KMS customer managed key][7] for encryption
|
|
14793
14803
|
# in your directory bucket, only use the key ID or key ARN. The key
|
|
14794
14804
|
# alias format of the KMS key isn't supported.
|
|
14795
14805
|
#
|
|
14796
14806
|
# * For directory buckets, if you use PutBucketEncryption to set your
|
|
14797
|
-
# [default bucket encryption][
|
|
14807
|
+
# [default bucket encryption][5] to SSE-KMS, Amazon S3 validates the
|
|
14798
14808
|
# KMS key ID provided in PutBucketEncryption requests.
|
|
14799
14809
|
#
|
|
14800
14810
|
# </note>
|
|
@@ -14807,7 +14817,7 @@ module Aws::S3
|
|
|
14807
14817
|
#
|
|
14808
14818
|
# Also, this action requires Amazon Web Services Signature Version 4.
|
|
14809
14819
|
# For more information, see [ Authenticating Requests (Amazon Web
|
|
14810
|
-
# Services Signature Version 4)][
|
|
14820
|
+
# Services Signature Version 4)][13].
|
|
14811
14821
|
#
|
|
14812
14822
|
# Permissions
|
|
14813
14823
|
# : * **General purpose bucket permissions** - The
|
|
@@ -14815,8 +14825,8 @@ module Aws::S3
|
|
|
14815
14825
|
# policy. The bucket owner has this permission by default. The
|
|
14816
14826
|
# bucket owner can grant this permission to others. For more
|
|
14817
14827
|
# information about permissions, see [Permissions Related to Bucket
|
|
14818
|
-
# Operations][
|
|
14819
|
-
# Resources][
|
|
14828
|
+
# Operations][14] and [Managing Access Permissions to Your Amazon S3
|
|
14829
|
+
# Resources][15] in the *Amazon S3 User Guide*.
|
|
14820
14830
|
#
|
|
14821
14831
|
# * **Directory bucket permissions** - To grant access to this API
|
|
14822
14832
|
# operation, you must have the
|
|
@@ -14826,7 +14836,7 @@ module Aws::S3
|
|
|
14826
14836
|
# only be performed by the Amazon Web Services account that owns the
|
|
14827
14837
|
# resource. For more information about directory bucket policies and
|
|
14828
14838
|
# permissions, see [Amazon Web Services Identity and Access
|
|
14829
|
-
# Management (IAM) for S3 Express One Zone][
|
|
14839
|
+
# Management (IAM) for S3 Express One Zone][16] in the *Amazon S3
|
|
14830
14840
|
# User Guide*.
|
|
14831
14841
|
#
|
|
14832
14842
|
# To set a directory bucket default encryption with SSE-KMS, you
|
|
@@ -14841,9 +14851,9 @@ module Aws::S3
|
|
|
14841
14851
|
#
|
|
14842
14852
|
# The following operations are related to `PutBucketEncryption`:
|
|
14843
14853
|
#
|
|
14844
|
-
# * [GetBucketEncryption][
|
|
14854
|
+
# * [GetBucketEncryption][17]
|
|
14845
14855
|
#
|
|
14846
|
-
# * [DeleteBucketEncryption][
|
|
14856
|
+
# * [DeleteBucketEncryption][18]
|
|
14847
14857
|
#
|
|
14848
14858
|
# You must URL encode any signed header values that contain spaces. For
|
|
14849
14859
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -14851,23 +14861,24 @@ module Aws::S3
|
|
|
14851
14861
|
#
|
|
14852
14862
|
#
|
|
14853
14863
|
#
|
|
14854
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14855
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
14856
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14857
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-
|
|
14858
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14859
|
-
# [6]: https://docs.aws.amazon.com/
|
|
14860
|
-
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#
|
|
14861
|
-
# [8]: https://docs.aws.amazon.com/
|
|
14862
|
-
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
14863
|
-
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14864
|
-
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
14865
|
-
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14866
|
-
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14867
|
-
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
14868
|
-
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
14869
|
-
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
14870
|
-
# [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
|
|
14871
14882
|
#
|
|
14872
14883
|
# @option params [required, String] :bucket
|
|
14873
14884
|
# Specifies default encryption for a bucket using server-side encryption
|
|
@@ -16806,7 +16817,7 @@ module Aws::S3
|
|
|
16806
16817
|
# destination: { # required
|
|
16807
16818
|
# bucket: "BucketName", # required
|
|
16808
16819
|
# account: "AccountId",
|
|
16809
|
-
# 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
|
|
16810
16821
|
# access_control_translation: {
|
|
16811
16822
|
# owner: "Destination", # required, accepts Destination
|
|
16812
16823
|
# },
|
|
@@ -16950,7 +16961,11 @@ module Aws::S3
|
|
|
16950
16961
|
#
|
|
16951
16962
|
# </note>
|
|
16952
16963
|
#
|
|
16953
|
-
# Sets the tags for a general purpose 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.
|
|
16954
16969
|
#
|
|
16955
16970
|
# Use tags to organize your Amazon Web Services bill to reflect your own
|
|
16956
16971
|
# cost structure. To do this, sign up to get your Amazon Web Services
|
|
@@ -16960,8 +16975,8 @@ module Aws::S3
|
|
|
16960
16975
|
# several resources with a specific application name, and then organize
|
|
16961
16976
|
# your billing information to see the total cost of that application
|
|
16962
16977
|
# across several services. For more information, see [Cost Allocation
|
|
16963
|
-
# and Tagging][
|
|
16964
|
-
# Tags][
|
|
16978
|
+
# and Tagging][4] and [Using Cost Allocation in Amazon S3 Bucket
|
|
16979
|
+
# Tags][5].
|
|
16965
16980
|
#
|
|
16966
16981
|
# <note markdown="1"> When this operation sets the tags for a bucket, it will overwrite any
|
|
16967
16982
|
# current tags the bucket already has. You cannot use this operation to
|
|
@@ -16973,16 +16988,16 @@ module Aws::S3
|
|
|
16973
16988
|
# `s3:PutBucketTagging` action. The bucket owner has this permission by
|
|
16974
16989
|
# default and can grant this permission to others. For more information
|
|
16975
16990
|
# about permissions, see [Permissions Related to Bucket Subresource
|
|
16976
|
-
# Operations][
|
|
16977
|
-
# Resources][
|
|
16991
|
+
# Operations][6] and [Managing Access Permissions to Your Amazon S3
|
|
16992
|
+
# Resources][7].
|
|
16978
16993
|
#
|
|
16979
16994
|
# `PutBucketTagging` has the following special errors. For more Amazon
|
|
16980
|
-
# S3 errors see, [Error Responses][
|
|
16995
|
+
# S3 errors see, [Error Responses][8].
|
|
16981
16996
|
#
|
|
16982
16997
|
# * `InvalidTag` - The tag provided was not a valid tag. This error can
|
|
16983
16998
|
# occur if the tag did not pass input validation. For more
|
|
16984
16999
|
# information, see [Using Cost Allocation in Amazon S3 Bucket
|
|
16985
|
-
# Tags][
|
|
17000
|
+
# Tags][5].
|
|
16986
17001
|
#
|
|
16987
17002
|
# * `MalformedXML` - The XML provided does not match the schema.
|
|
16988
17003
|
#
|
|
@@ -16994,9 +17009,9 @@ module Aws::S3
|
|
|
16994
17009
|
#
|
|
16995
17010
|
# The following operations are related to `PutBucketTagging`:
|
|
16996
17011
|
#
|
|
16997
|
-
# * [GetBucketTagging][
|
|
17012
|
+
# * [GetBucketTagging][9]
|
|
16998
17013
|
#
|
|
16999
|
-
# * [DeleteBucketTagging][
|
|
17014
|
+
# * [DeleteBucketTagging][10]
|
|
17000
17015
|
#
|
|
17001
17016
|
# You must URL encode any signed header values that contain spaces. For
|
|
17002
17017
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -17004,13 +17019,16 @@ module Aws::S3
|
|
|
17004
17019
|
#
|
|
17005
17020
|
#
|
|
17006
17021
|
#
|
|
17007
|
-
# [1]: https://docs.aws.amazon.com/
|
|
17008
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
17009
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
17010
|
-
# [4]: https://docs.aws.amazon.com/
|
|
17011
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
17012
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
17013
|
-
# [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
|
|
17014
17032
|
#
|
|
17015
17033
|
# @option params [required, String] :bucket
|
|
17016
17034
|
# The bucket name.
|
|
@@ -18445,7 +18463,7 @@ module Aws::S3
|
|
|
18445
18463
|
# "MetadataKey" => "MetadataValue",
|
|
18446
18464
|
# },
|
|
18447
18465
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
18448
|
-
# 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
|
|
18449
18467
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
18450
18468
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
18451
18469
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -19469,10 +19487,11 @@ module Aws::S3
|
|
|
19469
19487
|
# When Amazon S3 evaluates the `PublicAccessBlock` configuration for a
|
|
19470
19488
|
# bucket or an object, it checks the `PublicAccessBlock` configuration
|
|
19471
19489
|
# for both the bucket (or the bucket that contains the object) and the
|
|
19472
|
-
# bucket owner's account.
|
|
19473
|
-
#
|
|
19474
|
-
#
|
|
19475
|
-
#
|
|
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.
|
|
19476
19495
|
#
|
|
19477
19496
|
# For more information about when Amazon S3 considers a bucket or an
|
|
19478
19497
|
# object public, see [The Meaning of "Public"][2].
|
|
@@ -20111,7 +20130,7 @@ module Aws::S3
|
|
|
20111
20130
|
# value: "MetadataValue",
|
|
20112
20131
|
# },
|
|
20113
20132
|
# ],
|
|
20114
|
-
# 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
|
|
20115
20134
|
# },
|
|
20116
20135
|
# },
|
|
20117
20136
|
# },
|
|
@@ -20870,6 +20889,15 @@ module Aws::S3
|
|
|
20870
20889
|
# Multipart request. For more information, see
|
|
20871
20890
|
# [CreateMultipartUpload][2].
|
|
20872
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
|
+
#
|
|
20873
20901
|
# If you request server-side encryption using a customer-provided
|
|
20874
20902
|
# encryption key (SSE-C) in your initiate multipart upload request,
|
|
20875
20903
|
# you must provide identical encryption information in each part
|
|
@@ -20880,7 +20908,7 @@ module Aws::S3
|
|
|
20880
20908
|
# * x-amz-server-side-encryption-customer-key
|
|
20881
20909
|
#
|
|
20882
20910
|
# * x-amz-server-side-encryption-customer-key-MD5
|
|
20883
|
-
# For more information, see [Using Server-Side Encryption][
|
|
20911
|
+
# For more information, see [Using Server-Side Encryption][13] in
|
|
20884
20912
|
# the *Amazon S3 User Guide*.
|
|
20885
20913
|
#
|
|
20886
20914
|
# * <b>Directory buckets </b> - For directory buckets, there are only
|
|
@@ -20908,13 +20936,13 @@ module Aws::S3
|
|
|
20908
20936
|
#
|
|
20909
20937
|
# * [CreateMultipartUpload][2]
|
|
20910
20938
|
#
|
|
20911
|
-
# * [CompleteMultipartUpload][
|
|
20939
|
+
# * [CompleteMultipartUpload][14]
|
|
20912
20940
|
#
|
|
20913
|
-
# * [AbortMultipartUpload][
|
|
20941
|
+
# * [AbortMultipartUpload][15]
|
|
20914
20942
|
#
|
|
20915
|
-
# * [ListParts][
|
|
20943
|
+
# * [ListParts][16]
|
|
20916
20944
|
#
|
|
20917
|
-
# * [ListMultipartUploads][
|
|
20945
|
+
# * [ListMultipartUploads][17]
|
|
20918
20946
|
#
|
|
20919
20947
|
# You must URL encode any signed header values that contain spaces. For
|
|
20920
20948
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -20933,11 +20961,12 @@ module Aws::S3
|
|
|
20933
20961
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions
|
|
20934
20962
|
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
|
|
20935
20963
|
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html
|
|
20936
|
-
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
20937
|
-
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
20938
|
-
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
20939
|
-
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
20940
|
-
# [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
|
|
20941
20970
|
#
|
|
20942
20971
|
# @option params [String, StringIO, File] :body
|
|
20943
20972
|
# Object data.
|
|
@@ -21336,12 +21365,21 @@ module Aws::S3
|
|
|
21336
21365
|
# the `UploadPartCopy` operation, see [CopyObject][13] and
|
|
21337
21366
|
# [UploadPart][2].
|
|
21338
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
|
+
#
|
|
21339
21377
|
# * <b>Directory buckets </b> - For directory buckets, there are only
|
|
21340
21378
|
# two supported options for server-side encryption: server-side
|
|
21341
21379
|
# encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
|
|
21342
21380
|
# server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). For
|
|
21343
21381
|
# more information, see [Protecting data with server-side
|
|
21344
|
-
# encryption][
|
|
21382
|
+
# encryption][15] in the *Amazon S3 User Guide*.
|
|
21345
21383
|
#
|
|
21346
21384
|
# <note markdown="1"> For directory buckets, when you perform a `CreateMultipartUpload`
|
|
21347
21385
|
# operation and an `UploadPartCopy` operation, the request headers
|
|
@@ -21353,7 +21391,7 @@ module Aws::S3
|
|
|
21353
21391
|
# S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted
|
|
21354
21392
|
# objects from general purpose buckets to directory buckets, from
|
|
21355
21393
|
# directory buckets to general purpose buckets, or between directory
|
|
21356
|
-
# buckets, through [UploadPartCopy][
|
|
21394
|
+
# buckets, through [UploadPartCopy][16]. In this case, Amazon S3
|
|
21357
21395
|
# makes a call to KMS every time a copy request is made for a
|
|
21358
21396
|
# KMS-encrypted object.
|
|
21359
21397
|
#
|
|
@@ -21379,17 +21417,17 @@ module Aws::S3
|
|
|
21379
21417
|
#
|
|
21380
21418
|
# The following operations are related to `UploadPartCopy`:
|
|
21381
21419
|
#
|
|
21382
|
-
# * [CreateMultipartUpload][
|
|
21420
|
+
# * [CreateMultipartUpload][17]
|
|
21383
21421
|
#
|
|
21384
21422
|
# * [UploadPart][2]
|
|
21385
21423
|
#
|
|
21386
|
-
# * [CompleteMultipartUpload][
|
|
21424
|
+
# * [CompleteMultipartUpload][18]
|
|
21387
21425
|
#
|
|
21388
|
-
# * [AbortMultipartUpload][
|
|
21426
|
+
# * [AbortMultipartUpload][19]
|
|
21389
21427
|
#
|
|
21390
|
-
# * [ListParts][
|
|
21428
|
+
# * [ListParts][20]
|
|
21391
21429
|
#
|
|
21392
|
-
# * [ListMultipartUploads][
|
|
21430
|
+
# * [ListMultipartUploads][21]
|
|
21393
21431
|
#
|
|
21394
21432
|
# You must URL encode any signed header values that contain spaces. For
|
|
21395
21433
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -21410,13 +21448,14 @@ module Aws::S3
|
|
|
21410
21448
|
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html
|
|
21411
21449
|
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html
|
|
21412
21450
|
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
|
21413
|
-
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
21414
|
-
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
21415
|
-
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21416
|
-
# [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21417
|
-
# [18]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21418
|
-
# [19]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
21419
|
-
# [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
|
|
21420
21459
|
#
|
|
21421
21460
|
# @option params [required, String] :bucket
|
|
21422
21461
|
# The bucket name.
|
|
@@ -22211,7 +22250,7 @@ module Aws::S3
|
|
|
22211
22250
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
22212
22251
|
# ssekms_key_id: "SSEKMSKeyId",
|
|
22213
22252
|
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
|
22214
|
-
# 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
|
|
22215
22254
|
# tag_count: 1,
|
|
22216
22255
|
# version_id: "ObjectVersionId",
|
|
22217
22256
|
# bucket_key_enabled: false,
|
|
@@ -22244,7 +22283,7 @@ module Aws::S3
|
|
|
22244
22283
|
tracer: tracer
|
|
22245
22284
|
)
|
|
22246
22285
|
context[:gem_name] = 'aws-sdk-s3'
|
|
22247
|
-
context[:gem_version] = '1.
|
|
22286
|
+
context[:gem_version] = '1.206.0'
|
|
22248
22287
|
Seahorse::Client::Request.new(handlers, context)
|
|
22249
22288
|
end
|
|
22250
22289
|
|