aws-sdk-s3 1.83.2 → 1.84.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/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +473 -141
- data/lib/aws-sdk-s3/client_api.rb +110 -1
- data/lib/aws-sdk-s3/errors.rb +21 -0
- data/lib/aws-sdk-s3/object.rb +6 -0
- data/lib/aws-sdk-s3/types.rb +460 -44
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ff4352e5e70697da613eeb5eec4054645a60fd936ca0024764e5b85e0e1b8cc
|
4
|
+
data.tar.gz: c557b42a3ba8ab9f83b7d33ff721e018fd00b709bd42c82d1755297374fd4601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38c719216cb05f94ec1f238db3a6a79be523eccf8e7e0510acf1dd53f163ac462468d1e0c985579476eed7ebaca9691ab032a11495a92355b40ddf0dee2a2225
|
7
|
+
data.tar.gz: 80091bcad3210f6d53656a13a5fb69afd570bc0c6e6c8dc216e92810ba9f3556b9cc67974bdef1545f2421d72ffa2ae4183c55db0a54388d88fb0271e2a9ae99
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -2169,6 +2169,68 @@ module Aws::S3
|
|
2169
2169
|
req.send_request(options)
|
2170
2170
|
end
|
2171
2171
|
|
2172
|
+
# Deletes the S3 Intelligent-Tiering configuration from the specified
|
2173
|
+
# bucket.
|
2174
|
+
#
|
2175
|
+
# The S3 Intelligent-Tiering storage class is designed to optimize
|
2176
|
+
# storage costs by automatically moving data to the most cost-effective
|
2177
|
+
# storage access tier, without additional operational overhead. S3
|
2178
|
+
# Intelligent-Tiering delivers automatic cost savings by moving data
|
2179
|
+
# between access tiers, when access patterns change.
|
2180
|
+
#
|
2181
|
+
# The S3 Intelligent-Tiering storage class is suitable for objects
|
2182
|
+
# larger than 128 KB that you plan to store for at least 30 days. If the
|
2183
|
+
# size of an object is less than 128 KB, it is not eligible for
|
2184
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
2185
|
+
# charged at the frequent access tier rates in the S3
|
2186
|
+
# Intelligent-Tiering storage class.
|
2187
|
+
#
|
2188
|
+
# If you delete an object before the end of the 30-day minimum storage
|
2189
|
+
# duration period, you are charged for 30 days. For more information,
|
2190
|
+
# see [Storage class for automatically optimizing frequently and
|
2191
|
+
# infrequently accessed objects][1].
|
2192
|
+
#
|
2193
|
+
# Operations related to `DeleteBucketIntelligentTieringConfiguration`
|
2194
|
+
# include:
|
2195
|
+
#
|
2196
|
+
# * [GetBucketIntelligentTieringConfiguration][2]
|
2197
|
+
#
|
2198
|
+
# * [PutBucketIntelligentTieringConfiguration][3]
|
2199
|
+
#
|
2200
|
+
# * [ListBucketIntelligentTieringConfigurations][4]
|
2201
|
+
#
|
2202
|
+
#
|
2203
|
+
#
|
2204
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access
|
2205
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html
|
2206
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html
|
2207
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html
|
2208
|
+
#
|
2209
|
+
# @option params [required, String] :bucket
|
2210
|
+
# The name of the Amazon S3 bucket whose configuration you want to
|
2211
|
+
# modify or retrieve.
|
2212
|
+
#
|
2213
|
+
# @option params [required, String] :id
|
2214
|
+
# The ID used to identify the S3 Intelligent-Tiering configuration.
|
2215
|
+
#
|
2216
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2217
|
+
#
|
2218
|
+
# @example Request syntax with placeholder values
|
2219
|
+
#
|
2220
|
+
# resp = client.delete_bucket_intelligent_tiering_configuration({
|
2221
|
+
# bucket: "BucketName", # required
|
2222
|
+
# id: "IntelligentTieringId", # required
|
2223
|
+
# })
|
2224
|
+
#
|
2225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketIntelligentTieringConfiguration AWS API Documentation
|
2226
|
+
#
|
2227
|
+
# @overload delete_bucket_intelligent_tiering_configuration(params = {})
|
2228
|
+
# @param [Hash] params ({})
|
2229
|
+
def delete_bucket_intelligent_tiering_configuration(params = {}, options = {})
|
2230
|
+
req = build_request(:delete_bucket_intelligent_tiering_configuration, params)
|
2231
|
+
req.send_request(options)
|
2232
|
+
end
|
2233
|
+
|
2172
2234
|
# Deletes an inventory configuration (identified by the inventory ID)
|
2173
2235
|
# from the bucket.
|
2174
2236
|
#
|
@@ -2382,6 +2444,9 @@ module Aws::S3
|
|
2382
2444
|
# The Amazon S3 bucket whose `OwnershipControls` you want to delete.
|
2383
2445
|
#
|
2384
2446
|
# @option params [String] :expected_bucket_owner
|
2447
|
+
# The account id of the expected bucket owner. If the bucket is owned by
|
2448
|
+
# a different account, the request will fail with an HTTP `403 (Access
|
2449
|
+
# Denied)` error.
|
2385
2450
|
#
|
2386
2451
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2387
2452
|
#
|
@@ -2751,15 +2816,6 @@ module Aws::S3
|
|
2751
2816
|
# * {Types::DeleteObjectOutput#request_charged #request_charged} => String
|
2752
2817
|
#
|
2753
2818
|
#
|
2754
|
-
# @example Example: To delete an object (from a non-versioned bucket)
|
2755
|
-
#
|
2756
|
-
# # The following example deletes an object from a non-versioned bucket.
|
2757
|
-
#
|
2758
|
-
# resp = client.delete_object({
|
2759
|
-
# bucket: "ExampleBucket",
|
2760
|
-
# key: "HappyFace.jpg",
|
2761
|
-
# })
|
2762
|
-
#
|
2763
2819
|
# @example Example: To delete an object
|
2764
2820
|
#
|
2765
2821
|
# # The following example deletes an object from an S3 bucket.
|
@@ -2773,6 +2829,15 @@ module Aws::S3
|
|
2773
2829
|
# {
|
2774
2830
|
# }
|
2775
2831
|
#
|
2832
|
+
# @example Example: To delete an object (from a non-versioned bucket)
|
2833
|
+
#
|
2834
|
+
# # The following example deletes an object from a non-versioned bucket.
|
2835
|
+
#
|
2836
|
+
# resp = client.delete_object({
|
2837
|
+
# bucket: "ExampleBucket",
|
2838
|
+
# key: "HappyFace.jpg",
|
2839
|
+
# })
|
2840
|
+
#
|
2776
2841
|
# @example Request syntax with placeholder values
|
2777
2842
|
#
|
2778
2843
|
# resp = client.delete_object({
|
@@ -3559,6 +3624,85 @@ module Aws::S3
|
|
3559
3624
|
req.send_request(options)
|
3560
3625
|
end
|
3561
3626
|
|
3627
|
+
# Gets the S3 Intelligent-Tiering configuration from the specified
|
3628
|
+
# bucket.
|
3629
|
+
#
|
3630
|
+
# The S3 Intelligent-Tiering storage class is designed to optimize
|
3631
|
+
# storage costs by automatically moving data to the most cost-effective
|
3632
|
+
# storage access tier, without additional operational overhead. S3
|
3633
|
+
# Intelligent-Tiering delivers automatic cost savings by moving data
|
3634
|
+
# between access tiers, when access patterns change.
|
3635
|
+
#
|
3636
|
+
# The S3 Intelligent-Tiering storage class is suitable for objects
|
3637
|
+
# larger than 128 KB that you plan to store for at least 30 days. If the
|
3638
|
+
# size of an object is less than 128 KB, it is not eligible for
|
3639
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
3640
|
+
# charged at the frequent access tier rates in the S3
|
3641
|
+
# Intelligent-Tiering storage class.
|
3642
|
+
#
|
3643
|
+
# If you delete an object before the end of the 30-day minimum storage
|
3644
|
+
# duration period, you are charged for 30 days. For more information,
|
3645
|
+
# see [Storage class for automatically optimizing frequently and
|
3646
|
+
# infrequently accessed objects][1].
|
3647
|
+
#
|
3648
|
+
# Operations related to `GetBucketIntelligentTieringConfiguration`
|
3649
|
+
# include:
|
3650
|
+
#
|
3651
|
+
# * [DeleteBucketIntelligentTieringConfiguration][2]
|
3652
|
+
#
|
3653
|
+
# * [PutBucketIntelligentTieringConfiguration][3]
|
3654
|
+
#
|
3655
|
+
# * [ListBucketIntelligentTieringConfigurations][4]
|
3656
|
+
#
|
3657
|
+
#
|
3658
|
+
#
|
3659
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access
|
3660
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html
|
3661
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html
|
3662
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html
|
3663
|
+
#
|
3664
|
+
# @option params [required, String] :bucket
|
3665
|
+
# The name of the Amazon S3 bucket whose configuration you want to
|
3666
|
+
# modify or retrieve.
|
3667
|
+
#
|
3668
|
+
# @option params [required, String] :id
|
3669
|
+
# The ID used to identify the S3 Intelligent-Tiering configuration.
|
3670
|
+
#
|
3671
|
+
# @return [Types::GetBucketIntelligentTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3672
|
+
#
|
3673
|
+
# * {Types::GetBucketIntelligentTieringConfigurationOutput#intelligent_tiering_configuration #intelligent_tiering_configuration} => Types::IntelligentTieringConfiguration
|
3674
|
+
#
|
3675
|
+
# @example Request syntax with placeholder values
|
3676
|
+
#
|
3677
|
+
# resp = client.get_bucket_intelligent_tiering_configuration({
|
3678
|
+
# bucket: "BucketName", # required
|
3679
|
+
# id: "IntelligentTieringId", # required
|
3680
|
+
# })
|
3681
|
+
#
|
3682
|
+
# @example Response structure
|
3683
|
+
#
|
3684
|
+
# resp.intelligent_tiering_configuration.id #=> String
|
3685
|
+
# resp.intelligent_tiering_configuration.filter.prefix #=> String
|
3686
|
+
# resp.intelligent_tiering_configuration.filter.tag.key #=> String
|
3687
|
+
# resp.intelligent_tiering_configuration.filter.tag.value #=> String
|
3688
|
+
# resp.intelligent_tiering_configuration.filter.and.prefix #=> String
|
3689
|
+
# resp.intelligent_tiering_configuration.filter.and.tags #=> Array
|
3690
|
+
# resp.intelligent_tiering_configuration.filter.and.tags[0].key #=> String
|
3691
|
+
# resp.intelligent_tiering_configuration.filter.and.tags[0].value #=> String
|
3692
|
+
# resp.intelligent_tiering_configuration.status #=> String, one of "Enabled", "Disabled"
|
3693
|
+
# resp.intelligent_tiering_configuration.tierings #=> Array
|
3694
|
+
# resp.intelligent_tiering_configuration.tierings[0].days #=> Integer
|
3695
|
+
# resp.intelligent_tiering_configuration.tierings[0].access_tier #=> String, one of "ARCHIVE_ACCESS", "DEEP_ARCHIVE_ACCESS"
|
3696
|
+
#
|
3697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketIntelligentTieringConfiguration AWS API Documentation
|
3698
|
+
#
|
3699
|
+
# @overload get_bucket_intelligent_tiering_configuration(params = {})
|
3700
|
+
# @param [Hash] params ({})
|
3701
|
+
def get_bucket_intelligent_tiering_configuration(params = {}, options = {})
|
3702
|
+
req = build_request(:get_bucket_intelligent_tiering_configuration, params)
|
3703
|
+
req.send_request(options)
|
3704
|
+
end
|
3705
|
+
|
3562
3706
|
# Returns an inventory configuration (identified by the inventory
|
3563
3707
|
# configuration ID) from the bucket.
|
3564
3708
|
#
|
@@ -4299,6 +4443,9 @@ module Aws::S3
|
|
4299
4443
|
# retrieve.
|
4300
4444
|
#
|
4301
4445
|
# @option params [String] :expected_bucket_owner
|
4446
|
+
# The account id of the expected bucket owner. If the bucket is owned by
|
4447
|
+
# a different account, the request will fail with an HTTP `403 (Access
|
4448
|
+
# Denied)` error.
|
4302
4449
|
#
|
4303
4450
|
# @return [Types::GetBucketOwnershipControlsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4304
4451
|
#
|
@@ -4909,11 +5056,13 @@ module Aws::S3
|
|
4909
5056
|
# For more information about returning the ACL of an object, see
|
4910
5057
|
# [GetObjectAcl][3].
|
4911
5058
|
#
|
4912
|
-
# If the object you are retrieving is stored in the
|
4913
|
-
#
|
4914
|
-
#
|
4915
|
-
#
|
4916
|
-
#
|
5059
|
+
# If the object you are retrieving is stored in the S3 Glacier, S3
|
5060
|
+
# Glacier Deep Archive, S3 Intelligent-Tiering Archive, or S3
|
5061
|
+
# Intelligent-Tiering Deep Archive storage classes, before you can
|
5062
|
+
# retrieve the object you must first restore a copy using
|
5063
|
+
# [RestoreObject][4]. Otherwise, this operation returns an
|
5064
|
+
# `InvalidObjectStateError` error. For information about restoring
|
5065
|
+
# archived objects, see [Restoring Archived Objects][5].
|
4917
5066
|
#
|
4918
5067
|
# Encryption request headers, like `x-amz-server-side-encryption`,
|
4919
5068
|
# should not be sent for GET requests if your object uses server-side
|
@@ -5194,49 +5343,49 @@ module Aws::S3
|
|
5194
5343
|
# * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
|
5195
5344
|
#
|
5196
5345
|
#
|
5197
|
-
# @example Example: To retrieve an object
|
5346
|
+
# @example Example: To retrieve a byte range of an object
|
5198
5347
|
#
|
5199
|
-
# # The following example retrieves an object for an S3 bucket.
|
5348
|
+
# # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
|
5349
|
+
# # specific byte range.
|
5200
5350
|
#
|
5201
5351
|
# resp = client.get_object({
|
5202
5352
|
# bucket: "examplebucket",
|
5203
|
-
# key: "
|
5353
|
+
# key: "SampleFile.txt",
|
5354
|
+
# range: "bytes=0-9",
|
5204
5355
|
# })
|
5205
5356
|
#
|
5206
5357
|
# resp.to_h outputs the following:
|
5207
5358
|
# {
|
5208
5359
|
# accept_ranges: "bytes",
|
5209
|
-
# content_length:
|
5210
|
-
#
|
5211
|
-
#
|
5212
|
-
#
|
5360
|
+
# content_length: 10,
|
5361
|
+
# content_range: "bytes 0-9/43",
|
5362
|
+
# content_type: "text/plain",
|
5363
|
+
# etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
|
5364
|
+
# last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
|
5213
5365
|
# metadata: {
|
5214
5366
|
# },
|
5215
|
-
# tag_count: 2,
|
5216
5367
|
# version_id: "null",
|
5217
5368
|
# }
|
5218
5369
|
#
|
5219
|
-
# @example Example: To retrieve
|
5370
|
+
# @example Example: To retrieve an object
|
5220
5371
|
#
|
5221
|
-
# # The following example retrieves an object for an S3 bucket.
|
5222
|
-
# # specific byte range.
|
5372
|
+
# # The following example retrieves an object for an S3 bucket.
|
5223
5373
|
#
|
5224
5374
|
# resp = client.get_object({
|
5225
5375
|
# bucket: "examplebucket",
|
5226
|
-
# key: "
|
5227
|
-
# range: "bytes=0-9",
|
5376
|
+
# key: "HappyFace.jpg",
|
5228
5377
|
# })
|
5229
5378
|
#
|
5230
5379
|
# resp.to_h outputs the following:
|
5231
5380
|
# {
|
5232
5381
|
# accept_ranges: "bytes",
|
5233
|
-
# content_length:
|
5234
|
-
#
|
5235
|
-
#
|
5236
|
-
#
|
5237
|
-
# last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
|
5382
|
+
# content_length: 3191,
|
5383
|
+
# content_type: "image/jpeg",
|
5384
|
+
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5385
|
+
# last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
|
5238
5386
|
# metadata: {
|
5239
5387
|
# },
|
5388
|
+
# tag_count: 2,
|
5240
5389
|
# version_id: "null",
|
5241
5390
|
# }
|
5242
5391
|
#
|
@@ -5771,49 +5920,49 @@ module Aws::S3
|
|
5771
5920
|
# * {Types::GetObjectTaggingOutput#tag_set #tag_set} => Array<Types::Tag>
|
5772
5921
|
#
|
5773
5922
|
#
|
5774
|
-
# @example Example: To retrieve tag set of
|
5923
|
+
# @example Example: To retrieve tag set of an object
|
5775
5924
|
#
|
5776
|
-
# # The following example retrieves tag set of an object.
|
5925
|
+
# # The following example retrieves tag set of an object.
|
5777
5926
|
#
|
5778
5927
|
# resp = client.get_object_tagging({
|
5779
5928
|
# bucket: "examplebucket",
|
5780
|
-
# key: "
|
5781
|
-
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
5929
|
+
# key: "HappyFace.jpg",
|
5782
5930
|
# })
|
5783
5931
|
#
|
5784
5932
|
# resp.to_h outputs the following:
|
5785
5933
|
# {
|
5786
5934
|
# tag_set: [
|
5787
5935
|
# {
|
5788
|
-
# key: "
|
5789
|
-
# value: "
|
5936
|
+
# key: "Key4",
|
5937
|
+
# value: "Value4",
|
5938
|
+
# },
|
5939
|
+
# {
|
5940
|
+
# key: "Key3",
|
5941
|
+
# value: "Value3",
|
5790
5942
|
# },
|
5791
5943
|
# ],
|
5792
|
-
# version_id: "
|
5944
|
+
# version_id: "null",
|
5793
5945
|
# }
|
5794
5946
|
#
|
5795
|
-
# @example Example: To retrieve tag set of
|
5947
|
+
# @example Example: To retrieve tag set of a specific object version
|
5796
5948
|
#
|
5797
|
-
# # The following example retrieves tag set of an object.
|
5949
|
+
# # The following example retrieves tag set of an object. The request specifies object version.
|
5798
5950
|
#
|
5799
5951
|
# resp = client.get_object_tagging({
|
5800
5952
|
# bucket: "examplebucket",
|
5801
|
-
# key: "
|
5953
|
+
# key: "exampleobject",
|
5954
|
+
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
5802
5955
|
# })
|
5803
5956
|
#
|
5804
5957
|
# resp.to_h outputs the following:
|
5805
5958
|
# {
|
5806
5959
|
# tag_set: [
|
5807
5960
|
# {
|
5808
|
-
# key: "
|
5809
|
-
# value: "
|
5810
|
-
# },
|
5811
|
-
# {
|
5812
|
-
# key: "Key3",
|
5813
|
-
# value: "Value3",
|
5961
|
+
# key: "Key1",
|
5962
|
+
# value: "Value1",
|
5814
5963
|
# },
|
5815
5964
|
# ],
|
5816
|
-
# version_id: "
|
5965
|
+
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
5817
5966
|
# }
|
5818
5967
|
#
|
5819
5968
|
# @example Request syntax with placeholder values
|
@@ -6275,6 +6424,7 @@ module Aws::S3
|
|
6275
6424
|
# * {Types::HeadObjectOutput#accept_ranges #accept_ranges} => String
|
6276
6425
|
# * {Types::HeadObjectOutput#expiration #expiration} => String
|
6277
6426
|
# * {Types::HeadObjectOutput#restore #restore} => String
|
6427
|
+
# * {Types::HeadObjectOutput#archive_status #archive_status} => String
|
6278
6428
|
# * {Types::HeadObjectOutput#last_modified #last_modified} => Time
|
6279
6429
|
# * {Types::HeadObjectOutput#content_length #content_length} => Integer
|
6280
6430
|
# * {Types::HeadObjectOutput#etag #etag} => String
|
@@ -6348,6 +6498,7 @@ module Aws::S3
|
|
6348
6498
|
# resp.accept_ranges #=> String
|
6349
6499
|
# resp.expiration #=> String
|
6350
6500
|
# resp.restore #=> String
|
6501
|
+
# resp.archive_status #=> String, one of "ARCHIVE_ACCESS", "DEEP_ARCHIVE_ACCESS"
|
6351
6502
|
# resp.last_modified #=> Time
|
6352
6503
|
# resp.content_length #=> Integer
|
6353
6504
|
# resp.etag #=> String
|
@@ -6488,6 +6639,93 @@ module Aws::S3
|
|
6488
6639
|
req.send_request(options)
|
6489
6640
|
end
|
6490
6641
|
|
6642
|
+
# Lists the S3 Intelligent-Tiering configuration from the specified
|
6643
|
+
# bucket.
|
6644
|
+
#
|
6645
|
+
# The S3 Intelligent-Tiering storage class is designed to optimize
|
6646
|
+
# storage costs by automatically moving data to the most cost-effective
|
6647
|
+
# storage access tier, without additional operational overhead. S3
|
6648
|
+
# Intelligent-Tiering delivers automatic cost savings by moving data
|
6649
|
+
# between access tiers, when access patterns change.
|
6650
|
+
#
|
6651
|
+
# The S3 Intelligent-Tiering storage class is suitable for objects
|
6652
|
+
# larger than 128 KB that you plan to store for at least 30 days. If the
|
6653
|
+
# size of an object is less than 128 KB, it is not eligible for
|
6654
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
6655
|
+
# charged at the frequent access tier rates in the S3
|
6656
|
+
# Intelligent-Tiering storage class.
|
6657
|
+
#
|
6658
|
+
# If you delete an object before the end of the 30-day minimum storage
|
6659
|
+
# duration period, you are charged for 30 days. For more information,
|
6660
|
+
# see [Storage class for automatically optimizing frequently and
|
6661
|
+
# infrequently accessed objects][1].
|
6662
|
+
#
|
6663
|
+
# Operations related to `ListBucketIntelligentTieringConfigurations`
|
6664
|
+
# include:
|
6665
|
+
#
|
6666
|
+
# * [DeleteBucketIntelligentTieringConfiguration][2]
|
6667
|
+
#
|
6668
|
+
# * [PutBucketIntelligentTieringConfiguration][3]
|
6669
|
+
#
|
6670
|
+
# * [GetBucketIntelligentTieringConfiguration][4]
|
6671
|
+
#
|
6672
|
+
#
|
6673
|
+
#
|
6674
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access
|
6675
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html
|
6676
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html
|
6677
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html
|
6678
|
+
#
|
6679
|
+
# @option params [required, String] :bucket
|
6680
|
+
# The name of the Amazon S3 bucket whose configuration you want to
|
6681
|
+
# modify or retrieve.
|
6682
|
+
#
|
6683
|
+
# @option params [String] :continuation_token
|
6684
|
+
# The ContinuationToken that represents a placeholder from where this
|
6685
|
+
# request should begin.
|
6686
|
+
#
|
6687
|
+
# @return [Types::ListBucketIntelligentTieringConfigurationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6688
|
+
#
|
6689
|
+
# * {Types::ListBucketIntelligentTieringConfigurationsOutput#is_truncated #is_truncated} => Boolean
|
6690
|
+
# * {Types::ListBucketIntelligentTieringConfigurationsOutput#continuation_token #continuation_token} => String
|
6691
|
+
# * {Types::ListBucketIntelligentTieringConfigurationsOutput#next_continuation_token #next_continuation_token} => String
|
6692
|
+
# * {Types::ListBucketIntelligentTieringConfigurationsOutput#intelligent_tiering_configuration_list #intelligent_tiering_configuration_list} => Array<Types::IntelligentTieringConfiguration>
|
6693
|
+
#
|
6694
|
+
# @example Request syntax with placeholder values
|
6695
|
+
#
|
6696
|
+
# resp = client.list_bucket_intelligent_tiering_configurations({
|
6697
|
+
# bucket: "BucketName", # required
|
6698
|
+
# continuation_token: "Token",
|
6699
|
+
# })
|
6700
|
+
#
|
6701
|
+
# @example Response structure
|
6702
|
+
#
|
6703
|
+
# resp.is_truncated #=> Boolean
|
6704
|
+
# resp.continuation_token #=> String
|
6705
|
+
# resp.next_continuation_token #=> String
|
6706
|
+
# resp.intelligent_tiering_configuration_list #=> Array
|
6707
|
+
# resp.intelligent_tiering_configuration_list[0].id #=> String
|
6708
|
+
# resp.intelligent_tiering_configuration_list[0].filter.prefix #=> String
|
6709
|
+
# resp.intelligent_tiering_configuration_list[0].filter.tag.key #=> String
|
6710
|
+
# resp.intelligent_tiering_configuration_list[0].filter.tag.value #=> String
|
6711
|
+
# resp.intelligent_tiering_configuration_list[0].filter.and.prefix #=> String
|
6712
|
+
# resp.intelligent_tiering_configuration_list[0].filter.and.tags #=> Array
|
6713
|
+
# resp.intelligent_tiering_configuration_list[0].filter.and.tags[0].key #=> String
|
6714
|
+
# resp.intelligent_tiering_configuration_list[0].filter.and.tags[0].value #=> String
|
6715
|
+
# resp.intelligent_tiering_configuration_list[0].status #=> String, one of "Enabled", "Disabled"
|
6716
|
+
# resp.intelligent_tiering_configuration_list[0].tierings #=> Array
|
6717
|
+
# resp.intelligent_tiering_configuration_list[0].tierings[0].days #=> Integer
|
6718
|
+
# resp.intelligent_tiering_configuration_list[0].tierings[0].access_tier #=> String, one of "ARCHIVE_ACCESS", "DEEP_ARCHIVE_ACCESS"
|
6719
|
+
#
|
6720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketIntelligentTieringConfigurations AWS API Documentation
|
6721
|
+
#
|
6722
|
+
# @overload list_bucket_intelligent_tiering_configurations(params = {})
|
6723
|
+
# @param [Hash] params ({})
|
6724
|
+
def list_bucket_intelligent_tiering_configurations(params = {}, options = {})
|
6725
|
+
req = build_request(:list_bucket_intelligent_tiering_configurations, params)
|
6726
|
+
req.send_request(options)
|
6727
|
+
end
|
6728
|
+
|
6491
6729
|
# Returns a list of inventory configurations for the bucket. You can
|
6492
6730
|
# have up to 1,000 analytics configurations per bucket.
|
6493
6731
|
#
|
@@ -8513,6 +8751,96 @@ module Aws::S3
|
|
8513
8751
|
req.send_request(options)
|
8514
8752
|
end
|
8515
8753
|
|
8754
|
+
# Puts a S3 Intelligent-Tiering configuration to the specified bucket.
|
8755
|
+
#
|
8756
|
+
# The S3 Intelligent-Tiering storage class is designed to optimize
|
8757
|
+
# storage costs by automatically moving data to the most cost-effective
|
8758
|
+
# storage access tier, without additional operational overhead. S3
|
8759
|
+
# Intelligent-Tiering delivers automatic cost savings by moving data
|
8760
|
+
# between access tiers, when access patterns change.
|
8761
|
+
#
|
8762
|
+
# The S3 Intelligent-Tiering storage class is suitable for objects
|
8763
|
+
# larger than 128 KB that you plan to store for at least 30 days. If the
|
8764
|
+
# size of an object is less than 128 KB, it is not eligible for
|
8765
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
8766
|
+
# charged at the frequent access tier rates in the S3
|
8767
|
+
# Intelligent-Tiering storage class.
|
8768
|
+
#
|
8769
|
+
# If you delete an object before the end of the 30-day minimum storage
|
8770
|
+
# duration period, you are charged for 30 days. For more information,
|
8771
|
+
# see [Storage class for automatically optimizing frequently and
|
8772
|
+
# infrequently accessed objects][1].
|
8773
|
+
#
|
8774
|
+
# Operations related to `PutBucketIntelligentTieringConfiguration`
|
8775
|
+
# include:
|
8776
|
+
#
|
8777
|
+
# * [DeleteBucketIntelligentTieringConfiguration][2]
|
8778
|
+
#
|
8779
|
+
# * [GetBucketIntelligentTieringConfiguration][3]
|
8780
|
+
#
|
8781
|
+
# * [ListBucketIntelligentTieringConfigurations][4]
|
8782
|
+
#
|
8783
|
+
#
|
8784
|
+
#
|
8785
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access
|
8786
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html
|
8787
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html
|
8788
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html
|
8789
|
+
#
|
8790
|
+
# @option params [required, String] :bucket
|
8791
|
+
# The name of the Amazon S3 bucket whose configuration you want to
|
8792
|
+
# modify or retrieve.
|
8793
|
+
#
|
8794
|
+
# @option params [required, String] :id
|
8795
|
+
# The ID used to identify the S3 Intelligent-Tiering configuration.
|
8796
|
+
#
|
8797
|
+
# @option params [required, Types::IntelligentTieringConfiguration] :intelligent_tiering_configuration
|
8798
|
+
# Container for S3 Intelligent-Tiering configuration.
|
8799
|
+
#
|
8800
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8801
|
+
#
|
8802
|
+
# @example Request syntax with placeholder values
|
8803
|
+
#
|
8804
|
+
# resp = client.put_bucket_intelligent_tiering_configuration({
|
8805
|
+
# bucket: "BucketName", # required
|
8806
|
+
# id: "IntelligentTieringId", # required
|
8807
|
+
# intelligent_tiering_configuration: { # required
|
8808
|
+
# id: "IntelligentTieringId", # required
|
8809
|
+
# filter: {
|
8810
|
+
# prefix: "Prefix",
|
8811
|
+
# tag: {
|
8812
|
+
# key: "ObjectKey", # required
|
8813
|
+
# value: "Value", # required
|
8814
|
+
# },
|
8815
|
+
# and: {
|
8816
|
+
# prefix: "Prefix",
|
8817
|
+
# tags: [
|
8818
|
+
# {
|
8819
|
+
# key: "ObjectKey", # required
|
8820
|
+
# value: "Value", # required
|
8821
|
+
# },
|
8822
|
+
# ],
|
8823
|
+
# },
|
8824
|
+
# },
|
8825
|
+
# status: "Enabled", # required, accepts Enabled, Disabled
|
8826
|
+
# tierings: [ # required
|
8827
|
+
# {
|
8828
|
+
# days: 1, # required
|
8829
|
+
# access_tier: "ARCHIVE_ACCESS", # required, accepts ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS
|
8830
|
+
# },
|
8831
|
+
# ],
|
8832
|
+
# },
|
8833
|
+
# })
|
8834
|
+
#
|
8835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketIntelligentTieringConfiguration AWS API Documentation
|
8836
|
+
#
|
8837
|
+
# @overload put_bucket_intelligent_tiering_configuration(params = {})
|
8838
|
+
# @param [Hash] params ({})
|
8839
|
+
def put_bucket_intelligent_tiering_configuration(params = {}, options = {})
|
8840
|
+
req = build_request(:put_bucket_intelligent_tiering_configuration, params)
|
8841
|
+
req.send_request(options)
|
8842
|
+
end
|
8843
|
+
|
8516
8844
|
# This implementation of the `PUT` operation adds an inventory
|
8517
8845
|
# configuration (identified by the inventory ID) to the bucket. You can
|
8518
8846
|
# have up to 1,000 inventory configurations per bucket.
|
@@ -9431,14 +9759,14 @@ module Aws::S3
|
|
9431
9759
|
end
|
9432
9760
|
|
9433
9761
|
# Creates or modifies `OwnershipControls` for an Amazon S3 bucket. To
|
9434
|
-
# use this operation, you must have the `s3:
|
9762
|
+
# use this operation, you must have the `s3:PutBucketOwnershipControls`
|
9435
9763
|
# permission. For more information about Amazon S3 permissions, see
|
9436
9764
|
# [Specifying Permissions in a Policy][1].
|
9437
9765
|
#
|
9438
9766
|
# For information about Amazon S3 Object Ownership, see [Using Object
|
9439
9767
|
# Ownership][2].
|
9440
9768
|
#
|
9441
|
-
# The following operations are related to `
|
9769
|
+
# The following operations are related to `PutBucketOwnershipControls`\:
|
9442
9770
|
#
|
9443
9771
|
# * GetBucketOwnershipControls
|
9444
9772
|
#
|
@@ -9457,6 +9785,9 @@ module Aws::S3
|
|
9457
9785
|
# The MD5 hash of the `OwnershipControls` request body.
|
9458
9786
|
#
|
9459
9787
|
# @option params [String] :expected_bucket_owner
|
9788
|
+
# The account id of the expected bucket owner. If the bucket is owned by
|
9789
|
+
# a different account, the request will fail with an HTTP `403 (Access
|
9790
|
+
# Denied)` error.
|
9460
9791
|
#
|
9461
9792
|
# @option params [required, Types::OwnershipControls] :ownership_controls
|
9462
9793
|
# The `OwnershipControls` (BucketOwnerPreferred or ObjectWriter) that
|
@@ -9664,6 +9995,7 @@ module Aws::S3
|
|
9664
9995
|
# maximum size of a replication configuration is 2 MB.
|
9665
9996
|
#
|
9666
9997
|
# @option params [String] :token
|
9998
|
+
# A token to allow Object Lock to be enabled for an existing bucket.
|
9667
9999
|
#
|
9668
10000
|
# @option params [String] :expected_bucket_owner
|
9669
10001
|
# The account id of the expected bucket owner. If the bucket is owned by
|
@@ -9749,7 +10081,7 @@ module Aws::S3
|
|
9749
10081
|
# },
|
9750
10082
|
# metrics: {
|
9751
10083
|
# status: "Enabled", # required, accepts Enabled, Disabled
|
9752
|
-
# event_threshold: {
|
10084
|
+
# event_threshold: {
|
9753
10085
|
# minutes: 1,
|
9754
10086
|
# },
|
9755
10087
|
# },
|
@@ -10593,23 +10925,6 @@ module Aws::S3
|
|
10593
10925
|
# * {Types::PutObjectOutput#request_charged #request_charged} => String
|
10594
10926
|
#
|
10595
10927
|
#
|
10596
|
-
# @example Example: To upload an object
|
10597
|
-
#
|
10598
|
-
# # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
|
10599
|
-
# # syntax. S3 returns VersionId of the newly created object.
|
10600
|
-
#
|
10601
|
-
# resp = client.put_object({
|
10602
|
-
# body: "HappyFace.jpg",
|
10603
|
-
# bucket: "examplebucket",
|
10604
|
-
# key: "HappyFace.jpg",
|
10605
|
-
# })
|
10606
|
-
#
|
10607
|
-
# resp.to_h outputs the following:
|
10608
|
-
# {
|
10609
|
-
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
10610
|
-
# version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
|
10611
|
-
# }
|
10612
|
-
#
|
10613
10928
|
# @example Example: To upload object and specify user-defined metadata
|
10614
10929
|
#
|
10615
10930
|
# # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
|
@@ -10631,24 +10946,20 @@ module Aws::S3
|
|
10631
10946
|
# version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
|
10632
10947
|
# }
|
10633
10948
|
#
|
10634
|
-
# @example Example: To
|
10949
|
+
# @example Example: To create an object.
|
10635
10950
|
#
|
10636
|
-
# # The following example
|
10637
|
-
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
10951
|
+
# # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
10638
10952
|
#
|
10639
10953
|
# resp = client.put_object({
|
10640
10954
|
# body: "filetoupload",
|
10641
10955
|
# bucket: "examplebucket",
|
10642
|
-
# key: "
|
10643
|
-
# server_side_encryption: "AES256",
|
10644
|
-
# tagging: "key1=value1&key2=value2",
|
10956
|
+
# key: "objectkey",
|
10645
10957
|
# })
|
10646
10958
|
#
|
10647
10959
|
# resp.to_h outputs the following:
|
10648
10960
|
# {
|
10649
10961
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
10650
|
-
#
|
10651
|
-
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
10962
|
+
# version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
|
10652
10963
|
# }
|
10653
10964
|
#
|
10654
10965
|
# @example Example: To upload an object and specify optional tags
|
@@ -10669,24 +10980,24 @@ module Aws::S3
|
|
10669
10980
|
# version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
|
10670
10981
|
# }
|
10671
10982
|
#
|
10672
|
-
# @example Example: To upload an object
|
10983
|
+
# @example Example: To upload an object and specify server-side encryption and object tags
|
10673
10984
|
#
|
10674
|
-
# # The following example uploads
|
10675
|
-
# #
|
10985
|
+
# # The following example uploads and object. The request specifies the optional server-side encryption option. The request
|
10986
|
+
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
10676
10987
|
#
|
10677
10988
|
# resp = client.put_object({
|
10678
|
-
# body: "
|
10989
|
+
# body: "filetoupload",
|
10679
10990
|
# bucket: "examplebucket",
|
10680
|
-
# key: "
|
10991
|
+
# key: "exampleobject",
|
10681
10992
|
# server_side_encryption: "AES256",
|
10682
|
-
#
|
10993
|
+
# tagging: "key1=value1&key2=value2",
|
10683
10994
|
# })
|
10684
10995
|
#
|
10685
10996
|
# resp.to_h outputs the following:
|
10686
10997
|
# {
|
10687
10998
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
10688
10999
|
# server_side_encryption: "AES256",
|
10689
|
-
# version_id: "
|
11000
|
+
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
10690
11001
|
# }
|
10691
11002
|
#
|
10692
11003
|
# @example Example: To upload an object and specify canned ACL.
|
@@ -10707,20 +11018,41 @@ module Aws::S3
|
|
10707
11018
|
# version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
|
10708
11019
|
# }
|
10709
11020
|
#
|
10710
|
-
# @example Example: To
|
11021
|
+
# @example Example: To upload an object (specify optional headers)
|
10711
11022
|
#
|
10712
|
-
# # The following example
|
11023
|
+
# # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
|
11024
|
+
# # storage class and use server-side encryption.
|
10713
11025
|
#
|
10714
11026
|
# resp = client.put_object({
|
10715
|
-
# body: "
|
11027
|
+
# body: "HappyFace.jpg",
|
10716
11028
|
# bucket: "examplebucket",
|
10717
|
-
# key: "
|
11029
|
+
# key: "HappyFace.jpg",
|
11030
|
+
# server_side_encryption: "AES256",
|
11031
|
+
# storage_class: "STANDARD_IA",
|
10718
11032
|
# })
|
10719
11033
|
#
|
10720
11034
|
# resp.to_h outputs the following:
|
10721
11035
|
# {
|
10722
11036
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
10723
|
-
#
|
11037
|
+
# server_side_encryption: "AES256",
|
11038
|
+
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
11039
|
+
# }
|
11040
|
+
#
|
11041
|
+
# @example Example: To upload an object
|
11042
|
+
#
|
11043
|
+
# # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
|
11044
|
+
# # syntax. S3 returns VersionId of the newly created object.
|
11045
|
+
#
|
11046
|
+
# resp = client.put_object({
|
11047
|
+
# body: "HappyFace.jpg",
|
11048
|
+
# bucket: "examplebucket",
|
11049
|
+
# key: "HappyFace.jpg",
|
11050
|
+
# })
|
11051
|
+
#
|
11052
|
+
# resp.to_h outputs the following:
|
11053
|
+
# {
|
11054
|
+
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11055
|
+
# version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
|
10724
11056
|
# }
|
10725
11057
|
#
|
10726
11058
|
# @example Streaming a file from disk
|
@@ -11734,64 +12066,65 @@ module Aws::S3
|
|
11734
12066
|
#
|
11735
12067
|
# **Restoring Archives**
|
11736
12068
|
#
|
11737
|
-
# Objects
|
11738
|
-
#
|
11739
|
-
#
|
11740
|
-
#
|
11741
|
-
#
|
11742
|
-
# the
|
11743
|
-
#
|
12069
|
+
# Objects that you archive to the S3 Glacier, S3 Glacier Deep Archive,
|
12070
|
+
# S3 Intelligent-Tiering Archive, or S3 Intelligent-Tiering Deep Archive
|
12071
|
+
# storage classes are not accessible in real time. For objects in
|
12072
|
+
# Archive Access tier or Deep Archive Access tier you must first
|
12073
|
+
# initiate a restore request, and then wait until the object is moved
|
12074
|
+
# into the Frequent Access tier. For objects in S3 Glacier or S3 Glacier
|
12075
|
+
# Deep Archive you must first initiate a restore request, and then wait
|
12076
|
+
# until a temporary copy of the object is available. To access an
|
12077
|
+
# archived object, you must restore the object for the duration (number
|
12078
|
+
# of days) that you specify.
|
11744
12079
|
#
|
11745
12080
|
# To restore a specific object version, you can provide a version ID. If
|
11746
12081
|
# you don't provide a version ID, Amazon S3 restores the current
|
11747
12082
|
# version.
|
11748
12083
|
#
|
11749
|
-
# The time it takes restore jobs to finish depends on which storage
|
11750
|
-
# class the object is being restored from and which data access tier you
|
11751
|
-
# specify.
|
11752
|
-
#
|
11753
12084
|
# When restoring an archived object (or using a select request), you can
|
11754
12085
|
# specify one of the following data access tier options in the `Tier`
|
11755
12086
|
# element of the request body:
|
11756
12087
|
#
|
11757
12088
|
# * <b> <code>Expedited</code> </b> - Expedited retrievals allow you to
|
11758
|
-
# quickly access your data stored in the
|
11759
|
-
#
|
11760
|
-
#
|
11761
|
-
#
|
11762
|
-
#
|
11763
|
-
#
|
11764
|
-
# retrievals
|
11765
|
-
#
|
11766
|
-
#
|
11767
|
-
#
|
12089
|
+
# quickly access your data stored in the S3 Glacier or S3
|
12090
|
+
# Intelligent-Tiering Archive storage class when occasional urgent
|
12091
|
+
# requests for a subset of archives are required. For all but the
|
12092
|
+
# largest archived objects (250 MB+), data accessed using Expedited
|
12093
|
+
# retrievals is typically made available within 1–5 minutes.
|
12094
|
+
# Provisioned capacity ensures that retrieval capacity for Expedited
|
12095
|
+
# retrievals is available when you need it. Expedited retrievals and
|
12096
|
+
# provisioned capacity are not available for objects stored in the S3
|
12097
|
+
# Glacier Deep Archive or S3 Intelligent-Tiering Deep Archive storage
|
12098
|
+
# class.
|
12099
|
+
#
|
12100
|
+
# * <b> <code>Standard</code> </b> - Standard retrievals allow you to
|
11768
12101
|
# access any of your archived objects within several hours. This is
|
11769
|
-
# the default option for
|
11770
|
-
#
|
11771
|
-
#
|
11772
|
-
# storage class
|
11773
|
-
#
|
11774
|
-
#
|
11775
|
-
#
|
11776
|
-
#
|
11777
|
-
#
|
11778
|
-
#
|
11779
|
-
#
|
11780
|
-
#
|
12102
|
+
# the default option for retrieval requests that do not specify the
|
12103
|
+
# retrieval option. Standard retrievals typically finish within 3–5
|
12104
|
+
# hours for objects stored in the S3 Glacier or S3 Intelligent-Tiering
|
12105
|
+
# Archive storage class. They typically finish within 12 hours for
|
12106
|
+
# objects stored in the S3 Glacier Deep Archive or S3
|
12107
|
+
# Intelligent-Tiering Deep Archive storage class. Standard retrievals
|
12108
|
+
# are free for objects stored in S3 Intelligent-Tiering.
|
12109
|
+
#
|
12110
|
+
# * <b> <code>Bulk</code> </b> - Bulk retrievals are the lowest-cost
|
12111
|
+
# retrieval option in S3 Glacier, enabling you to retrieve large
|
12112
|
+
# amounts, even petabytes, of data inexpensively. Bulk retrievals
|
12113
|
+
# typically finish within 5–12 hours for objects stored in the S3
|
12114
|
+
# Glacier or S3 Intelligent-Tiering Archive storage class. They
|
12115
|
+
# typically finish within 48 hours for objects stored in the S3
|
12116
|
+
# Glacier Deep Archive or S3 Intelligent-Tiering Deep Archive storage
|
12117
|
+
# class. Bulk retrievals are free for objects stored in S3
|
12118
|
+
# Intelligent-Tiering.
|
11781
12119
|
#
|
11782
12120
|
# For more information about archive retrieval options and provisioned
|
11783
12121
|
# capacity for `Expedited` data access, see [Restoring Archived
|
11784
12122
|
# Objects][8] in the *Amazon Simple Storage Service Developer Guide*.
|
11785
12123
|
#
|
11786
12124
|
# You can use Amazon S3 restore speed upgrade to change the restore
|
11787
|
-
# speed to a faster speed while it is in progress.
|
11788
|
-
# of an in-progress
|
11789
|
-
#
|
11790
|
-
# request to upgrade the restore tier, you must choose a tier that is
|
11791
|
-
# faster than the tier that the in-progress restore is using. You must
|
11792
|
-
# not change any other parameters, such as the `Days` request element.
|
11793
|
-
# For more information, see [ Upgrading the Speed of an In-Progress
|
11794
|
-
# Restore][9] in the *Amazon Simple Storage Service Developer Guide*.
|
12125
|
+
# speed to a faster speed while it is in progress. For more information,
|
12126
|
+
# see [ Upgrading the speed of an in-progress restore][9] in the *Amazon
|
12127
|
+
# Simple Storage Service Developer Guide*.
|
11795
12128
|
#
|
11796
12129
|
# To get the status of object restoration, you can send a `HEAD`
|
11797
12130
|
# request. Operations return the `x-amz-restore` header, which provides
|
@@ -11822,11 +12155,11 @@ module Aws::S3
|
|
11822
12155
|
# A successful operation returns either the `200 OK` or `202 Accepted`
|
11823
12156
|
# status code.
|
11824
12157
|
#
|
11825
|
-
# * If the object
|
11826
|
-
#
|
12158
|
+
# * If the object is not previously restored, then Amazon S3 returns
|
12159
|
+
# `202 Accepted` in the response.
|
11827
12160
|
#
|
11828
|
-
# * If the object
|
11829
|
-
#
|
12161
|
+
# * If the object is previously restored, Amazon S3 returns `200 OK` in
|
12162
|
+
# the response.
|
11830
12163
|
#
|
11831
12164
|
# **Special Errors**
|
11832
12165
|
#
|
@@ -11841,11 +12174,10 @@ module Aws::S3
|
|
11841
12174
|
#
|
11842
12175
|
# * * *Code: GlacierExpeditedRetrievalNotAvailable*
|
11843
12176
|
#
|
11844
|
-
# * *Cause:
|
11845
|
-
#
|
11846
|
-
#
|
11847
|
-
#
|
11848
|
-
# retrievals.)*
|
12177
|
+
# * *Cause: expedited retrievals are currently not available. Try
|
12178
|
+
# again later. (Returned if there is insufficient capacity to
|
12179
|
+
# process the Expedited request. This error applies only to
|
12180
|
+
# Expedited retrievals and not to S3 Standard or Bulk retrievals.)*
|
11849
12181
|
#
|
11850
12182
|
# * *HTTP Status Code: 503*
|
11851
12183
|
#
|
@@ -11877,7 +12209,7 @@ module Aws::S3
|
|
11877
12209
|
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html
|
11878
12210
|
#
|
11879
12211
|
# @option params [required, String] :bucket
|
11880
|
-
# The bucket name
|
12212
|
+
# The bucket name containing the object to restore.
|
11881
12213
|
#
|
11882
12214
|
# When using this API with an access point, you must direct requests to
|
11883
12215
|
# the access point hostname. The access point hostname takes the form
|
@@ -13123,7 +13455,7 @@ module Aws::S3
|
|
13123
13455
|
params: params,
|
13124
13456
|
config: config)
|
13125
13457
|
context[:gem_name] = 'aws-sdk-s3'
|
13126
|
-
context[:gem_version] = '1.
|
13458
|
+
context[:gem_version] = '1.84.0'
|
13127
13459
|
Seahorse::Client::Request.new(handlers, context)
|
13128
13460
|
end
|
13129
13461
|
|