aws-sdk-s3 1.143.0 → 1.156.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 +100 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +241 -0
- data/lib/aws-sdk-s3/bucket.rb +13 -10
- data/lib/aws-sdk-s3/bucket_acl.rb +3 -3
- data/lib/aws-sdk-s3/bucket_cors.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +4 -4
- data/lib/aws-sdk-s3/bucket_logging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
- data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
- data/lib/aws-sdk-s3/bucket_tagging.rb +4 -4
- data/lib/aws-sdk-s3/bucket_versioning.rb +5 -5
- data/lib/aws-sdk-s3/bucket_website.rb +4 -4
- data/lib/aws-sdk-s3/client.rb +370 -314
- data/lib/aws-sdk-s3/client_api.rb +15 -6
- data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
- data/lib/aws-sdk-s3/customizations/errors.rb +15 -2
- data/lib/aws-sdk-s3/customizations/object.rb +5 -5
- data/lib/aws-sdk-s3/customizations.rb +4 -1
- data/lib/aws-sdk-s3/encryption/client.rb +2 -2
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/endpoint_parameters.rb +8 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +7 -6
- data/lib/aws-sdk-s3/endpoints.rb +100 -1
- data/lib/aws-sdk-s3/express_credentials_provider.rb +27 -4
- data/lib/aws-sdk-s3/file_downloader.rb +1 -1
- data/lib/aws-sdk-s3/file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +4 -3
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +6 -4
- data/lib/aws-sdk-s3/multipart_upload.rb +4 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -3
- data/lib/aws-sdk-s3/object.rb +30 -12
- data/lib/aws-sdk-s3/object_acl.rb +3 -3
- data/lib/aws-sdk-s3/object_copier.rb +1 -1
- data/lib/aws-sdk-s3/object_multipart_copier.rb +10 -8
- data/lib/aws-sdk-s3/object_summary.rb +10 -10
- data/lib/aws-sdk-s3/object_version.rb +23 -5
- data/lib/aws-sdk-s3/plugins/access_grants.rb +114 -0
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +8 -2
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +53 -16
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
- data/lib/aws-sdk-s3/presigner.rb +2 -0
- data/lib/aws-sdk-s3/resource.rb +3 -3
- data/lib/aws-sdk-s3/types.rb +101 -51
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +21 -0
- data/sig/customizations/bucket.rbs +19 -0
- data/sig/customizations/object.rbs +38 -0
- data/sig/customizations/object_summary.rbs +35 -0
- data/sig/object.rbs +6 -0
- data/sig/object_version.rbs +6 -0
- data/sig/resource.rbs +3 -0
- data/sig/types.rbs +6 -0
- data/sig/waiters.rbs +12 -0
- metadata +12 -7
- data/lib/aws-sdk-s3/express_credentials_cache.rb +0 -30
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -59,7 +59,7 @@ module Aws::S3
|
|
59
59
|
# requests are not supported. Directory bucket names must be unique in
|
60
60
|
# the chosen Availability Zone. Bucket names must follow the format `
|
61
61
|
# bucket_base_name--az-id--x-s3` (for example, `
|
62
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
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*.
|
65
65
|
#
|
@@ -940,7 +940,7 @@ module Aws::S3
|
|
940
940
|
# requests are not supported. Directory bucket names must be unique in
|
941
941
|
# the chosen Availability Zone. Bucket names must follow the format `
|
942
942
|
# bucket_base_name--az-id--x-s3` (for example, `
|
943
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
943
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
944
944
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
945
945
|
# *Amazon S3 User Guide*.
|
946
946
|
#
|
@@ -1455,7 +1455,7 @@ module Aws::S3
|
|
1455
1455
|
# requests are not supported. Directory bucket names must be unique in
|
1456
1456
|
# the chosen Availability Zone. Bucket names must follow the format `
|
1457
1457
|
# bucket_base_name--az-id--x-s3` (for example, `
|
1458
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
1458
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
1459
1459
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
1460
1460
|
# *Amazon S3 User Guide*.
|
1461
1461
|
#
|
@@ -2447,7 +2447,7 @@ module Aws::S3
|
|
2447
2447
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
2448
2448
|
# names must be unique in the chosen Availability Zone. Bucket names
|
2449
2449
|
# must also follow the format ` bucket_base_name--az_id--x-s3` (for
|
2450
|
-
# example, ` DOC-EXAMPLE-BUCKET--usw2-
|
2450
|
+
# example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
|
2451
2451
|
# about bucket naming restrictions, see [Directory bucket naming
|
2452
2452
|
# rules][2] in the *Amazon S3 User Guide*
|
2453
2453
|
#
|
@@ -2749,7 +2749,7 @@ module Aws::S3
|
|
2749
2749
|
# requests are not supported. Directory bucket names must be unique in
|
2750
2750
|
# the chosen Availability Zone. Bucket names must follow the format `
|
2751
2751
|
# bucket_base_name--az-id--x-s3` (for example, `
|
2752
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
2752
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
2753
2753
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
2754
2754
|
# *Amazon S3 User Guide*.
|
2755
2755
|
#
|
@@ -3299,7 +3299,7 @@ module Aws::S3
|
|
3299
3299
|
|
3300
3300
|
# @!attribute [rw] credentials
|
3301
3301
|
# The established temporary security credentials for the created
|
3302
|
-
# session
|
3302
|
+
# session.
|
3303
3303
|
# @return [Types::SessionCredentials]
|
3304
3304
|
#
|
3305
3305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateSessionOutput AWS API Documentation
|
@@ -3586,7 +3586,7 @@ module Aws::S3
|
|
3586
3586
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3587
3587
|
# names must be unique in the chosen Availability Zone. Bucket names
|
3588
3588
|
# must also follow the format ` bucket_base_name--az_id--x-s3` (for
|
3589
|
-
# example, ` DOC-EXAMPLE-BUCKET--usw2-
|
3589
|
+
# example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
|
3590
3590
|
# about bucket naming restrictions, see [Directory bucket naming
|
3591
3591
|
# rules][1] in the *Amazon S3 User Guide*
|
3592
3592
|
#
|
@@ -3646,7 +3646,7 @@ module Aws::S3
|
|
3646
3646
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
3647
3647
|
# names must be unique in the chosen Availability Zone. Bucket names
|
3648
3648
|
# must also follow the format ` bucket_base_name--az_id--x-s3` (for
|
3649
|
-
# example, ` DOC-EXAMPLE-BUCKET--usw2-
|
3649
|
+
# example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
|
3650
3650
|
# about bucket naming restrictions, see [Directory bucket naming
|
3651
3651
|
# rules][1] in the *Amazon S3 User Guide*
|
3652
3652
|
#
|
@@ -3840,7 +3840,7 @@ module Aws::S3
|
|
3840
3840
|
# requests are not supported. Directory bucket names must be unique in
|
3841
3841
|
# the chosen Availability Zone. Bucket names must follow the format `
|
3842
3842
|
# bucket_base_name--az-id--x-s3` (for example, `
|
3843
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
3843
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
3844
3844
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
3845
3845
|
# *Amazon S3 User Guide*.
|
3846
3846
|
#
|
@@ -4056,7 +4056,7 @@ module Aws::S3
|
|
4056
4056
|
# requests are not supported. Directory bucket names must be unique in
|
4057
4057
|
# the chosen Availability Zone. Bucket names must follow the format `
|
4058
4058
|
# bucket_base_name--az-id--x-s3` (for example, `
|
4059
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
4059
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
4060
4060
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
4061
4061
|
# *Amazon S3 User Guide*.
|
4062
4062
|
#
|
@@ -5315,8 +5315,16 @@ module Aws::S3
|
|
5315
5315
|
include Aws::Structure
|
5316
5316
|
end
|
5317
5317
|
|
5318
|
-
# Specifies the Amazon S3 object key name to filter on
|
5319
|
-
#
|
5318
|
+
# Specifies the Amazon S3 object key name to filter on. An object key
|
5319
|
+
# name is the name assigned to an object in your Amazon S3 bucket. You
|
5320
|
+
# specify whether to filter on the suffix or prefix of the object key
|
5321
|
+
# name. A prefix is a specific string of characters at the beginning of
|
5322
|
+
# an object key name, which you can use to organize objects. For
|
5323
|
+
# example, you can start the key names of related objects with a prefix,
|
5324
|
+
# such as `2023-` or `engineering/`. Then, you can use `FilterRule` to
|
5325
|
+
# find objects in a bucket with key names that have the same prefix. A
|
5326
|
+
# suffix is similar to a prefix, but it is at the end of the object key
|
5327
|
+
# name instead of at the beginning.
|
5320
5328
|
#
|
5321
5329
|
# @!attribute [rw] name
|
5322
5330
|
# The object key name prefix or suffix identifying one or more objects
|
@@ -5927,7 +5935,7 @@ module Aws::S3
|
|
5927
5935
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
5928
5936
|
# names must be unique in the chosen Availability Zone. Bucket names
|
5929
5937
|
# must also follow the format ` bucket_base_name--az_id--x-s3` (for
|
5930
|
-
# example, ` DOC-EXAMPLE-BUCKET--usw2-
|
5938
|
+
# example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
|
5931
5939
|
# about bucket naming restrictions, see [Directory bucket naming
|
5932
5940
|
# rules][1] in the *Amazon S3 User Guide*
|
5933
5941
|
#
|
@@ -6440,7 +6448,7 @@ module Aws::S3
|
|
6440
6448
|
# requests are not supported. Directory bucket names must be unique in
|
6441
6449
|
# the chosen Availability Zone. Bucket names must follow the format `
|
6442
6450
|
# bucket_base_name--az-id--x-s3` (for example, `
|
6443
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
6451
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
6444
6452
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
6445
6453
|
# *Amazon S3 User Guide*.
|
6446
6454
|
#
|
@@ -7066,7 +7074,7 @@ module Aws::S3
|
|
7066
7074
|
# requests are not supported. Directory bucket names must be unique in
|
7067
7075
|
# the chosen Availability Zone. Bucket names must follow the format `
|
7068
7076
|
# bucket_base_name--az-id--x-s3` (for example, `
|
7069
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
7077
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
7070
7078
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
7071
7079
|
# *Amazon S3 User Guide*.
|
7072
7080
|
#
|
@@ -7785,7 +7793,7 @@ module Aws::S3
|
|
7785
7793
|
# The name of the location where the bucket will be created.
|
7786
7794
|
#
|
7787
7795
|
# For directory buckets, the AZ ID of the Availability Zone where the
|
7788
|
-
# bucket is created. An example AZ ID value is `usw2-
|
7796
|
+
# bucket is created. An example AZ ID value is `usw2-az1`.
|
7789
7797
|
#
|
7790
7798
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
7791
7799
|
#
|
@@ -7829,7 +7837,7 @@ module Aws::S3
|
|
7829
7837
|
# requests are not supported. Directory bucket names must be unique in
|
7830
7838
|
# the chosen Availability Zone. Bucket names must follow the format `
|
7831
7839
|
# bucket_base_name--az-id--x-s3` (for example, `
|
7832
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
7840
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
7833
7841
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
7834
7842
|
# *Amazon S3 User Guide*.
|
7835
7843
|
#
|
@@ -8317,7 +8325,7 @@ module Aws::S3
|
|
8317
8325
|
# requests are not supported. Directory bucket names must be unique in
|
8318
8326
|
# the chosen Availability Zone. Bucket names must follow the format `
|
8319
8327
|
# bucket_base_name--az-id--x-s3` (for example, `
|
8320
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
8328
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
8321
8329
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
8322
8330
|
# *Amazon S3 User Guide*.
|
8323
8331
|
#
|
@@ -8444,6 +8452,30 @@ module Aws::S3
|
|
8444
8452
|
# Not Satisfiable` error.
|
8445
8453
|
# @return [String]
|
8446
8454
|
#
|
8455
|
+
# @!attribute [rw] response_cache_control
|
8456
|
+
# Sets the `Cache-Control` header of the response.
|
8457
|
+
# @return [String]
|
8458
|
+
#
|
8459
|
+
# @!attribute [rw] response_content_disposition
|
8460
|
+
# Sets the `Content-Disposition` header of the response.
|
8461
|
+
# @return [String]
|
8462
|
+
#
|
8463
|
+
# @!attribute [rw] response_content_encoding
|
8464
|
+
# Sets the `Content-Encoding` header of the response.
|
8465
|
+
# @return [String]
|
8466
|
+
#
|
8467
|
+
# @!attribute [rw] response_content_language
|
8468
|
+
# Sets the `Content-Language` header of the response.
|
8469
|
+
# @return [String]
|
8470
|
+
#
|
8471
|
+
# @!attribute [rw] response_content_type
|
8472
|
+
# Sets the `Content-Type` header of the response.
|
8473
|
+
# @return [String]
|
8474
|
+
#
|
8475
|
+
# @!attribute [rw] response_expires
|
8476
|
+
# Sets the `Expires` header of the response.
|
8477
|
+
# @return [Time]
|
8478
|
+
#
|
8447
8479
|
# @!attribute [rw] version_id
|
8448
8480
|
# Version ID used to reference a specific version of the object.
|
8449
8481
|
#
|
@@ -8535,6 +8567,12 @@ module Aws::S3
|
|
8535
8567
|
:if_unmodified_since,
|
8536
8568
|
:key,
|
8537
8569
|
:range,
|
8570
|
+
:response_cache_control,
|
8571
|
+
:response_content_disposition,
|
8572
|
+
:response_content_encoding,
|
8573
|
+
:response_content_language,
|
8574
|
+
:response_content_type,
|
8575
|
+
:response_expires,
|
8538
8576
|
:version_id,
|
8539
8577
|
:sse_customer_algorithm,
|
8540
8578
|
:sse_customer_key,
|
@@ -8551,10 +8589,11 @@ module Aws::S3
|
|
8551
8589
|
#
|
8552
8590
|
# @!attribute [rw] suffix
|
8553
8591
|
# A suffix that is appended to a request that is for a directory on
|
8554
|
-
# the website endpoint (
|
8555
|
-
# you make a request to samplebucket/images
|
8556
|
-
# will be for the object with the key name
|
8557
|
-
# suffix must not be empty and must not
|
8592
|
+
# the website endpoint. (For example, if the suffix is `index.html`
|
8593
|
+
# and you make a request to `samplebucket/images/`, the data that is
|
8594
|
+
# returned will be for the object with the key name
|
8595
|
+
# `images/index.html`.) The suffix must not be empty and must not
|
8596
|
+
# include a slash character.
|
8558
8597
|
#
|
8559
8598
|
# Replacement must be made for object keys containing special
|
8560
8599
|
# characters (such as carriage returns) when using XML requests. For
|
@@ -9190,8 +9229,10 @@ module Aws::S3
|
|
9190
9229
|
end
|
9191
9230
|
|
9192
9231
|
# The `Filter` is used to identify objects that a Lifecycle Rule applies
|
9193
|
-
# to. A `Filter`
|
9194
|
-
# specified.
|
9232
|
+
# to. A `Filter` can have exactly one of `Prefix`, `Tag`,
|
9233
|
+
# `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified. If
|
9234
|
+
# the `Filter` element is left empty, the Lifecycle Rule applies to all
|
9235
|
+
# objects in the bucket.
|
9195
9236
|
#
|
9196
9237
|
# @!attribute [rw] prefix
|
9197
9238
|
# Prefix identifying one or more objects to which the rule applies.
|
@@ -9545,7 +9586,12 @@ module Aws::S3
|
|
9545
9586
|
# @return [String]
|
9546
9587
|
#
|
9547
9588
|
# @!attribute [rw] upload_id_marker
|
9548
|
-
#
|
9589
|
+
# Together with key-marker, specifies the multipart upload after which
|
9590
|
+
# listing should begin. If key-marker is not specified, the
|
9591
|
+
# upload-id-marker parameter is ignored. Otherwise, any multipart
|
9592
|
+
# uploads for a key equal to the key-marker might be included in the
|
9593
|
+
# list only if they have an upload ID lexicographically greater than
|
9594
|
+
# the specified `upload-id-marker`.
|
9549
9595
|
#
|
9550
9596
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
9551
9597
|
#
|
@@ -9668,7 +9714,7 @@ module Aws::S3
|
|
9668
9714
|
# requests are not supported. Directory bucket names must be unique in
|
9669
9715
|
# the chosen Availability Zone. Bucket names must follow the format `
|
9670
9716
|
# bucket_base_name--az-id--x-s3` (for example, `
|
9671
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
9717
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
9672
9718
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
9673
9719
|
# *Amazon S3 User Guide*.
|
9674
9720
|
#
|
@@ -10105,7 +10151,9 @@ module Aws::S3
|
|
10105
10151
|
#
|
10106
10152
|
# @!attribute [rw] encoding_type
|
10107
10153
|
# Encoding type used by Amazon S3 to encode object keys in the
|
10108
|
-
# response.
|
10154
|
+
# response. If using `url`, non-ASCII characters used in an object's
|
10155
|
+
# key name will be URL encoded. For example, the object
|
10156
|
+
# `test_file(3).png` will appear as `test_file%283%29.png`.
|
10109
10157
|
# @return [String]
|
10110
10158
|
#
|
10111
10159
|
# @!attribute [rw] request_charged
|
@@ -10144,7 +10192,7 @@ module Aws::S3
|
|
10144
10192
|
# requests are not supported. Directory bucket names must be unique in
|
10145
10193
|
# the chosen Availability Zone. Bucket names must follow the format `
|
10146
10194
|
# bucket_base_name--az-id--x-s3` (for example, `
|
10147
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
10195
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10148
10196
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10149
10197
|
# *Amazon S3 User Guide*.
|
10150
10198
|
#
|
@@ -10401,7 +10449,7 @@ module Aws::S3
|
|
10401
10449
|
# requests are not supported. Directory bucket names must be unique in
|
10402
10450
|
# the chosen Availability Zone. Bucket names must follow the format `
|
10403
10451
|
# bucket_base_name--az-id--x-s3` (for example, `
|
10404
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
10452
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10405
10453
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10406
10454
|
# *Amazon S3 User Guide*.
|
10407
10455
|
#
|
@@ -10459,7 +10507,9 @@ module Aws::S3
|
|
10459
10507
|
#
|
10460
10508
|
# @!attribute [rw] encoding_type
|
10461
10509
|
# Encoding type used by Amazon S3 to encode object keys in the
|
10462
|
-
# response.
|
10510
|
+
# response. If using `url`, non-ASCII characters used in an object's
|
10511
|
+
# key name will be URL encoded. For example, the object
|
10512
|
+
# `test_file(3).png` will appear as `test_file%283%29.png`.
|
10463
10513
|
# @return [String]
|
10464
10514
|
#
|
10465
10515
|
# @!attribute [rw] max_keys
|
@@ -10596,9 +10646,8 @@ module Aws::S3
|
|
10596
10646
|
# @return [String]
|
10597
10647
|
#
|
10598
10648
|
# @!attribute [rw] part_number_marker
|
10599
|
-
#
|
10600
|
-
#
|
10601
|
-
# request parameter in a subsequent request.
|
10649
|
+
# Specifies the part after which listing should begin. Only parts with
|
10650
|
+
# higher part numbers will be listed.
|
10602
10651
|
# @return [Integer]
|
10603
10652
|
#
|
10604
10653
|
# @!attribute [rw] next_part_number_marker
|
@@ -10695,7 +10744,7 @@ module Aws::S3
|
|
10695
10744
|
# requests are not supported. Directory bucket names must be unique in
|
10696
10745
|
# the chosen Availability Zone. Bucket names must follow the format `
|
10697
10746
|
# bucket_base_name--az-id--x-s3` (for example, `
|
10698
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
10747
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10699
10748
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10700
10749
|
# *Amazon S3 User Guide*.
|
10701
10750
|
#
|
@@ -10857,8 +10906,9 @@ module Aws::S3
|
|
10857
10906
|
# @!attribute [rw] name
|
10858
10907
|
# The name of the location where the bucket will be created.
|
10859
10908
|
#
|
10860
|
-
# For directory buckets, the
|
10861
|
-
# bucket will be created. An example AZ ID
|
10909
|
+
# For directory buckets, the name of the location is the AZ ID of the
|
10910
|
+
# Availability Zone where the bucket will be created. An example AZ ID
|
10911
|
+
# value is `usw2-az1`.
|
10862
10912
|
# @return [String]
|
10863
10913
|
#
|
10864
10914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LocationInfo AWS API Documentation
|
@@ -11154,10 +11204,10 @@ module Aws::S3
|
|
11154
11204
|
# @return [Integer]
|
11155
11205
|
#
|
11156
11206
|
# @!attribute [rw] newer_noncurrent_versions
|
11157
|
-
# Specifies how many
|
11158
|
-
#
|
11159
|
-
#
|
11160
|
-
#
|
11207
|
+
# Specifies how many noncurrent versions Amazon S3 will retain. You
|
11208
|
+
# can specify up to 100 noncurrent versions to retain. Amazon S3 will
|
11209
|
+
# permanently delete any additional noncurrent versions beyond the
|
11210
|
+
# specified number to retain. For more information about noncurrent
|
11161
11211
|
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
11162
11212
|
# S3 User Guide*.
|
11163
11213
|
#
|
@@ -11201,12 +11251,12 @@ module Aws::S3
|
|
11201
11251
|
# @return [String]
|
11202
11252
|
#
|
11203
11253
|
# @!attribute [rw] newer_noncurrent_versions
|
11204
|
-
# Specifies how many
|
11205
|
-
#
|
11206
|
-
#
|
11207
|
-
#
|
11208
|
-
#
|
11209
|
-
# S3 User Guide*.
|
11254
|
+
# Specifies how many noncurrent versions Amazon S3 will retain in the
|
11255
|
+
# same storage class before transitioning objects. You can specify up
|
11256
|
+
# to 100 noncurrent versions to retain. Amazon S3 will transition any
|
11257
|
+
# additional noncurrent versions beyond the specified number to
|
11258
|
+
# retain. For more information about noncurrent versions, see
|
11259
|
+
# [Lifecycle configuration elements][1] in the *Amazon S3 User Guide*.
|
11210
11260
|
#
|
11211
11261
|
#
|
11212
11262
|
#
|
@@ -12704,7 +12754,7 @@ module Aws::S3
|
|
12704
12754
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
12705
12755
|
# names must be unique in the chosen Availability Zone. Bucket names
|
12706
12756
|
# must also follow the format ` bucket_base_name--az_id--x-s3` (for
|
12707
|
-
# example, ` DOC-EXAMPLE-BUCKET--usw2-
|
12757
|
+
# example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
|
12708
12758
|
# about bucket naming restrictions, see [Directory bucket naming
|
12709
12759
|
# rules][1] in the *Amazon S3 User Guide*
|
12710
12760
|
#
|
@@ -13767,7 +13817,7 @@ module Aws::S3
|
|
13767
13817
|
# requests are not supported. Directory bucket names must be unique in
|
13768
13818
|
# the chosen Availability Zone. Bucket names must follow the format `
|
13769
13819
|
# bucket_base_name--az-id--x-s3` (for example, `
|
13770
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
13820
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
13771
13821
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
13772
13822
|
# *Amazon S3 User Guide*.
|
13773
13823
|
#
|
@@ -15741,7 +15791,7 @@ module Aws::S3
|
|
15741
15791
|
# Amazon Web Services Key Management Service (KMS) customer Amazon Web
|
15742
15792
|
# Services KMS key ID to use for the default encryption. This
|
15743
15793
|
# parameter is allowed if and only if `SSEAlgorithm` is set to
|
15744
|
-
# `aws:kms`.
|
15794
|
+
# `aws:kms` or `aws:kms:dsse`.
|
15745
15795
|
#
|
15746
15796
|
# You can specify the key ID, key alias, or the Amazon Resource Name
|
15747
15797
|
# (ARN) of the KMS key.
|
@@ -16346,7 +16396,7 @@ module Aws::S3
|
|
16346
16396
|
# requests are not supported. Directory bucket names must be unique in
|
16347
16397
|
# the chosen Availability Zone. Bucket names must follow the format `
|
16348
16398
|
# bucket_base_name--az-id--x-s3` (for example, `
|
16349
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
16399
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
16350
16400
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
16351
16401
|
# *Amazon S3 User Guide*.
|
16352
16402
|
#
|
@@ -16813,7 +16863,7 @@ module Aws::S3
|
|
16813
16863
|
# requests are not supported. Directory bucket names must be unique in
|
16814
16864
|
# the chosen Availability Zone. Bucket names must follow the format `
|
16815
16865
|
# bucket_base_name--az-id--x-s3` (for example, `
|
16816
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
16866
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
16817
16867
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
16818
16868
|
# *Amazon S3 User Guide*.
|
16819
16869
|
#
|
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -14,6 +14,8 @@ module Aws
|
|
14
14
|
def self.new: (
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
|
+
?access_grants: bool,
|
18
|
+
?access_grants_credentials_provider: untyped,
|
17
19
|
?access_key_id: String,
|
18
20
|
?active_endpoint_cache: bool,
|
19
21
|
?adaptive_retry_wait_to_fill: bool,
|
@@ -60,6 +62,7 @@ module Aws
|
|
60
62
|
?sdk_ua_app_id: String,
|
61
63
|
?secret_access_key: String,
|
62
64
|
?session_token: String,
|
65
|
+
?sigv4a_signing_region_set: Array[String],
|
63
66
|
?stub_responses: untyped,
|
64
67
|
?token_provider: untyped,
|
65
68
|
?use_accelerate_endpoint: bool,
|
@@ -961,6 +964,12 @@ module Aws
|
|
961
964
|
?if_unmodified_since: ::Time,
|
962
965
|
key: ::String,
|
963
966
|
?range: ::String,
|
967
|
+
?response_cache_control: ::String,
|
968
|
+
?response_content_disposition: ::String,
|
969
|
+
?response_content_encoding: ::String,
|
970
|
+
?response_content_language: ::String,
|
971
|
+
?response_content_type: ::String,
|
972
|
+
?response_expires: ::Time,
|
964
973
|
?version_id: ::String,
|
965
974
|
?sse_customer_algorithm: ::String,
|
966
975
|
?sse_customer_key: ::String,
|
@@ -2326,6 +2335,12 @@ module Aws
|
|
2326
2335
|
?if_unmodified_since: ::Time,
|
2327
2336
|
key: ::String,
|
2328
2337
|
?range: ::String,
|
2338
|
+
?response_cache_control: ::String,
|
2339
|
+
?response_content_disposition: ::String,
|
2340
|
+
?response_content_encoding: ::String,
|
2341
|
+
?response_content_language: ::String,
|
2342
|
+
?response_content_type: ::String,
|
2343
|
+
?response_expires: ::Time,
|
2329
2344
|
?version_id: ::String,
|
2330
2345
|
?sse_customer_algorithm: ::String,
|
2331
2346
|
?sse_customer_key: ::String,
|
@@ -2344,6 +2359,12 @@ module Aws
|
|
2344
2359
|
?if_unmodified_since: ::Time,
|
2345
2360
|
key: ::String,
|
2346
2361
|
?range: ::String,
|
2362
|
+
?response_cache_control: ::String,
|
2363
|
+
?response_content_disposition: ::String,
|
2364
|
+
?response_content_encoding: ::String,
|
2365
|
+
?response_content_language: ::String,
|
2366
|
+
?response_content_type: ::String,
|
2367
|
+
?response_expires: ::Time,
|
2347
2368
|
?version_id: ::String,
|
2348
2369
|
?sse_customer_algorithm: ::String,
|
2349
2370
|
?sse_customer_key: ::String,
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Aws
|
2
|
+
module S3
|
3
|
+
class Bucket
|
4
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#clear!-instance_method
|
5
|
+
def clear!: () -> void
|
6
|
+
|
7
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#delete!-instance_method
|
8
|
+
def delete!: (?max_attempts: ::Integer, ?initial_wait: ::Float) -> void
|
9
|
+
| (?Hash[Symbol, untyped]) -> void
|
10
|
+
|
11
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#url-instance_method
|
12
|
+
def url: (?virtual_host: boolish, ?secure: boolish) -> String
|
13
|
+
| (?Hash[Symbol, untyped]) -> String
|
14
|
+
|
15
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#presigned_post-instance_method
|
16
|
+
def presigned_post: (Hash[Symbol, untyped]) -> untyped
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module Aws
|
2
|
+
module S3
|
3
|
+
class Object
|
4
|
+
alias size content_length
|
5
|
+
|
6
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#copy_from-instance_method
|
7
|
+
def copy_from: (untyped source, ?Hash[Symbol, untyped] options) -> void
|
8
|
+
| ...
|
9
|
+
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#copy_to-instance_method
|
11
|
+
def copy_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#move_to-instance_method
|
14
|
+
def move_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
15
|
+
|
16
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_post-instance_method
|
17
|
+
def presigned_post: (?Hash[Symbol, untyped]) -> untyped
|
18
|
+
|
19
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_url-instance_method
|
20
|
+
def presigned_url: (Symbol | String method, ?Hash[Symbol, untyped] params) -> String
|
21
|
+
|
22
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_request-instance_method
|
23
|
+
def presigned_request: (Symbol | String method, ?Hash[Symbol, untyped] params) -> [String, Hash[String, String]]
|
24
|
+
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#public_url-instance_method
|
26
|
+
def public_url: (?Hash[Symbol, untyped] options) -> String
|
27
|
+
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#upload_stream-instance_method
|
29
|
+
def upload_stream: (?Hash[Symbol, untyped] options) { (IO write_stream) -> void } -> bool
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#upload_file-instance_method
|
32
|
+
def upload_file: (untyped source, ?Hash[Symbol, untyped] options) ?{ (untyped response) -> void } -> bool
|
33
|
+
|
34
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#download_file-instance_method
|
35
|
+
def download_file: (String destination, ?Hash[Symbol, untyped] options) -> bool
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Aws
|
2
|
+
module S3
|
3
|
+
class ObjectSummary
|
4
|
+
alias content_length size
|
5
|
+
|
6
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#copy_from-instance_method
|
7
|
+
def copy_from: (untyped source, ?Hash[Symbol, untyped] options) -> void
|
8
|
+
| ...
|
9
|
+
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#copy_to-instance_method
|
11
|
+
def copy_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#move_to-instance_method
|
14
|
+
def move_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
15
|
+
|
16
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#presigned_post-instance_method
|
17
|
+
def presigned_post: (Hash[Symbol, untyped]) -> untyped
|
18
|
+
|
19
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#presigned_url-instance_method
|
20
|
+
def presigned_url: (Symbol | String method, ?Hash[Symbol, untyped] params) -> String
|
21
|
+
|
22
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#public_url-instance_method
|
23
|
+
def public_url: (?Hash[Symbol, untyped] options) -> String
|
24
|
+
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#upload_file-instance_method
|
26
|
+
def upload_file: (untyped source, ?Hash[Symbol, untyped] options) ?{ (untyped response) -> void } -> bool
|
27
|
+
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#upload_stream-instance_method
|
29
|
+
def upload_stream: (?Hash[Symbol, untyped] options) { (IO write_stream) -> void } -> bool
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#download_file-instance_method
|
32
|
+
def download_file: (String destination, ?Hash[Symbol, untyped] options) -> bool
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
data/sig/object.rbs
CHANGED
@@ -397,6 +397,12 @@ module Aws
|
|
397
397
|
?if_none_match: ::String,
|
398
398
|
?if_unmodified_since: ::Time,
|
399
399
|
?range: ::String,
|
400
|
+
?response_cache_control: ::String,
|
401
|
+
?response_content_disposition: ::String,
|
402
|
+
?response_content_encoding: ::String,
|
403
|
+
?response_content_language: ::String,
|
404
|
+
?response_content_type: ::String,
|
405
|
+
?response_expires: ::Time,
|
400
406
|
?version_id: ::String,
|
401
407
|
?sse_customer_algorithm: ::String,
|
402
408
|
?sse_customer_key: ::String,
|
data/sig/object_version.rbs
CHANGED
@@ -102,6 +102,12 @@ module Aws
|
|
102
102
|
?if_none_match: ::String,
|
103
103
|
?if_unmodified_since: ::Time,
|
104
104
|
?range: ::String,
|
105
|
+
?response_cache_control: ::String,
|
106
|
+
?response_content_disposition: ::String,
|
107
|
+
?response_content_encoding: ::String,
|
108
|
+
?response_content_language: ::String,
|
109
|
+
?response_content_type: ::String,
|
110
|
+
?response_expires: ::Time,
|
105
111
|
?sse_customer_algorithm: ::String,
|
106
112
|
?sse_customer_key: ::String,
|
107
113
|
?sse_customer_key_md5: ::String,
|
data/sig/resource.rbs
CHANGED
@@ -14,6 +14,8 @@ module Aws
|
|
14
14
|
?client: Client,
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
|
+
?access_grants: bool,
|
18
|
+
?access_grants_credentials_provider: untyped,
|
17
19
|
?access_key_id: String,
|
18
20
|
?active_endpoint_cache: bool,
|
19
21
|
?adaptive_retry_wait_to_fill: bool,
|
@@ -60,6 +62,7 @@ module Aws
|
|
60
62
|
?sdk_ua_app_id: String,
|
61
63
|
?secret_access_key: String,
|
62
64
|
?session_token: String,
|
65
|
+
?sigv4a_signing_region_set: Array[String],
|
63
66
|
?stub_responses: untyped,
|
64
67
|
?token_provider: untyped,
|
65
68
|
?use_accelerate_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -1132,6 +1132,12 @@ module Aws::S3
|
|
1132
1132
|
attr_accessor if_unmodified_since: ::Time
|
1133
1133
|
attr_accessor key: ::String
|
1134
1134
|
attr_accessor range: ::String
|
1135
|
+
attr_accessor response_cache_control: ::String
|
1136
|
+
attr_accessor response_content_disposition: ::String
|
1137
|
+
attr_accessor response_content_encoding: ::String
|
1138
|
+
attr_accessor response_content_language: ::String
|
1139
|
+
attr_accessor response_content_type: ::String
|
1140
|
+
attr_accessor response_expires: ::Time
|
1135
1141
|
attr_accessor version_id: ::String
|
1136
1142
|
attr_accessor sse_customer_algorithm: ::String
|
1137
1143
|
attr_accessor sse_customer_key: ::String
|
data/sig/waiters.rbs
CHANGED
@@ -43,6 +43,12 @@ module Aws
|
|
43
43
|
?if_unmodified_since: ::Time,
|
44
44
|
key: ::String,
|
45
45
|
?range: ::String,
|
46
|
+
?response_cache_control: ::String,
|
47
|
+
?response_content_disposition: ::String,
|
48
|
+
?response_content_encoding: ::String,
|
49
|
+
?response_content_language: ::String,
|
50
|
+
?response_content_type: ::String,
|
51
|
+
?response_expires: ::Time,
|
46
52
|
?version_id: ::String,
|
47
53
|
?sse_customer_algorithm: ::String,
|
48
54
|
?sse_customer_key: ::String,
|
@@ -67,6 +73,12 @@ module Aws
|
|
67
73
|
?if_unmodified_since: ::Time,
|
68
74
|
key: ::String,
|
69
75
|
?range: ::String,
|
76
|
+
?response_cache_control: ::String,
|
77
|
+
?response_content_disposition: ::String,
|
78
|
+
?response_content_encoding: ::String,
|
79
|
+
?response_content_language: ::String,
|
80
|
+
?response_content_type: ::String,
|
81
|
+
?response_expires: ::Time,
|
70
82
|
?version_id: ::String,
|
71
83
|
?sse_customer_algorithm: ::String,
|
72
84
|
?sse_customer_key: ::String,
|