aws-sdk-s3 1.35.0 → 1.36.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/bucket.rb +1 -1
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
- data/lib/aws-sdk-s3/client.rb +160 -117
- data/lib/aws-sdk-s3/object.rb +4 -4
- data/lib/aws-sdk-s3/object_summary.rb +4 -4
- data/lib/aws-sdk-s3/types.rb +38 -37
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3507a9c4cd4bac71b7048e89787dab00eab7ff6f
|
4
|
+
data.tar.gz: 4e1e7385af5c0f6c23d7b4a605cc64e2932d3024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c064105aa1233fbcacd3da1af1341f6ea764880411aa0433d37da5a87d0152cdba87f174875dd626dc0ed55bc13537a0269a26db90ed11721988654d37be9dbb
|
7
|
+
data.tar.gz: 718546e909eaaf667ca8c6ae88bfda6e160adfabf622ca3818d4c82ee7f703eb976af472931b0c58276e1633d6f23355083a10aa6f36ea0a13ba21999b31ed83
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -322,7 +322,7 @@ module Aws::S3
|
|
322
322
|
# "MetadataKey" => "MetadataValue",
|
323
323
|
# },
|
324
324
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
325
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
325
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
326
326
|
# website_redirect_location: "WebsiteRedirectLocation",
|
327
327
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
328
328
|
# sse_customer_key: "SSECustomerKey",
|
@@ -197,11 +197,11 @@ module Aws::S3
|
|
197
197
|
# transition: {
|
198
198
|
# date: Time.now,
|
199
199
|
# days: 1,
|
200
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
200
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
201
201
|
# },
|
202
202
|
# noncurrent_version_transition: {
|
203
203
|
# noncurrent_days: 1,
|
204
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
204
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
205
205
|
# },
|
206
206
|
# noncurrent_version_expiration: {
|
207
207
|
# noncurrent_days: 1,
|
@@ -213,13 +213,13 @@ module Aws::S3
|
|
213
213
|
# {
|
214
214
|
# date: Time.now,
|
215
215
|
# days: 1,
|
216
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
216
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
217
217
|
# },
|
218
218
|
# ],
|
219
219
|
# noncurrent_version_transitions: [
|
220
220
|
# {
|
221
221
|
# noncurrent_days: 1,
|
222
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
222
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
223
223
|
# },
|
224
224
|
# ],
|
225
225
|
# noncurrent_version_expiration: {
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -264,6 +264,49 @@ module Aws::S3
|
|
264
264
|
# When `true`, request parameters are validated before
|
265
265
|
# sending the request.
|
266
266
|
#
|
267
|
+
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
268
|
+
# requests through. Formatted like 'http://proxy.com:123'.
|
269
|
+
#
|
270
|
+
# @option options [Float] :http_open_timeout (15) The number of
|
271
|
+
# seconds to wait when opening a HTTP session before rasing a
|
272
|
+
# `Timeout::Error`.
|
273
|
+
#
|
274
|
+
# @option options [Integer] :http_read_timeout (60) The default
|
275
|
+
# number of seconds to wait for response data. This value can
|
276
|
+
# safely be set
|
277
|
+
# per-request on the session yeidled by {#session_for}.
|
278
|
+
#
|
279
|
+
# @option options [Float] :http_idle_timeout (5) The number of
|
280
|
+
# seconds a connection is allowed to sit idble before it is
|
281
|
+
# considered stale. Stale connections are closed and removed
|
282
|
+
# from the pool before making a request.
|
283
|
+
#
|
284
|
+
# @option options [Float] :http_continue_timeout (1) The number of
|
285
|
+
# seconds to wait for a 100-continue response before sending the
|
286
|
+
# request body. This option has no effect unless the request has
|
287
|
+
# "Expect" header set to "100-continue". Defaults to `nil` which
|
288
|
+
# disables this behaviour. This value can safely be set per
|
289
|
+
# request on the session yeidled by {#session_for}.
|
290
|
+
#
|
291
|
+
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
292
|
+
# HTTP debug output will be sent to the `:logger`.
|
293
|
+
#
|
294
|
+
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
|
295
|
+
# SSL peer certificates are verified when establishing a
|
296
|
+
# connection.
|
297
|
+
#
|
298
|
+
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
299
|
+
# certificate authority bundle file that should be used when
|
300
|
+
# verifying peer certificates. If you do not pass
|
301
|
+
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
302
|
+
# will be used if available.
|
303
|
+
#
|
304
|
+
# @option options [String] :ssl_ca_directory Full path of the
|
305
|
+
# directory that contains the unbundled SSL certificate
|
306
|
+
# authority files for verifying peer certificates. If you do
|
307
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
308
|
+
# system default will be used if available.
|
309
|
+
#
|
267
310
|
def initialize(*args)
|
268
311
|
super
|
269
312
|
end
|
@@ -628,7 +671,7 @@ module Aws::S3
|
|
628
671
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
629
672
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
630
673
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
631
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
674
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
632
675
|
# website_redirect_location: "WebsiteRedirectLocation",
|
633
676
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
634
677
|
# sse_customer_key: "SSECustomerKey",
|
@@ -701,33 +744,33 @@ module Aws::S3
|
|
701
744
|
# * {Types::CreateBucketOutput#location #location} => String
|
702
745
|
#
|
703
746
|
#
|
704
|
-
# @example Example: To create a bucket
|
747
|
+
# @example Example: To create a bucket in a specific region
|
705
748
|
#
|
706
|
-
# # The following example creates a bucket.
|
749
|
+
# # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
|
707
750
|
#
|
708
751
|
# resp = client.create_bucket({
|
709
752
|
# bucket: "examplebucket",
|
753
|
+
# create_bucket_configuration: {
|
754
|
+
# location_constraint: "eu-west-1",
|
755
|
+
# },
|
710
756
|
# })
|
711
757
|
#
|
712
758
|
# resp.to_h outputs the following:
|
713
759
|
# {
|
714
|
-
# location: "/
|
760
|
+
# location: "http://examplebucket.s3.amazonaws.com/",
|
715
761
|
# }
|
716
762
|
#
|
717
|
-
# @example Example: To create a bucket
|
763
|
+
# @example Example: To create a bucket
|
718
764
|
#
|
719
|
-
# # The following example creates a bucket.
|
765
|
+
# # The following example creates a bucket.
|
720
766
|
#
|
721
767
|
# resp = client.create_bucket({
|
722
768
|
# bucket: "examplebucket",
|
723
|
-
# create_bucket_configuration: {
|
724
|
-
# location_constraint: "eu-west-1",
|
725
|
-
# },
|
726
769
|
# })
|
727
770
|
#
|
728
771
|
# resp.to_h outputs the following:
|
729
772
|
# {
|
730
|
-
# location: "
|
773
|
+
# location: "/examplebucket",
|
731
774
|
# }
|
732
775
|
#
|
733
776
|
# @example Request syntax with placeholder values
|
@@ -917,7 +960,7 @@ module Aws::S3
|
|
917
960
|
# "MetadataKey" => "MetadataValue",
|
918
961
|
# },
|
919
962
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
920
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
963
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
921
964
|
# website_redirect_location: "WebsiteRedirectLocation",
|
922
965
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
923
966
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1374,35 +1417,35 @@ module Aws::S3
|
|
1374
1417
|
# * {Types::DeleteObjectTaggingOutput#version_id #version_id} => String
|
1375
1418
|
#
|
1376
1419
|
#
|
1377
|
-
# @example Example: To remove tag set from an object
|
1420
|
+
# @example Example: To remove tag set from an object version
|
1378
1421
|
#
|
1379
|
-
# # The following example removes tag set associated with the specified object.
|
1380
|
-
# #
|
1422
|
+
# # The following example removes tag set associated with the specified object version. The request specifies both the
|
1423
|
+
# # object key and object version.
|
1381
1424
|
#
|
1382
1425
|
# resp = client.delete_object_tagging({
|
1383
1426
|
# bucket: "examplebucket",
|
1384
1427
|
# key: "HappyFace.jpg",
|
1428
|
+
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
1385
1429
|
# })
|
1386
1430
|
#
|
1387
1431
|
# resp.to_h outputs the following:
|
1388
1432
|
# {
|
1389
|
-
# version_id: "
|
1433
|
+
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
1390
1434
|
# }
|
1391
1435
|
#
|
1392
|
-
# @example Example: To remove tag set from an object
|
1436
|
+
# @example Example: To remove tag set from an object
|
1393
1437
|
#
|
1394
|
-
# # The following example removes tag set associated with the specified object
|
1395
|
-
# #
|
1438
|
+
# # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
|
1439
|
+
# # operation removes tag set from the latest object version.
|
1396
1440
|
#
|
1397
1441
|
# resp = client.delete_object_tagging({
|
1398
1442
|
# bucket: "examplebucket",
|
1399
1443
|
# key: "HappyFace.jpg",
|
1400
|
-
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
1401
1444
|
# })
|
1402
1445
|
#
|
1403
1446
|
# resp.to_h outputs the following:
|
1404
1447
|
# {
|
1405
|
-
# version_id: "
|
1448
|
+
# version_id: "null",
|
1406
1449
|
# }
|
1407
1450
|
#
|
1408
1451
|
# @example Request syntax with placeholder values
|
@@ -1891,9 +1934,9 @@ module Aws::S3
|
|
1891
1934
|
# resp.rules[0].status #=> String, one of "Enabled", "Disabled"
|
1892
1935
|
# resp.rules[0].transition.date #=> Time
|
1893
1936
|
# resp.rules[0].transition.days #=> Integer
|
1894
|
-
# resp.rules[0].transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
|
1937
|
+
# resp.rules[0].transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
1895
1938
|
# resp.rules[0].noncurrent_version_transition.noncurrent_days #=> Integer
|
1896
|
-
# resp.rules[0].noncurrent_version_transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
|
1939
|
+
# resp.rules[0].noncurrent_version_transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
1897
1940
|
# resp.rules[0].noncurrent_version_expiration.noncurrent_days #=> Integer
|
1898
1941
|
# resp.rules[0].abort_incomplete_multipart_upload.days_after_initiation #=> Integer
|
1899
1942
|
#
|
@@ -1965,10 +2008,10 @@ module Aws::S3
|
|
1965
2008
|
# resp.rules[0].transitions #=> Array
|
1966
2009
|
# resp.rules[0].transitions[0].date #=> Time
|
1967
2010
|
# resp.rules[0].transitions[0].days #=> Integer
|
1968
|
-
# resp.rules[0].transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
|
2011
|
+
# resp.rules[0].transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
1969
2012
|
# resp.rules[0].noncurrent_version_transitions #=> Array
|
1970
2013
|
# resp.rules[0].noncurrent_version_transitions[0].noncurrent_days #=> Integer
|
1971
|
-
# resp.rules[0].noncurrent_version_transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
|
2014
|
+
# resp.rules[0].noncurrent_version_transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
1972
2015
|
# resp.rules[0].noncurrent_version_expiration.noncurrent_days #=> Integer
|
1973
2016
|
# resp.rules[0].abort_incomplete_multipart_upload.days_after_initiation #=> Integer
|
1974
2017
|
#
|
@@ -2390,7 +2433,7 @@ module Aws::S3
|
|
2390
2433
|
# resp.replication_configuration.rules[0].source_selection_criteria.sse_kms_encrypted_objects.status #=> String, one of "Enabled", "Disabled"
|
2391
2434
|
# resp.replication_configuration.rules[0].destination.bucket #=> String
|
2392
2435
|
# resp.replication_configuration.rules[0].destination.account #=> String
|
2393
|
-
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER"
|
2436
|
+
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE"
|
2394
2437
|
# resp.replication_configuration.rules[0].destination.access_control_translation.owner #=> String, one of "Destination"
|
2395
2438
|
# resp.replication_configuration.rules[0].destination.encryption_configuration.replica_kms_key_id #=> String
|
2396
2439
|
# resp.replication_configuration.rules[0].delete_marker_replication.status #=> String, one of "Enabled", "Disabled"
|
@@ -2717,49 +2760,49 @@ module Aws::S3
|
|
2717
2760
|
# * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
|
2718
2761
|
#
|
2719
2762
|
#
|
2720
|
-
# @example Example: To retrieve
|
2763
|
+
# @example Example: To retrieve an object
|
2721
2764
|
#
|
2722
|
-
# # The following example retrieves an object for an S3 bucket.
|
2723
|
-
# # specific byte range.
|
2765
|
+
# # The following example retrieves an object for an S3 bucket.
|
2724
2766
|
#
|
2725
2767
|
# resp = client.get_object({
|
2726
2768
|
# bucket: "examplebucket",
|
2727
|
-
# key: "
|
2728
|
-
# range: "bytes=0-9",
|
2769
|
+
# key: "HappyFace.jpg",
|
2729
2770
|
# })
|
2730
2771
|
#
|
2731
2772
|
# resp.to_h outputs the following:
|
2732
2773
|
# {
|
2733
2774
|
# accept_ranges: "bytes",
|
2734
|
-
# content_length:
|
2735
|
-
#
|
2736
|
-
#
|
2737
|
-
#
|
2738
|
-
# last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
|
2775
|
+
# content_length: 3191,
|
2776
|
+
# content_type: "image/jpeg",
|
2777
|
+
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
2778
|
+
# last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
|
2739
2779
|
# metadata: {
|
2740
2780
|
# },
|
2781
|
+
# tag_count: 2,
|
2741
2782
|
# version_id: "null",
|
2742
2783
|
# }
|
2743
2784
|
#
|
2744
|
-
# @example Example: To retrieve an object
|
2785
|
+
# @example Example: To retrieve a byte range of an object
|
2745
2786
|
#
|
2746
|
-
# # The following example retrieves an object for an S3 bucket.
|
2787
|
+
# # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
|
2788
|
+
# # specific byte range.
|
2747
2789
|
#
|
2748
2790
|
# resp = client.get_object({
|
2749
2791
|
# bucket: "examplebucket",
|
2750
|
-
# key: "
|
2792
|
+
# key: "SampleFile.txt",
|
2793
|
+
# range: "bytes=0-9",
|
2751
2794
|
# })
|
2752
2795
|
#
|
2753
2796
|
# resp.to_h outputs the following:
|
2754
2797
|
# {
|
2755
2798
|
# accept_ranges: "bytes",
|
2756
|
-
# content_length:
|
2757
|
-
#
|
2758
|
-
#
|
2759
|
-
#
|
2799
|
+
# content_length: 10,
|
2800
|
+
# content_range: "bytes 0-9/43",
|
2801
|
+
# content_type: "text/plain",
|
2802
|
+
# etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
|
2803
|
+
# last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
|
2760
2804
|
# metadata: {
|
2761
2805
|
# },
|
2762
|
-
# tag_count: 2,
|
2763
2806
|
# version_id: "null",
|
2764
2807
|
# }
|
2765
2808
|
#
|
@@ -2841,7 +2884,7 @@ module Aws::S3
|
|
2841
2884
|
# resp.sse_customer_algorithm #=> String
|
2842
2885
|
# resp.sse_customer_key_md5 #=> String
|
2843
2886
|
# resp.ssekms_key_id #=> String
|
2844
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER"
|
2887
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE"
|
2845
2888
|
# resp.request_charged #=> String, one of "requester"
|
2846
2889
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
|
2847
2890
|
# resp.parts_count #=> Integer
|
@@ -3106,49 +3149,49 @@ module Aws::S3
|
|
3106
3149
|
# * {Types::GetObjectTaggingOutput#tag_set #tag_set} => Array<Types::Tag>
|
3107
3150
|
#
|
3108
3151
|
#
|
3109
|
-
# @example Example: To retrieve tag set of
|
3152
|
+
# @example Example: To retrieve tag set of a specific object version
|
3110
3153
|
#
|
3111
|
-
# # The following example retrieves tag set of an object.
|
3154
|
+
# # The following example retrieves tag set of an object. The request specifies object version.
|
3112
3155
|
#
|
3113
3156
|
# resp = client.get_object_tagging({
|
3114
3157
|
# bucket: "examplebucket",
|
3115
|
-
# key: "
|
3158
|
+
# key: "exampleobject",
|
3159
|
+
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
3116
3160
|
# })
|
3117
3161
|
#
|
3118
3162
|
# resp.to_h outputs the following:
|
3119
3163
|
# {
|
3120
3164
|
# tag_set: [
|
3121
3165
|
# {
|
3122
|
-
# key: "
|
3123
|
-
# value: "
|
3124
|
-
# },
|
3125
|
-
# {
|
3126
|
-
# key: "Key3",
|
3127
|
-
# value: "Value3",
|
3166
|
+
# key: "Key1",
|
3167
|
+
# value: "Value1",
|
3128
3168
|
# },
|
3129
3169
|
# ],
|
3130
|
-
# version_id: "
|
3170
|
+
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
3131
3171
|
# }
|
3132
3172
|
#
|
3133
|
-
# @example Example: To retrieve tag set of
|
3173
|
+
# @example Example: To retrieve tag set of an object
|
3134
3174
|
#
|
3135
|
-
# # The following example retrieves tag set of an object.
|
3175
|
+
# # The following example retrieves tag set of an object.
|
3136
3176
|
#
|
3137
3177
|
# resp = client.get_object_tagging({
|
3138
3178
|
# bucket: "examplebucket",
|
3139
|
-
# key: "
|
3140
|
-
# version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
|
3179
|
+
# key: "HappyFace.jpg",
|
3141
3180
|
# })
|
3142
3181
|
#
|
3143
3182
|
# resp.to_h outputs the following:
|
3144
3183
|
# {
|
3145
3184
|
# tag_set: [
|
3146
3185
|
# {
|
3147
|
-
# key: "
|
3148
|
-
# value: "
|
3186
|
+
# key: "Key4",
|
3187
|
+
# value: "Value4",
|
3188
|
+
# },
|
3189
|
+
# {
|
3190
|
+
# key: "Key3",
|
3191
|
+
# value: "Value3",
|
3149
3192
|
# },
|
3150
3193
|
# ],
|
3151
|
-
# version_id: "
|
3194
|
+
# version_id: "null",
|
3152
3195
|
# }
|
3153
3196
|
#
|
3154
3197
|
# @example Request syntax with placeholder values
|
@@ -3455,7 +3498,7 @@ module Aws::S3
|
|
3455
3498
|
# resp.sse_customer_algorithm #=> String
|
3456
3499
|
# resp.sse_customer_key_md5 #=> String
|
3457
3500
|
# resp.ssekms_key_id #=> String
|
3458
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER"
|
3501
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE"
|
3459
3502
|
# resp.request_charged #=> String, one of "requester"
|
3460
3503
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
|
3461
3504
|
# resp.parts_count #=> Integer
|
@@ -3857,7 +3900,7 @@ module Aws::S3
|
|
3857
3900
|
# resp.uploads[0].upload_id #=> String
|
3858
3901
|
# resp.uploads[0].key #=> String
|
3859
3902
|
# resp.uploads[0].initiated #=> Time
|
3860
|
-
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER"
|
3903
|
+
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE"
|
3861
3904
|
# resp.uploads[0].owner.display_name #=> String
|
3862
3905
|
# resp.uploads[0].owner.id #=> String
|
3863
3906
|
# resp.uploads[0].initiator.id #=> String
|
@@ -4122,7 +4165,7 @@ module Aws::S3
|
|
4122
4165
|
# resp.contents[0].last_modified #=> Time
|
4123
4166
|
# resp.contents[0].etag #=> String
|
4124
4167
|
# resp.contents[0].size #=> Integer
|
4125
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
|
4168
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
4126
4169
|
# resp.contents[0].owner.display_name #=> String
|
4127
4170
|
# resp.contents[0].owner.id #=> String
|
4128
4171
|
# resp.name #=> String
|
@@ -4258,7 +4301,7 @@ module Aws::S3
|
|
4258
4301
|
# resp.contents[0].last_modified #=> Time
|
4259
4302
|
# resp.contents[0].etag #=> String
|
4260
4303
|
# resp.contents[0].size #=> Integer
|
4261
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
|
4304
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
4262
4305
|
# resp.contents[0].owner.display_name #=> String
|
4263
4306
|
# resp.contents[0].owner.id #=> String
|
4264
4307
|
# resp.name #=> String
|
@@ -4393,7 +4436,7 @@ module Aws::S3
|
|
4393
4436
|
# resp.initiator.display_name #=> String
|
4394
4437
|
# resp.owner.display_name #=> String
|
4395
4438
|
# resp.owner.id #=> String
|
4396
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER"
|
4439
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE"
|
4397
4440
|
# resp.request_charged #=> String, one of "requester"
|
4398
4441
|
#
|
4399
4442
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts AWS API Documentation
|
@@ -4790,11 +4833,11 @@ module Aws::S3
|
|
4790
4833
|
# transition: {
|
4791
4834
|
# date: Time.now,
|
4792
4835
|
# days: 1,
|
4793
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4836
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4794
4837
|
# },
|
4795
4838
|
# noncurrent_version_transition: {
|
4796
4839
|
# noncurrent_days: 1,
|
4797
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4840
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4798
4841
|
# },
|
4799
4842
|
# noncurrent_version_expiration: {
|
4800
4843
|
# noncurrent_days: 1,
|
@@ -4889,13 +4932,13 @@ module Aws::S3
|
|
4889
4932
|
# {
|
4890
4933
|
# date: Time.now,
|
4891
4934
|
# days: 1,
|
4892
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4935
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4893
4936
|
# },
|
4894
4937
|
# ],
|
4895
4938
|
# noncurrent_version_transitions: [
|
4896
4939
|
# {
|
4897
4940
|
# noncurrent_days: 1,
|
4898
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4941
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4899
4942
|
# },
|
4900
4943
|
# ],
|
4901
4944
|
# noncurrent_version_expiration: {
|
@@ -5301,7 +5344,7 @@ module Aws::S3
|
|
5301
5344
|
# destination: { # required
|
5302
5345
|
# bucket: "BucketName", # required
|
5303
5346
|
# account: "AccountId",
|
5304
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
5347
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
5305
5348
|
# access_control_translation: {
|
5306
5349
|
# owner: "Destination", # required, accepts Destination
|
5307
5350
|
# },
|
@@ -5672,39 +5715,40 @@ module Aws::S3
|
|
5672
5715
|
# * {Types::PutObjectOutput#request_charged #request_charged} => String
|
5673
5716
|
#
|
5674
5717
|
#
|
5675
|
-
# @example Example: To upload an object and specify
|
5718
|
+
# @example Example: To upload an object and specify optional tags
|
5676
5719
|
#
|
5677
|
-
# # The following example uploads
|
5678
|
-
# #
|
5720
|
+
# # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
|
5721
|
+
# # S3 returns version ID of the newly created object.
|
5679
5722
|
#
|
5680
5723
|
# resp = client.put_object({
|
5681
|
-
#
|
5682
|
-
# body: "filetoupload",
|
5724
|
+
# body: "c:\\HappyFace.jpg",
|
5683
5725
|
# bucket: "examplebucket",
|
5684
|
-
# key: "
|
5726
|
+
# key: "HappyFace.jpg",
|
5727
|
+
# tagging: "key1=value1&key2=value2",
|
5685
5728
|
# })
|
5686
5729
|
#
|
5687
5730
|
# resp.to_h outputs the following:
|
5688
5731
|
# {
|
5689
5732
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5690
|
-
# version_id: "
|
5733
|
+
# version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
|
5691
5734
|
# }
|
5692
5735
|
#
|
5693
|
-
# @example Example: To upload an object
|
5736
|
+
# @example Example: To upload an object and specify canned ACL.
|
5694
5737
|
#
|
5695
|
-
# # The following example uploads
|
5696
|
-
# #
|
5738
|
+
# # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
|
5739
|
+
# # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
|
5697
5740
|
#
|
5698
5741
|
# resp = client.put_object({
|
5699
|
-
#
|
5742
|
+
# acl: "authenticated-read",
|
5743
|
+
# body: "filetoupload",
|
5700
5744
|
# bucket: "examplebucket",
|
5701
|
-
# key: "
|
5745
|
+
# key: "exampleobject",
|
5702
5746
|
# })
|
5703
5747
|
#
|
5704
5748
|
# resp.to_h outputs the following:
|
5705
5749
|
# {
|
5706
5750
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5707
|
-
# version_id: "
|
5751
|
+
# version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
|
5708
5752
|
# }
|
5709
5753
|
#
|
5710
5754
|
# @example Example: To create an object.
|
@@ -5723,83 +5767,82 @@ module Aws::S3
|
|
5723
5767
|
# version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
|
5724
5768
|
# }
|
5725
5769
|
#
|
5726
|
-
# @example Example: To upload object
|
5770
|
+
# @example Example: To upload an object (specify optional headers)
|
5727
5771
|
#
|
5728
|
-
# # The following example
|
5729
|
-
# #
|
5772
|
+
# # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
|
5773
|
+
# # storage class and use server-side encryption.
|
5730
5774
|
#
|
5731
5775
|
# resp = client.put_object({
|
5732
|
-
# body: "
|
5776
|
+
# body: "HappyFace.jpg",
|
5733
5777
|
# bucket: "examplebucket",
|
5734
|
-
# key: "
|
5735
|
-
#
|
5736
|
-
#
|
5737
|
-
# "metadata2" => "value2",
|
5738
|
-
# },
|
5778
|
+
# key: "HappyFace.jpg",
|
5779
|
+
# server_side_encryption: "AES256",
|
5780
|
+
# storage_class: "STANDARD_IA",
|
5739
5781
|
# })
|
5740
5782
|
#
|
5741
5783
|
# resp.to_h outputs the following:
|
5742
5784
|
# {
|
5743
5785
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5744
|
-
#
|
5786
|
+
# server_side_encryption: "AES256",
|
5787
|
+
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
5745
5788
|
# }
|
5746
5789
|
#
|
5747
|
-
# @example Example: To upload an object
|
5790
|
+
# @example Example: To upload an object
|
5748
5791
|
#
|
5749
|
-
# # The following example uploads an object
|
5750
|
-
# # S3 returns
|
5792
|
+
# # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
|
5793
|
+
# # syntax. S3 returns VersionId of the newly created object.
|
5751
5794
|
#
|
5752
5795
|
# resp = client.put_object({
|
5753
|
-
# body: "
|
5796
|
+
# body: "HappyFace.jpg",
|
5754
5797
|
# bucket: "examplebucket",
|
5755
5798
|
# key: "HappyFace.jpg",
|
5756
|
-
# tagging: "key1=value1&key2=value2",
|
5757
5799
|
# })
|
5758
5800
|
#
|
5759
5801
|
# resp.to_h outputs the following:
|
5760
5802
|
# {
|
5761
5803
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5762
|
-
# version_id: "
|
5804
|
+
# version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
|
5763
5805
|
# }
|
5764
5806
|
#
|
5765
|
-
# @example Example: To upload
|
5807
|
+
# @example Example: To upload object and specify user-defined metadata
|
5766
5808
|
#
|
5767
|
-
# # The following example
|
5768
|
-
# #
|
5809
|
+
# # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
|
5810
|
+
# # enabled, S3 returns version ID in response.
|
5769
5811
|
#
|
5770
5812
|
# resp = client.put_object({
|
5771
5813
|
# body: "filetoupload",
|
5772
5814
|
# bucket: "examplebucket",
|
5773
5815
|
# key: "exampleobject",
|
5774
|
-
#
|
5775
|
-
#
|
5816
|
+
# metadata: {
|
5817
|
+
# "metadata1" => "value1",
|
5818
|
+
# "metadata2" => "value2",
|
5819
|
+
# },
|
5776
5820
|
# })
|
5777
5821
|
#
|
5778
5822
|
# resp.to_h outputs the following:
|
5779
5823
|
# {
|
5780
5824
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5781
|
-
#
|
5782
|
-
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
5825
|
+
# version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
|
5783
5826
|
# }
|
5784
5827
|
#
|
5785
|
-
# @example Example: To upload an object
|
5828
|
+
# @example Example: To upload an object and specify server-side encryption and object tags
|
5786
5829
|
#
|
5787
|
-
# # The following example uploads
|
5788
|
-
# #
|
5830
|
+
# # The following example uploads and object. The request specifies the optional server-side encryption option. The request
|
5831
|
+
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
5789
5832
|
#
|
5790
5833
|
# resp = client.put_object({
|
5791
|
-
# body: "
|
5834
|
+
# body: "filetoupload",
|
5792
5835
|
# bucket: "examplebucket",
|
5793
|
-
# key: "
|
5836
|
+
# key: "exampleobject",
|
5794
5837
|
# server_side_encryption: "AES256",
|
5795
|
-
#
|
5838
|
+
# tagging: "key1=value1&key2=value2",
|
5796
5839
|
# })
|
5797
5840
|
#
|
5798
5841
|
# resp.to_h outputs the following:
|
5799
5842
|
# {
|
5800
5843
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5801
5844
|
# server_side_encryption: "AES256",
|
5802
|
-
# version_id: "
|
5845
|
+
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
5803
5846
|
# }
|
5804
5847
|
#
|
5805
5848
|
# @example Streaming a file from disk
|
@@ -5831,7 +5874,7 @@ module Aws::S3
|
|
5831
5874
|
# "MetadataKey" => "MetadataValue",
|
5832
5875
|
# },
|
5833
5876
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
5834
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
5877
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
5835
5878
|
# website_redirect_location: "WebsiteRedirectLocation",
|
5836
5879
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
5837
5880
|
# sse_customer_key: "SSECustomerKey",
|
@@ -6399,7 +6442,7 @@ module Aws::S3
|
|
6399
6442
|
# value: "MetadataValue",
|
6400
6443
|
# },
|
6401
6444
|
# ],
|
6402
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
6445
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
6403
6446
|
# },
|
6404
6447
|
# },
|
6405
6448
|
# },
|
@@ -6998,7 +7041,7 @@ module Aws::S3
|
|
6998
7041
|
params: params,
|
6999
7042
|
config: config)
|
7000
7043
|
context[:gem_name] = 'aws-sdk-s3'
|
7001
|
-
context[:gem_version] = '1.
|
7044
|
+
context[:gem_version] = '1.36.0'
|
7002
7045
|
Seahorse::Client::Request.new(handlers, context)
|
7003
7046
|
end
|
7004
7047
|
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -446,7 +446,7 @@ module Aws::S3
|
|
446
446
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
447
447
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
448
448
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
449
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
449
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
450
450
|
# website_redirect_location: "WebsiteRedirectLocation",
|
451
451
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
452
452
|
# sse_customer_key: "SSECustomerKey",
|
@@ -711,7 +711,7 @@ module Aws::S3
|
|
711
711
|
# "MetadataKey" => "MetadataValue",
|
712
712
|
# },
|
713
713
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
714
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
714
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
715
715
|
# website_redirect_location: "WebsiteRedirectLocation",
|
716
716
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
717
717
|
# sse_customer_key: "SSECustomerKey",
|
@@ -832,7 +832,7 @@ module Aws::S3
|
|
832
832
|
# "MetadataKey" => "MetadataValue",
|
833
833
|
# },
|
834
834
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
835
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
835
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
836
836
|
# website_redirect_location: "WebsiteRedirectLocation",
|
837
837
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
838
838
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1014,7 +1014,7 @@ module Aws::S3
|
|
1014
1014
|
# value: "MetadataValue",
|
1015
1015
|
# },
|
1016
1016
|
# ],
|
1017
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
1017
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
1018
1018
|
# },
|
1019
1019
|
# },
|
1020
1020
|
# },
|
@@ -272,7 +272,7 @@ module Aws::S3
|
|
272
272
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
273
273
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
274
274
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
275
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
275
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
276
276
|
# website_redirect_location: "WebsiteRedirectLocation",
|
277
277
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
278
278
|
# sse_customer_key: "SSECustomerKey",
|
@@ -537,7 +537,7 @@ module Aws::S3
|
|
537
537
|
# "MetadataKey" => "MetadataValue",
|
538
538
|
# },
|
539
539
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
540
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
540
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
541
541
|
# website_redirect_location: "WebsiteRedirectLocation",
|
542
542
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
543
543
|
# sse_customer_key: "SSECustomerKey",
|
@@ -658,7 +658,7 @@ module Aws::S3
|
|
658
658
|
# "MetadataKey" => "MetadataValue",
|
659
659
|
# },
|
660
660
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
661
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
661
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
662
662
|
# website_redirect_location: "WebsiteRedirectLocation",
|
663
663
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
664
664
|
# sse_customer_key: "SSECustomerKey",
|
@@ -840,7 +840,7 @@ module Aws::S3
|
|
840
840
|
# value: "MetadataValue",
|
841
841
|
# },
|
842
842
|
# ],
|
843
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
843
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
844
844
|
# },
|
845
845
|
# },
|
846
846
|
# },
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -401,13 +401,13 @@ module Aws::S3
|
|
401
401
|
# {
|
402
402
|
# date: Time.now,
|
403
403
|
# days: 1,
|
404
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
404
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
405
405
|
# },
|
406
406
|
# ],
|
407
407
|
# noncurrent_version_transitions: [
|
408
408
|
# {
|
409
409
|
# noncurrent_days: 1,
|
410
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
410
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
411
411
|
# },
|
412
412
|
# ],
|
413
413
|
# noncurrent_version_expiration: {
|
@@ -972,7 +972,7 @@ module Aws::S3
|
|
972
972
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
973
973
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
974
974
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
975
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
975
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
976
976
|
# website_redirect_location: "WebsiteRedirectLocation",
|
977
977
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
978
978
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1425,7 +1425,7 @@ module Aws::S3
|
|
1425
1425
|
# "MetadataKey" => "MetadataValue",
|
1426
1426
|
# },
|
1427
1427
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1428
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
1428
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
1429
1429
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1430
1430
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1431
1431
|
# sse_customer_key: "SSECustomerKey",
|
@@ -2178,7 +2178,7 @@ module Aws::S3
|
|
2178
2178
|
# {
|
2179
2179
|
# bucket: "BucketName", # required
|
2180
2180
|
# account: "AccountId",
|
2181
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
2181
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
2182
2182
|
# access_control_translation: {
|
2183
2183
|
# owner: "Destination", # required, accepts Destination
|
2184
2184
|
# },
|
@@ -4407,11 +4407,11 @@ module Aws::S3
|
|
4407
4407
|
# transition: {
|
4408
4408
|
# date: Time.now,
|
4409
4409
|
# days: 1,
|
4410
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4410
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4411
4411
|
# },
|
4412
4412
|
# noncurrent_version_transition: {
|
4413
4413
|
# noncurrent_days: 1,
|
4414
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4414
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4415
4415
|
# },
|
4416
4416
|
# noncurrent_version_expiration: {
|
4417
4417
|
# noncurrent_days: 1,
|
@@ -4500,13 +4500,13 @@ module Aws::S3
|
|
4500
4500
|
# {
|
4501
4501
|
# date: Time.now,
|
4502
4502
|
# days: 1,
|
4503
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4503
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4504
4504
|
# },
|
4505
4505
|
# ],
|
4506
4506
|
# noncurrent_version_transitions: [
|
4507
4507
|
# {
|
4508
4508
|
# noncurrent_days: 1,
|
4509
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
4509
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
4510
4510
|
# },
|
4511
4511
|
# ],
|
4512
4512
|
# noncurrent_version_expiration: {
|
@@ -5770,7 +5770,7 @@ module Aws::S3
|
|
5770
5770
|
#
|
5771
5771
|
#
|
5772
5772
|
#
|
5773
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/
|
5773
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html
|
5774
5774
|
# @return [Integer]
|
5775
5775
|
#
|
5776
5776
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration AWS API Documentation
|
@@ -5782,18 +5782,19 @@ module Aws::S3
|
|
5782
5782
|
|
5783
5783
|
# Container for the transition rule that describes when noncurrent
|
5784
5784
|
# objects transition to the STANDARD\_IA, ONEZONE\_IA,
|
5785
|
-
# INTELLIGENT\_TIERING or
|
5786
|
-
# versioning-enabled (or versioning is suspended), you can set
|
5787
|
-
# action to request that Amazon S3 transition noncurrent object
|
5788
|
-
# to the STANDARD\_IA, ONEZONE\_IA, INTELLIGENT\_TIERING
|
5789
|
-
# storage class at a specific period in the
|
5785
|
+
# INTELLIGENT\_TIERING, GLACIER or DEEP\_ARCHIVE storage class. If your
|
5786
|
+
# bucket is versioning-enabled (or versioning is suspended), you can set
|
5787
|
+
# this action to request that Amazon S3 transition noncurrent object
|
5788
|
+
# versions to the STANDARD\_IA, ONEZONE\_IA, INTELLIGENT\_TIERING,
|
5789
|
+
# GLACIER or DEEP\_ARCHIVE storage class at a specific period in the
|
5790
|
+
# object's lifetime.
|
5790
5791
|
#
|
5791
5792
|
# @note When making an API call, you may pass NoncurrentVersionTransition
|
5792
5793
|
# data as a hash:
|
5793
5794
|
#
|
5794
5795
|
# {
|
5795
5796
|
# noncurrent_days: 1,
|
5796
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
5797
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
5797
5798
|
# }
|
5798
5799
|
#
|
5799
5800
|
# @!attribute [rw] noncurrent_days
|
@@ -6220,7 +6221,7 @@ module Aws::S3
|
|
6220
6221
|
# value: "MetadataValue",
|
6221
6222
|
# },
|
6222
6223
|
# ],
|
6223
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
6224
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
6224
6225
|
# },
|
6225
6226
|
# }
|
6226
6227
|
#
|
@@ -6780,13 +6781,13 @@ module Aws::S3
|
|
6780
6781
|
# {
|
6781
6782
|
# date: Time.now,
|
6782
6783
|
# days: 1,
|
6783
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
6784
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
6784
6785
|
# },
|
6785
6786
|
# ],
|
6786
6787
|
# noncurrent_version_transitions: [
|
6787
6788
|
# {
|
6788
6789
|
# noncurrent_days: 1,
|
6789
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
6790
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
6790
6791
|
# },
|
6791
6792
|
# ],
|
6792
6793
|
# noncurrent_version_expiration: {
|
@@ -6834,11 +6835,11 @@ module Aws::S3
|
|
6834
6835
|
# transition: {
|
6835
6836
|
# date: Time.now,
|
6836
6837
|
# days: 1,
|
6837
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
6838
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
6838
6839
|
# },
|
6839
6840
|
# noncurrent_version_transition: {
|
6840
6841
|
# noncurrent_days: 1,
|
6841
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
6842
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
6842
6843
|
# },
|
6843
6844
|
# noncurrent_version_expiration: {
|
6844
6845
|
# noncurrent_days: 1,
|
@@ -7158,7 +7159,7 @@ module Aws::S3
|
|
7158
7159
|
# destination: { # required
|
7159
7160
|
# bucket: "BucketName", # required
|
7160
7161
|
# account: "AccountId",
|
7161
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
7162
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
7162
7163
|
# access_control_translation: {
|
7163
7164
|
# owner: "Destination", # required, accepts Destination
|
7164
7165
|
# },
|
@@ -7680,7 +7681,7 @@ module Aws::S3
|
|
7680
7681
|
# "MetadataKey" => "MetadataValue",
|
7681
7682
|
# },
|
7682
7683
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
7683
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
7684
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
7684
7685
|
# website_redirect_location: "WebsiteRedirectLocation",
|
7685
7686
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
7686
7687
|
# sse_customer_key: "SSECustomerKey",
|
@@ -8268,7 +8269,7 @@ module Aws::S3
|
|
8268
8269
|
# destination: { # required
|
8269
8270
|
# bucket: "BucketName", # required
|
8270
8271
|
# account: "AccountId",
|
8271
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
8272
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
8272
8273
|
# access_control_translation: {
|
8273
8274
|
# owner: "Destination", # required, accepts Destination
|
8274
8275
|
# },
|
@@ -8337,7 +8338,7 @@ module Aws::S3
|
|
8337
8338
|
# destination: { # required
|
8338
8339
|
# bucket: "BucketName", # required
|
8339
8340
|
# account: "AccountId",
|
8340
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
8341
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
8341
8342
|
# access_control_translation: {
|
8342
8343
|
# owner: "Destination", # required, accepts Destination
|
8343
8344
|
# },
|
@@ -8644,7 +8645,7 @@ module Aws::S3
|
|
8644
8645
|
# value: "MetadataValue",
|
8645
8646
|
# },
|
8646
8647
|
# ],
|
8647
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
8648
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
8648
8649
|
# },
|
8649
8650
|
# },
|
8650
8651
|
# },
|
@@ -8765,7 +8766,7 @@ module Aws::S3
|
|
8765
8766
|
# value: "MetadataValue",
|
8766
8767
|
# },
|
8767
8768
|
# ],
|
8768
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
8769
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
8769
8770
|
# },
|
8770
8771
|
# },
|
8771
8772
|
# }
|
@@ -8867,11 +8868,11 @@ module Aws::S3
|
|
8867
8868
|
# transition: {
|
8868
8869
|
# date: Time.now,
|
8869
8870
|
# days: 1,
|
8870
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
8871
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
8871
8872
|
# },
|
8872
8873
|
# noncurrent_version_transition: {
|
8873
8874
|
# noncurrent_days: 1,
|
8874
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
8875
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
8875
8876
|
# },
|
8876
8877
|
# noncurrent_version_expiration: {
|
8877
8878
|
# noncurrent_days: 1,
|
@@ -8904,12 +8905,12 @@ module Aws::S3
|
|
8904
8905
|
# @!attribute [rw] noncurrent_version_transition
|
8905
8906
|
# Container for the transition rule that describes when noncurrent
|
8906
8907
|
# objects transition to the STANDARD\_IA, ONEZONE\_IA,
|
8907
|
-
# INTELLIGENT\_TIERING or
|
8908
|
-
# versioning-enabled (or versioning is suspended), you
|
8909
|
-
# action to request that Amazon S3 transition noncurrent
|
8910
|
-
# versions to the STANDARD\_IA, ONEZONE\_IA,
|
8911
|
-
# GLACIER storage class at a
|
8912
|
-
# lifetime.
|
8908
|
+
# INTELLIGENT\_TIERING, GLACIER or DEEP\_ARCHIVE storage class. If
|
8909
|
+
# your bucket is versioning-enabled (or versioning is suspended), you
|
8910
|
+
# can set this action to request that Amazon S3 transition noncurrent
|
8911
|
+
# object versions to the STANDARD\_IA, ONEZONE\_IA,
|
8912
|
+
# INTELLIGENT\_TIERING, GLACIER or DEEP\_ARCHIVE storage class at a
|
8913
|
+
# specific period in the object's lifetime.
|
8913
8914
|
# @return [Types::NoncurrentVersionTransition]
|
8914
8915
|
#
|
8915
8916
|
# @!attribute [rw] noncurrent_version_expiration
|
@@ -9008,7 +9009,7 @@ module Aws::S3
|
|
9008
9009
|
# value: "MetadataValue",
|
9009
9010
|
# },
|
9010
9011
|
# ],
|
9011
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER
|
9012
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
9012
9013
|
# }
|
9013
9014
|
#
|
9014
9015
|
# @!attribute [rw] bucket_name
|
@@ -9698,7 +9699,7 @@ module Aws::S3
|
|
9698
9699
|
# {
|
9699
9700
|
# date: Time.now,
|
9700
9701
|
# days: 1,
|
9701
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
|
9702
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
9702
9703
|
# }
|
9703
9704
|
#
|
9704
9705
|
# @!attribute [rw] date
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|