aws-sdk-s3 1.143.0 → 1.145.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +3 -0
- data/lib/aws-sdk-s3/client.rb +223 -238
- data/lib/aws-sdk-s3/endpoint_provider.rb +6 -6
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +3 -2
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +3 -2
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +55 -36
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +2 -2
@@ -128,10 +128,10 @@ module Aws::S3
|
|
128
128
|
raise ArgumentError, "Expected a endpoint to be specified but no endpoint was found"
|
129
129
|
end
|
130
130
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
131
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.ec2.#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
131
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.ec2.#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"]}, {"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
132
132
|
end
|
133
133
|
end
|
134
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.ec2.s3-outposts.#{region}.#{region_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
134
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.ec2.s3-outposts.#{region}.#{region_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"]}, {"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
135
135
|
end
|
136
136
|
if Aws::Endpoints::Matchers.string_equals?(hardware_type, "o")
|
137
137
|
if Aws::Endpoints::Matchers.string_equals?(region_prefix, "beta")
|
@@ -139,10 +139,10 @@ module Aws::S3
|
|
139
139
|
raise ArgumentError, "Expected a endpoint to be specified but no endpoint was found"
|
140
140
|
end
|
141
141
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
142
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.op-#{outpost_id}.#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
142
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.op-#{outpost_id}.#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"]}, {"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
143
143
|
end
|
144
144
|
end
|
145
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.op-#{outpost_id}.s3-outposts.#{region}.#{region_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
145
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{bucket}.op-#{outpost_id}.s3-outposts.#{region}.#{region_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"]}, {"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
146
146
|
end
|
147
147
|
raise ArgumentError, "Unrecognized hardware type: \"Expected hardware type o or e but got #{hardware_type}\""
|
148
148
|
end
|
@@ -413,9 +413,9 @@ module Aws::S3
|
|
413
413
|
if (access_point_name = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[3]"))
|
414
414
|
if Aws::Endpoints::Matchers.string_equals?(outpost_type, "accesspoint")
|
415
415
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
416
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
|
416
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"]}, {"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
|
417
417
|
end
|
418
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.s3-outposts.#{bucket_arn['region']}.#{bucket_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
|
418
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.s3-outposts.#{bucket_arn['region']}.#{bucket_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"]}, {"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
|
419
419
|
end
|
420
420
|
raise ArgumentError, "Expected an outpost type `accesspoint`, found #{outpost_type}"
|
421
421
|
end
|
@@ -89,12 +89,13 @@ module Aws
|
|
89
89
|
key: options[:key],
|
90
90
|
upload_id: upload_id
|
91
91
|
)
|
92
|
-
msg = "multipart upload failed: #{errors.map(&:message).join(
|
92
|
+
msg = "multipart upload failed: #{errors.map(&:message).join('; ')}"
|
93
93
|
raise MultipartUploadError.new(msg, errors)
|
94
94
|
rescue MultipartUploadError => error
|
95
95
|
raise error
|
96
96
|
rescue => error
|
97
|
-
msg = "failed to abort multipart upload: #{error.message}"
|
97
|
+
msg = "failed to abort multipart upload: #{error.message}. "\
|
98
|
+
"Multipart upload failed: #{errors.map(&:message).join('; ')}"
|
98
99
|
raise MultipartUploadError.new(msg, errors + [error])
|
99
100
|
end
|
100
101
|
|
@@ -101,12 +101,13 @@ module Aws
|
|
101
101
|
key: options[:key],
|
102
102
|
upload_id: upload_id
|
103
103
|
)
|
104
|
-
msg = "multipart upload failed: #{errors.map(&:message).join(
|
104
|
+
msg = "multipart upload failed: #{errors.map(&:message).join('; ')}"
|
105
105
|
raise MultipartUploadError.new(msg, errors)
|
106
106
|
rescue MultipartUploadError => error
|
107
107
|
raise error
|
108
108
|
rescue => error
|
109
|
-
msg = "failed to abort multipart upload: #{error.message}"
|
109
|
+
msg = "failed to abort multipart upload: #{error.message}. "\
|
110
|
+
"Multipart upload failed: #{errors.map(&:message).join('; ')}"
|
110
111
|
raise MultipartUploadError.new(msg, errors + [error])
|
111
112
|
end
|
112
113
|
|
data/lib/aws-sdk-s3/resource.rb
CHANGED
@@ -79,7 +79,7 @@ module Aws::S3
|
|
79
79
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
80
80
|
# names must be unique in the chosen Availability Zone. Bucket names
|
81
81
|
# must also follow the format ` bucket_base_name--az_id--x-s3` (for
|
82
|
-
# example, ` DOC-EXAMPLE-BUCKET--usw2-
|
82
|
+
# example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about
|
83
83
|
# bucket naming restrictions, see [Directory bucket naming rules][2] in
|
84
84
|
# the *Amazon S3 User Guide*
|
85
85
|
#
|
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
|
#
|
@@ -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
|
#
|
@@ -9190,8 +9198,10 @@ module Aws::S3
|
|
9190
9198
|
end
|
9191
9199
|
|
9192
9200
|
# The `Filter` is used to identify objects that a Lifecycle Rule applies
|
9193
|
-
# to. A `Filter`
|
9194
|
-
# specified.
|
9201
|
+
# to. A `Filter` can have exactly one of `Prefix`, `Tag`,
|
9202
|
+
# `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified. If
|
9203
|
+
# the `Filter` element is left empty, the Lifecycle Rule applies to all
|
9204
|
+
# objects in the bucket.
|
9195
9205
|
#
|
9196
9206
|
# @!attribute [rw] prefix
|
9197
9207
|
# Prefix identifying one or more objects to which the rule applies.
|
@@ -9545,7 +9555,12 @@ module Aws::S3
|
|
9545
9555
|
# @return [String]
|
9546
9556
|
#
|
9547
9557
|
# @!attribute [rw] upload_id_marker
|
9548
|
-
#
|
9558
|
+
# Together with key-marker, specifies the multipart upload after which
|
9559
|
+
# listing should begin. If key-marker is not specified, the
|
9560
|
+
# upload-id-marker parameter is ignored. Otherwise, any multipart
|
9561
|
+
# uploads for a key equal to the key-marker might be included in the
|
9562
|
+
# list only if they have an upload ID lexicographically greater than
|
9563
|
+
# the specified `upload-id-marker`.
|
9549
9564
|
#
|
9550
9565
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
9551
9566
|
#
|
@@ -9668,7 +9683,7 @@ module Aws::S3
|
|
9668
9683
|
# requests are not supported. Directory bucket names must be unique in
|
9669
9684
|
# the chosen Availability Zone. Bucket names must follow the format `
|
9670
9685
|
# bucket_base_name--az-id--x-s3` (for example, `
|
9671
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
9686
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
9672
9687
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
9673
9688
|
# *Amazon S3 User Guide*.
|
9674
9689
|
#
|
@@ -10105,7 +10120,9 @@ module Aws::S3
|
|
10105
10120
|
#
|
10106
10121
|
# @!attribute [rw] encoding_type
|
10107
10122
|
# Encoding type used by Amazon S3 to encode object keys in the
|
10108
|
-
# response.
|
10123
|
+
# response. If using `url`, non-ASCII characters used in an object's
|
10124
|
+
# key name will be URL encoded. For example, the object
|
10125
|
+
# test\_file(3).png will appear as test\_file%283%29.png.
|
10109
10126
|
# @return [String]
|
10110
10127
|
#
|
10111
10128
|
# @!attribute [rw] request_charged
|
@@ -10144,7 +10161,7 @@ module Aws::S3
|
|
10144
10161
|
# requests are not supported. Directory bucket names must be unique in
|
10145
10162
|
# the chosen Availability Zone. Bucket names must follow the format `
|
10146
10163
|
# bucket_base_name--az-id--x-s3` (for example, `
|
10147
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
10164
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10148
10165
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10149
10166
|
# *Amazon S3 User Guide*.
|
10150
10167
|
#
|
@@ -10401,7 +10418,7 @@ module Aws::S3
|
|
10401
10418
|
# requests are not supported. Directory bucket names must be unique in
|
10402
10419
|
# the chosen Availability Zone. Bucket names must follow the format `
|
10403
10420
|
# bucket_base_name--az-id--x-s3` (for example, `
|
10404
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
10421
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10405
10422
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10406
10423
|
# *Amazon S3 User Guide*.
|
10407
10424
|
#
|
@@ -10459,7 +10476,9 @@ module Aws::S3
|
|
10459
10476
|
#
|
10460
10477
|
# @!attribute [rw] encoding_type
|
10461
10478
|
# Encoding type used by Amazon S3 to encode object keys in the
|
10462
|
-
# response.
|
10479
|
+
# response. If using `url`, non-ASCII characters used in an object's
|
10480
|
+
# key name will be URL encoded. For example, the object
|
10481
|
+
# test\_file(3).png will appear as test\_file%283%29.png.
|
10463
10482
|
# @return [String]
|
10464
10483
|
#
|
10465
10484
|
# @!attribute [rw] max_keys
|
@@ -10596,9 +10615,8 @@ module Aws::S3
|
|
10596
10615
|
# @return [String]
|
10597
10616
|
#
|
10598
10617
|
# @!attribute [rw] part_number_marker
|
10599
|
-
#
|
10600
|
-
#
|
10601
|
-
# request parameter in a subsequent request.
|
10618
|
+
# Specifies the part after which listing should begin. Only parts with
|
10619
|
+
# higher part numbers will be listed.
|
10602
10620
|
# @return [Integer]
|
10603
10621
|
#
|
10604
10622
|
# @!attribute [rw] next_part_number_marker
|
@@ -10695,7 +10713,7 @@ module Aws::S3
|
|
10695
10713
|
# requests are not supported. Directory bucket names must be unique in
|
10696
10714
|
# the chosen Availability Zone. Bucket names must follow the format `
|
10697
10715
|
# bucket_base_name--az-id--x-s3` (for example, `
|
10698
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
10716
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
10699
10717
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
10700
10718
|
# *Amazon S3 User Guide*.
|
10701
10719
|
#
|
@@ -10857,8 +10875,9 @@ module Aws::S3
|
|
10857
10875
|
# @!attribute [rw] name
|
10858
10876
|
# The name of the location where the bucket will be created.
|
10859
10877
|
#
|
10860
|
-
# For directory buckets, the
|
10861
|
-
# bucket will be created. An example AZ ID
|
10878
|
+
# For directory buckets, the name of the location is the AZ ID of the
|
10879
|
+
# Availability Zone where the bucket will be created. An example AZ ID
|
10880
|
+
# value is `usw2-az1`.
|
10862
10881
|
# @return [String]
|
10863
10882
|
#
|
10864
10883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LocationInfo AWS API Documentation
|
@@ -12704,7 +12723,7 @@ module Aws::S3
|
|
12704
12723
|
# Virtual-hosted-style requests aren't supported. Directory bucket
|
12705
12724
|
# names must be unique in the chosen Availability Zone. Bucket names
|
12706
12725
|
# must also follow the format ` bucket_base_name--az_id--x-s3` (for
|
12707
|
-
# example, ` DOC-EXAMPLE-BUCKET--usw2-
|
12726
|
+
# example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
|
12708
12727
|
# about bucket naming restrictions, see [Directory bucket naming
|
12709
12728
|
# rules][1] in the *Amazon S3 User Guide*
|
12710
12729
|
#
|
@@ -13767,7 +13786,7 @@ module Aws::S3
|
|
13767
13786
|
# requests are not supported. Directory bucket names must be unique in
|
13768
13787
|
# the chosen Availability Zone. Bucket names must follow the format `
|
13769
13788
|
# bucket_base_name--az-id--x-s3` (for example, `
|
13770
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
13789
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
13771
13790
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
13772
13791
|
# *Amazon S3 User Guide*.
|
13773
13792
|
#
|
@@ -15741,7 +15760,7 @@ module Aws::S3
|
|
15741
15760
|
# Amazon Web Services Key Management Service (KMS) customer Amazon Web
|
15742
15761
|
# Services KMS key ID to use for the default encryption. This
|
15743
15762
|
# parameter is allowed if and only if `SSEAlgorithm` is set to
|
15744
|
-
# `aws:kms`.
|
15763
|
+
# `aws:kms` or `aws:kms:dsse`.
|
15745
15764
|
#
|
15746
15765
|
# You can specify the key ID, key alias, or the Amazon Resource Name
|
15747
15766
|
# (ARN) of the KMS key.
|
@@ -16346,7 +16365,7 @@ module Aws::S3
|
|
16346
16365
|
# requests are not supported. Directory bucket names must be unique in
|
16347
16366
|
# the chosen Availability Zone. Bucket names must follow the format `
|
16348
16367
|
# bucket_base_name--az-id--x-s3` (for example, `
|
16349
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
16368
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
16350
16369
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
16351
16370
|
# *Amazon S3 User Guide*.
|
16352
16371
|
#
|
@@ -16813,7 +16832,7 @@ module Aws::S3
|
|
16813
16832
|
# requests are not supported. Directory bucket names must be unique in
|
16814
16833
|
# the chosen Availability Zone. Bucket names must follow the format `
|
16815
16834
|
# bucket_base_name--az-id--x-s3` (for example, `
|
16816
|
-
# DOC-EXAMPLE-BUCKET--usw2-
|
16835
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
16817
16836
|
# naming restrictions, see [Directory bucket naming rules][1] in the
|
16818
16837
|
# *Amazon S3 User Guide*.
|
16819
16838
|
#
|
data/lib/aws-sdk-s3.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.145.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|