aws-sdk-s3 1.169.0 → 1.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +36 -2
- 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 +1575 -949
- data/lib/aws-sdk-s3/client_api.rb +126 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/endpoints.rb +42 -0
- 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 +77 -1
- data/lib/aws-sdk-s3/object_summary.rb +74 -0
- data/lib/aws-sdk-s3/object_version.rb +43 -0
- 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 +9 -8
- data/lib/aws-sdk-s3/types.rb +837 -211
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +8 -3
- data/sig/client.rbs +50 -6
- data/sig/errors.rbs +8 -0
- data/sig/multipart_upload.rbs +3 -1
- data/sig/object.rbs +6 -1
- data/sig/object_summary.rbs +6 -1
- data/sig/object_version.rbs +4 -1
- data/sig/resource.rbs +2 -2
- data/sig/types.rbs +89 -3
- metadata +2 -2
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
|
@@ -392,8 +406,8 @@ module Aws::S3
|
|
392
406
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html
|
393
407
|
#
|
394
408
|
# @!attribute [rw] data_redundancy
|
395
|
-
# The number of Availability Zone that's used
|
396
|
-
# bucket.
|
409
|
+
# The number of Zone (Availability Zone or Local Zone) that's used
|
410
|
+
# for redundancy for the bucket.
|
397
411
|
# @return [String]
|
398
412
|
#
|
399
413
|
# @!attribute [rw] type
|
@@ -929,10 +943,10 @@ module Aws::S3
|
|
929
943
|
#
|
930
944
|
# **Directory buckets** - When you use this operation with a directory
|
931
945
|
# bucket, you must use virtual-hosted-style requests in the format `
|
932
|
-
#
|
946
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
933
947
|
# requests are not supported. Directory bucket names must be unique in
|
934
|
-
# the chosen Availability Zone. Bucket names must
|
935
|
-
#
|
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, `
|
936
950
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
937
951
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
938
952
|
# *Amazon S3 User Guide*.
|
@@ -1054,6 +1068,28 @@ module Aws::S3
|
|
1054
1068
|
# denied).
|
1055
1069
|
# @return [String]
|
1056
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
|
+
#
|
1057
1093
|
# @!attribute [rw] if_none_match
|
1058
1094
|
# Uploads the object only if the object key name does not already
|
1059
1095
|
# exist in the bucket specified. Otherwise, Amazon S3 returns a `412
|
@@ -1134,6 +1170,7 @@ module Aws::S3
|
|
1134
1170
|
:checksum_sha256,
|
1135
1171
|
:request_payer,
|
1136
1172
|
:expected_bucket_owner,
|
1173
|
+
:if_match,
|
1137
1174
|
:if_none_match,
|
1138
1175
|
:sse_customer_algorithm,
|
1139
1176
|
:sse_customer_key,
|
@@ -1316,7 +1353,9 @@ module Aws::S3
|
|
1316
1353
|
# If the object expiration is configured, the response includes this
|
1317
1354
|
# header.
|
1318
1355
|
#
|
1319
|
-
# <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.
|
1320
1359
|
#
|
1321
1360
|
# </note>
|
1322
1361
|
# @return [String]
|
@@ -1448,14 +1487,22 @@ module Aws::S3
|
|
1448
1487
|
#
|
1449
1488
|
# **Directory buckets** - When you use this operation with a directory
|
1450
1489
|
# bucket, you must use virtual-hosted-style requests in the format `
|
1451
|
-
#
|
1490
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
1452
1491
|
# requests are not supported. Directory bucket names must be unique in
|
1453
|
-
# the chosen Availability Zone. Bucket names must
|
1454
|
-
#
|
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, `
|
1455
1494
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
1456
1495
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
1457
1496
|
# *Amazon S3 User Guide*.
|
1458
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
|
+
#
|
1459
1506
|
# **Access points** - When you use this action with an access point,
|
1460
1507
|
# you must provide the alias of the access point in place of the
|
1461
1508
|
# bucket name or specify the access point ARN. When using the access
|
@@ -2431,29 +2478,40 @@ module Aws::S3
|
|
2431
2478
|
# choose a Region to optimize latency, minimize costs, or address
|
2432
2479
|
# regulatory requirements. For example, if you reside in Europe, you
|
2433
2480
|
# will probably find it advantageous to create buckets in the Europe
|
2434
|
-
# (Ireland) Region.
|
2435
|
-
# in the *Amazon S3 User Guide*.
|
2481
|
+
# (Ireland) Region.
|
2436
2482
|
#
|
2437
2483
|
# If you don't specify a Region, the bucket is created in the US East
|
2438
2484
|
# (N. Virginia) Region (us-east-1) by default.
|
2439
2485
|
#
|
2486
|
+
# For a list of the valid values for all of the Amazon Web Services
|
2487
|
+
# Regions, see [Regions and Endpoints][1].
|
2488
|
+
#
|
2440
2489
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
2441
2490
|
#
|
2442
2491
|
# </note>
|
2443
2492
|
#
|
2444
2493
|
#
|
2445
2494
|
#
|
2446
|
-
# [1]: https://docs.aws.amazon.com/
|
2495
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
|
2447
2496
|
# @return [String]
|
2448
2497
|
#
|
2449
2498
|
# @!attribute [rw] location
|
2450
2499
|
# Specifies the location where the bucket will be created.
|
2451
2500
|
#
|
2452
|
-
#
|
2501
|
+
# <b>Directory buckets </b> - The location type is Availability Zone
|
2502
|
+
# or Local Zone. To use the Local Zone location type, your account
|
2503
|
+
# must be enabled for Dedicated Local Zones. Otherwise, you get an
|
2504
|
+
# HTTP `403 Forbidden` error with the error code `AccessDenied`. To
|
2505
|
+
# learn more, see [Enable accounts for Dedicated Local Zones][1] in
|
2506
|
+
# the *Amazon S3 User Guide*.
|
2453
2507
|
#
|
2454
2508
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
2455
2509
|
#
|
2456
2510
|
# </note>
|
2511
|
+
#
|
2512
|
+
#
|
2513
|
+
#
|
2514
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html
|
2457
2515
|
# @return [Types::LocationInfo]
|
2458
2516
|
#
|
2459
2517
|
# @!attribute [rw] bucket
|
@@ -2474,6 +2532,41 @@ module Aws::S3
|
|
2474
2532
|
include Aws::Structure
|
2475
2533
|
end
|
2476
2534
|
|
2535
|
+
# @!attribute [rw] bucket
|
2536
|
+
# The general purpose bucket that you want to create the metadata
|
2537
|
+
# table configuration in.
|
2538
|
+
# @return [String]
|
2539
|
+
#
|
2540
|
+
# @!attribute [rw] content_md5
|
2541
|
+
# The `Content-MD5` header for the metadata table configuration.
|
2542
|
+
# @return [String]
|
2543
|
+
#
|
2544
|
+
# @!attribute [rw] checksum_algorithm
|
2545
|
+
# The checksum algorithm to use with your metadata table
|
2546
|
+
# configuration.
|
2547
|
+
# @return [String]
|
2548
|
+
#
|
2549
|
+
# @!attribute [rw] metadata_table_configuration
|
2550
|
+
# The contents of your metadata table configuration.
|
2551
|
+
# @return [Types::MetadataTableConfiguration]
|
2552
|
+
#
|
2553
|
+
# @!attribute [rw] expected_bucket_owner
|
2554
|
+
# The expected owner of the general purpose bucket that contains your
|
2555
|
+
# metadata table configuration.
|
2556
|
+
# @return [String]
|
2557
|
+
#
|
2558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketMetadataTableConfigurationRequest AWS API Documentation
|
2559
|
+
#
|
2560
|
+
class CreateBucketMetadataTableConfigurationRequest < Struct.new(
|
2561
|
+
:bucket,
|
2562
|
+
:content_md5,
|
2563
|
+
:checksum_algorithm,
|
2564
|
+
:metadata_table_configuration,
|
2565
|
+
:expected_bucket_owner)
|
2566
|
+
SENSITIVE = []
|
2567
|
+
include Aws::Structure
|
2568
|
+
end
|
2569
|
+
|
2477
2570
|
# @!attribute [rw] location
|
2478
2571
|
# A forward slash followed by the name of the bucket.
|
2479
2572
|
# @return [String]
|
@@ -2503,13 +2596,14 @@ module Aws::S3
|
|
2503
2596
|
#
|
2504
2597
|
# <b>Directory buckets </b> - When you use this operation with a
|
2505
2598
|
# directory bucket, you must use path-style requests in the format
|
2506
|
-
# `https://s3express-control.
|
2599
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
2507
2600
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
2508
|
-
# names must be unique in the chosen Availability Zone
|
2509
|
-
# must also follow the format `
|
2510
|
-
#
|
2511
|
-
#
|
2512
|
-
# rules][2] in the
|
2601
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
2602
|
+
# Zone). Bucket names must also follow the format `
|
2603
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
2604
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
2605
|
+
# naming restrictions, see [Directory bucket naming rules][2] in the
|
2606
|
+
# *Amazon S3 User Guide*
|
2513
2607
|
#
|
2514
2608
|
#
|
2515
2609
|
#
|
@@ -2787,10 +2881,10 @@ module Aws::S3
|
|
2787
2881
|
#
|
2788
2882
|
# **Directory buckets** - When you use this operation with a directory
|
2789
2883
|
# bucket, you must use virtual-hosted-style requests in the format `
|
2790
|
-
#
|
2884
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
2791
2885
|
# requests are not supported. Directory bucket names must be unique in
|
2792
|
-
# the chosen Availability Zone. Bucket names must
|
2793
|
-
#
|
2886
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
2887
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
2794
2888
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
2795
2889
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
2796
2890
|
# *Amazon S3 User Guide*.
|
@@ -3694,13 +3788,14 @@ module Aws::S3
|
|
3694
3788
|
#
|
3695
3789
|
# <b>Directory buckets </b> - When you use this operation with a
|
3696
3790
|
# directory bucket, you must use path-style requests in the format
|
3697
|
-
# `https://s3express-control.
|
3791
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3698
3792
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3699
|
-
# names must be unique in the chosen Availability Zone
|
3700
|
-
# must also follow the format `
|
3701
|
-
#
|
3702
|
-
#
|
3703
|
-
# rules][1] in the
|
3793
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
3794
|
+
# Zone). Bucket names must also follow the format `
|
3795
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
3796
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3797
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3798
|
+
# *Amazon S3 User Guide*
|
3704
3799
|
#
|
3705
3800
|
#
|
3706
3801
|
#
|
@@ -3782,6 +3877,11 @@ module Aws::S3
|
|
3782
3877
|
# you provide does not match the actual owner of the bucket, the
|
3783
3878
|
# request fails with the HTTP status code `403 Forbidden` (access
|
3784
3879
|
# denied).
|
3880
|
+
#
|
3881
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
3882
|
+
# supported for directory bucket lifecycle configurations.
|
3883
|
+
#
|
3884
|
+
# </note>
|
3785
3885
|
# @return [String]
|
3786
3886
|
#
|
3787
3887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest AWS API Documentation
|
@@ -3793,6 +3893,25 @@ module Aws::S3
|
|
3793
3893
|
include Aws::Structure
|
3794
3894
|
end
|
3795
3895
|
|
3896
|
+
# @!attribute [rw] bucket
|
3897
|
+
# The general purpose bucket that you want to remove the metadata
|
3898
|
+
# table configuration from.
|
3899
|
+
# @return [String]
|
3900
|
+
#
|
3901
|
+
# @!attribute [rw] expected_bucket_owner
|
3902
|
+
# The expected bucket owner of the general purpose bucket that you
|
3903
|
+
# want to remove the metadata table configuration from.
|
3904
|
+
# @return [String]
|
3905
|
+
#
|
3906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetadataTableConfigurationRequest AWS API Documentation
|
3907
|
+
#
|
3908
|
+
class DeleteBucketMetadataTableConfigurationRequest < Struct.new(
|
3909
|
+
:bucket,
|
3910
|
+
:expected_bucket_owner)
|
3911
|
+
SENSITIVE = []
|
3912
|
+
include Aws::Structure
|
3913
|
+
end
|
3914
|
+
|
3796
3915
|
# @!attribute [rw] bucket
|
3797
3916
|
# The name of the bucket containing the metrics configuration to
|
3798
3917
|
# delete.
|
@@ -3846,13 +3965,14 @@ module Aws::S3
|
|
3846
3965
|
#
|
3847
3966
|
# <b>Directory buckets </b> - When you use this operation with a
|
3848
3967
|
# directory bucket, you must use path-style requests in the format
|
3849
|
-
# `https://s3express-control.
|
3968
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3850
3969
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3851
|
-
# names must be unique in the chosen Availability Zone
|
3852
|
-
# must also follow the format `
|
3853
|
-
#
|
3854
|
-
#
|
3855
|
-
# rules][1] in the
|
3970
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
3971
|
+
# Zone). Bucket names must also follow the format `
|
3972
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
3973
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3974
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3975
|
+
# *Amazon S3 User Guide*
|
3856
3976
|
#
|
3857
3977
|
#
|
3858
3978
|
#
|
@@ -3906,13 +4026,14 @@ module Aws::S3
|
|
3906
4026
|
#
|
3907
4027
|
# <b>Directory buckets </b> - When you use this operation with a
|
3908
4028
|
# directory bucket, you must use path-style requests in the format
|
3909
|
-
# `https://s3express-control.
|
4029
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3910
4030
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3911
|
-
# names must be unique in the chosen Availability Zone
|
3912
|
-
# must also follow the format `
|
3913
|
-
#
|
3914
|
-
#
|
3915
|
-
# rules][1] in the
|
4031
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
4032
|
+
# Zone). Bucket names must also follow the format `
|
4033
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
4034
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4035
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4036
|
+
# *Amazon S3 User Guide*
|
3916
4037
|
#
|
3917
4038
|
#
|
3918
4039
|
#
|
@@ -4100,10 +4221,10 @@ module Aws::S3
|
|
4100
4221
|
#
|
4101
4222
|
# **Directory buckets** - When you use this operation with a directory
|
4102
4223
|
# bucket, you must use virtual-hosted-style requests in the format `
|
4103
|
-
#
|
4224
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
4104
4225
|
# requests are not supported. Directory bucket names must be unique in
|
4105
|
-
# the chosen Availability Zone. Bucket names must
|
4106
|
-
#
|
4226
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
4227
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
4107
4228
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4108
4229
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4109
4230
|
# *Amazon S3 User Guide*.
|
@@ -4199,6 +4320,52 @@ module Aws::S3
|
|
4199
4320
|
# denied).
|
4200
4321
|
# @return [String]
|
4201
4322
|
#
|
4323
|
+
# @!attribute [rw] if_match
|
4324
|
+
# The `If-Match` header field makes the request method conditional on
|
4325
|
+
# ETags. If the ETag value does not match, the operation returns a
|
4326
|
+
# `412 Precondition Failed` error. If the ETag matches or if the
|
4327
|
+
# object doesn't exist, the operation will return a `204 Success (No
|
4328
|
+
# Content) response`.
|
4329
|
+
#
|
4330
|
+
# For more information about conditional requests, see [RFC 7232][1].
|
4331
|
+
#
|
4332
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4333
|
+
#
|
4334
|
+
# </note>
|
4335
|
+
#
|
4336
|
+
#
|
4337
|
+
#
|
4338
|
+
# [1]: https://docs.aws.amazon.com/https:/tools.ietf.org/html/rfc7232
|
4339
|
+
# @return [String]
|
4340
|
+
#
|
4341
|
+
# @!attribute [rw] if_match_last_modified_time
|
4342
|
+
# If present, the object is deleted only if its modification times
|
4343
|
+
# matches the provided `Timestamp`. If the `Timestamp` values do not
|
4344
|
+
# match, the operation returns a `412 Precondition Failed` error. If
|
4345
|
+
# the `Timestamp` matches or if the object doesn’t exist, the
|
4346
|
+
# operation returns a `204 Success (No Content)` response.
|
4347
|
+
#
|
4348
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4349
|
+
#
|
4350
|
+
# </note>
|
4351
|
+
# @return [Time]
|
4352
|
+
#
|
4353
|
+
# @!attribute [rw] if_match_size
|
4354
|
+
# If present, the object is deleted only if its size matches the
|
4355
|
+
# provided size in bytes. If the `Size` value does not match, the
|
4356
|
+
# operation returns a `412 Precondition Failed` error. If the `Size`
|
4357
|
+
# matches or if the object doesn’t exist, the operation returns a `204
|
4358
|
+
# Success (No Content)` response.
|
4359
|
+
#
|
4360
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
4361
|
+
#
|
4362
|
+
# </note>
|
4363
|
+
#
|
4364
|
+
# You can use the `If-Match`, `x-amz-if-match-last-modified-time` and
|
4365
|
+
# `x-amz-if-match-size` conditional headers in conjunction with
|
4366
|
+
# each-other or individually.
|
4367
|
+
# @return [Integer]
|
4368
|
+
#
|
4202
4369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest AWS API Documentation
|
4203
4370
|
#
|
4204
4371
|
class DeleteObjectRequest < Struct.new(
|
@@ -4208,7 +4375,10 @@ module Aws::S3
|
|
4208
4375
|
:version_id,
|
4209
4376
|
:request_payer,
|
4210
4377
|
:bypass_governance_retention,
|
4211
|
-
:expected_bucket_owner
|
4378
|
+
:expected_bucket_owner,
|
4379
|
+
:if_match,
|
4380
|
+
:if_match_last_modified_time,
|
4381
|
+
:if_match_size)
|
4212
4382
|
SENSITIVE = []
|
4213
4383
|
include Aws::Structure
|
4214
4384
|
end
|
@@ -4316,10 +4486,10 @@ module Aws::S3
|
|
4316
4486
|
#
|
4317
4487
|
# **Directory buckets** - When you use this operation with a directory
|
4318
4488
|
# bucket, you must use virtual-hosted-style requests in the format `
|
4319
|
-
#
|
4489
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
4320
4490
|
# requests are not supported. Directory bucket names must be unique in
|
4321
|
-
# the chosen Availability Zone. Bucket names must
|
4322
|
-
#
|
4491
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
4492
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
4323
4493
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4324
4494
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4325
4495
|
# *Amazon S3 User Guide*.
|
@@ -4684,6 +4854,14 @@ module Aws::S3
|
|
4684
4854
|
include Aws::Structure
|
4685
4855
|
end
|
4686
4856
|
|
4857
|
+
# The existing object was created with a different encryption type.
|
4858
|
+
# Subsequent write requests must include the appropriate encryption
|
4859
|
+
# parameters in the request or while creating the session.
|
4860
|
+
#
|
4861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionTypeMismatch AWS API Documentation
|
4862
|
+
#
|
4863
|
+
class EncryptionTypeMismatch < Aws::EmptyStructure; end
|
4864
|
+
|
4687
4865
|
# A message that indicates the request is complete and no more messages
|
4688
4866
|
# will be sent. You should not assume that the request is complete until
|
4689
4867
|
# the client receives an `EndEvent`.
|
@@ -4723,7 +4901,6 @@ module Aws::S3
|
|
4723
4901
|
# * *HTTP Status Code:* 403 Forbidden
|
4724
4902
|
#
|
4725
4903
|
# * *SOAP Fault Code Prefix:* Client
|
4726
|
-
#
|
4727
4904
|
# * * *Code:* AccountProblem
|
4728
4905
|
#
|
4729
4906
|
# * *Description:* There is a problem with your Amazon Web Services
|
@@ -4733,7 +4910,6 @@ module Aws::S3
|
|
4733
4910
|
# * *HTTP Status Code:* 403 Forbidden
|
4734
4911
|
#
|
4735
4912
|
# * *SOAP Fault Code Prefix:* Client
|
4736
|
-
#
|
4737
4913
|
# * * *Code:* AllAccessDisabled
|
4738
4914
|
#
|
4739
4915
|
# * *Description:* All access to this Amazon S3 resource has been
|
@@ -4743,7 +4919,6 @@ module Aws::S3
|
|
4743
4919
|
# * *HTTP Status Code:* 403 Forbidden
|
4744
4920
|
#
|
4745
4921
|
# * *SOAP Fault Code Prefix:* Client
|
4746
|
-
#
|
4747
4922
|
# * * *Code:* AmbiguousGrantByEmailAddress
|
4748
4923
|
#
|
4749
4924
|
# * *Description:* The email address you provided is associated with
|
@@ -4752,7 +4927,6 @@ module Aws::S3
|
|
4752
4927
|
# * *HTTP Status Code:* 400 Bad Request
|
4753
4928
|
#
|
4754
4929
|
# * *SOAP Fault Code Prefix:* Client
|
4755
|
-
#
|
4756
4930
|
# * * *Code:* AuthorizationHeaderMalformed
|
4757
4931
|
#
|
4758
4932
|
# * *Description:* The authorization header you provided is invalid.
|
@@ -4760,7 +4934,6 @@ module Aws::S3
|
|
4760
4934
|
# * *HTTP Status Code:* 400 Bad Request
|
4761
4935
|
#
|
4762
4936
|
# * *HTTP Status Code:* N/A
|
4763
|
-
#
|
4764
4937
|
# * * *Code:* BadDigest
|
4765
4938
|
#
|
4766
4939
|
# * *Description:* The Content-MD5 you specified did not match what
|
@@ -4769,7 +4942,6 @@ module Aws::S3
|
|
4769
4942
|
# * *HTTP Status Code:* 400 Bad Request
|
4770
4943
|
#
|
4771
4944
|
# * *SOAP Fault Code Prefix:* Client
|
4772
|
-
#
|
4773
4945
|
# * * *Code:* BucketAlreadyExists
|
4774
4946
|
#
|
4775
4947
|
# * *Description:* The requested bucket name is not available. The
|
@@ -4779,7 +4951,6 @@ module Aws::S3
|
|
4779
4951
|
# * *HTTP Status Code:* 409 Conflict
|
4780
4952
|
#
|
4781
4953
|
# * *SOAP Fault Code Prefix:* Client
|
4782
|
-
#
|
4783
4954
|
# * * *Code:* BucketAlreadyOwnedByYou
|
4784
4955
|
#
|
4785
4956
|
# * *Description:* The bucket you tried to create already exists,
|
@@ -4793,7 +4964,6 @@ module Aws::S3
|
|
4793
4964
|
# Region)
|
4794
4965
|
#
|
4795
4966
|
# * *SOAP Fault Code Prefix:* Client
|
4796
|
-
#
|
4797
4967
|
# * * *Code:* BucketNotEmpty
|
4798
4968
|
#
|
4799
4969
|
# * *Description:* The bucket you tried to delete is not empty.
|
@@ -4801,7 +4971,6 @@ module Aws::S3
|
|
4801
4971
|
# * *HTTP Status Code:* 409 Conflict
|
4802
4972
|
#
|
4803
4973
|
# * *SOAP Fault Code Prefix:* Client
|
4804
|
-
#
|
4805
4974
|
# * * *Code:* CredentialsNotSupported
|
4806
4975
|
#
|
4807
4976
|
# * *Description:* This request does not support credentials.
|
@@ -4809,7 +4978,6 @@ module Aws::S3
|
|
4809
4978
|
# * *HTTP Status Code:* 400 Bad Request
|
4810
4979
|
#
|
4811
4980
|
# * *SOAP Fault Code Prefix:* Client
|
4812
|
-
#
|
4813
4981
|
# * * *Code:* CrossLocationLoggingProhibited
|
4814
4982
|
#
|
4815
4983
|
# * *Description:* Cross-location logging not allowed. Buckets in
|
@@ -4819,7 +4987,6 @@ module Aws::S3
|
|
4819
4987
|
# * *HTTP Status Code:* 403 Forbidden
|
4820
4988
|
#
|
4821
4989
|
# * *SOAP Fault Code Prefix:* Client
|
4822
|
-
#
|
4823
4990
|
# * * *Code:* EntityTooSmall
|
4824
4991
|
#
|
4825
4992
|
# * *Description:* Your proposed upload is smaller than the minimum
|
@@ -4828,7 +4995,6 @@ module Aws::S3
|
|
4828
4995
|
# * *HTTP Status Code:* 400 Bad Request
|
4829
4996
|
#
|
4830
4997
|
# * *SOAP Fault Code Prefix:* Client
|
4831
|
-
#
|
4832
4998
|
# * * *Code:* EntityTooLarge
|
4833
4999
|
#
|
4834
5000
|
# * *Description:* Your proposed upload exceeds the maximum allowed
|
@@ -4837,7 +5003,6 @@ module Aws::S3
|
|
4837
5003
|
# * *HTTP Status Code:* 400 Bad Request
|
4838
5004
|
#
|
4839
5005
|
# * *SOAP Fault Code Prefix:* Client
|
4840
|
-
#
|
4841
5006
|
# * * *Code:* ExpiredToken
|
4842
5007
|
#
|
4843
5008
|
# * *Description:* The provided token has expired.
|
@@ -4845,7 +5010,6 @@ module Aws::S3
|
|
4845
5010
|
# * *HTTP Status Code:* 400 Bad Request
|
4846
5011
|
#
|
4847
5012
|
# * *SOAP Fault Code Prefix:* Client
|
4848
|
-
#
|
4849
5013
|
# * * *Code:* IllegalVersioningConfigurationException
|
4850
5014
|
#
|
4851
5015
|
# * *Description:* Indicates that the versioning configuration
|
@@ -4854,7 +5018,6 @@ module Aws::S3
|
|
4854
5018
|
# * *HTTP Status Code:* 400 Bad Request
|
4855
5019
|
#
|
4856
5020
|
# * *SOAP Fault Code Prefix:* Client
|
4857
|
-
#
|
4858
5021
|
# * * *Code:* IncompleteBody
|
4859
5022
|
#
|
4860
5023
|
# * *Description:* You did not provide the number of bytes specified
|
@@ -4863,7 +5026,6 @@ module Aws::S3
|
|
4863
5026
|
# * *HTTP Status Code:* 400 Bad Request
|
4864
5027
|
#
|
4865
5028
|
# * *SOAP Fault Code Prefix:* Client
|
4866
|
-
#
|
4867
5029
|
# * * *Code:* IncorrectNumberOfFilesInPostRequest
|
4868
5030
|
#
|
4869
5031
|
# * *Description:* POST requires exactly one file upload per
|
@@ -4872,7 +5034,6 @@ module Aws::S3
|
|
4872
5034
|
# * *HTTP Status Code:* 400 Bad Request
|
4873
5035
|
#
|
4874
5036
|
# * *SOAP Fault Code Prefix:* Client
|
4875
|
-
#
|
4876
5037
|
# * * *Code:* InlineDataTooLarge
|
4877
5038
|
#
|
4878
5039
|
# * *Description:* Inline data exceeds the maximum allowed size.
|
@@ -4880,7 +5041,6 @@ module Aws::S3
|
|
4880
5041
|
# * *HTTP Status Code:* 400 Bad Request
|
4881
5042
|
#
|
4882
5043
|
# * *SOAP Fault Code Prefix:* Client
|
4883
|
-
#
|
4884
5044
|
# * * *Code:* InternalError
|
4885
5045
|
#
|
4886
5046
|
# * *Description:* We encountered an internal error. Please try
|
@@ -4889,7 +5049,6 @@ module Aws::S3
|
|
4889
5049
|
# * *HTTP Status Code:* 500 Internal Server Error
|
4890
5050
|
#
|
4891
5051
|
# * *SOAP Fault Code Prefix:* Server
|
4892
|
-
#
|
4893
5052
|
# * * *Code:* InvalidAccessKeyId
|
4894
5053
|
#
|
4895
5054
|
# * *Description:* The Amazon Web Services access key ID you
|
@@ -4898,7 +5057,6 @@ module Aws::S3
|
|
4898
5057
|
# * *HTTP Status Code:* 403 Forbidden
|
4899
5058
|
#
|
4900
5059
|
# * *SOAP Fault Code Prefix:* Client
|
4901
|
-
#
|
4902
5060
|
# * * *Code:* InvalidAddressingHeader
|
4903
5061
|
#
|
4904
5062
|
# * *Description:* You must specify the Anonymous role.
|
@@ -4906,7 +5064,6 @@ module Aws::S3
|
|
4906
5064
|
# * *HTTP Status Code:* N/A
|
4907
5065
|
#
|
4908
5066
|
# * *SOAP Fault Code Prefix:* Client
|
4909
|
-
#
|
4910
5067
|
# * * *Code:* InvalidArgument
|
4911
5068
|
#
|
4912
5069
|
# * *Description:* Invalid Argument
|
@@ -4914,7 +5071,6 @@ module Aws::S3
|
|
4914
5071
|
# * *HTTP Status Code:* 400 Bad Request
|
4915
5072
|
#
|
4916
5073
|
# * *SOAP Fault Code Prefix:* Client
|
4917
|
-
#
|
4918
5074
|
# * * *Code:* InvalidBucketName
|
4919
5075
|
#
|
4920
5076
|
# * *Description:* The specified bucket is not valid.
|
@@ -4922,7 +5078,6 @@ module Aws::S3
|
|
4922
5078
|
# * *HTTP Status Code:* 400 Bad Request
|
4923
5079
|
#
|
4924
5080
|
# * *SOAP Fault Code Prefix:* Client
|
4925
|
-
#
|
4926
5081
|
# * * *Code:* InvalidBucketState
|
4927
5082
|
#
|
4928
5083
|
# * *Description:* The request is not valid with the current state
|
@@ -4931,7 +5086,6 @@ module Aws::S3
|
|
4931
5086
|
# * *HTTP Status Code:* 409 Conflict
|
4932
5087
|
#
|
4933
5088
|
# * *SOAP Fault Code Prefix:* Client
|
4934
|
-
#
|
4935
5089
|
# * * *Code:* InvalidDigest
|
4936
5090
|
#
|
4937
5091
|
# * *Description:* The Content-MD5 you specified is not valid.
|
@@ -4939,7 +5093,6 @@ module Aws::S3
|
|
4939
5093
|
# * *HTTP Status Code:* 400 Bad Request
|
4940
5094
|
#
|
4941
5095
|
# * *SOAP Fault Code Prefix:* Client
|
4942
|
-
#
|
4943
5096
|
# * * *Code:* InvalidEncryptionAlgorithmError
|
4944
5097
|
#
|
4945
5098
|
# * *Description:* The encryption request you specified is not
|
@@ -4948,7 +5101,6 @@ module Aws::S3
|
|
4948
5101
|
# * *HTTP Status Code:* 400 Bad Request
|
4949
5102
|
#
|
4950
5103
|
# * *SOAP Fault Code Prefix:* Client
|
4951
|
-
#
|
4952
5104
|
# * * *Code:* InvalidLocationConstraint
|
4953
5105
|
#
|
4954
5106
|
# * *Description:* The specified location constraint is not valid.
|
@@ -4958,7 +5110,6 @@ module Aws::S3
|
|
4958
5110
|
# * *HTTP Status Code:* 400 Bad Request
|
4959
5111
|
#
|
4960
5112
|
# * *SOAP Fault Code Prefix:* Client
|
4961
|
-
#
|
4962
5113
|
# * * *Code:* InvalidObjectState
|
4963
5114
|
#
|
4964
5115
|
# * *Description:* The action is not valid for the current state of
|
@@ -4967,7 +5118,6 @@ module Aws::S3
|
|
4967
5118
|
# * *HTTP Status Code:* 403 Forbidden
|
4968
5119
|
#
|
4969
5120
|
# * *SOAP Fault Code Prefix:* Client
|
4970
|
-
#
|
4971
5121
|
# * * *Code:* InvalidPart
|
4972
5122
|
#
|
4973
5123
|
# * *Description:* One or more of the specified parts could not be
|
@@ -4977,7 +5127,6 @@ module Aws::S3
|
|
4977
5127
|
# * *HTTP Status Code:* 400 Bad Request
|
4978
5128
|
#
|
4979
5129
|
# * *SOAP Fault Code Prefix:* Client
|
4980
|
-
#
|
4981
5130
|
# * * *Code:* InvalidPartOrder
|
4982
5131
|
#
|
4983
5132
|
# * *Description:* The list of parts was not in ascending order.
|
@@ -4986,7 +5135,6 @@ module Aws::S3
|
|
4986
5135
|
# * *HTTP Status Code:* 400 Bad Request
|
4987
5136
|
#
|
4988
5137
|
# * *SOAP Fault Code Prefix:* Client
|
4989
|
-
#
|
4990
5138
|
# * * *Code:* InvalidPayer
|
4991
5139
|
#
|
4992
5140
|
# * *Description:* All access to this object has been disabled.
|
@@ -4996,7 +5144,6 @@ module Aws::S3
|
|
4996
5144
|
# * *HTTP Status Code:* 403 Forbidden
|
4997
5145
|
#
|
4998
5146
|
# * *SOAP Fault Code Prefix:* Client
|
4999
|
-
#
|
5000
5147
|
# * * *Code:* InvalidPolicyDocument
|
5001
5148
|
#
|
5002
5149
|
# * *Description:* The content of the form does not meet the
|
@@ -5005,7 +5152,6 @@ module Aws::S3
|
|
5005
5152
|
# * *HTTP Status Code:* 400 Bad Request
|
5006
5153
|
#
|
5007
5154
|
# * *SOAP Fault Code Prefix:* Client
|
5008
|
-
#
|
5009
5155
|
# * * *Code:* InvalidRange
|
5010
5156
|
#
|
5011
5157
|
# * *Description:* The requested range cannot be satisfied.
|
@@ -5013,7 +5159,6 @@ module Aws::S3
|
|
5013
5159
|
# * *HTTP Status Code:* 416 Requested Range Not Satisfiable
|
5014
5160
|
#
|
5015
5161
|
# * *SOAP Fault Code Prefix:* Client
|
5016
|
-
#
|
5017
5162
|
# * * *Code:* InvalidRequest
|
5018
5163
|
#
|
5019
5164
|
# * *Description:* Please use `AWS4-HMAC-SHA256`.
|
@@ -5021,7 +5166,6 @@ module Aws::S3
|
|
5021
5166
|
# * *HTTP Status Code:* 400 Bad Request
|
5022
5167
|
#
|
5023
5168
|
# * *Code:* N/A
|
5024
|
-
#
|
5025
5169
|
# * * *Code:* InvalidRequest
|
5026
5170
|
#
|
5027
5171
|
# * *Description:* SOAP requests must be made over an HTTPS
|
@@ -5030,7 +5174,6 @@ module Aws::S3
|
|
5030
5174
|
# * *HTTP Status Code:* 400 Bad Request
|
5031
5175
|
#
|
5032
5176
|
# * *SOAP Fault Code Prefix:* Client
|
5033
|
-
#
|
5034
5177
|
# * * *Code:* InvalidRequest
|
5035
5178
|
#
|
5036
5179
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5039,7 +5182,6 @@ module Aws::S3
|
|
5039
5182
|
# * *HTTP Status Code:* 400 Bad Request
|
5040
5183
|
#
|
5041
5184
|
# * *Code:* N/A
|
5042
|
-
#
|
5043
5185
|
# * * *Code:* InvalidRequest
|
5044
5186
|
#
|
5045
5187
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5048,7 +5190,6 @@ module Aws::S3
|
|
5048
5190
|
# * *HTTP Status Code:* 400 Bad Request
|
5049
5191
|
#
|
5050
5192
|
# * *Code:* N/A
|
5051
|
-
#
|
5052
5193
|
# * * *Code:* InvalidRequest
|
5053
5194
|
#
|
5054
5195
|
# * *Description:* Amazon S3 Transfer Accelerate endpoint only
|
@@ -5057,7 +5198,6 @@ module Aws::S3
|
|
5057
5198
|
# * *HTTP Status Code:* 400 Bad Request
|
5058
5199
|
#
|
5059
5200
|
# * *Code:* N/A
|
5060
|
-
#
|
5061
5201
|
# * * *Code:* InvalidRequest
|
5062
5202
|
#
|
5063
5203
|
# * *Description:* Amazon S3 Transfer Accelerate is not configured
|
@@ -5066,7 +5206,6 @@ module Aws::S3
|
|
5066
5206
|
# * *HTTP Status Code:* 400 Bad Request
|
5067
5207
|
#
|
5068
5208
|
# * *Code:* N/A
|
5069
|
-
#
|
5070
5209
|
# * * *Code:* InvalidRequest
|
5071
5210
|
#
|
5072
5211
|
# * *Description:* Amazon S3 Transfer Accelerate is disabled on this
|
@@ -5075,7 +5214,6 @@ module Aws::S3
|
|
5075
5214
|
# * *HTTP Status Code:* 400 Bad Request
|
5076
5215
|
#
|
5077
5216
|
# * *Code:* N/A
|
5078
|
-
#
|
5079
5217
|
# * * *Code:* InvalidRequest
|
5080
5218
|
#
|
5081
5219
|
# * *Description:* Amazon S3 Transfer Acceleration is not supported
|
@@ -5085,7 +5223,6 @@ module Aws::S3
|
|
5085
5223
|
# * *HTTP Status Code:* 400 Bad Request
|
5086
5224
|
#
|
5087
5225
|
# * *Code:* N/A
|
5088
|
-
#
|
5089
5226
|
# * * *Code:* InvalidRequest
|
5090
5227
|
#
|
5091
5228
|
# * *Description:* Amazon S3 Transfer Acceleration cannot be enabled
|
@@ -5095,7 +5232,6 @@ module Aws::S3
|
|
5095
5232
|
# * *HTTP Status Code:* 400 Bad Request
|
5096
5233
|
#
|
5097
5234
|
# * *Code:* N/A
|
5098
|
-
#
|
5099
5235
|
# * * *Code:* InvalidSecurity
|
5100
5236
|
#
|
5101
5237
|
# * *Description:* The provided security credentials are not valid.
|
@@ -5103,7 +5239,6 @@ module Aws::S3
|
|
5103
5239
|
# * *HTTP Status Code:* 403 Forbidden
|
5104
5240
|
#
|
5105
5241
|
# * *SOAP Fault Code Prefix:* Client
|
5106
|
-
#
|
5107
5242
|
# * * *Code:* InvalidSOAPRequest
|
5108
5243
|
#
|
5109
5244
|
# * *Description:* The SOAP request body is invalid.
|
@@ -5111,7 +5246,6 @@ module Aws::S3
|
|
5111
5246
|
# * *HTTP Status Code:* 400 Bad Request
|
5112
5247
|
#
|
5113
5248
|
# * *SOAP Fault Code Prefix:* Client
|
5114
|
-
#
|
5115
5249
|
# * * *Code:* InvalidStorageClass
|
5116
5250
|
#
|
5117
5251
|
# * *Description:* The storage class you specified is not valid.
|
@@ -5119,7 +5253,6 @@ module Aws::S3
|
|
5119
5253
|
# * *HTTP Status Code:* 400 Bad Request
|
5120
5254
|
#
|
5121
5255
|
# * *SOAP Fault Code Prefix:* Client
|
5122
|
-
#
|
5123
5256
|
# * * *Code:* InvalidTargetBucketForLogging
|
5124
5257
|
#
|
5125
5258
|
# * *Description:* The target bucket for logging does not exist, is
|
@@ -5129,7 +5262,6 @@ module Aws::S3
|
|
5129
5262
|
# * *HTTP Status Code:* 400 Bad Request
|
5130
5263
|
#
|
5131
5264
|
# * *SOAP Fault Code Prefix:* Client
|
5132
|
-
#
|
5133
5265
|
# * * *Code:* InvalidToken
|
5134
5266
|
#
|
5135
5267
|
# * *Description:* The provided token is malformed or otherwise
|
@@ -5138,7 +5270,6 @@ module Aws::S3
|
|
5138
5270
|
# * *HTTP Status Code:* 400 Bad Request
|
5139
5271
|
#
|
5140
5272
|
# * *SOAP Fault Code Prefix:* Client
|
5141
|
-
#
|
5142
5273
|
# * * *Code:* InvalidURI
|
5143
5274
|
#
|
5144
5275
|
# * *Description:* Couldn't parse the specified URI.
|
@@ -5146,7 +5277,6 @@ module Aws::S3
|
|
5146
5277
|
# * *HTTP Status Code:* 400 Bad Request
|
5147
5278
|
#
|
5148
5279
|
# * *SOAP Fault Code Prefix:* Client
|
5149
|
-
#
|
5150
5280
|
# * * *Code:* KeyTooLongError
|
5151
5281
|
#
|
5152
5282
|
# * *Description:* Your key is too long.
|
@@ -5154,7 +5284,6 @@ module Aws::S3
|
|
5154
5284
|
# * *HTTP Status Code:* 400 Bad Request
|
5155
5285
|
#
|
5156
5286
|
# * *SOAP Fault Code Prefix:* Client
|
5157
|
-
#
|
5158
5287
|
# * * *Code:* MalformedACLError
|
5159
5288
|
#
|
5160
5289
|
# * *Description:* The XML you provided was not well-formed or did
|
@@ -5163,7 +5292,6 @@ module Aws::S3
|
|
5163
5292
|
# * *HTTP Status Code:* 400 Bad Request
|
5164
5293
|
#
|
5165
5294
|
# * *SOAP Fault Code Prefix:* Client
|
5166
|
-
#
|
5167
5295
|
# * * *Code:* MalformedPOSTRequest
|
5168
5296
|
#
|
5169
5297
|
# * *Description:* The body of your POST request is not well-formed
|
@@ -5172,7 +5300,6 @@ module Aws::S3
|
|
5172
5300
|
# * *HTTP Status Code:* 400 Bad Request
|
5173
5301
|
#
|
5174
5302
|
# * *SOAP Fault Code Prefix:* Client
|
5175
|
-
#
|
5176
5303
|
# * * *Code:* MalformedXML
|
5177
5304
|
#
|
5178
5305
|
# * *Description:* This happens when the user sends malformed XML
|
@@ -5184,7 +5311,6 @@ module Aws::S3
|
|
5184
5311
|
# * *HTTP Status Code:* 400 Bad Request
|
5185
5312
|
#
|
5186
5313
|
# * *SOAP Fault Code Prefix:* Client
|
5187
|
-
#
|
5188
5314
|
# * * *Code:* MaxMessageLengthExceeded
|
5189
5315
|
#
|
5190
5316
|
# * *Description:* Your request was too big.
|
@@ -5192,7 +5318,6 @@ module Aws::S3
|
|
5192
5318
|
# * *HTTP Status Code:* 400 Bad Request
|
5193
5319
|
#
|
5194
5320
|
# * *SOAP Fault Code Prefix:* Client
|
5195
|
-
#
|
5196
5321
|
# * * *Code:* MaxPostPreDataLengthExceededError
|
5197
5322
|
#
|
5198
5323
|
# * *Description:* Your POST request fields preceding the upload
|
@@ -5201,7 +5326,6 @@ module Aws::S3
|
|
5201
5326
|
# * *HTTP Status Code:* 400 Bad Request
|
5202
5327
|
#
|
5203
5328
|
# * *SOAP Fault Code Prefix:* Client
|
5204
|
-
#
|
5205
5329
|
# * * *Code:* MetadataTooLarge
|
5206
5330
|
#
|
5207
5331
|
# * *Description:* Your metadata headers exceed the maximum allowed
|
@@ -5210,7 +5334,6 @@ module Aws::S3
|
|
5210
5334
|
# * *HTTP Status Code:* 400 Bad Request
|
5211
5335
|
#
|
5212
5336
|
# * *SOAP Fault Code Prefix:* Client
|
5213
|
-
#
|
5214
5337
|
# * * *Code:* MethodNotAllowed
|
5215
5338
|
#
|
5216
5339
|
# * *Description:* The specified method is not allowed against this
|
@@ -5219,7 +5342,6 @@ module Aws::S3
|
|
5219
5342
|
# * *HTTP Status Code:* 405 Method Not Allowed
|
5220
5343
|
#
|
5221
5344
|
# * *SOAP Fault Code Prefix:* Client
|
5222
|
-
#
|
5223
5345
|
# * * *Code:* MissingAttachment
|
5224
5346
|
#
|
5225
5347
|
# * *Description:* A SOAP attachment was expected, but none were
|
@@ -5228,7 +5350,6 @@ module Aws::S3
|
|
5228
5350
|
# * *HTTP Status Code:* N/A
|
5229
5351
|
#
|
5230
5352
|
# * *SOAP Fault Code Prefix:* Client
|
5231
|
-
#
|
5232
5353
|
# * * *Code:* MissingContentLength
|
5233
5354
|
#
|
5234
5355
|
# * *Description:* You must provide the Content-Length HTTP header.
|
@@ -5236,7 +5357,6 @@ module Aws::S3
|
|
5236
5357
|
# * *HTTP Status Code:* 411 Length Required
|
5237
5358
|
#
|
5238
5359
|
# * *SOAP Fault Code Prefix:* Client
|
5239
|
-
#
|
5240
5360
|
# * * *Code:* MissingRequestBodyError
|
5241
5361
|
#
|
5242
5362
|
# * *Description:* This happens when the user sends an empty XML
|
@@ -5246,7 +5366,6 @@ module Aws::S3
|
|
5246
5366
|
# * *HTTP Status Code:* 400 Bad Request
|
5247
5367
|
#
|
5248
5368
|
# * *SOAP Fault Code Prefix:* Client
|
5249
|
-
#
|
5250
5369
|
# * * *Code:* MissingSecurityElement
|
5251
5370
|
#
|
5252
5371
|
# * *Description:* The SOAP 1.1 request is missing a security
|
@@ -5255,7 +5374,6 @@ module Aws::S3
|
|
5255
5374
|
# * *HTTP Status Code:* 400 Bad Request
|
5256
5375
|
#
|
5257
5376
|
# * *SOAP Fault Code Prefix:* Client
|
5258
|
-
#
|
5259
5377
|
# * * *Code:* MissingSecurityHeader
|
5260
5378
|
#
|
5261
5379
|
# * *Description:* Your request is missing a required header.
|
@@ -5263,7 +5381,6 @@ module Aws::S3
|
|
5263
5381
|
# * *HTTP Status Code:* 400 Bad Request
|
5264
5382
|
#
|
5265
5383
|
# * *SOAP Fault Code Prefix:* Client
|
5266
|
-
#
|
5267
5384
|
# * * *Code:* NoLoggingStatusForKey
|
5268
5385
|
#
|
5269
5386
|
# * *Description:* There is no such thing as a logging status
|
@@ -5272,7 +5389,6 @@ module Aws::S3
|
|
5272
5389
|
# * *HTTP Status Code:* 400 Bad Request
|
5273
5390
|
#
|
5274
5391
|
# * *SOAP Fault Code Prefix:* Client
|
5275
|
-
#
|
5276
5392
|
# * * *Code:* NoSuchBucket
|
5277
5393
|
#
|
5278
5394
|
# * *Description:* The specified bucket does not exist.
|
@@ -5280,7 +5396,6 @@ module Aws::S3
|
|
5280
5396
|
# * *HTTP Status Code:* 404 Not Found
|
5281
5397
|
#
|
5282
5398
|
# * *SOAP Fault Code Prefix:* Client
|
5283
|
-
#
|
5284
5399
|
# * * *Code:* NoSuchBucketPolicy
|
5285
5400
|
#
|
5286
5401
|
# * *Description:* The specified bucket does not have a bucket
|
@@ -5289,7 +5404,6 @@ module Aws::S3
|
|
5289
5404
|
# * *HTTP Status Code:* 404 Not Found
|
5290
5405
|
#
|
5291
5406
|
# * *SOAP Fault Code Prefix:* Client
|
5292
|
-
#
|
5293
5407
|
# * * *Code:* NoSuchKey
|
5294
5408
|
#
|
5295
5409
|
# * *Description:* The specified key does not exist.
|
@@ -5297,7 +5411,6 @@ module Aws::S3
|
|
5297
5411
|
# * *HTTP Status Code:* 404 Not Found
|
5298
5412
|
#
|
5299
5413
|
# * *SOAP Fault Code Prefix:* Client
|
5300
|
-
#
|
5301
5414
|
# * * *Code:* NoSuchLifecycleConfiguration
|
5302
5415
|
#
|
5303
5416
|
# * *Description:* The lifecycle configuration does not exist.
|
@@ -5305,7 +5418,6 @@ module Aws::S3
|
|
5305
5418
|
# * *HTTP Status Code:* 404 Not Found
|
5306
5419
|
#
|
5307
5420
|
# * *SOAP Fault Code Prefix:* Client
|
5308
|
-
#
|
5309
5421
|
# * * *Code:* NoSuchUpload
|
5310
5422
|
#
|
5311
5423
|
# * *Description:* The specified multipart upload does not exist.
|
@@ -5315,7 +5427,6 @@ module Aws::S3
|
|
5315
5427
|
# * *HTTP Status Code:* 404 Not Found
|
5316
5428
|
#
|
5317
5429
|
# * *SOAP Fault Code Prefix:* Client
|
5318
|
-
#
|
5319
5430
|
# * * *Code:* NoSuchVersion
|
5320
5431
|
#
|
5321
5432
|
# * *Description:* Indicates that the version ID specified in the
|
@@ -5324,7 +5435,6 @@ module Aws::S3
|
|
5324
5435
|
# * *HTTP Status Code:* 404 Not Found
|
5325
5436
|
#
|
5326
5437
|
# * *SOAP Fault Code Prefix:* Client
|
5327
|
-
#
|
5328
5438
|
# * * *Code:* NotImplemented
|
5329
5439
|
#
|
5330
5440
|
# * *Description:* A header you provided implies functionality that
|
@@ -5333,7 +5443,6 @@ module Aws::S3
|
|
5333
5443
|
# * *HTTP Status Code:* 501 Not Implemented
|
5334
5444
|
#
|
5335
5445
|
# * *SOAP Fault Code Prefix:* Server
|
5336
|
-
#
|
5337
5446
|
# * * *Code:* NotSignedUp
|
5338
5447
|
#
|
5339
5448
|
# * *Description:* Your account is not signed up for the Amazon S3
|
@@ -5343,7 +5452,6 @@ module Aws::S3
|
|
5343
5452
|
# * *HTTP Status Code:* 403 Forbidden
|
5344
5453
|
#
|
5345
5454
|
# * *SOAP Fault Code Prefix:* Client
|
5346
|
-
#
|
5347
5455
|
# * * *Code:* OperationAborted
|
5348
5456
|
#
|
5349
5457
|
# * *Description:* A conflicting conditional action is currently in
|
@@ -5352,7 +5460,6 @@ module Aws::S3
|
|
5352
5460
|
# * *HTTP Status Code:* 409 Conflict
|
5353
5461
|
#
|
5354
5462
|
# * *SOAP Fault Code Prefix:* Client
|
5355
|
-
#
|
5356
5463
|
# * * *Code:* PermanentRedirect
|
5357
5464
|
#
|
5358
5465
|
# * *Description:* The bucket you are attempting to access must be
|
@@ -5362,7 +5469,6 @@ module Aws::S3
|
|
5362
5469
|
# * *HTTP Status Code:* 301 Moved Permanently
|
5363
5470
|
#
|
5364
5471
|
# * *SOAP Fault Code Prefix:* Client
|
5365
|
-
#
|
5366
5472
|
# * * *Code:* PreconditionFailed
|
5367
5473
|
#
|
5368
5474
|
# * *Description:* At least one of the preconditions you specified
|
@@ -5371,7 +5477,6 @@ module Aws::S3
|
|
5371
5477
|
# * *HTTP Status Code:* 412 Precondition Failed
|
5372
5478
|
#
|
5373
5479
|
# * *SOAP Fault Code Prefix:* Client
|
5374
|
-
#
|
5375
5480
|
# * * *Code:* Redirect
|
5376
5481
|
#
|
5377
5482
|
# * *Description:* Temporary redirect.
|
@@ -5379,7 +5484,6 @@ module Aws::S3
|
|
5379
5484
|
# * *HTTP Status Code:* 307 Moved Temporarily
|
5380
5485
|
#
|
5381
5486
|
# * *SOAP Fault Code Prefix:* Client
|
5382
|
-
#
|
5383
5487
|
# * * *Code:* RestoreAlreadyInProgress
|
5384
5488
|
#
|
5385
5489
|
# * *Description:* Object restore is already in progress.
|
@@ -5387,7 +5491,6 @@ module Aws::S3
|
|
5387
5491
|
# * *HTTP Status Code:* 409 Conflict
|
5388
5492
|
#
|
5389
5493
|
# * *SOAP Fault Code Prefix:* Client
|
5390
|
-
#
|
5391
5494
|
# * * *Code:* RequestIsNotMultiPartContent
|
5392
5495
|
#
|
5393
5496
|
# * *Description:* Bucket POST must be of the enclosure-type
|
@@ -5396,7 +5499,6 @@ module Aws::S3
|
|
5396
5499
|
# * *HTTP Status Code:* 400 Bad Request
|
5397
5500
|
#
|
5398
5501
|
# * *SOAP Fault Code Prefix:* Client
|
5399
|
-
#
|
5400
5502
|
# * * *Code:* RequestTimeout
|
5401
5503
|
#
|
5402
5504
|
# * *Description:* Your socket connection to the server was not read
|
@@ -5405,7 +5507,6 @@ module Aws::S3
|
|
5405
5507
|
# * *HTTP Status Code:* 400 Bad Request
|
5406
5508
|
#
|
5407
5509
|
# * *SOAP Fault Code Prefix:* Client
|
5408
|
-
#
|
5409
5510
|
# * * *Code:* RequestTimeTooSkewed
|
5410
5511
|
#
|
5411
5512
|
# * *Description:* The difference between the request time and the
|
@@ -5414,7 +5515,6 @@ module Aws::S3
|
|
5414
5515
|
# * *HTTP Status Code:* 403 Forbidden
|
5415
5516
|
#
|
5416
5517
|
# * *SOAP Fault Code Prefix:* Client
|
5417
|
-
#
|
5418
5518
|
# * * *Code:* RequestTorrentOfBucketError
|
5419
5519
|
#
|
5420
5520
|
# * *Description:* Requesting the torrent file of a bucket is not
|
@@ -5423,7 +5523,6 @@ module Aws::S3
|
|
5423
5523
|
# * *HTTP Status Code:* 400 Bad Request
|
5424
5524
|
#
|
5425
5525
|
# * *SOAP Fault Code Prefix:* Client
|
5426
|
-
#
|
5427
5526
|
# * * *Code:* SignatureDoesNotMatch
|
5428
5527
|
#
|
5429
5528
|
# * *Description:* The request signature we calculated does not
|
@@ -5435,7 +5534,6 @@ module Aws::S3
|
|
5435
5534
|
# * *HTTP Status Code:* 403 Forbidden
|
5436
5535
|
#
|
5437
5536
|
# * *SOAP Fault Code Prefix:* Client
|
5438
|
-
#
|
5439
5537
|
# * * *Code:* ServiceUnavailable
|
5440
5538
|
#
|
5441
5539
|
# * *Description:* Service is unable to handle request.
|
@@ -5443,7 +5541,6 @@ module Aws::S3
|
|
5443
5541
|
# * *HTTP Status Code:* 503 Service Unavailable
|
5444
5542
|
#
|
5445
5543
|
# * *SOAP Fault Code Prefix:* Server
|
5446
|
-
#
|
5447
5544
|
# * * *Code:* SlowDown
|
5448
5545
|
#
|
5449
5546
|
# * *Description:* Reduce your request rate.
|
@@ -5451,7 +5548,6 @@ module Aws::S3
|
|
5451
5548
|
# * *HTTP Status Code:* 503 Slow Down
|
5452
5549
|
#
|
5453
5550
|
# * *SOAP Fault Code Prefix:* Server
|
5454
|
-
#
|
5455
5551
|
# * * *Code:* TemporaryRedirect
|
5456
5552
|
#
|
5457
5553
|
# * *Description:* You are being redirected to the bucket while DNS
|
@@ -5460,7 +5556,6 @@ module Aws::S3
|
|
5460
5556
|
# * *HTTP Status Code:* 307 Moved Temporarily
|
5461
5557
|
#
|
5462
5558
|
# * *SOAP Fault Code Prefix:* Client
|
5463
|
-
#
|
5464
5559
|
# * * *Code:* TokenRefreshRequired
|
5465
5560
|
#
|
5466
5561
|
# * *Description:* The provided token must be refreshed.
|
@@ -5468,7 +5563,6 @@ module Aws::S3
|
|
5468
5563
|
# * *HTTP Status Code:* 400 Bad Request
|
5469
5564
|
#
|
5470
5565
|
# * *SOAP Fault Code Prefix:* Client
|
5471
|
-
#
|
5472
5566
|
# * * *Code:* TooManyBuckets
|
5473
5567
|
#
|
5474
5568
|
# * *Description:* You have attempted to create more buckets than
|
@@ -5477,7 +5571,6 @@ module Aws::S3
|
|
5477
5571
|
# * *HTTP Status Code:* 400 Bad Request
|
5478
5572
|
#
|
5479
5573
|
# * *SOAP Fault Code Prefix:* Client
|
5480
|
-
#
|
5481
5574
|
# * * *Code:* UnexpectedContent
|
5482
5575
|
#
|
5483
5576
|
# * *Description:* This request does not support content.
|
@@ -5485,7 +5578,6 @@ module Aws::S3
|
|
5485
5578
|
# * *HTTP Status Code:* 400 Bad Request
|
5486
5579
|
#
|
5487
5580
|
# * *SOAP Fault Code Prefix:* Client
|
5488
|
-
#
|
5489
5581
|
# * * *Code:* UnresolvableGrantByEmailAddress
|
5490
5582
|
#
|
5491
5583
|
# * *Description:* The email address you provided does not match any
|
@@ -5494,7 +5586,6 @@ module Aws::S3
|
|
5494
5586
|
# * *HTTP Status Code:* 400 Bad Request
|
5495
5587
|
#
|
5496
5588
|
# * *SOAP Fault Code Prefix:* Client
|
5497
|
-
#
|
5498
5589
|
# * * *Code:* UserKeyMustBeSpecified
|
5499
5590
|
#
|
5500
5591
|
# * *Description:* The bucket POST must contain the specified field
|
@@ -5536,6 +5627,103 @@ module Aws::S3
|
|
5536
5627
|
include Aws::Structure
|
5537
5628
|
end
|
5538
5629
|
|
5630
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds, but
|
5631
|
+
# S3 Metadata was unable to create the table, this structure contains
|
5632
|
+
# the error code and error message.
|
5633
|
+
#
|
5634
|
+
# @!attribute [rw] error_code
|
5635
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
5636
|
+
# but S3 Metadata was unable to create the table, this structure
|
5637
|
+
# contains the error code. The possible error codes and error messages
|
5638
|
+
# are as follows:
|
5639
|
+
#
|
5640
|
+
# * `AccessDeniedCreatingResources` - You don't have sufficient
|
5641
|
+
# permissions to create the required resources. Make sure that you
|
5642
|
+
# have `s3tables:CreateNamespace`, `s3tables:CreateTable`,
|
5643
|
+
# `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and
|
5644
|
+
# then try again. To create a new metadata table, you must delete
|
5645
|
+
# the metadata configuration for this bucket, and then create a new
|
5646
|
+
# metadata configuration.
|
5647
|
+
#
|
5648
|
+
# * `AccessDeniedWritingToTable` - Unable to write to the metadata
|
5649
|
+
# table because of missing resource permissions. To fix the resource
|
5650
|
+
# policy, Amazon S3 needs to create a new metadata table. To create
|
5651
|
+
# a new metadata table, you must delete the metadata configuration
|
5652
|
+
# for this bucket, and then create a new metadata configuration.
|
5653
|
+
#
|
5654
|
+
# * `DestinationTableNotFound` - The destination table doesn't exist.
|
5655
|
+
# To create a new metadata table, you must delete the metadata
|
5656
|
+
# configuration for this bucket, and then create a new metadata
|
5657
|
+
# configuration.
|
5658
|
+
#
|
5659
|
+
# * `ServerInternalError` - An internal error has occurred. To create
|
5660
|
+
# a new metadata table, you must delete the metadata configuration
|
5661
|
+
# for this bucket, and then create a new metadata configuration.
|
5662
|
+
#
|
5663
|
+
# * `TableAlreadyExists` - The table that you specified already exists
|
5664
|
+
# in the table bucket's namespace. Specify a different table name.
|
5665
|
+
# To create a new metadata table, you must delete the metadata
|
5666
|
+
# configuration for this bucket, and then create a new metadata
|
5667
|
+
# configuration.
|
5668
|
+
#
|
5669
|
+
# * `TableBucketNotFound` - The table bucket that you specified
|
5670
|
+
# doesn't exist in this Amazon Web Services Region and account.
|
5671
|
+
# Create or choose a different table bucket. To create a new
|
5672
|
+
# metadata table, you must delete the metadata configuration for
|
5673
|
+
# this bucket, and then create a new metadata configuration.
|
5674
|
+
# @return [String]
|
5675
|
+
#
|
5676
|
+
# @!attribute [rw] error_message
|
5677
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
5678
|
+
# but S3 Metadata was unable to create the table, this structure
|
5679
|
+
# contains the error message. The possible error codes and error
|
5680
|
+
# messages are as follows:
|
5681
|
+
#
|
5682
|
+
# * `AccessDeniedCreatingResources` - You don't have sufficient
|
5683
|
+
# permissions to create the required resources. Make sure that you
|
5684
|
+
# have `s3tables:CreateNamespace`, `s3tables:CreateTable`,
|
5685
|
+
# `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and
|
5686
|
+
# then try again. To create a new metadata table, you must delete
|
5687
|
+
# the metadata configuration for this bucket, and then create a new
|
5688
|
+
# metadata configuration.
|
5689
|
+
#
|
5690
|
+
# * `AccessDeniedWritingToTable` - Unable to write to the metadata
|
5691
|
+
# table because of missing resource permissions. To fix the resource
|
5692
|
+
# policy, Amazon S3 needs to create a new metadata table. To create
|
5693
|
+
# a new metadata table, you must delete the metadata configuration
|
5694
|
+
# for this bucket, and then create a new metadata configuration.
|
5695
|
+
#
|
5696
|
+
# * `DestinationTableNotFound` - The destination table doesn't exist.
|
5697
|
+
# To create a new metadata table, you must delete the metadata
|
5698
|
+
# configuration for this bucket, and then create a new metadata
|
5699
|
+
# configuration.
|
5700
|
+
#
|
5701
|
+
# * `ServerInternalError` - An internal error has occurred. To create
|
5702
|
+
# a new metadata table, you must delete the metadata configuration
|
5703
|
+
# for this bucket, and then create a new metadata configuration.
|
5704
|
+
#
|
5705
|
+
# * `TableAlreadyExists` - The table that you specified already exists
|
5706
|
+
# in the table bucket's namespace. Specify a different table name.
|
5707
|
+
# To create a new metadata table, you must delete the metadata
|
5708
|
+
# configuration for this bucket, and then create a new metadata
|
5709
|
+
# configuration.
|
5710
|
+
#
|
5711
|
+
# * `TableBucketNotFound` - The table bucket that you specified
|
5712
|
+
# doesn't exist in this Amazon Web Services Region and account.
|
5713
|
+
# Create or choose a different table bucket. To create a new
|
5714
|
+
# metadata table, you must delete the metadata configuration for
|
5715
|
+
# this bucket, and then create a new metadata configuration.
|
5716
|
+
# @return [String]
|
5717
|
+
#
|
5718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDetails AWS API Documentation
|
5719
|
+
#
|
5720
|
+
class ErrorDetails < Struct.new(
|
5721
|
+
:error_code,
|
5722
|
+
:error_message)
|
5723
|
+
SENSITIVE = []
|
5724
|
+
include Aws::Structure
|
5725
|
+
end
|
5726
|
+
|
5539
5727
|
# The error information.
|
5540
5728
|
#
|
5541
5729
|
# @!attribute [rw] key
|
@@ -5843,13 +6031,14 @@ module Aws::S3
|
|
5843
6031
|
#
|
5844
6032
|
# <b>Directory buckets </b> - When you use this operation with a
|
5845
6033
|
# directory bucket, you must use path-style requests in the format
|
5846
|
-
# `https://s3express-control.
|
6034
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
5847
6035
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
5848
|
-
# names must be unique in the chosen Availability Zone
|
5849
|
-
# must also follow the format `
|
5850
|
-
#
|
5851
|
-
#
|
5852
|
-
# rules][1] in the
|
6036
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
6037
|
+
# Zone). Bucket names must also follow the format `
|
6038
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
6039
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6040
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6041
|
+
# *Amazon S3 User Guide*
|
5853
6042
|
#
|
5854
6043
|
#
|
5855
6044
|
#
|
@@ -5954,6 +6143,11 @@ module Aws::S3
|
|
5954
6143
|
# Indicates which default minimum object size behavior is applied to
|
5955
6144
|
# the lifecycle configuration.
|
5956
6145
|
#
|
6146
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
6147
|
+
# supported for directory bucket lifecycle configurations.
|
6148
|
+
#
|
6149
|
+
# </note>
|
6150
|
+
#
|
5957
6151
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
5958
6152
|
# transition to any storage class by default.
|
5959
6153
|
#
|
@@ -5986,6 +6180,11 @@ module Aws::S3
|
|
5986
6180
|
# you provide does not match the actual owner of the bucket, the
|
5987
6181
|
# request fails with the HTTP status code `403 Forbidden` (access
|
5988
6182
|
# denied).
|
6183
|
+
#
|
6184
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
6185
|
+
# supported for directory bucket lifecycle configurations.
|
6186
|
+
#
|
6187
|
+
# </note>
|
5989
6188
|
# @return [String]
|
5990
6189
|
#
|
5991
6190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest AWS API Documentation
|
@@ -6120,6 +6319,73 @@ module Aws::S3
|
|
6120
6319
|
include Aws::Structure
|
6121
6320
|
end
|
6122
6321
|
|
6322
|
+
# @!attribute [rw] get_bucket_metadata_table_configuration_result
|
6323
|
+
# The metadata table configuration for the general purpose bucket.
|
6324
|
+
# @return [Types::GetBucketMetadataTableConfigurationResult]
|
6325
|
+
#
|
6326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationOutput AWS API Documentation
|
6327
|
+
#
|
6328
|
+
class GetBucketMetadataTableConfigurationOutput < Struct.new(
|
6329
|
+
:get_bucket_metadata_table_configuration_result)
|
6330
|
+
SENSITIVE = []
|
6331
|
+
include Aws::Structure
|
6332
|
+
end
|
6333
|
+
|
6334
|
+
# @!attribute [rw] bucket
|
6335
|
+
# The general purpose bucket that contains the metadata table
|
6336
|
+
# configuration that you want to retrieve.
|
6337
|
+
# @return [String]
|
6338
|
+
#
|
6339
|
+
# @!attribute [rw] expected_bucket_owner
|
6340
|
+
# The expected owner of the general purpose bucket that you want to
|
6341
|
+
# retrieve the metadata table configuration from.
|
6342
|
+
# @return [String]
|
6343
|
+
#
|
6344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationRequest AWS API Documentation
|
6345
|
+
#
|
6346
|
+
class GetBucketMetadataTableConfigurationRequest < Struct.new(
|
6347
|
+
:bucket,
|
6348
|
+
:expected_bucket_owner)
|
6349
|
+
SENSITIVE = []
|
6350
|
+
include Aws::Structure
|
6351
|
+
end
|
6352
|
+
|
6353
|
+
# The metadata table configuration for a general purpose bucket.
|
6354
|
+
#
|
6355
|
+
# @!attribute [rw] metadata_table_configuration_result
|
6356
|
+
# The metadata table configuration for a general purpose bucket.
|
6357
|
+
# @return [Types::MetadataTableConfigurationResult]
|
6358
|
+
#
|
6359
|
+
# @!attribute [rw] status
|
6360
|
+
# The status of the metadata table. The status values are:
|
6361
|
+
#
|
6362
|
+
# * `CREATING` - The metadata table is in the process of being created
|
6363
|
+
# in the specified table bucket.
|
6364
|
+
#
|
6365
|
+
# * `ACTIVE` - The metadata table has been created successfully and
|
6366
|
+
# records are being delivered to the table.
|
6367
|
+
#
|
6368
|
+
# * `FAILED` - Amazon S3 is unable to create the metadata table, or
|
6369
|
+
# Amazon S3 is unable to deliver records. See `ErrorDetails` for
|
6370
|
+
# details.
|
6371
|
+
# @return [String]
|
6372
|
+
#
|
6373
|
+
# @!attribute [rw] error
|
6374
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
6375
|
+
# but S3 Metadata was unable to create the table, this structure
|
6376
|
+
# contains the error code and error message.
|
6377
|
+
# @return [Types::ErrorDetails]
|
6378
|
+
#
|
6379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationResult AWS API Documentation
|
6380
|
+
#
|
6381
|
+
class GetBucketMetadataTableConfigurationResult < Struct.new(
|
6382
|
+
:metadata_table_configuration_result,
|
6383
|
+
:status,
|
6384
|
+
:error)
|
6385
|
+
SENSITIVE = []
|
6386
|
+
include Aws::Structure
|
6387
|
+
end
|
6388
|
+
|
6123
6389
|
# @!attribute [rw] metrics_configuration
|
6124
6390
|
# Specifies the metrics configuration.
|
6125
6391
|
# @return [Types::MetricsConfiguration]
|
@@ -6246,13 +6512,14 @@ module Aws::S3
|
|
6246
6512
|
#
|
6247
6513
|
# <b>Directory buckets </b> - When you use this operation with a
|
6248
6514
|
# directory bucket, you must use path-style requests in the format
|
6249
|
-
# `https://s3express-control.
|
6515
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
6250
6516
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
6251
|
-
# names must be unique in the chosen Availability Zone
|
6252
|
-
# must also follow the format `
|
6253
|
-
#
|
6254
|
-
#
|
6255
|
-
# rules][1] in the
|
6517
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
6518
|
+
# Zone). Bucket names must also follow the format `
|
6519
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
6520
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6521
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6522
|
+
# *Amazon S3 User Guide*
|
6256
6523
|
#
|
6257
6524
|
# **Access points** - When you use this API operation with an access
|
6258
6525
|
# point, provide the alias of the access point in place of the bucket
|
@@ -6627,7 +6894,7 @@ module Aws::S3
|
|
6627
6894
|
# @return [Boolean]
|
6628
6895
|
#
|
6629
6896
|
# @!attribute [rw] last_modified
|
6630
|
-
#
|
6897
|
+
# Date and time when the object was last modified.
|
6631
6898
|
# @return [Time]
|
6632
6899
|
#
|
6633
6900
|
# @!attribute [rw] version_id
|
@@ -6759,10 +7026,10 @@ module Aws::S3
|
|
6759
7026
|
#
|
6760
7027
|
# **Directory buckets** - When you use this operation with a directory
|
6761
7028
|
# bucket, you must use virtual-hosted-style requests in the format `
|
6762
|
-
#
|
7029
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
6763
7030
|
# requests are not supported. Directory bucket names must be unique in
|
6764
|
-
# the chosen Availability Zone. Bucket names must
|
6765
|
-
#
|
7031
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
7032
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
6766
7033
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6767
7034
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6768
7035
|
# *Amazon S3 User Guide*.
|
@@ -7059,7 +7326,9 @@ module Aws::S3
|
|
7059
7326
|
# providing object expiration information. The value of the `rule-id`
|
7060
7327
|
# is URL-encoded.
|
7061
7328
|
#
|
7062
|
-
# <note markdown="1">
|
7329
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
7330
|
+
# and this header returns the value "`NotImplemented`" in all
|
7331
|
+
# responses for directory buckets.
|
7063
7332
|
#
|
7064
7333
|
# </note>
|
7065
7334
|
#
|
@@ -7371,10 +7640,10 @@ module Aws::S3
|
|
7371
7640
|
#
|
7372
7641
|
# **Directory buckets** - When you use this operation with a directory
|
7373
7642
|
# bucket, you must use virtual-hosted-style requests in the format `
|
7374
|
-
#
|
7643
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
7375
7644
|
# requests are not supported. Directory bucket names must be unique in
|
7376
|
-
# the chosen Availability Zone. Bucket names must
|
7377
|
-
#
|
7645
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
7646
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
7378
7647
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
7379
7648
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
7380
7649
|
# *Amazon S3 User Guide*.
|
@@ -8102,8 +8371,9 @@ module Aws::S3
|
|
8102
8371
|
# @!attribute [rw] bucket_location_name
|
8103
8372
|
# The name of the location where the bucket will be created.
|
8104
8373
|
#
|
8105
|
-
# For directory buckets, the
|
8106
|
-
# bucket is created. An example
|
8374
|
+
# For directory buckets, the Zone ID of the Availability Zone or the
|
8375
|
+
# Local Zone where the bucket is created. An example Zone ID value for
|
8376
|
+
# an Availability Zone is `usw2-az1`.
|
8107
8377
|
#
|
8108
8378
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
8109
8379
|
#
|
@@ -8139,10 +8409,10 @@ module Aws::S3
|
|
8139
8409
|
#
|
8140
8410
|
# **Directory buckets** - When you use this operation with a directory
|
8141
8411
|
# bucket, you must use virtual-hosted-style requests in the format `
|
8142
|
-
#
|
8412
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
8143
8413
|
# requests are not supported. Directory bucket names must be unique in
|
8144
|
-
# the chosen Availability Zone. Bucket names must
|
8145
|
-
#
|
8414
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
8415
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
8146
8416
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
8147
8417
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
8148
8418
|
# *Amazon S3 User Guide*.
|
@@ -8224,7 +8494,9 @@ module Aws::S3
|
|
8224
8494
|
# providing object expiration information. The value of the `rule-id`
|
8225
8495
|
# is URL-encoded.
|
8226
8496
|
#
|
8227
|
-
# <note markdown="1">
|
8497
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
8498
|
+
# and this header returns the value "`NotImplemented`" in all
|
8499
|
+
# responses for directory buckets.
|
8228
8500
|
#
|
8229
8501
|
# </note>
|
8230
8502
|
#
|
@@ -8613,10 +8885,10 @@ module Aws::S3
|
|
8613
8885
|
#
|
8614
8886
|
# **Directory buckets** - When you use this operation with a directory
|
8615
8887
|
# bucket, you must use virtual-hosted-style requests in the format `
|
8616
|
-
#
|
8888
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
8617
8889
|
# requests are not supported. Directory bucket names must be unique in
|
8618
|
-
# the chosen Availability Zone. Bucket names must
|
8619
|
-
#
|
8890
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
8891
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
8620
8892
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
8621
8893
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
8622
8894
|
# *Amazon S3 User Guide*.
|
@@ -9105,6 +9377,28 @@ module Aws::S3
|
|
9105
9377
|
include Aws::Structure
|
9106
9378
|
end
|
9107
9379
|
|
9380
|
+
# You may receive this error in multiple cases. Depending on the reason
|
9381
|
+
# for the error, you may receive one of the messages below:
|
9382
|
+
#
|
9383
|
+
# * Cannot specify both a write offset value and user-defined object
|
9384
|
+
# metadata for existing objects.
|
9385
|
+
#
|
9386
|
+
# * Checksum Type mismatch occurred, expected checksum Type: sha1,
|
9387
|
+
# actual checksum Type: crc32c.
|
9388
|
+
#
|
9389
|
+
# * Request body cannot be empty when 'write offset' is specified.
|
9390
|
+
#
|
9391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidRequest AWS API Documentation
|
9392
|
+
#
|
9393
|
+
class InvalidRequest < Aws::EmptyStructure; end
|
9394
|
+
|
9395
|
+
# The write offset value that you specified does not match the current
|
9396
|
+
# object size.
|
9397
|
+
#
|
9398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidWriteOffset AWS API Documentation
|
9399
|
+
#
|
9400
|
+
class InvalidWriteOffset < Aws::EmptyStructure; end
|
9401
|
+
|
9108
9402
|
# Specifies the inventory configuration for an Amazon S3 bucket. For
|
9109
9403
|
# more information, see [GET Bucket inventory][1] in the *Amazon S3 API
|
9110
9404
|
# Reference*.
|
@@ -9379,6 +9673,11 @@ module Aws::S3
|
|
9379
9673
|
# Indicates at what date the object is to be moved or deleted. The
|
9380
9674
|
# date value must conform to the ISO 8601 format. The time is always
|
9381
9675
|
# midnight UTC.
|
9676
|
+
#
|
9677
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9678
|
+
# supported for directory bucket lifecycle configurations.
|
9679
|
+
#
|
9680
|
+
# </note>
|
9382
9681
|
# @return [Time]
|
9383
9682
|
#
|
9384
9683
|
# @!attribute [rw] days
|
@@ -9391,6 +9690,11 @@ module Aws::S3
|
|
9391
9690
|
# noncurrent versions. If set to true, the delete marker will be
|
9392
9691
|
# expired; if set to false the policy takes no action. This cannot be
|
9393
9692
|
# specified with Days or Date in a Lifecycle Expiration Policy.
|
9693
|
+
#
|
9694
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9695
|
+
# supported for directory bucket lifecycle configurations.
|
9696
|
+
#
|
9697
|
+
# </note>
|
9394
9698
|
# @return [Boolean]
|
9395
9699
|
#
|
9396
9700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration AWS API Documentation
|
@@ -9440,6 +9744,10 @@ module Aws::S3
|
|
9440
9744
|
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
|
9441
9745
|
# `And` specified. `Filter` is required if the `LifecycleRule` does
|
9442
9746
|
# not contain a `Prefix` element.
|
9747
|
+
#
|
9748
|
+
# <note markdown="1"> `Tag` filters are not supported for directory buckets.
|
9749
|
+
#
|
9750
|
+
# </note>
|
9443
9751
|
# @return [Types::LifecycleRuleFilter]
|
9444
9752
|
#
|
9445
9753
|
# @!attribute [rw] status
|
@@ -9450,6 +9758,11 @@ module Aws::S3
|
|
9450
9758
|
# @!attribute [rw] transitions
|
9451
9759
|
# Specifies when an Amazon S3 object transitions to a specified
|
9452
9760
|
# storage class.
|
9761
|
+
#
|
9762
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9763
|
+
# supported for directory bucket lifecycle configurations.
|
9764
|
+
#
|
9765
|
+
# </note>
|
9453
9766
|
# @return [Array<Types::Transition>]
|
9454
9767
|
#
|
9455
9768
|
# @!attribute [rw] noncurrent_version_transitions
|
@@ -9459,6 +9772,11 @@ module Aws::S3
|
|
9459
9772
|
# can set this action to request that Amazon S3 transition noncurrent
|
9460
9773
|
# object versions to a specific storage class at a set period in the
|
9461
9774
|
# object's lifetime.
|
9775
|
+
#
|
9776
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9777
|
+
# supported for directory bucket lifecycle configurations.
|
9778
|
+
#
|
9779
|
+
# </note>
|
9462
9780
|
# @return [Array<Types::NoncurrentVersionTransition>]
|
9463
9781
|
#
|
9464
9782
|
# @!attribute [rw] noncurrent_version_expiration
|
@@ -9468,6 +9786,11 @@ module Aws::S3
|
|
9468
9786
|
# versioning enabled (or suspended) to request that Amazon S3 delete
|
9469
9787
|
# noncurrent object versions at a specific period in the object's
|
9470
9788
|
# lifetime.
|
9789
|
+
#
|
9790
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9791
|
+
# supported for directory bucket lifecycle configurations.
|
9792
|
+
#
|
9793
|
+
# </note>
|
9471
9794
|
# @return [Types::NoncurrentVersionExpiration]
|
9472
9795
|
#
|
9473
9796
|
# @!attribute [rw] abort_incomplete_multipart_upload
|
@@ -9551,6 +9874,11 @@ module Aws::S3
|
|
9551
9874
|
# @!attribute [rw] tag
|
9552
9875
|
# This tag must exist in the object's tag set in order for the rule
|
9553
9876
|
# to apply.
|
9877
|
+
#
|
9878
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
9879
|
+
# supported for directory bucket lifecycle configurations.
|
9880
|
+
#
|
9881
|
+
# </note>
|
9554
9882
|
# @return [Types::Tag]
|
9555
9883
|
#
|
9556
9884
|
# @!attribute [rw] object_size_greater_than
|
@@ -9869,6 +10197,14 @@ module Aws::S3
|
|
9869
10197
|
# Length Constraints: Minimum length of 0. Maximum length of 1024.
|
9870
10198
|
#
|
9871
10199
|
# Required: No.
|
10200
|
+
#
|
10201
|
+
# <note markdown="1"> If you specify the `bucket-region`, `prefix`, or
|
10202
|
+
# `continuation-token` query parameters without using `max-buckets` to
|
10203
|
+
# set the maximum number of buckets returned in the response, Amazon
|
10204
|
+
# S3 applies a default page size of 10,000 and provides a continuation
|
10205
|
+
# token if there are more buckets.
|
10206
|
+
#
|
10207
|
+
# </note>
|
9872
10208
|
# @return [String]
|
9873
10209
|
#
|
9874
10210
|
# @!attribute [rw] prefix
|
@@ -10083,10 +10419,10 @@ module Aws::S3
|
|
10083
10419
|
#
|
10084
10420
|
# **Directory buckets** - When you use this operation with a directory
|
10085
10421
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10086
|
-
#
|
10422
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10087
10423
|
# requests are not supported. Directory bucket names must be unique in
|
10088
|
-
# the chosen Availability Zone. Bucket names must
|
10089
|
-
#
|
10424
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
10425
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10090
10426
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10091
10427
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10092
10428
|
# *Amazon S3 User Guide*.
|
@@ -10605,10 +10941,10 @@ module Aws::S3
|
|
10605
10941
|
#
|
10606
10942
|
# **Directory buckets** - When you use this operation with a directory
|
10607
10943
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10608
|
-
#
|
10944
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10609
10945
|
# requests are not supported. Directory bucket names must be unique in
|
10610
|
-
# the chosen Availability Zone. Bucket names must
|
10611
|
-
#
|
10946
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
10947
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10612
10948
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10613
10949
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10614
10950
|
# *Amazon S3 User Guide*.
|
@@ -10876,10 +11212,10 @@ module Aws::S3
|
|
10876
11212
|
# @!attribute [rw] bucket
|
10877
11213
|
# **Directory buckets** - When you use this operation with a directory
|
10878
11214
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10879
|
-
#
|
11215
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10880
11216
|
# requests are not supported. Directory bucket names must be unique in
|
10881
|
-
# the chosen Availability Zone. Bucket names must
|
10882
|
-
#
|
11217
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
11218
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10883
11219
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10884
11220
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10885
11221
|
# *Amazon S3 User Guide*.
|
@@ -11187,10 +11523,10 @@ module Aws::S3
|
|
11187
11523
|
#
|
11188
11524
|
# **Directory buckets** - When you use this operation with a directory
|
11189
11525
|
# bucket, you must use virtual-hosted-style requests in the format `
|
11190
|
-
#
|
11526
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
11191
11527
|
# requests are not supported. Directory bucket names must be unique in
|
11192
|
-
# the chosen Availability Zone. Bucket names must
|
11193
|
-
#
|
11528
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
11529
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
11194
11530
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
11195
11531
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
11196
11532
|
# *Amazon S3 User Guide*.
|
@@ -11334,9 +11670,9 @@ module Aws::S3
|
|
11334
11670
|
|
11335
11671
|
# Specifies the location where the bucket will be created.
|
11336
11672
|
#
|
11337
|
-
# For directory buckets, the location type is Availability Zone
|
11338
|
-
# more information about directory buckets, see [
|
11339
|
-
# in the *Amazon S3 User Guide*.
|
11673
|
+
# For directory buckets, the location type is Availability Zone or Local
|
11674
|
+
# Zone. For more information about directory buckets, see [Working with
|
11675
|
+
# directory buckets][1] in the *Amazon S3 User Guide*.
|
11340
11676
|
#
|
11341
11677
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
11342
11678
|
#
|
@@ -11353,9 +11689,9 @@ module Aws::S3
|
|
11353
11689
|
# @!attribute [rw] name
|
11354
11690
|
# The name of the location where the bucket will be created.
|
11355
11691
|
#
|
11356
|
-
# For directory buckets, the name of the location is the
|
11357
|
-
# Availability Zone
|
11358
|
-
# value is `usw2-az1`.
|
11692
|
+
# For directory buckets, the name of the location is the Zone ID of
|
11693
|
+
# the Availability Zone (AZ) or Local Zone (LZ) where the bucket will
|
11694
|
+
# be created. An example AZ ID value is `usw2-az1`.
|
11359
11695
|
# @return [String]
|
11360
11696
|
#
|
11361
11697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LocationInfo AWS API Documentation
|
@@ -11438,6 +11774,46 @@ module Aws::S3
|
|
11438
11774
|
include Aws::Structure
|
11439
11775
|
end
|
11440
11776
|
|
11777
|
+
# The metadata table configuration for a general purpose bucket.
|
11778
|
+
#
|
11779
|
+
# @!attribute [rw] s3_tables_destination
|
11780
|
+
# The destination information for the metadata table configuration.
|
11781
|
+
# The destination table bucket must be in the same Region and Amazon
|
11782
|
+
# Web Services account as the general purpose bucket. The specified
|
11783
|
+
# metadata table name must be unique within the `aws_s3_metadata`
|
11784
|
+
# namespace in the destination table bucket.
|
11785
|
+
# @return [Types::S3TablesDestination]
|
11786
|
+
#
|
11787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataTableConfiguration AWS API Documentation
|
11788
|
+
#
|
11789
|
+
class MetadataTableConfiguration < Struct.new(
|
11790
|
+
:s3_tables_destination)
|
11791
|
+
SENSITIVE = []
|
11792
|
+
include Aws::Structure
|
11793
|
+
end
|
11794
|
+
|
11795
|
+
# The metadata table configuration for a general purpose bucket. The
|
11796
|
+
# destination table bucket must be in the same Region and Amazon Web
|
11797
|
+
# Services account as the general purpose bucket. The specified metadata
|
11798
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
11799
|
+
# the destination table bucket.
|
11800
|
+
#
|
11801
|
+
# @!attribute [rw] s3_tables_destination_result
|
11802
|
+
# The destination information for the metadata table configuration.
|
11803
|
+
# The destination table bucket must be in the same Region and Amazon
|
11804
|
+
# Web Services account as the general purpose bucket. The specified
|
11805
|
+
# metadata table name must be unique within the `aws_s3_metadata`
|
11806
|
+
# namespace in the destination table bucket.
|
11807
|
+
# @return [Types::S3TablesDestinationResult]
|
11808
|
+
#
|
11809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataTableConfigurationResult AWS API Documentation
|
11810
|
+
#
|
11811
|
+
class MetadataTableConfigurationResult < Struct.new(
|
11812
|
+
:s3_tables_destination_result)
|
11813
|
+
SENSITIVE = []
|
11814
|
+
include Aws::Structure
|
11815
|
+
end
|
11816
|
+
|
11441
11817
|
# A container specifying replication metrics-related settings enabling
|
11442
11818
|
# replication metrics and events.
|
11443
11819
|
#
|
@@ -11638,6 +12014,11 @@ module Aws::S3
|
|
11638
12014
|
# enabled (or suspended) to request that Amazon S3 delete noncurrent
|
11639
12015
|
# object versions at a specific period in the object's lifetime.
|
11640
12016
|
#
|
12017
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
12018
|
+
# supported for directory bucket lifecycle configurations.
|
12019
|
+
#
|
12020
|
+
# </note>
|
12021
|
+
#
|
11641
12022
|
# @!attribute [rw] noncurrent_days
|
11642
12023
|
# Specifies the number of days an object is noncurrent before Amazon
|
11643
12024
|
# S3 can perform the associated action. The value must be a non-zero
|
@@ -11645,6 +12026,11 @@ module Aws::S3
|
|
11645
12026
|
# calculations, see [How Amazon S3 Calculates When an Object Became
|
11646
12027
|
# Noncurrent][1] in the *Amazon S3 User Guide*.
|
11647
12028
|
#
|
12029
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
12030
|
+
# supported for directory bucket lifecycle configurations.
|
12031
|
+
#
|
12032
|
+
# </note>
|
12033
|
+
#
|
11648
12034
|
#
|
11649
12035
|
#
|
11650
12036
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
|
@@ -11658,6 +12044,11 @@ module Aws::S3
|
|
11658
12044
|
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
11659
12045
|
# S3 User Guide*.
|
11660
12046
|
#
|
12047
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
12048
|
+
# supported for directory bucket lifecycle configurations.
|
12049
|
+
#
|
12050
|
+
# </note>
|
12051
|
+
#
|
11661
12052
|
#
|
11662
12053
|
#
|
11663
12054
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
|
@@ -11928,11 +12319,43 @@ module Aws::S3
|
|
11928
12319
|
# </note>
|
11929
12320
|
# @return [String]
|
11930
12321
|
#
|
12322
|
+
# @!attribute [rw] etag
|
12323
|
+
# An entity tag (ETag) is an identifier assigned by a web server to a
|
12324
|
+
# specific version of a resource found at a URL. This header field
|
12325
|
+
# makes the request method conditional on `ETags`.
|
12326
|
+
#
|
12327
|
+
# <note markdown="1"> Entity tags (ETags) for S3 Express One Zone are random alphanumeric
|
12328
|
+
# strings unique to the object.
|
12329
|
+
#
|
12330
|
+
# </note>
|
12331
|
+
# @return [String]
|
12332
|
+
#
|
12333
|
+
# @!attribute [rw] last_modified_time
|
12334
|
+
# If present, the objects are deleted only if its modification times
|
12335
|
+
# matches the provided `Timestamp`.
|
12336
|
+
#
|
12337
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
12338
|
+
#
|
12339
|
+
# </note>
|
12340
|
+
# @return [Time]
|
12341
|
+
#
|
12342
|
+
# @!attribute [rw] size
|
12343
|
+
# If present, the objects are deleted only if its size matches the
|
12344
|
+
# provided size in bytes.
|
12345
|
+
#
|
12346
|
+
# <note markdown="1"> This functionality is only supported for directory buckets.
|
12347
|
+
#
|
12348
|
+
# </note>
|
12349
|
+
# @return [Integer]
|
12350
|
+
#
|
11931
12351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier AWS API Documentation
|
11932
12352
|
#
|
11933
12353
|
class ObjectIdentifier < Struct.new(
|
11934
12354
|
:key,
|
11935
|
-
:version_id
|
12355
|
+
:version_id,
|
12356
|
+
:etag,
|
12357
|
+
:last_modified_time,
|
12358
|
+
:size)
|
11936
12359
|
SENSITIVE = []
|
11937
12360
|
include Aws::Structure
|
11938
12361
|
end
|
@@ -12792,13 +13215,14 @@ module Aws::S3
|
|
12792
13215
|
#
|
12793
13216
|
# <b>Directory buckets </b> - When you use this operation with a
|
12794
13217
|
# directory bucket, you must use path-style requests in the format
|
12795
|
-
# `https://s3express-control.
|
13218
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
12796
13219
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
12797
|
-
# names must be unique in the chosen Availability Zone
|
12798
|
-
# must also follow the format `
|
12799
|
-
#
|
12800
|
-
#
|
12801
|
-
# rules][1] in the
|
13220
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
13221
|
+
# Zone). Bucket names must also follow the format `
|
13222
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
13223
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
13224
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
13225
|
+
# *Amazon S3 User Guide*
|
12802
13226
|
#
|
12803
13227
|
#
|
12804
13228
|
#
|
@@ -12928,6 +13352,11 @@ module Aws::S3
|
|
12928
13352
|
# Indicates which default minimum object size behavior is applied to
|
12929
13353
|
# the lifecycle configuration.
|
12930
13354
|
#
|
13355
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13356
|
+
# supported for directory bucket lifecycle configurations.
|
13357
|
+
#
|
13358
|
+
# </note>
|
13359
|
+
#
|
12931
13360
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
12932
13361
|
# transition to any storage class by default.
|
12933
13362
|
#
|
@@ -12980,12 +13409,22 @@ module Aws::S3
|
|
12980
13409
|
# you provide does not match the actual owner of the bucket, the
|
12981
13410
|
# request fails with the HTTP status code `403 Forbidden` (access
|
12982
13411
|
# denied).
|
13412
|
+
#
|
13413
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13414
|
+
# supported for directory bucket lifecycle configurations.
|
13415
|
+
#
|
13416
|
+
# </note>
|
12983
13417
|
# @return [String]
|
12984
13418
|
#
|
12985
13419
|
# @!attribute [rw] transition_default_minimum_object_size
|
12986
13420
|
# Indicates which default minimum object size behavior is applied to
|
12987
13421
|
# the lifecycle configuration.
|
12988
13422
|
#
|
13423
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
13424
|
+
# supported for directory bucket lifecycle configurations.
|
13425
|
+
#
|
13426
|
+
# </note>
|
13427
|
+
#
|
12989
13428
|
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
12990
13429
|
# transition to any storage class by default.
|
12991
13430
|
#
|
@@ -13270,13 +13709,14 @@ module Aws::S3
|
|
13270
13709
|
#
|
13271
13710
|
# <b>Directory buckets </b> - When you use this operation with a
|
13272
13711
|
# directory bucket, you must use path-style requests in the format
|
13273
|
-
# `https://s3express-control.
|
13712
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
13274
13713
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
13275
|
-
# names must be unique in the chosen Availability Zone
|
13276
|
-
# must also follow the format `
|
13277
|
-
#
|
13278
|
-
#
|
13279
|
-
# rules][1] in the
|
13714
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
13715
|
+
# Zone). Bucket names must also follow the format `
|
13716
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
13717
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
13718
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
13719
|
+
# *Amazon S3 User Guide*
|
13280
13720
|
#
|
13281
13721
|
#
|
13282
13722
|
#
|
@@ -14085,7 +14525,9 @@ module Aws::S3
|
|
14085
14525
|
# `rule-id` key-value pairs that provide information about object
|
14086
14526
|
# expiration. The value of the `rule-id` is URL-encoded.
|
14087
14527
|
#
|
14088
|
-
# <note markdown="1">
|
14528
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
14529
|
+
# and this header returns the value "`NotImplemented`" in all
|
14530
|
+
# responses for directory buckets.
|
14089
14531
|
#
|
14090
14532
|
# </note>
|
14091
14533
|
#
|
@@ -14236,6 +14678,16 @@ module Aws::S3
|
|
14236
14678
|
# (SSE-KMS).
|
14237
14679
|
# @return [Boolean]
|
14238
14680
|
#
|
14681
|
+
# @!attribute [rw] size
|
14682
|
+
# The size of the object in bytes. This will only be present if you
|
14683
|
+
# append to an object.
|
14684
|
+
#
|
14685
|
+
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
14686
|
+
# Express One Zone storage class in directory buckets.
|
14687
|
+
#
|
14688
|
+
# </note>
|
14689
|
+
# @return [Integer]
|
14690
|
+
#
|
14239
14691
|
# @!attribute [rw] request_charged
|
14240
14692
|
# If present, indicates that the requester was successfully charged
|
14241
14693
|
# for the request.
|
@@ -14261,6 +14713,7 @@ module Aws::S3
|
|
14261
14713
|
:ssekms_key_id,
|
14262
14714
|
:ssekms_encryption_context,
|
14263
14715
|
:bucket_key_enabled,
|
14716
|
+
:size,
|
14264
14717
|
:request_charged)
|
14265
14718
|
SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
|
14266
14719
|
include Aws::Structure
|
@@ -14314,10 +14767,10 @@ module Aws::S3
|
|
14314
14767
|
#
|
14315
14768
|
# **Directory buckets** - When you use this operation with a directory
|
14316
14769
|
# bucket, you must use virtual-hosted-style requests in the format `
|
14317
|
-
#
|
14770
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
14318
14771
|
# requests are not supported. Directory bucket names must be unique in
|
14319
|
-
# the chosen Availability Zone. Bucket names must
|
14320
|
-
#
|
14772
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
14773
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
14321
14774
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
14322
14775
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
14323
14776
|
# *Amazon S3 User Guide*.
|
@@ -14543,6 +14996,27 @@ module Aws::S3
|
|
14543
14996
|
# [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
|
14544
14997
|
# @return [Time]
|
14545
14998
|
#
|
14999
|
+
# @!attribute [rw] if_match
|
15000
|
+
# Uploads the object only if the ETag (entity tag) value provided
|
15001
|
+
# during the WRITE operation matches the ETag of the object in S3. If
|
15002
|
+
# the ETag values do not match, the operation returns a `412
|
15003
|
+
# Precondition Failed` error.
|
15004
|
+
#
|
15005
|
+
# If a conflicting operation occurs during the upload S3 returns a
|
15006
|
+
# `409 ConditionalRequestConflict` response. On a 409 failure you
|
15007
|
+
# should fetch the object's ETag and retry the upload.
|
15008
|
+
#
|
15009
|
+
# Expects the ETag value as a string.
|
15010
|
+
#
|
15011
|
+
# For more information about conditional requests, see [RFC 7232][1],
|
15012
|
+
# or [Conditional requests][2] in the *Amazon S3 User Guide*.
|
15013
|
+
#
|
15014
|
+
#
|
15015
|
+
#
|
15016
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
15017
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
|
15018
|
+
# @return [String]
|
15019
|
+
#
|
14546
15020
|
# @!attribute [rw] if_none_match
|
14547
15021
|
# Uploads the object only if the object key name does not already
|
14548
15022
|
# exist in the bucket specified. Otherwise, Amazon S3 returns a `412
|
@@ -14608,6 +15082,18 @@ module Aws::S3
|
|
14608
15082
|
# Object key for which the PUT action was initiated.
|
14609
15083
|
# @return [String]
|
14610
15084
|
#
|
15085
|
+
# @!attribute [rw] write_offset_bytes
|
15086
|
+
# Specifies the offset for appending data to existing objects in
|
15087
|
+
# bytes. The offset must be equal to the size of the existing object
|
15088
|
+
# being appended to. If no object exists, setting this header to 0
|
15089
|
+
# will create a new object.
|
15090
|
+
#
|
15091
|
+
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
15092
|
+
# Express One Zone storage class in directory buckets.
|
15093
|
+
#
|
15094
|
+
# </note>
|
15095
|
+
# @return [Integer]
|
15096
|
+
#
|
14611
15097
|
# @!attribute [rw] metadata
|
14612
15098
|
# A map of metadata to store with the object in S3.
|
14613
15099
|
# @return [Hash<String,String>]
|
@@ -14934,12 +15420,14 @@ module Aws::S3
|
|
14934
15420
|
:checksum_sha1,
|
14935
15421
|
:checksum_sha256,
|
14936
15422
|
:expires,
|
15423
|
+
:if_match,
|
14937
15424
|
:if_none_match,
|
14938
15425
|
:grant_full_control,
|
14939
15426
|
:grant_read,
|
14940
15427
|
:grant_read_acp,
|
14941
15428
|
:grant_write_acp,
|
14942
15429
|
:key,
|
15430
|
+
:write_offset_bytes,
|
14943
15431
|
:metadata,
|
14944
15432
|
:server_side_encryption,
|
14945
15433
|
:storage_class,
|
@@ -15901,7 +16389,15 @@ module Aws::S3
|
|
15901
16389
|
# @return [Types::GlacierJobParameters]
|
15902
16390
|
#
|
15903
16391
|
# @!attribute [rw] type
|
16392
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16393
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16394
|
+
# usual. [Learn more][1]
|
16395
|
+
#
|
15904
16396
|
# Type of restore request.
|
16397
|
+
#
|
16398
|
+
#
|
16399
|
+
#
|
16400
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
15905
16401
|
# @return [String]
|
15906
16402
|
#
|
15907
16403
|
# @!attribute [rw] tier
|
@@ -15913,7 +16409,15 @@ module Aws::S3
|
|
15913
16409
|
# @return [String]
|
15914
16410
|
#
|
15915
16411
|
# @!attribute [rw] select_parameters
|
16412
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16413
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16414
|
+
# usual. [Learn more][1]
|
16415
|
+
#
|
15916
16416
|
# Describes the parameters for Select job types.
|
16417
|
+
#
|
16418
|
+
#
|
16419
|
+
#
|
16420
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
15917
16421
|
# @return [Types::SelectParameters]
|
15918
16422
|
#
|
15919
16423
|
# @!attribute [rw] output_location
|
@@ -16081,6 +16585,11 @@ module Aws::S3
|
|
16081
16585
|
# versioning enabled (or suspended) to request that Amazon S3 delete
|
16082
16586
|
# noncurrent object versions at a specific period in the object's
|
16083
16587
|
# lifetime.
|
16588
|
+
#
|
16589
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It is not
|
16590
|
+
# supported for directory bucket lifecycle configurations.
|
16591
|
+
#
|
16592
|
+
# </note>
|
16084
16593
|
# @return [Types::NoncurrentVersionExpiration]
|
16085
16594
|
#
|
16086
16595
|
# @!attribute [rw] abort_incomplete_multipart_upload
|
@@ -16176,6 +16685,78 @@ module Aws::S3
|
|
16176
16685
|
include Aws::Structure
|
16177
16686
|
end
|
16178
16687
|
|
16688
|
+
# The destination information for the metadata table configuration. The
|
16689
|
+
# destination table bucket must be in the same Region and Amazon Web
|
16690
|
+
# Services account as the general purpose bucket. The specified metadata
|
16691
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
16692
|
+
# the destination table bucket.
|
16693
|
+
#
|
16694
|
+
# @!attribute [rw] table_bucket_arn
|
16695
|
+
# The Amazon Resource Name (ARN) for the table bucket that's
|
16696
|
+
# specified as the destination in the metadata table configuration.
|
16697
|
+
# The destination table bucket must be in the same Region and Amazon
|
16698
|
+
# Web Services account as the general purpose bucket.
|
16699
|
+
# @return [String]
|
16700
|
+
#
|
16701
|
+
# @!attribute [rw] table_name
|
16702
|
+
# The name for the metadata table in your metadata table
|
16703
|
+
# configuration. The specified metadata table name must be unique
|
16704
|
+
# within the `aws_s3_metadata` namespace in the destination table
|
16705
|
+
# bucket.
|
16706
|
+
# @return [String]
|
16707
|
+
#
|
16708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3TablesDestination AWS API Documentation
|
16709
|
+
#
|
16710
|
+
class S3TablesDestination < Struct.new(
|
16711
|
+
:table_bucket_arn,
|
16712
|
+
:table_name)
|
16713
|
+
SENSITIVE = []
|
16714
|
+
include Aws::Structure
|
16715
|
+
end
|
16716
|
+
|
16717
|
+
# The destination information for the metadata table configuration. The
|
16718
|
+
# destination table bucket must be in the same Region and Amazon Web
|
16719
|
+
# Services account as the general purpose bucket. The specified metadata
|
16720
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
16721
|
+
# the destination table bucket.
|
16722
|
+
#
|
16723
|
+
# @!attribute [rw] table_bucket_arn
|
16724
|
+
# The Amazon Resource Name (ARN) for the table bucket that's
|
16725
|
+
# specified as the destination in the metadata table configuration.
|
16726
|
+
# The destination table bucket must be in the same Region and Amazon
|
16727
|
+
# Web Services account as the general purpose bucket.
|
16728
|
+
# @return [String]
|
16729
|
+
#
|
16730
|
+
# @!attribute [rw] table_name
|
16731
|
+
# The name for the metadata table in your metadata table
|
16732
|
+
# configuration. The specified metadata table name must be unique
|
16733
|
+
# within the `aws_s3_metadata` namespace in the destination table
|
16734
|
+
# bucket.
|
16735
|
+
# @return [String]
|
16736
|
+
#
|
16737
|
+
# @!attribute [rw] table_arn
|
16738
|
+
# The Amazon Resource Name (ARN) for the metadata table in the
|
16739
|
+
# metadata table configuration. The specified metadata table name must
|
16740
|
+
# be unique within the `aws_s3_metadata` namespace in the destination
|
16741
|
+
# table bucket.
|
16742
|
+
# @return [String]
|
16743
|
+
#
|
16744
|
+
# @!attribute [rw] table_namespace
|
16745
|
+
# The table bucket namespace for the metadata table in your metadata
|
16746
|
+
# table configuration. This value is always `aws_s3_metadata`.
|
16747
|
+
# @return [String]
|
16748
|
+
#
|
16749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3TablesDestinationResult AWS API Documentation
|
16750
|
+
#
|
16751
|
+
class S3TablesDestinationResult < Struct.new(
|
16752
|
+
:table_bucket_arn,
|
16753
|
+
:table_name,
|
16754
|
+
:table_arn,
|
16755
|
+
:table_namespace)
|
16756
|
+
SENSITIVE = []
|
16757
|
+
include Aws::Structure
|
16758
|
+
end
|
16759
|
+
|
16179
16760
|
# Specifies the use of SSE-KMS to encrypt delivered inventory reports.
|
16180
16761
|
#
|
16181
16762
|
# @!attribute [rw] key_id
|
@@ -16244,6 +16825,12 @@ module Aws::S3
|
|
16244
16825
|
include Aws::Structure
|
16245
16826
|
end
|
16246
16827
|
|
16828
|
+
# <note markdown="1"> Learn Amazon S3 Select is no longer available to new customers.
|
16829
|
+
# Existing customers of Amazon S3 Select can continue to use the feature
|
16830
|
+
# as usual. [Learn more][1]
|
16831
|
+
#
|
16832
|
+
# </note>
|
16833
|
+
#
|
16247
16834
|
# Request to filter the contents of an Amazon S3 object based on a
|
16248
16835
|
# simple Structured Query Language (SQL) statement. In the request,
|
16249
16836
|
# along with the SQL expression, you must specify a data serialization
|
@@ -16251,11 +16838,12 @@ module Aws::S3
|
|
16251
16838
|
# object data into records. It returns only records that match the
|
16252
16839
|
# specified SQL expression. You must also specify the data serialization
|
16253
16840
|
# format for the response. For more information, see [S3Select API
|
16254
|
-
# Documentation][
|
16841
|
+
# Documentation][2].
|
16255
16842
|
#
|
16256
16843
|
#
|
16257
16844
|
#
|
16258
|
-
# [1]:
|
16845
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16846
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html
|
16259
16847
|
#
|
16260
16848
|
# @!attribute [rw] bucket
|
16261
16849
|
# The S3 bucket.
|
@@ -16367,8 +16955,21 @@ module Aws::S3
|
|
16367
16955
|
include Aws::Structure
|
16368
16956
|
end
|
16369
16957
|
|
16958
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16959
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16960
|
+
# usual. [Learn more][1]
|
16961
|
+
#
|
16370
16962
|
# Describes the parameters for Select job types.
|
16371
16963
|
#
|
16964
|
+
# Learn [How to optimize querying your data in Amazon S3][1] using
|
16965
|
+
# [Amazon Athena][2], [S3 Object Lambda][3], or client-side filtering.
|
16966
|
+
#
|
16967
|
+
#
|
16968
|
+
#
|
16969
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16970
|
+
# [2]: https://docs.aws.amazon.com/athena/latest/ug/what-is.html
|
16971
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html
|
16972
|
+
#
|
16372
16973
|
# @!attribute [rw] input_serialization
|
16373
16974
|
# Describes the serialization format of the object.
|
16374
16975
|
# @return [Types::InputSerialization]
|
@@ -16378,7 +16979,15 @@ module Aws::S3
|
|
16378
16979
|
# @return [String]
|
16379
16980
|
#
|
16380
16981
|
# @!attribute [rw] expression
|
16982
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16983
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16984
|
+
# usual. [Learn more][1]
|
16985
|
+
#
|
16381
16986
|
# The expression that is used to query the object.
|
16987
|
+
#
|
16988
|
+
#
|
16989
|
+
#
|
16990
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16382
16991
|
# @return [String]
|
16383
16992
|
#
|
16384
16993
|
# @!attribute [rw] output_serialization
|
@@ -16828,7 +17437,7 @@ module Aws::S3
|
|
16828
17437
|
#
|
16829
17438
|
# @!attribute [rw] simple_prefix
|
16830
17439
|
# To use the simple format for S3 keys for log objects. To specify
|
16831
|
-
# SimplePrefix format, set SimplePrefix to
|
17440
|
+
# SimplePrefix format, set SimplePrefix to \{}.
|
16832
17441
|
# @return [Types::SimplePrefix]
|
16833
17442
|
#
|
16834
17443
|
# @!attribute [rw] partitioned_prefix
|
@@ -16876,6 +17485,15 @@ module Aws::S3
|
|
16876
17485
|
include Aws::Structure
|
16877
17486
|
end
|
16878
17487
|
|
17488
|
+
# You have attempted to add more parts than the maximum of 10000 that
|
17489
|
+
# are allowed for this object. You can use the CopyObject operation to
|
17490
|
+
# copy this object to another and then add more data to the newly copied
|
17491
|
+
# object.
|
17492
|
+
#
|
17493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TooManyParts AWS API Documentation
|
17494
|
+
#
|
17495
|
+
class TooManyParts < Aws::EmptyStructure; end
|
17496
|
+
|
16879
17497
|
# A container for specifying the configuration for publication of
|
16880
17498
|
# messages to an Amazon Simple Notification Service (Amazon SNS) topic
|
16881
17499
|
# when Amazon S3 detects specified events.
|
@@ -17077,14 +17695,22 @@ module Aws::S3
|
|
17077
17695
|
#
|
17078
17696
|
# **Directory buckets** - When you use this operation with a directory
|
17079
17697
|
# bucket, you must use virtual-hosted-style requests in the format `
|
17080
|
-
#
|
17698
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
17081
17699
|
# requests are not supported. Directory bucket names must be unique in
|
17082
|
-
# the chosen Availability Zone. Bucket names must
|
17083
|
-
#
|
17700
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
17701
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
17084
17702
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
17085
17703
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
17086
17704
|
# *Amazon S3 User Guide*.
|
17087
17705
|
#
|
17706
|
+
# <note markdown="1"> Copying objects across different Amazon Web Services Regions isn't
|
17707
|
+
# supported when the source or destination bucket is in Amazon Web
|
17708
|
+
# Services Local Zones. The source and destination buckets must have
|
17709
|
+
# the same parent Amazon Web Services Region. Otherwise, you get an
|
17710
|
+
# HTTP `400 Bad Request` error with the error code `InvalidRequest`.
|
17711
|
+
#
|
17712
|
+
# </note>
|
17713
|
+
#
|
17088
17714
|
# **Access points** - When you use this action with an access point,
|
17089
17715
|
# you must provide the alias of the access point in place of the
|
17090
17716
|
# bucket name or specify the access point ARN. When using the access
|
@@ -17530,10 +18156,10 @@ module Aws::S3
|
|
17530
18156
|
#
|
17531
18157
|
# **Directory buckets** - When you use this operation with a directory
|
17532
18158
|
# bucket, you must use virtual-hosted-style requests in the format `
|
17533
|
-
#
|
18159
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
17534
18160
|
# requests are not supported. Directory bucket names must be unique in
|
17535
|
-
# the chosen Availability Zone. Bucket names must
|
17536
|
-
#
|
18161
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
18162
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
17537
18163
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
17538
18164
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
17539
18165
|
# *Amazon S3 User Guide*.
|