aws-sdk-s3 1.137.0 → 1.140.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +2 -1
- data/lib/aws-sdk-s3/bucket_logging.rb +7 -0
- data/lib/aws-sdk-s3/client.rb +114 -90
- data/lib/aws-sdk-s3/client_api.rb +29 -15
- data/lib/aws-sdk-s3/endpoint_parameters.rb +16 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +2 -0
- data/lib/aws-sdk-s3/endpoints.rb +194 -0
- data/lib/aws-sdk-s3/file_downloader.rb +0 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +0 -1
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +0 -1
- data/lib/aws-sdk-s3/multipart_upload.rb +5 -4
- data/lib/aws-sdk-s3/object.rb +6 -3
- data/lib/aws-sdk-s3/object_summary.rb +5 -2
- data/lib/aws-sdk-s3/object_version.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +76 -13
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +5 -5
@@ -346,13 +346,14 @@ module Aws::S3
|
|
346
346
|
# Forbidden` (access denied).
|
347
347
|
# @option options [String] :sse_customer_algorithm
|
348
348
|
# The server-side encryption (SSE) algorithm used to encrypt the object.
|
349
|
-
# This parameter is
|
350
|
-
# checksum algorithm
|
351
|
-
# SSE-C keys][1] in the
|
349
|
+
# This parameter is required only when the object was created using a
|
350
|
+
# checksum algorithm or if your bucket policy requires the use of SSE-C.
|
351
|
+
# For more information, see [Protecting data using SSE-C keys][1] in the
|
352
|
+
# *Amazon S3 User Guide*.
|
352
353
|
#
|
353
354
|
#
|
354
355
|
#
|
355
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
356
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html#ssec-require-condition-key
|
356
357
|
# @option options [String] :sse_customer_key
|
357
358
|
# The server-side encryption (SSE) customer managed key. This parameter
|
358
359
|
# is needed only when the object was created using a checksum algorithm.
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -97,7 +97,7 @@ module Aws::S3
|
|
97
97
|
data[:archive_status]
|
98
98
|
end
|
99
99
|
|
100
|
-
#
|
100
|
+
# Date and time when the object was last modified.
|
101
101
|
# @return [Time]
|
102
102
|
def last_modified
|
103
103
|
data[:last_modified]
|
@@ -792,7 +792,9 @@ module Aws::S3
|
|
792
792
|
# @option options [String] :ssekms_encryption_context
|
793
793
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
794
794
|
# object encryption. The value of this header is a base64-encoded UTF-8
|
795
|
-
# string holding JSON with the encryption context key-value pairs.
|
795
|
+
# string holding JSON with the encryption context key-value pairs. This
|
796
|
+
# value must be explicitly added to specify encryption context for
|
797
|
+
# CopyObject requests.
|
796
798
|
# @option options [Boolean] :bucket_key_enabled
|
797
799
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
798
800
|
# encryption with server-side encryption using Key Management Service
|
@@ -1453,7 +1455,8 @@ module Aws::S3
|
|
1453
1455
|
# string holding JSON with the encryption context key-value pairs. This
|
1454
1456
|
# value is stored as object metadata and automatically gets passed on to
|
1455
1457
|
# Amazon Web Services KMS for future `GetObject` or `CopyObject`
|
1456
|
-
# operations on this object.
|
1458
|
+
# operations on this object. This value must be explicitly added during
|
1459
|
+
# CopyObject operations.
|
1457
1460
|
# @option options [Boolean] :bucket_key_enabled
|
1458
1461
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
1459
1462
|
# encryption with server-side encryption using Key Management Service
|
@@ -501,7 +501,9 @@ module Aws::S3
|
|
501
501
|
# @option options [String] :ssekms_encryption_context
|
502
502
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
503
503
|
# object encryption. The value of this header is a base64-encoded UTF-8
|
504
|
-
# string holding JSON with the encryption context key-value pairs.
|
504
|
+
# string holding JSON with the encryption context key-value pairs. This
|
505
|
+
# value must be explicitly added to specify encryption context for
|
506
|
+
# CopyObject requests.
|
505
507
|
# @option options [Boolean] :bucket_key_enabled
|
506
508
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
507
509
|
# encryption with server-side encryption using Key Management Service
|
@@ -1162,7 +1164,8 @@ module Aws::S3
|
|
1162
1164
|
# string holding JSON with the encryption context key-value pairs. This
|
1163
1165
|
# value is stored as object metadata and automatically gets passed on to
|
1164
1166
|
# Amazon Web Services KMS for future `GetObject` or `CopyObject`
|
1165
|
-
# operations on this object.
|
1167
|
+
# operations on this object. This value must be explicitly added during
|
1168
|
+
# CopyObject operations.
|
1166
1169
|
# @option options [Boolean] :bucket_key_enabled
|
1167
1170
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
1168
1171
|
# encryption with server-side encryption using Key Management Service
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -963,13 +963,14 @@ module Aws::S3
|
|
963
963
|
#
|
964
964
|
# @!attribute [rw] sse_customer_algorithm
|
965
965
|
# The server-side encryption (SSE) algorithm used to encrypt the
|
966
|
-
# object. This parameter is
|
967
|
-
# using a checksum algorithm
|
968
|
-
#
|
966
|
+
# object. This parameter is required only when the object was created
|
967
|
+
# using a checksum algorithm or if your bucket policy requires the use
|
968
|
+
# of SSE-C. For more information, see [Protecting data using SSE-C
|
969
|
+
# keys][1] in the *Amazon S3 User Guide*.
|
969
970
|
#
|
970
971
|
#
|
971
972
|
#
|
972
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
973
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html#ssec-require-condition-key
|
973
974
|
# @return [String]
|
974
975
|
#
|
975
976
|
# @!attribute [rw] sse_customer_key
|
@@ -1479,7 +1480,8 @@ module Aws::S3
|
|
1479
1480
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
1480
1481
|
# object encryption. The value of this header is a base64-encoded
|
1481
1482
|
# UTF-8 string holding JSON with the encryption context key-value
|
1482
|
-
# pairs.
|
1483
|
+
# pairs. This value must be explicitly added to specify encryption
|
1484
|
+
# context for CopyObject requests.
|
1483
1485
|
# @return [String]
|
1484
1486
|
#
|
1485
1487
|
# @!attribute [rw] bucket_key_enabled
|
@@ -2583,7 +2585,7 @@ module Aws::S3
|
|
2583
2585
|
# @return [Boolean]
|
2584
2586
|
#
|
2585
2587
|
# @!attribute [rw] last_modified
|
2586
|
-
# Date and time the object was last modified.
|
2588
|
+
# Date and time when the object was last modified.
|
2587
2589
|
# @return [Time]
|
2588
2590
|
#
|
2589
2591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry AWS API Documentation
|
@@ -5296,7 +5298,7 @@ module Aws::S3
|
|
5296
5298
|
# @return [String]
|
5297
5299
|
#
|
5298
5300
|
# @!attribute [rw] last_modified
|
5299
|
-
#
|
5301
|
+
# Date and time when the object was last modified.
|
5300
5302
|
# @return [Time]
|
5301
5303
|
#
|
5302
5304
|
# @!attribute [rw] content_length
|
@@ -6146,7 +6148,7 @@ module Aws::S3
|
|
6146
6148
|
# @return [String]
|
6147
6149
|
#
|
6148
6150
|
# @!attribute [rw] last_modified
|
6149
|
-
#
|
6151
|
+
# Date and time when the object was last modified.
|
6150
6152
|
# @return [Time]
|
6151
6153
|
#
|
6152
6154
|
# @!attribute [rw] content_length
|
@@ -8589,12 +8591,17 @@ module Aws::S3
|
|
8589
8591
|
# to distinguish which log files came from which bucket.
|
8590
8592
|
# @return [String]
|
8591
8593
|
#
|
8594
|
+
# @!attribute [rw] target_object_key_format
|
8595
|
+
# Amazon S3 key format for log objects.
|
8596
|
+
# @return [Types::TargetObjectKeyFormat]
|
8597
|
+
#
|
8592
8598
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LoggingEnabled AWS API Documentation
|
8593
8599
|
#
|
8594
8600
|
class LoggingEnabled < Struct.new(
|
8595
8601
|
:target_bucket,
|
8596
8602
|
:target_grants,
|
8597
|
-
:target_prefix
|
8603
|
+
:target_prefix,
|
8604
|
+
:target_object_key_format)
|
8598
8605
|
SENSITIVE = []
|
8599
8606
|
include Aws::Structure
|
8600
8607
|
end
|
@@ -8821,7 +8828,8 @@ module Aws::S3
|
|
8821
8828
|
# @return [Integer]
|
8822
8829
|
#
|
8823
8830
|
# @!attribute [rw] newer_noncurrent_versions
|
8824
|
-
# Specifies how many noncurrent versions
|
8831
|
+
# Specifies how many newer noncurrent versions must exist before
|
8832
|
+
# Amazon S3 can perform the associated action on a given version. If
|
8825
8833
|
# there are this many more recent noncurrent versions, Amazon S3 will
|
8826
8834
|
# take the associated action. For more information about noncurrent
|
8827
8835
|
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
@@ -8867,7 +8875,8 @@ module Aws::S3
|
|
8867
8875
|
# @return [String]
|
8868
8876
|
#
|
8869
8877
|
# @!attribute [rw] newer_noncurrent_versions
|
8870
|
-
# Specifies how many noncurrent versions
|
8878
|
+
# Specifies how many newer noncurrent versions must exist before
|
8879
|
+
# Amazon S3 can perform the associated action on a given version. If
|
8871
8880
|
# there are this many more recent noncurrent versions, Amazon S3 will
|
8872
8881
|
# take the associated action. For more information about noncurrent
|
8873
8882
|
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
@@ -9271,7 +9280,7 @@ module Aws::S3
|
|
9271
9280
|
# @return [Boolean]
|
9272
9281
|
#
|
9273
9282
|
# @!attribute [rw] last_modified
|
9274
|
-
# Date and time the object was last modified.
|
9283
|
+
# Date and time when the object was last modified.
|
9275
9284
|
# @return [Time]
|
9276
9285
|
#
|
9277
9286
|
# @!attribute [rw] owner
|
@@ -9512,6 +9521,27 @@ module Aws::S3
|
|
9512
9521
|
include Aws::Structure
|
9513
9522
|
end
|
9514
9523
|
|
9524
|
+
# Amazon S3 keys for log objects are partitioned in the following
|
9525
|
+
# format:
|
9526
|
+
#
|
9527
|
+
# `[DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]`
|
9528
|
+
#
|
9529
|
+
# PartitionedPrefix defaults to EventTime delivery when server access
|
9530
|
+
# logs are delivered.
|
9531
|
+
#
|
9532
|
+
# @!attribute [rw] partition_date_source
|
9533
|
+
# Specifies the partition date source for the partitioned prefix.
|
9534
|
+
# PartitionDateSource can be EventTime or DeliveryTime.
|
9535
|
+
# @return [String]
|
9536
|
+
#
|
9537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PartitionedPrefix AWS API Documentation
|
9538
|
+
#
|
9539
|
+
class PartitionedPrefix < Struct.new(
|
9540
|
+
:partition_date_source)
|
9541
|
+
SENSITIVE = []
|
9542
|
+
include Aws::Structure
|
9543
|
+
end
|
9544
|
+
|
9515
9545
|
# The container element for a bucket's policy status.
|
9516
9546
|
#
|
9517
9547
|
# @!attribute [rw] is_public
|
@@ -11444,7 +11474,8 @@ module Aws::S3
|
|
11444
11474
|
# UTF-8 string holding JSON with the encryption context key-value
|
11445
11475
|
# pairs. This value is stored as object metadata and automatically
|
11446
11476
|
# gets passed on to Amazon Web Services KMS for future `GetObject` or
|
11447
|
-
# `CopyObject` operations on this object.
|
11477
|
+
# `CopyObject` operations on this object. This value must be
|
11478
|
+
# explicitly added during CopyObject operations.
|
11448
11479
|
# @return [String]
|
11449
11480
|
#
|
11450
11481
|
# @!attribute [rw] bucket_key_enabled
|
@@ -13039,6 +13070,17 @@ module Aws::S3
|
|
13039
13070
|
include Aws::Structure
|
13040
13071
|
end
|
13041
13072
|
|
13073
|
+
# To use simple format for S3 keys for log objects, set SimplePrefix to
|
13074
|
+
# an empty object.
|
13075
|
+
#
|
13076
|
+
# `[DestinationPrefix][YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]`
|
13077
|
+
#
|
13078
|
+
# @api private
|
13079
|
+
#
|
13080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SimplePrefix AWS API Documentation
|
13081
|
+
#
|
13082
|
+
class SimplePrefix < Aws::EmptyStructure; end
|
13083
|
+
|
13042
13084
|
# A container that describes additional filters for identifying the
|
13043
13085
|
# source objects that you want to replicate. You can choose to enable or
|
13044
13086
|
# disable the replication of these objects. Currently, Amazon S3
|
@@ -13231,6 +13273,27 @@ module Aws::S3
|
|
13231
13273
|
include Aws::Structure
|
13232
13274
|
end
|
13233
13275
|
|
13276
|
+
# Amazon S3 key format for log objects. Only one format,
|
13277
|
+
# PartitionedPrefix or SimplePrefix, is allowed.
|
13278
|
+
#
|
13279
|
+
# @!attribute [rw] simple_prefix
|
13280
|
+
# To use the simple format for S3 keys for log objects. To specify
|
13281
|
+
# SimplePrefix format, set SimplePrefix to \\\{\\}.
|
13282
|
+
# @return [Types::SimplePrefix]
|
13283
|
+
#
|
13284
|
+
# @!attribute [rw] partitioned_prefix
|
13285
|
+
# Partitioned S3 key for log objects.
|
13286
|
+
# @return [Types::PartitionedPrefix]
|
13287
|
+
#
|
13288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetObjectKeyFormat AWS API Documentation
|
13289
|
+
#
|
13290
|
+
class TargetObjectKeyFormat < Struct.new(
|
13291
|
+
:simple_prefix,
|
13292
|
+
:partitioned_prefix)
|
13293
|
+
SENSITIVE = []
|
13294
|
+
include Aws::Structure
|
13295
|
+
end
|
13296
|
+
|
13234
13297
|
# The S3 Intelligent-Tiering storage class is designed to optimize
|
13235
13298
|
# storage costs by automatically moving data to the most cost-effective
|
13236
13299
|
# storage access tier, without additional operational overhead.
|
data/lib/aws-sdk-s3.rb
CHANGED
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.140.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: 2023-11-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.188.0
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: 3.188.0
|
61
61
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
62
62
|
This gem is part of the AWS SDK for Ruby.
|
63
63
|
email:
|
@@ -179,7 +179,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
179
|
requirements:
|
180
180
|
- - ">="
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: '2.
|
182
|
+
version: '2.5'
|
183
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|