aws-sdk-s3 1.87.0 → 1.90.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 +724 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +8 -4
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +7 -3
- data/lib/aws-sdk-s3/bucket.rb +3 -3
- data/lib/aws-sdk-s3/bucket_cors.rb +1 -1
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -4
- data/lib/aws-sdk-s3/client.rb +637 -571
- data/lib/aws-sdk-s3/client_api.rb +2 -0
- data/lib/aws-sdk-s3/customizations/bucket.rb +8 -3
- data/lib/aws-sdk-s3/customizations/object.rb +9 -3
- data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +3 -3
- data/lib/aws-sdk-s3/object.rb +12 -12
- data/lib/aws-sdk-s3/object_summary.rb +12 -12
- data/lib/aws-sdk-s3/object_version.rb +5 -5
- data/lib/aws-sdk-s3/plugins/accelerate.rb +7 -4
- data/lib/aws-sdk-s3/plugins/arn.rb +44 -26
- data/lib/aws-sdk-s3/plugins/dualstack.rb +10 -3
- data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +2 -1
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +4 -4
- data/lib/aws-sdk-s3/plugins/md5s.rb +1 -1
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +18 -26
- data/lib/aws-sdk-s3/presigner.rb +15 -27
- data/lib/aws-sdk-s3/types.rb +354 -225
- metadata +8 -5
@@ -73,22 +73,14 @@ module Aws
|
|
73
73
|
region: context[:cached_sigv4_region],
|
74
74
|
credentials: context.config.credentials
|
75
75
|
)
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
context.config.
|
76
|
+
elsif (arn = context.metadata[:s3_arn])
|
77
|
+
S3Signer.build_v4_signer(
|
78
|
+
service: arn[:arn].service,
|
79
|
+
region: arn[:resolved_region],
|
80
|
+
credentials: context.config.credentials
|
81
81
|
)
|
82
|
-
|
83
|
-
|
84
|
-
S3Signer.build_v4_signer(
|
85
|
-
service: arn.service,
|
86
|
-
region: resolved_region,
|
87
|
-
credentials: context.config.credentials
|
88
|
-
)
|
89
|
-
else
|
90
|
-
context.config.sigv4_signer
|
91
|
-
end
|
82
|
+
else
|
83
|
+
context.config.sigv4_signer
|
92
84
|
end
|
93
85
|
end
|
94
86
|
end
|
@@ -173,10 +165,14 @@ module Aws
|
|
173
165
|
context, actual_region
|
174
166
|
)
|
175
167
|
context.metadata[:redirect_region] = actual_region
|
168
|
+
# if it's an ARN, use the service in the ARN
|
169
|
+
if (arn = context.metadata[:s3_arn])
|
170
|
+
service = arn[:arn].service
|
171
|
+
end
|
176
172
|
Aws::Plugins::SignatureV4.apply_signature(
|
177
173
|
context: context,
|
178
174
|
signer: S3Signer.build_v4_signer(
|
179
|
-
service: 's3',
|
175
|
+
service: service || 's3',
|
180
176
|
region: actual_region,
|
181
177
|
credentials: context.config.credentials
|
182
178
|
)
|
@@ -219,20 +215,16 @@ module Aws
|
|
219
215
|
)
|
220
216
|
end
|
221
217
|
|
218
|
+
# Check to see if the bucket is actually an ARN
|
219
|
+
# Otherwise it will retry with the ARN as the bucket name.
|
222
220
|
def new_hostname(context, region)
|
223
|
-
# Check to see if the bucket is actually an ARN and resolve it
|
224
|
-
# Otherwise it will retry with the ARN as the bucket name.
|
225
|
-
resolved_region, arn = ARN.resolve_arn!(
|
226
|
-
context.params[:bucket],
|
227
|
-
region,
|
228
|
-
context.config.s3_use_arn_region
|
229
|
-
)
|
230
221
|
uri = URI.parse(
|
231
|
-
Aws::Partitions::EndpointProvider.resolve(
|
222
|
+
Aws::Partitions::EndpointProvider.resolve(region, 's3')
|
232
223
|
)
|
233
224
|
|
234
|
-
if arn
|
235
|
-
ARN
|
225
|
+
if (arn = context.metadata[:s3_arn])
|
226
|
+
# Retry with the response region and not the ARN resolved one
|
227
|
+
ARN.resolve_url!(uri, arn[:arn], region).host
|
236
228
|
else
|
237
229
|
"#{context.params[:bucket]}.#{uri.host}"
|
238
230
|
end
|
data/lib/aws-sdk-s3/presigner.rb
CHANGED
@@ -58,8 +58,7 @@ module Aws
|
|
58
58
|
# is returned instead of the default HTTPS URL.
|
59
59
|
#
|
60
60
|
# @option params [Boolean] :virtual_host (false) When `true`, the
|
61
|
-
# bucket name will be used as the hostname.
|
62
|
-
# the returned URL to be 'http' and not 'https'.
|
61
|
+
# bucket name will be used as the hostname.
|
63
62
|
#
|
64
63
|
# @option params [Boolean] :use_accelerate_endpoint (false) When `true`,
|
65
64
|
# Presigner will attempt to use accelerated endpoint.
|
@@ -196,8 +195,6 @@ module Aws
|
|
196
195
|
req.handlers.remove(Aws::S3::Plugins::S3Signer::V4Handler)
|
197
196
|
req.handlers.remove(Seahorse::Client::Plugins::ContentLength::Handler)
|
198
197
|
|
199
|
-
signer = build_signer(req.context, unsigned_headers)
|
200
|
-
|
201
198
|
req.handle(step: :send) do |context|
|
202
199
|
if scheme != http_req.endpoint.scheme
|
203
200
|
endpoint = http_req.endpoint.dup
|
@@ -222,6 +219,20 @@ module Aws
|
|
222
219
|
end
|
223
220
|
http_req.endpoint.query = query.join('&') unless query.empty?
|
224
221
|
|
222
|
+
# If it's an ARN, get the resolved region and service
|
223
|
+
if (arn = context.metadata[:s3_arn])
|
224
|
+
region = arn[:resolved_region]
|
225
|
+
service = arn[:arn].service
|
226
|
+
end
|
227
|
+
|
228
|
+
signer = Aws::Sigv4::Signer.new(
|
229
|
+
service: service || 's3',
|
230
|
+
region: region || context.config.region,
|
231
|
+
credentials_provider: context.config.credentials,
|
232
|
+
unsigned_headers: unsigned_headers,
|
233
|
+
uri_escape_path: false
|
234
|
+
)
|
235
|
+
|
225
236
|
url = signer.presign_url(
|
226
237
|
http_method: http_req.http_method,
|
227
238
|
url: http_req.endpoint,
|
@@ -239,29 +250,6 @@ module Aws
|
|
239
250
|
# Return the headers
|
240
251
|
x_amz_headers
|
241
252
|
end
|
242
|
-
|
243
|
-
def build_signer(context, unsigned_headers)
|
244
|
-
signer_opts = {
|
245
|
-
service: 's3',
|
246
|
-
region: context.config.region,
|
247
|
-
credentials_provider: context.config.credentials,
|
248
|
-
unsigned_headers: unsigned_headers,
|
249
|
-
uri_escape_path: false
|
250
|
-
}
|
251
|
-
|
252
|
-
resolved_region, arn = Aws::S3::Plugins::ARN.resolve_arn!(
|
253
|
-
context.params[:bucket],
|
254
|
-
context.config.sigv4_signer.region,
|
255
|
-
context.config.s3_use_arn_region
|
256
|
-
)
|
257
|
-
|
258
|
-
if arn
|
259
|
-
signer_opts[:region] = resolved_region
|
260
|
-
signer_opts[:service] = arn.service
|
261
|
-
end
|
262
|
-
|
263
|
-
Aws::Sigv4::Signer.new(signer_opts)
|
264
|
-
end
|
265
253
|
end
|
266
254
|
end
|
267
255
|
end
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -67,20 +67,20 @@ module Aws::S3
|
|
67
67
|
# @!attribute [rw] bucket
|
68
68
|
# The bucket name to which the upload was taking place.
|
69
69
|
#
|
70
|
-
# When using this
|
71
|
-
# to the access point hostname. The access point hostname
|
72
|
-
# form
|
70
|
+
# When using this action with an access point, you must direct
|
71
|
+
# requests to the access point hostname. The access point hostname
|
72
|
+
# takes the form
|
73
73
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
74
|
-
# When using this
|
74
|
+
# When using this action with an access point through the AWS SDKs,
|
75
75
|
# you provide the access point ARN in place of the bucket name. For
|
76
76
|
# more information about access point ARNs, see [Using Access
|
77
77
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
78
78
|
#
|
79
|
-
# When using this
|
79
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
80
80
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
81
81
|
# takes the form
|
82
82
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
83
|
-
# When using this
|
83
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
84
84
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
85
85
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
86
86
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -911,20 +911,20 @@ module Aws::S3
|
|
911
911
|
# @!attribute [rw] bucket
|
912
912
|
# The name of the bucket that contains the newly created object.
|
913
913
|
#
|
914
|
-
# When using this
|
915
|
-
# to the access point hostname. The access point hostname
|
916
|
-
# form
|
914
|
+
# When using this action with an access point, you must direct
|
915
|
+
# requests to the access point hostname. The access point hostname
|
916
|
+
# takes the form
|
917
917
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
918
|
-
# When using this
|
918
|
+
# When using this action with an access point through the AWS SDKs,
|
919
919
|
# you provide the access point ARN in place of the bucket name. For
|
920
920
|
# more information about access point ARNs, see [Using Access
|
921
921
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
922
922
|
#
|
923
|
-
# When using this
|
923
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
924
924
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
925
925
|
# takes the form
|
926
926
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
927
|
-
# When using this
|
927
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
928
928
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
929
929
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
930
930
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -1153,6 +1153,14 @@ module Aws::S3
|
|
1153
1153
|
# `Condition` is specified and sibling `HttpErrorCodeReturnedEquals`
|
1154
1154
|
# is not specified. If both conditions are specified, both must be
|
1155
1155
|
# true for the redirect to be applied.
|
1156
|
+
#
|
1157
|
+
# Replacement must be made for object keys containing special
|
1158
|
+
# characters (such as carriage returns) when using XML requests. For
|
1159
|
+
# more information, see [ XML related object key constraints][1].
|
1160
|
+
#
|
1161
|
+
#
|
1162
|
+
#
|
1163
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
1156
1164
|
# @return [String]
|
1157
1165
|
#
|
1158
1166
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition AWS API Documentation
|
@@ -1305,20 +1313,20 @@ module Aws::S3
|
|
1305
1313
|
# @!attribute [rw] bucket
|
1306
1314
|
# The name of the destination bucket.
|
1307
1315
|
#
|
1308
|
-
# When using this
|
1309
|
-
# to the access point hostname. The access point hostname
|
1310
|
-
# form
|
1316
|
+
# When using this action with an access point, you must direct
|
1317
|
+
# requests to the access point hostname. The access point hostname
|
1318
|
+
# takes the form
|
1311
1319
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1312
|
-
# When using this
|
1320
|
+
# When using this action with an access point through the AWS SDKs,
|
1313
1321
|
# you provide the access point ARN in place of the bucket name. For
|
1314
1322
|
# more information about access point ARNs, see [Using Access
|
1315
1323
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
1316
1324
|
#
|
1317
|
-
# When using this
|
1325
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1318
1326
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1319
1327
|
# takes the form
|
1320
1328
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1321
|
-
# When using this
|
1329
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1322
1330
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1323
1331
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1324
1332
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -1533,7 +1541,7 @@ module Aws::S3
|
|
1533
1541
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
1534
1542
|
# Key for object encryption with SSE-KMS.
|
1535
1543
|
#
|
1536
|
-
# Specifying this header with a COPY
|
1544
|
+
# Specifying this header with a COPY action doesn’t affect
|
1537
1545
|
# bucket-level settings for S3 Bucket Key.
|
1538
1546
|
# @return [Boolean]
|
1539
1547
|
#
|
@@ -1650,11 +1658,12 @@ module Aws::S3
|
|
1650
1658
|
# @!attribute [rw] etag
|
1651
1659
|
# Returns the ETag of the new object. The ETag reflects only changes
|
1652
1660
|
# to the contents of an object, not its metadata. The source and
|
1653
|
-
# destination ETag is identical for a successfully copied
|
1661
|
+
# destination ETag is identical for a successfully copied
|
1662
|
+
# non-multipart object.
|
1654
1663
|
# @return [String]
|
1655
1664
|
#
|
1656
1665
|
# @!attribute [rw] last_modified
|
1657
|
-
#
|
1666
|
+
# Creation date of the object.
|
1658
1667
|
# @return [Time]
|
1659
1668
|
#
|
1660
1669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult AWS API Documentation
|
@@ -1821,20 +1830,20 @@ module Aws::S3
|
|
1821
1830
|
# @!attribute [rw] bucket
|
1822
1831
|
# The name of the bucket to which the multipart upload was initiated.
|
1823
1832
|
#
|
1824
|
-
# When using this
|
1825
|
-
# to the access point hostname. The access point hostname
|
1826
|
-
# form
|
1833
|
+
# When using this action with an access point, you must direct
|
1834
|
+
# requests to the access point hostname. The access point hostname
|
1835
|
+
# takes the form
|
1827
1836
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1828
|
-
# When using this
|
1837
|
+
# When using this action with an access point through the AWS SDKs,
|
1829
1838
|
# you provide the access point ARN in place of the bucket name. For
|
1830
1839
|
# more information about access point ARNs, see [Using Access
|
1831
1840
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
1832
1841
|
#
|
1833
|
-
# When using this
|
1842
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1834
1843
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1835
1844
|
# takes the form
|
1836
1845
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1837
|
-
# When using this
|
1846
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1838
1847
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1839
1848
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1840
1849
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -1959,20 +1968,20 @@ module Aws::S3
|
|
1959
1968
|
# @!attribute [rw] bucket
|
1960
1969
|
# The name of the bucket to which to initiate the upload
|
1961
1970
|
#
|
1962
|
-
# When using this
|
1963
|
-
# to the access point hostname. The access point hostname
|
1964
|
-
# form
|
1971
|
+
# When using this action with an access point, you must direct
|
1972
|
+
# requests to the access point hostname. The access point hostname
|
1973
|
+
# takes the form
|
1965
1974
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1966
|
-
# When using this
|
1975
|
+
# When using this action with an access point through the AWS SDKs,
|
1967
1976
|
# you provide the access point ARN in place of the bucket name. For
|
1968
1977
|
# more information about access point ARNs, see [Using Access
|
1969
1978
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
1970
1979
|
#
|
1971
|
-
# When using this
|
1980
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1972
1981
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1973
1982
|
# takes the form
|
1974
1983
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1975
|
-
# When using this
|
1984
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1976
1985
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1977
1986
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1978
1987
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -2097,7 +2106,7 @@ module Aws::S3
|
|
2097
2106
|
#
|
2098
2107
|
#
|
2099
2108
|
#
|
2100
|
-
# [1]: https://docs.aws.amazon.com/
|
2109
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
2101
2110
|
# @return [String]
|
2102
2111
|
#
|
2103
2112
|
# @!attribute [rw] ssekms_encryption_context
|
@@ -2112,7 +2121,7 @@ module Aws::S3
|
|
2112
2121
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
2113
2122
|
# Key for object encryption with SSE-KMS.
|
2114
2123
|
#
|
2115
|
-
# Specifying this header with an object
|
2124
|
+
# Specifying this header with an object action doesn’t affect
|
2116
2125
|
# bucket-level settings for S3 Bucket Key.
|
2117
2126
|
# @return [Boolean]
|
2118
2127
|
#
|
@@ -2754,20 +2763,20 @@ module Aws::S3
|
|
2754
2763
|
# @!attribute [rw] bucket
|
2755
2764
|
# The bucket name of the bucket containing the object.
|
2756
2765
|
#
|
2757
|
-
# When using this
|
2758
|
-
# to the access point hostname. The access point hostname
|
2759
|
-
# form
|
2766
|
+
# When using this action with an access point, you must direct
|
2767
|
+
# requests to the access point hostname. The access point hostname
|
2768
|
+
# takes the form
|
2760
2769
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2761
|
-
# When using this
|
2770
|
+
# When using this action with an access point through the AWS SDKs,
|
2762
2771
|
# you provide the access point ARN in place of the bucket name. For
|
2763
2772
|
# more information about access point ARNs, see [Using Access
|
2764
2773
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
2765
2774
|
#
|
2766
|
-
# When using this
|
2775
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2767
2776
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2768
2777
|
# takes the form
|
2769
2778
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2770
|
-
# When using this
|
2779
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2771
2780
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2772
2781
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2773
2782
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -2856,20 +2865,20 @@ module Aws::S3
|
|
2856
2865
|
# The bucket name containing the objects from which to remove the
|
2857
2866
|
# tags.
|
2858
2867
|
#
|
2859
|
-
# When using this
|
2860
|
-
# to the access point hostname. The access point hostname
|
2861
|
-
# form
|
2868
|
+
# When using this action with an access point, you must direct
|
2869
|
+
# requests to the access point hostname. The access point hostname
|
2870
|
+
# takes the form
|
2862
2871
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2863
|
-
# When using this
|
2872
|
+
# When using this action with an access point through the AWS SDKs,
|
2864
2873
|
# you provide the access point ARN in place of the bucket name. For
|
2865
2874
|
# more information about access point ARNs, see [Using Access
|
2866
2875
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
2867
2876
|
#
|
2868
|
-
# When using this
|
2877
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2869
2878
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2870
2879
|
# takes the form
|
2871
2880
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2872
|
-
# When using this
|
2881
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2873
2882
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2874
2883
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2875
2884
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -2881,7 +2890,8 @@ module Aws::S3
|
|
2881
2890
|
# @return [String]
|
2882
2891
|
#
|
2883
2892
|
# @!attribute [rw] key
|
2884
|
-
#
|
2893
|
+
# The key that identifies the object in the bucket from which to
|
2894
|
+
# remove all tags.
|
2885
2895
|
# @return [String]
|
2886
2896
|
#
|
2887
2897
|
# @!attribute [rw] version_id
|
@@ -2916,8 +2926,8 @@ module Aws::S3
|
|
2916
2926
|
# @return [String]
|
2917
2927
|
#
|
2918
2928
|
# @!attribute [rw] errors
|
2919
|
-
# Container for a failed delete
|
2920
|
-
#
|
2929
|
+
# Container for a failed delete action that describes the object that
|
2930
|
+
# Amazon S3 attempted to delete and the error it encountered.
|
2921
2931
|
# @return [Array<Types::Error>]
|
2922
2932
|
#
|
2923
2933
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput AWS API Documentation
|
@@ -2953,20 +2963,20 @@ module Aws::S3
|
|
2953
2963
|
# @!attribute [rw] bucket
|
2954
2964
|
# The bucket name containing the objects to delete.
|
2955
2965
|
#
|
2956
|
-
# When using this
|
2957
|
-
# to the access point hostname. The access point hostname
|
2958
|
-
# form
|
2966
|
+
# When using this action with an access point, you must direct
|
2967
|
+
# requests to the access point hostname. The access point hostname
|
2968
|
+
# takes the form
|
2959
2969
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2960
|
-
# When using this
|
2970
|
+
# When using this action with an access point through the AWS SDKs,
|
2961
2971
|
# you provide the access point ARN in place of the bucket name. For
|
2962
2972
|
# more information about access point ARNs, see [Using Access
|
2963
2973
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
2964
2974
|
#
|
2965
|
-
# When using this
|
2975
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2966
2976
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2967
2977
|
# takes the form
|
2968
2978
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2969
|
-
# When using this
|
2979
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2970
2980
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2971
2981
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2972
2982
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -3307,7 +3317,7 @@ module Aws::S3
|
|
3307
3317
|
# * * *Code:* AccountProblem
|
3308
3318
|
#
|
3309
3319
|
# * *Description:* There is a problem with your AWS account that
|
3310
|
-
# prevents the
|
3320
|
+
# prevents the action from completing successfully. Contact AWS
|
3311
3321
|
# Support for further assistance.
|
3312
3322
|
#
|
3313
3323
|
# * *HTTP Status Code:* 403 Forbidden
|
@@ -3540,8 +3550,8 @@ module Aws::S3
|
|
3540
3550
|
#
|
3541
3551
|
# * * *Code:* InvalidObjectState
|
3542
3552
|
#
|
3543
|
-
# * *Description:* The
|
3544
|
-
#
|
3553
|
+
# * *Description:* The action is not valid for the current state of
|
3554
|
+
# the object.
|
3545
3555
|
#
|
3546
3556
|
# * *HTTP Status Code:* 403 Forbidden
|
3547
3557
|
#
|
@@ -3922,8 +3932,8 @@ module Aws::S3
|
|
3922
3932
|
#
|
3923
3933
|
# * * *Code:* OperationAborted
|
3924
3934
|
#
|
3925
|
-
# * *Description:* A conflicting conditional
|
3926
|
-
#
|
3935
|
+
# * *Description:* A conflicting conditional action is currently in
|
3936
|
+
# progress against this resource. Try again.
|
3927
3937
|
#
|
3928
3938
|
# * *HTTP Status Code:* 409 Conflict
|
3929
3939
|
#
|
@@ -4120,6 +4130,14 @@ module Aws::S3
|
|
4120
4130
|
#
|
4121
4131
|
# @!attribute [rw] key
|
4122
4132
|
# The object key name to use when a 4XX class error occurs.
|
4133
|
+
#
|
4134
|
+
# Replacement must be made for object keys containing special
|
4135
|
+
# characters (such as carriage returns) when using XML requests. For
|
4136
|
+
# more information, see [ XML related object key constraints][1].
|
4137
|
+
#
|
4138
|
+
#
|
4139
|
+
#
|
4140
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
4123
4141
|
# @return [String]
|
4124
4142
|
#
|
4125
4143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument AWS API Documentation
|
@@ -4131,9 +4149,12 @@ module Aws::S3
|
|
4131
4149
|
end
|
4132
4150
|
|
4133
4151
|
# Optional configuration to replicate existing source bucket objects.
|
4134
|
-
# For more information, see [Replicating Existing Objects]
|
4135
|
-
#
|
4136
|
-
#
|
4152
|
+
# For more information, see [Replicating Existing Objects][1] in the
|
4153
|
+
# *Amazon S3 Developer Guide*.
|
4154
|
+
#
|
4155
|
+
#
|
4156
|
+
#
|
4157
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication
|
4137
4158
|
#
|
4138
4159
|
# @note When making an API call, you may pass ExistingObjectReplication
|
4139
4160
|
# data as a hash:
|
@@ -5109,11 +5130,11 @@ module Aws::S3
|
|
5109
5130
|
# The bucket name that contains the object for which to get the ACL
|
5110
5131
|
# information.
|
5111
5132
|
#
|
5112
|
-
# When using this
|
5113
|
-
# to the access point hostname. The access point hostname
|
5114
|
-
# form
|
5133
|
+
# When using this action with an access point, you must direct
|
5134
|
+
# requests to the access point hostname. The access point hostname
|
5135
|
+
# takes the form
|
5115
5136
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5116
|
-
# When using this
|
5137
|
+
# When using this action with an access point through the AWS SDKs,
|
5117
5138
|
# you provide the access point ARN in place of the bucket name. For
|
5118
5139
|
# more information about access point ARNs, see [Using Access
|
5119
5140
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5188,11 +5209,11 @@ module Aws::S3
|
|
5188
5209
|
# The bucket name containing the object whose Legal Hold status you
|
5189
5210
|
# want to retrieve.
|
5190
5211
|
#
|
5191
|
-
# When using this
|
5192
|
-
# to the access point hostname. The access point hostname
|
5193
|
-
# form
|
5212
|
+
# When using this action with an access point, you must direct
|
5213
|
+
# requests to the access point hostname. The access point hostname
|
5214
|
+
# takes the form
|
5194
5215
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5195
|
-
# When using this
|
5216
|
+
# When using this action with an access point through the AWS SDKs,
|
5196
5217
|
# you provide the access point ARN in place of the bucket name. For
|
5197
5218
|
# more information about access point ARNs, see [Using Access
|
5198
5219
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5265,11 +5286,11 @@ module Aws::S3
|
|
5265
5286
|
# @!attribute [rw] bucket
|
5266
5287
|
# The bucket whose Object Lock configuration you want to retrieve.
|
5267
5288
|
#
|
5268
|
-
# When using this
|
5269
|
-
# to the access point hostname. The access point hostname
|
5270
|
-
# form
|
5289
|
+
# When using this action with an access point, you must direct
|
5290
|
+
# requests to the access point hostname. The access point hostname
|
5291
|
+
# takes the form
|
5271
5292
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5272
|
-
# When using this
|
5293
|
+
# When using this action with an access point through the AWS SDKs,
|
5273
5294
|
# you provide the access point ARN in place of the bucket name. For
|
5274
5295
|
# more information about access point ARNs, see [Using Access
|
5275
5296
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5316,12 +5337,12 @@ module Aws::S3
|
|
5316
5337
|
# @return [String]
|
5317
5338
|
#
|
5318
5339
|
# @!attribute [rw] restore
|
5319
|
-
# Provides information about object restoration
|
5320
|
-
#
|
5340
|
+
# Provides information about object restoration action and expiration
|
5341
|
+
# time of the restored object copy.
|
5321
5342
|
# @return [String]
|
5322
5343
|
#
|
5323
5344
|
# @!attribute [rw] last_modified
|
5324
|
-
#
|
5345
|
+
# Creation date of the object.
|
5325
5346
|
# @return [Time]
|
5326
5347
|
#
|
5327
5348
|
# @!attribute [rw] content_length
|
@@ -5525,20 +5546,20 @@ module Aws::S3
|
|
5525
5546
|
# @!attribute [rw] bucket
|
5526
5547
|
# The bucket name containing the object.
|
5527
5548
|
#
|
5528
|
-
# When using this
|
5529
|
-
# to the access point hostname. The access point hostname
|
5530
|
-
# form
|
5549
|
+
# When using this action with an access point, you must direct
|
5550
|
+
# requests to the access point hostname. The access point hostname
|
5551
|
+
# takes the form
|
5531
5552
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5532
|
-
# When using this
|
5553
|
+
# When using this action with an access point through the AWS SDKs,
|
5533
5554
|
# you provide the access point ARN in place of the bucket name. For
|
5534
5555
|
# more information about access point ARNs, see [Using Access
|
5535
5556
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
5536
5557
|
#
|
5537
|
-
# When using this
|
5558
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5538
5559
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5539
5560
|
# takes the form
|
5540
5561
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5541
|
-
# When using this
|
5562
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
5542
5563
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
5543
5564
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
5544
5565
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5617,14 +5638,14 @@ module Aws::S3
|
|
5617
5638
|
# @return [String]
|
5618
5639
|
#
|
5619
5640
|
# @!attribute [rw] sse_customer_algorithm
|
5620
|
-
# Specifies the algorithm to use to when
|
5641
|
+
# Specifies the algorithm to use to when decrypting the object (for
|
5621
5642
|
# example, AES256).
|
5622
5643
|
# @return [String]
|
5623
5644
|
#
|
5624
5645
|
# @!attribute [rw] sse_customer_key
|
5625
|
-
# Specifies the customer-provided encryption key for Amazon S3 to
|
5626
|
-
#
|
5627
|
-
# it
|
5646
|
+
# Specifies the customer-provided encryption key for Amazon S3 used to
|
5647
|
+
# encrypt the data. This value is used to decrypt the object when
|
5648
|
+
# recovering it and must match the one used when storing the data. The
|
5628
5649
|
# key must be appropriate for use with the algorithm specified in the
|
5629
5650
|
# `x-amz-server-side-encryption-customer-algorithm` header.
|
5630
5651
|
# @return [String]
|
@@ -5714,11 +5735,11 @@ module Aws::S3
|
|
5714
5735
|
# The bucket name containing the object whose retention settings you
|
5715
5736
|
# want to retrieve.
|
5716
5737
|
#
|
5717
|
-
# When using this
|
5718
|
-
# to the access point hostname. The access point hostname
|
5719
|
-
# form
|
5738
|
+
# When using this action with an access point, you must direct
|
5739
|
+
# requests to the access point hostname. The access point hostname
|
5740
|
+
# takes the form
|
5720
5741
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5721
|
-
# When using this
|
5742
|
+
# When using this action with an access point through the AWS SDKs,
|
5722
5743
|
# you provide the access point ARN in place of the bucket name. For
|
5723
5744
|
# more information about access point ARNs, see [Using Access
|
5724
5745
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5794,26 +5815,27 @@ module Aws::S3
|
|
5794
5815
|
# key: "ObjectKey", # required
|
5795
5816
|
# version_id: "ObjectVersionId",
|
5796
5817
|
# expected_bucket_owner: "AccountId",
|
5818
|
+
# request_payer: "requester", # accepts requester
|
5797
5819
|
# }
|
5798
5820
|
#
|
5799
5821
|
# @!attribute [rw] bucket
|
5800
5822
|
# The bucket name containing the object for which to get the tagging
|
5801
5823
|
# information.
|
5802
5824
|
#
|
5803
|
-
# When using this
|
5804
|
-
# to the access point hostname. The access point hostname
|
5805
|
-
# form
|
5825
|
+
# When using this action with an access point, you must direct
|
5826
|
+
# requests to the access point hostname. The access point hostname
|
5827
|
+
# takes the form
|
5806
5828
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5807
|
-
# When using this
|
5829
|
+
# When using this action with an access point through the AWS SDKs,
|
5808
5830
|
# you provide the access point ARN in place of the bucket name. For
|
5809
5831
|
# more information about access point ARNs, see [Using Access
|
5810
5832
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
5811
5833
|
#
|
5812
|
-
# When using this
|
5834
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5813
5835
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5814
5836
|
# takes the form
|
5815
5837
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5816
|
-
# When using this
|
5838
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
5817
5839
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
5818
5840
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
5819
5841
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5839,13 +5861,26 @@ module Aws::S3
|
|
5839
5861
|
# (Access Denied)` error.
|
5840
5862
|
# @return [String]
|
5841
5863
|
#
|
5864
|
+
# @!attribute [rw] request_payer
|
5865
|
+
# Confirms that the requester knows that they will be charged for the
|
5866
|
+
# request. Bucket owners need not specify this parameter in their
|
5867
|
+
# requests. For information about downloading objects from requester
|
5868
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
5869
|
+
# in the *Amazon S3 Developer Guide*.
|
5870
|
+
#
|
5871
|
+
#
|
5872
|
+
#
|
5873
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
5874
|
+
# @return [String]
|
5875
|
+
#
|
5842
5876
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest AWS API Documentation
|
5843
5877
|
#
|
5844
5878
|
class GetObjectTaggingRequest < Struct.new(
|
5845
5879
|
:bucket,
|
5846
5880
|
:key,
|
5847
5881
|
:version_id,
|
5848
|
-
:expected_bucket_owner
|
5882
|
+
:expected_bucket_owner,
|
5883
|
+
:request_payer)
|
5849
5884
|
SENSITIVE = []
|
5850
5885
|
include Aws::Structure
|
5851
5886
|
end
|
@@ -6095,20 +6130,20 @@ module Aws::S3
|
|
6095
6130
|
# @!attribute [rw] bucket
|
6096
6131
|
# The bucket name.
|
6097
6132
|
#
|
6098
|
-
# When using this
|
6099
|
-
# to the access point hostname. The access point hostname
|
6100
|
-
# form
|
6133
|
+
# When using this action with an access point, you must direct
|
6134
|
+
# requests to the access point hostname. The access point hostname
|
6135
|
+
# takes the form
|
6101
6136
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6102
|
-
# When using this
|
6137
|
+
# When using this action with an access point through the AWS SDKs,
|
6103
6138
|
# you provide the access point ARN in place of the bucket name. For
|
6104
6139
|
# more information about access point ARNs, see [Using Access
|
6105
6140
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
6106
6141
|
#
|
6107
|
-
# When using this
|
6142
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6108
6143
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6109
6144
|
# takes the form
|
6110
6145
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6111
|
-
# When using this
|
6146
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
6112
6147
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
6113
6148
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
6114
6149
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -6180,7 +6215,7 @@ module Aws::S3
|
|
6180
6215
|
# @return [String]
|
6181
6216
|
#
|
6182
6217
|
# @!attribute [rw] last_modified
|
6183
|
-
#
|
6218
|
+
# Creation date of the object.
|
6184
6219
|
# @return [Time]
|
6185
6220
|
#
|
6186
6221
|
# @!attribute [rw] content_length
|
@@ -6431,20 +6466,20 @@ module Aws::S3
|
|
6431
6466
|
# @!attribute [rw] bucket
|
6432
6467
|
# The name of the bucket containing the object.
|
6433
6468
|
#
|
6434
|
-
# When using this
|
6435
|
-
# to the access point hostname. The access point hostname
|
6436
|
-
# form
|
6469
|
+
# When using this action with an access point, you must direct
|
6470
|
+
# requests to the access point hostname. The access point hostname
|
6471
|
+
# takes the form
|
6437
6472
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6438
|
-
# When using this
|
6473
|
+
# When using this action with an access point through the AWS SDKs,
|
6439
6474
|
# you provide the access point ARN in place of the bucket name. For
|
6440
6475
|
# more information about access point ARNs, see [Using Access
|
6441
6476
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
6442
6477
|
#
|
6443
|
-
# When using this
|
6478
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6444
6479
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6445
6480
|
# takes the form
|
6446
6481
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6447
|
-
# When using this
|
6482
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
6448
6483
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
6449
6484
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
6450
6485
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -6578,6 +6613,14 @@ module Aws::S3
|
|
6578
6613
|
# you make a request to samplebucket/images/ the data that is returned
|
6579
6614
|
# will be for the object with the key name images/index.html) The
|
6580
6615
|
# suffix must not be empty and must not include a slash character.
|
6616
|
+
#
|
6617
|
+
# Replacement must be made for object keys containing special
|
6618
|
+
# characters (such as carriage returns) when using XML requests. For
|
6619
|
+
# more information, see [ XML related object key constraints][1].
|
6620
|
+
#
|
6621
|
+
#
|
6622
|
+
#
|
6623
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
6581
6624
|
# @return [String]
|
6582
6625
|
#
|
6583
6626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument AWS API Documentation
|
@@ -6790,6 +6833,14 @@ module Aws::S3
|
|
6790
6833
|
# @!attribute [rw] prefix
|
6791
6834
|
# An object key name prefix that identifies the subset of objects to
|
6792
6835
|
# which the rule applies.
|
6836
|
+
#
|
6837
|
+
# Replacement must be made for object keys containing special
|
6838
|
+
# characters (such as carriage returns) when using XML requests. For
|
6839
|
+
# more information, see [ XML related object key constraints][1].
|
6840
|
+
#
|
6841
|
+
#
|
6842
|
+
#
|
6843
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
6793
6844
|
# @return [String]
|
6794
6845
|
#
|
6795
6846
|
# @!attribute [rw] tag
|
@@ -7345,6 +7396,14 @@ module Aws::S3
|
|
7345
7396
|
# @!attribute [rw] prefix
|
7346
7397
|
# Prefix identifying one or more objects to which the rule applies.
|
7347
7398
|
# This is No longer used; use `Filter` instead.
|
7399
|
+
#
|
7400
|
+
# Replacement must be made for object keys containing special
|
7401
|
+
# characters (such as carriage returns) when using XML requests. For
|
7402
|
+
# more information, see [ XML related object key constraints][1].
|
7403
|
+
#
|
7404
|
+
#
|
7405
|
+
#
|
7406
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
7348
7407
|
# @return [String]
|
7349
7408
|
#
|
7350
7409
|
# @!attribute [rw] filter
|
@@ -7470,6 +7529,14 @@ module Aws::S3
|
|
7470
7529
|
#
|
7471
7530
|
# @!attribute [rw] prefix
|
7472
7531
|
# Prefix identifying one or more objects to which the rule applies.
|
7532
|
+
#
|
7533
|
+
# Replacement must be made for object keys containing special
|
7534
|
+
# characters (such as carriage returns) when using XML requests. For
|
7535
|
+
# more information, see [ XML related object key constraints][1].
|
7536
|
+
#
|
7537
|
+
#
|
7538
|
+
#
|
7539
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
7473
7540
|
# @return [String]
|
7474
7541
|
#
|
7475
7542
|
# @!attribute [rw] tag
|
@@ -7890,20 +7957,20 @@ module Aws::S3
|
|
7890
7957
|
# @!attribute [rw] bucket
|
7891
7958
|
# The name of the bucket to which the multipart upload was initiated.
|
7892
7959
|
#
|
7893
|
-
# When using this
|
7894
|
-
# to the access point hostname. The access point hostname
|
7895
|
-
# form
|
7960
|
+
# When using this action with an access point, you must direct
|
7961
|
+
# requests to the access point hostname. The access point hostname
|
7962
|
+
# takes the form
|
7896
7963
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
7897
|
-
# When using this
|
7964
|
+
# When using this action with an access point through the AWS SDKs,
|
7898
7965
|
# you provide the access point ARN in place of the bucket name. For
|
7899
7966
|
# more information about access point ARNs, see [Using Access
|
7900
7967
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
7901
7968
|
#
|
7902
|
-
# When using this
|
7969
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
7903
7970
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
7904
7971
|
# takes the form
|
7905
7972
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
7906
|
-
# When using this
|
7973
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
7907
7974
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
7908
7975
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
7909
7976
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8130,7 +8197,7 @@ module Aws::S3
|
|
8130
8197
|
#
|
8131
8198
|
# @!attribute [rw] max_keys
|
8132
8199
|
# Sets the maximum number of keys returned in the response. By default
|
8133
|
-
# the
|
8200
|
+
# the action returns up to 1,000 key names. The response might contain
|
8134
8201
|
# fewer keys but will never contain more. If additional keys satisfy
|
8135
8202
|
# the search criteria, but were not returned because max-keys was
|
8136
8203
|
# exceeded, the response contains
|
@@ -8218,8 +8285,8 @@ module Aws::S3
|
|
8218
8285
|
# @return [Integer]
|
8219
8286
|
#
|
8220
8287
|
# @!attribute [rw] common_prefixes
|
8221
|
-
# All of the keys rolled up in a common prefix count as
|
8222
|
-
# return when calculating the number of returns.
|
8288
|
+
# All of the keys (up to 1,000) rolled up in a common prefix count as
|
8289
|
+
# a single return when calculating the number of returns.
|
8223
8290
|
#
|
8224
8291
|
# A response can contain CommonPrefixes only if you specify a
|
8225
8292
|
# delimiter.
|
@@ -8275,20 +8342,20 @@ module Aws::S3
|
|
8275
8342
|
# @!attribute [rw] bucket
|
8276
8343
|
# The name of the bucket containing the objects.
|
8277
8344
|
#
|
8278
|
-
# When using this
|
8279
|
-
# to the access point hostname. The access point hostname
|
8280
|
-
# form
|
8345
|
+
# When using this action with an access point, you must direct
|
8346
|
+
# requests to the access point hostname. The access point hostname
|
8347
|
+
# takes the form
|
8281
8348
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8282
|
-
# When using this
|
8349
|
+
# When using this action with an access point through the AWS SDKs,
|
8283
8350
|
# you provide the access point ARN in place of the bucket name. For
|
8284
8351
|
# more information about access point ARNs, see [Using Access
|
8285
8352
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8286
8353
|
#
|
8287
|
-
# When using this
|
8354
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8288
8355
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8289
8356
|
# takes the form
|
8290
8357
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8291
|
-
# When using this
|
8358
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8292
8359
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8293
8360
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8294
8361
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8318,7 +8385,7 @@ module Aws::S3
|
|
8318
8385
|
#
|
8319
8386
|
# @!attribute [rw] max_keys
|
8320
8387
|
# Sets the maximum number of keys returned in the response. By default
|
8321
|
-
# the
|
8388
|
+
# the action returns up to 1,000 key names. The response might contain
|
8322
8389
|
# fewer keys but will never contain more.
|
8323
8390
|
# @return [Integer]
|
8324
8391
|
#
|
@@ -8366,20 +8433,20 @@ module Aws::S3
|
|
8366
8433
|
# @!attribute [rw] name
|
8367
8434
|
# The bucket name.
|
8368
8435
|
#
|
8369
|
-
# When using this
|
8370
|
-
# to the access point hostname. The access point hostname
|
8371
|
-
# form
|
8436
|
+
# When using this action with an access point, you must direct
|
8437
|
+
# requests to the access point hostname. The access point hostname
|
8438
|
+
# takes the form
|
8372
8439
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8373
|
-
# When using this
|
8440
|
+
# When using this action with an access point through the AWS SDKs,
|
8374
8441
|
# you provide the access point ARN in place of the bucket name. For
|
8375
8442
|
# more information about access point ARNs, see [Using Access
|
8376
8443
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8377
8444
|
#
|
8378
|
-
# When using this
|
8445
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8379
8446
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8380
8447
|
# takes the form
|
8381
8448
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8382
|
-
# When using this
|
8449
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8383
8450
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8384
8451
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8385
8452
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8404,13 +8471,13 @@ module Aws::S3
|
|
8404
8471
|
#
|
8405
8472
|
# @!attribute [rw] max_keys
|
8406
8473
|
# Sets the maximum number of keys returned in the response. By default
|
8407
|
-
# the
|
8474
|
+
# the action returns up to 1,000 key names. The response might contain
|
8408
8475
|
# fewer keys but will never contain more.
|
8409
8476
|
# @return [Integer]
|
8410
8477
|
#
|
8411
8478
|
# @!attribute [rw] common_prefixes
|
8412
|
-
# All of the keys rolled up into a common prefix count
|
8413
|
-
# return when calculating the number of returns.
|
8479
|
+
# All of the keys (up to 1,000) rolled up into a common prefix count
|
8480
|
+
# as a single return when calculating the number of returns.
|
8414
8481
|
#
|
8415
8482
|
# A response can contain `CommonPrefixes` only if you specify a
|
8416
8483
|
# delimiter.
|
@@ -8441,8 +8508,8 @@ module Aws::S3
|
|
8441
8508
|
#
|
8442
8509
|
# @!attribute [rw] key_count
|
8443
8510
|
# KeyCount is the number of keys returned with this request. KeyCount
|
8444
|
-
# will always be less than equals to MaxKeys field. Say you ask for
|
8445
|
-
# keys, your result will include less than equals 50 keys
|
8511
|
+
# will always be less than or equals to MaxKeys field. Say you ask for
|
8512
|
+
# 50 keys, your result will include less than equals 50 keys
|
8446
8513
|
# @return [Integer]
|
8447
8514
|
#
|
8448
8515
|
# @!attribute [rw] continuation_token
|
@@ -8501,20 +8568,20 @@ module Aws::S3
|
|
8501
8568
|
# @!attribute [rw] bucket
|
8502
8569
|
# Bucket name to list.
|
8503
8570
|
#
|
8504
|
-
# When using this
|
8505
|
-
# to the access point hostname. The access point hostname
|
8506
|
-
# form
|
8571
|
+
# When using this action with an access point, you must direct
|
8572
|
+
# requests to the access point hostname. The access point hostname
|
8573
|
+
# takes the form
|
8507
8574
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8508
|
-
# When using this
|
8575
|
+
# When using this action with an access point through the AWS SDKs,
|
8509
8576
|
# you provide the access point ARN in place of the bucket name. For
|
8510
8577
|
# more information about access point ARNs, see [Using Access
|
8511
8578
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8512
8579
|
#
|
8513
|
-
# When using this
|
8580
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8514
8581
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8515
8582
|
# takes the form
|
8516
8583
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8517
|
-
# When using this
|
8584
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8518
8585
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8519
8586
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8520
8587
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8536,7 +8603,7 @@ module Aws::S3
|
|
8536
8603
|
#
|
8537
8604
|
# @!attribute [rw] max_keys
|
8538
8605
|
# Sets the maximum number of keys returned in the response. By default
|
8539
|
-
# the
|
8606
|
+
# the action returns up to 1,000 key names. The response might contain
|
8540
8607
|
# fewer keys but will never contain more.
|
8541
8608
|
# @return [Integer]
|
8542
8609
|
#
|
@@ -8716,20 +8783,20 @@ module Aws::S3
|
|
8716
8783
|
# @!attribute [rw] bucket
|
8717
8784
|
# The name of the bucket to which the parts are being uploaded.
|
8718
8785
|
#
|
8719
|
-
# When using this
|
8720
|
-
# to the access point hostname. The access point hostname
|
8721
|
-
# form
|
8786
|
+
# When using this action with an access point, you must direct
|
8787
|
+
# requests to the access point hostname. The access point hostname
|
8788
|
+
# takes the form
|
8722
8789
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8723
|
-
# When using this
|
8790
|
+
# When using this action with an access point through the AWS SDKs,
|
8724
8791
|
# you provide the access point ARN in place of the bucket name. For
|
8725
8792
|
# more information about access point ARNs, see [Using Access
|
8726
8793
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8727
8794
|
#
|
8728
|
-
# When using this
|
8795
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8729
8796
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8730
8797
|
# takes the form
|
8731
8798
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8732
|
-
# When using this
|
8799
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8733
8800
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8734
8801
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8735
8802
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -9358,7 +9425,7 @@ module Aws::S3
|
|
9358
9425
|
# @return [String]
|
9359
9426
|
#
|
9360
9427
|
# @!attribute [rw] last_modified
|
9361
|
-
#
|
9428
|
+
# Creation date of the object.
|
9362
9429
|
# @return [Time]
|
9363
9430
|
#
|
9364
9431
|
# @!attribute [rw] etag
|
@@ -9408,7 +9475,7 @@ module Aws::S3
|
|
9408
9475
|
include Aws::Structure
|
9409
9476
|
end
|
9410
9477
|
|
9411
|
-
# This
|
9478
|
+
# This action is not allowed against this storage tier.
|
9412
9479
|
#
|
9413
9480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectAlreadyInActiveTierError AWS API Documentation
|
9414
9481
|
#
|
@@ -9425,7 +9492,15 @@ module Aws::S3
|
|
9425
9492
|
# }
|
9426
9493
|
#
|
9427
9494
|
# @!attribute [rw] key
|
9428
|
-
# Key name of the object
|
9495
|
+
# Key name of the object.
|
9496
|
+
#
|
9497
|
+
# Replacement must be made for object keys containing special
|
9498
|
+
# characters (such as carriage returns) when using XML requests. For
|
9499
|
+
# more information, see [ XML related object key constraints][1].
|
9500
|
+
#
|
9501
|
+
#
|
9502
|
+
#
|
9503
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
9429
9504
|
# @return [String]
|
9430
9505
|
#
|
9431
9506
|
# @!attribute [rw] version_id
|
@@ -9549,8 +9624,8 @@ module Aws::S3
|
|
9549
9624
|
include Aws::Structure
|
9550
9625
|
end
|
9551
9626
|
|
9552
|
-
# The source object of the COPY
|
9553
|
-
#
|
9627
|
+
# The source object of the COPY action is not in the active tier and is
|
9628
|
+
# only stored in Amazon S3 Glacier.
|
9554
9629
|
#
|
9555
9630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectNotInActiveTierError AWS API Documentation
|
9556
9631
|
#
|
@@ -9877,7 +9952,7 @@ module Aws::S3
|
|
9877
9952
|
# Amazon S3 bucket. You can enable the configuration options in any
|
9878
9953
|
# combination. For more information about when Amazon S3 considers a
|
9879
9954
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
9880
|
-
# *Amazon Simple Storage Service
|
9955
|
+
# *Amazon Simple Storage Service User Guide*.
|
9881
9956
|
#
|
9882
9957
|
#
|
9883
9958
|
#
|
@@ -10189,7 +10264,7 @@ module Aws::S3
|
|
10189
10264
|
# @!attribute [rw] cors_configuration
|
10190
10265
|
# Describes the cross-origin access configuration for objects in an
|
10191
10266
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
10192
|
-
# Resource Sharing][1] in the *Amazon Simple Storage Service
|
10267
|
+
# Resource Sharing][1] in the *Amazon Simple Storage Service User
|
10193
10268
|
# Guide*.
|
10194
10269
|
#
|
10195
10270
|
#
|
@@ -11060,9 +11135,9 @@ module Aws::S3
|
|
11060
11135
|
# @return [String]
|
11061
11136
|
#
|
11062
11137
|
# @!attribute [rw] content_md5
|
11063
|
-
#
|
11064
|
-
#
|
11065
|
-
#
|
11138
|
+
# The base64-encoded 128-bit MD5 digest of the data. You must use this
|
11139
|
+
# header as a message integrity check to verify that the request body
|
11140
|
+
# was not corrupted in transit. For more information, see [RFC
|
11066
11141
|
# 1864][1].
|
11067
11142
|
#
|
11068
11143
|
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
@@ -11352,11 +11427,11 @@ module Aws::S3
|
|
11352
11427
|
# The bucket name that contains the object to which you want to attach
|
11353
11428
|
# the ACL.
|
11354
11429
|
#
|
11355
|
-
# When using this
|
11356
|
-
# to the access point hostname. The access point hostname
|
11357
|
-
# form
|
11430
|
+
# When using this action with an access point, you must direct
|
11431
|
+
# requests to the access point hostname. The access point hostname
|
11432
|
+
# takes the form
|
11358
11433
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11359
|
-
# When using this
|
11434
|
+
# When using this action with an access point through the AWS SDKs,
|
11360
11435
|
# you provide the access point ARN in place of the bucket name. For
|
11361
11436
|
# more information about access point ARNs, see [Using Access
|
11362
11437
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11411,22 +11486,22 @@ module Aws::S3
|
|
11411
11486
|
# @return [String]
|
11412
11487
|
#
|
11413
11488
|
# @!attribute [rw] key
|
11414
|
-
# Key for which the PUT
|
11489
|
+
# Key for which the PUT action was initiated.
|
11415
11490
|
#
|
11416
|
-
# When using this
|
11417
|
-
# to the access point hostname. The access point hostname
|
11418
|
-
# form
|
11491
|
+
# When using this action with an access point, you must direct
|
11492
|
+
# requests to the access point hostname. The access point hostname
|
11493
|
+
# takes the form
|
11419
11494
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11420
|
-
# When using this
|
11495
|
+
# When using this action with an access point through the AWS SDKs,
|
11421
11496
|
# you provide the access point ARN in place of the bucket name. For
|
11422
11497
|
# more information about access point ARNs, see [Using Access
|
11423
11498
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11424
11499
|
#
|
11425
|
-
# When using this
|
11500
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11426
11501
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11427
11502
|
# takes the form
|
11428
11503
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11429
|
-
# When using this
|
11504
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11430
11505
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11431
11506
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11432
11507
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11511,11 +11586,11 @@ module Aws::S3
|
|
11511
11586
|
# The bucket name containing the object that you want to place a Legal
|
11512
11587
|
# Hold on.
|
11513
11588
|
#
|
11514
|
-
# When using this
|
11515
|
-
# to the access point hostname. The access point hostname
|
11516
|
-
# form
|
11589
|
+
# When using this action with an access point, you must direct
|
11590
|
+
# requests to the access point hostname. The access point hostname
|
11591
|
+
# takes the form
|
11517
11592
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11518
|
-
# When using this
|
11593
|
+
# When using this action with an access point through the AWS SDKs,
|
11519
11594
|
# you provide the access point ARN in place of the bucket name. For
|
11520
11595
|
# more information about access point ARNs, see [Using Access
|
11521
11596
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11800,22 +11875,22 @@ module Aws::S3
|
|
11800
11875
|
# @return [IO]
|
11801
11876
|
#
|
11802
11877
|
# @!attribute [rw] bucket
|
11803
|
-
# The bucket name to which the PUT
|
11878
|
+
# The bucket name to which the PUT action was initiated.
|
11804
11879
|
#
|
11805
|
-
# When using this
|
11806
|
-
# to the access point hostname. The access point hostname
|
11807
|
-
# form
|
11880
|
+
# When using this action with an access point, you must direct
|
11881
|
+
# requests to the access point hostname. The access point hostname
|
11882
|
+
# takes the form
|
11808
11883
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11809
|
-
# When using this
|
11884
|
+
# When using this action with an access point through the AWS SDKs,
|
11810
11885
|
# you provide the access point ARN in place of the bucket name. For
|
11811
11886
|
# more information about access point ARNs, see [Using Access
|
11812
11887
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11813
11888
|
#
|
11814
|
-
# When using this
|
11889
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11815
11890
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11816
11891
|
# takes the form
|
11817
11892
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11818
|
-
# When using this
|
11893
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11819
11894
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11820
11895
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11821
11896
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11933,7 +12008,7 @@ module Aws::S3
|
|
11933
12008
|
# @return [String]
|
11934
12009
|
#
|
11935
12010
|
# @!attribute [rw] key
|
11936
|
-
# Object key for which the PUT
|
12011
|
+
# Object key for which the PUT action was initiated.
|
11937
12012
|
# @return [String]
|
11938
12013
|
#
|
11939
12014
|
# @!attribute [rw] metadata
|
@@ -12031,8 +12106,8 @@ module Aws::S3
|
|
12031
12106
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
12032
12107
|
# Key for object encryption with SSE-KMS.
|
12033
12108
|
#
|
12034
|
-
# Specifying this header with a PUT
|
12035
|
-
#
|
12109
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
12110
|
+
# settings for S3 Bucket Key.
|
12036
12111
|
# @return [Boolean]
|
12037
12112
|
#
|
12038
12113
|
# @!attribute [rw] request_payer
|
@@ -12149,11 +12224,11 @@ module Aws::S3
|
|
12149
12224
|
# The bucket name that contains the object you want to apply this
|
12150
12225
|
# Object Retention configuration to.
|
12151
12226
|
#
|
12152
|
-
# When using this
|
12153
|
-
# to the access point hostname. The access point hostname
|
12154
|
-
# form
|
12227
|
+
# When using this action with an access point, you must direct
|
12228
|
+
# requests to the access point hostname. The access point hostname
|
12229
|
+
# takes the form
|
12155
12230
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12156
|
-
# When using this
|
12231
|
+
# When using this action with an access point through the AWS SDKs,
|
12157
12232
|
# you provide the access point ARN in place of the bucket name. For
|
12158
12233
|
# more information about access point ARNs, see [Using Access
|
12159
12234
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -12190,7 +12265,7 @@ module Aws::S3
|
|
12190
12265
|
# @return [String]
|
12191
12266
|
#
|
12192
12267
|
# @!attribute [rw] bypass_governance_retention
|
12193
|
-
# Indicates whether this
|
12268
|
+
# Indicates whether this action should bypass Governance-mode
|
12194
12269
|
# restrictions.
|
12195
12270
|
# @return [Boolean]
|
12196
12271
|
#
|
@@ -12251,25 +12326,26 @@ module Aws::S3
|
|
12251
12326
|
# ],
|
12252
12327
|
# },
|
12253
12328
|
# expected_bucket_owner: "AccountId",
|
12329
|
+
# request_payer: "requester", # accepts requester
|
12254
12330
|
# }
|
12255
12331
|
#
|
12256
12332
|
# @!attribute [rw] bucket
|
12257
12333
|
# The bucket name containing the object.
|
12258
12334
|
#
|
12259
|
-
# When using this
|
12260
|
-
# to the access point hostname. The access point hostname
|
12261
|
-
# form
|
12335
|
+
# When using this action with an access point, you must direct
|
12336
|
+
# requests to the access point hostname. The access point hostname
|
12337
|
+
# takes the form
|
12262
12338
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12263
|
-
# When using this
|
12339
|
+
# When using this action with an access point through the AWS SDKs,
|
12264
12340
|
# you provide the access point ARN in place of the bucket name. For
|
12265
12341
|
# more information about access point ARNs, see [Using Access
|
12266
12342
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
12267
12343
|
#
|
12268
|
-
# When using this
|
12344
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
12269
12345
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12270
12346
|
# takes the form
|
12271
12347
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
12272
|
-
# When using this
|
12348
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
12273
12349
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
12274
12350
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
12275
12351
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -12305,6 +12381,18 @@ module Aws::S3
|
|
12305
12381
|
# (Access Denied)` error.
|
12306
12382
|
# @return [String]
|
12307
12383
|
#
|
12384
|
+
# @!attribute [rw] request_payer
|
12385
|
+
# Confirms that the requester knows that they will be charged for the
|
12386
|
+
# request. Bucket owners need not specify this parameter in their
|
12387
|
+
# requests. For information about downloading objects from requester
|
12388
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
12389
|
+
# in the *Amazon S3 Developer Guide*.
|
12390
|
+
#
|
12391
|
+
#
|
12392
|
+
#
|
12393
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
12394
|
+
# @return [String]
|
12395
|
+
#
|
12308
12396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest AWS API Documentation
|
12309
12397
|
#
|
12310
12398
|
class PutObjectTaggingRequest < Struct.new(
|
@@ -12313,7 +12401,8 @@ module Aws::S3
|
|
12313
12401
|
:version_id,
|
12314
12402
|
:content_md5,
|
12315
12403
|
:tagging,
|
12316
|
-
:expected_bucket_owner
|
12404
|
+
:expected_bucket_owner,
|
12405
|
+
:request_payer)
|
12317
12406
|
SENSITIVE = []
|
12318
12407
|
include Aws::Structure
|
12319
12408
|
end
|
@@ -12535,6 +12624,14 @@ module Aws::S3
|
|
12535
12624
|
# `ReplaceKeyPrefixWith` to `/documents`. Not required if one of the
|
12536
12625
|
# siblings is present. Can be present only if `ReplaceKeyWith` is not
|
12537
12626
|
# provided.
|
12627
|
+
#
|
12628
|
+
# Replacement must be made for object keys containing special
|
12629
|
+
# characters (such as carriage returns) when using XML requests. For
|
12630
|
+
# more information, see [ XML related object key constraints][1].
|
12631
|
+
#
|
12632
|
+
#
|
12633
|
+
#
|
12634
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12538
12635
|
# @return [String]
|
12539
12636
|
#
|
12540
12637
|
# @!attribute [rw] replace_key_with
|
@@ -12542,6 +12639,14 @@ module Aws::S3
|
|
12542
12639
|
# redirect request to `error.html`. Not required if one of the
|
12543
12640
|
# siblings is present. Can be present only if `ReplaceKeyPrefixWith`
|
12544
12641
|
# is not provided.
|
12642
|
+
#
|
12643
|
+
# Replacement must be made for object keys containing special
|
12644
|
+
# characters (such as carriage returns) when using XML requests. For
|
12645
|
+
# more information, see [ XML related object key constraints][1].
|
12646
|
+
#
|
12647
|
+
#
|
12648
|
+
#
|
12649
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12545
12650
|
# @return [String]
|
12546
12651
|
#
|
12547
12652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect AWS API Documentation
|
@@ -12805,6 +12910,14 @@ module Aws::S3
|
|
12805
12910
|
# which the rule applies. The maximum prefix length is 1,024
|
12806
12911
|
# characters. To include all objects in a bucket, specify an empty
|
12807
12912
|
# string.
|
12913
|
+
#
|
12914
|
+
# Replacement must be made for object keys containing special
|
12915
|
+
# characters (such as carriage returns) when using XML requests. For
|
12916
|
+
# more information, see [ XML related object key constraints][1].
|
12917
|
+
#
|
12918
|
+
#
|
12919
|
+
#
|
12920
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12808
12921
|
# @return [String]
|
12809
12922
|
#
|
12810
12923
|
# @!attribute [rw] filter
|
@@ -12946,6 +13059,14 @@ module Aws::S3
|
|
12946
13059
|
# @!attribute [rw] prefix
|
12947
13060
|
# An object key name prefix that identifies the subset of objects to
|
12948
13061
|
# which the rule applies.
|
13062
|
+
#
|
13063
|
+
# Replacement must be made for object keys containing special
|
13064
|
+
# characters (such as carriage returns) when using XML requests. For
|
13065
|
+
# more information, see [ XML related object key constraints][1].
|
13066
|
+
#
|
13067
|
+
#
|
13068
|
+
#
|
13069
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12949
13070
|
# @return [String]
|
12950
13071
|
#
|
12951
13072
|
# @!attribute [rw] tag
|
@@ -13191,20 +13312,20 @@ module Aws::S3
|
|
13191
13312
|
# @!attribute [rw] bucket
|
13192
13313
|
# The bucket name containing the object to restore.
|
13193
13314
|
#
|
13194
|
-
# When using this
|
13195
|
-
# to the access point hostname. The access point hostname
|
13196
|
-
# form
|
13315
|
+
# When using this action with an access point, you must direct
|
13316
|
+
# requests to the access point hostname. The access point hostname
|
13317
|
+
# takes the form
|
13197
13318
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
13198
|
-
# When using this
|
13319
|
+
# When using this action with an access point through the AWS SDKs,
|
13199
13320
|
# you provide the access point ARN in place of the bucket name. For
|
13200
13321
|
# more information about access point ARNs, see [Using Access
|
13201
13322
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
13202
13323
|
#
|
13203
|
-
# When using this
|
13324
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
13204
13325
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13205
13326
|
# takes the form
|
13206
13327
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
13207
|
-
# When using this
|
13328
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
13208
13329
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
13209
13330
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
13210
13331
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -13216,7 +13337,7 @@ module Aws::S3
|
|
13216
13337
|
# @return [String]
|
13217
13338
|
#
|
13218
13339
|
# @!attribute [rw] key
|
13219
|
-
# Object key for which the
|
13340
|
+
# Object key for which the action was initiated.
|
13220
13341
|
# @return [String]
|
13221
13342
|
#
|
13222
13343
|
# @!attribute [rw] version_id
|
@@ -13394,8 +13515,8 @@ module Aws::S3
|
|
13394
13515
|
|
13395
13516
|
# Specifies the redirect behavior and when a redirect is applied. For
|
13396
13517
|
# more information about routing rules, see [Configuring advanced
|
13397
|
-
# conditional redirects][1] in the *Amazon Simple Storage Service
|
13398
|
-
#
|
13518
|
+
# conditional redirects][1] in the *Amazon Simple Storage Service User
|
13519
|
+
# Guide*.
|
13399
13520
|
#
|
13400
13521
|
#
|
13401
13522
|
#
|
@@ -13492,6 +13613,14 @@ module Aws::S3
|
|
13492
13613
|
# @!attribute [rw] prefix
|
13493
13614
|
# Object key prefix that identifies one or more objects to which this
|
13494
13615
|
# rule applies.
|
13616
|
+
#
|
13617
|
+
# Replacement must be made for object keys containing special
|
13618
|
+
# characters (such as carriage returns) when using XML requests. For
|
13619
|
+
# more information, see [ XML related object key constraints][1].
|
13620
|
+
#
|
13621
|
+
#
|
13622
|
+
#
|
13623
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
13495
13624
|
# @return [String]
|
13496
13625
|
#
|
13497
13626
|
# @!attribute [rw] status
|
@@ -13503,7 +13632,7 @@ module Aws::S3
|
|
13503
13632
|
# Specifies when an object transitions to a specified storage class.
|
13504
13633
|
# For more information about Amazon S3 lifecycle configuration rules,
|
13505
13634
|
# see [Transitioning Objects Using Amazon S3 Lifecycle][1] in the
|
13506
|
-
# *Amazon Simple Storage Service
|
13635
|
+
# *Amazon Simple Storage Service User Guide*.
|
13507
13636
|
#
|
13508
13637
|
#
|
13509
13638
|
#
|
@@ -14107,7 +14236,7 @@ module Aws::S3
|
|
14107
14236
|
# Bucket Key. By default, S3 Bucket Key is not enabled.
|
14108
14237
|
#
|
14109
14238
|
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
|
14110
|
-
# Simple Storage Service
|
14239
|
+
# Simple Storage Service User Guide*.
|
14111
14240
|
#
|
14112
14241
|
#
|
14113
14242
|
#
|
@@ -14469,7 +14598,7 @@ module Aws::S3
|
|
14469
14598
|
# @!attribute [rw] events
|
14470
14599
|
# The Amazon S3 bucket event about which to send notifications. For
|
14471
14600
|
# more information, see [Supported Event Types][1] in the *Amazon
|
14472
|
-
# Simple Storage Service
|
14601
|
+
# Simple Storage Service User Guide*.
|
14473
14602
|
#
|
14474
14603
|
#
|
14475
14604
|
#
|
@@ -14549,7 +14678,7 @@ module Aws::S3
|
|
14549
14678
|
# Specifies when an object transitions to a specified storage class. For
|
14550
14679
|
# more information about Amazon S3 lifecycle configuration rules, see
|
14551
14680
|
# [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon
|
14552
|
-
# Simple Storage Service
|
14681
|
+
# Simple Storage Service User Guide*.
|
14553
14682
|
#
|
14554
14683
|
#
|
14555
14684
|
#
|
@@ -14676,20 +14805,20 @@ module Aws::S3
|
|
14676
14805
|
# @!attribute [rw] bucket
|
14677
14806
|
# The bucket name.
|
14678
14807
|
#
|
14679
|
-
# When using this
|
14680
|
-
# to the access point hostname. The access point hostname
|
14681
|
-
# form
|
14808
|
+
# When using this action with an access point, you must direct
|
14809
|
+
# requests to the access point hostname. The access point hostname
|
14810
|
+
# takes the form
|
14682
14811
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
14683
|
-
# When using this
|
14812
|
+
# When using this action with an access point through the AWS SDKs,
|
14684
14813
|
# you provide the access point ARN in place of the bucket name. For
|
14685
14814
|
# more information about access point ARNs, see [Using Access
|
14686
14815
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
14687
14816
|
#
|
14688
|
-
# When using this
|
14817
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
14689
14818
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
14690
14819
|
# takes the form
|
14691
14820
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
14692
|
-
# When using this
|
14821
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
14693
14822
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
14694
14823
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
14695
14824
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -14953,20 +15082,20 @@ module Aws::S3
|
|
14953
15082
|
# @!attribute [rw] bucket
|
14954
15083
|
# The name of the bucket to which the multipart upload was initiated.
|
14955
15084
|
#
|
14956
|
-
# When using this
|
14957
|
-
# to the access point hostname. The access point hostname
|
14958
|
-
# form
|
15085
|
+
# When using this action with an access point, you must direct
|
15086
|
+
# requests to the access point hostname. The access point hostname
|
15087
|
+
# takes the form
|
14959
15088
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
14960
|
-
# When using this
|
15089
|
+
# When using this action with an access point through the AWS SDKs,
|
14961
15090
|
# you provide the access point ARN in place of the bucket name. For
|
14962
15091
|
# more information about access point ARNs, see [Using Access
|
14963
15092
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
14964
15093
|
#
|
14965
|
-
# When using this
|
15094
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
14966
15095
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
14967
15096
|
# takes the form
|
14968
15097
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
14969
|
-
# When using this
|
15098
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
14970
15099
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
14971
15100
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
14972
15101
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|