aws-sdk-s3 1.186.1 → 1.191.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 +32 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +11 -4
- data/lib/aws-sdk-s3/client.rb +660 -168
- data/lib/aws-sdk-s3/client_api.rb +47 -0
- data/lib/aws-sdk-s3/endpoints.rb +14 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
- data/lib/aws-sdk-s3/object.rb +65 -13
- data/lib/aws-sdk-s3/object_acl.rb +7 -1
- data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
- data/lib/aws-sdk-s3/object_summary.rb +34 -11
- data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/types.rb +548 -58
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +2 -2
- data/sig/client.rbs +56 -30
- data/sig/errors.rbs +2 -0
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +13 -10
- data/sig/object_summary.rbs +9 -9
- data/sig/types.rbs +57 -29
- metadata +4 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -35,11 +35,17 @@ module Aws::S3
|
|
35
35
|
|
36
36
|
# @!attribute [rw] request_charged
|
37
37
|
# If present, indicates that the requester was successfully charged
|
38
|
-
# for the request.
|
38
|
+
# for the request. For more information, see [Using Requester Pays
|
39
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
40
|
+
# Storage Service user guide*.
|
39
41
|
#
|
40
42
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
41
43
|
#
|
42
44
|
# </note>
|
45
|
+
#
|
46
|
+
#
|
47
|
+
#
|
48
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
43
49
|
# @return [String]
|
44
50
|
#
|
45
51
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadOutput AWS API Documentation
|
@@ -939,7 +945,13 @@ module Aws::S3
|
|
939
945
|
#
|
940
946
|
# @!attribute [rw] server_side_encryption
|
941
947
|
# The server-side encryption algorithm used when storing this object
|
942
|
-
# in Amazon S3
|
948
|
+
# in Amazon S3.
|
949
|
+
#
|
950
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
951
|
+
# access points, the only valid server side encryption option is
|
952
|
+
# `aws:fsx`.
|
953
|
+
#
|
954
|
+
# </note>
|
943
955
|
# @return [String]
|
944
956
|
#
|
945
957
|
# @!attribute [rw] version_id
|
@@ -964,11 +976,17 @@ module Aws::S3
|
|
964
976
|
#
|
965
977
|
# @!attribute [rw] request_charged
|
966
978
|
# If present, indicates that the requester was successfully charged
|
967
|
-
# for the request.
|
979
|
+
# for the request. For more information, see [Using Requester Pays
|
980
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
981
|
+
# Storage Service user guide*.
|
968
982
|
#
|
969
983
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
970
984
|
#
|
971
985
|
# </note>
|
986
|
+
#
|
987
|
+
#
|
988
|
+
#
|
989
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
972
990
|
# @return [String]
|
973
991
|
#
|
974
992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadOutput AWS API Documentation
|
@@ -1469,7 +1487,13 @@ module Aws::S3
|
|
1469
1487
|
#
|
1470
1488
|
# @!attribute [rw] server_side_encryption
|
1471
1489
|
# The server-side encryption algorithm used when you store this object
|
1472
|
-
# in Amazon S3
|
1490
|
+
# in Amazon S3 or Amazon FSx.
|
1491
|
+
#
|
1492
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
1493
|
+
# access points, the only valid server side encryption option is
|
1494
|
+
# `aws:fsx`.
|
1495
|
+
#
|
1496
|
+
# </note>
|
1473
1497
|
# @return [String]
|
1474
1498
|
#
|
1475
1499
|
# @!attribute [rw] sse_customer_algorithm
|
@@ -1513,11 +1537,17 @@ module Aws::S3
|
|
1513
1537
|
#
|
1514
1538
|
# @!attribute [rw] request_charged
|
1515
1539
|
# If present, indicates that the requester was successfully charged
|
1516
|
-
# for the request.
|
1540
|
+
# for the request. For more information, see [Using Requester Pays
|
1541
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
1542
|
+
# Storage Service user guide*.
|
1517
1543
|
#
|
1518
1544
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
1519
1545
|
#
|
1520
1546
|
# </note>
|
1547
|
+
#
|
1548
|
+
#
|
1549
|
+
#
|
1550
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
1521
1551
|
# @return [String]
|
1522
1552
|
#
|
1523
1553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectOutput AWS API Documentation
|
@@ -2020,6 +2050,14 @@ module Aws::S3
|
|
2020
2050
|
# key is the same customer managed key that you specified for the
|
2021
2051
|
# directory bucket's default encryption configuration.
|
2022
2052
|
#
|
2053
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data
|
2054
|
+
# stored in Amazon FSx file systems using S3 access points, the only
|
2055
|
+
# valid server side encryption option is `aws:fsx`. All Amazon FSx
|
2056
|
+
# file systems have encryption configured by default and are
|
2057
|
+
# encrypted at rest. Data is automatically encrypted before being
|
2058
|
+
# written to the file system, and automatically decrypted as it is
|
2059
|
+
# read. These processes are handled transparently by Amazon FSx.
|
2060
|
+
#
|
2023
2061
|
#
|
2024
2062
|
#
|
2025
2063
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
|
@@ -2621,10 +2659,10 @@ module Aws::S3
|
|
2621
2659
|
#
|
2622
2660
|
# <b>Directory buckets </b> - The location type is Availability Zone
|
2623
2661
|
# or Local Zone. To use the Local Zone location type, your account
|
2624
|
-
# must be enabled for
|
2625
|
-
#
|
2626
|
-
#
|
2627
|
-
#
|
2662
|
+
# must be enabled for Local Zones. Otherwise, you get an HTTP `403
|
2663
|
+
# Forbidden` error with the error code `AccessDenied`. To learn more,
|
2664
|
+
# see [Enable accounts for Local Zones][1] in the *Amazon S3 User
|
2665
|
+
# Guide*.
|
2628
2666
|
#
|
2629
2667
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
2630
2668
|
#
|
@@ -2894,7 +2932,13 @@ module Aws::S3
|
|
2894
2932
|
#
|
2895
2933
|
# @!attribute [rw] server_side_encryption
|
2896
2934
|
# The server-side encryption algorithm used when you store this object
|
2897
|
-
# in Amazon S3
|
2935
|
+
# in Amazon S3 or Amazon FSx.
|
2936
|
+
#
|
2937
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
2938
|
+
# access points, the only valid server side encryption option is
|
2939
|
+
# `aws:fsx`.
|
2940
|
+
#
|
2941
|
+
# </note>
|
2898
2942
|
# @return [String]
|
2899
2943
|
#
|
2900
2944
|
# @!attribute [rw] sse_customer_algorithm
|
@@ -2938,11 +2982,17 @@ module Aws::S3
|
|
2938
2982
|
#
|
2939
2983
|
# @!attribute [rw] request_charged
|
2940
2984
|
# If present, indicates that the requester was successfully charged
|
2941
|
-
# for the request.
|
2985
|
+
# for the request. For more information, see [Using Requester Pays
|
2986
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
2987
|
+
# Storage Service user guide*.
|
2942
2988
|
#
|
2943
2989
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
2944
2990
|
#
|
2945
2991
|
# </note>
|
2992
|
+
#
|
2993
|
+
#
|
2994
|
+
#
|
2995
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
2946
2996
|
# @return [String]
|
2947
2997
|
#
|
2948
2998
|
# @!attribute [rw] checksum_algorithm
|
@@ -3356,7 +3406,7 @@ module Aws::S3
|
|
3356
3406
|
#
|
3357
3407
|
# @!attribute [rw] server_side_encryption
|
3358
3408
|
# The server-side encryption algorithm used when you store this object
|
3359
|
-
# in Amazon S3
|
3409
|
+
# in Amazon S3 or Amazon FSx.
|
3360
3410
|
#
|
3361
3411
|
# * <b>Directory buckets </b> - For directory buckets, there are only
|
3362
3412
|
# two supported options for server-side encryption: server-side
|
@@ -3399,6 +3449,14 @@ module Aws::S3
|
|
3399
3449
|
#
|
3400
3450
|
# </note>
|
3401
3451
|
#
|
3452
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data
|
3453
|
+
# stored in Amazon FSx file systems using S3 access points, the only
|
3454
|
+
# valid server side encryption option is `aws:fsx`. All Amazon FSx
|
3455
|
+
# file systems have encryption configured by default and are
|
3456
|
+
# encrypted at rest. Data is automatically encrypted before being
|
3457
|
+
# written to the file system, and automatically decrypted as it is
|
3458
|
+
# read. These processes are handled transparently by Amazon FSx.
|
3459
|
+
#
|
3402
3460
|
#
|
3403
3461
|
#
|
3404
3462
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
|
@@ -3665,6 +3723,12 @@ module Aws::S3
|
|
3665
3723
|
# @!attribute [rw] server_side_encryption
|
3666
3724
|
# The server-side encryption algorithm used when you store objects in
|
3667
3725
|
# the directory bucket.
|
3726
|
+
#
|
3727
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
3728
|
+
# access points, the only valid server side encryption option is
|
3729
|
+
# `aws:fsx`.
|
3730
|
+
#
|
3731
|
+
# </note>
|
3668
3732
|
# @return [String]
|
3669
3733
|
#
|
3670
3734
|
# @!attribute [rw] ssekms_key_id
|
@@ -3729,6 +3793,14 @@ module Aws::S3
|
|
3729
3793
|
# SSE-S3. For more information, see [Protecting data with server-side
|
3730
3794
|
# encryption][1] in the *Amazon S3 User Guide*.
|
3731
3795
|
#
|
3796
|
+
# <b>S3 access points for Amazon FSx </b> - When accessing data stored
|
3797
|
+
# in Amazon FSx file systems using S3 access points, the only valid
|
3798
|
+
# server side encryption option is `aws:fsx`. All Amazon FSx file
|
3799
|
+
# systems have encryption configured by default and are encrypted at
|
3800
|
+
# rest. Data is automatically encrypted before being written to the
|
3801
|
+
# file system, and automatically decrypted as it is read. These
|
3802
|
+
# processes are handled transparently by Amazon FSx.
|
3803
|
+
#
|
3732
3804
|
#
|
3733
3805
|
#
|
3734
3806
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html
|
@@ -3976,11 +4048,19 @@ module Aws::S3
|
|
3976
4048
|
# The ID used to identify the S3 Intelligent-Tiering configuration.
|
3977
4049
|
# @return [String]
|
3978
4050
|
#
|
4051
|
+
# @!attribute [rw] expected_bucket_owner
|
4052
|
+
# The account ID of the expected bucket owner. If the account ID that
|
4053
|
+
# you provide does not match the actual owner of the bucket, the
|
4054
|
+
# request fails with the HTTP status code `403 Forbidden` (access
|
4055
|
+
# denied).
|
4056
|
+
# @return [String]
|
4057
|
+
#
|
3979
4058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketIntelligentTieringConfigurationRequest AWS API Documentation
|
3980
4059
|
#
|
3981
4060
|
class DeleteBucketIntelligentTieringConfigurationRequest < Struct.new(
|
3982
4061
|
:bucket,
|
3983
|
-
:id
|
4062
|
+
:id,
|
4063
|
+
:expected_bucket_owner)
|
3984
4064
|
SENSITIVE = []
|
3985
4065
|
include Aws::Structure
|
3986
4066
|
end
|
@@ -4348,11 +4428,17 @@ module Aws::S3
|
|
4348
4428
|
#
|
4349
4429
|
# @!attribute [rw] request_charged
|
4350
4430
|
# If present, indicates that the requester was successfully charged
|
4351
|
-
# for the request.
|
4431
|
+
# for the request. For more information, see [Using Requester Pays
|
4432
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
4433
|
+
# Storage Service user guide*.
|
4352
4434
|
#
|
4353
4435
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
4354
4436
|
#
|
4355
4437
|
# </note>
|
4438
|
+
#
|
4439
|
+
#
|
4440
|
+
#
|
4441
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
4356
4442
|
# @return [String]
|
4357
4443
|
#
|
4358
4444
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectOutput AWS API Documentation
|
@@ -4613,11 +4699,17 @@ module Aws::S3
|
|
4613
4699
|
#
|
4614
4700
|
# @!attribute [rw] request_charged
|
4615
4701
|
# If present, indicates that the requester was successfully charged
|
4616
|
-
# for the request.
|
4702
|
+
# for the request. For more information, see [Using Requester Pays
|
4703
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
4704
|
+
# Storage Service user guide*.
|
4617
4705
|
#
|
4618
4706
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
4619
4707
|
#
|
4620
4708
|
# </note>
|
4709
|
+
#
|
4710
|
+
#
|
4711
|
+
#
|
4712
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
4621
4713
|
# @return [String]
|
4622
4714
|
#
|
4623
4715
|
# @!attribute [rw] errors
|
@@ -5983,11 +6075,17 @@ module Aws::S3
|
|
5983
6075
|
#
|
5984
6076
|
# @!attribute [rw] request_charged
|
5985
6077
|
# If present, indicates that the requester was successfully charged
|
5986
|
-
# for the request.
|
6078
|
+
# for the request. For more information, see [Using Requester Pays
|
6079
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
6080
|
+
# Storage Service user guide*.
|
5987
6081
|
#
|
5988
6082
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
5989
6083
|
#
|
5990
6084
|
# </note>
|
6085
|
+
#
|
6086
|
+
#
|
6087
|
+
#
|
6088
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
5991
6089
|
# @return [String]
|
5992
6090
|
#
|
5993
6091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationOutput AWS API Documentation
|
@@ -6250,11 +6348,19 @@ module Aws::S3
|
|
6250
6348
|
# The ID used to identify the S3 Intelligent-Tiering configuration.
|
6251
6349
|
# @return [String]
|
6252
6350
|
#
|
6351
|
+
# @!attribute [rw] expected_bucket_owner
|
6352
|
+
# The account ID of the expected bucket owner. If the account ID that
|
6353
|
+
# you provide does not match the actual owner of the bucket, the
|
6354
|
+
# request fails with the HTTP status code `403 Forbidden` (access
|
6355
|
+
# denied).
|
6356
|
+
# @return [String]
|
6357
|
+
#
|
6253
6358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketIntelligentTieringConfigurationRequest AWS API Documentation
|
6254
6359
|
#
|
6255
6360
|
class GetBucketIntelligentTieringConfigurationRequest < Struct.new(
|
6256
6361
|
:bucket,
|
6257
|
-
:id
|
6362
|
+
:id,
|
6363
|
+
:expected_bucket_owner)
|
6258
6364
|
SENSITIVE = []
|
6259
6365
|
include Aws::Structure
|
6260
6366
|
end
|
@@ -6960,11 +7066,17 @@ module Aws::S3
|
|
6960
7066
|
#
|
6961
7067
|
# @!attribute [rw] request_charged
|
6962
7068
|
# If present, indicates that the requester was successfully charged
|
6963
|
-
# for the request.
|
7069
|
+
# for the request. For more information, see [Using Requester Pays
|
7070
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
7071
|
+
# Storage Service user guide*.
|
6964
7072
|
#
|
6965
7073
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
6966
7074
|
#
|
6967
7075
|
# </note>
|
7076
|
+
#
|
7077
|
+
#
|
7078
|
+
#
|
7079
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
6968
7080
|
# @return [String]
|
6969
7081
|
#
|
6970
7082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclOutput AWS API Documentation
|
@@ -7078,11 +7190,17 @@ module Aws::S3
|
|
7078
7190
|
#
|
7079
7191
|
# @!attribute [rw] request_charged
|
7080
7192
|
# If present, indicates that the requester was successfully charged
|
7081
|
-
# for the request.
|
7193
|
+
# for the request. For more information, see [Using Requester Pays
|
7194
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
7195
|
+
# Storage Service user guide*.
|
7082
7196
|
#
|
7083
7197
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
7084
7198
|
#
|
7085
7199
|
# </note>
|
7200
|
+
#
|
7201
|
+
#
|
7202
|
+
#
|
7203
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
7086
7204
|
# @return [String]
|
7087
7205
|
#
|
7088
7206
|
# @!attribute [rw] etag
|
@@ -7168,15 +7286,15 @@ module Aws::S3
|
|
7168
7286
|
# A container for elements related to a particular part. A response
|
7169
7287
|
# can contain zero or more `Parts` elements.
|
7170
7288
|
#
|
7171
|
-
# <note markdown="1"> * **General purpose buckets** - For `GetObjectAttributes`, if
|
7289
|
+
# <note markdown="1"> * **General purpose buckets** - For `GetObjectAttributes`, if an
|
7172
7290
|
# additional checksum (including `x-amz-checksum-crc32`,
|
7173
7291
|
# `x-amz-checksum-crc32c`, `x-amz-checksum-sha1`, or
|
7174
7292
|
# `x-amz-checksum-sha256`) isn't applied to the object specified in
|
7175
|
-
# the request, the response doesn't return `Part
|
7293
|
+
# the request, the response doesn't return the `Part` element.
|
7176
7294
|
#
|
7177
|
-
# * **Directory buckets** - For `GetObjectAttributes`,
|
7178
|
-
# whether
|
7179
|
-
# in the request, the response returns `Part
|
7295
|
+
# * **Directory buckets** - For `GetObjectAttributes`, regardless of
|
7296
|
+
# whether an additional checksum is applied to the object specified
|
7297
|
+
# in the request, the response returns the `Part` element.
|
7180
7298
|
#
|
7181
7299
|
# </note>
|
7182
7300
|
# @return [Array<Types::ObjectPart>]
|
@@ -7257,12 +7375,24 @@ module Aws::S3
|
|
7257
7375
|
# @return [String]
|
7258
7376
|
#
|
7259
7377
|
# @!attribute [rw] max_parts
|
7260
|
-
# Sets the maximum number of parts to return.
|
7378
|
+
# Sets the maximum number of parts to return. For more information,
|
7379
|
+
# see [Uploading and copying objects using multipart upload in Amazon
|
7380
|
+
# S3 ][1] in the *Amazon Simple Storage Service user guide*.
|
7381
|
+
#
|
7382
|
+
#
|
7383
|
+
#
|
7384
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html
|
7261
7385
|
# @return [Integer]
|
7262
7386
|
#
|
7263
7387
|
# @!attribute [rw] part_number_marker
|
7264
7388
|
# Specifies the part after which listing should begin. Only parts with
|
7265
|
-
# higher part numbers will be listed.
|
7389
|
+
# higher part numbers will be listed. For more information, see
|
7390
|
+
# [Uploading and copying objects using multipart upload in Amazon S3
|
7391
|
+
# ][1] in the *Amazon Simple Storage Service user guide*.
|
7392
|
+
#
|
7393
|
+
#
|
7394
|
+
#
|
7395
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html
|
7266
7396
|
# @return [Integer]
|
7267
7397
|
#
|
7268
7398
|
# @!attribute [rw] sse_customer_algorithm
|
@@ -7681,7 +7811,13 @@ module Aws::S3
|
|
7681
7811
|
#
|
7682
7812
|
# @!attribute [rw] server_side_encryption
|
7683
7813
|
# The server-side encryption algorithm used when you store this object
|
7684
|
-
# in Amazon S3.
|
7814
|
+
# in Amazon S3 or Amazon FSx.
|
7815
|
+
#
|
7816
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
7817
|
+
# access points, the only valid server side encryption option is
|
7818
|
+
# `aws:fsx`.
|
7819
|
+
#
|
7820
|
+
# </note>
|
7685
7821
|
# @return [String]
|
7686
7822
|
#
|
7687
7823
|
# @!attribute [rw] metadata
|
@@ -7734,11 +7870,17 @@ module Aws::S3
|
|
7734
7870
|
#
|
7735
7871
|
# @!attribute [rw] request_charged
|
7736
7872
|
# If present, indicates that the requester was successfully charged
|
7737
|
-
# for the request.
|
7873
|
+
# for the request. For more information, see [Using Requester Pays
|
7874
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
7875
|
+
# Storage Service user guide*.
|
7738
7876
|
#
|
7739
7877
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
7740
7878
|
#
|
7741
7879
|
# </note>
|
7880
|
+
#
|
7881
|
+
#
|
7882
|
+
#
|
7883
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
7742
7884
|
# @return [String]
|
7743
7885
|
#
|
7744
7886
|
# @!attribute [rw] replication_status
|
@@ -8377,11 +8519,17 @@ module Aws::S3
|
|
8377
8519
|
#
|
8378
8520
|
# @!attribute [rw] request_charged
|
8379
8521
|
# If present, indicates that the requester was successfully charged
|
8380
|
-
# for the request.
|
8522
|
+
# for the request. For more information, see [Using Requester Pays
|
8523
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
8524
|
+
# Storage Service user guide*.
|
8381
8525
|
#
|
8382
8526
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
8383
8527
|
#
|
8384
8528
|
# </note>
|
8529
|
+
#
|
8530
|
+
#
|
8531
|
+
#
|
8532
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
8385
8533
|
# @return [String]
|
8386
8534
|
#
|
8387
8535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentOutput AWS API Documentation
|
@@ -8917,7 +9065,13 @@ module Aws::S3
|
|
8917
9065
|
#
|
8918
9066
|
# @!attribute [rw] server_side_encryption
|
8919
9067
|
# The server-side encryption algorithm used when you store this object
|
8920
|
-
# in Amazon S3
|
9068
|
+
# in Amazon S3 or Amazon FSx.
|
9069
|
+
#
|
9070
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
9071
|
+
# access points, the only valid server side encryption option is
|
9072
|
+
# `aws:fsx`.
|
9073
|
+
#
|
9074
|
+
# </note>
|
8921
9075
|
# @return [String]
|
8922
9076
|
#
|
8923
9077
|
# @!attribute [rw] metadata
|
@@ -8976,11 +9130,17 @@ module Aws::S3
|
|
8976
9130
|
#
|
8977
9131
|
# @!attribute [rw] request_charged
|
8978
9132
|
# If present, indicates that the requester was successfully charged
|
8979
|
-
# for the request.
|
9133
|
+
# for the request. For more information, see [Using Requester Pays
|
9134
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
9135
|
+
# Storage Service user guide*.
|
8980
9136
|
#
|
8981
9137
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
8982
9138
|
#
|
8983
9139
|
# </note>
|
9140
|
+
#
|
9141
|
+
#
|
9142
|
+
#
|
9143
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
8984
9144
|
# @return [String]
|
8985
9145
|
#
|
8986
9146
|
# @!attribute [rw] replication_status
|
@@ -9037,6 +9197,22 @@ module Aws::S3
|
|
9037
9197
|
# as a multipart upload.
|
9038
9198
|
# @return [Integer]
|
9039
9199
|
#
|
9200
|
+
# @!attribute [rw] tag_count
|
9201
|
+
# The number of tags, if any, on the object, when you have the
|
9202
|
+
# relevant permission to read object tags.
|
9203
|
+
#
|
9204
|
+
# You can use [GetObjectTagging][1] to retrieve the tag set associated
|
9205
|
+
# with an object.
|
9206
|
+
#
|
9207
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
9208
|
+
#
|
9209
|
+
# </note>
|
9210
|
+
#
|
9211
|
+
#
|
9212
|
+
#
|
9213
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html
|
9214
|
+
# @return [Integer]
|
9215
|
+
#
|
9040
9216
|
# @!attribute [rw] object_lock_mode
|
9041
9217
|
# The Object Lock mode, if any, that's in effect for this object.
|
9042
9218
|
# This header is only returned if the requester has the
|
@@ -9117,6 +9293,7 @@ module Aws::S3
|
|
9117
9293
|
:request_charged,
|
9118
9294
|
:replication_status,
|
9119
9295
|
:parts_count,
|
9296
|
+
:tag_count,
|
9120
9297
|
:object_lock_mode,
|
9121
9298
|
:object_lock_retain_until_date,
|
9122
9299
|
:object_lock_legal_hold_status)
|
@@ -9405,6 +9582,27 @@ module Aws::S3
|
|
9405
9582
|
include Aws::Structure
|
9406
9583
|
end
|
9407
9584
|
|
9585
|
+
# Parameters on this idempotent request are inconsistent with parameters
|
9586
|
+
# used in previous request(s).
|
9587
|
+
#
|
9588
|
+
# For a list of error codes and more information on Amazon S3 errors,
|
9589
|
+
# see [Error codes][1].
|
9590
|
+
#
|
9591
|
+
# <note markdown="1"> Idempotency ensures that an API request completes no more than one
|
9592
|
+
# time. With an idempotent request, if the original request completes
|
9593
|
+
# successfully, any subsequent retries complete successfully without
|
9594
|
+
# performing any further actions.
|
9595
|
+
#
|
9596
|
+
# </note>
|
9597
|
+
#
|
9598
|
+
#
|
9599
|
+
#
|
9600
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList
|
9601
|
+
#
|
9602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IdempotencyParameterMismatch AWS API Documentation
|
9603
|
+
#
|
9604
|
+
class IdempotencyParameterMismatch < Aws::EmptyStructure; end
|
9605
|
+
|
9408
9606
|
# Container for the `Suffix` element.
|
9409
9607
|
#
|
9410
9608
|
# @!attribute [rw] suffix
|
@@ -9987,13 +10185,21 @@ module Aws::S3
|
|
9987
10185
|
#
|
9988
10186
|
# @!attribute [rw] filter
|
9989
10187
|
# The `Filter` is used to identify objects that a Lifecycle Rule
|
9990
|
-
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`,
|
9991
|
-
# `
|
9992
|
-
#
|
10188
|
+
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`,
|
10189
|
+
# `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified.
|
10190
|
+
# `Filter` is required if the `LifecycleRule` does not contain a
|
10191
|
+
# `Prefix` element.
|
10192
|
+
#
|
10193
|
+
# For more information about `Tag` filters, see [Adding filters to
|
10194
|
+
# Lifecycle rules][1] in the *Amazon S3 User Guide*.
|
9993
10195
|
#
|
9994
10196
|
# <note markdown="1"> `Tag` filters are not supported for directory buckets.
|
9995
10197
|
#
|
9996
10198
|
# </note>
|
10199
|
+
#
|
10200
|
+
#
|
10201
|
+
#
|
10202
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-filters.html
|
9997
10203
|
# @return [Types::LifecycleRuleFilter]
|
9998
10204
|
#
|
9999
10205
|
# @!attribute [rw] status
|
@@ -10259,11 +10465,19 @@ module Aws::S3
|
|
10259
10465
|
# this request should begin.
|
10260
10466
|
# @return [String]
|
10261
10467
|
#
|
10468
|
+
# @!attribute [rw] expected_bucket_owner
|
10469
|
+
# The account ID of the expected bucket owner. If the account ID that
|
10470
|
+
# you provide does not match the actual owner of the bucket, the
|
10471
|
+
# request fails with the HTTP status code `403 Forbidden` (access
|
10472
|
+
# denied).
|
10473
|
+
# @return [String]
|
10474
|
+
#
|
10262
10475
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketIntelligentTieringConfigurationsRequest AWS API Documentation
|
10263
10476
|
#
|
10264
10477
|
class ListBucketIntelligentTieringConfigurationsRequest < Struct.new(
|
10265
10478
|
:bucket,
|
10266
|
-
:continuation_token
|
10479
|
+
:continuation_token,
|
10480
|
+
:expected_bucket_owner)
|
10267
10481
|
SENSITIVE = []
|
10268
10482
|
include Aws::Structure
|
10269
10483
|
end
|
@@ -10633,11 +10847,17 @@ module Aws::S3
|
|
10633
10847
|
#
|
10634
10848
|
# @!attribute [rw] request_charged
|
10635
10849
|
# If present, indicates that the requester was successfully charged
|
10636
|
-
# for the request.
|
10850
|
+
# for the request. For more information, see [Using Requester Pays
|
10851
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
10852
|
+
# Storage Service user guide*.
|
10637
10853
|
#
|
10638
10854
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
10639
10855
|
#
|
10640
10856
|
# </note>
|
10857
|
+
#
|
10858
|
+
#
|
10859
|
+
#
|
10860
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
10641
10861
|
# @return [String]
|
10642
10862
|
#
|
10643
10863
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsOutput AWS API Documentation
|
@@ -10932,11 +11152,17 @@ module Aws::S3
|
|
10932
11152
|
#
|
10933
11153
|
# @!attribute [rw] request_charged
|
10934
11154
|
# If present, indicates that the requester was successfully charged
|
10935
|
-
# for the request.
|
11155
|
+
# for the request. For more information, see [Using Requester Pays
|
11156
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
11157
|
+
# Storage Service user guide*.
|
10936
11158
|
#
|
10937
11159
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
10938
11160
|
#
|
10939
11161
|
# </note>
|
11162
|
+
#
|
11163
|
+
#
|
11164
|
+
#
|
11165
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
10940
11166
|
# @return [String]
|
10941
11167
|
#
|
10942
11168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsOutput AWS API Documentation
|
@@ -11164,11 +11390,17 @@ module Aws::S3
|
|
11164
11390
|
#
|
11165
11391
|
# @!attribute [rw] request_charged
|
11166
11392
|
# If present, indicates that the requester was successfully charged
|
11167
|
-
# for the request.
|
11393
|
+
# for the request. For more information, see [Using Requester Pays
|
11394
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
11395
|
+
# Storage Service user guide*.
|
11168
11396
|
#
|
11169
11397
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
11170
11398
|
#
|
11171
11399
|
# </note>
|
11400
|
+
#
|
11401
|
+
#
|
11402
|
+
#
|
11403
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
11172
11404
|
# @return [String]
|
11173
11405
|
#
|
11174
11406
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsOutput AWS API Documentation
|
@@ -11414,8 +11646,7 @@ module Aws::S3
|
|
11414
11646
|
# @!attribute [rw] continuation_token
|
11415
11647
|
# If `ContinuationToken` was sent with the request, it is included in
|
11416
11648
|
# the response. You can use the returned `ContinuationToken` for
|
11417
|
-
# pagination of the list response.
|
11418
|
-
# `ContinuationToken` for pagination of the list results.
|
11649
|
+
# pagination of the list response.
|
11419
11650
|
# @return [String]
|
11420
11651
|
#
|
11421
11652
|
# @!attribute [rw] next_continuation_token
|
@@ -11437,11 +11668,17 @@ module Aws::S3
|
|
11437
11668
|
#
|
11438
11669
|
# @!attribute [rw] request_charged
|
11439
11670
|
# If present, indicates that the requester was successfully charged
|
11440
|
-
# for the request.
|
11671
|
+
# for the request. For more information, see [Using Requester Pays
|
11672
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
11673
|
+
# Storage Service user guide*.
|
11441
11674
|
#
|
11442
11675
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
11443
11676
|
#
|
11444
11677
|
# </note>
|
11678
|
+
#
|
11679
|
+
#
|
11680
|
+
#
|
11681
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
11445
11682
|
# @return [String]
|
11446
11683
|
#
|
11447
11684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Output AWS API Documentation
|
@@ -11744,11 +11981,17 @@ module Aws::S3
|
|
11744
11981
|
#
|
11745
11982
|
# @!attribute [rw] request_charged
|
11746
11983
|
# If present, indicates that the requester was successfully charged
|
11747
|
-
# for the request.
|
11984
|
+
# for the request. For more information, see [Using Requester Pays
|
11985
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
11986
|
+
# Storage Service user guide*.
|
11748
11987
|
#
|
11749
11988
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
11750
11989
|
#
|
11751
11990
|
# </note>
|
11991
|
+
#
|
11992
|
+
#
|
11993
|
+
#
|
11994
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
11752
11995
|
# @return [String]
|
11753
11996
|
#
|
11754
11997
|
# @!attribute [rw] checksum_algorithm
|
@@ -12940,6 +13183,19 @@ module Aws::S3
|
|
12940
13183
|
include Aws::Structure
|
12941
13184
|
end
|
12942
13185
|
|
13186
|
+
# End of support notice: Beginning October 1, 2025, Amazon S3 will stop
|
13187
|
+
# returning `DisplayName`. Update your applications to use canonical IDs
|
13188
|
+
# (unique identifier for Amazon Web Services accounts), Amazon Web
|
13189
|
+
# Services account ID (12 digit identifier) or IAM ARNs (full resource
|
13190
|
+
# naming) as a direct replacement of `DisplayName`.
|
13191
|
+
#
|
13192
|
+
# This change affects the following Amazon Web Services Regions: US
|
13193
|
+
# East
|
13194
|
+
# (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
|
13195
|
+
# Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
13196
|
+
# Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
|
13197
|
+
# America (São Paulo) Region.
|
13198
|
+
#
|
12943
13199
|
# Container for the owner's display name and ID.
|
12944
13200
|
#
|
12945
13201
|
# @!attribute [rw] display_name
|
@@ -13621,6 +13877,13 @@ module Aws::S3
|
|
13621
13877
|
# The ID used to identify the S3 Intelligent-Tiering configuration.
|
13622
13878
|
# @return [String]
|
13623
13879
|
#
|
13880
|
+
# @!attribute [rw] expected_bucket_owner
|
13881
|
+
# The account ID of the expected bucket owner. If the account ID that
|
13882
|
+
# you provide does not match the actual owner of the bucket, the
|
13883
|
+
# request fails with the HTTP status code `403 Forbidden` (access
|
13884
|
+
# denied).
|
13885
|
+
# @return [String]
|
13886
|
+
#
|
13624
13887
|
# @!attribute [rw] intelligent_tiering_configuration
|
13625
13888
|
# Container for S3 Intelligent-Tiering configuration.
|
13626
13889
|
# @return [Types::IntelligentTieringConfiguration]
|
@@ -13630,6 +13893,7 @@ module Aws::S3
|
|
13630
13893
|
class PutBucketIntelligentTieringConfigurationRequest < Struct.new(
|
13631
13894
|
:bucket,
|
13632
13895
|
:id,
|
13896
|
+
:expected_bucket_owner,
|
13633
13897
|
:intelligent_tiering_configuration)
|
13634
13898
|
SENSITIVE = []
|
13635
13899
|
include Aws::Structure
|
@@ -14011,13 +14275,31 @@ module Aws::S3
|
|
14011
14275
|
# or ObjectWriter) that you want to apply to this Amazon S3 bucket.
|
14012
14276
|
# @return [Types::OwnershipControls]
|
14013
14277
|
#
|
14278
|
+
# @!attribute [rw] checksum_algorithm
|
14279
|
+
# Indicates the algorithm used to create the checksum for the object
|
14280
|
+
# when you use the SDK. This header will not provide any additional
|
14281
|
+
# functionality if you don't use the SDK. When you send this header,
|
14282
|
+
# there must be a corresponding `x-amz-checksum-algorithm ` header
|
14283
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
14284
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
14285
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
14286
|
+
#
|
14287
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
14288
|
+
# provided `ChecksumAlgorithm` parameter.
|
14289
|
+
#
|
14290
|
+
#
|
14291
|
+
#
|
14292
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
14293
|
+
# @return [String]
|
14294
|
+
#
|
14014
14295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControlsRequest AWS API Documentation
|
14015
14296
|
#
|
14016
14297
|
class PutBucketOwnershipControlsRequest < Struct.new(
|
14017
14298
|
:bucket,
|
14018
14299
|
:content_md5,
|
14019
14300
|
:expected_bucket_owner,
|
14020
|
-
:ownership_controls
|
14301
|
+
:ownership_controls,
|
14302
|
+
:checksum_algorithm)
|
14021
14303
|
SENSITIVE = []
|
14022
14304
|
include Aws::Structure
|
14023
14305
|
end
|
@@ -14445,11 +14727,17 @@ module Aws::S3
|
|
14445
14727
|
|
14446
14728
|
# @!attribute [rw] request_charged
|
14447
14729
|
# If present, indicates that the requester was successfully charged
|
14448
|
-
# for the request.
|
14730
|
+
# for the request. For more information, see [Using Requester Pays
|
14731
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
14732
|
+
# Storage Service user guide*.
|
14449
14733
|
#
|
14450
14734
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
14451
14735
|
#
|
14452
14736
|
# </note>
|
14737
|
+
#
|
14738
|
+
#
|
14739
|
+
#
|
14740
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
14453
14741
|
# @return [String]
|
14454
14742
|
#
|
14455
14743
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclOutput AWS API Documentation
|
@@ -14631,11 +14919,17 @@ module Aws::S3
|
|
14631
14919
|
|
14632
14920
|
# @!attribute [rw] request_charged
|
14633
14921
|
# If present, indicates that the requester was successfully charged
|
14634
|
-
# for the request.
|
14922
|
+
# for the request. For more information, see [Using Requester Pays
|
14923
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
14924
|
+
# Storage Service user guide*.
|
14635
14925
|
#
|
14636
14926
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
14637
14927
|
#
|
14638
14928
|
# </note>
|
14929
|
+
#
|
14930
|
+
#
|
14931
|
+
#
|
14932
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
14639
14933
|
# @return [String]
|
14640
14934
|
#
|
14641
14935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldOutput AWS API Documentation
|
@@ -14749,11 +15043,17 @@ module Aws::S3
|
|
14749
15043
|
|
14750
15044
|
# @!attribute [rw] request_charged
|
14751
15045
|
# If present, indicates that the requester was successfully charged
|
14752
|
-
# for the request.
|
15046
|
+
# for the request. For more information, see [Using Requester Pays
|
15047
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
15048
|
+
# Storage Service user guide*.
|
14753
15049
|
#
|
14754
15050
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
14755
15051
|
#
|
14756
15052
|
# </note>
|
15053
|
+
#
|
15054
|
+
#
|
15055
|
+
#
|
15056
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
14757
15057
|
# @return [String]
|
14758
15058
|
#
|
14759
15059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfigurationOutput AWS API Documentation
|
@@ -14964,7 +15264,13 @@ module Aws::S3
|
|
14964
15264
|
#
|
14965
15265
|
# @!attribute [rw] server_side_encryption
|
14966
15266
|
# The server-side encryption algorithm used when you store this object
|
14967
|
-
# in Amazon S3.
|
15267
|
+
# in Amazon S3 or Amazon FSx.
|
15268
|
+
#
|
15269
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
15270
|
+
# access points, the only valid server side encryption option is
|
15271
|
+
# `aws:fsx`.
|
15272
|
+
#
|
15273
|
+
# </note>
|
14968
15274
|
# @return [String]
|
14969
15275
|
#
|
14970
15276
|
# @!attribute [rw] version_id
|
@@ -15043,11 +15349,17 @@ module Aws::S3
|
|
15043
15349
|
#
|
15044
15350
|
# @!attribute [rw] request_charged
|
15045
15351
|
# If present, indicates that the requester was successfully charged
|
15046
|
-
# for the request.
|
15352
|
+
# for the request. For more information, see [Using Requester Pays
|
15353
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
15354
|
+
# Storage Service user guide*.
|
15047
15355
|
#
|
15048
15356
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
15049
15357
|
#
|
15050
15358
|
# </note>
|
15359
|
+
#
|
15360
|
+
#
|
15361
|
+
#
|
15362
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
15051
15363
|
# @return [String]
|
15052
15364
|
#
|
15053
15365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectOutput AWS API Documentation
|
@@ -15470,8 +15782,7 @@ module Aws::S3
|
|
15470
15782
|
#
|
15471
15783
|
# @!attribute [rw] server_side_encryption
|
15472
15784
|
# The server-side encryption algorithm that was used when you store
|
15473
|
-
# this object in Amazon S3
|
15474
|
-
# `aws:kms:dsse`).
|
15785
|
+
# this object in Amazon S3 or Amazon FSx.
|
15475
15786
|
#
|
15476
15787
|
# * <b>General purpose buckets </b> - You have four mutually exclusive
|
15477
15788
|
# options to protect data using server-side encryption in Amazon S3,
|
@@ -15526,6 +15837,14 @@ module Aws::S3
|
|
15526
15837
|
#
|
15527
15838
|
# </note>
|
15528
15839
|
#
|
15840
|
+
# * <b>S3 access points for Amazon FSx </b> - When accessing data
|
15841
|
+
# stored in Amazon FSx file systems using S3 access points, the only
|
15842
|
+
# valid server side encryption option is `aws:fsx`. All Amazon FSx
|
15843
|
+
# file systems have encryption configured by default and are
|
15844
|
+
# encrypted at rest. Data is automatically encrypted before being
|
15845
|
+
# written to the file system, and automatically decrypted as it is
|
15846
|
+
# read. These processes are handled transparently by Amazon FSx.
|
15847
|
+
#
|
15529
15848
|
#
|
15530
15849
|
#
|
15531
15850
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
|
@@ -15819,11 +16138,17 @@ module Aws::S3
|
|
15819
16138
|
|
15820
16139
|
# @!attribute [rw] request_charged
|
15821
16140
|
# If present, indicates that the requester was successfully charged
|
15822
|
-
# for the request.
|
16141
|
+
# for the request. For more information, see [Using Requester Pays
|
16142
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
16143
|
+
# Storage Service user guide*.
|
15823
16144
|
#
|
15824
16145
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
15825
16146
|
#
|
15826
16147
|
# </note>
|
16148
|
+
#
|
16149
|
+
#
|
16150
|
+
#
|
16151
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
15827
16152
|
# @return [String]
|
15828
16153
|
#
|
15829
16154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetentionOutput AWS API Documentation
|
@@ -16311,6 +16636,129 @@ module Aws::S3
|
|
16311
16636
|
include Aws::Structure
|
16312
16637
|
end
|
16313
16638
|
|
16639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RenameObjectOutput AWS API Documentation
|
16640
|
+
#
|
16641
|
+
class RenameObjectOutput < Aws::EmptyStructure; end
|
16642
|
+
|
16643
|
+
# @!attribute [rw] bucket
|
16644
|
+
# The bucket name of the directory bucket containing the object.
|
16645
|
+
#
|
16646
|
+
# You must use virtual-hosted-style requests in the format
|
16647
|
+
# `Bucket-name.s3express-zone-id.region-code.amazonaws.com`.
|
16648
|
+
# Path-style requests are not supported. Directory bucket names must
|
16649
|
+
# be unique in the chosen Availability Zone. Bucket names must follow
|
16650
|
+
# the format `bucket-base-name--zone-id--x-s3 ` (for example,
|
16651
|
+
# `amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
|
16652
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
16653
|
+
# *Amazon S3 User Guide*.
|
16654
|
+
#
|
16655
|
+
#
|
16656
|
+
#
|
16657
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
16658
|
+
# @return [String]
|
16659
|
+
#
|
16660
|
+
# @!attribute [rw] key
|
16661
|
+
# Key name of the object to rename.
|
16662
|
+
# @return [String]
|
16663
|
+
#
|
16664
|
+
# @!attribute [rw] rename_source
|
16665
|
+
# Specifies the source for the rename operation. The value must be URL
|
16666
|
+
# encoded.
|
16667
|
+
# @return [String]
|
16668
|
+
#
|
16669
|
+
# @!attribute [rw] destination_if_match
|
16670
|
+
# Renames the object only if the ETag (entity tag) value provided
|
16671
|
+
# during the operation matches the ETag of the object in S3. The
|
16672
|
+
# `If-Match` header field makes the request method conditional on
|
16673
|
+
# ETags. If the ETag values do not match, the operation returns a `412
|
16674
|
+
# Precondition Failed` error.
|
16675
|
+
#
|
16676
|
+
# Expects the ETag value as a string.
|
16677
|
+
# @return [String]
|
16678
|
+
#
|
16679
|
+
# @!attribute [rw] destination_if_none_match
|
16680
|
+
# Renames the object only if the destination does not already exist in
|
16681
|
+
# the specified directory bucket. If the object does exist when you
|
16682
|
+
# send a request with `If-None-Match:*`, the S3 API will return a `412
|
16683
|
+
# Precondition Failed` error, preventing an overwrite. The
|
16684
|
+
# `If-None-Match` header prevents overwrites of existing data by
|
16685
|
+
# validating that there's not an object with the same key name
|
16686
|
+
# already in your directory bucket.
|
16687
|
+
#
|
16688
|
+
# Expects the `*` character (asterisk).
|
16689
|
+
# @return [String]
|
16690
|
+
#
|
16691
|
+
# @!attribute [rw] destination_if_modified_since
|
16692
|
+
# Renames the object if the destination exists and if it has been
|
16693
|
+
# modified since the specified time.
|
16694
|
+
# @return [Time]
|
16695
|
+
#
|
16696
|
+
# @!attribute [rw] destination_if_unmodified_since
|
16697
|
+
# Renames the object if it hasn't been modified since the specified
|
16698
|
+
# time.
|
16699
|
+
# @return [Time]
|
16700
|
+
#
|
16701
|
+
# @!attribute [rw] source_if_match
|
16702
|
+
# Renames the object if the source exists and if its entity tag (ETag)
|
16703
|
+
# matches the specified ETag.
|
16704
|
+
# @return [String]
|
16705
|
+
#
|
16706
|
+
# @!attribute [rw] source_if_none_match
|
16707
|
+
# Renames the object if the source exists and if its entity tag (ETag)
|
16708
|
+
# is different than the specified ETag. If an asterisk (`*`) character
|
16709
|
+
# is provided, the operation will fail and return a `412 Precondition
|
16710
|
+
# Failed` error.
|
16711
|
+
# @return [String]
|
16712
|
+
#
|
16713
|
+
# @!attribute [rw] source_if_modified_since
|
16714
|
+
# Renames the object if the source exists and if it has been modified
|
16715
|
+
# since the specified time.
|
16716
|
+
# @return [Time]
|
16717
|
+
#
|
16718
|
+
# @!attribute [rw] source_if_unmodified_since
|
16719
|
+
# Renames the object if the source exists and hasn't been modified
|
16720
|
+
# since the specified time.
|
16721
|
+
# @return [Time]
|
16722
|
+
#
|
16723
|
+
# @!attribute [rw] client_token
|
16724
|
+
# A unique string with a max of 64 ASCII characters in the ASCII range
|
16725
|
+
# of 33 - 126.
|
16726
|
+
#
|
16727
|
+
# <note markdown="1"> `RenameObject` supports idempotency using a client token. To make an
|
16728
|
+
# idempotent API request using `RenameObject`, specify a client token
|
16729
|
+
# in the request. You should not reuse the same client token for other
|
16730
|
+
# API requests. If you retry a request that completed successfully
|
16731
|
+
# using the same client token and the same parameters, the retry
|
16732
|
+
# succeeds without performing any further actions. If you retry a
|
16733
|
+
# successful request using the same client token, but one or more of
|
16734
|
+
# the parameters are different, the retry fails and an
|
16735
|
+
# `IdempotentParameterMismatch` error is returned.
|
16736
|
+
#
|
16737
|
+
# </note>
|
16738
|
+
#
|
16739
|
+
# **A suitable default value is auto-generated.** You should normally
|
16740
|
+
# not need to pass this option.
|
16741
|
+
# @return [String]
|
16742
|
+
#
|
16743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RenameObjectRequest AWS API Documentation
|
16744
|
+
#
|
16745
|
+
class RenameObjectRequest < Struct.new(
|
16746
|
+
:bucket,
|
16747
|
+
:key,
|
16748
|
+
:rename_source,
|
16749
|
+
:destination_if_match,
|
16750
|
+
:destination_if_none_match,
|
16751
|
+
:destination_if_modified_since,
|
16752
|
+
:destination_if_unmodified_since,
|
16753
|
+
:source_if_match,
|
16754
|
+
:source_if_none_match,
|
16755
|
+
:source_if_modified_since,
|
16756
|
+
:source_if_unmodified_since,
|
16757
|
+
:client_token)
|
16758
|
+
SENSITIVE = []
|
16759
|
+
include Aws::Structure
|
16760
|
+
end
|
16761
|
+
|
16314
16762
|
# A filter that you can specify for selection for modifications on
|
16315
16763
|
# replicas. Amazon S3 doesn't replicate replica modifications by
|
16316
16764
|
# default. In the latest version of replication configuration (when
|
@@ -16630,11 +17078,17 @@ module Aws::S3
|
|
16630
17078
|
|
16631
17079
|
# @!attribute [rw] request_charged
|
16632
17080
|
# If present, indicates that the requester was successfully charged
|
16633
|
-
# for the request.
|
17081
|
+
# for the request. For more information, see [Using Requester Pays
|
17082
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
17083
|
+
# Storage Service user guide*.
|
16634
17084
|
#
|
16635
17085
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
16636
17086
|
#
|
16637
17087
|
# </note>
|
17088
|
+
#
|
17089
|
+
#
|
17090
|
+
#
|
17091
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
16638
17092
|
# @return [String]
|
16639
17093
|
#
|
16640
17094
|
# @!attribute [rw] restore_output_path
|
@@ -18020,7 +18474,13 @@ module Aws::S3
|
|
18020
18474
|
#
|
18021
18475
|
# @!attribute [rw] server_side_encryption
|
18022
18476
|
# The server-side encryption algorithm used when you store this object
|
18023
|
-
# in Amazon S3
|
18477
|
+
# in Amazon S3 or Amazon FSx.
|
18478
|
+
#
|
18479
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
18480
|
+
# access points, the only valid server side encryption option is
|
18481
|
+
# `aws:fsx`.
|
18482
|
+
#
|
18483
|
+
# </note>
|
18024
18484
|
# @return [String]
|
18025
18485
|
#
|
18026
18486
|
# @!attribute [rw] sse_customer_algorithm
|
@@ -18057,11 +18517,17 @@ module Aws::S3
|
|
18057
18517
|
#
|
18058
18518
|
# @!attribute [rw] request_charged
|
18059
18519
|
# If present, indicates that the requester was successfully charged
|
18060
|
-
# for the request.
|
18520
|
+
# for the request. For more information, see [Using Requester Pays
|
18521
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
18522
|
+
# Storage Service user guide*.
|
18061
18523
|
#
|
18062
18524
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
18063
18525
|
#
|
18064
18526
|
# </note>
|
18527
|
+
#
|
18528
|
+
#
|
18529
|
+
#
|
18530
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
18065
18531
|
# @return [String]
|
18066
18532
|
#
|
18067
18533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyOutput AWS API Documentation
|
@@ -18412,7 +18878,13 @@ module Aws::S3
|
|
18412
18878
|
|
18413
18879
|
# @!attribute [rw] server_side_encryption
|
18414
18880
|
# The server-side encryption algorithm used when you store this object
|
18415
|
-
# in Amazon S3
|
18881
|
+
# in Amazon S3 or Amazon FSx.
|
18882
|
+
#
|
18883
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
18884
|
+
# access points, the only valid server side encryption option is
|
18885
|
+
# `aws:fsx`.
|
18886
|
+
#
|
18887
|
+
# </note>
|
18416
18888
|
# @return [String]
|
18417
18889
|
#
|
18418
18890
|
# @!attribute [rw] etag
|
@@ -18525,11 +18997,17 @@ module Aws::S3
|
|
18525
18997
|
#
|
18526
18998
|
# @!attribute [rw] request_charged
|
18527
18999
|
# If present, indicates that the requester was successfully charged
|
18528
|
-
# for the request.
|
19000
|
+
# for the request. For more information, see [Using Requester Pays
|
19001
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
19002
|
+
# Storage Service user guide*.
|
18529
19003
|
#
|
18530
19004
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
18531
19005
|
#
|
18532
19006
|
# </note>
|
19007
|
+
#
|
19008
|
+
#
|
19009
|
+
#
|
19010
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
18533
19011
|
# @return [String]
|
18534
19012
|
#
|
18535
19013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartOutput AWS API Documentation
|
@@ -19119,11 +19597,17 @@ module Aws::S3
|
|
19119
19597
|
#
|
19120
19598
|
# @!attribute [rw] request_charged
|
19121
19599
|
# If present, indicates that the requester was successfully charged
|
19122
|
-
# for the request.
|
19600
|
+
# for the request. For more information, see [Using Requester Pays
|
19601
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
19602
|
+
# Storage Service user guide*.
|
19123
19603
|
#
|
19124
19604
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
19125
19605
|
#
|
19126
19606
|
# </note>
|
19607
|
+
#
|
19608
|
+
#
|
19609
|
+
#
|
19610
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
19127
19611
|
# @return [String]
|
19128
19612
|
#
|
19129
19613
|
# @!attribute [rw] restore
|
@@ -19133,7 +19617,13 @@ module Aws::S3
|
|
19133
19617
|
#
|
19134
19618
|
# @!attribute [rw] server_side_encryption
|
19135
19619
|
# The server-side encryption algorithm used when storing requested
|
19136
|
-
# object in Amazon S3
|
19620
|
+
# object in Amazon S3 or Amazon FSx.
|
19621
|
+
#
|
19622
|
+
# <note markdown="1"> When accessing data stored in Amazon FSx file systems using S3
|
19623
|
+
# access points, the only valid server side encryption option is
|
19624
|
+
# `aws:fsx`.
|
19625
|
+
#
|
19626
|
+
# </note>
|
19137
19627
|
# @return [String]
|
19138
19628
|
#
|
19139
19629
|
# @!attribute [rw] sse_customer_algorithm
|