aws-sdk-s3 1.91.0 → 1.94.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +4 -6
- data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +64 -0
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +4 -6
- data/lib/aws-sdk-s3/bucket.rb +6 -6
- data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
- data/lib/aws-sdk-s3/bucket_cors.rb +3 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
- data/lib/aws-sdk-s3/bucket_logging.rb +1 -1
- data/lib/aws-sdk-s3/bucket_notification.rb +1 -1
- data/lib/aws-sdk-s3/bucket_policy.rb +2 -2
- data/lib/aws-sdk-s3/bucket_request_payment.rb +1 -1
- data/lib/aws-sdk-s3/bucket_tagging.rb +2 -2
- data/lib/aws-sdk-s3/bucket_versioning.rb +3 -3
- data/lib/aws-sdk-s3/bucket_website.rb +2 -2
- data/lib/aws-sdk-s3/client.rb +758 -482
- data/lib/aws-sdk-s3/client_api.rb +58 -0
- data/lib/aws-sdk-s3/customizations/object.rb +30 -11
- data/lib/aws-sdk-s3/file_uploader.rb +2 -2
- data/lib/aws-sdk-s3/multipart_upload.rb +3 -3
- data/lib/aws-sdk-s3/multipart_upload_part.rb +4 -4
- data/lib/aws-sdk-s3/object.rb +96 -10
- data/lib/aws-sdk-s3/object_acl.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +9 -9
- data/lib/aws-sdk-s3/object_version.rb +4 -4
- data/lib/aws-sdk-s3/plugins/arn.rb +57 -34
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +9 -9
- data/lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb +25 -0
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +6 -0
- data/lib/aws-sdk-s3/presigner.rb +12 -3
- data/lib/aws-sdk-s3/types.rb +567 -243
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ce5ec00762e55e690d481b9b204ed60e801ccb615a02dc75143a51c43cc4f71
|
4
|
+
data.tar.gz: 792694ad4064f09de5b5d505f46c5aeac024eb75dbfd2866294df01ff8bf2f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e968125f14dce1b6d3216c7429e0032a208812beb90e879be41c61b9dea09ecc9d87954d0aa81f324c7abd67facaf77b1e74b0fbe7869fcedf293a6f258c2ad
|
7
|
+
data.tar.gz: 694e1f8d67abe81aad12733d58442ff8fcca505cfce8b79941cd5d790e99c4dc23e52884984519a1c9709d0472c2301ea8ec00295bd4cb848609492937525255
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,35 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.94.1 (2021-05-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Expose presigned request status to the request handler stack #2513
|
8
|
+
|
9
|
+
1.94.0 (2021-04-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Allow S3 Presigner to sign non http verbs like (upload_part, multipart_upload_abort, etc.) #2511
|
13
|
+
|
14
|
+
1.93.1 (2021-04-12)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Issue - Fix FIPS and global endpoint behavior for S3 ARNs.
|
18
|
+
|
19
|
+
* Issue - Increases `multipart_threshold` default from 15 megabytes to 100 megabytes.
|
20
|
+
|
21
|
+
1.93.0 (2021-03-24)
|
22
|
+
------------------
|
23
|
+
|
24
|
+
* Feature - Documentation updates for Amazon S3
|
25
|
+
|
26
|
+
1.92.0 (2021-03-18)
|
27
|
+
------------------
|
28
|
+
|
29
|
+
* Feature - S3 Object Lambda is a new S3 feature that enables users to apply their own custom code to process the output of a standard S3 GET request by automatically invoking a Lambda function with a GET request
|
30
|
+
|
31
|
+
* Feature - Support S3 Object Lambda ARNs in the `bucket:` parameter.
|
32
|
+
|
4
33
|
1.91.0 (2021-03-10)
|
5
34
|
------------------
|
6
35
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.94.1
|
data/lib/aws-sdk-s3.rb
CHANGED
@@ -9,8 +9,6 @@ module Aws
|
|
9
9
|
@type, @access_point_name, @extra = @resource.split(/[:,\/]/)
|
10
10
|
end
|
11
11
|
|
12
|
-
attr_reader :access_point_name
|
13
|
-
|
14
12
|
def support_dualstack?
|
15
13
|
true
|
16
14
|
end
|
@@ -21,12 +19,12 @@ module Aws
|
|
21
19
|
|
22
20
|
def validate_arn!
|
23
21
|
unless @service == 's3'
|
24
|
-
raise ArgumentError, 'Must provide a valid S3
|
22
|
+
raise ArgumentError, 'Must provide a valid S3 Access Point ARN.'
|
25
23
|
end
|
26
24
|
|
27
25
|
if @region.empty? || @account_id.empty?
|
28
26
|
raise ArgumentError,
|
29
|
-
'S3
|
27
|
+
'S3 Access Point ARNs must contain both a region '\
|
30
28
|
'and an account id.'
|
31
29
|
end
|
32
30
|
|
@@ -52,13 +50,13 @@ module Aws
|
|
52
50
|
end
|
53
51
|
end
|
54
52
|
|
55
|
-
def host_url(region, dualstack = false, custom_endpoint = nil)
|
53
|
+
def host_url(region, fips = false, dualstack = false, custom_endpoint = nil)
|
56
54
|
pfx = "#{@access_point_name}-#{@account_id}"
|
57
55
|
if custom_endpoint
|
58
56
|
"#{pfx}.#{custom_endpoint}"
|
59
57
|
else
|
60
58
|
sfx = Aws::Partitions::EndpointProvider.dns_suffix_for(region)
|
61
|
-
"#{pfx}.s3-accesspoint#{'.dualstack' if dualstack}.#{region}.#{sfx}"
|
59
|
+
"#{pfx}.s3-accesspoint#{'-fips' if fips}#{'.dualstack' if dualstack}.#{region}.#{sfx}"
|
62
60
|
end
|
63
61
|
end
|
64
62
|
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
module S3
|
5
|
+
# @api private
|
6
|
+
class ObjectLambdaARN < Aws::ARN
|
7
|
+
def initialize(options)
|
8
|
+
super(options)
|
9
|
+
@type, @access_point_name, @extra = @resource.split(/[:,\/]/)
|
10
|
+
end
|
11
|
+
|
12
|
+
def support_dualstack?
|
13
|
+
false
|
14
|
+
end
|
15
|
+
|
16
|
+
def support_fips?
|
17
|
+
true
|
18
|
+
end
|
19
|
+
|
20
|
+
def validate_arn!
|
21
|
+
unless @service == 's3-object-lambda'
|
22
|
+
raise ArgumentError, 'Must provide a valid S3 Object Lambdas ARN.'
|
23
|
+
end
|
24
|
+
|
25
|
+
if @region.empty? || @account_id.empty?
|
26
|
+
raise ArgumentError,
|
27
|
+
'S3 Object Lambdas ARNs must contain both a region '\
|
28
|
+
'and an account id.'
|
29
|
+
end
|
30
|
+
|
31
|
+
if @type != 'accesspoint'
|
32
|
+
raise ArgumentError, 'Invalid ARN, resource format is not correct.'
|
33
|
+
end
|
34
|
+
|
35
|
+
if @access_point_name.nil? || @access_point_name.empty?
|
36
|
+
raise ArgumentError, 'Missing ARN accesspoint name.'
|
37
|
+
end
|
38
|
+
|
39
|
+
if @extra
|
40
|
+
raise ArgumentError,
|
41
|
+
'ARN accesspoint resource must be a single value.'
|
42
|
+
end
|
43
|
+
|
44
|
+
unless Seahorse::Util.host_label?(
|
45
|
+
"#{@access_point_name}-#{@account_id}"
|
46
|
+
)
|
47
|
+
raise ArgumentError,
|
48
|
+
"#{@access_point_name}-#{@account_id} is not a valid "\
|
49
|
+
'host label.'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def host_url(region, fips = false, _dualstack = false, custom_endpoint = nil)
|
54
|
+
pfx = "#{@access_point_name}-#{@account_id}"
|
55
|
+
if custom_endpoint
|
56
|
+
"#{pfx}.#{custom_endpoint}"
|
57
|
+
else
|
58
|
+
sfx = Aws::Partitions::EndpointProvider.dns_suffix_for(region)
|
59
|
+
"#{pfx}.s3-object-lambda#{'-fips' if fips}.#{region}.#{sfx}"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -10,8 +10,6 @@ module Aws
|
|
10
10
|
@resource.split(/[:,\/]/)
|
11
11
|
end
|
12
12
|
|
13
|
-
attr_reader :outpost_id, :access_point_name
|
14
|
-
|
15
13
|
def support_dualstack?
|
16
14
|
false
|
17
15
|
end
|
@@ -22,17 +20,17 @@ module Aws
|
|
22
20
|
|
23
21
|
def validate_arn!
|
24
22
|
unless @service == 's3-outposts'
|
25
|
-
raise ArgumentError, 'Must provide a valid S3
|
23
|
+
raise ArgumentError, 'Must provide a valid S3 Outposts ARN.'
|
26
24
|
end
|
27
25
|
|
28
26
|
if @region.empty? || @account_id.empty?
|
29
27
|
raise ArgumentError,
|
30
|
-
'S3
|
28
|
+
'S3 Outpost ARNs must contain both a region '\
|
31
29
|
'and an account id.'
|
32
30
|
end
|
33
31
|
|
34
32
|
if @type != 'outpost' && @subtype != 'accesspoint'
|
35
|
-
raise ArgumentError, 'Invalid ARN, resource format is not correct'
|
33
|
+
raise ArgumentError, 'Invalid ARN, resource format is not correct.'
|
36
34
|
end
|
37
35
|
|
38
36
|
if @outpost_id.nil? || @outpost_id.empty?
|
@@ -62,7 +60,7 @@ module Aws
|
|
62
60
|
end
|
63
61
|
|
64
62
|
# Outpost ARNs currently do not support dualstack
|
65
|
-
def host_url(region, _dualstack = false, custom_endpoint = nil)
|
63
|
+
def host_url(region, _fips = false, _dualstack = false, custom_endpoint = nil)
|
66
64
|
pfx = "#{@access_point_name}-#{@account_id}.#{@outpost_id}"
|
67
65
|
if custom_endpoint
|
68
66
|
"#{pfx}.#{custom_endpoint}"
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -266,7 +266,7 @@ module Aws::S3
|
|
266
266
|
# })
|
267
267
|
# @param [Hash] options ({})
|
268
268
|
# @option options [String] :expected_bucket_owner
|
269
|
-
# The account
|
269
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
270
270
|
# a different account, the request will fail with an HTTP `403 (Access
|
271
271
|
# Denied)` error.
|
272
272
|
# @return [EmptyStructure]
|
@@ -316,7 +316,7 @@ module Aws::S3
|
|
316
316
|
# Governance-type Object Lock in place. You must have sufficient
|
317
317
|
# permissions to perform this operation.
|
318
318
|
# @option options [String] :expected_bucket_owner
|
319
|
-
# The account
|
319
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
320
320
|
# a different account, the request will fail with an HTTP `403 (Access
|
321
321
|
# Denied)` error.
|
322
322
|
# @return [Types::DeleteObjectsOutput]
|
@@ -560,7 +560,7 @@ module Aws::S3
|
|
560
560
|
#
|
561
561
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
|
562
562
|
# @option options [String] :expected_bucket_owner
|
563
|
-
# The account
|
563
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
564
564
|
# a different account, the request will fail with an HTTP `403 (Access
|
565
565
|
# Denied)` error.
|
566
566
|
# @return [Object]
|
@@ -668,7 +668,7 @@ module Aws::S3
|
|
668
668
|
# list only if they have an upload ID lexicographically greater than the
|
669
669
|
# specified `upload-id-marker`.
|
670
670
|
# @option options [String] :expected_bucket_owner
|
671
|
-
# The account
|
671
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
672
672
|
# a different account, the request will fail with an HTTP `403 (Access
|
673
673
|
# Denied)` error.
|
674
674
|
# @return [MultipartUpload::Collection]
|
@@ -748,7 +748,7 @@ module Aws::S3
|
|
748
748
|
# @option options [String] :version_id_marker
|
749
749
|
# Specifies the object version you want to start listing from.
|
750
750
|
# @option options [String] :expected_bucket_owner
|
751
|
-
# The account
|
751
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
752
752
|
# a different account, the request will fail with an HTTP `403 (Access
|
753
753
|
# Denied)` error.
|
754
754
|
# @return [ObjectVersion::Collection]
|
@@ -804,7 +804,7 @@ module Aws::S3
|
|
804
804
|
# the list objects request in V2 style. Bucket owners need not specify
|
805
805
|
# this parameter in their requests.
|
806
806
|
# @option options [String] :expected_bucket_owner
|
807
|
-
# The account
|
807
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
808
808
|
# a different account, the request will fail with an HTTP `403 (Access
|
809
809
|
# Denied)` error.
|
810
810
|
# @return [ObjectSummary::Collection]
|
@@ -240,7 +240,7 @@ module Aws::S3
|
|
240
240
|
# @option options [String] :grant_write_acp
|
241
241
|
# Allows grantee to write the ACL for the applicable bucket.
|
242
242
|
# @option options [String] :expected_bucket_owner
|
243
|
-
# The account
|
243
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
244
244
|
# a different account, the request will fail with an HTTP `403 (Access
|
245
245
|
# Denied)` error.
|
246
246
|
# @return [EmptyStructure]
|
@@ -182,7 +182,7 @@ module Aws::S3
|
|
182
182
|
# })
|
183
183
|
# @param [Hash] options ({})
|
184
184
|
# @option options [String] :expected_bucket_owner
|
185
|
-
# The account
|
185
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
186
186
|
# a different account, the request will fail with an HTTP `403 (Access
|
187
187
|
# Denied)` error.
|
188
188
|
# @return [EmptyStructure]
|
@@ -214,8 +214,7 @@ module Aws::S3
|
|
214
214
|
# @option options [required, Types::CORSConfiguration] :cors_configuration
|
215
215
|
# Describes the cross-origin access configuration for objects in an
|
216
216
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
217
|
-
# Resource Sharing][1] in the *Amazon
|
218
|
-
# Guide*.
|
217
|
+
# Resource Sharing][1] in the *Amazon S3 User Guide*.
|
219
218
|
#
|
220
219
|
#
|
221
220
|
#
|
@@ -232,7 +231,7 @@ module Aws::S3
|
|
232
231
|
#
|
233
232
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
234
233
|
# @option options [String] :expected_bucket_owner
|
235
|
-
# The account
|
234
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
236
235
|
# a different account, the request will fail with an HTTP `403 (Access
|
237
236
|
# Denied)` error.
|
238
237
|
# @return [EmptyStructure]
|
@@ -181,7 +181,7 @@ module Aws::S3
|
|
181
181
|
# })
|
182
182
|
# @param [Hash] options ({})
|
183
183
|
# @option options [String] :expected_bucket_owner
|
184
|
-
# The account
|
184
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
185
185
|
# a different account, the request will fail with an HTTP `403 (Access
|
186
186
|
# Denied)` error.
|
187
187
|
# @return [EmptyStructure]
|
@@ -232,7 +232,7 @@ module Aws::S3
|
|
232
232
|
# SDKs, this field is calculated automatically.
|
233
233
|
# @option options [Types::LifecycleConfiguration] :lifecycle_configuration
|
234
234
|
# @option options [String] :expected_bucket_owner
|
235
|
-
# The account
|
235
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
236
236
|
# a different account, the request will fail with an HTTP `403 (Access
|
237
237
|
# Denied)` error.
|
238
238
|
# @return [EmptyStructure]
|
@@ -181,7 +181,7 @@ module Aws::S3
|
|
181
181
|
# })
|
182
182
|
# @param [Hash] options ({})
|
183
183
|
# @option options [String] :expected_bucket_owner
|
184
|
-
# The account
|
184
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
185
185
|
# a different account, the request will fail with an HTTP `403 (Access
|
186
186
|
# Denied)` error.
|
187
187
|
# @return [EmptyStructure]
|
@@ -249,7 +249,7 @@ module Aws::S3
|
|
249
249
|
# @option options [Types::BucketLifecycleConfiguration] :lifecycle_configuration
|
250
250
|
# Container for lifecycle rules. You can add as many as 1,000 rules.
|
251
251
|
# @option options [String] :expected_bucket_owner
|
252
|
-
# The account
|
252
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
253
253
|
# a different account, the request will fail with an HTTP `403 (Access
|
254
254
|
# Denied)` error.
|
255
255
|
# @return [EmptyStructure]
|
@@ -214,7 +214,7 @@ module Aws::S3
|
|
214
214
|
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
215
215
|
# SDKs, this field is calculated automatically.
|
216
216
|
# @option options [String] :expected_bucket_owner
|
217
|
-
# The account
|
217
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
218
218
|
# a different account, the request will fail with an HTTP `403 (Access
|
219
219
|
# Denied)` error.
|
220
220
|
# @return [EmptyStructure]
|
@@ -253,7 +253,7 @@ module Aws::S3
|
|
253
253
|
# bucket. If this element is empty, notifications are turned off for the
|
254
254
|
# bucket.
|
255
255
|
# @option options [String] :expected_bucket_owner
|
256
|
-
# The account
|
256
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
257
257
|
# a different account, the request will fail with an HTTP `403 (Access
|
258
258
|
# Denied)` error.
|
259
259
|
# @return [EmptyStructure]
|
@@ -181,7 +181,7 @@ module Aws::S3
|
|
181
181
|
# })
|
182
182
|
# @param [Hash] options ({})
|
183
183
|
# @option options [String] :expected_bucket_owner
|
184
|
-
# The account
|
184
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
185
185
|
# a different account, the request will fail with an HTTP `403 (Access
|
186
186
|
# Denied)` error.
|
187
187
|
# @return [EmptyStructure]
|
@@ -211,7 +211,7 @@ module Aws::S3
|
|
211
211
|
# @option options [required, String] :policy
|
212
212
|
# The bucket policy as a JSON document.
|
213
213
|
# @option options [String] :expected_bucket_owner
|
214
|
-
# The account
|
214
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
215
215
|
# a different account, the request will fail with an HTTP `403 (Access
|
216
216
|
# Denied)` error.
|
217
217
|
# @return [EmptyStructure]
|
@@ -198,7 +198,7 @@ module Aws::S3
|
|
198
198
|
# @option options [required, Types::RequestPaymentConfiguration] :request_payment_configuration
|
199
199
|
# Container for Payer.
|
200
200
|
# @option options [String] :expected_bucket_owner
|
201
|
-
# The account
|
201
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
202
202
|
# a different account, the request will fail with an HTTP `403 (Access
|
203
203
|
# Denied)` error.
|
204
204
|
# @return [EmptyStructure]
|
@@ -181,7 +181,7 @@ module Aws::S3
|
|
181
181
|
# })
|
182
182
|
# @param [Hash] options ({})
|
183
183
|
# @option options [String] :expected_bucket_owner
|
184
|
-
# The account
|
184
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
185
185
|
# a different account, the request will fail with an HTTP `403 (Access
|
186
186
|
# Denied)` error.
|
187
187
|
# @return [EmptyStructure]
|
@@ -220,7 +220,7 @@ module Aws::S3
|
|
220
220
|
# @option options [required, Types::Tagging] :tagging
|
221
221
|
# Container for the `TagSet` and `Tag` elements.
|
222
222
|
# @option options [String] :expected_bucket_owner
|
223
|
-
# The account
|
223
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
224
224
|
# a different account, the request will fail with an HTTP `403 (Access
|
225
225
|
# Denied)` error.
|
226
226
|
# @return [EmptyStructure]
|
@@ -207,7 +207,7 @@ module Aws::S3
|
|
207
207
|
# The concatenation of the authentication device's serial number, a
|
208
208
|
# space, and the value that is displayed on your authentication device.
|
209
209
|
# @option options [String] :expected_bucket_owner
|
210
|
-
# The account
|
210
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
211
211
|
# a different account, the request will fail with an HTTP `403 (Access
|
212
212
|
# Denied)` error.
|
213
213
|
# @return [EmptyStructure]
|
@@ -252,7 +252,7 @@ module Aws::S3
|
|
252
252
|
# @option options [required, Types::VersioningConfiguration] :versioning_configuration
|
253
253
|
# Container for setting the versioning state.
|
254
254
|
# @option options [String] :expected_bucket_owner
|
255
|
-
# The account
|
255
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
256
256
|
# a different account, the request will fail with an HTTP `403 (Access
|
257
257
|
# Denied)` error.
|
258
258
|
# @return [EmptyStructure]
|
@@ -286,7 +286,7 @@ module Aws::S3
|
|
286
286
|
# The concatenation of the authentication device's serial number, a
|
287
287
|
# space, and the value that is displayed on your authentication device.
|
288
288
|
# @option options [String] :expected_bucket_owner
|
289
|
-
# The account
|
289
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
290
290
|
# a different account, the request will fail with an HTTP `403 (Access
|
291
291
|
# Denied)` error.
|
292
292
|
# @return [EmptyStructure]
|
@@ -203,7 +203,7 @@ module Aws::S3
|
|
203
203
|
# })
|
204
204
|
# @param [Hash] options ({})
|
205
205
|
# @option options [String] :expected_bucket_owner
|
206
|
-
# The account
|
206
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
207
207
|
# a different account, the request will fail with an HTTP `403 (Access
|
208
208
|
# Denied)` error.
|
209
209
|
# @return [EmptyStructure]
|
@@ -261,7 +261,7 @@ module Aws::S3
|
|
261
261
|
# @option options [required, Types::WebsiteConfiguration] :website_configuration
|
262
262
|
# Container for the request.
|
263
263
|
# @option options [String] :expected_bucket_owner
|
264
|
-
# The account
|
264
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
265
265
|
# a different account, the request will fail with an HTTP `403 (Access
|
266
266
|
# Denied)` error.
|
267
267
|
# @return [EmptyStructure]
|