aws-sdk-s3 1.167.0 → 1.176.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +72 -17
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +5 -0
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +20 -0
- data/lib/aws-sdk-s3/client.rb +1577 -947
- data/lib/aws-sdk-s3/client_api.rb +131 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/endpoints.rb +445 -1403
- data/lib/aws-sdk-s3/errors.rb +44 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +33 -0
- data/lib/aws-sdk-s3/object.rb +142 -43
- data/lib/aws-sdk-s3/object_summary.rb +139 -42
- data/lib/aws-sdk-s3/object_version.rb +43 -0
- 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/presigner.rb +1 -0
- data/lib/aws-sdk-s3/resource.rb +34 -9
- data/lib/aws-sdk-s3/types.rb +903 -257
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +11 -3
- data/sig/client.rbs +54 -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 +4 -2
- data/sig/types.rbs +93 -3
- metadata +4 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -55,10 +55,10 @@ module Aws::S3
|
|
55
55
|
#
|
56
56
|
# **Directory buckets** - When you use this operation with a directory
|
57
57
|
# bucket, you must use virtual-hosted-style requests in the format `
|
58
|
-
#
|
58
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
59
59
|
# requests are not supported. Directory bucket names must be unique in
|
60
|
-
# the chosen Availability Zone. Bucket names must
|
61
|
-
#
|
60
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
61
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
62
62
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
63
63
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
64
64
|
# *Amazon S3 User Guide*.
|
@@ -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
|
@@ -385,8 +406,8 @@ module Aws::S3
|
|
385
406
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html
|
386
407
|
#
|
387
408
|
# @!attribute [rw] data_redundancy
|
388
|
-
# The number of Availability Zone that's used
|
389
|
-
# bucket.
|
409
|
+
# The number of Zone (Availability Zone or Local Zone) that's used
|
410
|
+
# for redundancy for the bucket.
|
390
411
|
# @return [String]
|
391
412
|
#
|
392
413
|
# @!attribute [rw] type
|
@@ -922,10 +943,10 @@ module Aws::S3
|
|
922
943
|
#
|
923
944
|
# **Directory buckets** - When you use this operation with a directory
|
924
945
|
# bucket, you must use virtual-hosted-style requests in the format `
|
925
|
-
#
|
946
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
926
947
|
# requests are not supported. Directory bucket names must be unique in
|
927
|
-
# the chosen Availability Zone. Bucket names must
|
928
|
-
#
|
948
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
949
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
929
950
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
930
951
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
931
952
|
# *Amazon S3 User Guide*.
|
@@ -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,
|
@@ -1309,7 +1353,9 @@ module Aws::S3
|
|
1309
1353
|
# If the object expiration is configured, the response includes this
|
1310
1354
|
# header.
|
1311
1355
|
#
|
1312
|
-
# <note markdown="1">
|
1356
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
1357
|
+
# and this header returns the value "`NotImplemented`" in all
|
1358
|
+
# responses for directory buckets.
|
1313
1359
|
#
|
1314
1360
|
# </note>
|
1315
1361
|
# @return [String]
|
@@ -1441,14 +1487,22 @@ module Aws::S3
|
|
1441
1487
|
#
|
1442
1488
|
# **Directory buckets** - When you use this operation with a directory
|
1443
1489
|
# bucket, you must use virtual-hosted-style requests in the format `
|
1444
|
-
#
|
1490
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
1445
1491
|
# requests are not supported. Directory bucket names must be unique in
|
1446
|
-
# the chosen Availability Zone. Bucket names must
|
1447
|
-
#
|
1492
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
1493
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
1448
1494
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
1449
1495
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
1450
1496
|
# *Amazon S3 User Guide*.
|
1451
1497
|
#
|
1498
|
+
# <note markdown="1"> Copying objects across different Amazon Web Services Regions isn't
|
1499
|
+
# supported when the source or destination bucket is in Amazon Web
|
1500
|
+
# Services Local Zones. The source and destination buckets must have
|
1501
|
+
# the same parent Amazon Web Services Region. Otherwise, you get an
|
1502
|
+
# HTTP `400 Bad Request` error with the error code `InvalidRequest`.
|
1503
|
+
#
|
1504
|
+
# </note>
|
1505
|
+
#
|
1452
1506
|
# **Access points** - When you use this action with an access point,
|
1453
1507
|
# you must provide the alias of the access point in place of the
|
1454
1508
|
# bucket name or specify the access point ARN. When using the access
|
@@ -1857,14 +1911,14 @@ module Aws::S3
|
|
1857
1911
|
# * To encrypt new object copies to a directory bucket with SSE-KMS,
|
1858
1912
|
# we recommend you specify SSE-KMS as the directory bucket's
|
1859
1913
|
# 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
|
1914
|
+
# [customer managed key][4]). The [Amazon Web Services managed
|
1915
|
+
# key][5] (`aws/s3`) isn't supported. Your SSE-KMS configuration
|
1916
|
+
# can only support 1 [customer managed key][4] per directory bucket
|
1917
|
+
# for the lifetime of the bucket. After you specify a customer
|
1918
|
+
# managed key for SSE-KMS, you can't override the customer managed
|
1919
|
+
# key for the bucket's SSE-KMS configuration. Then, when you
|
1920
|
+
# perform a `CopyObject` operation and want to specify server-side
|
1921
|
+
# encryption settings for new object copies with SSE-KMS in the
|
1868
1922
|
# encryption-related request headers, you must ensure the encryption
|
1869
1923
|
# key is the same customer managed key that you specified for the
|
1870
1924
|
# directory bucket's default encryption configuration.
|
@@ -1990,15 +2044,20 @@ module Aws::S3
|
|
1990
2044
|
# User Guide*.
|
1991
2045
|
#
|
1992
2046
|
# **Directory buckets** - If you specify
|
1993
|
-
# `x-amz-server-side-encryption` with `aws:kms`,
|
1994
|
-
#
|
1995
|
-
#
|
1996
|
-
#
|
1997
|
-
#
|
1998
|
-
#
|
1999
|
-
#
|
2000
|
-
#
|
2001
|
-
#
|
2047
|
+
# `x-amz-server-side-encryption` with `aws:kms`, the `
|
2048
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header is implicitly
|
2049
|
+
# assigned the ID of the KMS symmetric encryption customer managed key
|
2050
|
+
# that's configured for your directory bucket's default encryption
|
2051
|
+
# setting. If you want to specify the `
|
2052
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
|
2053
|
+
# can only specify it with the ID (Key ID or Key ARN) of the KMS
|
2054
|
+
# customer managed key that's configured for your directory bucket's
|
2055
|
+
# default encryption setting. Otherwise, you get an HTTP `400 Bad
|
2056
|
+
# Request` error. Only use the key ID or key ARN. The key alias format
|
2057
|
+
# of the KMS key isn't supported. Your SSE-KMS configuration can only
|
2058
|
+
# support 1 [customer managed key][2] per directory bucket for the
|
2059
|
+
# lifetime of the bucket. The [Amazon Web Services managed key][3]
|
2060
|
+
# (`aws/s3`) isn't supported.
|
2002
2061
|
#
|
2003
2062
|
#
|
2004
2063
|
#
|
@@ -2437,11 +2496,20 @@ module Aws::S3
|
|
2437
2496
|
# @!attribute [rw] location
|
2438
2497
|
# Specifies the location where the bucket will be created.
|
2439
2498
|
#
|
2440
|
-
#
|
2499
|
+
# <b>Directory buckets </b> - The location type is Availability Zone
|
2500
|
+
# or Local Zone. When the location type is Local Zone, your Local Zone
|
2501
|
+
# must be in opt-in status. Otherwise, you get an HTTP `400 Bad
|
2502
|
+
# Request` error with the error code `Access denied`. To learn more
|
2503
|
+
# about opt-in Local Zones, see [Opt-in Dedicated Local Zones][1]in
|
2504
|
+
# the *Amazon S3 User Guide*.
|
2441
2505
|
#
|
2442
2506
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
2443
2507
|
#
|
2444
2508
|
# </note>
|
2509
|
+
#
|
2510
|
+
#
|
2511
|
+
#
|
2512
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html
|
2445
2513
|
# @return [Types::LocationInfo]
|
2446
2514
|
#
|
2447
2515
|
# @!attribute [rw] bucket
|
@@ -2462,6 +2530,41 @@ module Aws::S3
|
|
2462
2530
|
include Aws::Structure
|
2463
2531
|
end
|
2464
2532
|
|
2533
|
+
# @!attribute [rw] bucket
|
2534
|
+
# The general purpose bucket that you want to create the metadata
|
2535
|
+
# table configuration in.
|
2536
|
+
# @return [String]
|
2537
|
+
#
|
2538
|
+
# @!attribute [rw] content_md5
|
2539
|
+
# The `Content-MD5` header for the metadata table configuration.
|
2540
|
+
# @return [String]
|
2541
|
+
#
|
2542
|
+
# @!attribute [rw] checksum_algorithm
|
2543
|
+
# The checksum algorithm to use with your metadata table
|
2544
|
+
# configuration.
|
2545
|
+
# @return [String]
|
2546
|
+
#
|
2547
|
+
# @!attribute [rw] metadata_table_configuration
|
2548
|
+
# The contents of your metadata table configuration.
|
2549
|
+
# @return [Types::MetadataTableConfiguration]
|
2550
|
+
#
|
2551
|
+
# @!attribute [rw] expected_bucket_owner
|
2552
|
+
# The expected owner of the general purpose bucket that contains your
|
2553
|
+
# metadata table configuration.
|
2554
|
+
# @return [String]
|
2555
|
+
#
|
2556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketMetadataTableConfigurationRequest AWS API Documentation
|
2557
|
+
#
|
2558
|
+
class CreateBucketMetadataTableConfigurationRequest < Struct.new(
|
2559
|
+
:bucket,
|
2560
|
+
:content_md5,
|
2561
|
+
:checksum_algorithm,
|
2562
|
+
:metadata_table_configuration,
|
2563
|
+
:expected_bucket_owner)
|
2564
|
+
SENSITIVE = []
|
2565
|
+
include Aws::Structure
|
2566
|
+
end
|
2567
|
+
|
2465
2568
|
# @!attribute [rw] location
|
2466
2569
|
# A forward slash followed by the name of the bucket.
|
2467
2570
|
# @return [String]
|
@@ -2491,13 +2594,14 @@ module Aws::S3
|
|
2491
2594
|
#
|
2492
2595
|
# <b>Directory buckets </b> - When you use this operation with a
|
2493
2596
|
# directory bucket, you must use path-style requests in the format
|
2494
|
-
# `https://s3express-control.
|
2597
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
2495
2598
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
2496
|
-
# names must be unique in the chosen Availability Zone
|
2497
|
-
# must also follow the format `
|
2498
|
-
#
|
2499
|
-
#
|
2500
|
-
# rules][2] in the
|
2599
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
2600
|
+
# Zone). Bucket names must also follow the format `
|
2601
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
2602
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
2603
|
+
# naming restrictions, see [Directory bucket naming rules][2] in the
|
2604
|
+
# *Amazon S3 User Guide*
|
2501
2605
|
#
|
2502
2606
|
#
|
2503
2607
|
#
|
@@ -2775,10 +2879,10 @@ module Aws::S3
|
|
2775
2879
|
#
|
2776
2880
|
# **Directory buckets** - When you use this operation with a directory
|
2777
2881
|
# bucket, you must use virtual-hosted-style requests in the format `
|
2778
|
-
#
|
2882
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
2779
2883
|
# requests are not supported. Directory bucket names must be unique in
|
2780
|
-
# the chosen Availability Zone. Bucket names must
|
2781
|
-
#
|
2884
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
2885
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
2782
2886
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
2783
2887
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
2784
2888
|
# *Amazon S3 User Guide*.
|
@@ -3245,15 +3349,20 @@ module Aws::S3
|
|
3245
3349
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
3246
3350
|
#
|
3247
3351
|
# **Directory buckets** - If you specify
|
3248
|
-
# `x-amz-server-side-encryption` with `aws:kms`,
|
3249
|
-
#
|
3250
|
-
#
|
3251
|
-
#
|
3252
|
-
#
|
3253
|
-
#
|
3254
|
-
#
|
3255
|
-
#
|
3256
|
-
#
|
3352
|
+
# `x-amz-server-side-encryption` with `aws:kms`, the `
|
3353
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header is implicitly
|
3354
|
+
# assigned the ID of the KMS symmetric encryption customer managed key
|
3355
|
+
# that's configured for your directory bucket's default encryption
|
3356
|
+
# setting. If you want to specify the `
|
3357
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
|
3358
|
+
# can only specify it with the ID (Key ID or Key ARN) of the KMS
|
3359
|
+
# customer managed key that's configured for your directory bucket's
|
3360
|
+
# default encryption setting. Otherwise, you get an HTTP `400 Bad
|
3361
|
+
# Request` error. Only use the key ID or key ARN. The key alias format
|
3362
|
+
# of the KMS key isn't supported. Your SSE-KMS configuration can only
|
3363
|
+
# support 1 [customer managed key][1] per directory bucket for the
|
3364
|
+
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
3365
|
+
# (`aws/s3`) isn't supported.
|
3257
3366
|
#
|
3258
3367
|
#
|
3259
3368
|
#
|
@@ -3491,8 +3600,8 @@ module Aws::S3
|
|
3491
3600
|
# must use the full Key ARN not the Key ID.
|
3492
3601
|
#
|
3493
3602
|
# 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.
|
3603
|
+
# key][1] per directory bucket for the lifetime of the bucket. The
|
3604
|
+
# [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
|
3496
3605
|
#
|
3497
3606
|
#
|
3498
3607
|
#
|
@@ -3677,13 +3786,14 @@ module Aws::S3
|
|
3677
3786
|
#
|
3678
3787
|
# <b>Directory buckets </b> - When you use this operation with a
|
3679
3788
|
# directory bucket, you must use path-style requests in the format
|
3680
|
-
# `https://s3express-control.
|
3789
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3681
3790
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3682
|
-
# names must be unique in the chosen Availability Zone
|
3683
|
-
# must also follow the format `
|
3684
|
-
#
|
3685
|
-
#
|
3686
|
-
# rules][1] in the
|
3791
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
3792
|
+
# Zone). Bucket names must also follow the format `
|
3793
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
3794
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3795
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3796
|
+
# *Amazon S3 User Guide*
|
3687
3797
|
#
|
3688
3798
|
#
|
3689
3799
|
#
|
@@ -3765,6 +3875,11 @@ module Aws::S3
|
|
3765
3875
|
# you provide does not match the actual owner of the bucket, the
|
3766
3876
|
# request fails with the HTTP status code `403 Forbidden` (access
|
3767
3877
|
# denied).
|
3878
|
+
#
|
3879
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
3880
|
+
# supported for directory bucket lifecycle configurations.
|
3881
|
+
#
|
3882
|
+
# </note>
|
3768
3883
|
# @return [String]
|
3769
3884
|
#
|
3770
3885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest AWS API Documentation
|
@@ -3776,6 +3891,25 @@ module Aws::S3
|
|
3776
3891
|
include Aws::Structure
|
3777
3892
|
end
|
3778
3893
|
|
3894
|
+
# @!attribute [rw] bucket
|
3895
|
+
# The general purpose bucket that you want to remove the metadata
|
3896
|
+
# table configuration from.
|
3897
|
+
# @return [String]
|
3898
|
+
#
|
3899
|
+
# @!attribute [rw] expected_bucket_owner
|
3900
|
+
# The expected bucket owner of the general purpose bucket that you
|
3901
|
+
# want to remove the metadata table configuration from.
|
3902
|
+
# @return [String]
|
3903
|
+
#
|
3904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetadataTableConfigurationRequest AWS API Documentation
|
3905
|
+
#
|
3906
|
+
class DeleteBucketMetadataTableConfigurationRequest < Struct.new(
|
3907
|
+
:bucket,
|
3908
|
+
:expected_bucket_owner)
|
3909
|
+
SENSITIVE = []
|
3910
|
+
include Aws::Structure
|
3911
|
+
end
|
3912
|
+
|
3779
3913
|
# @!attribute [rw] bucket
|
3780
3914
|
# The name of the bucket containing the metrics configuration to
|
3781
3915
|
# delete.
|
@@ -3829,13 +3963,14 @@ module Aws::S3
|
|
3829
3963
|
#
|
3830
3964
|
# <b>Directory buckets </b> - When you use this operation with a
|
3831
3965
|
# directory bucket, you must use path-style requests in the format
|
3832
|
-
# `https://s3express-control.
|
3966
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3833
3967
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3834
|
-
# names must be unique in the chosen Availability Zone
|
3835
|
-
# must also follow the format `
|
3836
|
-
#
|
3837
|
-
#
|
3838
|
-
# rules][1] in the
|
3968
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
3969
|
+
# Zone). Bucket names must also follow the format `
|
3970
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
3971
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3972
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3973
|
+
# *Amazon S3 User Guide*
|
3839
3974
|
#
|
3840
3975
|
#
|
3841
3976
|
#
|
@@ -3889,13 +4024,14 @@ module Aws::S3
|
|
3889
4024
|
#
|
3890
4025
|
# <b>Directory buckets </b> - When you use this operation with a
|
3891
4026
|
# directory bucket, you must use path-style requests in the format
|
3892
|
-
# `https://s3express-control.
|
4027
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3893
4028
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3894
|
-
# names must be unique in the chosen Availability Zone
|
3895
|
-
# must also follow the format `
|
3896
|
-
#
|
3897
|
-
#
|
3898
|
-
# rules][1] in the
|
4029
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
4030
|
+
# Zone). Bucket names must also follow the format `
|
4031
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
4032
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4033
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4034
|
+
# *Amazon S3 User Guide*
|
3899
4035
|
#
|
3900
4036
|
#
|
3901
4037
|
#
|
@@ -4083,10 +4219,10 @@ module Aws::S3
|
|
4083
4219
|
#
|
4084
4220
|
# **Directory buckets** - When you use this operation with a directory
|
4085
4221
|
# bucket, you must use virtual-hosted-style requests in the format `
|
4086
|
-
#
|
4222
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
4087
4223
|
# requests are not supported. Directory bucket names must be unique in
|
4088
|
-
# the chosen Availability Zone. Bucket names must
|
4089
|
-
#
|
4224
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
4225
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
4090
4226
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4091
4227
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4092
4228
|
# *Amazon S3 User Guide*.
|
@@ -4182,6 +4318,52 @@ module Aws::S3
|
|
4182
4318
|
# denied).
|
4183
4319
|
# @return [String]
|
4184
4320
|
#
|
4321
|
+
# @!attribute [rw] if_match
|
4322
|
+
# The `If-Match` header field makes the request method conditional on
|
4323
|
+
# ETags. If the ETag value does not match, the operation returns a
|
4324
|
+
# `412 Precondition Failed` error. If the ETag matches or if the
|
4325
|
+
# object doesn't exist, the operation will return a `204 Success (No
|
4326
|
+
# Content) response`.
|
4327
|
+
#
|
4328
|
+
# For more information about conditional requests, see [RFC 7232][1].
|
4329
|
+
#
|
4330
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4331
|
+
#
|
4332
|
+
# </note>
|
4333
|
+
#
|
4334
|
+
#
|
4335
|
+
#
|
4336
|
+
# [1]: https://docs.aws.amazon.com/https:/tools.ietf.org/html/rfc7232
|
4337
|
+
# @return [String]
|
4338
|
+
#
|
4339
|
+
# @!attribute [rw] if_match_last_modified_time
|
4340
|
+
# If present, the object is deleted only if its modification times
|
4341
|
+
# matches the provided `Timestamp`. If the `Timestamp` values do not
|
4342
|
+
# match, the operation returns a `412 Precondition Failed` error. If
|
4343
|
+
# the `Timestamp` matches or if the object doesn’t exist, the
|
4344
|
+
# operation returns a `204 Success (No Content)` response.
|
4345
|
+
#
|
4346
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4347
|
+
#
|
4348
|
+
# </note>
|
4349
|
+
# @return [Time]
|
4350
|
+
#
|
4351
|
+
# @!attribute [rw] if_match_size
|
4352
|
+
# If present, the object is deleted only if its size matches the
|
4353
|
+
# provided size in bytes. If the `Size` value does not match, the
|
4354
|
+
# operation returns a `412 Precondition Failed` error. If the `Size`
|
4355
|
+
# matches or if the object doesn’t exist, the operation returns a `204
|
4356
|
+
# Success (No Content)` response.
|
4357
|
+
#
|
4358
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4359
|
+
#
|
4360
|
+
# </note>
|
4361
|
+
#
|
4362
|
+
# You can use the `If-Match`, `x-amz-if-match-last-modified-time` and
|
4363
|
+
# `x-amz-if-match-size` conditional headers in conjunction with
|
4364
|
+
# each-other or individually.
|
4365
|
+
# @return [Integer]
|
4366
|
+
#
|
4185
4367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest AWS API Documentation
|
4186
4368
|
#
|
4187
4369
|
class DeleteObjectRequest < Struct.new(
|
@@ -4191,7 +4373,10 @@ module Aws::S3
|
|
4191
4373
|
:version_id,
|
4192
4374
|
:request_payer,
|
4193
4375
|
:bypass_governance_retention,
|
4194
|
-
:expected_bucket_owner
|
4376
|
+
:expected_bucket_owner,
|
4377
|
+
:if_match,
|
4378
|
+
:if_match_last_modified_time,
|
4379
|
+
:if_match_size)
|
4195
4380
|
SENSITIVE = []
|
4196
4381
|
include Aws::Structure
|
4197
4382
|
end
|
@@ -4299,10 +4484,10 @@ module Aws::S3
|
|
4299
4484
|
#
|
4300
4485
|
# **Directory buckets** - When you use this operation with a directory
|
4301
4486
|
# bucket, you must use virtual-hosted-style requests in the format `
|
4302
|
-
#
|
4487
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
4303
4488
|
# requests are not supported. Directory bucket names must be unique in
|
4304
|
-
# the chosen Availability Zone. Bucket names must
|
4305
|
-
#
|
4489
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
4490
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
4306
4491
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4307
4492
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4308
4493
|
# *Amazon S3 User Guide*.
|
@@ -4667,6 +4852,14 @@ module Aws::S3
|
|
4667
4852
|
include Aws::Structure
|
4668
4853
|
end
|
4669
4854
|
|
4855
|
+
# The existing object was created with a different encryption type.
|
4856
|
+
# Subsequent write requests must include the appropriate encryption
|
4857
|
+
# parameters in the request or while creating the session.
|
4858
|
+
#
|
4859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionTypeMismatch AWS API Documentation
|
4860
|
+
#
|
4861
|
+
class EncryptionTypeMismatch < Aws::EmptyStructure; end
|
4862
|
+
|
4670
4863
|
# A message that indicates the request is complete and no more messages
|
4671
4864
|
# will be sent. You should not assume that the request is complete until
|
4672
4865
|
# the client receives an `EndEvent`.
|
@@ -4706,7 +4899,6 @@ module Aws::S3
|
|
4706
4899
|
# * *HTTP Status Code:* 403 Forbidden
|
4707
4900
|
#
|
4708
4901
|
# * *SOAP Fault Code Prefix:* Client
|
4709
|
-
#
|
4710
4902
|
# * * *Code:* AccountProblem
|
4711
4903
|
#
|
4712
4904
|
# * *Description:* There is a problem with your Amazon Web Services
|
@@ -4716,7 +4908,6 @@ module Aws::S3
|
|
4716
4908
|
# * *HTTP Status Code:* 403 Forbidden
|
4717
4909
|
#
|
4718
4910
|
# * *SOAP Fault Code Prefix:* Client
|
4719
|
-
#
|
4720
4911
|
# * * *Code:* AllAccessDisabled
|
4721
4912
|
#
|
4722
4913
|
# * *Description:* All access to this Amazon S3 resource has been
|
@@ -4726,7 +4917,6 @@ module Aws::S3
|
|
4726
4917
|
# * *HTTP Status Code:* 403 Forbidden
|
4727
4918
|
#
|
4728
4919
|
# * *SOAP Fault Code Prefix:* Client
|
4729
|
-
#
|
4730
4920
|
# * * *Code:* AmbiguousGrantByEmailAddress
|
4731
4921
|
#
|
4732
4922
|
# * *Description:* The email address you provided is associated with
|
@@ -4735,7 +4925,6 @@ module Aws::S3
|
|
4735
4925
|
# * *HTTP Status Code:* 400 Bad Request
|
4736
4926
|
#
|
4737
4927
|
# * *SOAP Fault Code Prefix:* Client
|
4738
|
-
#
|
4739
4928
|
# * * *Code:* AuthorizationHeaderMalformed
|
4740
4929
|
#
|
4741
4930
|
# * *Description:* The authorization header you provided is invalid.
|
@@ -4743,7 +4932,6 @@ module Aws::S3
|
|
4743
4932
|
# * *HTTP Status Code:* 400 Bad Request
|
4744
4933
|
#
|
4745
4934
|
# * *HTTP Status Code:* N/A
|
4746
|
-
#
|
4747
4935
|
# * * *Code:* BadDigest
|
4748
4936
|
#
|
4749
4937
|
# * *Description:* The Content-MD5 you specified did not match what
|
@@ -4752,7 +4940,6 @@ module Aws::S3
|
|
4752
4940
|
# * *HTTP Status Code:* 400 Bad Request
|
4753
4941
|
#
|
4754
4942
|
# * *SOAP Fault Code Prefix:* Client
|
4755
|
-
#
|
4756
4943
|
# * * *Code:* BucketAlreadyExists
|
4757
4944
|
#
|
4758
4945
|
# * *Description:* The requested bucket name is not available. The
|
@@ -4762,7 +4949,6 @@ module Aws::S3
|
|
4762
4949
|
# * *HTTP Status Code:* 409 Conflict
|
4763
4950
|
#
|
4764
4951
|
# * *SOAP Fault Code Prefix:* Client
|
4765
|
-
#
|
4766
4952
|
# * * *Code:* BucketAlreadyOwnedByYou
|
4767
4953
|
#
|
4768
4954
|
# * *Description:* The bucket you tried to create already exists,
|
@@ -4776,7 +4962,6 @@ module Aws::S3
|
|
4776
4962
|
# Region)
|
4777
4963
|
#
|
4778
4964
|
# * *SOAP Fault Code Prefix:* Client
|
4779
|
-
#
|
4780
4965
|
# * * *Code:* BucketNotEmpty
|
4781
4966
|
#
|
4782
4967
|
# * *Description:* The bucket you tried to delete is not empty.
|
@@ -4784,7 +4969,6 @@ module Aws::S3
|
|
4784
4969
|
# * *HTTP Status Code:* 409 Conflict
|
4785
4970
|
#
|
4786
4971
|
# * *SOAP Fault Code Prefix:* Client
|
4787
|
-
#
|
4788
4972
|
# * * *Code:* CredentialsNotSupported
|
4789
4973
|
#
|
4790
4974
|
# * *Description:* This request does not support credentials.
|
@@ -4792,7 +4976,6 @@ module Aws::S3
|
|
4792
4976
|
# * *HTTP Status Code:* 400 Bad Request
|
4793
4977
|
#
|
4794
4978
|
# * *SOAP Fault Code Prefix:* Client
|
4795
|
-
#
|
4796
4979
|
# * * *Code:* CrossLocationLoggingProhibited
|
4797
4980
|
#
|
4798
4981
|
# * *Description:* Cross-location logging not allowed. Buckets in
|
@@ -4802,7 +4985,6 @@ module Aws::S3
|
|
4802
4985
|
# * *HTTP Status Code:* 403 Forbidden
|
4803
4986
|
#
|
4804
4987
|
# * *SOAP Fault Code Prefix:* Client
|
4805
|
-
#
|
4806
4988
|
# * * *Code:* EntityTooSmall
|
4807
4989
|
#
|
4808
4990
|
# * *Description:* Your proposed upload is smaller than the minimum
|
@@ -4811,7 +4993,6 @@ module Aws::S3
|
|
4811
4993
|
# * *HTTP Status Code:* 400 Bad Request
|
4812
4994
|
#
|
4813
4995
|
# * *SOAP Fault Code Prefix:* Client
|
4814
|
-
#
|
4815
4996
|
# * * *Code:* EntityTooLarge
|
4816
4997
|
#
|
4817
4998
|
# * *Description:* Your proposed upload exceeds the maximum allowed
|
@@ -4820,7 +5001,6 @@ module Aws::S3
|
|
4820
5001
|
# * *HTTP Status Code:* 400 Bad Request
|
4821
5002
|
#
|
4822
5003
|
# * *SOAP Fault Code Prefix:* Client
|
4823
|
-
#
|
4824
5004
|
# * * *Code:* ExpiredToken
|
4825
5005
|
#
|
4826
5006
|
# * *Description:* The provided token has expired.
|
@@ -4828,7 +5008,6 @@ module Aws::S3
|
|
4828
5008
|
# * *HTTP Status Code:* 400 Bad Request
|
4829
5009
|
#
|
4830
5010
|
# * *SOAP Fault Code Prefix:* Client
|
4831
|
-
#
|
4832
5011
|
# * * *Code:* IllegalVersioningConfigurationException
|
4833
5012
|
#
|
4834
5013
|
# * *Description:* Indicates that the versioning configuration
|
@@ -4837,7 +5016,6 @@ module Aws::S3
|
|
4837
5016
|
# * *HTTP Status Code:* 400 Bad Request
|
4838
5017
|
#
|
4839
5018
|
# * *SOAP Fault Code Prefix:* Client
|
4840
|
-
#
|
4841
5019
|
# * * *Code:* IncompleteBody
|
4842
5020
|
#
|
4843
5021
|
# * *Description:* You did not provide the number of bytes specified
|
@@ -4846,7 +5024,6 @@ module Aws::S3
|
|
4846
5024
|
# * *HTTP Status Code:* 400 Bad Request
|
4847
5025
|
#
|
4848
5026
|
# * *SOAP Fault Code Prefix:* Client
|
4849
|
-
#
|
4850
5027
|
# * * *Code:* IncorrectNumberOfFilesInPostRequest
|
4851
5028
|
#
|
4852
5029
|
# * *Description:* POST requires exactly one file upload per
|
@@ -4855,7 +5032,6 @@ module Aws::S3
|
|
4855
5032
|
# * *HTTP Status Code:* 400 Bad Request
|
4856
5033
|
#
|
4857
5034
|
# * *SOAP Fault Code Prefix:* Client
|
4858
|
-
#
|
4859
5035
|
# * * *Code:* InlineDataTooLarge
|
4860
5036
|
#
|
4861
5037
|
# * *Description:* Inline data exceeds the maximum allowed size.
|
@@ -4863,7 +5039,6 @@ module Aws::S3
|
|
4863
5039
|
# * *HTTP Status Code:* 400 Bad Request
|
4864
5040
|
#
|
4865
5041
|
# * *SOAP Fault Code Prefix:* Client
|
4866
|
-
#
|
4867
5042
|
# * * *Code:* InternalError
|
4868
5043
|
#
|
4869
5044
|
# * *Description:* We encountered an internal error. Please try
|
@@ -4872,7 +5047,6 @@ module Aws::S3
|
|
4872
5047
|
# * *HTTP Status Code:* 500 Internal Server Error
|
4873
5048
|
#
|
4874
5049
|
# * *SOAP Fault Code Prefix:* Server
|
4875
|
-
#
|
4876
5050
|
# * * *Code:* InvalidAccessKeyId
|
4877
5051
|
#
|
4878
5052
|
# * *Description:* The Amazon Web Services access key ID you
|
@@ -4881,7 +5055,6 @@ module Aws::S3
|
|
4881
5055
|
# * *HTTP Status Code:* 403 Forbidden
|
4882
5056
|
#
|
4883
5057
|
# * *SOAP Fault Code Prefix:* Client
|
4884
|
-
#
|
4885
5058
|
# * * *Code:* InvalidAddressingHeader
|
4886
5059
|
#
|
4887
5060
|
# * *Description:* You must specify the Anonymous role.
|
@@ -4889,7 +5062,6 @@ module Aws::S3
|
|
4889
5062
|
# * *HTTP Status Code:* N/A
|
4890
5063
|
#
|
4891
5064
|
# * *SOAP Fault Code Prefix:* Client
|
4892
|
-
#
|
4893
5065
|
# * * *Code:* InvalidArgument
|
4894
5066
|
#
|
4895
5067
|
# * *Description:* Invalid Argument
|
@@ -4897,7 +5069,6 @@ module Aws::S3
|
|
4897
5069
|
# * *HTTP Status Code:* 400 Bad Request
|
4898
5070
|
#
|
4899
5071
|
# * *SOAP Fault Code Prefix:* Client
|
4900
|
-
#
|
4901
5072
|
# * * *Code:* InvalidBucketName
|
4902
5073
|
#
|
4903
5074
|
# * *Description:* The specified bucket is not valid.
|
@@ -4905,7 +5076,6 @@ module Aws::S3
|
|
4905
5076
|
# * *HTTP Status Code:* 400 Bad Request
|
4906
5077
|
#
|
4907
5078
|
# * *SOAP Fault Code Prefix:* Client
|
4908
|
-
#
|
4909
5079
|
# * * *Code:* InvalidBucketState
|
4910
5080
|
#
|
4911
5081
|
# * *Description:* The request is not valid with the current state
|
@@ -4914,7 +5084,6 @@ module Aws::S3
|
|
4914
5084
|
# * *HTTP Status Code:* 409 Conflict
|
4915
5085
|
#
|
4916
5086
|
# * *SOAP Fault Code Prefix:* Client
|
4917
|
-
#
|
4918
5087
|
# * * *Code:* InvalidDigest
|
4919
5088
|
#
|
4920
5089
|
# * *Description:* The Content-MD5 you specified is not valid.
|
@@ -4922,7 +5091,6 @@ module Aws::S3
|
|
4922
5091
|
# * *HTTP Status Code:* 400 Bad Request
|
4923
5092
|
#
|
4924
5093
|
# * *SOAP Fault Code Prefix:* Client
|
4925
|
-
#
|
4926
5094
|
# * * *Code:* InvalidEncryptionAlgorithmError
|
4927
5095
|
#
|
4928
5096
|
# * *Description:* The encryption request you specified is not
|
@@ -4931,7 +5099,6 @@ module Aws::S3
|
|
4931
5099
|
# * *HTTP Status Code:* 400 Bad Request
|
4932
5100
|
#
|
4933
5101
|
# * *SOAP Fault Code Prefix:* Client
|
4934
|
-
#
|
4935
5102
|
# * * *Code:* InvalidLocationConstraint
|
4936
5103
|
#
|
4937
5104
|
# * *Description:* The specified location constraint is not valid.
|
@@ -4941,7 +5108,6 @@ module Aws::S3
|
|
4941
5108
|
# * *HTTP Status Code:* 400 Bad Request
|
4942
5109
|
#
|
4943
5110
|
# * *SOAP Fault Code Prefix:* Client
|
4944
|
-
#
|
4945
5111
|
# * * *Code:* InvalidObjectState
|
4946
5112
|
#
|
4947
5113
|
# * *Description:* The action is not valid for the current state of
|
@@ -4950,7 +5116,6 @@ module Aws::S3
|
|
4950
5116
|
# * *HTTP Status Code:* 403 Forbidden
|
4951
5117
|
#
|
4952
5118
|
# * *SOAP Fault Code Prefix:* Client
|
4953
|
-
#
|
4954
5119
|
# * * *Code:* InvalidPart
|
4955
5120
|
#
|
4956
5121
|
# * *Description:* One or more of the specified parts could not be
|
@@ -4960,7 +5125,6 @@ module Aws::S3
|
|
4960
5125
|
# * *HTTP Status Code:* 400 Bad Request
|
4961
5126
|
#
|
4962
5127
|
# * *SOAP Fault Code Prefix:* Client
|
4963
|
-
#
|
4964
5128
|
# * * *Code:* InvalidPartOrder
|
4965
5129
|
#
|
4966
5130
|
# * *Description:* The list of parts was not in ascending order.
|
@@ -4969,7 +5133,6 @@ module Aws::S3
|
|
4969
5133
|
# * *HTTP Status Code:* 400 Bad Request
|
4970
5134
|
#
|
4971
5135
|
# * *SOAP Fault Code Prefix:* Client
|
4972
|
-
#
|
4973
5136
|
# * * *Code:* InvalidPayer
|
4974
5137
|
#
|
4975
5138
|
# * *Description:* All access to this object has been disabled.
|
@@ -4979,7 +5142,6 @@ module Aws::S3
|
|
4979
5142
|
# * *HTTP Status Code:* 403 Forbidden
|
4980
5143
|
#
|
4981
5144
|
# * *SOAP Fault Code Prefix:* Client
|
4982
|
-
#
|
4983
5145
|
# * * *Code:* InvalidPolicyDocument
|
4984
5146
|
#
|
4985
5147
|
# * *Description:* The content of the form does not meet the
|
@@ -4988,7 +5150,6 @@ module Aws::S3
|
|
4988
5150
|
# * *HTTP Status Code:* 400 Bad Request
|
4989
5151
|
#
|
4990
5152
|
# * *SOAP Fault Code Prefix:* Client
|
4991
|
-
#
|
4992
5153
|
# * * *Code:* InvalidRange
|
4993
5154
|
#
|
4994
5155
|
# * *Description:* The requested range cannot be satisfied.
|
@@ -4996,7 +5157,6 @@ module Aws::S3
|
|
4996
5157
|
# * *HTTP Status Code:* 416 Requested Range Not Satisfiable
|
4997
5158
|
#
|
4998
5159
|
# * *SOAP Fault Code Prefix:* Client
|
4999
|
-
#
|
5000
5160
|
# * * *Code:* InvalidRequest
|
5001
5161
|
#
|
5002
5162
|
# * *Description:* Please use `AWS4-HMAC-SHA256`.
|
@@ -5004,7 +5164,6 @@ module Aws::S3
|
|
5004
5164
|
# * *HTTP Status Code:* 400 Bad Request
|
5005
5165
|
#
|
5006
5166
|
# * *Code:* N/A
|
5007
|
-
#
|
5008
5167
|
# * * *Code:* InvalidRequest
|
5009
5168
|
#
|
5010
5169
|
# * *Description:* SOAP requests must be made over an HTTPS
|
@@ -5013,7 +5172,6 @@ module Aws::S3
|
|
5013
5172
|
# * *HTTP Status Code:* 400 Bad Request
|
5014
5173
|
#
|
5015
5174
|
# * *SOAP Fault Code Prefix:* Client
|
5016
|
-
#
|
5017
5175
|
# * * *Code:* InvalidRequest
|
5018
5176
|
#
|
5019
5177
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5022,7 +5180,6 @@ module Aws::S3
|
|
5022
5180
|
# * *HTTP Status Code:* 400 Bad Request
|
5023
5181
|
#
|
5024
5182
|
# * *Code:* N/A
|
5025
|
-
#
|
5026
5183
|
# * * *Code:* InvalidRequest
|
5027
5184
|
#
|
5028
5185
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5031,7 +5188,6 @@ module Aws::S3
|
|
5031
5188
|
# * *HTTP Status Code:* 400 Bad Request
|
5032
5189
|
#
|
5033
5190
|
# * *Code:* N/A
|
5034
|
-
#
|
5035
5191
|
# * * *Code:* InvalidRequest
|
5036
5192
|
#
|
5037
5193
|
# * *Description:* Amazon S3 Transfer Accelerate endpoint only
|
@@ -5040,7 +5196,6 @@ module Aws::S3
|
|
5040
5196
|
# * *HTTP Status Code:* 400 Bad Request
|
5041
5197
|
#
|
5042
5198
|
# * *Code:* N/A
|
5043
|
-
#
|
5044
5199
|
# * * *Code:* InvalidRequest
|
5045
5200
|
#
|
5046
5201
|
# * *Description:* Amazon S3 Transfer Accelerate is not configured
|
@@ -5049,7 +5204,6 @@ module Aws::S3
|
|
5049
5204
|
# * *HTTP Status Code:* 400 Bad Request
|
5050
5205
|
#
|
5051
5206
|
# * *Code:* N/A
|
5052
|
-
#
|
5053
5207
|
# * * *Code:* InvalidRequest
|
5054
5208
|
#
|
5055
5209
|
# * *Description:* Amazon S3 Transfer Accelerate is disabled on this
|
@@ -5058,7 +5212,6 @@ module Aws::S3
|
|
5058
5212
|
# * *HTTP Status Code:* 400 Bad Request
|
5059
5213
|
#
|
5060
5214
|
# * *Code:* N/A
|
5061
|
-
#
|
5062
5215
|
# * * *Code:* InvalidRequest
|
5063
5216
|
#
|
5064
5217
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5068,7 +5221,6 @@ module Aws::S3
|
|
5068
5221
|
# * *HTTP Status Code:* 400 Bad Request
|
5069
5222
|
#
|
5070
5223
|
# * *Code:* N/A
|
5071
|
-
#
|
5072
5224
|
# * * *Code:* InvalidRequest
|
5073
5225
|
#
|
5074
5226
|
# * *Description:* Amazon S3 Transfer Acceleration cannot be enabled
|
@@ -5078,7 +5230,6 @@ module Aws::S3
|
|
5078
5230
|
# * *HTTP Status Code:* 400 Bad Request
|
5079
5231
|
#
|
5080
5232
|
# * *Code:* N/A
|
5081
|
-
#
|
5082
5233
|
# * * *Code:* InvalidSecurity
|
5083
5234
|
#
|
5084
5235
|
# * *Description:* The provided security credentials are not valid.
|
@@ -5086,7 +5237,6 @@ module Aws::S3
|
|
5086
5237
|
# * *HTTP Status Code:* 403 Forbidden
|
5087
5238
|
#
|
5088
5239
|
# * *SOAP Fault Code Prefix:* Client
|
5089
|
-
#
|
5090
5240
|
# * * *Code:* InvalidSOAPRequest
|
5091
5241
|
#
|
5092
5242
|
# * *Description:* The SOAP request body is invalid.
|
@@ -5094,7 +5244,6 @@ module Aws::S3
|
|
5094
5244
|
# * *HTTP Status Code:* 400 Bad Request
|
5095
5245
|
#
|
5096
5246
|
# * *SOAP Fault Code Prefix:* Client
|
5097
|
-
#
|
5098
5247
|
# * * *Code:* InvalidStorageClass
|
5099
5248
|
#
|
5100
5249
|
# * *Description:* The storage class you specified is not valid.
|
@@ -5102,7 +5251,6 @@ module Aws::S3
|
|
5102
5251
|
# * *HTTP Status Code:* 400 Bad Request
|
5103
5252
|
#
|
5104
5253
|
# * *SOAP Fault Code Prefix:* Client
|
5105
|
-
#
|
5106
5254
|
# * * *Code:* InvalidTargetBucketForLogging
|
5107
5255
|
#
|
5108
5256
|
# * *Description:* The target bucket for logging does not exist, is
|
@@ -5112,7 +5260,6 @@ module Aws::S3
|
|
5112
5260
|
# * *HTTP Status Code:* 400 Bad Request
|
5113
5261
|
#
|
5114
5262
|
# * *SOAP Fault Code Prefix:* Client
|
5115
|
-
#
|
5116
5263
|
# * * *Code:* InvalidToken
|
5117
5264
|
#
|
5118
5265
|
# * *Description:* The provided token is malformed or otherwise
|
@@ -5121,7 +5268,6 @@ module Aws::S3
|
|
5121
5268
|
# * *HTTP Status Code:* 400 Bad Request
|
5122
5269
|
#
|
5123
5270
|
# * *SOAP Fault Code Prefix:* Client
|
5124
|
-
#
|
5125
5271
|
# * * *Code:* InvalidURI
|
5126
5272
|
#
|
5127
5273
|
# * *Description:* Couldn't parse the specified URI.
|
@@ -5129,7 +5275,6 @@ module Aws::S3
|
|
5129
5275
|
# * *HTTP Status Code:* 400 Bad Request
|
5130
5276
|
#
|
5131
5277
|
# * *SOAP Fault Code Prefix:* Client
|
5132
|
-
#
|
5133
5278
|
# * * *Code:* KeyTooLongError
|
5134
5279
|
#
|
5135
5280
|
# * *Description:* Your key is too long.
|
@@ -5137,7 +5282,6 @@ module Aws::S3
|
|
5137
5282
|
# * *HTTP Status Code:* 400 Bad Request
|
5138
5283
|
#
|
5139
5284
|
# * *SOAP Fault Code Prefix:* Client
|
5140
|
-
#
|
5141
5285
|
# * * *Code:* MalformedACLError
|
5142
5286
|
#
|
5143
5287
|
# * *Description:* The XML you provided was not well-formed or did
|
@@ -5146,7 +5290,6 @@ module Aws::S3
|
|
5146
5290
|
# * *HTTP Status Code:* 400 Bad Request
|
5147
5291
|
#
|
5148
5292
|
# * *SOAP Fault Code Prefix:* Client
|
5149
|
-
#
|
5150
5293
|
# * * *Code:* MalformedPOSTRequest
|
5151
5294
|
#
|
5152
5295
|
# * *Description:* The body of your POST request is not well-formed
|
@@ -5155,7 +5298,6 @@ module Aws::S3
|
|
5155
5298
|
# * *HTTP Status Code:* 400 Bad Request
|
5156
5299
|
#
|
5157
5300
|
# * *SOAP Fault Code Prefix:* Client
|
5158
|
-
#
|
5159
5301
|
# * * *Code:* MalformedXML
|
5160
5302
|
#
|
5161
5303
|
# * *Description:* This happens when the user sends malformed XML
|
@@ -5167,7 +5309,6 @@ module Aws::S3
|
|
5167
5309
|
# * *HTTP Status Code:* 400 Bad Request
|
5168
5310
|
#
|
5169
5311
|
# * *SOAP Fault Code Prefix:* Client
|
5170
|
-
#
|
5171
5312
|
# * * *Code:* MaxMessageLengthExceeded
|
5172
5313
|
#
|
5173
5314
|
# * *Description:* Your request was too big.
|
@@ -5175,7 +5316,6 @@ module Aws::S3
|
|
5175
5316
|
# * *HTTP Status Code:* 400 Bad Request
|
5176
5317
|
#
|
5177
5318
|
# * *SOAP Fault Code Prefix:* Client
|
5178
|
-
#
|
5179
5319
|
# * * *Code:* MaxPostPreDataLengthExceededError
|
5180
5320
|
#
|
5181
5321
|
# * *Description:* Your POST request fields preceding the upload
|
@@ -5184,7 +5324,6 @@ module Aws::S3
|
|
5184
5324
|
# * *HTTP Status Code:* 400 Bad Request
|
5185
5325
|
#
|
5186
5326
|
# * *SOAP Fault Code Prefix:* Client
|
5187
|
-
#
|
5188
5327
|
# * * *Code:* MetadataTooLarge
|
5189
5328
|
#
|
5190
5329
|
# * *Description:* Your metadata headers exceed the maximum allowed
|
@@ -5193,7 +5332,6 @@ module Aws::S3
|
|
5193
5332
|
# * *HTTP Status Code:* 400 Bad Request
|
5194
5333
|
#
|
5195
5334
|
# * *SOAP Fault Code Prefix:* Client
|
5196
|
-
#
|
5197
5335
|
# * * *Code:* MethodNotAllowed
|
5198
5336
|
#
|
5199
5337
|
# * *Description:* The specified method is not allowed against this
|
@@ -5202,7 +5340,6 @@ module Aws::S3
|
|
5202
5340
|
# * *HTTP Status Code:* 405 Method Not Allowed
|
5203
5341
|
#
|
5204
5342
|
# * *SOAP Fault Code Prefix:* Client
|
5205
|
-
#
|
5206
5343
|
# * * *Code:* MissingAttachment
|
5207
5344
|
#
|
5208
5345
|
# * *Description:* A SOAP attachment was expected, but none were
|
@@ -5211,7 +5348,6 @@ module Aws::S3
|
|
5211
5348
|
# * *HTTP Status Code:* N/A
|
5212
5349
|
#
|
5213
5350
|
# * *SOAP Fault Code Prefix:* Client
|
5214
|
-
#
|
5215
5351
|
# * * *Code:* MissingContentLength
|
5216
5352
|
#
|
5217
5353
|
# * *Description:* You must provide the Content-Length HTTP header.
|
@@ -5219,7 +5355,6 @@ module Aws::S3
|
|
5219
5355
|
# * *HTTP Status Code:* 411 Length Required
|
5220
5356
|
#
|
5221
5357
|
# * *SOAP Fault Code Prefix:* Client
|
5222
|
-
#
|
5223
5358
|
# * * *Code:* MissingRequestBodyError
|
5224
5359
|
#
|
5225
5360
|
# * *Description:* This happens when the user sends an empty XML
|
@@ -5229,7 +5364,6 @@ module Aws::S3
|
|
5229
5364
|
# * *HTTP Status Code:* 400 Bad Request
|
5230
5365
|
#
|
5231
5366
|
# * *SOAP Fault Code Prefix:* Client
|
5232
|
-
#
|
5233
5367
|
# * * *Code:* MissingSecurityElement
|
5234
5368
|
#
|
5235
5369
|
# * *Description:* The SOAP 1.1 request is missing a security
|
@@ -5238,7 +5372,6 @@ module Aws::S3
|
|
5238
5372
|
# * *HTTP Status Code:* 400 Bad Request
|
5239
5373
|
#
|
5240
5374
|
# * *SOAP Fault Code Prefix:* Client
|
5241
|
-
#
|
5242
5375
|
# * * *Code:* MissingSecurityHeader
|
5243
5376
|
#
|
5244
5377
|
# * *Description:* Your request is missing a required header.
|
@@ -5246,7 +5379,6 @@ module Aws::S3
|
|
5246
5379
|
# * *HTTP Status Code:* 400 Bad Request
|
5247
5380
|
#
|
5248
5381
|
# * *SOAP Fault Code Prefix:* Client
|
5249
|
-
#
|
5250
5382
|
# * * *Code:* NoLoggingStatusForKey
|
5251
5383
|
#
|
5252
5384
|
# * *Description:* There is no such thing as a logging status
|
@@ -5255,7 +5387,6 @@ module Aws::S3
|
|
5255
5387
|
# * *HTTP Status Code:* 400 Bad Request
|
5256
5388
|
#
|
5257
5389
|
# * *SOAP Fault Code Prefix:* Client
|
5258
|
-
#
|
5259
5390
|
# * * *Code:* NoSuchBucket
|
5260
5391
|
#
|
5261
5392
|
# * *Description:* The specified bucket does not exist.
|
@@ -5263,7 +5394,6 @@ module Aws::S3
|
|
5263
5394
|
# * *HTTP Status Code:* 404 Not Found
|
5264
5395
|
#
|
5265
5396
|
# * *SOAP Fault Code Prefix:* Client
|
5266
|
-
#
|
5267
5397
|
# * * *Code:* NoSuchBucketPolicy
|
5268
5398
|
#
|
5269
5399
|
# * *Description:* The specified bucket does not have a bucket
|
@@ -5272,7 +5402,6 @@ module Aws::S3
|
|
5272
5402
|
# * *HTTP Status Code:* 404 Not Found
|
5273
5403
|
#
|
5274
5404
|
# * *SOAP Fault Code Prefix:* Client
|
5275
|
-
#
|
5276
5405
|
# * * *Code:* NoSuchKey
|
5277
5406
|
#
|
5278
5407
|
# * *Description:* The specified key does not exist.
|
@@ -5280,7 +5409,6 @@ module Aws::S3
|
|
5280
5409
|
# * *HTTP Status Code:* 404 Not Found
|
5281
5410
|
#
|
5282
5411
|
# * *SOAP Fault Code Prefix:* Client
|
5283
|
-
#
|
5284
5412
|
# * * *Code:* NoSuchLifecycleConfiguration
|
5285
5413
|
#
|
5286
5414
|
# * *Description:* The lifecycle configuration does not exist.
|
@@ -5288,7 +5416,6 @@ module Aws::S3
|
|
5288
5416
|
# * *HTTP Status Code:* 404 Not Found
|
5289
5417
|
#
|
5290
5418
|
# * *SOAP Fault Code Prefix:* Client
|
5291
|
-
#
|
5292
5419
|
# * * *Code:* NoSuchUpload
|
5293
5420
|
#
|
5294
5421
|
# * *Description:* The specified multipart upload does not exist.
|
@@ -5298,7 +5425,6 @@ module Aws::S3
|
|
5298
5425
|
# * *HTTP Status Code:* 404 Not Found
|
5299
5426
|
#
|
5300
5427
|
# * *SOAP Fault Code Prefix:* Client
|
5301
|
-
#
|
5302
5428
|
# * * *Code:* NoSuchVersion
|
5303
5429
|
#
|
5304
5430
|
# * *Description:* Indicates that the version ID specified in the
|
@@ -5307,7 +5433,6 @@ module Aws::S3
|
|
5307
5433
|
# * *HTTP Status Code:* 404 Not Found
|
5308
5434
|
#
|
5309
5435
|
# * *SOAP Fault Code Prefix:* Client
|
5310
|
-
#
|
5311
5436
|
# * * *Code:* NotImplemented
|
5312
5437
|
#
|
5313
5438
|
# * *Description:* A header you provided implies functionality that
|
@@ -5316,7 +5441,6 @@ module Aws::S3
|
|
5316
5441
|
# * *HTTP Status Code:* 501 Not Implemented
|
5317
5442
|
#
|
5318
5443
|
# * *SOAP Fault Code Prefix:* Server
|
5319
|
-
#
|
5320
5444
|
# * * *Code:* NotSignedUp
|
5321
5445
|
#
|
5322
5446
|
# * *Description:* Your account is not signed up for the Amazon S3
|
@@ -5326,7 +5450,6 @@ module Aws::S3
|
|
5326
5450
|
# * *HTTP Status Code:* 403 Forbidden
|
5327
5451
|
#
|
5328
5452
|
# * *SOAP Fault Code Prefix:* Client
|
5329
|
-
#
|
5330
5453
|
# * * *Code:* OperationAborted
|
5331
5454
|
#
|
5332
5455
|
# * *Description:* A conflicting conditional action is currently in
|
@@ -5335,7 +5458,6 @@ module Aws::S3
|
|
5335
5458
|
# * *HTTP Status Code:* 409 Conflict
|
5336
5459
|
#
|
5337
5460
|
# * *SOAP Fault Code Prefix:* Client
|
5338
|
-
#
|
5339
5461
|
# * * *Code:* PermanentRedirect
|
5340
5462
|
#
|
5341
5463
|
# * *Description:* The bucket you are attempting to access must be
|
@@ -5345,7 +5467,6 @@ module Aws::S3
|
|
5345
5467
|
# * *HTTP Status Code:* 301 Moved Permanently
|
5346
5468
|
#
|
5347
5469
|
# * *SOAP Fault Code Prefix:* Client
|
5348
|
-
#
|
5349
5470
|
# * * *Code:* PreconditionFailed
|
5350
5471
|
#
|
5351
5472
|
# * *Description:* At least one of the preconditions you specified
|
@@ -5354,7 +5475,6 @@ module Aws::S3
|
|
5354
5475
|
# * *HTTP Status Code:* 412 Precondition Failed
|
5355
5476
|
#
|
5356
5477
|
# * *SOAP Fault Code Prefix:* Client
|
5357
|
-
#
|
5358
5478
|
# * * *Code:* Redirect
|
5359
5479
|
#
|
5360
5480
|
# * *Description:* Temporary redirect.
|
@@ -5362,7 +5482,6 @@ module Aws::S3
|
|
5362
5482
|
# * *HTTP Status Code:* 307 Moved Temporarily
|
5363
5483
|
#
|
5364
5484
|
# * *SOAP Fault Code Prefix:* Client
|
5365
|
-
#
|
5366
5485
|
# * * *Code:* RestoreAlreadyInProgress
|
5367
5486
|
#
|
5368
5487
|
# * *Description:* Object restore is already in progress.
|
@@ -5370,7 +5489,6 @@ module Aws::S3
|
|
5370
5489
|
# * *HTTP Status Code:* 409 Conflict
|
5371
5490
|
#
|
5372
5491
|
# * *SOAP Fault Code Prefix:* Client
|
5373
|
-
#
|
5374
5492
|
# * * *Code:* RequestIsNotMultiPartContent
|
5375
5493
|
#
|
5376
5494
|
# * *Description:* Bucket POST must be of the enclosure-type
|
@@ -5379,7 +5497,6 @@ module Aws::S3
|
|
5379
5497
|
# * *HTTP Status Code:* 400 Bad Request
|
5380
5498
|
#
|
5381
5499
|
# * *SOAP Fault Code Prefix:* Client
|
5382
|
-
#
|
5383
5500
|
# * * *Code:* RequestTimeout
|
5384
5501
|
#
|
5385
5502
|
# * *Description:* Your socket connection to the server was not read
|
@@ -5388,7 +5505,6 @@ module Aws::S3
|
|
5388
5505
|
# * *HTTP Status Code:* 400 Bad Request
|
5389
5506
|
#
|
5390
5507
|
# * *SOAP Fault Code Prefix:* Client
|
5391
|
-
#
|
5392
5508
|
# * * *Code:* RequestTimeTooSkewed
|
5393
5509
|
#
|
5394
5510
|
# * *Description:* The difference between the request time and the
|
@@ -5397,7 +5513,6 @@ module Aws::S3
|
|
5397
5513
|
# * *HTTP Status Code:* 403 Forbidden
|
5398
5514
|
#
|
5399
5515
|
# * *SOAP Fault Code Prefix:* Client
|
5400
|
-
#
|
5401
5516
|
# * * *Code:* RequestTorrentOfBucketError
|
5402
5517
|
#
|
5403
5518
|
# * *Description:* Requesting the torrent file of a bucket is not
|
@@ -5406,7 +5521,6 @@ module Aws::S3
|
|
5406
5521
|
# * *HTTP Status Code:* 400 Bad Request
|
5407
5522
|
#
|
5408
5523
|
# * *SOAP Fault Code Prefix:* Client
|
5409
|
-
#
|
5410
5524
|
# * * *Code:* SignatureDoesNotMatch
|
5411
5525
|
#
|
5412
5526
|
# * *Description:* The request signature we calculated does not
|
@@ -5418,7 +5532,6 @@ module Aws::S3
|
|
5418
5532
|
# * *HTTP Status Code:* 403 Forbidden
|
5419
5533
|
#
|
5420
5534
|
# * *SOAP Fault Code Prefix:* Client
|
5421
|
-
#
|
5422
5535
|
# * * *Code:* ServiceUnavailable
|
5423
5536
|
#
|
5424
5537
|
# * *Description:* Service is unable to handle request.
|
@@ -5426,7 +5539,6 @@ module Aws::S3
|
|
5426
5539
|
# * *HTTP Status Code:* 503 Service Unavailable
|
5427
5540
|
#
|
5428
5541
|
# * *SOAP Fault Code Prefix:* Server
|
5429
|
-
#
|
5430
5542
|
# * * *Code:* SlowDown
|
5431
5543
|
#
|
5432
5544
|
# * *Description:* Reduce your request rate.
|
@@ -5434,7 +5546,6 @@ module Aws::S3
|
|
5434
5546
|
# * *HTTP Status Code:* 503 Slow Down
|
5435
5547
|
#
|
5436
5548
|
# * *SOAP Fault Code Prefix:* Server
|
5437
|
-
#
|
5438
5549
|
# * * *Code:* TemporaryRedirect
|
5439
5550
|
#
|
5440
5551
|
# * *Description:* You are being redirected to the bucket while DNS
|
@@ -5443,7 +5554,6 @@ module Aws::S3
|
|
5443
5554
|
# * *HTTP Status Code:* 307 Moved Temporarily
|
5444
5555
|
#
|
5445
5556
|
# * *SOAP Fault Code Prefix:* Client
|
5446
|
-
#
|
5447
5557
|
# * * *Code:* TokenRefreshRequired
|
5448
5558
|
#
|
5449
5559
|
# * *Description:* The provided token must be refreshed.
|
@@ -5451,7 +5561,6 @@ module Aws::S3
|
|
5451
5561
|
# * *HTTP Status Code:* 400 Bad Request
|
5452
5562
|
#
|
5453
5563
|
# * *SOAP Fault Code Prefix:* Client
|
5454
|
-
#
|
5455
5564
|
# * * *Code:* TooManyBuckets
|
5456
5565
|
#
|
5457
5566
|
# * *Description:* You have attempted to create more buckets than
|
@@ -5460,7 +5569,6 @@ module Aws::S3
|
|
5460
5569
|
# * *HTTP Status Code:* 400 Bad Request
|
5461
5570
|
#
|
5462
5571
|
# * *SOAP Fault Code Prefix:* Client
|
5463
|
-
#
|
5464
5572
|
# * * *Code:* UnexpectedContent
|
5465
5573
|
#
|
5466
5574
|
# * *Description:* This request does not support content.
|
@@ -5468,7 +5576,6 @@ module Aws::S3
|
|
5468
5576
|
# * *HTTP Status Code:* 400 Bad Request
|
5469
5577
|
#
|
5470
5578
|
# * *SOAP Fault Code Prefix:* Client
|
5471
|
-
#
|
5472
5579
|
# * * *Code:* UnresolvableGrantByEmailAddress
|
5473
5580
|
#
|
5474
5581
|
# * *Description:* The email address you provided does not match any
|
@@ -5477,7 +5584,6 @@ module Aws::S3
|
|
5477
5584
|
# * *HTTP Status Code:* 400 Bad Request
|
5478
5585
|
#
|
5479
5586
|
# * *SOAP Fault Code Prefix:* Client
|
5480
|
-
#
|
5481
5587
|
# * * *Code:* UserKeyMustBeSpecified
|
5482
5588
|
#
|
5483
5589
|
# * *Description:* The bucket POST must contain the specified field
|
@@ -5519,6 +5625,103 @@ module Aws::S3
|
|
5519
5625
|
include Aws::Structure
|
5520
5626
|
end
|
5521
5627
|
|
5628
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds, but
|
5629
|
+
# S3 Metadata was unable to create the table, this structure contains
|
5630
|
+
# the error code and error message.
|
5631
|
+
#
|
5632
|
+
# @!attribute [rw] error_code
|
5633
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
5634
|
+
# but S3 Metadata was unable to create the table, this structure
|
5635
|
+
# contains the error code. The possible error codes and error messages
|
5636
|
+
# are as follows:
|
5637
|
+
#
|
5638
|
+
# * `AccessDeniedCreatingResources` - You don't have sufficient
|
5639
|
+
# permissions to create the required resources. Make sure that you
|
5640
|
+
# have `s3tables:CreateNamespace`, `s3tables:CreateTable`,
|
5641
|
+
# `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and
|
5642
|
+
# then try again. To create a new metadata table, you must delete
|
5643
|
+
# the metadata configuration for this bucket, and then create a new
|
5644
|
+
# metadata configuration.
|
5645
|
+
#
|
5646
|
+
# * `AccessDeniedWritingToTable` - Unable to write to the metadata
|
5647
|
+
# table because of missing resource permissions. To fix the resource
|
5648
|
+
# policy, Amazon S3 needs to create a new metadata table. To create
|
5649
|
+
# a new metadata table, you must delete the metadata configuration
|
5650
|
+
# for this bucket, and then create a new metadata configuration.
|
5651
|
+
#
|
5652
|
+
# * `DestinationTableNotFound` - The destination table doesn't exist.
|
5653
|
+
# To create a new metadata table, you must delete the metadata
|
5654
|
+
# configuration for this bucket, and then create a new metadata
|
5655
|
+
# configuration.
|
5656
|
+
#
|
5657
|
+
# * `ServerInternalError` - An internal error has occurred. To create
|
5658
|
+
# a new metadata table, you must delete the metadata configuration
|
5659
|
+
# for this bucket, and then create a new metadata configuration.
|
5660
|
+
#
|
5661
|
+
# * `TableAlreadyExists` - The table that you specified already exists
|
5662
|
+
# in the table bucket's namespace. Specify a different table name.
|
5663
|
+
# To create a new metadata table, you must delete the metadata
|
5664
|
+
# configuration for this bucket, and then create a new metadata
|
5665
|
+
# configuration.
|
5666
|
+
#
|
5667
|
+
# * `TableBucketNotFound` - The table bucket that you specified
|
5668
|
+
# doesn't exist in this Amazon Web Services Region and account.
|
5669
|
+
# Create or choose a different table bucket. To create a new
|
5670
|
+
# metadata table, you must delete the metadata configuration for
|
5671
|
+
# this bucket, and then create a new metadata configuration.
|
5672
|
+
# @return [String]
|
5673
|
+
#
|
5674
|
+
# @!attribute [rw] error_message
|
5675
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
5676
|
+
# but S3 Metadata was unable to create the table, this structure
|
5677
|
+
# contains the error message. The possible error codes and error
|
5678
|
+
# messages are as follows:
|
5679
|
+
#
|
5680
|
+
# * `AccessDeniedCreatingResources` - You don't have sufficient
|
5681
|
+
# permissions to create the required resources. Make sure that you
|
5682
|
+
# have `s3tables:CreateNamespace`, `s3tables:CreateTable`,
|
5683
|
+
# `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and
|
5684
|
+
# then try again. To create a new metadata table, you must delete
|
5685
|
+
# the metadata configuration for this bucket, and then create a new
|
5686
|
+
# metadata configuration.
|
5687
|
+
#
|
5688
|
+
# * `AccessDeniedWritingToTable` - Unable to write to the metadata
|
5689
|
+
# table because of missing resource permissions. To fix the resource
|
5690
|
+
# policy, Amazon S3 needs to create a new metadata table. To create
|
5691
|
+
# a new metadata table, you must delete the metadata configuration
|
5692
|
+
# for this bucket, and then create a new metadata configuration.
|
5693
|
+
#
|
5694
|
+
# * `DestinationTableNotFound` - The destination table doesn't exist.
|
5695
|
+
# To create a new metadata table, you must delete the metadata
|
5696
|
+
# configuration for this bucket, and then create a new metadata
|
5697
|
+
# configuration.
|
5698
|
+
#
|
5699
|
+
# * `ServerInternalError` - An internal error has occurred. To create
|
5700
|
+
# a new metadata table, you must delete the metadata configuration
|
5701
|
+
# for this bucket, and then create a new metadata configuration.
|
5702
|
+
#
|
5703
|
+
# * `TableAlreadyExists` - The table that you specified already exists
|
5704
|
+
# in the table bucket's namespace. Specify a different table name.
|
5705
|
+
# To create a new metadata table, you must delete the metadata
|
5706
|
+
# configuration for this bucket, and then create a new metadata
|
5707
|
+
# configuration.
|
5708
|
+
#
|
5709
|
+
# * `TableBucketNotFound` - The table bucket that you specified
|
5710
|
+
# doesn't exist in this Amazon Web Services Region and account.
|
5711
|
+
# Create or choose a different table bucket. To create a new
|
5712
|
+
# metadata table, you must delete the metadata configuration for
|
5713
|
+
# this bucket, and then create a new metadata configuration.
|
5714
|
+
# @return [String]
|
5715
|
+
#
|
5716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDetails AWS API Documentation
|
5717
|
+
#
|
5718
|
+
class ErrorDetails < Struct.new(
|
5719
|
+
:error_code,
|
5720
|
+
:error_message)
|
5721
|
+
SENSITIVE = []
|
5722
|
+
include Aws::Structure
|
5723
|
+
end
|
5724
|
+
|
5522
5725
|
# The error information.
|
5523
5726
|
#
|
5524
5727
|
# @!attribute [rw] key
|
@@ -5826,13 +6029,14 @@ module Aws::S3
|
|
5826
6029
|
#
|
5827
6030
|
# <b>Directory buckets </b> - When you use this operation with a
|
5828
6031
|
# directory bucket, you must use path-style requests in the format
|
5829
|
-
# `https://s3express-control.
|
6032
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
5830
6033
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
5831
|
-
# names must be unique in the chosen Availability Zone
|
5832
|
-
# must also follow the format `
|
5833
|
-
#
|
5834
|
-
#
|
5835
|
-
# rules][1] in the
|
6034
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
6035
|
+
# Zone). Bucket names must also follow the format `
|
6036
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
6037
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6038
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6039
|
+
# *Amazon S3 User Guide*
|
5836
6040
|
#
|
5837
6041
|
#
|
5838
6042
|
#
|
@@ -5937,6 +6141,11 @@ module Aws::S3
|
|
5937
6141
|
# Indicates which default minimum object size behavior is applied to
|
5938
6142
|
# the lifecycle configuration.
|
5939
6143
|
#
|
6144
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
6145
|
+
# supported for directory bucket lifecycle configurations.
|
6146
|
+
#
|
6147
|
+
# </note>
|
6148
|
+
#
|
5940
6149
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
5941
6150
|
# transition to any storage class by default.
|
5942
6151
|
#
|
@@ -5969,6 +6178,11 @@ module Aws::S3
|
|
5969
6178
|
# you provide does not match the actual owner of the bucket, the
|
5970
6179
|
# request fails with the HTTP status code `403 Forbidden` (access
|
5971
6180
|
# denied).
|
6181
|
+
#
|
6182
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
6183
|
+
# supported for directory bucket lifecycle configurations.
|
6184
|
+
#
|
6185
|
+
# </note>
|
5972
6186
|
# @return [String]
|
5973
6187
|
#
|
5974
6188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest AWS API Documentation
|
@@ -6103,6 +6317,73 @@ module Aws::S3
|
|
6103
6317
|
include Aws::Structure
|
6104
6318
|
end
|
6105
6319
|
|
6320
|
+
# @!attribute [rw] get_bucket_metadata_table_configuration_result
|
6321
|
+
# The metadata table configuration for the general purpose bucket.
|
6322
|
+
# @return [Types::GetBucketMetadataTableConfigurationResult]
|
6323
|
+
#
|
6324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationOutput AWS API Documentation
|
6325
|
+
#
|
6326
|
+
class GetBucketMetadataTableConfigurationOutput < Struct.new(
|
6327
|
+
:get_bucket_metadata_table_configuration_result)
|
6328
|
+
SENSITIVE = []
|
6329
|
+
include Aws::Structure
|
6330
|
+
end
|
6331
|
+
|
6332
|
+
# @!attribute [rw] bucket
|
6333
|
+
# The general purpose bucket that contains the metadata table
|
6334
|
+
# configuration that you want to retrieve.
|
6335
|
+
# @return [String]
|
6336
|
+
#
|
6337
|
+
# @!attribute [rw] expected_bucket_owner
|
6338
|
+
# The expected owner of the general purpose bucket that you want to
|
6339
|
+
# retrieve the metadata table configuration from.
|
6340
|
+
# @return [String]
|
6341
|
+
#
|
6342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationRequest AWS API Documentation
|
6343
|
+
#
|
6344
|
+
class GetBucketMetadataTableConfigurationRequest < Struct.new(
|
6345
|
+
:bucket,
|
6346
|
+
:expected_bucket_owner)
|
6347
|
+
SENSITIVE = []
|
6348
|
+
include Aws::Structure
|
6349
|
+
end
|
6350
|
+
|
6351
|
+
# The metadata table configuration for a general purpose bucket.
|
6352
|
+
#
|
6353
|
+
# @!attribute [rw] metadata_table_configuration_result
|
6354
|
+
# The metadata table configuration for a general purpose bucket.
|
6355
|
+
# @return [Types::MetadataTableConfigurationResult]
|
6356
|
+
#
|
6357
|
+
# @!attribute [rw] status
|
6358
|
+
# The status of the metadata table. The status values are:
|
6359
|
+
#
|
6360
|
+
# * `CREATING` - The metadata table is in the process of being created
|
6361
|
+
# in the specified table bucket.
|
6362
|
+
#
|
6363
|
+
# * `ACTIVE` - The metadata table has been created successfully and
|
6364
|
+
# records are being delivered to the table.
|
6365
|
+
#
|
6366
|
+
# * `FAILED` - Amazon S3 is unable to create the metadata table, or
|
6367
|
+
# Amazon S3 is unable to deliver records. See `ErrorDetails` for
|
6368
|
+
# details.
|
6369
|
+
# @return [String]
|
6370
|
+
#
|
6371
|
+
# @!attribute [rw] error
|
6372
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
6373
|
+
# but S3 Metadata was unable to create the table, this structure
|
6374
|
+
# contains the error code and error message.
|
6375
|
+
# @return [Types::ErrorDetails]
|
6376
|
+
#
|
6377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationResult AWS API Documentation
|
6378
|
+
#
|
6379
|
+
class GetBucketMetadataTableConfigurationResult < Struct.new(
|
6380
|
+
:metadata_table_configuration_result,
|
6381
|
+
:status,
|
6382
|
+
:error)
|
6383
|
+
SENSITIVE = []
|
6384
|
+
include Aws::Structure
|
6385
|
+
end
|
6386
|
+
|
6106
6387
|
# @!attribute [rw] metrics_configuration
|
6107
6388
|
# Specifies the metrics configuration.
|
6108
6389
|
# @return [Types::MetricsConfiguration]
|
@@ -6229,13 +6510,14 @@ module Aws::S3
|
|
6229
6510
|
#
|
6230
6511
|
# <b>Directory buckets </b> - When you use this operation with a
|
6231
6512
|
# directory bucket, you must use path-style requests in the format
|
6232
|
-
# `https://s3express-control.
|
6513
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
6233
6514
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
6234
|
-
# names must be unique in the chosen Availability Zone
|
6235
|
-
# must also follow the format `
|
6236
|
-
#
|
6237
|
-
#
|
6238
|
-
# rules][1] in the
|
6515
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
6516
|
+
# Zone). Bucket names must also follow the format `
|
6517
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
6518
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6519
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6520
|
+
# *Amazon S3 User Guide*
|
6239
6521
|
#
|
6240
6522
|
# **Access points** - When you use this API operation with an access
|
6241
6523
|
# point, provide the alias of the access point in place of the bucket
|
@@ -6610,7 +6892,7 @@ module Aws::S3
|
|
6610
6892
|
# @return [Boolean]
|
6611
6893
|
#
|
6612
6894
|
# @!attribute [rw] last_modified
|
6613
|
-
#
|
6895
|
+
# Date and time when the object was last modified.
|
6614
6896
|
# @return [Time]
|
6615
6897
|
#
|
6616
6898
|
# @!attribute [rw] version_id
|
@@ -6742,10 +7024,10 @@ module Aws::S3
|
|
6742
7024
|
#
|
6743
7025
|
# **Directory buckets** - When you use this operation with a directory
|
6744
7026
|
# bucket, you must use virtual-hosted-style requests in the format `
|
6745
|
-
#
|
7027
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
6746
7028
|
# requests are not supported. Directory bucket names must be unique in
|
6747
|
-
# the chosen Availability Zone. Bucket names must
|
6748
|
-
#
|
7029
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
7030
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
6749
7031
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6750
7032
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6751
7033
|
# *Amazon S3 User Guide*.
|
@@ -7042,7 +7324,9 @@ module Aws::S3
|
|
7042
7324
|
# providing object expiration information. The value of the `rule-id`
|
7043
7325
|
# is URL-encoded.
|
7044
7326
|
#
|
7045
|
-
# <note markdown="1">
|
7327
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
7328
|
+
# and this header returns the value "`NotImplemented`" in all
|
7329
|
+
# responses for directory buckets.
|
7046
7330
|
#
|
7047
7331
|
# </note>
|
7048
7332
|
#
|
@@ -7354,10 +7638,10 @@ module Aws::S3
|
|
7354
7638
|
#
|
7355
7639
|
# **Directory buckets** - When you use this operation with a directory
|
7356
7640
|
# bucket, you must use virtual-hosted-style requests in the format `
|
7357
|
-
#
|
7641
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
7358
7642
|
# requests are not supported. Directory bucket names must be unique in
|
7359
|
-
# the chosen Availability Zone. Bucket names must
|
7360
|
-
#
|
7643
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
7644
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
7361
7645
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
7362
7646
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
7363
7647
|
# *Amazon S3 User Guide*.
|
@@ -8085,8 +8369,9 @@ module Aws::S3
|
|
8085
8369
|
# @!attribute [rw] bucket_location_name
|
8086
8370
|
# The name of the location where the bucket will be created.
|
8087
8371
|
#
|
8088
|
-
# For directory buckets, the
|
8089
|
-
# bucket is created. An example
|
8372
|
+
# For directory buckets, the Zone ID of the Availability Zone or the
|
8373
|
+
# Local Zone where the bucket is created. An example Zone ID value for
|
8374
|
+
# an Availability Zone is `usw2-az1`.
|
8090
8375
|
#
|
8091
8376
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
8092
8377
|
#
|
@@ -8122,10 +8407,10 @@ module Aws::S3
|
|
8122
8407
|
#
|
8123
8408
|
# **Directory buckets** - When you use this operation with a directory
|
8124
8409
|
# bucket, you must use virtual-hosted-style requests in the format `
|
8125
|
-
#
|
8410
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
8126
8411
|
# requests are not supported. Directory bucket names must be unique in
|
8127
|
-
# the chosen Availability Zone. Bucket names must
|
8128
|
-
#
|
8412
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
8413
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
8129
8414
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
8130
8415
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
8131
8416
|
# *Amazon S3 User Guide*.
|
@@ -8207,7 +8492,9 @@ module Aws::S3
|
|
8207
8492
|
# providing object expiration information. The value of the `rule-id`
|
8208
8493
|
# is URL-encoded.
|
8209
8494
|
#
|
8210
|
-
# <note markdown="1">
|
8495
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
8496
|
+
# and this header returns the value "`NotImplemented`" in all
|
8497
|
+
# responses for directory buckets.
|
8211
8498
|
#
|
8212
8499
|
# </note>
|
8213
8500
|
#
|
@@ -8596,10 +8883,10 @@ module Aws::S3
|
|
8596
8883
|
#
|
8597
8884
|
# **Directory buckets** - When you use this operation with a directory
|
8598
8885
|
# bucket, you must use virtual-hosted-style requests in the format `
|
8599
|
-
#
|
8886
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
8600
8887
|
# requests are not supported. Directory bucket names must be unique in
|
8601
|
-
# the chosen Availability Zone. Bucket names must
|
8602
|
-
#
|
8888
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
8889
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
8603
8890
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
8604
8891
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
8605
8892
|
# *Amazon S3 User Guide*.
|
@@ -9088,6 +9375,28 @@ module Aws::S3
|
|
9088
9375
|
include Aws::Structure
|
9089
9376
|
end
|
9090
9377
|
|
9378
|
+
# You may receive this error in multiple cases. Depending on the reason
|
9379
|
+
# for the error, you may receive one of the messages below:
|
9380
|
+
#
|
9381
|
+
# * Cannot specify both a write offset value and user-defined object
|
9382
|
+
# metadata for existing objects.
|
9383
|
+
#
|
9384
|
+
# * Checksum Type mismatch occurred, expected checksum Type: sha1,
|
9385
|
+
# actual checksum Type: crc32c.
|
9386
|
+
#
|
9387
|
+
# * Request body cannot be empty when 'write offset' is specified.
|
9388
|
+
#
|
9389
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidRequest AWS API Documentation
|
9390
|
+
#
|
9391
|
+
class InvalidRequest < Aws::EmptyStructure; end
|
9392
|
+
|
9393
|
+
# The write offset value that you specified does not match the current
|
9394
|
+
# object size.
|
9395
|
+
#
|
9396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidWriteOffset AWS API Documentation
|
9397
|
+
#
|
9398
|
+
class InvalidWriteOffset < Aws::EmptyStructure; end
|
9399
|
+
|
9091
9400
|
# Specifies the inventory configuration for an Amazon S3 bucket. For
|
9092
9401
|
# more information, see [GET Bucket inventory][1] in the *Amazon S3 API
|
9093
9402
|
# Reference*.
|
@@ -9362,6 +9671,11 @@ module Aws::S3
|
|
9362
9671
|
# Indicates at what date the object is to be moved or deleted. The
|
9363
9672
|
# date value must conform to the ISO 8601 format. The time is always
|
9364
9673
|
# midnight UTC.
|
9674
|
+
#
|
9675
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9676
|
+
# supported for directory bucket lifecycle configurations.
|
9677
|
+
#
|
9678
|
+
# </note>
|
9365
9679
|
# @return [Time]
|
9366
9680
|
#
|
9367
9681
|
# @!attribute [rw] days
|
@@ -9374,6 +9688,11 @@ module Aws::S3
|
|
9374
9688
|
# noncurrent versions. If set to true, the delete marker will be
|
9375
9689
|
# expired; if set to false the policy takes no action. This cannot be
|
9376
9690
|
# specified with Days or Date in a Lifecycle Expiration Policy.
|
9691
|
+
#
|
9692
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9693
|
+
# supported for directory bucket lifecycle configurations.
|
9694
|
+
#
|
9695
|
+
# </note>
|
9377
9696
|
# @return [Boolean]
|
9378
9697
|
#
|
9379
9698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration AWS API Documentation
|
@@ -9423,6 +9742,10 @@ module Aws::S3
|
|
9423
9742
|
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
|
9424
9743
|
# `And` specified. `Filter` is required if the `LifecycleRule` does
|
9425
9744
|
# not contain a `Prefix` element.
|
9745
|
+
#
|
9746
|
+
# <note markdown="1"> `Tag` filters are not supported for directory buckets.
|
9747
|
+
#
|
9748
|
+
# </note>
|
9426
9749
|
# @return [Types::LifecycleRuleFilter]
|
9427
9750
|
#
|
9428
9751
|
# @!attribute [rw] status
|
@@ -9433,6 +9756,11 @@ module Aws::S3
|
|
9433
9756
|
# @!attribute [rw] transitions
|
9434
9757
|
# Specifies when an Amazon S3 object transitions to a specified
|
9435
9758
|
# storage class.
|
9759
|
+
#
|
9760
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9761
|
+
# supported for directory bucket lifecycle configurations.
|
9762
|
+
#
|
9763
|
+
# </note>
|
9436
9764
|
# @return [Array<Types::Transition>]
|
9437
9765
|
#
|
9438
9766
|
# @!attribute [rw] noncurrent_version_transitions
|
@@ -9442,6 +9770,11 @@ module Aws::S3
|
|
9442
9770
|
# can set this action to request that Amazon S3 transition noncurrent
|
9443
9771
|
# object versions to a specific storage class at a set period in the
|
9444
9772
|
# object's lifetime.
|
9773
|
+
#
|
9774
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9775
|
+
# supported for directory bucket lifecycle configurations.
|
9776
|
+
#
|
9777
|
+
# </note>
|
9445
9778
|
# @return [Array<Types::NoncurrentVersionTransition>]
|
9446
9779
|
#
|
9447
9780
|
# @!attribute [rw] noncurrent_version_expiration
|
@@ -9451,6 +9784,11 @@ module Aws::S3
|
|
9451
9784
|
# versioning enabled (or suspended) to request that Amazon S3 delete
|
9452
9785
|
# noncurrent object versions at a specific period in the object's
|
9453
9786
|
# lifetime.
|
9787
|
+
#
|
9788
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9789
|
+
# supported for directory bucket lifecycle configurations.
|
9790
|
+
#
|
9791
|
+
# </note>
|
9454
9792
|
# @return [Types::NoncurrentVersionExpiration]
|
9455
9793
|
#
|
9456
9794
|
# @!attribute [rw] abort_incomplete_multipart_upload
|
@@ -9534,6 +9872,11 @@ module Aws::S3
|
|
9534
9872
|
# @!attribute [rw] tag
|
9535
9873
|
# This tag must exist in the object's tag set in order for the rule
|
9536
9874
|
# to apply.
|
9875
|
+
#
|
9876
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9877
|
+
# supported for directory bucket lifecycle configurations.
|
9878
|
+
#
|
9879
|
+
# </note>
|
9537
9880
|
# @return [Types::Tag]
|
9538
9881
|
#
|
9539
9882
|
# @!attribute [rw] object_size_greater_than
|
@@ -9818,12 +10161,21 @@ module Aws::S3
|
|
9818
10161
|
# `ContinuationToken` is obfuscated and is not a real bucket.
|
9819
10162
|
# @return [String]
|
9820
10163
|
#
|
10164
|
+
# @!attribute [rw] prefix
|
10165
|
+
# If `Prefix` was sent with the request, it is included in the
|
10166
|
+
# response.
|
10167
|
+
#
|
10168
|
+
# All bucket names in the response begin with the specified bucket
|
10169
|
+
# name prefix.
|
10170
|
+
# @return [String]
|
10171
|
+
#
|
9821
10172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsOutput AWS API Documentation
|
9822
10173
|
#
|
9823
10174
|
class ListBucketsOutput < Struct.new(
|
9824
10175
|
:buckets,
|
9825
10176
|
:owner,
|
9826
|
-
:continuation_token
|
10177
|
+
:continuation_token,
|
10178
|
+
:prefix)
|
9827
10179
|
SENSITIVE = []
|
9828
10180
|
include Aws::Structure
|
9829
10181
|
end
|
@@ -9843,13 +10195,48 @@ module Aws::S3
|
|
9843
10195
|
# Length Constraints: Minimum length of 0. Maximum length of 1024.
|
9844
10196
|
#
|
9845
10197
|
# Required: No.
|
10198
|
+
#
|
10199
|
+
# <note markdown="1"> If you specify the `bucket-region`, `prefix`, or
|
10200
|
+
# `continuation-token` query parameters without using `max-buckets` to
|
10201
|
+
# set the maximum number of buckets returned in the response, Amazon
|
10202
|
+
# S3 applies a default page size of 10,000 and provides a continuation
|
10203
|
+
# token if there are more buckets.
|
10204
|
+
#
|
10205
|
+
# </note>
|
10206
|
+
# @return [String]
|
10207
|
+
#
|
10208
|
+
# @!attribute [rw] prefix
|
10209
|
+
# Limits the response to bucket names that begin with the specified
|
10210
|
+
# bucket name prefix.
|
10211
|
+
# @return [String]
|
10212
|
+
#
|
10213
|
+
# @!attribute [rw] bucket_region
|
10214
|
+
# Limits the response to buckets that are located in the specified
|
10215
|
+
# Amazon Web Services Region. The Amazon Web Services Region must be
|
10216
|
+
# expressed according to the Amazon Web Services Region code, such as
|
10217
|
+
# `us-west-2` for the US West (Oregon) Region. For a list of the valid
|
10218
|
+
# values for all of the Amazon Web Services Regions, see [Regions and
|
10219
|
+
# Endpoints][1].
|
10220
|
+
#
|
10221
|
+
# <note markdown="1"> Requests made to a Regional endpoint that is different from the
|
10222
|
+
# `bucket-region` parameter are not supported. For example, if you
|
10223
|
+
# want to limit the response to your buckets in Region `us-west-2`,
|
10224
|
+
# the request must be made to an endpoint in Region `us-west-2`.
|
10225
|
+
#
|
10226
|
+
# </note>
|
10227
|
+
#
|
10228
|
+
#
|
10229
|
+
#
|
10230
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
|
9846
10231
|
# @return [String]
|
9847
10232
|
#
|
9848
10233
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsRequest AWS API Documentation
|
9849
10234
|
#
|
9850
10235
|
class ListBucketsRequest < Struct.new(
|
9851
10236
|
:max_buckets,
|
9852
|
-
:continuation_token
|
10237
|
+
:continuation_token,
|
10238
|
+
:prefix,
|
10239
|
+
:bucket_region)
|
9853
10240
|
SENSITIVE = []
|
9854
10241
|
include Aws::Structure
|
9855
10242
|
end
|
@@ -10030,10 +10417,10 @@ module Aws::S3
|
|
10030
10417
|
#
|
10031
10418
|
# **Directory buckets** - When you use this operation with a directory
|
10032
10419
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10033
|
-
#
|
10420
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10034
10421
|
# requests are not supported. Directory bucket names must be unique in
|
10035
|
-
# the chosen Availability Zone. Bucket names must
|
10036
|
-
#
|
10422
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
10423
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10037
10424
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10038
10425
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10039
10426
|
# *Amazon S3 User Guide*.
|
@@ -10552,10 +10939,10 @@ module Aws::S3
|
|
10552
10939
|
#
|
10553
10940
|
# **Directory buckets** - When you use this operation with a directory
|
10554
10941
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10555
|
-
#
|
10942
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10556
10943
|
# requests are not supported. Directory bucket names must be unique in
|
10557
|
-
# the chosen Availability Zone. Bucket names must
|
10558
|
-
#
|
10944
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
10945
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10559
10946
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10560
10947
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10561
10948
|
# *Amazon S3 User Guide*.
|
@@ -10823,10 +11210,10 @@ module Aws::S3
|
|
10823
11210
|
# @!attribute [rw] bucket
|
10824
11211
|
# **Directory buckets** - When you use this operation with a directory
|
10825
11212
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10826
|
-
#
|
11213
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10827
11214
|
# requests are not supported. Directory bucket names must be unique in
|
10828
|
-
# the chosen Availability Zone. Bucket names must
|
10829
|
-
#
|
11215
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
11216
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10830
11217
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10831
11218
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10832
11219
|
# *Amazon S3 User Guide*.
|
@@ -11134,10 +11521,10 @@ module Aws::S3
|
|
11134
11521
|
#
|
11135
11522
|
# **Directory buckets** - When you use this operation with a directory
|
11136
11523
|
# bucket, you must use virtual-hosted-style requests in the format `
|
11137
|
-
#
|
11524
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
11138
11525
|
# requests are not supported. Directory bucket names must be unique in
|
11139
|
-
# the chosen Availability Zone. Bucket names must
|
11140
|
-
#
|
11526
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
11527
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
11141
11528
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
11142
11529
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
11143
11530
|
# *Amazon S3 User Guide*.
|
@@ -11281,9 +11668,9 @@ module Aws::S3
|
|
11281
11668
|
|
11282
11669
|
# Specifies the location where the bucket will be created.
|
11283
11670
|
#
|
11284
|
-
# For directory buckets, the location type is Availability Zone
|
11285
|
-
# more information about directory buckets, see [Directory
|
11286
|
-
# in the *Amazon S3 User Guide*.
|
11671
|
+
# For directory buckets, the location type is Availability Zone or Local
|
11672
|
+
# Zone. For more information about directory buckets, see [Directory
|
11673
|
+
# buckets][1] in the *Amazon S3 User Guide*.
|
11287
11674
|
#
|
11288
11675
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
11289
11676
|
#
|
@@ -11300,9 +11687,9 @@ module Aws::S3
|
|
11300
11687
|
# @!attribute [rw] name
|
11301
11688
|
# The name of the location where the bucket will be created.
|
11302
11689
|
#
|
11303
|
-
# For directory buckets, the name of the location is the
|
11304
|
-
# Availability Zone
|
11305
|
-
# value is `usw2-az1`.
|
11690
|
+
# For directory buckets, the name of the location is the Zone ID of
|
11691
|
+
# the Availability Zone (AZ) or Local Zone (LZ) where the bucket will
|
11692
|
+
# be created. An example AZ ID value is `usw2-az1`.
|
11306
11693
|
# @return [String]
|
11307
11694
|
#
|
11308
11695
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LocationInfo AWS API Documentation
|
@@ -11385,6 +11772,46 @@ module Aws::S3
|
|
11385
11772
|
include Aws::Structure
|
11386
11773
|
end
|
11387
11774
|
|
11775
|
+
# The metadata table configuration for a general purpose bucket.
|
11776
|
+
#
|
11777
|
+
# @!attribute [rw] s3_tables_destination
|
11778
|
+
# The destination information for the metadata table configuration.
|
11779
|
+
# The destination table bucket must be in the same Region and Amazon
|
11780
|
+
# Web Services account as the general purpose bucket. The specified
|
11781
|
+
# metadata table name must be unique within the `aws_s3_metadata`
|
11782
|
+
# namespace in the destination table bucket.
|
11783
|
+
# @return [Types::S3TablesDestination]
|
11784
|
+
#
|
11785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataTableConfiguration AWS API Documentation
|
11786
|
+
#
|
11787
|
+
class MetadataTableConfiguration < Struct.new(
|
11788
|
+
:s3_tables_destination)
|
11789
|
+
SENSITIVE = []
|
11790
|
+
include Aws::Structure
|
11791
|
+
end
|
11792
|
+
|
11793
|
+
# The metadata table configuration for a general purpose bucket. The
|
11794
|
+
# destination table bucket must be in the same Region and Amazon Web
|
11795
|
+
# Services account as the general purpose bucket. The specified metadata
|
11796
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
11797
|
+
# the destination table bucket.
|
11798
|
+
#
|
11799
|
+
# @!attribute [rw] s3_tables_destination_result
|
11800
|
+
# The destination information for the metadata table configuration.
|
11801
|
+
# The destination table bucket must be in the same Region and Amazon
|
11802
|
+
# Web Services account as the general purpose bucket. The specified
|
11803
|
+
# metadata table name must be unique within the `aws_s3_metadata`
|
11804
|
+
# namespace in the destination table bucket.
|
11805
|
+
# @return [Types::S3TablesDestinationResult]
|
11806
|
+
#
|
11807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataTableConfigurationResult AWS API Documentation
|
11808
|
+
#
|
11809
|
+
class MetadataTableConfigurationResult < Struct.new(
|
11810
|
+
:s3_tables_destination_result)
|
11811
|
+
SENSITIVE = []
|
11812
|
+
include Aws::Structure
|
11813
|
+
end
|
11814
|
+
|
11388
11815
|
# A container specifying replication metrics-related settings enabling
|
11389
11816
|
# replication metrics and events.
|
11390
11817
|
#
|
@@ -11585,6 +12012,11 @@ module Aws::S3
|
|
11585
12012
|
# enabled (or suspended) to request that Amazon S3 delete noncurrent
|
11586
12013
|
# object versions at a specific period in the object's lifetime.
|
11587
12014
|
#
|
12015
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
12016
|
+
# supported for directory bucket lifecycle configurations.
|
12017
|
+
#
|
12018
|
+
# </note>
|
12019
|
+
#
|
11588
12020
|
# @!attribute [rw] noncurrent_days
|
11589
12021
|
# Specifies the number of days an object is noncurrent before Amazon
|
11590
12022
|
# S3 can perform the associated action. The value must be a non-zero
|
@@ -11592,6 +12024,11 @@ module Aws::S3
|
|
11592
12024
|
# calculations, see [How Amazon S3 Calculates When an Object Became
|
11593
12025
|
# Noncurrent][1] in the *Amazon S3 User Guide*.
|
11594
12026
|
#
|
12027
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
12028
|
+
# supported for directory bucket lifecycle configurations.
|
12029
|
+
#
|
12030
|
+
# </note>
|
12031
|
+
#
|
11595
12032
|
#
|
11596
12033
|
#
|
11597
12034
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
|
@@ -11605,6 +12042,11 @@ module Aws::S3
|
|
11605
12042
|
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
11606
12043
|
# S3 User Guide*.
|
11607
12044
|
#
|
12045
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
12046
|
+
# supported for directory bucket lifecycle configurations.
|
12047
|
+
#
|
12048
|
+
# </note>
|
12049
|
+
#
|
11608
12050
|
#
|
11609
12051
|
#
|
11610
12052
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
|
@@ -11875,11 +12317,43 @@ module Aws::S3
|
|
11875
12317
|
# </note>
|
11876
12318
|
# @return [String]
|
11877
12319
|
#
|
12320
|
+
# @!attribute [rw] etag
|
12321
|
+
# An entity tag (ETag) is an identifier assigned by a web server to a
|
12322
|
+
# specific version of a resource found at a URL. This header field
|
12323
|
+
# makes the request method conditional on `ETags`.
|
12324
|
+
#
|
12325
|
+
# <note markdown="1"> Entity tags (ETags) for S3 Express One Zone are random alphanumeric
|
12326
|
+
# strings unique to the object.
|
12327
|
+
#
|
12328
|
+
# </note>
|
12329
|
+
# @return [String]
|
12330
|
+
#
|
12331
|
+
# @!attribute [rw] last_modified_time
|
12332
|
+
# If present, the objects are deleted only if its modification times
|
12333
|
+
# matches the provided `Timestamp`.
|
12334
|
+
#
|
12335
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
12336
|
+
#
|
12337
|
+
# </note>
|
12338
|
+
# @return [Time]
|
12339
|
+
#
|
12340
|
+
# @!attribute [rw] size
|
12341
|
+
# If present, the objects are deleted only if its size matches the
|
12342
|
+
# provided size in bytes.
|
12343
|
+
#
|
12344
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
12345
|
+
#
|
12346
|
+
# </note>
|
12347
|
+
# @return [Integer]
|
12348
|
+
#
|
11878
12349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier AWS API Documentation
|
11879
12350
|
#
|
11880
12351
|
class ObjectIdentifier < Struct.new(
|
11881
12352
|
:key,
|
11882
|
-
:version_id
|
12353
|
+
:version_id,
|
12354
|
+
:etag,
|
12355
|
+
:last_modified_time,
|
12356
|
+
:size)
|
11883
12357
|
SENSITIVE = []
|
11884
12358
|
include Aws::Structure
|
11885
12359
|
end
|
@@ -12478,7 +12952,7 @@ module Aws::S3
|
|
12478
12952
|
# @!attribute [rw] restrict_public_buckets
|
12479
12953
|
# Specifies whether Amazon S3 should restrict public bucket policies
|
12480
12954
|
# for this bucket. Setting this element to `TRUE` restricts access to
|
12481
|
-
# this bucket to only Amazon Web
|
12955
|
+
# this bucket to only Amazon Web Services service principals and
|
12482
12956
|
# authorized users within this account if the bucket has a public
|
12483
12957
|
# policy.
|
12484
12958
|
#
|
@@ -12739,13 +13213,14 @@ module Aws::S3
|
|
12739
13213
|
#
|
12740
13214
|
# <b>Directory buckets </b> - When you use this operation with a
|
12741
13215
|
# directory bucket, you must use path-style requests in the format
|
12742
|
-
# `https://s3express-control.
|
13216
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
12743
13217
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
12744
|
-
# names must be unique in the chosen Availability Zone
|
12745
|
-
# must also follow the format `
|
12746
|
-
#
|
12747
|
-
#
|
12748
|
-
# rules][1] in the
|
13218
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
13219
|
+
# Zone). Bucket names must also follow the format `
|
13220
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
13221
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
13222
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
13223
|
+
# *Amazon S3 User Guide*
|
12749
13224
|
#
|
12750
13225
|
#
|
12751
13226
|
#
|
@@ -12875,6 +13350,11 @@ module Aws::S3
|
|
12875
13350
|
# Indicates which default minimum object size behavior is applied to
|
12876
13351
|
# the lifecycle configuration.
|
12877
13352
|
#
|
13353
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13354
|
+
# supported for directory bucket lifecycle configurations.
|
13355
|
+
#
|
13356
|
+
# </note>
|
13357
|
+
#
|
12878
13358
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
12879
13359
|
# transition to any storage class by default.
|
12880
13360
|
#
|
@@ -12927,12 +13407,22 @@ module Aws::S3
|
|
12927
13407
|
# you provide does not match the actual owner of the bucket, the
|
12928
13408
|
# request fails with the HTTP status code `403 Forbidden` (access
|
12929
13409
|
# denied).
|
13410
|
+
#
|
13411
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13412
|
+
# supported for directory bucket lifecycle configurations.
|
13413
|
+
#
|
13414
|
+
# </note>
|
12930
13415
|
# @return [String]
|
12931
13416
|
#
|
12932
13417
|
# @!attribute [rw] transition_default_minimum_object_size
|
12933
13418
|
# Indicates which default minimum object size behavior is applied to
|
12934
13419
|
# the lifecycle configuration.
|
12935
13420
|
#
|
13421
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13422
|
+
# supported for directory bucket lifecycle configurations.
|
13423
|
+
#
|
13424
|
+
# </note>
|
13425
|
+
#
|
12936
13426
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
12937
13427
|
# transition to any storage class by default.
|
12938
13428
|
#
|
@@ -13217,13 +13707,14 @@ module Aws::S3
|
|
13217
13707
|
#
|
13218
13708
|
# <b>Directory buckets </b> - When you use this operation with a
|
13219
13709
|
# directory bucket, you must use path-style requests in the format
|
13220
|
-
# `https://s3express-control.
|
13710
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
13221
13711
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
13222
|
-
# names must be unique in the chosen Availability Zone
|
13223
|
-
# must also follow the format `
|
13224
|
-
#
|
13225
|
-
#
|
13226
|
-
# rules][1] in the
|
13712
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
13713
|
+
# Zone). Bucket names must also follow the format `
|
13714
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
13715
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
13716
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
13717
|
+
# *Amazon S3 User Guide*
|
13227
13718
|
#
|
13228
13719
|
#
|
13229
13720
|
#
|
@@ -14032,7 +14523,9 @@ module Aws::S3
|
|
14032
14523
|
# `rule-id` key-value pairs that provide information about object
|
14033
14524
|
# expiration. The value of the `rule-id` is URL-encoded.
|
14034
14525
|
#
|
14035
|
-
# <note markdown="1">
|
14526
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
14527
|
+
# and this header returns the value "`NotImplemented`" in all
|
14528
|
+
# responses for directory buckets.
|
14036
14529
|
#
|
14037
14530
|
# </note>
|
14038
14531
|
#
|
@@ -14183,6 +14676,16 @@ module Aws::S3
|
|
14183
14676
|
# (SSE-KMS).
|
14184
14677
|
# @return [Boolean]
|
14185
14678
|
#
|
14679
|
+
# @!attribute [rw] size
|
14680
|
+
# The size of the object in bytes. This will only be present if you
|
14681
|
+
# append to an object.
|
14682
|
+
#
|
14683
|
+
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
14684
|
+
# Express One Zone storage class in directory buckets.
|
14685
|
+
#
|
14686
|
+
# </note>
|
14687
|
+
# @return [Integer]
|
14688
|
+
#
|
14186
14689
|
# @!attribute [rw] request_charged
|
14187
14690
|
# If present, indicates that the requester was successfully charged
|
14188
14691
|
# for the request.
|
@@ -14208,6 +14711,7 @@ module Aws::S3
|
|
14208
14711
|
:ssekms_key_id,
|
14209
14712
|
:ssekms_encryption_context,
|
14210
14713
|
:bucket_key_enabled,
|
14714
|
+
:size,
|
14211
14715
|
:request_charged)
|
14212
14716
|
SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
|
14213
14717
|
include Aws::Structure
|
@@ -14261,10 +14765,10 @@ module Aws::S3
|
|
14261
14765
|
#
|
14262
14766
|
# **Directory buckets** - When you use this operation with a directory
|
14263
14767
|
# bucket, you must use virtual-hosted-style requests in the format `
|
14264
|
-
#
|
14768
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
14265
14769
|
# requests are not supported. Directory bucket names must be unique in
|
14266
|
-
# the chosen Availability Zone. Bucket names must
|
14267
|
-
#
|
14770
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
14771
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
14268
14772
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
14269
14773
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
14270
14774
|
# *Amazon S3 User Guide*.
|
@@ -14357,10 +14861,11 @@ module Aws::S3
|
|
14357
14861
|
# information about REST request authentication, see [REST
|
14358
14862
|
# Authentication][1].
|
14359
14863
|
#
|
14360
|
-
# <note markdown="1"> The `Content-MD5` header is
|
14361
|
-
# object with a retention period
|
14362
|
-
#
|
14363
|
-
#
|
14864
|
+
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is
|
14865
|
+
# required for any request to upload an object with a retention period
|
14866
|
+
# configured using Amazon S3 Object Lock. For more information, see
|
14867
|
+
# [Uploading objects to an Object Lock enabled bucket ][2] in the
|
14868
|
+
# *Amazon S3 User Guide*.
|
14364
14869
|
#
|
14365
14870
|
# </note>
|
14366
14871
|
#
|
@@ -14371,7 +14876,7 @@ module Aws::S3
|
|
14371
14876
|
#
|
14372
14877
|
#
|
14373
14878
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
|
14374
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14879
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
|
14375
14880
|
# @return [String]
|
14376
14881
|
#
|
14377
14882
|
# @!attribute [rw] content_type
|
@@ -14413,15 +14918,22 @@ module Aws::S3
|
|
14413
14918
|
# algorithm that matches the provided value in
|
14414
14919
|
# `x-amz-checksum-algorithm `.
|
14415
14920
|
#
|
14416
|
-
# <note markdown="1">
|
14417
|
-
#
|
14418
|
-
#
|
14921
|
+
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is
|
14922
|
+
# required for any request to upload an object with a retention period
|
14923
|
+
# configured using Amazon S3 Object Lock. For more information, see
|
14924
|
+
# [Uploading objects to an Object Lock enabled bucket ][2] in the
|
14925
|
+
# *Amazon S3 User Guide*.
|
14419
14926
|
#
|
14420
14927
|
# </note>
|
14421
14928
|
#
|
14929
|
+
# For directory buckets, when you use Amazon Web Services SDKs,
|
14930
|
+
# `CRC32` is the default checksum algorithm that's used for
|
14931
|
+
# performance.
|
14932
|
+
#
|
14422
14933
|
#
|
14423
14934
|
#
|
14424
14935
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
14936
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
|
14425
14937
|
# @return [String]
|
14426
14938
|
#
|
14427
14939
|
# @!attribute [rw] checksum_crc32
|
@@ -14482,6 +14994,27 @@ module Aws::S3
|
|
14482
14994
|
# [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
|
14483
14995
|
# @return [Time]
|
14484
14996
|
#
|
14997
|
+
# @!attribute [rw] if_match
|
14998
|
+
# Uploads the object only if the ETag (entity tag) value provided
|
14999
|
+
# during the WRITE operation matches the ETag of the object in S3. If
|
15000
|
+
# the ETag values do not match, the operation returns a `412
|
15001
|
+
# Precondition Failed` error.
|
15002
|
+
#
|
15003
|
+
# If a conflicting operation occurs during the upload S3 returns a
|
15004
|
+
# `409 ConditionalRequestConflict` response. On a 409 failure you
|
15005
|
+
# should fetch the object's ETag and retry the upload.
|
15006
|
+
#
|
15007
|
+
# Expects the ETag value as a string.
|
15008
|
+
#
|
15009
|
+
# For more information about conditional requests, see [RFC 7232][1],
|
15010
|
+
# or [Conditional requests][2] in the *Amazon S3 User Guide*.
|
15011
|
+
#
|
15012
|
+
#
|
15013
|
+
#
|
15014
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
15015
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
|
15016
|
+
# @return [String]
|
15017
|
+
#
|
14485
15018
|
# @!attribute [rw] if_none_match
|
14486
15019
|
# Uploads the object only if the object key name does not already
|
14487
15020
|
# exist in the bucket specified. Otherwise, Amazon S3 returns a `412
|
@@ -14547,6 +15080,18 @@ module Aws::S3
|
|
14547
15080
|
# Object key for which the PUT action was initiated.
|
14548
15081
|
# @return [String]
|
14549
15082
|
#
|
15083
|
+
# @!attribute [rw] write_offset_bytes
|
15084
|
+
# Specifies the offset for appending data to existing objects in
|
15085
|
+
# bytes. The offset must be equal to the size of the existing object
|
15086
|
+
# being appended to. If no object exists, setting this header to 0
|
15087
|
+
# will create a new object.
|
15088
|
+
#
|
15089
|
+
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
15090
|
+
# Express One Zone storage class in directory buckets.
|
15091
|
+
#
|
15092
|
+
# </note>
|
15093
|
+
# @return [Integer]
|
15094
|
+
#
|
14550
15095
|
# @!attribute [rw] metadata
|
14551
15096
|
# A map of metadata to store with the object in S3.
|
14552
15097
|
# @return [Hash<String,String>]
|
@@ -14716,15 +15261,20 @@ module Aws::S3
|
|
14716
15261
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
14717
15262
|
#
|
14718
15263
|
# **Directory buckets** - If you specify
|
14719
|
-
# `x-amz-server-side-encryption` with `aws:kms`,
|
14720
|
-
#
|
14721
|
-
#
|
14722
|
-
#
|
14723
|
-
#
|
14724
|
-
#
|
14725
|
-
#
|
14726
|
-
#
|
14727
|
-
#
|
15264
|
+
# `x-amz-server-side-encryption` with `aws:kms`, the `
|
15265
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header is implicitly
|
15266
|
+
# assigned the ID of the KMS symmetric encryption customer managed key
|
15267
|
+
# that's configured for your directory bucket's default encryption
|
15268
|
+
# setting. If you want to specify the `
|
15269
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
|
15270
|
+
# can only specify it with the ID (Key ID or Key ARN) of the KMS
|
15271
|
+
# customer managed key that's configured for your directory bucket's
|
15272
|
+
# default encryption setting. Otherwise, you get an HTTP `400 Bad
|
15273
|
+
# Request` error. Only use the key ID or key ARN. The key alias format
|
15274
|
+
# of the KMS key isn't supported. Your SSE-KMS configuration can only
|
15275
|
+
# support 1 [customer managed key][1] per directory bucket for the
|
15276
|
+
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
15277
|
+
# (`aws/s3`) isn't supported.
|
14728
15278
|
#
|
14729
15279
|
#
|
14730
15280
|
#
|
@@ -14868,12 +15418,14 @@ module Aws::S3
|
|
14868
15418
|
:checksum_sha1,
|
14869
15419
|
:checksum_sha256,
|
14870
15420
|
:expires,
|
15421
|
+
:if_match,
|
14871
15422
|
:if_none_match,
|
14872
15423
|
:grant_full_control,
|
14873
15424
|
:grant_read,
|
14874
15425
|
:grant_read_acp,
|
14875
15426
|
:grant_write_acp,
|
14876
15427
|
:key,
|
15428
|
+
:write_offset_bytes,
|
14877
15429
|
:metadata,
|
14878
15430
|
:server_side_encryption,
|
14879
15431
|
:storage_class,
|
@@ -16031,6 +16583,11 @@ module Aws::S3
|
|
16031
16583
|
# versioning enabled (or suspended) to request that Amazon S3 delete
|
16032
16584
|
# noncurrent object versions at a specific period in the object's
|
16033
16585
|
# lifetime.
|
16586
|
+
#
|
16587
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
16588
|
+
# supported for directory bucket lifecycle configurations.
|
16589
|
+
#
|
16590
|
+
# </note>
|
16034
16591
|
# @return [Types::NoncurrentVersionExpiration]
|
16035
16592
|
#
|
16036
16593
|
# @!attribute [rw] abort_incomplete_multipart_upload
|
@@ -16126,6 +16683,78 @@ module Aws::S3
|
|
16126
16683
|
include Aws::Structure
|
16127
16684
|
end
|
16128
16685
|
|
16686
|
+
# The destination information for the metadata table configuration. The
|
16687
|
+
# destination table bucket must be in the same Region and Amazon Web
|
16688
|
+
# Services account as the general purpose bucket. The specified metadata
|
16689
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
16690
|
+
# the destination table bucket.
|
16691
|
+
#
|
16692
|
+
# @!attribute [rw] table_bucket_arn
|
16693
|
+
# The Amazon Resource Name (ARN) for the table bucket that's
|
16694
|
+
# specified as the destination in the metadata table configuration.
|
16695
|
+
# The destination table bucket must be in the same Region and Amazon
|
16696
|
+
# Web Services account as the general purpose bucket.
|
16697
|
+
# @return [String]
|
16698
|
+
#
|
16699
|
+
# @!attribute [rw] table_name
|
16700
|
+
# The name for the metadata table in your metadata table
|
16701
|
+
# configuration. The specified metadata table name must be unique
|
16702
|
+
# within the `aws_s3_metadata` namespace in the destination table
|
16703
|
+
# bucket.
|
16704
|
+
# @return [String]
|
16705
|
+
#
|
16706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3TablesDestination AWS API Documentation
|
16707
|
+
#
|
16708
|
+
class S3TablesDestination < Struct.new(
|
16709
|
+
:table_bucket_arn,
|
16710
|
+
:table_name)
|
16711
|
+
SENSITIVE = []
|
16712
|
+
include Aws::Structure
|
16713
|
+
end
|
16714
|
+
|
16715
|
+
# The destination information for the metadata table configuration. The
|
16716
|
+
# destination table bucket must be in the same Region and Amazon Web
|
16717
|
+
# Services account as the general purpose bucket. The specified metadata
|
16718
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
16719
|
+
# the destination table bucket.
|
16720
|
+
#
|
16721
|
+
# @!attribute [rw] table_bucket_arn
|
16722
|
+
# The Amazon Resource Name (ARN) for the table bucket that's
|
16723
|
+
# specified as the destination in the metadata table configuration.
|
16724
|
+
# The destination table bucket must be in the same Region and Amazon
|
16725
|
+
# Web Services account as the general purpose bucket.
|
16726
|
+
# @return [String]
|
16727
|
+
#
|
16728
|
+
# @!attribute [rw] table_name
|
16729
|
+
# The name for the metadata table in your metadata table
|
16730
|
+
# configuration. The specified metadata table name must be unique
|
16731
|
+
# within the `aws_s3_metadata` namespace in the destination table
|
16732
|
+
# bucket.
|
16733
|
+
# @return [String]
|
16734
|
+
#
|
16735
|
+
# @!attribute [rw] table_arn
|
16736
|
+
# The Amazon Resource Name (ARN) for the metadata table in the
|
16737
|
+
# metadata table configuration. The specified metadata table name must
|
16738
|
+
# be unique within the `aws_s3_metadata` namespace in the destination
|
16739
|
+
# table bucket.
|
16740
|
+
# @return [String]
|
16741
|
+
#
|
16742
|
+
# @!attribute [rw] table_namespace
|
16743
|
+
# The table bucket namespace for the metadata table in your metadata
|
16744
|
+
# table configuration. This value is always `aws_s3_metadata`.
|
16745
|
+
# @return [String]
|
16746
|
+
#
|
16747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3TablesDestinationResult AWS API Documentation
|
16748
|
+
#
|
16749
|
+
class S3TablesDestinationResult < Struct.new(
|
16750
|
+
:table_bucket_arn,
|
16751
|
+
:table_name,
|
16752
|
+
:table_arn,
|
16753
|
+
:table_namespace)
|
16754
|
+
SENSITIVE = []
|
16755
|
+
include Aws::Structure
|
16756
|
+
end
|
16757
|
+
|
16129
16758
|
# Specifies the use of SSE-KMS to encrypt delivered inventory reports.
|
16130
16759
|
#
|
16131
16760
|
# @!attribute [rw] key_id
|
@@ -16387,8 +17016,8 @@ module Aws::S3
|
|
16387
17016
|
#
|
16388
17017
|
# * **Directory buckets** - Your SSE-KMS configuration can only support
|
16389
17018
|
# 1 [customer managed key][2] per directory bucket for the lifetime of
|
16390
|
-
# the bucket. [Amazon Web Services managed key][3] (`aws/s3`)
|
16391
|
-
# supported.
|
17019
|
+
# the bucket. The [Amazon Web Services managed key][3] (`aws/s3`)
|
17020
|
+
# isn't supported.
|
16392
17021
|
#
|
16393
17022
|
# * **Directory buckets** - For directory buckets, there are only two
|
16394
17023
|
# supported options for server-side encryption: SSE-S3 and SSE-KMS.
|
@@ -16806,7 +17435,7 @@ module Aws::S3
|
|
16806
17435
|
#
|
16807
17436
|
# @!attribute [rw] simple_prefix
|
16808
17437
|
# To use the simple format for S3 keys for log objects. To specify
|
16809
|
-
# SimplePrefix format, set SimplePrefix to
|
17438
|
+
# SimplePrefix format, set SimplePrefix to \{}.
|
16810
17439
|
# @return [Types::SimplePrefix]
|
16811
17440
|
#
|
16812
17441
|
# @!attribute [rw] partitioned_prefix
|
@@ -16854,6 +17483,15 @@ module Aws::S3
|
|
16854
17483
|
include Aws::Structure
|
16855
17484
|
end
|
16856
17485
|
|
17486
|
+
# You have attempted to add more parts than the maximum of 10000 that
|
17487
|
+
# are allowed for this object. You can use the CopyObject operation to
|
17488
|
+
# copy this object to another and then add more data to the newly copied
|
17489
|
+
# object.
|
17490
|
+
#
|
17491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TooManyParts AWS API Documentation
|
17492
|
+
#
|
17493
|
+
class TooManyParts < Aws::EmptyStructure; end
|
17494
|
+
|
16857
17495
|
# A container for specifying the configuration for publication of
|
16858
17496
|
# messages to an Amazon Simple Notification Service (Amazon SNS) topic
|
16859
17497
|
# when Amazon S3 detects specified events.
|
@@ -17055,14 +17693,22 @@ module Aws::S3
|
|
17055
17693
|
#
|
17056
17694
|
# **Directory buckets** - When you use this operation with a directory
|
17057
17695
|
# bucket, you must use virtual-hosted-style requests in the format `
|
17058
|
-
#
|
17696
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
17059
17697
|
# requests are not supported. Directory bucket names must be unique in
|
17060
|
-
# the chosen Availability Zone. Bucket names must
|
17061
|
-
#
|
17698
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
17699
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
17062
17700
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
17063
17701
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
17064
17702
|
# *Amazon S3 User Guide*.
|
17065
17703
|
#
|
17704
|
+
# <note markdown="1"> Copying objects across different Amazon Web Services Regions isn't
|
17705
|
+
# supported when the source or destination bucket is in Amazon Web
|
17706
|
+
# Services Local Zones. The source and destination buckets must have
|
17707
|
+
# the same parent Amazon Web Services Region. Otherwise, you get an
|
17708
|
+
# HTTP `400 Bad Request` error with the error code `InvalidRequest`.
|
17709
|
+
#
|
17710
|
+
# </note>
|
17711
|
+
#
|
17066
17712
|
# **Access points** - When you use this action with an access point,
|
17067
17713
|
# you must provide the alias of the access point in place of the
|
17068
17714
|
# bucket name or specify the access point ARN. When using the access
|
@@ -17508,10 +18154,10 @@ module Aws::S3
|
|
17508
18154
|
#
|
17509
18155
|
# **Directory buckets** - When you use this operation with a directory
|
17510
18156
|
# bucket, you must use virtual-hosted-style requests in the format `
|
17511
|
-
#
|
18157
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
17512
18158
|
# requests are not supported. Directory bucket names must be unique in
|
17513
|
-
# the chosen Availability Zone. Bucket names must
|
17514
|
-
#
|
18159
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
18160
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
17515
18161
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
17516
18162
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
17517
18163
|
# *Amazon S3 User Guide*.
|