aws-sdk-s3 1.166.0 → 1.174.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +82 -27
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +5 -0
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +58 -1
- data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
- data/lib/aws-sdk-s3/client.rb +734 -475
- data/lib/aws-sdk-s3/client_api.rb +45 -1
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoints.rb +405 -1405
- data/lib/aws-sdk-s3/errors.rb +44 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +37 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +8 -8
- data/lib/aws-sdk-s3/object.rb +153 -56
- data/lib/aws-sdk-s3/object_summary.rb +151 -54
- data/lib/aws-sdk-s3/object_version.rb +47 -4
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -204
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
- data/lib/aws-sdk-s3/resource.rb +25 -1
- data/lib/aws-sdk-s3/types.rb +527 -233
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +9 -1
- data/sig/bucket_lifecycle_configuration.rbs +7 -3
- data/sig/client.rbs +27 -7
- data/sig/errors.rbs +8 -0
- data/sig/multipart_upload.rbs +3 -1
- data/sig/object.rbs +6 -1
- data/sig/object_summary.rbs +6 -1
- data/sig/object_version.rbs +4 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +34 -0
- metadata +4 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -128,6 +128,19 @@ module Aws::S3
|
|
128
128
|
# denied).
|
129
129
|
# @return [String]
|
130
130
|
#
|
131
|
+
# @!attribute [rw] if_match_initiated_time
|
132
|
+
# If present, this header aborts an in progress multipart upload only
|
133
|
+
# if it was initiated on the provided timestamp. If the initiated
|
134
|
+
# timestamp of the multipart upload does not match the provided value,
|
135
|
+
# the operation returns a `412 Precondition Failed` error. If the
|
136
|
+
# initiated timestamp matches or if the multipart upload doesn’t
|
137
|
+
# exist, the operation returns a `204 Success (No Content)` response.
|
138
|
+
#
|
139
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
140
|
+
#
|
141
|
+
# </note>
|
142
|
+
# @return [Time]
|
143
|
+
#
|
131
144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest AWS API Documentation
|
132
145
|
#
|
133
146
|
class AbortMultipartUploadRequest < Struct.new(
|
@@ -135,7 +148,8 @@ module Aws::S3
|
|
135
148
|
:key,
|
136
149
|
:upload_id,
|
137
150
|
:request_payer,
|
138
|
-
:expected_bucket_owner
|
151
|
+
:expected_bucket_owner,
|
152
|
+
:if_match_initiated_time)
|
139
153
|
SENSITIVE = []
|
140
154
|
include Aws::Structure
|
141
155
|
end
|
@@ -344,11 +358,18 @@ module Aws::S3
|
|
344
358
|
# changes to your bucket, such as editing its bucket policy.
|
345
359
|
# @return [Time]
|
346
360
|
#
|
361
|
+
# @!attribute [rw] bucket_region
|
362
|
+
# `BucketRegion` indicates the Amazon Web Services region where the
|
363
|
+
# bucket is located. If the request contains at least one valid
|
364
|
+
# parameter, it is included in the response.
|
365
|
+
# @return [String]
|
366
|
+
#
|
347
367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket AWS API Documentation
|
348
368
|
#
|
349
369
|
class Bucket < Struct.new(
|
350
370
|
:name,
|
351
|
-
:creation_date
|
371
|
+
:creation_date,
|
372
|
+
:bucket_region)
|
352
373
|
SENSITIVE = []
|
353
374
|
include Aws::Structure
|
354
375
|
end
|
@@ -634,7 +655,7 @@ module Aws::S3
|
|
634
655
|
# Contains all the possible checksum or digest values for an object.
|
635
656
|
#
|
636
657
|
# @!attribute [rw] checksum_crc32
|
637
|
-
# The base64-encoded, 32-bit
|
658
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
638
659
|
# only be present if it was uploaded with the object. When you use an
|
639
660
|
# API operation on an object that was uploaded using multipart
|
640
661
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -649,7 +670,7 @@ module Aws::S3
|
|
649
670
|
# @return [String]
|
650
671
|
#
|
651
672
|
# @!attribute [rw] checksum_crc32c
|
652
|
-
# The base64-encoded, 32-bit
|
673
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
653
674
|
# only be present if it was uploaded with the object. When you use an
|
654
675
|
# API operation on an object that was uploaded using multipart
|
655
676
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -803,7 +824,7 @@ module Aws::S3
|
|
803
824
|
# @return [String]
|
804
825
|
#
|
805
826
|
# @!attribute [rw] checksum_crc32
|
806
|
-
# The base64-encoded, 32-bit
|
827
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
807
828
|
# only be present if it was uploaded with the object. When you use an
|
808
829
|
# API operation on an object that was uploaded using multipart
|
809
830
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -818,7 +839,7 @@ module Aws::S3
|
|
818
839
|
# @return [String]
|
819
840
|
#
|
820
841
|
# @!attribute [rw] checksum_crc32c
|
821
|
-
# The base64-encoded, 32-bit
|
842
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
822
843
|
# only be present if it was uploaded with the object. When you use an
|
823
844
|
# API operation on an object that was uploaded using multipart
|
824
845
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -977,7 +998,7 @@ module Aws::S3
|
|
977
998
|
# @!attribute [rw] checksum_crc32
|
978
999
|
# This header can be used as a data integrity check to verify that the
|
979
1000
|
# data received is the same data that was originally sent. This header
|
980
|
-
# specifies the base64-encoded, 32-bit
|
1001
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
981
1002
|
# For more information, see [Checking object integrity][1] in the
|
982
1003
|
# *Amazon S3 User Guide*.
|
983
1004
|
#
|
@@ -989,7 +1010,7 @@ module Aws::S3
|
|
989
1010
|
# @!attribute [rw] checksum_crc32c
|
990
1011
|
# This header can be used as a data integrity check to verify that the
|
991
1012
|
# data received is the same data that was originally sent. This header
|
992
|
-
# specifies the base64-encoded, 32-bit
|
1013
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
|
993
1014
|
# For more information, see [Checking object integrity][1] in the
|
994
1015
|
# *Amazon S3 User Guide*.
|
995
1016
|
#
|
@@ -1047,6 +1068,28 @@ module Aws::S3
|
|
1047
1068
|
# denied).
|
1048
1069
|
# @return [String]
|
1049
1070
|
#
|
1071
|
+
# @!attribute [rw] if_match
|
1072
|
+
# Uploads the object only if the ETag (entity tag) value provided
|
1073
|
+
# during the WRITE operation matches the ETag of the object in S3. If
|
1074
|
+
# the ETag values do not match, the operation returns a `412
|
1075
|
+
# Precondition Failed` error.
|
1076
|
+
#
|
1077
|
+
# If a conflicting operation occurs during the upload S3 returns a
|
1078
|
+
# `409 ConditionalRequestConflict` response. On a 409 failure you
|
1079
|
+
# should fetch the object's ETag, re-initiate the multipart upload
|
1080
|
+
# with `CreateMultipartUpload`, and re-upload each part.
|
1081
|
+
#
|
1082
|
+
# Expects the ETag value as a string.
|
1083
|
+
#
|
1084
|
+
# For more information about conditional requests, see [RFC 7232][1],
|
1085
|
+
# or [Conditional requests][2] in the *Amazon S3 User Guide*.
|
1086
|
+
#
|
1087
|
+
#
|
1088
|
+
#
|
1089
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
1090
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
|
1091
|
+
# @return [String]
|
1092
|
+
#
|
1050
1093
|
# @!attribute [rw] if_none_match
|
1051
1094
|
# Uploads the object only if the object key name does not already
|
1052
1095
|
# exist in the bucket specified. Otherwise, Amazon S3 returns a `412
|
@@ -1127,6 +1170,7 @@ module Aws::S3
|
|
1127
1170
|
:checksum_sha256,
|
1128
1171
|
:request_payer,
|
1129
1172
|
:expected_bucket_owner,
|
1173
|
+
:if_match,
|
1130
1174
|
:if_none_match,
|
1131
1175
|
:sse_customer_algorithm,
|
1132
1176
|
:sse_customer_key,
|
@@ -1159,7 +1203,7 @@ module Aws::S3
|
|
1159
1203
|
# @return [String]
|
1160
1204
|
#
|
1161
1205
|
# @!attribute [rw] checksum_crc32
|
1162
|
-
# The base64-encoded, 32-bit
|
1206
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
1163
1207
|
# only be present if it was uploaded with the object. When you use an
|
1164
1208
|
# API operation on an object that was uploaded using multipart
|
1165
1209
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -1174,7 +1218,7 @@ module Aws::S3
|
|
1174
1218
|
# @return [String]
|
1175
1219
|
#
|
1176
1220
|
# @!attribute [rw] checksum_crc32c
|
1177
|
-
# The base64-encoded, 32-bit
|
1221
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
1178
1222
|
# only be present if it was uploaded with the object. When you use an
|
1179
1223
|
# API operation on an object that was uploaded using multipart
|
1180
1224
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -1857,14 +1901,14 @@ module Aws::S3
|
|
1857
1901
|
# * To encrypt new object copies to a directory bucket with SSE-KMS,
|
1858
1902
|
# we recommend you specify SSE-KMS as the directory bucket's
|
1859
1903
|
# default encryption configuration with a KMS key (specifically, a
|
1860
|
-
# [customer managed key][4]). [Amazon Web Services managed
|
1861
|
-
# (`aws/s3`) isn't supported. Your SSE-KMS configuration
|
1862
|
-
# support 1 [customer managed key][4] per directory bucket
|
1863
|
-
# lifetime of the bucket. After you specify a customer
|
1864
|
-
# for SSE-KMS, you can't override the customer managed
|
1865
|
-
# bucket's SSE-KMS configuration. Then, when you
|
1866
|
-
# `CopyObject` operation and want to specify server-side
|
1867
|
-
# settings for new object copies with SSE-KMS in the
|
1904
|
+
# [customer managed key][4]). The [Amazon Web Services managed
|
1905
|
+
# key][5] (`aws/s3`) isn't supported. Your SSE-KMS configuration
|
1906
|
+
# can only support 1 [customer managed key][4] per directory bucket
|
1907
|
+
# for the lifetime of the bucket. After you specify a customer
|
1908
|
+
# managed key for SSE-KMS, you can't override the customer managed
|
1909
|
+
# key for the bucket's SSE-KMS configuration. Then, when you
|
1910
|
+
# perform a `CopyObject` operation and want to specify server-side
|
1911
|
+
# encryption settings for new object copies with SSE-KMS in the
|
1868
1912
|
# encryption-related request headers, you must ensure the encryption
|
1869
1913
|
# key is the same customer managed key that you specified for the
|
1870
1914
|
# directory bucket's default encryption configuration.
|
@@ -1990,15 +2034,20 @@ module Aws::S3
|
|
1990
2034
|
# User Guide*.
|
1991
2035
|
#
|
1992
2036
|
# **Directory buckets** - If you specify
|
1993
|
-
# `x-amz-server-side-encryption` with `aws:kms`,
|
1994
|
-
#
|
1995
|
-
#
|
1996
|
-
#
|
1997
|
-
#
|
1998
|
-
#
|
1999
|
-
#
|
2000
|
-
#
|
2001
|
-
#
|
2037
|
+
# `x-amz-server-side-encryption` with `aws:kms`, the `
|
2038
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header is implicitly
|
2039
|
+
# assigned the ID of the KMS symmetric encryption customer managed key
|
2040
|
+
# that's configured for your directory bucket's default encryption
|
2041
|
+
# setting. If you want to specify the `
|
2042
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
|
2043
|
+
# can only specify it with the ID (Key ID or Key ARN) of the KMS
|
2044
|
+
# customer managed key that's configured for your directory bucket's
|
2045
|
+
# default encryption setting. Otherwise, you get an HTTP `400 Bad
|
2046
|
+
# Request` error. Only use the key ID or key ARN. The key alias format
|
2047
|
+
# of the KMS key isn't supported. Your SSE-KMS configuration can only
|
2048
|
+
# support 1 [customer managed key][2] per directory bucket for the
|
2049
|
+
# lifetime of the bucket. The [Amazon Web Services managed key][3]
|
2050
|
+
# (`aws/s3`) isn't supported.
|
2002
2051
|
#
|
2003
2052
|
#
|
2004
2053
|
#
|
@@ -2273,7 +2322,7 @@ module Aws::S3
|
|
2273
2322
|
# @return [Time]
|
2274
2323
|
#
|
2275
2324
|
# @!attribute [rw] checksum_crc32
|
2276
|
-
# The base64-encoded, 32-bit
|
2325
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
2277
2326
|
# only be present if it was uploaded with the object. For more
|
2278
2327
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
2279
2328
|
# User Guide*.
|
@@ -2284,7 +2333,7 @@ module Aws::S3
|
|
2284
2333
|
# @return [String]
|
2285
2334
|
#
|
2286
2335
|
# @!attribute [rw] checksum_crc32c
|
2287
|
-
# The base64-encoded, 32-bit
|
2336
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
2288
2337
|
# only be present if it was uploaded with the object. For more
|
2289
2338
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
2290
2339
|
# User Guide*.
|
@@ -2340,7 +2389,7 @@ module Aws::S3
|
|
2340
2389
|
# @return [Time]
|
2341
2390
|
#
|
2342
2391
|
# @!attribute [rw] checksum_crc32
|
2343
|
-
# The base64-encoded, 32-bit
|
2392
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
2344
2393
|
# only be present if it was uploaded with the object. When you use an
|
2345
2394
|
# API operation on an object that was uploaded using multipart
|
2346
2395
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -2355,7 +2404,7 @@ module Aws::S3
|
|
2355
2404
|
# @return [String]
|
2356
2405
|
#
|
2357
2406
|
# @!attribute [rw] checksum_crc32c
|
2358
|
-
# The base64-encoded, 32-bit
|
2407
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
2359
2408
|
# only be present if it was uploaded with the object. When you use an
|
2360
2409
|
# API operation on an object that was uploaded using multipart
|
2361
2410
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -3245,15 +3294,20 @@ module Aws::S3
|
|
3245
3294
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
3246
3295
|
#
|
3247
3296
|
# **Directory buckets** - If you specify
|
3248
|
-
# `x-amz-server-side-encryption` with `aws:kms`,
|
3249
|
-
#
|
3250
|
-
#
|
3251
|
-
#
|
3252
|
-
#
|
3253
|
-
#
|
3254
|
-
#
|
3255
|
-
#
|
3256
|
-
#
|
3297
|
+
# `x-amz-server-side-encryption` with `aws:kms`, the `
|
3298
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header is implicitly
|
3299
|
+
# assigned the ID of the KMS symmetric encryption customer managed key
|
3300
|
+
# that's configured for your directory bucket's default encryption
|
3301
|
+
# setting. If you want to specify the `
|
3302
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
|
3303
|
+
# can only specify it with the ID (Key ID or Key ARN) of the KMS
|
3304
|
+
# customer managed key that's configured for your directory bucket's
|
3305
|
+
# default encryption setting. Otherwise, you get an HTTP `400 Bad
|
3306
|
+
# Request` error. Only use the key ID or key ARN. The key alias format
|
3307
|
+
# of the KMS key isn't supported. Your SSE-KMS configuration can only
|
3308
|
+
# support 1 [customer managed key][1] per directory bucket for the
|
3309
|
+
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
3310
|
+
# (`aws/s3`) isn't supported.
|
3257
3311
|
#
|
3258
3312
|
#
|
3259
3313
|
#
|
@@ -3491,8 +3545,8 @@ module Aws::S3
|
|
3491
3545
|
# must use the full Key ARN not the Key ID.
|
3492
3546
|
#
|
3493
3547
|
# Your SSE-KMS configuration can only support 1 [customer managed
|
3494
|
-
# key][1] per directory bucket for the lifetime of the bucket.
|
3495
|
-
# Web Services managed key][2] (`aws/s3`) isn't supported.
|
3548
|
+
# key][1] per directory bucket for the lifetime of the bucket. The
|
3549
|
+
# [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
|
3496
3550
|
#
|
3497
3551
|
#
|
3498
3552
|
#
|
@@ -3765,6 +3819,11 @@ module Aws::S3
|
|
3765
3819
|
# you provide does not match the actual owner of the bucket, the
|
3766
3820
|
# request fails with the HTTP status code `403 Forbidden` (access
|
3767
3821
|
# denied).
|
3822
|
+
#
|
3823
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
3824
|
+
# supported for directory bucket lifecycle configurations.
|
3825
|
+
#
|
3826
|
+
# </note>
|
3768
3827
|
# @return [String]
|
3769
3828
|
#
|
3770
3829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest AWS API Documentation
|
@@ -4182,6 +4241,52 @@ module Aws::S3
|
|
4182
4241
|
# denied).
|
4183
4242
|
# @return [String]
|
4184
4243
|
#
|
4244
|
+
# @!attribute [rw] if_match
|
4245
|
+
# The `If-Match` header field makes the request method conditional on
|
4246
|
+
# ETags. If the ETag value does not match, the operation returns a
|
4247
|
+
# `412 Precondition Failed` error. If the ETag matches or if the
|
4248
|
+
# object doesn't exist, the operation will return a `204 Success (No
|
4249
|
+
# Content) response`.
|
4250
|
+
#
|
4251
|
+
# For more information about conditional requests, see [RFC 7232][1].
|
4252
|
+
#
|
4253
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4254
|
+
#
|
4255
|
+
# </note>
|
4256
|
+
#
|
4257
|
+
#
|
4258
|
+
#
|
4259
|
+
# [1]: https://docs.aws.amazon.com/https:/tools.ietf.org/html/rfc7232
|
4260
|
+
# @return [String]
|
4261
|
+
#
|
4262
|
+
# @!attribute [rw] if_match_last_modified_time
|
4263
|
+
# If present, the object is deleted only if its modification times
|
4264
|
+
# matches the provided `Timestamp`. If the `Timestamp` values do not
|
4265
|
+
# match, the operation returns a `412 Precondition Failed` error. If
|
4266
|
+
# the `Timestamp` matches or if the object doesn’t exist, the
|
4267
|
+
# operation returns a `204 Success (No Content)` response.
|
4268
|
+
#
|
4269
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4270
|
+
#
|
4271
|
+
# </note>
|
4272
|
+
# @return [Time]
|
4273
|
+
#
|
4274
|
+
# @!attribute [rw] if_match_size
|
4275
|
+
# If present, the object is deleted only if its size matches the
|
4276
|
+
# provided size in bytes. If the `Size` value does not match, the
|
4277
|
+
# operation returns a `412 Precondition Failed` error. If the `Size`
|
4278
|
+
# matches or if the object doesn’t exist, the operation returns a `204
|
4279
|
+
# Success (No Content)` response.
|
4280
|
+
#
|
4281
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4282
|
+
#
|
4283
|
+
# </note>
|
4284
|
+
#
|
4285
|
+
# You can use the `If-Match`, `x-amz-if-match-last-modified-time` and
|
4286
|
+
# `x-amz-if-match-size` conditional headers in conjunction with
|
4287
|
+
# each-other or individually.
|
4288
|
+
# @return [Integer]
|
4289
|
+
#
|
4185
4290
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest AWS API Documentation
|
4186
4291
|
#
|
4187
4292
|
class DeleteObjectRequest < Struct.new(
|
@@ -4191,7 +4296,10 @@ module Aws::S3
|
|
4191
4296
|
:version_id,
|
4192
4297
|
:request_payer,
|
4193
4298
|
:bypass_governance_retention,
|
4194
|
-
:expected_bucket_owner
|
4299
|
+
:expected_bucket_owner,
|
4300
|
+
:if_match,
|
4301
|
+
:if_match_last_modified_time,
|
4302
|
+
:if_match_size)
|
4195
4303
|
SENSITIVE = []
|
4196
4304
|
include Aws::Structure
|
4197
4305
|
end
|
@@ -4414,13 +4522,13 @@ module Aws::S3
|
|
4414
4522
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
4415
4523
|
# with the supported algorithm from the following list:
|
4416
4524
|
#
|
4417
|
-
# * CRC32
|
4525
|
+
# * `CRC32`
|
4418
4526
|
#
|
4419
|
-
# * CRC32C
|
4527
|
+
# * `CRC32C`
|
4420
4528
|
#
|
4421
|
-
# * SHA1
|
4529
|
+
# * `SHA1`
|
4422
4530
|
#
|
4423
|
-
# * SHA256
|
4531
|
+
# * `SHA256`
|
4424
4532
|
#
|
4425
4533
|
# For more information, see [Checking object integrity][1] in the
|
4426
4534
|
# *Amazon S3 User Guide*.
|
@@ -4667,6 +4775,14 @@ module Aws::S3
|
|
4667
4775
|
include Aws::Structure
|
4668
4776
|
end
|
4669
4777
|
|
4778
|
+
# The existing object was created with a different encryption type.
|
4779
|
+
# Subsequent write requests must include the appropriate encryption
|
4780
|
+
# parameters in the request or while creating the session.
|
4781
|
+
#
|
4782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionTypeMismatch AWS API Documentation
|
4783
|
+
#
|
4784
|
+
class EncryptionTypeMismatch < Aws::EmptyStructure; end
|
4785
|
+
|
4670
4786
|
# A message that indicates the request is complete and no more messages
|
4671
4787
|
# will be sent. You should not assume that the request is complete until
|
4672
4788
|
# the client receives an `EndEvent`.
|
@@ -4706,7 +4822,6 @@ module Aws::S3
|
|
4706
4822
|
# * *HTTP Status Code:* 403 Forbidden
|
4707
4823
|
#
|
4708
4824
|
# * *SOAP Fault Code Prefix:* Client
|
4709
|
-
#
|
4710
4825
|
# * * *Code:* AccountProblem
|
4711
4826
|
#
|
4712
4827
|
# * *Description:* There is a problem with your Amazon Web Services
|
@@ -4716,7 +4831,6 @@ module Aws::S3
|
|
4716
4831
|
# * *HTTP Status Code:* 403 Forbidden
|
4717
4832
|
#
|
4718
4833
|
# * *SOAP Fault Code Prefix:* Client
|
4719
|
-
#
|
4720
4834
|
# * * *Code:* AllAccessDisabled
|
4721
4835
|
#
|
4722
4836
|
# * *Description:* All access to this Amazon S3 resource has been
|
@@ -4726,7 +4840,6 @@ module Aws::S3
|
|
4726
4840
|
# * *HTTP Status Code:* 403 Forbidden
|
4727
4841
|
#
|
4728
4842
|
# * *SOAP Fault Code Prefix:* Client
|
4729
|
-
#
|
4730
4843
|
# * * *Code:* AmbiguousGrantByEmailAddress
|
4731
4844
|
#
|
4732
4845
|
# * *Description:* The email address you provided is associated with
|
@@ -4735,7 +4848,6 @@ module Aws::S3
|
|
4735
4848
|
# * *HTTP Status Code:* 400 Bad Request
|
4736
4849
|
#
|
4737
4850
|
# * *SOAP Fault Code Prefix:* Client
|
4738
|
-
#
|
4739
4851
|
# * * *Code:* AuthorizationHeaderMalformed
|
4740
4852
|
#
|
4741
4853
|
# * *Description:* The authorization header you provided is invalid.
|
@@ -4743,7 +4855,6 @@ module Aws::S3
|
|
4743
4855
|
# * *HTTP Status Code:* 400 Bad Request
|
4744
4856
|
#
|
4745
4857
|
# * *HTTP Status Code:* N/A
|
4746
|
-
#
|
4747
4858
|
# * * *Code:* BadDigest
|
4748
4859
|
#
|
4749
4860
|
# * *Description:* The Content-MD5 you specified did not match what
|
@@ -4752,7 +4863,6 @@ module Aws::S3
|
|
4752
4863
|
# * *HTTP Status Code:* 400 Bad Request
|
4753
4864
|
#
|
4754
4865
|
# * *SOAP Fault Code Prefix:* Client
|
4755
|
-
#
|
4756
4866
|
# * * *Code:* BucketAlreadyExists
|
4757
4867
|
#
|
4758
4868
|
# * *Description:* The requested bucket name is not available. The
|
@@ -4762,7 +4872,6 @@ module Aws::S3
|
|
4762
4872
|
# * *HTTP Status Code:* 409 Conflict
|
4763
4873
|
#
|
4764
4874
|
# * *SOAP Fault Code Prefix:* Client
|
4765
|
-
#
|
4766
4875
|
# * * *Code:* BucketAlreadyOwnedByYou
|
4767
4876
|
#
|
4768
4877
|
# * *Description:* The bucket you tried to create already exists,
|
@@ -4776,7 +4885,6 @@ module Aws::S3
|
|
4776
4885
|
# Region)
|
4777
4886
|
#
|
4778
4887
|
# * *SOAP Fault Code Prefix:* Client
|
4779
|
-
#
|
4780
4888
|
# * * *Code:* BucketNotEmpty
|
4781
4889
|
#
|
4782
4890
|
# * *Description:* The bucket you tried to delete is not empty.
|
@@ -4784,7 +4892,6 @@ module Aws::S3
|
|
4784
4892
|
# * *HTTP Status Code:* 409 Conflict
|
4785
4893
|
#
|
4786
4894
|
# * *SOAP Fault Code Prefix:* Client
|
4787
|
-
#
|
4788
4895
|
# * * *Code:* CredentialsNotSupported
|
4789
4896
|
#
|
4790
4897
|
# * *Description:* This request does not support credentials.
|
@@ -4792,7 +4899,6 @@ module Aws::S3
|
|
4792
4899
|
# * *HTTP Status Code:* 400 Bad Request
|
4793
4900
|
#
|
4794
4901
|
# * *SOAP Fault Code Prefix:* Client
|
4795
|
-
#
|
4796
4902
|
# * * *Code:* CrossLocationLoggingProhibited
|
4797
4903
|
#
|
4798
4904
|
# * *Description:* Cross-location logging not allowed. Buckets in
|
@@ -4802,7 +4908,6 @@ module Aws::S3
|
|
4802
4908
|
# * *HTTP Status Code:* 403 Forbidden
|
4803
4909
|
#
|
4804
4910
|
# * *SOAP Fault Code Prefix:* Client
|
4805
|
-
#
|
4806
4911
|
# * * *Code:* EntityTooSmall
|
4807
4912
|
#
|
4808
4913
|
# * *Description:* Your proposed upload is smaller than the minimum
|
@@ -4811,7 +4916,6 @@ module Aws::S3
|
|
4811
4916
|
# * *HTTP Status Code:* 400 Bad Request
|
4812
4917
|
#
|
4813
4918
|
# * *SOAP Fault Code Prefix:* Client
|
4814
|
-
#
|
4815
4919
|
# * * *Code:* EntityTooLarge
|
4816
4920
|
#
|
4817
4921
|
# * *Description:* Your proposed upload exceeds the maximum allowed
|
@@ -4820,7 +4924,6 @@ module Aws::S3
|
|
4820
4924
|
# * *HTTP Status Code:* 400 Bad Request
|
4821
4925
|
#
|
4822
4926
|
# * *SOAP Fault Code Prefix:* Client
|
4823
|
-
#
|
4824
4927
|
# * * *Code:* ExpiredToken
|
4825
4928
|
#
|
4826
4929
|
# * *Description:* The provided token has expired.
|
@@ -4828,7 +4931,6 @@ module Aws::S3
|
|
4828
4931
|
# * *HTTP Status Code:* 400 Bad Request
|
4829
4932
|
#
|
4830
4933
|
# * *SOAP Fault Code Prefix:* Client
|
4831
|
-
#
|
4832
4934
|
# * * *Code:* IllegalVersioningConfigurationException
|
4833
4935
|
#
|
4834
4936
|
# * *Description:* Indicates that the versioning configuration
|
@@ -4837,7 +4939,6 @@ module Aws::S3
|
|
4837
4939
|
# * *HTTP Status Code:* 400 Bad Request
|
4838
4940
|
#
|
4839
4941
|
# * *SOAP Fault Code Prefix:* Client
|
4840
|
-
#
|
4841
4942
|
# * * *Code:* IncompleteBody
|
4842
4943
|
#
|
4843
4944
|
# * *Description:* You did not provide the number of bytes specified
|
@@ -4846,7 +4947,6 @@ module Aws::S3
|
|
4846
4947
|
# * *HTTP Status Code:* 400 Bad Request
|
4847
4948
|
#
|
4848
4949
|
# * *SOAP Fault Code Prefix:* Client
|
4849
|
-
#
|
4850
4950
|
# * * *Code:* IncorrectNumberOfFilesInPostRequest
|
4851
4951
|
#
|
4852
4952
|
# * *Description:* POST requires exactly one file upload per
|
@@ -4855,7 +4955,6 @@ module Aws::S3
|
|
4855
4955
|
# * *HTTP Status Code:* 400 Bad Request
|
4856
4956
|
#
|
4857
4957
|
# * *SOAP Fault Code Prefix:* Client
|
4858
|
-
#
|
4859
4958
|
# * * *Code:* InlineDataTooLarge
|
4860
4959
|
#
|
4861
4960
|
# * *Description:* Inline data exceeds the maximum allowed size.
|
@@ -4863,7 +4962,6 @@ module Aws::S3
|
|
4863
4962
|
# * *HTTP Status Code:* 400 Bad Request
|
4864
4963
|
#
|
4865
4964
|
# * *SOAP Fault Code Prefix:* Client
|
4866
|
-
#
|
4867
4965
|
# * * *Code:* InternalError
|
4868
4966
|
#
|
4869
4967
|
# * *Description:* We encountered an internal error. Please try
|
@@ -4872,7 +4970,6 @@ module Aws::S3
|
|
4872
4970
|
# * *HTTP Status Code:* 500 Internal Server Error
|
4873
4971
|
#
|
4874
4972
|
# * *SOAP Fault Code Prefix:* Server
|
4875
|
-
#
|
4876
4973
|
# * * *Code:* InvalidAccessKeyId
|
4877
4974
|
#
|
4878
4975
|
# * *Description:* The Amazon Web Services access key ID you
|
@@ -4881,7 +4978,6 @@ module Aws::S3
|
|
4881
4978
|
# * *HTTP Status Code:* 403 Forbidden
|
4882
4979
|
#
|
4883
4980
|
# * *SOAP Fault Code Prefix:* Client
|
4884
|
-
#
|
4885
4981
|
# * * *Code:* InvalidAddressingHeader
|
4886
4982
|
#
|
4887
4983
|
# * *Description:* You must specify the Anonymous role.
|
@@ -4889,7 +4985,6 @@ module Aws::S3
|
|
4889
4985
|
# * *HTTP Status Code:* N/A
|
4890
4986
|
#
|
4891
4987
|
# * *SOAP Fault Code Prefix:* Client
|
4892
|
-
#
|
4893
4988
|
# * * *Code:* InvalidArgument
|
4894
4989
|
#
|
4895
4990
|
# * *Description:* Invalid Argument
|
@@ -4897,7 +4992,6 @@ module Aws::S3
|
|
4897
4992
|
# * *HTTP Status Code:* 400 Bad Request
|
4898
4993
|
#
|
4899
4994
|
# * *SOAP Fault Code Prefix:* Client
|
4900
|
-
#
|
4901
4995
|
# * * *Code:* InvalidBucketName
|
4902
4996
|
#
|
4903
4997
|
# * *Description:* The specified bucket is not valid.
|
@@ -4905,7 +4999,6 @@ module Aws::S3
|
|
4905
4999
|
# * *HTTP Status Code:* 400 Bad Request
|
4906
5000
|
#
|
4907
5001
|
# * *SOAP Fault Code Prefix:* Client
|
4908
|
-
#
|
4909
5002
|
# * * *Code:* InvalidBucketState
|
4910
5003
|
#
|
4911
5004
|
# * *Description:* The request is not valid with the current state
|
@@ -4914,7 +5007,6 @@ module Aws::S3
|
|
4914
5007
|
# * *HTTP Status Code:* 409 Conflict
|
4915
5008
|
#
|
4916
5009
|
# * *SOAP Fault Code Prefix:* Client
|
4917
|
-
#
|
4918
5010
|
# * * *Code:* InvalidDigest
|
4919
5011
|
#
|
4920
5012
|
# * *Description:* The Content-MD5 you specified is not valid.
|
@@ -4922,7 +5014,6 @@ module Aws::S3
|
|
4922
5014
|
# * *HTTP Status Code:* 400 Bad Request
|
4923
5015
|
#
|
4924
5016
|
# * *SOAP Fault Code Prefix:* Client
|
4925
|
-
#
|
4926
5017
|
# * * *Code:* InvalidEncryptionAlgorithmError
|
4927
5018
|
#
|
4928
5019
|
# * *Description:* The encryption request you specified is not
|
@@ -4931,7 +5022,6 @@ module Aws::S3
|
|
4931
5022
|
# * *HTTP Status Code:* 400 Bad Request
|
4932
5023
|
#
|
4933
5024
|
# * *SOAP Fault Code Prefix:* Client
|
4934
|
-
#
|
4935
5025
|
# * * *Code:* InvalidLocationConstraint
|
4936
5026
|
#
|
4937
5027
|
# * *Description:* The specified location constraint is not valid.
|
@@ -4941,7 +5031,6 @@ module Aws::S3
|
|
4941
5031
|
# * *HTTP Status Code:* 400 Bad Request
|
4942
5032
|
#
|
4943
5033
|
# * *SOAP Fault Code Prefix:* Client
|
4944
|
-
#
|
4945
5034
|
# * * *Code:* InvalidObjectState
|
4946
5035
|
#
|
4947
5036
|
# * *Description:* The action is not valid for the current state of
|
@@ -4950,7 +5039,6 @@ module Aws::S3
|
|
4950
5039
|
# * *HTTP Status Code:* 403 Forbidden
|
4951
5040
|
#
|
4952
5041
|
# * *SOAP Fault Code Prefix:* Client
|
4953
|
-
#
|
4954
5042
|
# * * *Code:* InvalidPart
|
4955
5043
|
#
|
4956
5044
|
# * *Description:* One or more of the specified parts could not be
|
@@ -4960,7 +5048,6 @@ module Aws::S3
|
|
4960
5048
|
# * *HTTP Status Code:* 400 Bad Request
|
4961
5049
|
#
|
4962
5050
|
# * *SOAP Fault Code Prefix:* Client
|
4963
|
-
#
|
4964
5051
|
# * * *Code:* InvalidPartOrder
|
4965
5052
|
#
|
4966
5053
|
# * *Description:* The list of parts was not in ascending order.
|
@@ -4969,7 +5056,6 @@ module Aws::S3
|
|
4969
5056
|
# * *HTTP Status Code:* 400 Bad Request
|
4970
5057
|
#
|
4971
5058
|
# * *SOAP Fault Code Prefix:* Client
|
4972
|
-
#
|
4973
5059
|
# * * *Code:* InvalidPayer
|
4974
5060
|
#
|
4975
5061
|
# * *Description:* All access to this object has been disabled.
|
@@ -4979,7 +5065,6 @@ module Aws::S3
|
|
4979
5065
|
# * *HTTP Status Code:* 403 Forbidden
|
4980
5066
|
#
|
4981
5067
|
# * *SOAP Fault Code Prefix:* Client
|
4982
|
-
#
|
4983
5068
|
# * * *Code:* InvalidPolicyDocument
|
4984
5069
|
#
|
4985
5070
|
# * *Description:* The content of the form does not meet the
|
@@ -4988,7 +5073,6 @@ module Aws::S3
|
|
4988
5073
|
# * *HTTP Status Code:* 400 Bad Request
|
4989
5074
|
#
|
4990
5075
|
# * *SOAP Fault Code Prefix:* Client
|
4991
|
-
#
|
4992
5076
|
# * * *Code:* InvalidRange
|
4993
5077
|
#
|
4994
5078
|
# * *Description:* The requested range cannot be satisfied.
|
@@ -4996,7 +5080,6 @@ module Aws::S3
|
|
4996
5080
|
# * *HTTP Status Code:* 416 Requested Range Not Satisfiable
|
4997
5081
|
#
|
4998
5082
|
# * *SOAP Fault Code Prefix:* Client
|
4999
|
-
#
|
5000
5083
|
# * * *Code:* InvalidRequest
|
5001
5084
|
#
|
5002
5085
|
# * *Description:* Please use `AWS4-HMAC-SHA256`.
|
@@ -5004,7 +5087,6 @@ module Aws::S3
|
|
5004
5087
|
# * *HTTP Status Code:* 400 Bad Request
|
5005
5088
|
#
|
5006
5089
|
# * *Code:* N/A
|
5007
|
-
#
|
5008
5090
|
# * * *Code:* InvalidRequest
|
5009
5091
|
#
|
5010
5092
|
# * *Description:* SOAP requests must be made over an HTTPS
|
@@ -5013,7 +5095,6 @@ module Aws::S3
|
|
5013
5095
|
# * *HTTP Status Code:* 400 Bad Request
|
5014
5096
|
#
|
5015
5097
|
# * *SOAP Fault Code Prefix:* Client
|
5016
|
-
#
|
5017
5098
|
# * * *Code:* InvalidRequest
|
5018
5099
|
#
|
5019
5100
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5022,7 +5103,6 @@ module Aws::S3
|
|
5022
5103
|
# * *HTTP Status Code:* 400 Bad Request
|
5023
5104
|
#
|
5024
5105
|
# * *Code:* N/A
|
5025
|
-
#
|
5026
5106
|
# * * *Code:* InvalidRequest
|
5027
5107
|
#
|
5028
5108
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5031,7 +5111,6 @@ module Aws::S3
|
|
5031
5111
|
# * *HTTP Status Code:* 400 Bad Request
|
5032
5112
|
#
|
5033
5113
|
# * *Code:* N/A
|
5034
|
-
#
|
5035
5114
|
# * * *Code:* InvalidRequest
|
5036
5115
|
#
|
5037
5116
|
# * *Description:* Amazon S3 Transfer Accelerate endpoint only
|
@@ -5040,7 +5119,6 @@ module Aws::S3
|
|
5040
5119
|
# * *HTTP Status Code:* 400 Bad Request
|
5041
5120
|
#
|
5042
5121
|
# * *Code:* N/A
|
5043
|
-
#
|
5044
5122
|
# * * *Code:* InvalidRequest
|
5045
5123
|
#
|
5046
5124
|
# * *Description:* Amazon S3 Transfer Accelerate is not configured
|
@@ -5049,7 +5127,6 @@ module Aws::S3
|
|
5049
5127
|
# * *HTTP Status Code:* 400 Bad Request
|
5050
5128
|
#
|
5051
5129
|
# * *Code:* N/A
|
5052
|
-
#
|
5053
5130
|
# * * *Code:* InvalidRequest
|
5054
5131
|
#
|
5055
5132
|
# * *Description:* Amazon S3 Transfer Accelerate is disabled on this
|
@@ -5058,7 +5135,6 @@ module Aws::S3
|
|
5058
5135
|
# * *HTTP Status Code:* 400 Bad Request
|
5059
5136
|
#
|
5060
5137
|
# * *Code:* N/A
|
5061
|
-
#
|
5062
5138
|
# * * *Code:* InvalidRequest
|
5063
5139
|
#
|
5064
5140
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5068,7 +5144,6 @@ module Aws::S3
|
|
5068
5144
|
# * *HTTP Status Code:* 400 Bad Request
|
5069
5145
|
#
|
5070
5146
|
# * *Code:* N/A
|
5071
|
-
#
|
5072
5147
|
# * * *Code:* InvalidRequest
|
5073
5148
|
#
|
5074
5149
|
# * *Description:* Amazon S3 Transfer Acceleration cannot be enabled
|
@@ -5078,7 +5153,6 @@ module Aws::S3
|
|
5078
5153
|
# * *HTTP Status Code:* 400 Bad Request
|
5079
5154
|
#
|
5080
5155
|
# * *Code:* N/A
|
5081
|
-
#
|
5082
5156
|
# * * *Code:* InvalidSecurity
|
5083
5157
|
#
|
5084
5158
|
# * *Description:* The provided security credentials are not valid.
|
@@ -5086,7 +5160,6 @@ module Aws::S3
|
|
5086
5160
|
# * *HTTP Status Code:* 403 Forbidden
|
5087
5161
|
#
|
5088
5162
|
# * *SOAP Fault Code Prefix:* Client
|
5089
|
-
#
|
5090
5163
|
# * * *Code:* InvalidSOAPRequest
|
5091
5164
|
#
|
5092
5165
|
# * *Description:* The SOAP request body is invalid.
|
@@ -5094,7 +5167,6 @@ module Aws::S3
|
|
5094
5167
|
# * *HTTP Status Code:* 400 Bad Request
|
5095
5168
|
#
|
5096
5169
|
# * *SOAP Fault Code Prefix:* Client
|
5097
|
-
#
|
5098
5170
|
# * * *Code:* InvalidStorageClass
|
5099
5171
|
#
|
5100
5172
|
# * *Description:* The storage class you specified is not valid.
|
@@ -5102,7 +5174,6 @@ module Aws::S3
|
|
5102
5174
|
# * *HTTP Status Code:* 400 Bad Request
|
5103
5175
|
#
|
5104
5176
|
# * *SOAP Fault Code Prefix:* Client
|
5105
|
-
#
|
5106
5177
|
# * * *Code:* InvalidTargetBucketForLogging
|
5107
5178
|
#
|
5108
5179
|
# * *Description:* The target bucket for logging does not exist, is
|
@@ -5112,7 +5183,6 @@ module Aws::S3
|
|
5112
5183
|
# * *HTTP Status Code:* 400 Bad Request
|
5113
5184
|
#
|
5114
5185
|
# * *SOAP Fault Code Prefix:* Client
|
5115
|
-
#
|
5116
5186
|
# * * *Code:* InvalidToken
|
5117
5187
|
#
|
5118
5188
|
# * *Description:* The provided token is malformed or otherwise
|
@@ -5121,7 +5191,6 @@ module Aws::S3
|
|
5121
5191
|
# * *HTTP Status Code:* 400 Bad Request
|
5122
5192
|
#
|
5123
5193
|
# * *SOAP Fault Code Prefix:* Client
|
5124
|
-
#
|
5125
5194
|
# * * *Code:* InvalidURI
|
5126
5195
|
#
|
5127
5196
|
# * *Description:* Couldn't parse the specified URI.
|
@@ -5129,7 +5198,6 @@ module Aws::S3
|
|
5129
5198
|
# * *HTTP Status Code:* 400 Bad Request
|
5130
5199
|
#
|
5131
5200
|
# * *SOAP Fault Code Prefix:* Client
|
5132
|
-
#
|
5133
5201
|
# * * *Code:* KeyTooLongError
|
5134
5202
|
#
|
5135
5203
|
# * *Description:* Your key is too long.
|
@@ -5137,7 +5205,6 @@ module Aws::S3
|
|
5137
5205
|
# * *HTTP Status Code:* 400 Bad Request
|
5138
5206
|
#
|
5139
5207
|
# * *SOAP Fault Code Prefix:* Client
|
5140
|
-
#
|
5141
5208
|
# * * *Code:* MalformedACLError
|
5142
5209
|
#
|
5143
5210
|
# * *Description:* The XML you provided was not well-formed or did
|
@@ -5146,7 +5213,6 @@ module Aws::S3
|
|
5146
5213
|
# * *HTTP Status Code:* 400 Bad Request
|
5147
5214
|
#
|
5148
5215
|
# * *SOAP Fault Code Prefix:* Client
|
5149
|
-
#
|
5150
5216
|
# * * *Code:* MalformedPOSTRequest
|
5151
5217
|
#
|
5152
5218
|
# * *Description:* The body of your POST request is not well-formed
|
@@ -5155,7 +5221,6 @@ module Aws::S3
|
|
5155
5221
|
# * *HTTP Status Code:* 400 Bad Request
|
5156
5222
|
#
|
5157
5223
|
# * *SOAP Fault Code Prefix:* Client
|
5158
|
-
#
|
5159
5224
|
# * * *Code:* MalformedXML
|
5160
5225
|
#
|
5161
5226
|
# * *Description:* This happens when the user sends malformed XML
|
@@ -5167,7 +5232,6 @@ module Aws::S3
|
|
5167
5232
|
# * *HTTP Status Code:* 400 Bad Request
|
5168
5233
|
#
|
5169
5234
|
# * *SOAP Fault Code Prefix:* Client
|
5170
|
-
#
|
5171
5235
|
# * * *Code:* MaxMessageLengthExceeded
|
5172
5236
|
#
|
5173
5237
|
# * *Description:* Your request was too big.
|
@@ -5175,7 +5239,6 @@ module Aws::S3
|
|
5175
5239
|
# * *HTTP Status Code:* 400 Bad Request
|
5176
5240
|
#
|
5177
5241
|
# * *SOAP Fault Code Prefix:* Client
|
5178
|
-
#
|
5179
5242
|
# * * *Code:* MaxPostPreDataLengthExceededError
|
5180
5243
|
#
|
5181
5244
|
# * *Description:* Your POST request fields preceding the upload
|
@@ -5184,7 +5247,6 @@ module Aws::S3
|
|
5184
5247
|
# * *HTTP Status Code:* 400 Bad Request
|
5185
5248
|
#
|
5186
5249
|
# * *SOAP Fault Code Prefix:* Client
|
5187
|
-
#
|
5188
5250
|
# * * *Code:* MetadataTooLarge
|
5189
5251
|
#
|
5190
5252
|
# * *Description:* Your metadata headers exceed the maximum allowed
|
@@ -5193,7 +5255,6 @@ module Aws::S3
|
|
5193
5255
|
# * *HTTP Status Code:* 400 Bad Request
|
5194
5256
|
#
|
5195
5257
|
# * *SOAP Fault Code Prefix:* Client
|
5196
|
-
#
|
5197
5258
|
# * * *Code:* MethodNotAllowed
|
5198
5259
|
#
|
5199
5260
|
# * *Description:* The specified method is not allowed against this
|
@@ -5202,7 +5263,6 @@ module Aws::S3
|
|
5202
5263
|
# * *HTTP Status Code:* 405 Method Not Allowed
|
5203
5264
|
#
|
5204
5265
|
# * *SOAP Fault Code Prefix:* Client
|
5205
|
-
#
|
5206
5266
|
# * * *Code:* MissingAttachment
|
5207
5267
|
#
|
5208
5268
|
# * *Description:* A SOAP attachment was expected, but none were
|
@@ -5211,7 +5271,6 @@ module Aws::S3
|
|
5211
5271
|
# * *HTTP Status Code:* N/A
|
5212
5272
|
#
|
5213
5273
|
# * *SOAP Fault Code Prefix:* Client
|
5214
|
-
#
|
5215
5274
|
# * * *Code:* MissingContentLength
|
5216
5275
|
#
|
5217
5276
|
# * *Description:* You must provide the Content-Length HTTP header.
|
@@ -5219,7 +5278,6 @@ module Aws::S3
|
|
5219
5278
|
# * *HTTP Status Code:* 411 Length Required
|
5220
5279
|
#
|
5221
5280
|
# * *SOAP Fault Code Prefix:* Client
|
5222
|
-
#
|
5223
5281
|
# * * *Code:* MissingRequestBodyError
|
5224
5282
|
#
|
5225
5283
|
# * *Description:* This happens when the user sends an empty XML
|
@@ -5229,7 +5287,6 @@ module Aws::S3
|
|
5229
5287
|
# * *HTTP Status Code:* 400 Bad Request
|
5230
5288
|
#
|
5231
5289
|
# * *SOAP Fault Code Prefix:* Client
|
5232
|
-
#
|
5233
5290
|
# * * *Code:* MissingSecurityElement
|
5234
5291
|
#
|
5235
5292
|
# * *Description:* The SOAP 1.1 request is missing a security
|
@@ -5238,7 +5295,6 @@ module Aws::S3
|
|
5238
5295
|
# * *HTTP Status Code:* 400 Bad Request
|
5239
5296
|
#
|
5240
5297
|
# * *SOAP Fault Code Prefix:* Client
|
5241
|
-
#
|
5242
5298
|
# * * *Code:* MissingSecurityHeader
|
5243
5299
|
#
|
5244
5300
|
# * *Description:* Your request is missing a required header.
|
@@ -5246,7 +5302,6 @@ module Aws::S3
|
|
5246
5302
|
# * *HTTP Status Code:* 400 Bad Request
|
5247
5303
|
#
|
5248
5304
|
# * *SOAP Fault Code Prefix:* Client
|
5249
|
-
#
|
5250
5305
|
# * * *Code:* NoLoggingStatusForKey
|
5251
5306
|
#
|
5252
5307
|
# * *Description:* There is no such thing as a logging status
|
@@ -5255,7 +5310,6 @@ module Aws::S3
|
|
5255
5310
|
# * *HTTP Status Code:* 400 Bad Request
|
5256
5311
|
#
|
5257
5312
|
# * *SOAP Fault Code Prefix:* Client
|
5258
|
-
#
|
5259
5313
|
# * * *Code:* NoSuchBucket
|
5260
5314
|
#
|
5261
5315
|
# * *Description:* The specified bucket does not exist.
|
@@ -5263,7 +5317,6 @@ module Aws::S3
|
|
5263
5317
|
# * *HTTP Status Code:* 404 Not Found
|
5264
5318
|
#
|
5265
5319
|
# * *SOAP Fault Code Prefix:* Client
|
5266
|
-
#
|
5267
5320
|
# * * *Code:* NoSuchBucketPolicy
|
5268
5321
|
#
|
5269
5322
|
# * *Description:* The specified bucket does not have a bucket
|
@@ -5272,7 +5325,6 @@ module Aws::S3
|
|
5272
5325
|
# * *HTTP Status Code:* 404 Not Found
|
5273
5326
|
#
|
5274
5327
|
# * *SOAP Fault Code Prefix:* Client
|
5275
|
-
#
|
5276
5328
|
# * * *Code:* NoSuchKey
|
5277
5329
|
#
|
5278
5330
|
# * *Description:* The specified key does not exist.
|
@@ -5280,7 +5332,6 @@ module Aws::S3
|
|
5280
5332
|
# * *HTTP Status Code:* 404 Not Found
|
5281
5333
|
#
|
5282
5334
|
# * *SOAP Fault Code Prefix:* Client
|
5283
|
-
#
|
5284
5335
|
# * * *Code:* NoSuchLifecycleConfiguration
|
5285
5336
|
#
|
5286
5337
|
# * *Description:* The lifecycle configuration does not exist.
|
@@ -5288,7 +5339,6 @@ module Aws::S3
|
|
5288
5339
|
# * *HTTP Status Code:* 404 Not Found
|
5289
5340
|
#
|
5290
5341
|
# * *SOAP Fault Code Prefix:* Client
|
5291
|
-
#
|
5292
5342
|
# * * *Code:* NoSuchUpload
|
5293
5343
|
#
|
5294
5344
|
# * *Description:* The specified multipart upload does not exist.
|
@@ -5298,7 +5348,6 @@ module Aws::S3
|
|
5298
5348
|
# * *HTTP Status Code:* 404 Not Found
|
5299
5349
|
#
|
5300
5350
|
# * *SOAP Fault Code Prefix:* Client
|
5301
|
-
#
|
5302
5351
|
# * * *Code:* NoSuchVersion
|
5303
5352
|
#
|
5304
5353
|
# * *Description:* Indicates that the version ID specified in the
|
@@ -5307,7 +5356,6 @@ module Aws::S3
|
|
5307
5356
|
# * *HTTP Status Code:* 404 Not Found
|
5308
5357
|
#
|
5309
5358
|
# * *SOAP Fault Code Prefix:* Client
|
5310
|
-
#
|
5311
5359
|
# * * *Code:* NotImplemented
|
5312
5360
|
#
|
5313
5361
|
# * *Description:* A header you provided implies functionality that
|
@@ -5316,7 +5364,6 @@ module Aws::S3
|
|
5316
5364
|
# * *HTTP Status Code:* 501 Not Implemented
|
5317
5365
|
#
|
5318
5366
|
# * *SOAP Fault Code Prefix:* Server
|
5319
|
-
#
|
5320
5367
|
# * * *Code:* NotSignedUp
|
5321
5368
|
#
|
5322
5369
|
# * *Description:* Your account is not signed up for the Amazon S3
|
@@ -5326,7 +5373,6 @@ module Aws::S3
|
|
5326
5373
|
# * *HTTP Status Code:* 403 Forbidden
|
5327
5374
|
#
|
5328
5375
|
# * *SOAP Fault Code Prefix:* Client
|
5329
|
-
#
|
5330
5376
|
# * * *Code:* OperationAborted
|
5331
5377
|
#
|
5332
5378
|
# * *Description:* A conflicting conditional action is currently in
|
@@ -5335,7 +5381,6 @@ module Aws::S3
|
|
5335
5381
|
# * *HTTP Status Code:* 409 Conflict
|
5336
5382
|
#
|
5337
5383
|
# * *SOAP Fault Code Prefix:* Client
|
5338
|
-
#
|
5339
5384
|
# * * *Code:* PermanentRedirect
|
5340
5385
|
#
|
5341
5386
|
# * *Description:* The bucket you are attempting to access must be
|
@@ -5345,7 +5390,6 @@ module Aws::S3
|
|
5345
5390
|
# * *HTTP Status Code:* 301 Moved Permanently
|
5346
5391
|
#
|
5347
5392
|
# * *SOAP Fault Code Prefix:* Client
|
5348
|
-
#
|
5349
5393
|
# * * *Code:* PreconditionFailed
|
5350
5394
|
#
|
5351
5395
|
# * *Description:* At least one of the preconditions you specified
|
@@ -5354,7 +5398,6 @@ module Aws::S3
|
|
5354
5398
|
# * *HTTP Status Code:* 412 Precondition Failed
|
5355
5399
|
#
|
5356
5400
|
# * *SOAP Fault Code Prefix:* Client
|
5357
|
-
#
|
5358
5401
|
# * * *Code:* Redirect
|
5359
5402
|
#
|
5360
5403
|
# * *Description:* Temporary redirect.
|
@@ -5362,7 +5405,6 @@ module Aws::S3
|
|
5362
5405
|
# * *HTTP Status Code:* 307 Moved Temporarily
|
5363
5406
|
#
|
5364
5407
|
# * *SOAP Fault Code Prefix:* Client
|
5365
|
-
#
|
5366
5408
|
# * * *Code:* RestoreAlreadyInProgress
|
5367
5409
|
#
|
5368
5410
|
# * *Description:* Object restore is already in progress.
|
@@ -5370,7 +5412,6 @@ module Aws::S3
|
|
5370
5412
|
# * *HTTP Status Code:* 409 Conflict
|
5371
5413
|
#
|
5372
5414
|
# * *SOAP Fault Code Prefix:* Client
|
5373
|
-
#
|
5374
5415
|
# * * *Code:* RequestIsNotMultiPartContent
|
5375
5416
|
#
|
5376
5417
|
# * *Description:* Bucket POST must be of the enclosure-type
|
@@ -5379,7 +5420,6 @@ module Aws::S3
|
|
5379
5420
|
# * *HTTP Status Code:* 400 Bad Request
|
5380
5421
|
#
|
5381
5422
|
# * *SOAP Fault Code Prefix:* Client
|
5382
|
-
#
|
5383
5423
|
# * * *Code:* RequestTimeout
|
5384
5424
|
#
|
5385
5425
|
# * *Description:* Your socket connection to the server was not read
|
@@ -5388,7 +5428,6 @@ module Aws::S3
|
|
5388
5428
|
# * *HTTP Status Code:* 400 Bad Request
|
5389
5429
|
#
|
5390
5430
|
# * *SOAP Fault Code Prefix:* Client
|
5391
|
-
#
|
5392
5431
|
# * * *Code:* RequestTimeTooSkewed
|
5393
5432
|
#
|
5394
5433
|
# * *Description:* The difference between the request time and the
|
@@ -5397,7 +5436,6 @@ module Aws::S3
|
|
5397
5436
|
# * *HTTP Status Code:* 403 Forbidden
|
5398
5437
|
#
|
5399
5438
|
# * *SOAP Fault Code Prefix:* Client
|
5400
|
-
#
|
5401
5439
|
# * * *Code:* RequestTorrentOfBucketError
|
5402
5440
|
#
|
5403
5441
|
# * *Description:* Requesting the torrent file of a bucket is not
|
@@ -5406,7 +5444,6 @@ module Aws::S3
|
|
5406
5444
|
# * *HTTP Status Code:* 400 Bad Request
|
5407
5445
|
#
|
5408
5446
|
# * *SOAP Fault Code Prefix:* Client
|
5409
|
-
#
|
5410
5447
|
# * * *Code:* SignatureDoesNotMatch
|
5411
5448
|
#
|
5412
5449
|
# * *Description:* The request signature we calculated does not
|
@@ -5418,7 +5455,6 @@ module Aws::S3
|
|
5418
5455
|
# * *HTTP Status Code:* 403 Forbidden
|
5419
5456
|
#
|
5420
5457
|
# * *SOAP Fault Code Prefix:* Client
|
5421
|
-
#
|
5422
5458
|
# * * *Code:* ServiceUnavailable
|
5423
5459
|
#
|
5424
5460
|
# * *Description:* Service is unable to handle request.
|
@@ -5426,7 +5462,6 @@ module Aws::S3
|
|
5426
5462
|
# * *HTTP Status Code:* 503 Service Unavailable
|
5427
5463
|
#
|
5428
5464
|
# * *SOAP Fault Code Prefix:* Server
|
5429
|
-
#
|
5430
5465
|
# * * *Code:* SlowDown
|
5431
5466
|
#
|
5432
5467
|
# * *Description:* Reduce your request rate.
|
@@ -5434,7 +5469,6 @@ module Aws::S3
|
|
5434
5469
|
# * *HTTP Status Code:* 503 Slow Down
|
5435
5470
|
#
|
5436
5471
|
# * *SOAP Fault Code Prefix:* Server
|
5437
|
-
#
|
5438
5472
|
# * * *Code:* TemporaryRedirect
|
5439
5473
|
#
|
5440
5474
|
# * *Description:* You are being redirected to the bucket while DNS
|
@@ -5443,7 +5477,6 @@ module Aws::S3
|
|
5443
5477
|
# * *HTTP Status Code:* 307 Moved Temporarily
|
5444
5478
|
#
|
5445
5479
|
# * *SOAP Fault Code Prefix:* Client
|
5446
|
-
#
|
5447
5480
|
# * * *Code:* TokenRefreshRequired
|
5448
5481
|
#
|
5449
5482
|
# * *Description:* The provided token must be refreshed.
|
@@ -5451,7 +5484,6 @@ module Aws::S3
|
|
5451
5484
|
# * *HTTP Status Code:* 400 Bad Request
|
5452
5485
|
#
|
5453
5486
|
# * *SOAP Fault Code Prefix:* Client
|
5454
|
-
#
|
5455
5487
|
# * * *Code:* TooManyBuckets
|
5456
5488
|
#
|
5457
5489
|
# * *Description:* You have attempted to create more buckets than
|
@@ -5460,7 +5492,6 @@ module Aws::S3
|
|
5460
5492
|
# * *HTTP Status Code:* 400 Bad Request
|
5461
5493
|
#
|
5462
5494
|
# * *SOAP Fault Code Prefix:* Client
|
5463
|
-
#
|
5464
5495
|
# * * *Code:* UnexpectedContent
|
5465
5496
|
#
|
5466
5497
|
# * *Description:* This request does not support content.
|
@@ -5468,7 +5499,6 @@ module Aws::S3
|
|
5468
5499
|
# * *HTTP Status Code:* 400 Bad Request
|
5469
5500
|
#
|
5470
5501
|
# * *SOAP Fault Code Prefix:* Client
|
5471
|
-
#
|
5472
5502
|
# * * *Code:* UnresolvableGrantByEmailAddress
|
5473
5503
|
#
|
5474
5504
|
# * *Description:* The email address you provided does not match any
|
@@ -5477,7 +5507,6 @@ module Aws::S3
|
|
5477
5507
|
# * *HTTP Status Code:* 400 Bad Request
|
5478
5508
|
#
|
5479
5509
|
# * *SOAP Fault Code Prefix:* Client
|
5480
|
-
#
|
5481
5510
|
# * * *Code:* UserKeyMustBeSpecified
|
5482
5511
|
#
|
5483
5512
|
# * *Description:* The bucket POST must contain the specified field
|
@@ -5933,10 +5962,34 @@ module Aws::S3
|
|
5933
5962
|
# Container for a lifecycle rule.
|
5934
5963
|
# @return [Array<Types::LifecycleRule>]
|
5935
5964
|
#
|
5965
|
+
# @!attribute [rw] transition_default_minimum_object_size
|
5966
|
+
# Indicates which default minimum object size behavior is applied to
|
5967
|
+
# the lifecycle configuration.
|
5968
|
+
#
|
5969
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
5970
|
+
# supported for directory bucket lifecycle configurations.
|
5971
|
+
#
|
5972
|
+
# </note>
|
5973
|
+
#
|
5974
|
+
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
5975
|
+
# transition to any storage class by default.
|
5976
|
+
#
|
5977
|
+
# * `varies_by_storage_class` - Objects smaller than 128 KB will
|
5978
|
+
# transition to Glacier Flexible Retrieval or Glacier Deep Archive
|
5979
|
+
# storage classes. By default, all other storage classes will
|
5980
|
+
# prevent transitions smaller than 128 KB.
|
5981
|
+
#
|
5982
|
+
# To customize the minimum object size for any transition you can add
|
5983
|
+
# a filter that specifies a custom `ObjectSizeGreaterThan` or
|
5984
|
+
# `ObjectSizeLessThan` in the body of your transition rule. Custom
|
5985
|
+
# filters always take precedence over the default transition behavior.
|
5986
|
+
# @return [String]
|
5987
|
+
#
|
5936
5988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationOutput AWS API Documentation
|
5937
5989
|
#
|
5938
5990
|
class GetBucketLifecycleConfigurationOutput < Struct.new(
|
5939
|
-
:rules
|
5991
|
+
:rules,
|
5992
|
+
:transition_default_minimum_object_size)
|
5940
5993
|
SENSITIVE = []
|
5941
5994
|
include Aws::Structure
|
5942
5995
|
end
|
@@ -5950,6 +6003,11 @@ module Aws::S3
|
|
5950
6003
|
# you provide does not match the actual owner of the bucket, the
|
5951
6004
|
# request fails with the HTTP status code `403 Forbidden` (access
|
5952
6005
|
# denied).
|
6006
|
+
#
|
6007
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
6008
|
+
# supported for directory bucket lifecycle configurations.
|
6009
|
+
#
|
6010
|
+
# </note>
|
5953
6011
|
# @return [String]
|
5954
6012
|
#
|
5955
6013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest AWS API Documentation
|
@@ -6591,7 +6649,7 @@ module Aws::S3
|
|
6591
6649
|
# @return [Boolean]
|
6592
6650
|
#
|
6593
6651
|
# @!attribute [rw] last_modified
|
6594
|
-
#
|
6652
|
+
# Date and time when the object was last modified.
|
6595
6653
|
# @return [Time]
|
6596
6654
|
#
|
6597
6655
|
# @!attribute [rw] version_id
|
@@ -7062,7 +7120,7 @@ module Aws::S3
|
|
7062
7120
|
# @return [String]
|
7063
7121
|
#
|
7064
7122
|
# @!attribute [rw] checksum_crc32
|
7065
|
-
# The base64-encoded, 32-bit
|
7123
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
7066
7124
|
# only be present if it was uploaded with the object. For more
|
7067
7125
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
7068
7126
|
# User Guide*.
|
@@ -7073,7 +7131,7 @@ module Aws::S3
|
|
7073
7131
|
# @return [String]
|
7074
7132
|
#
|
7075
7133
|
# @!attribute [rw] checksum_crc32c
|
7076
|
-
# The base64-encoded, 32-bit
|
7134
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
7077
7135
|
# only be present if it was uploaded with the object. For more
|
7078
7136
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
7079
7137
|
# User Guide*.
|
@@ -8244,7 +8302,7 @@ module Aws::S3
|
|
8244
8302
|
# @return [Integer]
|
8245
8303
|
#
|
8246
8304
|
# @!attribute [rw] checksum_crc32
|
8247
|
-
# The base64-encoded, 32-bit
|
8305
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
8248
8306
|
# only be present if it was uploaded with the object. When you use an
|
8249
8307
|
# API operation on an object that was uploaded using multipart
|
8250
8308
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -8259,7 +8317,7 @@ module Aws::S3
|
|
8259
8317
|
# @return [String]
|
8260
8318
|
#
|
8261
8319
|
# @!attribute [rw] checksum_crc32c
|
8262
|
-
# The base64-encoded, 32-bit
|
8320
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
8263
8321
|
# only be present if it was uploaded with the object. When you use an
|
8264
8322
|
# API operation on an object that was uploaded using multipart
|
8265
8323
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -9069,6 +9127,28 @@ module Aws::S3
|
|
9069
9127
|
include Aws::Structure
|
9070
9128
|
end
|
9071
9129
|
|
9130
|
+
# You may receive this error in multiple cases. Depending on the reason
|
9131
|
+
# for the error, you may receive one of the messages below:
|
9132
|
+
#
|
9133
|
+
# * Cannot specify both a write offset value and user-defined object
|
9134
|
+
# metadata for existing objects.
|
9135
|
+
#
|
9136
|
+
# * Checksum Type mismatch occurred, expected checksum Type: sha1,
|
9137
|
+
# actual checksum Type: crc32c.
|
9138
|
+
#
|
9139
|
+
# * Request body cannot be empty when 'write offset' is specified.
|
9140
|
+
#
|
9141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidRequest AWS API Documentation
|
9142
|
+
#
|
9143
|
+
class InvalidRequest < Aws::EmptyStructure; end
|
9144
|
+
|
9145
|
+
# The write offset value that you specified does not match the current
|
9146
|
+
# object size.
|
9147
|
+
#
|
9148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidWriteOffset AWS API Documentation
|
9149
|
+
#
|
9150
|
+
class InvalidWriteOffset < Aws::EmptyStructure; end
|
9151
|
+
|
9072
9152
|
# Specifies the inventory configuration for an Amazon S3 bucket. For
|
9073
9153
|
# more information, see [GET Bucket inventory][1] in the *Amazon S3 API
|
9074
9154
|
# Reference*.
|
@@ -9343,6 +9423,11 @@ module Aws::S3
|
|
9343
9423
|
# Indicates at what date the object is to be moved or deleted. The
|
9344
9424
|
# date value must conform to the ISO 8601 format. The time is always
|
9345
9425
|
# midnight UTC.
|
9426
|
+
#
|
9427
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9428
|
+
# supported for directory bucket lifecycle configurations.
|
9429
|
+
#
|
9430
|
+
# </note>
|
9346
9431
|
# @return [Time]
|
9347
9432
|
#
|
9348
9433
|
# @!attribute [rw] days
|
@@ -9355,6 +9440,11 @@ module Aws::S3
|
|
9355
9440
|
# noncurrent versions. If set to true, the delete marker will be
|
9356
9441
|
# expired; if set to false the policy takes no action. This cannot be
|
9357
9442
|
# specified with Days or Date in a Lifecycle Expiration Policy.
|
9443
|
+
#
|
9444
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9445
|
+
# supported for directory bucket lifecycle configurations.
|
9446
|
+
#
|
9447
|
+
# </note>
|
9358
9448
|
# @return [Boolean]
|
9359
9449
|
#
|
9360
9450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration AWS API Documentation
|
@@ -9404,6 +9494,10 @@ module Aws::S3
|
|
9404
9494
|
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
|
9405
9495
|
# `And` specified. `Filter` is required if the `LifecycleRule` does
|
9406
9496
|
# not contain a `Prefix` element.
|
9497
|
+
#
|
9498
|
+
# <note markdown="1"> `Tag` filters are not supported for directory buckets.
|
9499
|
+
#
|
9500
|
+
# </note>
|
9407
9501
|
# @return [Types::LifecycleRuleFilter]
|
9408
9502
|
#
|
9409
9503
|
# @!attribute [rw] status
|
@@ -9414,6 +9508,11 @@ module Aws::S3
|
|
9414
9508
|
# @!attribute [rw] transitions
|
9415
9509
|
# Specifies when an Amazon S3 object transitions to a specified
|
9416
9510
|
# storage class.
|
9511
|
+
#
|
9512
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9513
|
+
# supported for directory bucket lifecycle configurations.
|
9514
|
+
#
|
9515
|
+
# </note>
|
9417
9516
|
# @return [Array<Types::Transition>]
|
9418
9517
|
#
|
9419
9518
|
# @!attribute [rw] noncurrent_version_transitions
|
@@ -9423,6 +9522,11 @@ module Aws::S3
|
|
9423
9522
|
# can set this action to request that Amazon S3 transition noncurrent
|
9424
9523
|
# object versions to a specific storage class at a set period in the
|
9425
9524
|
# object's lifetime.
|
9525
|
+
#
|
9526
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9527
|
+
# supported for directory bucket lifecycle configurations.
|
9528
|
+
#
|
9529
|
+
# </note>
|
9426
9530
|
# @return [Array<Types::NoncurrentVersionTransition>]
|
9427
9531
|
#
|
9428
9532
|
# @!attribute [rw] noncurrent_version_expiration
|
@@ -9432,6 +9536,11 @@ module Aws::S3
|
|
9432
9536
|
# versioning enabled (or suspended) to request that Amazon S3 delete
|
9433
9537
|
# noncurrent object versions at a specific period in the object's
|
9434
9538
|
# lifetime.
|
9539
|
+
#
|
9540
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9541
|
+
# supported for directory bucket lifecycle configurations.
|
9542
|
+
#
|
9543
|
+
# </note>
|
9435
9544
|
# @return [Types::NoncurrentVersionExpiration]
|
9436
9545
|
#
|
9437
9546
|
# @!attribute [rw] abort_incomplete_multipart_upload
|
@@ -9515,6 +9624,11 @@ module Aws::S3
|
|
9515
9624
|
# @!attribute [rw] tag
|
9516
9625
|
# This tag must exist in the object's tag set in order for the rule
|
9517
9626
|
# to apply.
|
9627
|
+
#
|
9628
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9629
|
+
# supported for directory bucket lifecycle configurations.
|
9630
|
+
#
|
9631
|
+
# </note>
|
9518
9632
|
# @return [Types::Tag]
|
9519
9633
|
#
|
9520
9634
|
# @!attribute [rw] object_size_greater_than
|
@@ -9799,12 +9913,21 @@ module Aws::S3
|
|
9799
9913
|
# `ContinuationToken` is obfuscated and is not a real bucket.
|
9800
9914
|
# @return [String]
|
9801
9915
|
#
|
9916
|
+
# @!attribute [rw] prefix
|
9917
|
+
# If `Prefix` was sent with the request, it is included in the
|
9918
|
+
# response.
|
9919
|
+
#
|
9920
|
+
# All bucket names in the response begin with the specified bucket
|
9921
|
+
# name prefix.
|
9922
|
+
# @return [String]
|
9923
|
+
#
|
9802
9924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsOutput AWS API Documentation
|
9803
9925
|
#
|
9804
9926
|
class ListBucketsOutput < Struct.new(
|
9805
9927
|
:buckets,
|
9806
9928
|
:owner,
|
9807
|
-
:continuation_token
|
9929
|
+
:continuation_token,
|
9930
|
+
:prefix)
|
9808
9931
|
SENSITIVE = []
|
9809
9932
|
include Aws::Structure
|
9810
9933
|
end
|
@@ -9824,13 +9947,48 @@ module Aws::S3
|
|
9824
9947
|
# Length Constraints: Minimum length of 0. Maximum length of 1024.
|
9825
9948
|
#
|
9826
9949
|
# Required: No.
|
9950
|
+
#
|
9951
|
+
# <note markdown="1"> If you specify the `bucket-region`, `prefix`, or
|
9952
|
+
# `continuation-token` query parameters without using `max-buckets` to
|
9953
|
+
# set the maximum number of buckets returned in the response, Amazon
|
9954
|
+
# S3 applies a default page size of 10,000 and provides a continuation
|
9955
|
+
# token if there are more buckets.
|
9956
|
+
#
|
9957
|
+
# </note>
|
9958
|
+
# @return [String]
|
9959
|
+
#
|
9960
|
+
# @!attribute [rw] prefix
|
9961
|
+
# Limits the response to bucket names that begin with the specified
|
9962
|
+
# bucket name prefix.
|
9963
|
+
# @return [String]
|
9964
|
+
#
|
9965
|
+
# @!attribute [rw] bucket_region
|
9966
|
+
# Limits the response to buckets that are located in the specified
|
9967
|
+
# Amazon Web Services Region. The Amazon Web Services Region must be
|
9968
|
+
# expressed according to the Amazon Web Services Region code, such as
|
9969
|
+
# `us-west-2` for the US West (Oregon) Region. For a list of the valid
|
9970
|
+
# values for all of the Amazon Web Services Regions, see [Regions and
|
9971
|
+
# Endpoints][1].
|
9972
|
+
#
|
9973
|
+
# <note markdown="1"> Requests made to a Regional endpoint that is different from the
|
9974
|
+
# `bucket-region` parameter are not supported. For example, if you
|
9975
|
+
# want to limit the response to your buckets in Region `us-west-2`,
|
9976
|
+
# the request must be made to an endpoint in Region `us-west-2`.
|
9977
|
+
#
|
9978
|
+
# </note>
|
9979
|
+
#
|
9980
|
+
#
|
9981
|
+
#
|
9982
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
|
9827
9983
|
# @return [String]
|
9828
9984
|
#
|
9829
9985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsRequest AWS API Documentation
|
9830
9986
|
#
|
9831
9987
|
class ListBucketsRequest < Struct.new(
|
9832
9988
|
:max_buckets,
|
9833
|
-
:continuation_token
|
9989
|
+
:continuation_token,
|
9990
|
+
:prefix,
|
9991
|
+
:bucket_region)
|
9834
9992
|
SENSITIVE = []
|
9835
9993
|
include Aws::Structure
|
9836
9994
|
end
|
@@ -11566,6 +11724,11 @@ module Aws::S3
|
|
11566
11724
|
# enabled (or suspended) to request that Amazon S3 delete noncurrent
|
11567
11725
|
# object versions at a specific period in the object's lifetime.
|
11568
11726
|
#
|
11727
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
11728
|
+
# supported for directory bucket lifecycle configurations.
|
11729
|
+
#
|
11730
|
+
# </note>
|
11731
|
+
#
|
11569
11732
|
# @!attribute [rw] noncurrent_days
|
11570
11733
|
# Specifies the number of days an object is noncurrent before Amazon
|
11571
11734
|
# S3 can perform the associated action. The value must be a non-zero
|
@@ -11573,6 +11736,11 @@ module Aws::S3
|
|
11573
11736
|
# calculations, see [How Amazon S3 Calculates When an Object Became
|
11574
11737
|
# Noncurrent][1] in the *Amazon S3 User Guide*.
|
11575
11738
|
#
|
11739
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
11740
|
+
# supported for directory bucket lifecycle configurations.
|
11741
|
+
#
|
11742
|
+
# </note>
|
11743
|
+
#
|
11576
11744
|
#
|
11577
11745
|
#
|
11578
11746
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
|
@@ -11586,6 +11754,11 @@ module Aws::S3
|
|
11586
11754
|
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
11587
11755
|
# S3 User Guide*.
|
11588
11756
|
#
|
11757
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
11758
|
+
# supported for directory bucket lifecycle configurations.
|
11759
|
+
#
|
11760
|
+
# </note>
|
11761
|
+
#
|
11589
11762
|
#
|
11590
11763
|
#
|
11591
11764
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
|
@@ -11856,11 +12029,43 @@ module Aws::S3
|
|
11856
12029
|
# </note>
|
11857
12030
|
# @return [String]
|
11858
12031
|
#
|
12032
|
+
# @!attribute [rw] etag
|
12033
|
+
# An entity tag (ETag) is an identifier assigned by a web server to a
|
12034
|
+
# specific version of a resource found at a URL. This header field
|
12035
|
+
# makes the request method conditional on `ETags`.
|
12036
|
+
#
|
12037
|
+
# <note markdown="1"> Entity tags (ETags) for S3 Express One Zone are random alphanumeric
|
12038
|
+
# strings unique to the object.
|
12039
|
+
#
|
12040
|
+
# </note>
|
12041
|
+
# @return [String]
|
12042
|
+
#
|
12043
|
+
# @!attribute [rw] last_modified_time
|
12044
|
+
# If present, the objects are deleted only if its modification times
|
12045
|
+
# matches the provided `Timestamp`.
|
12046
|
+
#
|
12047
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
12048
|
+
#
|
12049
|
+
# </note>
|
12050
|
+
# @return [Time]
|
12051
|
+
#
|
12052
|
+
# @!attribute [rw] size
|
12053
|
+
# If present, the objects are deleted only if its size matches the
|
12054
|
+
# provided size in bytes.
|
12055
|
+
#
|
12056
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
12057
|
+
#
|
12058
|
+
# </note>
|
12059
|
+
# @return [Integer]
|
12060
|
+
#
|
11859
12061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier AWS API Documentation
|
11860
12062
|
#
|
11861
12063
|
class ObjectIdentifier < Struct.new(
|
11862
12064
|
:key,
|
11863
|
-
:version_id
|
12065
|
+
:version_id,
|
12066
|
+
:etag,
|
12067
|
+
:last_modified_time,
|
12068
|
+
:size)
|
11864
12069
|
SENSITIVE = []
|
11865
12070
|
include Aws::Structure
|
11866
12071
|
end
|
@@ -11962,7 +12167,7 @@ module Aws::S3
|
|
11962
12167
|
# @!attribute [rw] checksum_crc32
|
11963
12168
|
# This header can be used as a data integrity check to verify that the
|
11964
12169
|
# data received is the same data that was originally sent. This header
|
11965
|
-
# specifies the base64-encoded, 32-bit
|
12170
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
11966
12171
|
# For more information, see [Checking object integrity][1] in the
|
11967
12172
|
# *Amazon S3 User Guide*.
|
11968
12173
|
#
|
@@ -11972,7 +12177,7 @@ module Aws::S3
|
|
11972
12177
|
# @return [String]
|
11973
12178
|
#
|
11974
12179
|
# @!attribute [rw] checksum_crc32c
|
11975
|
-
# The base64-encoded, 32-bit
|
12180
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
11976
12181
|
# only be present if it was uploaded with the object. When you use an
|
11977
12182
|
# API operation on an object that was uploaded using multipart
|
11978
12183
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -12262,7 +12467,7 @@ module Aws::S3
|
|
12262
12467
|
# @!attribute [rw] checksum_crc32
|
12263
12468
|
# This header can be used as a data integrity check to verify that the
|
12264
12469
|
# data received is the same data that was originally sent. This header
|
12265
|
-
# specifies the base64-encoded, 32-bit
|
12470
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
12266
12471
|
# For more information, see [Checking object integrity][1] in the
|
12267
12472
|
# *Amazon S3 User Guide*.
|
12268
12473
|
#
|
@@ -12272,7 +12477,7 @@ module Aws::S3
|
|
12272
12477
|
# @return [String]
|
12273
12478
|
#
|
12274
12479
|
# @!attribute [rw] checksum_crc32c
|
12275
|
-
# The base64-encoded, 32-bit
|
12480
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
12276
12481
|
# only be present if it was uploaded with the object. When you use an
|
12277
12482
|
# API operation on an object that was uploaded using multipart
|
12278
12483
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -12459,7 +12664,7 @@ module Aws::S3
|
|
12459
12664
|
# @!attribute [rw] restrict_public_buckets
|
12460
12665
|
# Specifies whether Amazon S3 should restrict public bucket policies
|
12461
12666
|
# for this bucket. Setting this element to `TRUE` restricts access to
|
12462
|
-
# this bucket to only Amazon Web
|
12667
|
+
# this bucket to only Amazon Web Services service principals and
|
12463
12668
|
# authorized users within this account if the bucket has a public
|
12464
12669
|
# policy.
|
12465
12670
|
#
|
@@ -12852,6 +13057,37 @@ module Aws::S3
|
|
12852
13057
|
include Aws::Structure
|
12853
13058
|
end
|
12854
13059
|
|
13060
|
+
# @!attribute [rw] transition_default_minimum_object_size
|
13061
|
+
# Indicates which default minimum object size behavior is applied to
|
13062
|
+
# the lifecycle configuration.
|
13063
|
+
#
|
13064
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13065
|
+
# supported for directory bucket lifecycle configurations.
|
13066
|
+
#
|
13067
|
+
# </note>
|
13068
|
+
#
|
13069
|
+
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
13070
|
+
# transition to any storage class by default.
|
13071
|
+
#
|
13072
|
+
# * `varies_by_storage_class` - Objects smaller than 128 KB will
|
13073
|
+
# transition to Glacier Flexible Retrieval or Glacier Deep Archive
|
13074
|
+
# storage classes. By default, all other storage classes will
|
13075
|
+
# prevent transitions smaller than 128 KB.
|
13076
|
+
#
|
13077
|
+
# To customize the minimum object size for any transition you can add
|
13078
|
+
# a filter that specifies a custom `ObjectSizeGreaterThan` or
|
13079
|
+
# `ObjectSizeLessThan` in the body of your transition rule. Custom
|
13080
|
+
# filters always take precedence over the default transition behavior.
|
13081
|
+
# @return [String]
|
13082
|
+
#
|
13083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationOutput AWS API Documentation
|
13084
|
+
#
|
13085
|
+
class PutBucketLifecycleConfigurationOutput < Struct.new(
|
13086
|
+
:transition_default_minimum_object_size)
|
13087
|
+
SENSITIVE = []
|
13088
|
+
include Aws::Structure
|
13089
|
+
end
|
13090
|
+
|
12855
13091
|
# @!attribute [rw] bucket
|
12856
13092
|
# The name of the bucket for which to set the configuration.
|
12857
13093
|
# @return [String]
|
@@ -12882,6 +13118,34 @@ module Aws::S3
|
|
12882
13118
|
# you provide does not match the actual owner of the bucket, the
|
12883
13119
|
# request fails with the HTTP status code `403 Forbidden` (access
|
12884
13120
|
# denied).
|
13121
|
+
#
|
13122
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13123
|
+
# supported for directory bucket lifecycle configurations.
|
13124
|
+
#
|
13125
|
+
# </note>
|
13126
|
+
# @return [String]
|
13127
|
+
#
|
13128
|
+
# @!attribute [rw] transition_default_minimum_object_size
|
13129
|
+
# Indicates which default minimum object size behavior is applied to
|
13130
|
+
# the lifecycle configuration.
|
13131
|
+
#
|
13132
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13133
|
+
# supported for directory bucket lifecycle configurations.
|
13134
|
+
#
|
13135
|
+
# </note>
|
13136
|
+
#
|
13137
|
+
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
13138
|
+
# transition to any storage class by default.
|
13139
|
+
#
|
13140
|
+
# * `varies_by_storage_class` - Objects smaller than 128 KB will
|
13141
|
+
# transition to Glacier Flexible Retrieval or Glacier Deep Archive
|
13142
|
+
# storage classes. By default, all other storage classes will
|
13143
|
+
# prevent transitions smaller than 128 KB.
|
13144
|
+
#
|
13145
|
+
# To customize the minimum object size for any transition you can add
|
13146
|
+
# a filter that specifies a custom `ObjectSizeGreaterThan` or
|
13147
|
+
# `ObjectSizeLessThan` in the body of your transition rule. Custom
|
13148
|
+
# filters always take precedence over the default transition behavior.
|
12885
13149
|
# @return [String]
|
12886
13150
|
#
|
12887
13151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest AWS API Documentation
|
@@ -12890,7 +13154,8 @@ module Aws::S3
|
|
12890
13154
|
:bucket,
|
12891
13155
|
:checksum_algorithm,
|
12892
13156
|
:lifecycle_configuration,
|
12893
|
-
:expected_bucket_owner
|
13157
|
+
:expected_bucket_owner,
|
13158
|
+
:transition_default_minimum_object_size)
|
12894
13159
|
SENSITIVE = []
|
12895
13160
|
include Aws::Structure
|
12896
13161
|
end
|
@@ -13189,13 +13454,13 @@ module Aws::S3
|
|
13189
13454
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
13190
13455
|
# with the supported algorithm from the following list:
|
13191
13456
|
#
|
13192
|
-
# * CRC32
|
13457
|
+
# * `CRC32`
|
13193
13458
|
#
|
13194
|
-
# * CRC32C
|
13459
|
+
# * `CRC32C`
|
13195
13460
|
#
|
13196
|
-
# * SHA1
|
13461
|
+
# * `SHA1`
|
13197
13462
|
#
|
13198
|
-
# * SHA256
|
13463
|
+
# * `SHA256`
|
13199
13464
|
#
|
13200
13465
|
# For more information, see [Checking object integrity][1] in the
|
13201
13466
|
# *Amazon S3 User Guide*.
|
@@ -13991,7 +14256,7 @@ module Aws::S3
|
|
13991
14256
|
# @return [String]
|
13992
14257
|
#
|
13993
14258
|
# @!attribute [rw] checksum_crc32
|
13994
|
-
# The base64-encoded, 32-bit
|
14259
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
13995
14260
|
# only be present if it was uploaded with the object. When you use an
|
13996
14261
|
# API operation on an object that was uploaded using multipart
|
13997
14262
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -14006,7 +14271,7 @@ module Aws::S3
|
|
14006
14271
|
# @return [String]
|
14007
14272
|
#
|
14008
14273
|
# @!attribute [rw] checksum_crc32c
|
14009
|
-
# The base64-encoded, 32-bit
|
14274
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
14010
14275
|
# only be present if it was uploaded with the object. When you use an
|
14011
14276
|
# API operation on an object that was uploaded using multipart
|
14012
14277
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -14119,6 +14384,16 @@ module Aws::S3
|
|
14119
14384
|
# (SSE-KMS).
|
14120
14385
|
# @return [Boolean]
|
14121
14386
|
#
|
14387
|
+
# @!attribute [rw] size
|
14388
|
+
# The size of the object in bytes. This will only be present if you
|
14389
|
+
# append to an object.
|
14390
|
+
#
|
14391
|
+
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
14392
|
+
# Express One Zone storage class in directory buckets.
|
14393
|
+
#
|
14394
|
+
# </note>
|
14395
|
+
# @return [Integer]
|
14396
|
+
#
|
14122
14397
|
# @!attribute [rw] request_charged
|
14123
14398
|
# If present, indicates that the requester was successfully charged
|
14124
14399
|
# for the request.
|
@@ -14144,6 +14419,7 @@ module Aws::S3
|
|
14144
14419
|
:ssekms_key_id,
|
14145
14420
|
:ssekms_encryption_context,
|
14146
14421
|
:bucket_key_enabled,
|
14422
|
+
:size,
|
14147
14423
|
:request_charged)
|
14148
14424
|
SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
|
14149
14425
|
include Aws::Structure
|
@@ -14293,10 +14569,11 @@ module Aws::S3
|
|
14293
14569
|
# information about REST request authentication, see [REST
|
14294
14570
|
# Authentication][1].
|
14295
14571
|
#
|
14296
|
-
# <note markdown="1"> The `Content-MD5` header is
|
14297
|
-
# object with a retention period
|
14298
|
-
#
|
14299
|
-
#
|
14572
|
+
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is
|
14573
|
+
# required for any request to upload an object with a retention period
|
14574
|
+
# configured using Amazon S3 Object Lock. For more information, see
|
14575
|
+
# [Uploading objects to an Object Lock enabled bucket ][2] in the
|
14576
|
+
# *Amazon S3 User Guide*.
|
14300
14577
|
#
|
14301
14578
|
# </note>
|
14302
14579
|
#
|
@@ -14307,7 +14584,7 @@ module Aws::S3
|
|
14307
14584
|
#
|
14308
14585
|
#
|
14309
14586
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
|
14310
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14587
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
|
14311
14588
|
# @return [String]
|
14312
14589
|
#
|
14313
14590
|
# @!attribute [rw] content_type
|
@@ -14331,13 +14608,13 @@ module Aws::S3
|
|
14331
14608
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
14332
14609
|
# with the supported algorithm from the following list:
|
14333
14610
|
#
|
14334
|
-
# * CRC32
|
14611
|
+
# * `CRC32`
|
14335
14612
|
#
|
14336
|
-
# * CRC32C
|
14613
|
+
# * `CRC32C`
|
14337
14614
|
#
|
14338
|
-
# * SHA1
|
14615
|
+
# * `SHA1`
|
14339
14616
|
#
|
14340
|
-
# * SHA256
|
14617
|
+
# * `SHA256`
|
14341
14618
|
#
|
14342
14619
|
# For more information, see [Checking object integrity][1] in the
|
14343
14620
|
# *Amazon S3 User Guide*.
|
@@ -14349,21 +14626,28 @@ module Aws::S3
|
|
14349
14626
|
# algorithm that matches the provided value in
|
14350
14627
|
# `x-amz-checksum-algorithm `.
|
14351
14628
|
#
|
14352
|
-
# <note markdown="1">
|
14353
|
-
#
|
14354
|
-
#
|
14629
|
+
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is
|
14630
|
+
# required for any request to upload an object with a retention period
|
14631
|
+
# configured using Amazon S3 Object Lock. For more information, see
|
14632
|
+
# [Uploading objects to an Object Lock enabled bucket ][2] in the
|
14633
|
+
# *Amazon S3 User Guide*.
|
14355
14634
|
#
|
14356
14635
|
# </note>
|
14357
14636
|
#
|
14637
|
+
# For directory buckets, when you use Amazon Web Services SDKs,
|
14638
|
+
# `CRC32` is the default checksum algorithm that's used for
|
14639
|
+
# performance.
|
14640
|
+
#
|
14358
14641
|
#
|
14359
14642
|
#
|
14360
14643
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
14644
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
|
14361
14645
|
# @return [String]
|
14362
14646
|
#
|
14363
14647
|
# @!attribute [rw] checksum_crc32
|
14364
14648
|
# This header can be used as a data integrity check to verify that the
|
14365
14649
|
# data received is the same data that was originally sent. This header
|
14366
|
-
# specifies the base64-encoded, 32-bit
|
14650
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
14367
14651
|
# For more information, see [Checking object integrity][1] in the
|
14368
14652
|
# *Amazon S3 User Guide*.
|
14369
14653
|
#
|
@@ -14375,7 +14659,7 @@ module Aws::S3
|
|
14375
14659
|
# @!attribute [rw] checksum_crc32c
|
14376
14660
|
# This header can be used as a data integrity check to verify that the
|
14377
14661
|
# data received is the same data that was originally sent. This header
|
14378
|
-
# specifies the base64-encoded, 32-bit
|
14662
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
|
14379
14663
|
# For more information, see [Checking object integrity][1] in the
|
14380
14664
|
# *Amazon S3 User Guide*.
|
14381
14665
|
#
|
@@ -14418,6 +14702,27 @@ module Aws::S3
|
|
14418
14702
|
# [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
|
14419
14703
|
# @return [Time]
|
14420
14704
|
#
|
14705
|
+
# @!attribute [rw] if_match
|
14706
|
+
# Uploads the object only if the ETag (entity tag) value provided
|
14707
|
+
# during the WRITE operation matches the ETag of the object in S3. If
|
14708
|
+
# the ETag values do not match, the operation returns a `412
|
14709
|
+
# Precondition Failed` error.
|
14710
|
+
#
|
14711
|
+
# If a conflicting operation occurs during the upload S3 returns a
|
14712
|
+
# `409 ConditionalRequestConflict` response. On a 409 failure you
|
14713
|
+
# should fetch the object's ETag and retry the upload.
|
14714
|
+
#
|
14715
|
+
# Expects the ETag value as a string.
|
14716
|
+
#
|
14717
|
+
# For more information about conditional requests, see [RFC 7232][1],
|
14718
|
+
# or [Conditional requests][2] in the *Amazon S3 User Guide*.
|
14719
|
+
#
|
14720
|
+
#
|
14721
|
+
#
|
14722
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
14723
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
|
14724
|
+
# @return [String]
|
14725
|
+
#
|
14421
14726
|
# @!attribute [rw] if_none_match
|
14422
14727
|
# Uploads the object only if the object key name does not already
|
14423
14728
|
# exist in the bucket specified. Otherwise, Amazon S3 returns a `412
|
@@ -14483,6 +14788,18 @@ module Aws::S3
|
|
14483
14788
|
# Object key for which the PUT action was initiated.
|
14484
14789
|
# @return [String]
|
14485
14790
|
#
|
14791
|
+
# @!attribute [rw] write_offset_bytes
|
14792
|
+
# Specifies the offset for appending data to existing objects in
|
14793
|
+
# bytes. The offset must be equal to the size of the existing object
|
14794
|
+
# being appended to. If no object exists, setting this header to 0
|
14795
|
+
# will create a new object.
|
14796
|
+
#
|
14797
|
+
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
14798
|
+
# Express One Zone storage class in directory buckets.
|
14799
|
+
#
|
14800
|
+
# </note>
|
14801
|
+
# @return [Integer]
|
14802
|
+
#
|
14486
14803
|
# @!attribute [rw] metadata
|
14487
14804
|
# A map of metadata to store with the object in S3.
|
14488
14805
|
# @return [Hash<String,String>]
|
@@ -14652,15 +14969,20 @@ module Aws::S3
|
|
14652
14969
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
14653
14970
|
#
|
14654
14971
|
# **Directory buckets** - If you specify
|
14655
|
-
# `x-amz-server-side-encryption` with `aws:kms`,
|
14656
|
-
#
|
14657
|
-
#
|
14658
|
-
#
|
14659
|
-
#
|
14660
|
-
#
|
14661
|
-
#
|
14662
|
-
#
|
14663
|
-
#
|
14972
|
+
# `x-amz-server-side-encryption` with `aws:kms`, the `
|
14973
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header is implicitly
|
14974
|
+
# assigned the ID of the KMS symmetric encryption customer managed key
|
14975
|
+
# that's configured for your directory bucket's default encryption
|
14976
|
+
# setting. If you want to specify the `
|
14977
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
|
14978
|
+
# can only specify it with the ID (Key ID or Key ARN) of the KMS
|
14979
|
+
# customer managed key that's configured for your directory bucket's
|
14980
|
+
# default encryption setting. Otherwise, you get an HTTP `400 Bad
|
14981
|
+
# Request` error. Only use the key ID or key ARN. The key alias format
|
14982
|
+
# of the KMS key isn't supported. Your SSE-KMS configuration can only
|
14983
|
+
# support 1 [customer managed key][1] per directory bucket for the
|
14984
|
+
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
14985
|
+
# (`aws/s3`) isn't supported.
|
14664
14986
|
#
|
14665
14987
|
#
|
14666
14988
|
#
|
@@ -14804,12 +15126,14 @@ module Aws::S3
|
|
14804
15126
|
:checksum_sha1,
|
14805
15127
|
:checksum_sha256,
|
14806
15128
|
:expires,
|
15129
|
+
:if_match,
|
14807
15130
|
:if_none_match,
|
14808
15131
|
:grant_full_control,
|
14809
15132
|
:grant_read,
|
14810
15133
|
:grant_read_acp,
|
14811
15134
|
:grant_write_acp,
|
14812
15135
|
:key,
|
15136
|
+
:write_offset_bytes,
|
14813
15137
|
:metadata,
|
14814
15138
|
:server_side_encryption,
|
14815
15139
|
:storage_class,
|
@@ -15771,15 +16095,7 @@ module Aws::S3
|
|
15771
16095
|
# @return [Types::GlacierJobParameters]
|
15772
16096
|
#
|
15773
16097
|
# @!attribute [rw] type
|
15774
|
-
# Amazon S3 Select is no longer available to new customers. Existing
|
15775
|
-
# customers of Amazon S3 Select can continue to use the feature as
|
15776
|
-
# usual. [Learn more][1]
|
15777
|
-
#
|
15778
16098
|
# Type of restore request.
|
15779
|
-
#
|
15780
|
-
#
|
15781
|
-
#
|
15782
|
-
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
15783
16099
|
# @return [String]
|
15784
16100
|
#
|
15785
16101
|
# @!attribute [rw] tier
|
@@ -15791,15 +16107,7 @@ module Aws::S3
|
|
15791
16107
|
# @return [String]
|
15792
16108
|
#
|
15793
16109
|
# @!attribute [rw] select_parameters
|
15794
|
-
# Amazon S3 Select is no longer available to new customers. Existing
|
15795
|
-
# customers of Amazon S3 Select can continue to use the feature as
|
15796
|
-
# usual. [Learn more][1]
|
15797
|
-
#
|
15798
16110
|
# Describes the parameters for Select job types.
|
15799
|
-
#
|
15800
|
-
#
|
15801
|
-
#
|
15802
|
-
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
15803
16111
|
# @return [Types::SelectParameters]
|
15804
16112
|
#
|
15805
16113
|
# @!attribute [rw] output_location
|
@@ -15967,6 +16275,11 @@ module Aws::S3
|
|
15967
16275
|
# versioning enabled (or suspended) to request that Amazon S3 delete
|
15968
16276
|
# noncurrent object versions at a specific period in the object's
|
15969
16277
|
# lifetime.
|
16278
|
+
#
|
16279
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
16280
|
+
# supported for directory bucket lifecycle configurations.
|
16281
|
+
#
|
16282
|
+
# </note>
|
15970
16283
|
# @return [Types::NoncurrentVersionExpiration]
|
15971
16284
|
#
|
15972
16285
|
# @!attribute [rw] abort_incomplete_multipart_upload
|
@@ -16130,12 +16443,6 @@ module Aws::S3
|
|
16130
16443
|
include Aws::Structure
|
16131
16444
|
end
|
16132
16445
|
|
16133
|
-
# <note markdown="1"> Learn Amazon S3 Select is no longer available to new customers.
|
16134
|
-
# Existing customers of Amazon S3 Select can continue to use the feature
|
16135
|
-
# as usual. [Learn more][1]
|
16136
|
-
#
|
16137
|
-
# </note>
|
16138
|
-
#
|
16139
16446
|
# Request to filter the contents of an Amazon S3 object based on a
|
16140
16447
|
# simple Structured Query Language (SQL) statement. In the request,
|
16141
16448
|
# along with the SQL expression, you must specify a data serialization
|
@@ -16143,12 +16450,11 @@ module Aws::S3
|
|
16143
16450
|
# object data into records. It returns only records that match the
|
16144
16451
|
# specified SQL expression. You must also specify the data serialization
|
16145
16452
|
# format for the response. For more information, see [S3Select API
|
16146
|
-
# Documentation][
|
16453
|
+
# Documentation][1].
|
16147
16454
|
#
|
16148
16455
|
#
|
16149
16456
|
#
|
16150
|
-
# [1]:
|
16151
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html
|
16457
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html
|
16152
16458
|
#
|
16153
16459
|
# @!attribute [rw] bucket
|
16154
16460
|
# The S3 bucket.
|
@@ -16260,21 +16566,8 @@ module Aws::S3
|
|
16260
16566
|
include Aws::Structure
|
16261
16567
|
end
|
16262
16568
|
|
16263
|
-
# Amazon S3 Select is no longer available to new customers. Existing
|
16264
|
-
# customers of Amazon S3 Select can continue to use the feature as
|
16265
|
-
# usual. [Learn more][1]
|
16266
|
-
#
|
16267
16569
|
# Describes the parameters for Select job types.
|
16268
16570
|
#
|
16269
|
-
# Learn [How to optimize querying your data in Amazon S3][1] using
|
16270
|
-
# [Amazon Athena][2], [S3 Object Lambda][3], or client-side filtering.
|
16271
|
-
#
|
16272
|
-
#
|
16273
|
-
#
|
16274
|
-
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16275
|
-
# [2]: https://docs.aws.amazon.com/athena/latest/ug/what-is.html
|
16276
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html
|
16277
|
-
#
|
16278
16571
|
# @!attribute [rw] input_serialization
|
16279
16572
|
# Describes the serialization format of the object.
|
16280
16573
|
# @return [Types::InputSerialization]
|
@@ -16284,15 +16577,7 @@ module Aws::S3
|
|
16284
16577
|
# @return [String]
|
16285
16578
|
#
|
16286
16579
|
# @!attribute [rw] expression
|
16287
|
-
# Amazon S3 Select is no longer available to new customers. Existing
|
16288
|
-
# customers of Amazon S3 Select can continue to use the feature as
|
16289
|
-
# usual. [Learn more][1]
|
16290
|
-
#
|
16291
16580
|
# The expression that is used to query the object.
|
16292
|
-
#
|
16293
|
-
#
|
16294
|
-
#
|
16295
|
-
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16296
16581
|
# @return [String]
|
16297
16582
|
#
|
16298
16583
|
# @!attribute [rw] output_serialization
|
@@ -16323,8 +16608,8 @@ module Aws::S3
|
|
16323
16608
|
#
|
16324
16609
|
# * **Directory buckets** - Your SSE-KMS configuration can only support
|
16325
16610
|
# 1 [customer managed key][2] per directory bucket for the lifetime of
|
16326
|
-
# the bucket. [Amazon Web Services managed key][3] (`aws/s3`)
|
16327
|
-
# supported.
|
16611
|
+
# the bucket. The [Amazon Web Services managed key][3] (`aws/s3`)
|
16612
|
+
# isn't supported.
|
16328
16613
|
#
|
16329
16614
|
# * **Directory buckets** - For directory buckets, there are only two
|
16330
16615
|
# supported options for server-side encryption: SSE-S3 and SSE-KMS.
|
@@ -16742,7 +17027,7 @@ module Aws::S3
|
|
16742
17027
|
#
|
16743
17028
|
# @!attribute [rw] simple_prefix
|
16744
17029
|
# To use the simple format for S3 keys for log objects. To specify
|
16745
|
-
# SimplePrefix format, set SimplePrefix to
|
17030
|
+
# SimplePrefix format, set SimplePrefix to \{}.
|
16746
17031
|
# @return [Types::SimplePrefix]
|
16747
17032
|
#
|
16748
17033
|
# @!attribute [rw] partitioned_prefix
|
@@ -16790,6 +17075,15 @@ module Aws::S3
|
|
16790
17075
|
include Aws::Structure
|
16791
17076
|
end
|
16792
17077
|
|
17078
|
+
# You have attempted to add more parts than the maximum of 10000 that
|
17079
|
+
# are allowed for this object. You can use the CopyObject operation to
|
17080
|
+
# copy this object to another and then add more data to the newly copied
|
17081
|
+
# object.
|
17082
|
+
#
|
17083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TooManyParts AWS API Documentation
|
17084
|
+
#
|
17085
|
+
class TooManyParts < Aws::EmptyStructure; end
|
17086
|
+
|
16793
17087
|
# A container for specifying the configuration for publication of
|
16794
17088
|
# messages to an Amazon Simple Notification Service (Amazon SNS) topic
|
16795
17089
|
# when Amazon S3 detects specified events.
|
@@ -17317,7 +17611,7 @@ module Aws::S3
|
|
17317
17611
|
# @return [String]
|
17318
17612
|
#
|
17319
17613
|
# @!attribute [rw] checksum_crc32
|
17320
|
-
# The base64-encoded, 32-bit
|
17614
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
17321
17615
|
# only be present if it was uploaded with the object. When you use an
|
17322
17616
|
# API operation on an object that was uploaded using multipart
|
17323
17617
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -17332,7 +17626,7 @@ module Aws::S3
|
|
17332
17626
|
# @return [String]
|
17333
17627
|
#
|
17334
17628
|
# @!attribute [rw] checksum_crc32c
|
17335
|
-
# The base64-encoded, 32-bit
|
17629
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
17336
17630
|
# only be present if it was uploaded with the object. When you use an
|
17337
17631
|
# API operation on an object that was uploaded using multipart
|
17338
17632
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -17522,7 +17816,7 @@ module Aws::S3
|
|
17522
17816
|
# @!attribute [rw] checksum_crc32
|
17523
17817
|
# This header can be used as a data integrity check to verify that the
|
17524
17818
|
# data received is the same data that was originally sent. This header
|
17525
|
-
# specifies the base64-encoded, 32-bit
|
17819
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
17526
17820
|
# For more information, see [Checking object integrity][1] in the
|
17527
17821
|
# *Amazon S3 User Guide*.
|
17528
17822
|
#
|
@@ -17534,7 +17828,7 @@ module Aws::S3
|
|
17534
17828
|
# @!attribute [rw] checksum_crc32c
|
17535
17829
|
# This header can be used as a data integrity check to verify that the
|
17536
17830
|
# data received is the same data that was originally sent. This header
|
17537
|
-
# specifies the base64-encoded, 32-bit
|
17831
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
|
17538
17832
|
# For more information, see [Checking object integrity][1] in the
|
17539
17833
|
# *Amazon S3 User Guide*.
|
17540
17834
|
#
|
@@ -17824,7 +18118,7 @@ module Aws::S3
|
|
17824
18118
|
# @!attribute [rw] checksum_crc32
|
17825
18119
|
# This header can be used as a data integrity check to verify that the
|
17826
18120
|
# data received is the same data that was originally sent. This
|
17827
|
-
# specifies the base64-encoded, 32-bit
|
18121
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object
|
17828
18122
|
# returned by the Object Lambda function. This may not match the
|
17829
18123
|
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17830
18124
|
# validation of the checksum values only when the original `GetObject`
|
@@ -17845,7 +18139,7 @@ module Aws::S3
|
|
17845
18139
|
# @!attribute [rw] checksum_crc32c
|
17846
18140
|
# This header can be used as a data integrity check to verify that the
|
17847
18141
|
# data received is the same data that was originally sent. This
|
17848
|
-
# specifies the base64-encoded, 32-bit
|
18142
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object
|
17849
18143
|
# returned by the Object Lambda function. This may not match the
|
17850
18144
|
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17851
18145
|
# validation of the checksum values only when the original `GetObject`
|