aws-sdk-s3 1.77.0 → 1.78.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 +2 -2
- data/lib/aws-sdk-s3/client.rb +555 -830
- data/lib/aws-sdk-s3/multipart_upload_part.rb +4 -4
- data/lib/aws-sdk-s3/object.rb +8 -9
- data/lib/aws-sdk-s3/object_summary.rb +4 -4
- data/lib/aws-sdk-s3/object_version.rb +2 -2
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +22 -42
- metadata +2 -2
@@ -250,8 +250,8 @@ module Aws::S3
|
|
250
250
|
# encrypting data. This value is used to store the object and then it is
|
251
251
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
252
252
|
# be appropriate for use with the algorithm specified in the
|
253
|
-
# `x-amz-server-side
|
254
|
-
# the same encryption key specified in the initiate multipart upload
|
253
|
+
# `x-amz-server-side-encryption-customer-algorithm` header. This must
|
254
|
+
# be the same encryption key specified in the initiate multipart upload
|
255
255
|
# request.
|
256
256
|
# @option options [String] :sse_customer_key_md5
|
257
257
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
@@ -319,8 +319,8 @@ module Aws::S3
|
|
319
319
|
# encrypting data. This value is used to store the object and then it is
|
320
320
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
321
321
|
# be appropriate for use with the algorithm specified in the
|
322
|
-
# `x-amz-server-side
|
323
|
-
# the same encryption key specified in the initiate multipart upload
|
322
|
+
# `x-amz-server-side-encryption-customer-algorithm header`. This must
|
323
|
+
# be the same encryption key specified in the initiate multipart upload
|
324
324
|
# request.
|
325
325
|
# @option options [String] :sse_customer_key_md5
|
326
326
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -67,8 +67,8 @@ module Aws::S3
|
|
67
67
|
|
68
68
|
# If the object is an archived object (an object whose storage class is
|
69
69
|
# GLACIER), the response includes this header if either the archive
|
70
|
-
# restoration is in progress (see
|
71
|
-
#
|
70
|
+
# restoration is in progress (see RestoreObject or an archive copy is
|
71
|
+
# already restored.
|
72
72
|
#
|
73
73
|
# If an archive copy is already restored, the header value indicates
|
74
74
|
# when Amazon S3 is scheduled to delete the object copy. For example:
|
@@ -80,12 +80,11 @@ module Aws::S3
|
|
80
80
|
# `ongoing-request="true"`.
|
81
81
|
#
|
82
82
|
# For more information about archiving objects, see [Transitioning
|
83
|
-
# Objects: General Considerations][
|
83
|
+
# Objects: General Considerations][1].
|
84
84
|
#
|
85
85
|
#
|
86
86
|
#
|
87
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
88
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations
|
87
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations
|
89
88
|
# @return [String]
|
90
89
|
def restore
|
91
90
|
data[:restore]
|
@@ -610,7 +609,7 @@ module Aws::S3
|
|
610
609
|
# encrypting data. This value is used to store the object and then it is
|
611
610
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
612
611
|
# be appropriate for use with the algorithm specified in the
|
613
|
-
# `x-amz-server-side
|
612
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
614
613
|
# @option options [String] :sse_customer_key_md5
|
615
614
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
616
615
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -780,7 +779,7 @@ module Aws::S3
|
|
780
779
|
# encrypting data. This value is used to store the object and then it is
|
781
780
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
782
781
|
# be appropriate for use with the algorithm specified in the
|
783
|
-
# `x-amz-server-side
|
782
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
784
783
|
# @option options [String] :sse_customer_key_md5
|
785
784
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
786
785
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -886,7 +885,7 @@ module Aws::S3
|
|
886
885
|
# encrypting data. This value is used to store the object and then it is
|
887
886
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
888
887
|
# be appropriate for use with the algorithm specified in the
|
889
|
-
# `x-amz-server-side
|
888
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
890
889
|
# @option options [String] :sse_customer_key_md5
|
891
890
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
892
891
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -1099,7 +1098,7 @@ module Aws::S3
|
|
1099
1098
|
# encrypting data. This value is used to store the object and then it is
|
1100
1099
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
1101
1100
|
# be appropriate for use with the algorithm specified in the
|
1102
|
-
# `x-amz-server-side
|
1101
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
1103
1102
|
# @option options [String] :sse_customer_key_md5
|
1104
1103
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
1105
1104
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -375,7 +375,7 @@ module Aws::S3
|
|
375
375
|
# encrypting data. This value is used to store the object and then it is
|
376
376
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
377
377
|
# be appropriate for use with the algorithm specified in the
|
378
|
-
# `x-amz-server-side
|
378
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
379
379
|
# @option options [String] :sse_customer_key_md5
|
380
380
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
381
381
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -545,7 +545,7 @@ module Aws::S3
|
|
545
545
|
# encrypting data. This value is used to store the object and then it is
|
546
546
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
547
547
|
# be appropriate for use with the algorithm specified in the
|
548
|
-
# `x-amz-server-side
|
548
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
549
549
|
# @option options [String] :sse_customer_key_md5
|
550
550
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
551
551
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -651,7 +651,7 @@ module Aws::S3
|
|
651
651
|
# encrypting data. This value is used to store the object and then it is
|
652
652
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
653
653
|
# be appropriate for use with the algorithm specified in the
|
654
|
-
# `x-amz-server-side
|
654
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
655
655
|
# @option options [String] :sse_customer_key_md5
|
656
656
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
657
657
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -864,7 +864,7 @@ module Aws::S3
|
|
864
864
|
# encrypting data. This value is used to store the object and then it is
|
865
865
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
866
866
|
# be appropriate for use with the algorithm specified in the
|
867
|
-
# `x-amz-server-side
|
867
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
868
868
|
# @option options [String] :sse_customer_key_md5
|
869
869
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
870
870
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -331,7 +331,7 @@ module Aws::S3
|
|
331
331
|
# encrypting data. This value is used to store the object and then it is
|
332
332
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
333
333
|
# be appropriate for use with the algorithm specified in the
|
334
|
-
# `x-amz-server-side
|
334
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
335
335
|
# @option options [String] :sse_customer_key_md5
|
336
336
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
337
337
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
@@ -406,7 +406,7 @@ module Aws::S3
|
|
406
406
|
# encrypting data. This value is used to store the object and then it is
|
407
407
|
# discarded; Amazon S3 does not store the encryption key. The key must
|
408
408
|
# be appropriate for use with the algorithm specified in the
|
409
|
-
# `x-amz-server-side
|
409
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
410
410
|
# @option options [String] :sse_customer_key_md5
|
411
411
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
412
412
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
data/lib/aws-sdk-s3/resource.rb
CHANGED
@@ -41,7 +41,7 @@ module Aws::S3
|
|
41
41
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
42
42
|
# bucket: "BucketName", # required
|
43
43
|
# create_bucket_configuration: {
|
44
|
-
# location_constraint: "
|
44
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
45
45
|
# },
|
46
46
|
# grant_full_control: "GrantFullControl",
|
47
47
|
# grant_read: "GrantRead",
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -1350,7 +1350,7 @@ module Aws::S3
|
|
1350
1350
|
# in encrypting data. This value is used to store the object and then
|
1351
1351
|
# it is discarded; Amazon S3 does not store the encryption key. The
|
1352
1352
|
# key must be appropriate for use with the algorithm specified in the
|
1353
|
-
# `x-amz-server-side
|
1353
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
1354
1354
|
# @return [String]
|
1355
1355
|
#
|
1356
1356
|
# @!attribute [rw] sse_customer_key_md5
|
@@ -1517,7 +1517,7 @@ module Aws::S3
|
|
1517
1517
|
# data as a hash:
|
1518
1518
|
#
|
1519
1519
|
# {
|
1520
|
-
# location_constraint: "
|
1520
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
1521
1521
|
# }
|
1522
1522
|
#
|
1523
1523
|
# @!attribute [rw] location_constraint
|
@@ -1555,7 +1555,7 @@ module Aws::S3
|
|
1555
1555
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
1556
1556
|
# bucket: "BucketName", # required
|
1557
1557
|
# create_bucket_configuration: {
|
1558
|
-
# location_constraint: "
|
1558
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
1559
1559
|
# },
|
1560
1560
|
# grant_full_control: "GrantFullControl",
|
1561
1561
|
# grant_read: "GrantRead",
|
@@ -1843,7 +1843,7 @@ module Aws::S3
|
|
1843
1843
|
# in encrypting data. This value is used to store the object and then
|
1844
1844
|
# it is discarded; Amazon S3 does not store the encryption key. The
|
1845
1845
|
# key must be appropriate for use with the algorithm specified in the
|
1846
|
-
# `x-amz-server-side
|
1846
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
1847
1847
|
# @return [String]
|
1848
1848
|
#
|
1849
1849
|
# @!attribute [rw] sse_customer_key_md5
|
@@ -4884,7 +4884,7 @@ module Aws::S3
|
|
4884
4884
|
# in encrypting data. This value is used to store the object and then
|
4885
4885
|
# it is discarded; Amazon S3 does not store the encryption key. The
|
4886
4886
|
# key must be appropriate for use with the algorithm specified in the
|
4887
|
-
# `x-amz-server-side
|
4887
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
4888
4888
|
# @return [String]
|
4889
4889
|
#
|
4890
4890
|
# @!attribute [rw] sse_customer_key_md5
|
@@ -5332,8 +5332,8 @@ module Aws::S3
|
|
5332
5332
|
# @!attribute [rw] restore
|
5333
5333
|
# If the object is an archived object (an object whose storage class
|
5334
5334
|
# is GLACIER), the response includes this header if either the archive
|
5335
|
-
# restoration is in progress (see
|
5336
|
-
#
|
5335
|
+
# restoration is in progress (see RestoreObject or an archive copy is
|
5336
|
+
# already restored.
|
5337
5337
|
#
|
5338
5338
|
# If an archive copy is already restored, the header value indicates
|
5339
5339
|
# when Amazon S3 is scheduled to delete the object copy. For example:
|
@@ -5345,12 +5345,11 @@ module Aws::S3
|
|
5345
5345
|
# value `ongoing-request="true"`.
|
5346
5346
|
#
|
5347
5347
|
# For more information about archiving objects, see [Transitioning
|
5348
|
-
# Objects: General Considerations][
|
5348
|
+
# Objects: General Considerations][1].
|
5349
5349
|
#
|
5350
5350
|
#
|
5351
5351
|
#
|
5352
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5353
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations
|
5352
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations
|
5354
5353
|
# @return [String]
|
5355
5354
|
#
|
5356
5355
|
# @!attribute [rw] last_modified
|
@@ -5639,7 +5638,7 @@ module Aws::S3
|
|
5639
5638
|
# in encrypting data. This value is used to store the object and then
|
5640
5639
|
# it is discarded; Amazon S3 does not store the encryption key. The
|
5641
5640
|
# key must be appropriate for use with the algorithm specified in the
|
5642
|
-
# `x-amz-server-side
|
5641
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
5643
5642
|
# @return [String]
|
5644
5643
|
#
|
5645
5644
|
# @!attribute [rw] sse_customer_key_md5
|
@@ -10035,14 +10034,10 @@ module Aws::S3
|
|
10035
10034
|
|
10036
10035
|
# @!attribute [rw] expiration
|
10037
10036
|
# If the expiration is configured for the object (see
|
10038
|
-
#
|
10039
|
-
#
|
10040
|
-
#
|
10041
|
-
#
|
10042
|
-
#
|
10043
|
-
#
|
10044
|
-
#
|
10045
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
|
10037
|
+
# PutBucketLifecycleConfiguration), the response includes this header.
|
10038
|
+
# It includes the expiry-date and rule-id key-value pairs that provide
|
10039
|
+
# information about object expiration. The value of the rule-id is URL
|
10040
|
+
# encoded.
|
10046
10041
|
# @return [String]
|
10047
10042
|
#
|
10048
10043
|
# @!attribute [rw] etag
|
@@ -10330,7 +10325,7 @@ module Aws::S3
|
|
10330
10325
|
# in encrypting data. This value is used to store the object and then
|
10331
10326
|
# it is discarded; Amazon S3 does not store the encryption key. The
|
10332
10327
|
# key must be appropriate for use with the algorithm specified in the
|
10333
|
-
# `x-amz-server-side
|
10328
|
+
# `x-amz-server-side-encryption-customer-algorithm` header.
|
10334
10329
|
# @return [String]
|
10335
10330
|
#
|
10336
10331
|
# @!attribute [rw] sse_customer_key_md5
|
@@ -10707,15 +10702,11 @@ module Aws::S3
|
|
10707
10702
|
include Aws::Structure
|
10708
10703
|
end
|
10709
10704
|
|
10710
|
-
# This data type is deprecated. Use
|
10705
|
+
# This data type is deprecated. Use QueueConfiguration for the same
|
10711
10706
|
# purposes. This data type specifies the configuration for publishing
|
10712
10707
|
# messages to an Amazon Simple Queue Service (Amazon SQS) queue when
|
10713
10708
|
# Amazon S3 detects specified events.
|
10714
10709
|
#
|
10715
|
-
#
|
10716
|
-
#
|
10717
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_QueueConfiguration.html
|
10718
|
-
#
|
10719
10710
|
# @note When making an API call, you may pass QueueConfigurationDeprecated
|
10720
10711
|
# data as a hash:
|
10721
10712
|
#
|
@@ -11606,14 +11597,7 @@ module Aws::S3
|
|
11606
11597
|
include Aws::Structure
|
11607
11598
|
end
|
11608
11599
|
|
11609
|
-
# Specifies the redirect behavior and when a redirect is applied.
|
11610
|
-
# more information about routing rules, see [Configuring advanced
|
11611
|
-
# conditional redirects][1] in the *Amazon Simple Storage Service
|
11612
|
-
# Developer Guide*.
|
11613
|
-
#
|
11614
|
-
#
|
11615
|
-
#
|
11616
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects
|
11600
|
+
# Specifies the redirect behavior and when a redirect is applied.
|
11617
11601
|
#
|
11618
11602
|
# @note When making an API call, you may pass RoutingRule
|
11619
11603
|
# data as a hash:
|
@@ -12630,11 +12614,7 @@ module Aws::S3
|
|
12630
12614
|
# A container for specifying the configuration for publication of
|
12631
12615
|
# messages to an Amazon Simple Notification Service (Amazon SNS) topic
|
12632
12616
|
# when Amazon S3 detects specified events. This data type is deprecated.
|
12633
|
-
# Use
|
12634
|
-
#
|
12635
|
-
#
|
12636
|
-
#
|
12637
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_TopicConfiguration.html
|
12617
|
+
# Use TopicConfiguration instead.
|
12638
12618
|
#
|
12639
12619
|
# @note When making an API call, you may pass TopicConfigurationDeprecated
|
12640
12620
|
# data as a hash:
|
@@ -12855,8 +12835,8 @@ module Aws::S3
|
|
12855
12835
|
# in encrypting data. This value is used to store the object and then
|
12856
12836
|
# it is discarded; Amazon S3 does not store the encryption key. The
|
12857
12837
|
# key must be appropriate for use with the algorithm specified in the
|
12858
|
-
# `x-amz-server-side
|
12859
|
-
# be the same encryption key specified in the initiate multipart
|
12838
|
+
# `x-amz-server-side-encryption-customer-algorithm` header. This
|
12839
|
+
# must be the same encryption key specified in the initiate multipart
|
12860
12840
|
# upload request.
|
12861
12841
|
# @return [String]
|
12862
12842
|
#
|
@@ -13025,8 +13005,8 @@ module Aws::S3
|
|
13025
13005
|
# in encrypting data. This value is used to store the object and then
|
13026
13006
|
# it is discarded; Amazon S3 does not store the encryption key. The
|
13027
13007
|
# key must be appropriate for use with the algorithm specified in the
|
13028
|
-
# `x-amz-server-side
|
13029
|
-
# be the same encryption key specified in the initiate multipart
|
13008
|
+
# `x-amz-server-side-encryption-customer-algorithm header`. This
|
13009
|
+
# must be the same encryption key specified in the initiate multipart
|
13030
13010
|
# upload request.
|
13031
13011
|
# @return [String]
|
13032
13012
|
#
|
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.78.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: 2020-08-
|
11
|
+
date: 2020-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|