aws-sdk-s3 1.102.0 → 1.105.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +6 -6
- data/lib/aws-sdk-s3/arn/multi_region_access_point_arn.rb +2 -3
- data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +6 -6
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +7 -6
- data/lib/aws-sdk-s3/bucket.rb +5 -5
- data/lib/aws-sdk-s3/client.rb +284 -270
- data/lib/aws-sdk-s3/client_api.rb +3 -0
- data/lib/aws-sdk-s3/object.rb +18 -18
- data/lib/aws-sdk-s3/object_summary.rb +12 -12
- data/lib/aws-sdk-s3/plugins/accelerate.rb +7 -1
- data/lib/aws-sdk-s3/plugins/arn.rb +11 -24
- data/lib/aws-sdk-s3/plugins/bucket_dns.rb +1 -1
- data/lib/aws-sdk-s3/plugins/dualstack.rb +25 -31
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +19 -4
- data/lib/aws-sdk-s3/types.rb +78 -57
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -964,10 +964,10 @@ module Aws::S3
|
|
964
964
|
#
|
965
965
|
# @!attribute [rw] server_side_encryption
|
966
966
|
# If you specified server-side encryption either with an Amazon
|
967
|
-
# S3-managed encryption key or an Amazon Web Services KMS
|
968
|
-
#
|
969
|
-
#
|
970
|
-
#
|
967
|
+
# S3-managed encryption key or an Amazon Web Services KMS key in your
|
968
|
+
# initiate multipart upload request, the response includes this
|
969
|
+
# header. It confirms the encryption algorithm that Amazon S3 used to
|
970
|
+
# encrypt the object.
|
971
971
|
# @return [String]
|
972
972
|
#
|
973
973
|
# @!attribute [rw] version_id
|
@@ -978,7 +978,7 @@ module Aws::S3
|
|
978
978
|
# @!attribute [rw] ssekms_key_id
|
979
979
|
# If present, specifies the ID of the Amazon Web Services Key
|
980
980
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
981
|
-
# managed
|
981
|
+
# managed key that was used for the object.
|
982
982
|
# @return [String]
|
983
983
|
#
|
984
984
|
# @!attribute [rw] bucket_key_enabled
|
@@ -1248,7 +1248,7 @@ module Aws::S3
|
|
1248
1248
|
# @!attribute [rw] ssekms_key_id
|
1249
1249
|
# If present, specifies the ID of the Amazon Web Services Key
|
1250
1250
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
1251
|
-
# managed
|
1251
|
+
# managed key that was used for the object.
|
1252
1252
|
# @return [String]
|
1253
1253
|
#
|
1254
1254
|
# @!attribute [rw] ssekms_encryption_context
|
@@ -1917,7 +1917,7 @@ module Aws::S3
|
|
1917
1917
|
# @!attribute [rw] ssekms_key_id
|
1918
1918
|
# If present, specifies the ID of the Amazon Web Services Key
|
1919
1919
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
1920
|
-
# managed
|
1920
|
+
# managed key that was used for the object.
|
1921
1921
|
# @return [String]
|
1922
1922
|
#
|
1923
1923
|
# @!attribute [rw] ssekms_encryption_context
|
@@ -2130,14 +2130,13 @@ module Aws::S3
|
|
2130
2130
|
# @return [String]
|
2131
2131
|
#
|
2132
2132
|
# @!attribute [rw] ssekms_key_id
|
2133
|
-
# Specifies the ID of the symmetric customer managed
|
2134
|
-
#
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
#
|
2138
|
-
#
|
2139
|
-
#
|
2140
|
-
# User Guide*.
|
2133
|
+
# Specifies the ID of the symmetric customer managed key to use for
|
2134
|
+
# object encryption. All GET and PUT requests for an object protected
|
2135
|
+
# by Amazon Web Services KMS will fail if not made via SSL or using
|
2136
|
+
# SigV4. For information about configuring using any of the officially
|
2137
|
+
# supported Amazon Web Services SDKs and Amazon Web Services CLI, see
|
2138
|
+
# [Specifying the Signature Version in Request Authentication][1] in
|
2139
|
+
# the *Amazon S3 User Guide*.
|
2141
2140
|
#
|
2142
2141
|
#
|
2143
2142
|
#
|
@@ -3266,11 +3265,10 @@ module Aws::S3
|
|
3266
3265
|
#
|
3267
3266
|
# @!attribute [rw] kms_key_id
|
3268
3267
|
# If the encryption type is `aws:kms`, this optional value specifies
|
3269
|
-
# the ID of the symmetric customer managed
|
3270
|
-
#
|
3271
|
-
#
|
3272
|
-
#
|
3273
|
-
# Service Developer Guide*.
|
3268
|
+
# the ID of the symmetric customer managed key to use for encryption
|
3269
|
+
# of job results. Amazon S3 only supports symmetric keys. For more
|
3270
|
+
# information, see [Using symmetric and asymmetric keys][1] in the
|
3271
|
+
# *Amazon Web Services Key Management Service Developer Guide*.
|
3274
3272
|
#
|
3275
3273
|
#
|
3276
3274
|
#
|
@@ -5483,7 +5481,7 @@ module Aws::S3
|
|
5483
5481
|
# @!attribute [rw] ssekms_key_id
|
5484
5482
|
# If present, specifies the ID of the Amazon Web Services Key
|
5485
5483
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
5486
|
-
# managed
|
5484
|
+
# managed key that was used for the object.
|
5487
5485
|
# @return [String]
|
5488
5486
|
#
|
5489
5487
|
# @!attribute [rw] bucket_key_enabled
|
@@ -5607,6 +5605,9 @@ module Aws::S3
|
|
5607
5605
|
# bucket name. For more information about access point ARNs, see
|
5608
5606
|
# [Using access points][1] in the *Amazon S3 User Guide*.
|
5609
5607
|
#
|
5608
|
+
# When using an Object Lambda access point the hostname takes the form
|
5609
|
+
# *AccessPointName*-*AccountId*.s3-object-lambda.*Region*.amazonaws.com.
|
5610
|
+
#
|
5610
5611
|
# When using this action with Amazon S3 on Outposts, you must direct
|
5611
5612
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5612
5613
|
# takes the form
|
@@ -6330,10 +6331,10 @@ module Aws::S3
|
|
6330
6331
|
#
|
6331
6332
|
# @!attribute [rw] server_side_encryption
|
6332
6333
|
# If the object is stored using server-side encryption either with an
|
6333
|
-
# Amazon Web Services KMS
|
6334
|
-
#
|
6335
|
-
#
|
6336
|
-
#
|
6334
|
+
# Amazon Web Services KMS key or an Amazon S3-managed encryption key,
|
6335
|
+
# the response includes this header with the value of the server-side
|
6336
|
+
# encryption algorithm used when storing this object in Amazon S3 (for
|
6337
|
+
# example, AES256, aws:kms).
|
6337
6338
|
# @return [String]
|
6338
6339
|
#
|
6339
6340
|
# @!attribute [rw] metadata
|
@@ -6356,7 +6357,7 @@ module Aws::S3
|
|
6356
6357
|
# @!attribute [rw] ssekms_key_id
|
6357
6358
|
# If present, specifies the ID of the Amazon Web Services Key
|
6358
6359
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
6359
|
-
# managed
|
6360
|
+
# managed key that was used for the object.
|
6360
6361
|
# @return [String]
|
6361
6362
|
#
|
6362
6363
|
# @!attribute [rw] bucket_key_enabled
|
@@ -9048,6 +9049,7 @@ module Aws::S3
|
|
9048
9049
|
# value: "Value", # required
|
9049
9050
|
# },
|
9050
9051
|
# ],
|
9052
|
+
# access_point_arn: "AccessPointArn",
|
9051
9053
|
# }
|
9052
9054
|
#
|
9053
9055
|
# @!attribute [rw] prefix
|
@@ -9058,11 +9060,16 @@ module Aws::S3
|
|
9058
9060
|
# The list of tags used when evaluating an AND predicate.
|
9059
9061
|
# @return [Array<Types::Tag>]
|
9060
9062
|
#
|
9063
|
+
# @!attribute [rw] access_point_arn
|
9064
|
+
# The access point ARN used when evaluating an AND predicate.
|
9065
|
+
# @return [String]
|
9066
|
+
#
|
9061
9067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator AWS API Documentation
|
9062
9068
|
#
|
9063
9069
|
class MetricsAndOperator < Struct.new(
|
9064
9070
|
:prefix,
|
9065
|
-
:tags
|
9071
|
+
:tags,
|
9072
|
+
:access_point_arn)
|
9066
9073
|
SENSITIVE = []
|
9067
9074
|
include Aws::Structure
|
9068
9075
|
end
|
@@ -9072,8 +9079,7 @@ module Aws::S3
|
|
9072
9079
|
# If you're updating an existing metrics configuration, note that this
|
9073
9080
|
# is a full replacement of the existing metrics configuration. If you
|
9074
9081
|
# don't include the elements you want to keep, they are erased. For
|
9075
|
-
# more information, see [
|
9076
|
-
# Reference*.
|
9082
|
+
# more information, see [PutBucketMetricsConfiguration][1].
|
9077
9083
|
#
|
9078
9084
|
#
|
9079
9085
|
#
|
@@ -9090,6 +9096,7 @@ module Aws::S3
|
|
9090
9096
|
# key: "ObjectKey", # required
|
9091
9097
|
# value: "Value", # required
|
9092
9098
|
# },
|
9099
|
+
# access_point_arn: "AccessPointArn",
|
9093
9100
|
# and: {
|
9094
9101
|
# prefix: "Prefix",
|
9095
9102
|
# tags: [
|
@@ -9098,6 +9105,7 @@ module Aws::S3
|
|
9098
9105
|
# value: "Value", # required
|
9099
9106
|
# },
|
9100
9107
|
# ],
|
9108
|
+
# access_point_arn: "AccessPointArn",
|
9101
9109
|
# },
|
9102
9110
|
# },
|
9103
9111
|
# }
|
@@ -9109,7 +9117,8 @@ module Aws::S3
|
|
9109
9117
|
# @!attribute [rw] filter
|
9110
9118
|
# Specifies a metrics configuration filter. The metrics configuration
|
9111
9119
|
# will only include objects that meet the filter's criteria. A filter
|
9112
|
-
# must be a prefix,
|
9120
|
+
# must be a prefix, an object tag, an access point ARN, or a
|
9121
|
+
# conjunction (MetricsAndOperator).
|
9113
9122
|
# @return [Types::MetricsFilter]
|
9114
9123
|
#
|
9115
9124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration AWS API Documentation
|
@@ -9123,7 +9132,13 @@ module Aws::S3
|
|
9123
9132
|
|
9124
9133
|
# Specifies a metrics configuration filter. The metrics configuration
|
9125
9134
|
# only includes objects that meet the filter's criteria. A filter must
|
9126
|
-
# be a prefix,
|
9135
|
+
# be a prefix, an object tag, an access point ARN, or a conjunction
|
9136
|
+
# (MetricsAndOperator). For more information, see
|
9137
|
+
# [PutBucketMetricsConfiguration][1].
|
9138
|
+
#
|
9139
|
+
#
|
9140
|
+
#
|
9141
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html
|
9127
9142
|
#
|
9128
9143
|
# @note When making an API call, you may pass MetricsFilter
|
9129
9144
|
# data as a hash:
|
@@ -9134,6 +9149,7 @@ module Aws::S3
|
|
9134
9149
|
# key: "ObjectKey", # required
|
9135
9150
|
# value: "Value", # required
|
9136
9151
|
# },
|
9152
|
+
# access_point_arn: "AccessPointArn",
|
9137
9153
|
# and: {
|
9138
9154
|
# prefix: "Prefix",
|
9139
9155
|
# tags: [
|
@@ -9142,6 +9158,7 @@ module Aws::S3
|
|
9142
9158
|
# value: "Value", # required
|
9143
9159
|
# },
|
9144
9160
|
# ],
|
9161
|
+
# access_point_arn: "AccessPointArn",
|
9145
9162
|
# },
|
9146
9163
|
# }
|
9147
9164
|
#
|
@@ -9153,6 +9170,10 @@ module Aws::S3
|
|
9153
9170
|
# The tag used when evaluating a metrics filter.
|
9154
9171
|
# @return [Types::Tag]
|
9155
9172
|
#
|
9173
|
+
# @!attribute [rw] access_point_arn
|
9174
|
+
# The access point ARN used when evaluating a metrics filter.
|
9175
|
+
# @return [String]
|
9176
|
+
#
|
9156
9177
|
# @!attribute [rw] and
|
9157
9178
|
# A conjunction (logical AND) of predicates, which is used in
|
9158
9179
|
# evaluating a metrics filter. The operator must have at least two
|
@@ -9165,6 +9186,7 @@ module Aws::S3
|
|
9165
9186
|
class MetricsFilter < Struct.new(
|
9166
9187
|
:prefix,
|
9167
9188
|
:tag,
|
9189
|
+
:access_point_arn,
|
9168
9190
|
:and)
|
9169
9191
|
SENSITIVE = []
|
9170
9192
|
include Aws::Structure
|
@@ -10393,10 +10415,10 @@ module Aws::S3
|
|
10393
10415
|
#
|
10394
10416
|
# @!attribute [rw] bucket
|
10395
10417
|
# Specifies default encryption for a bucket using server-side
|
10396
|
-
# encryption with Amazon S3-managed keys (SSE-S3) or customer
|
10397
|
-
# keys
|
10398
|
-
#
|
10399
|
-
#
|
10418
|
+
# encryption with Amazon S3-managed keys (SSE-S3) or customer managed
|
10419
|
+
# keys (SSE-KMS). For information about the Amazon S3 default
|
10420
|
+
# encryption feature, see [Amazon S3 Default Bucket Encryption][1] in
|
10421
|
+
# the *Amazon S3 User Guide*.
|
10400
10422
|
#
|
10401
10423
|
#
|
10402
10424
|
#
|
@@ -10778,6 +10800,7 @@ module Aws::S3
|
|
10778
10800
|
# key: "ObjectKey", # required
|
10779
10801
|
# value: "Value", # required
|
10780
10802
|
# },
|
10803
|
+
# access_point_arn: "AccessPointArn",
|
10781
10804
|
# and: {
|
10782
10805
|
# prefix: "Prefix",
|
10783
10806
|
# tags: [
|
@@ -10786,6 +10809,7 @@ module Aws::S3
|
|
10786
10809
|
# value: "Value", # required
|
10787
10810
|
# },
|
10788
10811
|
# ],
|
10812
|
+
# access_point_arn: "AccessPointArn",
|
10789
10813
|
# },
|
10790
10814
|
# },
|
10791
10815
|
# },
|
@@ -11839,10 +11863,9 @@ module Aws::S3
|
|
11839
11863
|
#
|
11840
11864
|
# @!attribute [rw] server_side_encryption
|
11841
11865
|
# If you specified server-side encryption either with an Amazon Web
|
11842
|
-
# Services KMS
|
11843
|
-
#
|
11844
|
-
#
|
11845
|
-
# encrypt the object.
|
11866
|
+
# Services KMS key or Amazon S3-managed encryption key in your PUT
|
11867
|
+
# request, the response includes this header. It confirms the
|
11868
|
+
# encryption algorithm that Amazon S3 used to encrypt the object.
|
11846
11869
|
# @return [String]
|
11847
11870
|
#
|
11848
11871
|
# @!attribute [rw] version_id
|
@@ -11866,7 +11889,7 @@ module Aws::S3
|
|
11866
11889
|
# If `x-amz-server-side-encryption` is present and has the value of
|
11867
11890
|
# `aws:kms`, this header specifies the ID of the Amazon Web Services
|
11868
11891
|
# Key Management Service (Amazon Web Services KMS) symmetric customer
|
11869
|
-
# managed
|
11892
|
+
# managed key that was used for the object.
|
11870
11893
|
# @return [String]
|
11871
11894
|
#
|
11872
11895
|
# @!attribute [rw] ssekms_encryption_context
|
@@ -12168,13 +12191,12 @@ module Aws::S3
|
|
12168
12191
|
# If `x-amz-server-side-encryption` is present and has the value of
|
12169
12192
|
# `aws:kms`, this header specifies the ID of the Amazon Web Services
|
12170
12193
|
# Key Management Service (Amazon Web Services KMS) symmetrical
|
12171
|
-
# customer managed
|
12172
|
-
#
|
12173
|
-
#
|
12174
|
-
#
|
12175
|
-
#
|
12176
|
-
#
|
12177
|
-
# the ID.
|
12194
|
+
# customer managed key that was used for the object. If you specify
|
12195
|
+
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
12196
|
+
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
12197
|
+
# Amazon Web Services managed key to protect the data. If the KMS key
|
12198
|
+
# does not exist in the same account issuing the command, you must use
|
12199
|
+
# the full ARN and not just the ID.
|
12178
12200
|
# @return [String]
|
12179
12201
|
#
|
12180
12202
|
# @!attribute [rw] ssekms_encryption_context
|
@@ -13022,8 +13044,8 @@ module Aws::S3
|
|
13022
13044
|
# source objects that you want to replicate. You can choose to enable
|
13023
13045
|
# or disable the replication of these objects. Currently, Amazon S3
|
13024
13046
|
# supports only the filter that you can specify for objects created
|
13025
|
-
# with server-side encryption using a customer
|
13026
|
-
#
|
13047
|
+
# with server-side encryption using a customer managed key stored in
|
13048
|
+
# Amazon Web Services Key Management Service (SSE-KMS).
|
13027
13049
|
# @return [Types::SourceSelectionCriteria]
|
13028
13050
|
#
|
13029
13051
|
# @!attribute [rw] existing_object_replication
|
@@ -13902,8 +13924,8 @@ module Aws::S3
|
|
13902
13924
|
#
|
13903
13925
|
# @!attribute [rw] key_id
|
13904
13926
|
# Specifies the ID of the Amazon Web Services Key Management Service
|
13905
|
-
# (Amazon Web Services KMS) symmetric customer managed
|
13906
|
-
#
|
13927
|
+
# (Amazon Web Services KMS) symmetric customer managed key to use for
|
13928
|
+
# encrypting inventory reports.
|
13907
13929
|
# @return [String]
|
13908
13930
|
#
|
13909
13931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMS AWS API Documentation
|
@@ -14344,8 +14366,8 @@ module Aws::S3
|
|
14344
14366
|
# source objects that you want to replicate. You can choose to enable or
|
14345
14367
|
# disable the replication of these objects. Currently, Amazon S3
|
14346
14368
|
# supports only the filter that you can specify for objects created with
|
14347
|
-
# server-side encryption using a customer
|
14348
|
-
#
|
14369
|
+
# server-side encryption using a customer managed key stored in Amazon
|
14370
|
+
# Web Services Key Management Service (SSE-KMS).
|
14349
14371
|
#
|
14350
14372
|
# @note When making an API call, you may pass SourceSelectionCriteria
|
14351
14373
|
# data as a hash:
|
@@ -14837,7 +14859,7 @@ module Aws::S3
|
|
14837
14859
|
# @!attribute [rw] ssekms_key_id
|
14838
14860
|
# If present, specifies the ID of the Amazon Web Services Key
|
14839
14861
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
14840
|
-
# managed
|
14862
|
+
# managed key that was used for the object.
|
14841
14863
|
# @return [String]
|
14842
14864
|
#
|
14843
14865
|
# @!attribute [rw] bucket_key_enabled
|
@@ -15119,7 +15141,7 @@ module Aws::S3
|
|
15119
15141
|
# @!attribute [rw] ssekms_key_id
|
15120
15142
|
# If present, specifies the ID of the Amazon Web Services Key
|
15121
15143
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
15122
|
-
# managed
|
15144
|
+
# managed key was used for the object.
|
15123
15145
|
# @return [String]
|
15124
15146
|
#
|
15125
15147
|
# @!attribute [rw] bucket_key_enabled
|
@@ -15615,8 +15637,7 @@ module Aws::S3
|
|
15615
15637
|
# @!attribute [rw] ssekms_key_id
|
15616
15638
|
# If present, specifies the ID of the Amazon Web Services Key
|
15617
15639
|
# Management Service (Amazon Web Services KMS) symmetric customer
|
15618
|
-
# managed
|
15619
|
-
# S3 object.
|
15640
|
+
# managed key that was used for stored in Amazon S3 object.
|
15620
15641
|
# @return [String]
|
15621
15642
|
#
|
15622
15643
|
# @!attribute [rw] sse_customer_key_md5
|
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.105.1
|
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: 2021-
|
11
|
+
date: 2021-11-05 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.122.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.122.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:
|