aws-sdk-s3 1.245.2 → 1.246.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +11 -6
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +446 -43
- data/lib/aws-sdk-s3/client_api.rb +112 -0
- data/lib/aws-sdk-s3/endpoints.rb +42 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/object.rb +40 -24
- data/lib/aws-sdk-s3/object_summary.rb +40 -24
- data/lib/aws-sdk-s3/types.rb +440 -27
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket_notification.rbs +3 -3
- data/sig/client.rbs +70 -9
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +75 -9
- metadata +1 -1
data/lib/aws-sdk-s3/client.rb
CHANGED
|
@@ -2116,11 +2116,16 @@ module Aws::S3
|
|
|
2116
2116
|
# [5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
|
|
2117
2117
|
#
|
|
2118
2118
|
# @option params [String] :storage_class
|
|
2119
|
-
# If
|
|
2120
|
-
#
|
|
2121
|
-
#
|
|
2122
|
-
#
|
|
2123
|
-
#
|
|
2119
|
+
# If you don't specify a storage class, the copied object is stored in
|
|
2120
|
+
# the destination bucket's default storage class, which is `STANDARD`
|
|
2121
|
+
# unless you set a different default. The copy uses the destination
|
|
2122
|
+
# bucket's default storage class and does not inherit the storage class
|
|
2123
|
+
# of the source object. For more information, see [Setting the default
|
|
2124
|
+
# storage class for a bucket][1] in the *Amazon S3 User Guide*. A
|
|
2125
|
+
# storage class that you specify on the request takes precedence over
|
|
2126
|
+
# the bucket default. The `STANDARD` storage class provides high
|
|
2127
|
+
# durability and high availability. Depending on performance needs, you
|
|
2128
|
+
# can specify a different Storage Class.
|
|
2124
2129
|
#
|
|
2125
2130
|
# <note markdown="1"> * <b>Directory buckets </b> - Directory buckets only support
|
|
2126
2131
|
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
|
@@ -2137,7 +2142,7 @@ module Aws::S3
|
|
|
2137
2142
|
# You can use the `CopyObject` action to change the storage class of an
|
|
2138
2143
|
# object that is already stored in Amazon S3 by using the
|
|
2139
2144
|
# `x-amz-storage-class` header. For more information, see [Storage
|
|
2140
|
-
# Classes][
|
|
2145
|
+
# Classes][2] in the *Amazon S3 User Guide*.
|
|
2141
2146
|
#
|
|
2142
2147
|
# Before using an object as a source object for the copy operation, you
|
|
2143
2148
|
# must restore a copy of it if it meets any of the following conditions:
|
|
@@ -2146,18 +2151,19 @@ module Aws::S3
|
|
|
2146
2151
|
# `DEEP_ARCHIVE`.
|
|
2147
2152
|
#
|
|
2148
2153
|
# * The storage class of the source object is `INTELLIGENT_TIERING` and
|
|
2149
|
-
# it's [S3 Intelligent-Tiering access tier][
|
|
2154
|
+
# it's [S3 Intelligent-Tiering access tier][3] is `Archive Access` or
|
|
2150
2155
|
# `Deep Archive Access`.
|
|
2151
2156
|
#
|
|
2152
|
-
# For more information, see [RestoreObject][
|
|
2157
|
+
# For more information, see [RestoreObject][4] and [Copying Objects][5]
|
|
2153
2158
|
# in the *Amazon S3 User Guide*.
|
|
2154
2159
|
#
|
|
2155
2160
|
#
|
|
2156
2161
|
#
|
|
2157
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
2158
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
2159
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
2160
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
2162
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-default-storage-class.html
|
|
2163
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
|
2164
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intelligent-tiering-overview.html#intel-tiering-tier-definition
|
|
2165
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html
|
|
2166
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html
|
|
2161
2167
|
#
|
|
2162
2168
|
# @option params [String] :website_redirect_location
|
|
2163
2169
|
# If the destination bucket is configured as a website, redirects
|
|
@@ -3912,11 +3918,15 @@ module Aws::S3
|
|
|
3912
3918
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
|
|
3913
3919
|
#
|
|
3914
3920
|
# @option params [String] :storage_class
|
|
3915
|
-
#
|
|
3916
|
-
#
|
|
3917
|
-
#
|
|
3918
|
-
# a
|
|
3919
|
-
#
|
|
3921
|
+
# If you don't specify a storage class, Amazon S3 uses the bucket's
|
|
3922
|
+
# default storage class, which is `STANDARD` unless you set a different
|
|
3923
|
+
# default. For more information, see [Setting the default storage class
|
|
3924
|
+
# for a bucket][1] in the *Amazon S3 User Guide*. A storage class that
|
|
3925
|
+
# you specify on the request takes precedence over the bucket default.
|
|
3926
|
+
# The STANDARD storage class provides high durability and high
|
|
3927
|
+
# availability. Depending on performance needs, you can specify a
|
|
3928
|
+
# different Storage Class. For more information, see [Storage
|
|
3929
|
+
# Classes][2] in the *Amazon S3 User Guide*.
|
|
3920
3930
|
#
|
|
3921
3931
|
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
|
3922
3932
|
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
|
@@ -3928,7 +3938,8 @@ module Aws::S3
|
|
|
3928
3938
|
#
|
|
3929
3939
|
#
|
|
3930
3940
|
#
|
|
3931
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
3941
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-default-storage-class.html
|
|
3942
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
|
3932
3943
|
#
|
|
3933
3944
|
# @option params [String] :website_redirect_location
|
|
3934
3945
|
# If the bucket is configured as a website, redirects requests for this
|
|
@@ -7395,6 +7406,70 @@ module Aws::S3
|
|
|
7395
7406
|
req.send_request(options)
|
|
7396
7407
|
end
|
|
7397
7408
|
|
|
7409
|
+
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
7410
|
+
#
|
|
7411
|
+
# </note>
|
|
7412
|
+
#
|
|
7413
|
+
# Returns the default storage class of the general purpose bucket.
|
|
7414
|
+
# Amazon S3 uses the default storage class for new objects that you
|
|
7415
|
+
# write to the bucket without the `x-amz-storage-class` request header.
|
|
7416
|
+
# If you haven't set a default storage class for the bucket, Amazon S3
|
|
7417
|
+
# returns `STANDARD`. For more information, see [Setting the default
|
|
7418
|
+
# storage class for a bucket][1] in the *Amazon S3 User Guide*.
|
|
7419
|
+
#
|
|
7420
|
+
# To use this operation, you must have the
|
|
7421
|
+
# `s3:GetBucketDefaultStorageClass` permission.
|
|
7422
|
+
#
|
|
7423
|
+
# The following operations are related to
|
|
7424
|
+
# `GetBucketDefaultStorageClass`:
|
|
7425
|
+
#
|
|
7426
|
+
# * [PutBucketDefaultStorageClass][2]
|
|
7427
|
+
#
|
|
7428
|
+
# * [PutObject][3]
|
|
7429
|
+
#
|
|
7430
|
+
# * [CopyObject][4]
|
|
7431
|
+
#
|
|
7432
|
+
# * [CreateMultipartUpload][5]
|
|
7433
|
+
#
|
|
7434
|
+
#
|
|
7435
|
+
#
|
|
7436
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-default-storage-class.html
|
|
7437
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketDefaultStorageClass.html
|
|
7438
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
|
7439
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
|
7440
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
|
|
7441
|
+
#
|
|
7442
|
+
# @option params [required, String] :bucket
|
|
7443
|
+
# The name of the general purpose bucket.
|
|
7444
|
+
#
|
|
7445
|
+
# @option params [String] :expected_bucket_owner
|
|
7446
|
+
# The Amazon Web Services account ID of the general purpose bucket's
|
|
7447
|
+
# owner.
|
|
7448
|
+
#
|
|
7449
|
+
# @return [Types::GetBucketDefaultStorageClassOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7450
|
+
#
|
|
7451
|
+
# * {Types::GetBucketDefaultStorageClassOutput#default_storage_class_configuration #default_storage_class_configuration} => Types::DefaultStorageClassConfiguration
|
|
7452
|
+
#
|
|
7453
|
+
# @example Request syntax with placeholder values
|
|
7454
|
+
#
|
|
7455
|
+
# resp = client.get_bucket_default_storage_class({
|
|
7456
|
+
# bucket: "BucketName", # required
|
|
7457
|
+
# expected_bucket_owner: "AccountId",
|
|
7458
|
+
# })
|
|
7459
|
+
#
|
|
7460
|
+
# @example Response structure
|
|
7461
|
+
#
|
|
7462
|
+
# resp.default_storage_class_configuration.default_storage_class #=> String, one of "STANDARD", "INTELLIGENT_TIERING"
|
|
7463
|
+
#
|
|
7464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketDefaultStorageClass AWS API Documentation
|
|
7465
|
+
#
|
|
7466
|
+
# @overload get_bucket_default_storage_class(params = {})
|
|
7467
|
+
# @param [Hash] params ({})
|
|
7468
|
+
def get_bucket_default_storage_class(params = {}, options = {})
|
|
7469
|
+
req = build_request(:get_bucket_default_storage_class, params)
|
|
7470
|
+
req.send_request(options)
|
|
7471
|
+
end
|
|
7472
|
+
|
|
7398
7473
|
# Returns the default encryption configuration for an Amazon S3 bucket.
|
|
7399
7474
|
# By default, all buckets have a default encryption configuration that
|
|
7400
7475
|
# uses server-side encryption with Amazon S3 managed keys (SSE-S3). This
|
|
@@ -8686,18 +8761,18 @@ module Aws::S3
|
|
|
8686
8761
|
#
|
|
8687
8762
|
# resp.topic_configuration.id #=> String
|
|
8688
8763
|
# resp.topic_configuration.events #=> Array
|
|
8689
|
-
# resp.topic_configuration.events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8690
|
-
# resp.topic_configuration.event #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8764
|
+
# resp.topic_configuration.events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8765
|
+
# resp.topic_configuration.event #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8691
8766
|
# resp.topic_configuration.topic #=> String
|
|
8692
8767
|
# resp.queue_configuration.id #=> String
|
|
8693
|
-
# resp.queue_configuration.event #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8768
|
+
# resp.queue_configuration.event #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8694
8769
|
# resp.queue_configuration.events #=> Array
|
|
8695
|
-
# resp.queue_configuration.events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8770
|
+
# resp.queue_configuration.events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8696
8771
|
# resp.queue_configuration.queue #=> String
|
|
8697
8772
|
# resp.cloud_function_configuration.id #=> String
|
|
8698
|
-
# resp.cloud_function_configuration.event #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8773
|
+
# resp.cloud_function_configuration.event #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8699
8774
|
# resp.cloud_function_configuration.events #=> Array
|
|
8700
|
-
# resp.cloud_function_configuration.events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8775
|
+
# resp.cloud_function_configuration.events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8701
8776
|
# resp.cloud_function_configuration.cloud_function #=> String
|
|
8702
8777
|
# resp.cloud_function_configuration.invocation_role #=> String
|
|
8703
8778
|
#
|
|
@@ -8799,7 +8874,7 @@ module Aws::S3
|
|
|
8799
8874
|
# resp.topic_configurations[0].id #=> String
|
|
8800
8875
|
# resp.topic_configurations[0].topic_arn #=> String
|
|
8801
8876
|
# resp.topic_configurations[0].events #=> Array
|
|
8802
|
-
# resp.topic_configurations[0].events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8877
|
+
# resp.topic_configurations[0].events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8803
8878
|
# resp.topic_configurations[0].filter.key.filter_rules #=> Array
|
|
8804
8879
|
# resp.topic_configurations[0].filter.key.filter_rules[0].name #=> String, one of "prefix", "suffix"
|
|
8805
8880
|
# resp.topic_configurations[0].filter.key.filter_rules[0].value #=> String
|
|
@@ -8807,7 +8882,7 @@ module Aws::S3
|
|
|
8807
8882
|
# resp.queue_configurations[0].id #=> String
|
|
8808
8883
|
# resp.queue_configurations[0].queue_arn #=> String
|
|
8809
8884
|
# resp.queue_configurations[0].events #=> Array
|
|
8810
|
-
# resp.queue_configurations[0].events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8885
|
+
# resp.queue_configurations[0].events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8811
8886
|
# resp.queue_configurations[0].filter.key.filter_rules #=> Array
|
|
8812
8887
|
# resp.queue_configurations[0].filter.key.filter_rules[0].name #=> String, one of "prefix", "suffix"
|
|
8813
8888
|
# resp.queue_configurations[0].filter.key.filter_rules[0].value #=> String
|
|
@@ -8815,7 +8890,7 @@ module Aws::S3
|
|
|
8815
8890
|
# resp.lambda_function_configurations[0].id #=> String
|
|
8816
8891
|
# resp.lambda_function_configurations[0].lambda_function_arn #=> String
|
|
8817
8892
|
# resp.lambda_function_configurations[0].events #=> Array
|
|
8818
|
-
# resp.lambda_function_configurations[0].events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put"
|
|
8893
|
+
# resp.lambda_function_configurations[0].events[0] #=> String, one of "s3:ReducedRedundancyLostObject", "s3:ObjectCreated:*", "s3:ObjectCreated:Put", "s3:ObjectCreated:Post", "s3:ObjectCreated:Copy", "s3:ObjectCreated:CompleteMultipartUpload", "s3:ObjectRemoved:*", "s3:ObjectRemoved:Delete", "s3:ObjectRemoved:DeleteMarkerCreated", "s3:ObjectRestore:*", "s3:ObjectRestore:Post", "s3:ObjectRestore:Completed", "s3:Replication:*", "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", "s3:Replication:OperationReplicatedAfterThreshold", "s3:ObjectRestore:Delete", "s3:LifecycleTransition", "s3:IntelligentTiering", "s3:ObjectAcl:Put", "s3:LifecycleExpiration:*", "s3:LifecycleExpiration:Delete", "s3:LifecycleExpiration:DeleteMarkerCreated", "s3:ObjectTagging:*", "s3:ObjectTagging:Put", "s3:ObjectTagging:Delete", "s3:ObjectAnnotation:*", "s3:ObjectAnnotation:Put", "s3:ObjectAnnotation:Delete", "s3:ObjectRetention:Put", "s3:MultipartUpload:*", "s3:MultipartUpload:PartUploaded", "s3:MultipartUpload:PartCopied", "s3:MultipartUpload:Aborted"
|
|
8819
8894
|
# resp.lambda_function_configurations[0].filter.key.filter_rules #=> Array
|
|
8820
8895
|
# resp.lambda_function_configurations[0].filter.key.filter_rules[0].name #=> String, one of "prefix", "suffix"
|
|
8821
8896
|
# resp.lambda_function_configurations[0].filter.key.filter_rules[0].value #=> String
|
|
@@ -11604,6 +11679,240 @@ module Aws::S3
|
|
|
11604
11679
|
req.send_request(options, &block)
|
|
11605
11680
|
end
|
|
11606
11681
|
|
|
11682
|
+
# Retrieves a single part of an in-progress or completed multipart
|
|
11683
|
+
# upload.
|
|
11684
|
+
#
|
|
11685
|
+
# Before retrieving any part corresponding to an upload ID, a multipart
|
|
11686
|
+
# upload must be initiated (see [CreateMultipartUpload][1]). In response
|
|
11687
|
+
# to the initiate request, S3 returns an upload ID, a unique identifier
|
|
11688
|
+
# that must be included in the `GetPart` request.
|
|
11689
|
+
#
|
|
11690
|
+
# Part numbers can be any number from 1 to 10,000, inclusive. A part
|
|
11691
|
+
# number uniquely identifies a part and also defines its position within
|
|
11692
|
+
# the object being created.
|
|
11693
|
+
#
|
|
11694
|
+
# The `GetPart` request must specify the full key name for the object.
|
|
11695
|
+
# To retrieve a specific range of bytes from a part, use the `Range`
|
|
11696
|
+
# header to specify the byte range (for example, `bytes=0-9`).
|
|
11697
|
+
#
|
|
11698
|
+
# Both the virtual-hosted-style requests and the path-style requests are
|
|
11699
|
+
# supported. For a virtual hosted-style request example, the object
|
|
11700
|
+
# `photos/2006/February/sample.jpg` is specified as
|
|
11701
|
+
# `/photos/2006/February/sample.jpg`. For a path-style request example,
|
|
11702
|
+
# the object `photos/2006/February/sample.jpg` in the bucket named
|
|
11703
|
+
# `examplebucket` is specified as
|
|
11704
|
+
# `/examplebucket/photos/2006/February/sample.jpg`. For more information
|
|
11705
|
+
# about request types, see [HTTP Host Header Bucket Specification][2] in
|
|
11706
|
+
# the *Amazon S3 User Guide*.
|
|
11707
|
+
#
|
|
11708
|
+
# Permissions
|
|
11709
|
+
#
|
|
11710
|
+
# : **General purpose bucket permissions** - The `s3:GetObject`
|
|
11711
|
+
# permission is required to use `GetPart` for unversioned objects or
|
|
11712
|
+
# uploads. For versioned objects or uploads, the `s3:GetObjectVersion`
|
|
11713
|
+
# permission is required instead. For all requests to in-progress
|
|
11714
|
+
# multipart uploads, the `s3:GetIncompleteUpload` permission is also
|
|
11715
|
+
# required. For more information, see [Specifying permissions in a
|
|
11716
|
+
# policy][3] in the *Amazon S3 User Guide*.
|
|
11717
|
+
#
|
|
11718
|
+
# Storage classes
|
|
11719
|
+
#
|
|
11720
|
+
# : For completed multipart uploads, `GetPart` does not support
|
|
11721
|
+
# retrieving a part from an object that is stored in the S3 Glacier
|
|
11722
|
+
# Flexible Retrieval storage class, the S3 Glacier Deep Archive
|
|
11723
|
+
# storage class, or the S3 Intelligent-Tiering storage class. Such
|
|
11724
|
+
# requests will return an `InvalidObjectState` error. Restoring is not
|
|
11725
|
+
# supported for `GetPart`. For more information about storage classes,
|
|
11726
|
+
# see [Using Amazon S3 storage classes][4] in the *Amazon S3 User
|
|
11727
|
+
# Guide*.
|
|
11728
|
+
#
|
|
11729
|
+
# Encryption
|
|
11730
|
+
#
|
|
11731
|
+
# : Encryption request headers, like `x-amz-server-side-encryption`,
|
|
11732
|
+
# should not be sent for the `GetPart` requests, if your object uses
|
|
11733
|
+
# server-side encryption with Amazon S3 managed encryption keys
|
|
11734
|
+
# (SSE-S3), server-side encryption with Key Management Service (KMS)
|
|
11735
|
+
# keys (SSE-KMS), or dual-layer server-side encryption with Amazon Web
|
|
11736
|
+
# Services KMS keys (DSSE-KMS). If you include the header in your
|
|
11737
|
+
# `GetPart` requests for the object that uses these types of keys,
|
|
11738
|
+
# you’ll get an HTTP `400 Bad Request` error.
|
|
11739
|
+
#
|
|
11740
|
+
# Server-side encryption with customer-provided keys (SSE-C) is not
|
|
11741
|
+
# supported for `GetPart`.
|
|
11742
|
+
#
|
|
11743
|
+
# <note markdown="1"> `GetPart` is only supported for Amazon S3 general purpose buckets. It
|
|
11744
|
+
# is not supported for [Amazon S3 on Outposts][5], [S3 directory
|
|
11745
|
+
# buckets][6], and [S3 Access Points][7].
|
|
11746
|
+
#
|
|
11747
|
+
# `GetPart` is only supported for multipart uploads that were initiated
|
|
11748
|
+
# after November 29, 2026, 00:00 UTC. `GetPart` is also not supported
|
|
11749
|
+
# for multipart uploads completed with non-consecutive part numbers. Use
|
|
11750
|
+
# [GetObject][8] instead.
|
|
11751
|
+
#
|
|
11752
|
+
# </note>
|
|
11753
|
+
#
|
|
11754
|
+
# The following operations are related to `GetPart`:
|
|
11755
|
+
#
|
|
11756
|
+
# * [CreateMultipartUpload][1]
|
|
11757
|
+
#
|
|
11758
|
+
# * [UploadPart][9]
|
|
11759
|
+
#
|
|
11760
|
+
# * [CompleteMultipartUpload][10]
|
|
11761
|
+
#
|
|
11762
|
+
# * [AbortMultipartUpload][11]
|
|
11763
|
+
#
|
|
11764
|
+
# * [ListParts][12]
|
|
11765
|
+
#
|
|
11766
|
+
# * [ListMultipartUploads][13]
|
|
11767
|
+
#
|
|
11768
|
+
# You must URL encode any signed header values that contain spaces. For
|
|
11769
|
+
# example, if your header value is `my file.txt`, containing two spaces
|
|
11770
|
+
# after `my`, you must URL encode this value to `my%20%20file.txt`.
|
|
11771
|
+
#
|
|
11772
|
+
#
|
|
11773
|
+
#
|
|
11774
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
|
|
11775
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket
|
|
11776
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html
|
|
11777
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html
|
|
11778
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
|
11779
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html
|
|
11780
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
|
11781
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
|
11782
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html
|
|
11783
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
|
|
11784
|
+
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
|
|
11785
|
+
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
|
|
11786
|
+
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
|
|
11787
|
+
#
|
|
11788
|
+
# @option params [String, IO] :response_target
|
|
11789
|
+
# Where to write response data, file path, or IO object.
|
|
11790
|
+
#
|
|
11791
|
+
# @option params [required, String] :bucket
|
|
11792
|
+
# The name of the bucket containing the part to retrieve.
|
|
11793
|
+
#
|
|
11794
|
+
# @option params [required, String] :key
|
|
11795
|
+
# Object key for which the multipart upload was initiated.
|
|
11796
|
+
#
|
|
11797
|
+
# @option params [String] :range
|
|
11798
|
+
# Downloads the specified byte range of a part. For more information
|
|
11799
|
+
# about the HTTP Range header, see
|
|
11800
|
+
# [https://www.rfc-editor.org/rfc/rfc9110.html#name-range][1].
|
|
11801
|
+
#
|
|
11802
|
+
# <note markdown="1"> Amazon S3 doesn't support retrieving multiple ranges of data per
|
|
11803
|
+
# `GetPart` request.
|
|
11804
|
+
#
|
|
11805
|
+
# </note>
|
|
11806
|
+
#
|
|
11807
|
+
#
|
|
11808
|
+
#
|
|
11809
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc9110.html#name-range
|
|
11810
|
+
#
|
|
11811
|
+
# @option params [String] :request_payer
|
|
11812
|
+
# Confirms that the requester knows that they will be charged for the
|
|
11813
|
+
# request. Bucket owners need not specify this parameter in their
|
|
11814
|
+
# requests. If either the source or destination S3 bucket has Requester
|
|
11815
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
11816
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
11817
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
11818
|
+
# S3 User Guide*.
|
|
11819
|
+
#
|
|
11820
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
11821
|
+
#
|
|
11822
|
+
# </note>
|
|
11823
|
+
#
|
|
11824
|
+
#
|
|
11825
|
+
#
|
|
11826
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
|
11827
|
+
#
|
|
11828
|
+
# @option params [required, String] :upload_id
|
|
11829
|
+
# Upload ID identifying the multipart upload to retrieve the specified
|
|
11830
|
+
# part from.
|
|
11831
|
+
#
|
|
11832
|
+
# @option params [required, Integer] :part_number
|
|
11833
|
+
# Part number of the part to retrieve. This is a positive integer
|
|
11834
|
+
# between 1 and 10,000.
|
|
11835
|
+
#
|
|
11836
|
+
# @option params [String] :expected_bucket_owner
|
|
11837
|
+
# The account ID of the expected bucket owner. If the account ID that
|
|
11838
|
+
# you provide does not match the actual owner of the bucket, the request
|
|
11839
|
+
# fails with the HTTP status code `403 Forbidden` (access denied).
|
|
11840
|
+
#
|
|
11841
|
+
# @option params [String] :checksum_mode
|
|
11842
|
+
# To retrieve the checksum, this mode must be enabled.
|
|
11843
|
+
#
|
|
11844
|
+
# @return [Types::GetPartOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11845
|
+
#
|
|
11846
|
+
# * {Types::GetPartOutput#body #body} => IO
|
|
11847
|
+
# * {Types::GetPartOutput#accept_ranges #accept_ranges} => String
|
|
11848
|
+
# * {Types::GetPartOutput#content_length #content_length} => Integer
|
|
11849
|
+
# * {Types::GetPartOutput#etag #etag} => String
|
|
11850
|
+
# * {Types::GetPartOutput#multipart_upload_status #multipart_upload_status} => String
|
|
11851
|
+
# * {Types::GetPartOutput#checksum_crc32 #checksum_crc32} => String
|
|
11852
|
+
# * {Types::GetPartOutput#checksum_crc32c #checksum_crc32c} => String
|
|
11853
|
+
# * {Types::GetPartOutput#checksum_crc64nvme #checksum_crc64nvme} => String
|
|
11854
|
+
# * {Types::GetPartOutput#checksum_sha1 #checksum_sha1} => String
|
|
11855
|
+
# * {Types::GetPartOutput#checksum_sha256 #checksum_sha256} => String
|
|
11856
|
+
# * {Types::GetPartOutput#checksum_sha512 #checksum_sha512} => String
|
|
11857
|
+
# * {Types::GetPartOutput#checksum_md5 #checksum_md5} => String
|
|
11858
|
+
# * {Types::GetPartOutput#checksum_xxhash64 #checksum_xxhash64} => String
|
|
11859
|
+
# * {Types::GetPartOutput#checksum_xxhash3 #checksum_xxhash3} => String
|
|
11860
|
+
# * {Types::GetPartOutput#checksum_xxhash128 #checksum_xxhash128} => String
|
|
11861
|
+
# * {Types::GetPartOutput#version_id #version_id} => String
|
|
11862
|
+
# * {Types::GetPartOutput#content_range #content_range} => String
|
|
11863
|
+
# * {Types::GetPartOutput#server_side_encryption #server_side_encryption} => String
|
|
11864
|
+
# * {Types::GetPartOutput#ssekms_key_id #ssekms_key_id} => String
|
|
11865
|
+
# * {Types::GetPartOutput#bucket_key_enabled #bucket_key_enabled} => Boolean
|
|
11866
|
+
# * {Types::GetPartOutput#storage_class #storage_class} => String
|
|
11867
|
+
# * {Types::GetPartOutput#request_charged #request_charged} => String
|
|
11868
|
+
#
|
|
11869
|
+
# @example Request syntax with placeholder values
|
|
11870
|
+
#
|
|
11871
|
+
# resp = client.get_part({
|
|
11872
|
+
# bucket: "BucketName", # required
|
|
11873
|
+
# key: "ObjectKey", # required
|
|
11874
|
+
# range: "Range",
|
|
11875
|
+
# request_payer: "requester", # accepts requester
|
|
11876
|
+
# upload_id: "MultipartUploadId", # required
|
|
11877
|
+
# part_number: 1, # required
|
|
11878
|
+
# expected_bucket_owner: "AccountId",
|
|
11879
|
+
# checksum_mode: "ENABLED", # accepts ENABLED
|
|
11880
|
+
# })
|
|
11881
|
+
#
|
|
11882
|
+
# @example Response structure
|
|
11883
|
+
#
|
|
11884
|
+
# resp.body #=> IO
|
|
11885
|
+
# resp.accept_ranges #=> String
|
|
11886
|
+
# resp.content_length #=> Integer
|
|
11887
|
+
# resp.etag #=> String
|
|
11888
|
+
# resp.multipart_upload_status #=> String, one of "IN_PROGRESS", "COMPLETED"
|
|
11889
|
+
# resp.checksum_crc32 #=> String
|
|
11890
|
+
# resp.checksum_crc32c #=> String
|
|
11891
|
+
# resp.checksum_crc64nvme #=> String
|
|
11892
|
+
# resp.checksum_sha1 #=> String
|
|
11893
|
+
# resp.checksum_sha256 #=> String
|
|
11894
|
+
# resp.checksum_sha512 #=> String
|
|
11895
|
+
# resp.checksum_md5 #=> String
|
|
11896
|
+
# resp.checksum_xxhash64 #=> String
|
|
11897
|
+
# resp.checksum_xxhash3 #=> String
|
|
11898
|
+
# resp.checksum_xxhash128 #=> String
|
|
11899
|
+
# resp.version_id #=> String
|
|
11900
|
+
# resp.content_range #=> String
|
|
11901
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
11902
|
+
# resp.ssekms_key_id #=> String
|
|
11903
|
+
# resp.bucket_key_enabled #=> Boolean
|
|
11904
|
+
# 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", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
11905
|
+
# resp.request_charged #=> String, one of "requester"
|
|
11906
|
+
#
|
|
11907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPart AWS API Documentation
|
|
11908
|
+
#
|
|
11909
|
+
# @overload get_part(params = {})
|
|
11910
|
+
# @param [Hash] params ({})
|
|
11911
|
+
def get_part(params = {}, options = {}, &block)
|
|
11912
|
+
req = build_request(:get_part, params)
|
|
11913
|
+
req.send_request(options, &block)
|
|
11914
|
+
end
|
|
11915
|
+
|
|
11607
11916
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
11608
11917
|
#
|
|
11609
11918
|
# </note>
|
|
@@ -15785,6 +16094,95 @@ module Aws::S3
|
|
|
15785
16094
|
req.send_request(options)
|
|
15786
16095
|
end
|
|
15787
16096
|
|
|
16097
|
+
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
16098
|
+
#
|
|
16099
|
+
# </note>
|
|
16100
|
+
#
|
|
16101
|
+
# Sets the default storage class of the general purpose bucket. Amazon
|
|
16102
|
+
# S3 uses the default storage class for new objects that you write to
|
|
16103
|
+
# the bucket without the `x-amz-storage-class` request header. A storage
|
|
16104
|
+
# class that you specify on the write request takes precedence over the
|
|
16105
|
+
# bucket default. For more information, see [Setting the default storage
|
|
16106
|
+
# class for a bucket][1] in the *Amazon S3 User Guide*.
|
|
16107
|
+
#
|
|
16108
|
+
# Changing the default storage class applies only to objects that you
|
|
16109
|
+
# write after you change it. Amazon S3 doesn't change the storage class
|
|
16110
|
+
# of objects that are already in the bucket. There is no operation to
|
|
16111
|
+
# delete the default storage class. To revert the bucket to its original
|
|
16112
|
+
# default, set the storage class to `STANDARD`.
|
|
16113
|
+
#
|
|
16114
|
+
# To use this operation, you must have the
|
|
16115
|
+
# `s3:PutBucketDefaultStorageClass` permission.
|
|
16116
|
+
#
|
|
16117
|
+
# The following operations are related to
|
|
16118
|
+
# `PutBucketDefaultStorageClass`:
|
|
16119
|
+
#
|
|
16120
|
+
# * [GetBucketDefaultStorageClass][2]
|
|
16121
|
+
#
|
|
16122
|
+
# * [PutObject][3]
|
|
16123
|
+
#
|
|
16124
|
+
# * [CopyObject][4]
|
|
16125
|
+
#
|
|
16126
|
+
# * [CreateMultipartUpload][5]
|
|
16127
|
+
#
|
|
16128
|
+
#
|
|
16129
|
+
#
|
|
16130
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-default-storage-class.html
|
|
16131
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketDefaultStorageClass.html
|
|
16132
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
|
16133
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
|
16134
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
|
|
16135
|
+
#
|
|
16136
|
+
# @option params [required, String] :bucket
|
|
16137
|
+
# The name of the general purpose bucket.
|
|
16138
|
+
#
|
|
16139
|
+
# @option params [String] :content_md5
|
|
16140
|
+
# The MD5 hash of the `PutBucketDefaultStorageClass` request body.
|
|
16141
|
+
#
|
|
16142
|
+
# For requests made using the Amazon Web Services Command Line Interface
|
|
16143
|
+
# (CLI) or Amazon Web Services SDKs, this field is calculated
|
|
16144
|
+
# automatically.
|
|
16145
|
+
#
|
|
16146
|
+
# @option params [String] :checksum_algorithm
|
|
16147
|
+
# Indicates the algorithm that you want Amazon S3 to use to create the
|
|
16148
|
+
# checksum. For more information, see [ Checking object integrity][1] in
|
|
16149
|
+
# the *Amazon S3 User Guide*.
|
|
16150
|
+
#
|
|
16151
|
+
#
|
|
16152
|
+
#
|
|
16153
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
|
16154
|
+
#
|
|
16155
|
+
# @option params [String] :expected_bucket_owner
|
|
16156
|
+
# The Amazon Web Services account ID of the general purpose bucket's
|
|
16157
|
+
# owner.
|
|
16158
|
+
#
|
|
16159
|
+
# @option params [required, Types::DefaultStorageClassConfiguration] :default_storage_class_configuration
|
|
16160
|
+
# The configuration that specifies the default storage class of the
|
|
16161
|
+
# general purpose bucket.
|
|
16162
|
+
#
|
|
16163
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
16164
|
+
#
|
|
16165
|
+
# @example Request syntax with placeholder values
|
|
16166
|
+
#
|
|
16167
|
+
# resp = client.put_bucket_default_storage_class({
|
|
16168
|
+
# bucket: "BucketName", # required
|
|
16169
|
+
# content_md5: "ContentMD5",
|
|
16170
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
|
|
16171
|
+
# expected_bucket_owner: "AccountId",
|
|
16172
|
+
# default_storage_class_configuration: { # required
|
|
16173
|
+
# default_storage_class: "STANDARD", # required, accepts STANDARD, INTELLIGENT_TIERING
|
|
16174
|
+
# },
|
|
16175
|
+
# })
|
|
16176
|
+
#
|
|
16177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketDefaultStorageClass AWS API Documentation
|
|
16178
|
+
#
|
|
16179
|
+
# @overload put_bucket_default_storage_class(params = {})
|
|
16180
|
+
# @param [Hash] params ({})
|
|
16181
|
+
def put_bucket_default_storage_class(params = {}, options = {})
|
|
16182
|
+
req = build_request(:put_bucket_default_storage_class, params)
|
|
16183
|
+
req.send_request(options)
|
|
16184
|
+
end
|
|
16185
|
+
|
|
15788
16186
|
# This operation configures default encryption and Amazon S3 Bucket Keys
|
|
15789
16187
|
# for an existing bucket. You can also [block encryption types][1] using
|
|
15790
16188
|
# this operation.
|
|
@@ -17255,20 +17653,20 @@ module Aws::S3
|
|
|
17255
17653
|
# notification_configuration: { # required
|
|
17256
17654
|
# topic_configuration: {
|
|
17257
17655
|
# id: "NotificationId",
|
|
17258
|
-
# events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17259
|
-
# event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17656
|
+
# events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17657
|
+
# event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17260
17658
|
# topic: "TopicArn",
|
|
17261
17659
|
# },
|
|
17262
17660
|
# queue_configuration: {
|
|
17263
17661
|
# id: "NotificationId",
|
|
17264
|
-
# event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17265
|
-
# events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17662
|
+
# event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17663
|
+
# events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17266
17664
|
# queue: "QueueArn",
|
|
17267
17665
|
# },
|
|
17268
17666
|
# cloud_function_configuration: {
|
|
17269
17667
|
# id: "NotificationId",
|
|
17270
|
-
# event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17271
|
-
# events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17668
|
+
# event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17669
|
+
# events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17272
17670
|
# cloud_function: "CloudFunction",
|
|
17273
17671
|
# invocation_role: "CloudFunctionInvocationRole",
|
|
17274
17672
|
# },
|
|
@@ -17410,7 +17808,7 @@ module Aws::S3
|
|
|
17410
17808
|
# {
|
|
17411
17809
|
# id: "NotificationId",
|
|
17412
17810
|
# topic_arn: "TopicArn", # required
|
|
17413
|
-
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17811
|
+
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17414
17812
|
# filter: {
|
|
17415
17813
|
# key: {
|
|
17416
17814
|
# filter_rules: [
|
|
@@ -17427,7 +17825,7 @@ module Aws::S3
|
|
|
17427
17825
|
# {
|
|
17428
17826
|
# id: "NotificationId",
|
|
17429
17827
|
# queue_arn: "QueueArn", # required
|
|
17430
|
-
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17828
|
+
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17431
17829
|
# filter: {
|
|
17432
17830
|
# key: {
|
|
17433
17831
|
# filter_rules: [
|
|
@@ -17444,7 +17842,7 @@ module Aws::S3
|
|
|
17444
17842
|
# {
|
|
17445
17843
|
# id: "NotificationId",
|
|
17446
17844
|
# lambda_function_arn: "LambdaFunctionArn", # required
|
|
17447
|
-
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put
|
|
17845
|
+
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete, s3:ObjectAnnotation:*, s3:ObjectAnnotation:Put, s3:ObjectAnnotation:Delete, s3:ObjectRetention:Put, s3:MultipartUpload:*, s3:MultipartUpload:PartUploaded, s3:MultipartUpload:PartCopied, s3:MultipartUpload:Aborted
|
|
17448
17846
|
# filter: {
|
|
17449
17847
|
# key: {
|
|
17450
17848
|
# filter_rules: [
|
|
@@ -19342,11 +19740,15 @@ module Aws::S3
|
|
|
19342
19740
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
|
|
19343
19741
|
#
|
|
19344
19742
|
# @option params [String] :storage_class
|
|
19345
|
-
#
|
|
19346
|
-
#
|
|
19347
|
-
#
|
|
19348
|
-
# a
|
|
19349
|
-
#
|
|
19743
|
+
# If you don't specify a storage class, Amazon S3 uses the bucket's
|
|
19744
|
+
# default storage class, which is `STANDARD` unless you set a different
|
|
19745
|
+
# default. For more information, see [Setting the default storage class
|
|
19746
|
+
# for a bucket][1] in the *Amazon S3 User Guide*. A storage class that
|
|
19747
|
+
# you specify on the request takes precedence over the bucket default.
|
|
19748
|
+
# The STANDARD storage class provides high durability and high
|
|
19749
|
+
# availability. Depending on performance needs, you can specify a
|
|
19750
|
+
# different Storage Class. For more information, see [Storage
|
|
19751
|
+
# Classes][2] in the *Amazon S3 User Guide*.
|
|
19350
19752
|
#
|
|
19351
19753
|
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
|
19352
19754
|
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
|
@@ -19358,7 +19760,8 @@ module Aws::S3
|
|
|
19358
19760
|
#
|
|
19359
19761
|
#
|
|
19360
19762
|
#
|
|
19361
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
19763
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-default-storage-class.html
|
|
19764
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
|
19362
19765
|
#
|
|
19363
19766
|
# @option params [String] :website_redirect_location
|
|
19364
19767
|
# If the bucket is configured as a website, redirects requests for this
|
|
@@ -24278,7 +24681,7 @@ module Aws::S3
|
|
|
24278
24681
|
tracer: tracer
|
|
24279
24682
|
)
|
|
24280
24683
|
context[:gem_name] = 'aws-sdk-s3'
|
|
24281
|
-
context[:gem_version] = '1.
|
|
24684
|
+
context[:gem_version] = '1.246.0'
|
|
24282
24685
|
Seahorse::Client::Request.new(handlers, context)
|
|
24283
24686
|
end
|
|
24284
24687
|
|