aws-sdk-s3 1.173.0 → 1.175.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +22 -2
- data/lib/aws-sdk-s3/client.rb +969 -722
- data/lib/aws-sdk-s3/client_api.rb +2 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +21 -0
- data/lib/aws-sdk-s3/object.rb +23 -1
- data/lib/aws-sdk-s3/object_summary.rb +20 -0
- data/lib/aws-sdk-s3/resource.rb +9 -8
- data/lib/aws-sdk-s3/types.rb +247 -116
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +3 -2
- data/sig/client.rbs +5 -3
- data/sig/multipart_upload.rbs +1 -0
- data/sig/object.rbs +1 -0
- data/sig/object_summary.rbs +1 -0
- data/sig/resource.rbs +2 -2
- data/sig/types.rbs +5 -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*.
|
@@ -406,8 +406,8 @@ module Aws::S3
|
|
406
406
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html
|
407
407
|
#
|
408
408
|
# @!attribute [rw] data_redundancy
|
409
|
-
# The number of Availability Zone that's used
|
410
|
-
# bucket.
|
409
|
+
# The number of Zone (Availability Zone or Local Zone) that's used
|
410
|
+
# for redundancy for the bucket.
|
411
411
|
# @return [String]
|
412
412
|
#
|
413
413
|
# @!attribute [rw] type
|
@@ -943,10 +943,10 @@ module Aws::S3
|
|
943
943
|
#
|
944
944
|
# **Directory buckets** - When you use this operation with a directory
|
945
945
|
# bucket, you must use virtual-hosted-style requests in the format `
|
946
|
-
#
|
946
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
947
947
|
# requests are not supported. Directory bucket names must be unique in
|
948
|
-
# the chosen Availability Zone. Bucket names must
|
949
|
-
#
|
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, `
|
950
950
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
951
951
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
952
952
|
# *Amazon S3 User Guide*.
|
@@ -1068,6 +1068,28 @@ module Aws::S3
|
|
1068
1068
|
# denied).
|
1069
1069
|
# @return [String]
|
1070
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
|
+
#
|
1071
1093
|
# @!attribute [rw] if_none_match
|
1072
1094
|
# Uploads the object only if the object key name does not already
|
1073
1095
|
# exist in the bucket specified. Otherwise, Amazon S3 returns a `412
|
@@ -1148,6 +1170,7 @@ module Aws::S3
|
|
1148
1170
|
:checksum_sha256,
|
1149
1171
|
:request_payer,
|
1150
1172
|
:expected_bucket_owner,
|
1173
|
+
:if_match,
|
1151
1174
|
:if_none_match,
|
1152
1175
|
:sse_customer_algorithm,
|
1153
1176
|
:sse_customer_key,
|
@@ -1330,7 +1353,9 @@ module Aws::S3
|
|
1330
1353
|
# If the object expiration is configured, the response includes this
|
1331
1354
|
# header.
|
1332
1355
|
#
|
1333
|
-
# <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.
|
1334
1359
|
#
|
1335
1360
|
# </note>
|
1336
1361
|
# @return [String]
|
@@ -1462,14 +1487,22 @@ module Aws::S3
|
|
1462
1487
|
#
|
1463
1488
|
# **Directory buckets** - When you use this operation with a directory
|
1464
1489
|
# bucket, you must use virtual-hosted-style requests in the format `
|
1465
|
-
#
|
1490
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
1466
1491
|
# requests are not supported. Directory bucket names must be unique in
|
1467
|
-
# the chosen Availability Zone. Bucket names must
|
1468
|
-
#
|
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, `
|
1469
1494
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
1470
1495
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
1471
1496
|
# *Amazon S3 User Guide*.
|
1472
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
|
+
#
|
1473
1506
|
# **Access points** - When you use this action with an access point,
|
1474
1507
|
# you must provide the alias of the access point in place of the
|
1475
1508
|
# bucket name or specify the access point ARN. When using the access
|
@@ -2463,11 +2496,20 @@ module Aws::S3
|
|
2463
2496
|
# @!attribute [rw] location
|
2464
2497
|
# Specifies the location where the bucket will be created.
|
2465
2498
|
#
|
2466
|
-
#
|
2499
|
+
# <b>Directory buckets </b> - The location type is Availability Zone
|
2500
|
+
# or Local Zone. When the location type is Local Zone, your Local Zone
|
2501
|
+
# must be in opt-in status. Otherwise, you get an HTTP `400 Bad
|
2502
|
+
# Request` error with the error code `Access denied`. To learn more
|
2503
|
+
# about opt-in Local Zones, see [Opt-in Dedicated Local Zones][1]in
|
2504
|
+
# the *Amazon S3 User Guide*.
|
2467
2505
|
#
|
2468
2506
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
2469
2507
|
#
|
2470
2508
|
# </note>
|
2509
|
+
#
|
2510
|
+
#
|
2511
|
+
#
|
2512
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html
|
2471
2513
|
# @return [Types::LocationInfo]
|
2472
2514
|
#
|
2473
2515
|
# @!attribute [rw] bucket
|
@@ -2517,13 +2559,14 @@ module Aws::S3
|
|
2517
2559
|
#
|
2518
2560
|
# <b>Directory buckets </b> - When you use this operation with a
|
2519
2561
|
# directory bucket, you must use path-style requests in the format
|
2520
|
-
# `https://s3express-control.
|
2562
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
2521
2563
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
2522
|
-
# names must be unique in the chosen Availability Zone
|
2523
|
-
# must also follow the format `
|
2524
|
-
#
|
2525
|
-
#
|
2526
|
-
# rules][2] in the
|
2564
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
2565
|
+
# Zone). Bucket names must also follow the format `
|
2566
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
2567
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
2568
|
+
# naming restrictions, see [Directory bucket naming rules][2] in the
|
2569
|
+
# *Amazon S3 User Guide*
|
2527
2570
|
#
|
2528
2571
|
#
|
2529
2572
|
#
|
@@ -2801,10 +2844,10 @@ module Aws::S3
|
|
2801
2844
|
#
|
2802
2845
|
# **Directory buckets** - When you use this operation with a directory
|
2803
2846
|
# bucket, you must use virtual-hosted-style requests in the format `
|
2804
|
-
#
|
2847
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
2805
2848
|
# requests are not supported. Directory bucket names must be unique in
|
2806
|
-
# the chosen Availability Zone. Bucket names must
|
2807
|
-
#
|
2849
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
2850
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
2808
2851
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
2809
2852
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
2810
2853
|
# *Amazon S3 User Guide*.
|
@@ -3708,13 +3751,14 @@ module Aws::S3
|
|
3708
3751
|
#
|
3709
3752
|
# <b>Directory buckets </b> - When you use this operation with a
|
3710
3753
|
# directory bucket, you must use path-style requests in the format
|
3711
|
-
# `https://s3express-control.
|
3754
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3712
3755
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3713
|
-
# names must be unique in the chosen Availability Zone
|
3714
|
-
# must also follow the format `
|
3715
|
-
#
|
3716
|
-
#
|
3717
|
-
# rules][1] in the
|
3756
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
3757
|
+
# Zone). Bucket names must also follow the format `
|
3758
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
3759
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3760
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3761
|
+
# *Amazon S3 User Guide*
|
3718
3762
|
#
|
3719
3763
|
#
|
3720
3764
|
#
|
@@ -3865,13 +3909,14 @@ module Aws::S3
|
|
3865
3909
|
#
|
3866
3910
|
# <b>Directory buckets </b> - When you use this operation with a
|
3867
3911
|
# directory bucket, you must use path-style requests in the format
|
3868
|
-
# `https://s3express-control.
|
3912
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3869
3913
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3870
|
-
# names must be unique in the chosen Availability Zone
|
3871
|
-
# must also follow the format `
|
3872
|
-
#
|
3873
|
-
#
|
3874
|
-
# rules][1] in the
|
3914
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
3915
|
+
# Zone). Bucket names must also follow the format `
|
3916
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
3917
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3918
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3919
|
+
# *Amazon S3 User Guide*
|
3875
3920
|
#
|
3876
3921
|
#
|
3877
3922
|
#
|
@@ -3925,13 +3970,14 @@ module Aws::S3
|
|
3925
3970
|
#
|
3926
3971
|
# <b>Directory buckets </b> - When you use this operation with a
|
3927
3972
|
# directory bucket, you must use path-style requests in the format
|
3928
|
-
# `https://s3express-control.
|
3973
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
3929
3974
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3930
|
-
# names must be unique in the chosen Availability Zone
|
3931
|
-
# must also follow the format `
|
3932
|
-
#
|
3933
|
-
#
|
3934
|
-
# rules][1] in the
|
3975
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
3976
|
+
# Zone). Bucket names must also follow the format `
|
3977
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
3978
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3979
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3980
|
+
# *Amazon S3 User Guide*
|
3935
3981
|
#
|
3936
3982
|
#
|
3937
3983
|
#
|
@@ -4119,10 +4165,10 @@ module Aws::S3
|
|
4119
4165
|
#
|
4120
4166
|
# **Directory buckets** - When you use this operation with a directory
|
4121
4167
|
# bucket, you must use virtual-hosted-style requests in the format `
|
4122
|
-
#
|
4168
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
4123
4169
|
# requests are not supported. Directory bucket names must be unique in
|
4124
|
-
# the chosen Availability Zone. Bucket names must
|
4125
|
-
#
|
4170
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
4171
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
4126
4172
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4127
4173
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4128
4174
|
# *Amazon S3 User Guide*.
|
@@ -4384,10 +4430,10 @@ module Aws::S3
|
|
4384
4430
|
#
|
4385
4431
|
# **Directory buckets** - When you use this operation with a directory
|
4386
4432
|
# bucket, you must use virtual-hosted-style requests in the format `
|
4387
|
-
#
|
4433
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
4388
4434
|
# requests are not supported. Directory bucket names must be unique in
|
4389
|
-
# the chosen Availability Zone. Bucket names must
|
4390
|
-
#
|
4435
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
4436
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
4391
4437
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4392
4438
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4393
4439
|
# *Amazon S3 User Guide*.
|
@@ -5832,13 +5878,14 @@ module Aws::S3
|
|
5832
5878
|
#
|
5833
5879
|
# <b>Directory buckets </b> - When you use this operation with a
|
5834
5880
|
# directory bucket, you must use path-style requests in the format
|
5835
|
-
# `https://s3express-control.
|
5881
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
5836
5882
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
5837
|
-
# names must be unique in the chosen Availability Zone
|
5838
|
-
# must also follow the format `
|
5839
|
-
#
|
5840
|
-
#
|
5841
|
-
# rules][1] in the
|
5883
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
5884
|
+
# Zone). Bucket names must also follow the format `
|
5885
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
5886
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
5887
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
5888
|
+
# *Amazon S3 User Guide*
|
5842
5889
|
#
|
5843
5890
|
#
|
5844
5891
|
#
|
@@ -6245,13 +6292,14 @@ module Aws::S3
|
|
6245
6292
|
#
|
6246
6293
|
# <b>Directory buckets </b> - When you use this operation with a
|
6247
6294
|
# directory bucket, you must use path-style requests in the format
|
6248
|
-
# `https://s3express-control.
|
6295
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
6249
6296
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
6250
|
-
# names must be unique in the chosen Availability Zone
|
6251
|
-
# must also follow the format `
|
6252
|
-
#
|
6253
|
-
#
|
6254
|
-
# rules][1] in the
|
6297
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
6298
|
+
# Zone). Bucket names must also follow the format `
|
6299
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
6300
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6301
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6302
|
+
# *Amazon S3 User Guide*
|
6255
6303
|
#
|
6256
6304
|
# **Access points** - When you use this API operation with an access
|
6257
6305
|
# point, provide the alias of the access point in place of the bucket
|
@@ -6758,10 +6806,10 @@ module Aws::S3
|
|
6758
6806
|
#
|
6759
6807
|
# **Directory buckets** - When you use this operation with a directory
|
6760
6808
|
# bucket, you must use virtual-hosted-style requests in the format `
|
6761
|
-
#
|
6809
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
6762
6810
|
# requests are not supported. Directory bucket names must be unique in
|
6763
|
-
# the chosen Availability Zone. Bucket names must
|
6764
|
-
#
|
6811
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
6812
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
6765
6813
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6766
6814
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6767
6815
|
# *Amazon S3 User Guide*.
|
@@ -7058,7 +7106,9 @@ module Aws::S3
|
|
7058
7106
|
# providing object expiration information. The value of the `rule-id`
|
7059
7107
|
# is URL-encoded.
|
7060
7108
|
#
|
7061
|
-
# <note markdown="1">
|
7109
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
7110
|
+
# and this header returns the value "`NotImplemented`" in all
|
7111
|
+
# responses for directory buckets.
|
7062
7112
|
#
|
7063
7113
|
# </note>
|
7064
7114
|
#
|
@@ -7370,10 +7420,10 @@ module Aws::S3
|
|
7370
7420
|
#
|
7371
7421
|
# **Directory buckets** - When you use this operation with a directory
|
7372
7422
|
# bucket, you must use virtual-hosted-style requests in the format `
|
7373
|
-
#
|
7423
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
7374
7424
|
# requests are not supported. Directory bucket names must be unique in
|
7375
|
-
# the chosen Availability Zone. Bucket names must
|
7376
|
-
#
|
7425
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
7426
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
7377
7427
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
7378
7428
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
7379
7429
|
# *Amazon S3 User Guide*.
|
@@ -8101,8 +8151,9 @@ module Aws::S3
|
|
8101
8151
|
# @!attribute [rw] bucket_location_name
|
8102
8152
|
# The name of the location where the bucket will be created.
|
8103
8153
|
#
|
8104
|
-
# For directory buckets, the
|
8105
|
-
# bucket is created. An example
|
8154
|
+
# For directory buckets, the Zone ID of the Availability Zone or the
|
8155
|
+
# Local Zone where the bucket is created. An example Zone ID value for
|
8156
|
+
# an Availability Zone is `usw2-az1`.
|
8106
8157
|
#
|
8107
8158
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
8108
8159
|
#
|
@@ -8138,10 +8189,10 @@ module Aws::S3
|
|
8138
8189
|
#
|
8139
8190
|
# **Directory buckets** - When you use this operation with a directory
|
8140
8191
|
# bucket, you must use virtual-hosted-style requests in the format `
|
8141
|
-
#
|
8192
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
8142
8193
|
# requests are not supported. Directory bucket names must be unique in
|
8143
|
-
# the chosen Availability Zone. Bucket names must
|
8144
|
-
#
|
8194
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
8195
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
8145
8196
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
8146
8197
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
8147
8198
|
# *Amazon S3 User Guide*.
|
@@ -8223,7 +8274,9 @@ module Aws::S3
|
|
8223
8274
|
# providing object expiration information. The value of the `rule-id`
|
8224
8275
|
# is URL-encoded.
|
8225
8276
|
#
|
8226
|
-
# <note markdown="1">
|
8277
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
8278
|
+
# and this header returns the value "`NotImplemented`" in all
|
8279
|
+
# responses for directory buckets.
|
8227
8280
|
#
|
8228
8281
|
# </note>
|
8229
8282
|
#
|
@@ -8612,10 +8665,10 @@ module Aws::S3
|
|
8612
8665
|
#
|
8613
8666
|
# **Directory buckets** - When you use this operation with a directory
|
8614
8667
|
# bucket, you must use virtual-hosted-style requests in the format `
|
8615
|
-
#
|
8668
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
8616
8669
|
# requests are not supported. Directory bucket names must be unique in
|
8617
|
-
# the chosen Availability Zone. Bucket names must
|
8618
|
-
#
|
8670
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
8671
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
8619
8672
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
8620
8673
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
8621
8674
|
# *Amazon S3 User Guide*.
|
@@ -10146,10 +10199,10 @@ module Aws::S3
|
|
10146
10199
|
#
|
10147
10200
|
# **Directory buckets** - When you use this operation with a directory
|
10148
10201
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10149
|
-
#
|
10202
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10150
10203
|
# requests are not supported. Directory bucket names must be unique in
|
10151
|
-
# the chosen Availability Zone. Bucket names must
|
10152
|
-
#
|
10204
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
10205
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10153
10206
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10154
10207
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10155
10208
|
# *Amazon S3 User Guide*.
|
@@ -10668,10 +10721,10 @@ module Aws::S3
|
|
10668
10721
|
#
|
10669
10722
|
# **Directory buckets** - When you use this operation with a directory
|
10670
10723
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10671
|
-
#
|
10724
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10672
10725
|
# requests are not supported. Directory bucket names must be unique in
|
10673
|
-
# the chosen Availability Zone. Bucket names must
|
10674
|
-
#
|
10726
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
10727
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10675
10728
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10676
10729
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10677
10730
|
# *Amazon S3 User Guide*.
|
@@ -10939,10 +10992,10 @@ module Aws::S3
|
|
10939
10992
|
# @!attribute [rw] bucket
|
10940
10993
|
# **Directory buckets** - When you use this operation with a directory
|
10941
10994
|
# bucket, you must use virtual-hosted-style requests in the format `
|
10942
|
-
#
|
10995
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
10943
10996
|
# requests are not supported. Directory bucket names must be unique in
|
10944
|
-
# the chosen Availability Zone. Bucket names must
|
10945
|
-
#
|
10997
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
10998
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
10946
10999
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10947
11000
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10948
11001
|
# *Amazon S3 User Guide*.
|
@@ -11250,10 +11303,10 @@ module Aws::S3
|
|
11250
11303
|
#
|
11251
11304
|
# **Directory buckets** - When you use this operation with a directory
|
11252
11305
|
# bucket, you must use virtual-hosted-style requests in the format `
|
11253
|
-
#
|
11306
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
11254
11307
|
# requests are not supported. Directory bucket names must be unique in
|
11255
|
-
# the chosen Availability Zone. Bucket names must
|
11256
|
-
#
|
11308
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
11309
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
11257
11310
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
11258
11311
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
11259
11312
|
# *Amazon S3 User Guide*.
|
@@ -11397,9 +11450,9 @@ module Aws::S3
|
|
11397
11450
|
|
11398
11451
|
# Specifies the location where the bucket will be created.
|
11399
11452
|
#
|
11400
|
-
# For directory buckets, the location type is Availability Zone
|
11401
|
-
# more information about directory buckets, see [Directory
|
11402
|
-
# in the *Amazon S3 User Guide*.
|
11453
|
+
# For directory buckets, the location type is Availability Zone or Local
|
11454
|
+
# Zone. For more information about directory buckets, see [Directory
|
11455
|
+
# buckets][1] in the *Amazon S3 User Guide*.
|
11403
11456
|
#
|
11404
11457
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
11405
11458
|
#
|
@@ -11416,9 +11469,9 @@ module Aws::S3
|
|
11416
11469
|
# @!attribute [rw] name
|
11417
11470
|
# The name of the location where the bucket will be created.
|
11418
11471
|
#
|
11419
|
-
# For directory buckets, the name of the location is the
|
11420
|
-
# Availability Zone
|
11421
|
-
# value is `usw2-az1`.
|
11472
|
+
# For directory buckets, the name of the location is the Zone ID of
|
11473
|
+
# the Availability Zone (AZ) or Local Zone (LZ) where the bucket will
|
11474
|
+
# be created. An example AZ ID value is `usw2-az1`.
|
11422
11475
|
# @return [String]
|
11423
11476
|
#
|
11424
11477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LocationInfo AWS API Documentation
|
@@ -12902,13 +12955,14 @@ module Aws::S3
|
|
12902
12955
|
#
|
12903
12956
|
# <b>Directory buckets </b> - When you use this operation with a
|
12904
12957
|
# directory bucket, you must use path-style requests in the format
|
12905
|
-
# `https://s3express-control.
|
12958
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
12906
12959
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
12907
|
-
# names must be unique in the chosen Availability Zone
|
12908
|
-
# must also follow the format `
|
12909
|
-
#
|
12910
|
-
#
|
12911
|
-
# rules][1] in the
|
12960
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
12961
|
+
# Zone). Bucket names must also follow the format `
|
12962
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
12963
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
12964
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
12965
|
+
# *Amazon S3 User Guide*
|
12912
12966
|
#
|
12913
12967
|
#
|
12914
12968
|
#
|
@@ -13395,13 +13449,14 @@ module Aws::S3
|
|
13395
13449
|
#
|
13396
13450
|
# <b>Directory buckets </b> - When you use this operation with a
|
13397
13451
|
# directory bucket, you must use path-style requests in the format
|
13398
|
-
# `https://s3express-control.
|
13452
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
13399
13453
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
13400
|
-
# names must be unique in the chosen Availability Zone
|
13401
|
-
# must also follow the format `
|
13402
|
-
#
|
13403
|
-
#
|
13404
|
-
# rules][1] in the
|
13454
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
13455
|
+
# Zone). Bucket names must also follow the format `
|
13456
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
13457
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
13458
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
13459
|
+
# *Amazon S3 User Guide*
|
13405
13460
|
#
|
13406
13461
|
#
|
13407
13462
|
#
|
@@ -14210,7 +14265,9 @@ module Aws::S3
|
|
14210
14265
|
# `rule-id` key-value pairs that provide information about object
|
14211
14266
|
# expiration. The value of the `rule-id` is URL-encoded.
|
14212
14267
|
#
|
14213
|
-
# <note markdown="1">
|
14268
|
+
# <note markdown="1"> Object expiration information is not returned in directory buckets
|
14269
|
+
# and this header returns the value "`NotImplemented`" in all
|
14270
|
+
# responses for directory buckets.
|
14214
14271
|
#
|
14215
14272
|
# </note>
|
14216
14273
|
#
|
@@ -14450,10 +14507,10 @@ module Aws::S3
|
|
14450
14507
|
#
|
14451
14508
|
# **Directory buckets** - When you use this operation with a directory
|
14452
14509
|
# bucket, you must use virtual-hosted-style requests in the format `
|
14453
|
-
#
|
14510
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
14454
14511
|
# requests are not supported. Directory bucket names must be unique in
|
14455
|
-
# the chosen Availability Zone. Bucket names must
|
14456
|
-
#
|
14512
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
14513
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
14457
14514
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
14458
14515
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
14459
14516
|
# *Amazon S3 User Guide*.
|
@@ -14679,6 +14736,27 @@ module Aws::S3
|
|
14679
14736
|
# [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
|
14680
14737
|
# @return [Time]
|
14681
14738
|
#
|
14739
|
+
# @!attribute [rw] if_match
|
14740
|
+
# Uploads the object only if the ETag (entity tag) value provided
|
14741
|
+
# during the WRITE operation matches the ETag of the object in S3. If
|
14742
|
+
# the ETag values do not match, the operation returns a `412
|
14743
|
+
# Precondition Failed` error.
|
14744
|
+
#
|
14745
|
+
# If a conflicting operation occurs during the upload S3 returns a
|
14746
|
+
# `409 ConditionalRequestConflict` response. On a 409 failure you
|
14747
|
+
# should fetch the object's ETag and retry the upload.
|
14748
|
+
#
|
14749
|
+
# Expects the ETag value as a string.
|
14750
|
+
#
|
14751
|
+
# For more information about conditional requests, see [RFC 7232][1],
|
14752
|
+
# or [Conditional requests][2] in the *Amazon S3 User Guide*.
|
14753
|
+
#
|
14754
|
+
#
|
14755
|
+
#
|
14756
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
14757
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
|
14758
|
+
# @return [String]
|
14759
|
+
#
|
14682
14760
|
# @!attribute [rw] if_none_match
|
14683
14761
|
# Uploads the object only if the object key name does not already
|
14684
14762
|
# exist in the bucket specified. Otherwise, Amazon S3 returns a `412
|
@@ -15082,6 +15160,7 @@ module Aws::S3
|
|
15082
15160
|
:checksum_sha1,
|
15083
15161
|
:checksum_sha256,
|
15084
15162
|
:expires,
|
15163
|
+
:if_match,
|
15085
15164
|
:if_none_match,
|
15086
15165
|
:grant_full_control,
|
15087
15166
|
:grant_read,
|
@@ -16050,7 +16129,15 @@ module Aws::S3
|
|
16050
16129
|
# @return [Types::GlacierJobParameters]
|
16051
16130
|
#
|
16052
16131
|
# @!attribute [rw] type
|
16132
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16133
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16134
|
+
# usual. [Learn more][1]
|
16135
|
+
#
|
16053
16136
|
# Type of restore request.
|
16137
|
+
#
|
16138
|
+
#
|
16139
|
+
#
|
16140
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16054
16141
|
# @return [String]
|
16055
16142
|
#
|
16056
16143
|
# @!attribute [rw] tier
|
@@ -16062,7 +16149,15 @@ module Aws::S3
|
|
16062
16149
|
# @return [String]
|
16063
16150
|
#
|
16064
16151
|
# @!attribute [rw] select_parameters
|
16152
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16153
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16154
|
+
# usual. [Learn more][1]
|
16155
|
+
#
|
16065
16156
|
# Describes the parameters for Select job types.
|
16157
|
+
#
|
16158
|
+
#
|
16159
|
+
#
|
16160
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16066
16161
|
# @return [Types::SelectParameters]
|
16067
16162
|
#
|
16068
16163
|
# @!attribute [rw] output_location
|
@@ -16398,6 +16493,12 @@ module Aws::S3
|
|
16398
16493
|
include Aws::Structure
|
16399
16494
|
end
|
16400
16495
|
|
16496
|
+
# <note markdown="1"> Learn Amazon S3 Select is no longer available to new customers.
|
16497
|
+
# Existing customers of Amazon S3 Select can continue to use the feature
|
16498
|
+
# as usual. [Learn more][1]
|
16499
|
+
#
|
16500
|
+
# </note>
|
16501
|
+
#
|
16401
16502
|
# Request to filter the contents of an Amazon S3 object based on a
|
16402
16503
|
# simple Structured Query Language (SQL) statement. In the request,
|
16403
16504
|
# along with the SQL expression, you must specify a data serialization
|
@@ -16405,11 +16506,12 @@ module Aws::S3
|
|
16405
16506
|
# object data into records. It returns only records that match the
|
16406
16507
|
# specified SQL expression. You must also specify the data serialization
|
16407
16508
|
# format for the response. For more information, see [S3Select API
|
16408
|
-
# Documentation][
|
16509
|
+
# Documentation][2].
|
16409
16510
|
#
|
16410
16511
|
#
|
16411
16512
|
#
|
16412
|
-
# [1]:
|
16513
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16514
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html
|
16413
16515
|
#
|
16414
16516
|
# @!attribute [rw] bucket
|
16415
16517
|
# The S3 bucket.
|
@@ -16521,8 +16623,21 @@ module Aws::S3
|
|
16521
16623
|
include Aws::Structure
|
16522
16624
|
end
|
16523
16625
|
|
16626
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16627
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16628
|
+
# usual. [Learn more][1]
|
16629
|
+
#
|
16524
16630
|
# Describes the parameters for Select job types.
|
16525
16631
|
#
|
16632
|
+
# Learn [How to optimize querying your data in Amazon S3][1] using
|
16633
|
+
# [Amazon Athena][2], [S3 Object Lambda][3], or client-side filtering.
|
16634
|
+
#
|
16635
|
+
#
|
16636
|
+
#
|
16637
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16638
|
+
# [2]: https://docs.aws.amazon.com/athena/latest/ug/what-is.html
|
16639
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html
|
16640
|
+
#
|
16526
16641
|
# @!attribute [rw] input_serialization
|
16527
16642
|
# Describes the serialization format of the object.
|
16528
16643
|
# @return [Types::InputSerialization]
|
@@ -16532,7 +16647,15 @@ module Aws::S3
|
|
16532
16647
|
# @return [String]
|
16533
16648
|
#
|
16534
16649
|
# @!attribute [rw] expression
|
16650
|
+
# Amazon S3 Select is no longer available to new customers. Existing
|
16651
|
+
# customers of Amazon S3 Select can continue to use the feature as
|
16652
|
+
# usual. [Learn more][1]
|
16653
|
+
#
|
16535
16654
|
# The expression that is used to query the object.
|
16655
|
+
#
|
16656
|
+
#
|
16657
|
+
#
|
16658
|
+
# [1]: http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/
|
16536
16659
|
# @return [String]
|
16537
16660
|
#
|
16538
16661
|
# @!attribute [rw] output_serialization
|
@@ -17240,14 +17363,22 @@ module Aws::S3
|
|
17240
17363
|
#
|
17241
17364
|
# **Directory buckets** - When you use this operation with a directory
|
17242
17365
|
# bucket, you must use virtual-hosted-style requests in the format `
|
17243
|
-
#
|
17366
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
17244
17367
|
# requests are not supported. Directory bucket names must be unique in
|
17245
|
-
# the chosen Availability Zone. Bucket names must
|
17246
|
-
#
|
17368
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
17369
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
17247
17370
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
17248
17371
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
17249
17372
|
# *Amazon S3 User Guide*.
|
17250
17373
|
#
|
17374
|
+
# <note markdown="1"> Copying objects across different Amazon Web Services Regions isn't
|
17375
|
+
# supported when the source or destination bucket is in Amazon Web
|
17376
|
+
# Services Local Zones. The source and destination buckets must have
|
17377
|
+
# the same parent Amazon Web Services Region. Otherwise, you get an
|
17378
|
+
# HTTP `400 Bad Request` error with the error code `InvalidRequest`.
|
17379
|
+
#
|
17380
|
+
# </note>
|
17381
|
+
#
|
17251
17382
|
# **Access points** - When you use this action with an access point,
|
17252
17383
|
# you must provide the alias of the access point in place of the
|
17253
17384
|
# bucket name or specify the access point ARN. When using the access
|
@@ -17693,10 +17824,10 @@ module Aws::S3
|
|
17693
17824
|
#
|
17694
17825
|
# **Directory buckets** - When you use this operation with a directory
|
17695
17826
|
# bucket, you must use virtual-hosted-style requests in the format `
|
17696
|
-
#
|
17827
|
+
# Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
|
17697
17828
|
# requests are not supported. Directory bucket names must be unique in
|
17698
|
-
# the chosen Availability Zone. Bucket names must
|
17699
|
-
#
|
17829
|
+
# the chosen Zone (Availability Zone or Local Zone). Bucket names must
|
17830
|
+
# follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
|
17700
17831
|
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
17701
17832
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
17702
17833
|
# *Amazon S3 User Guide*.
|