aws-sdk-s3 1.90.0 → 1.94.0
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 +2 -2
- 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 +7 -7
- data/lib/aws-sdk-s3/bucket_acl.rb +2 -2
- data/lib/aws-sdk-s3/bucket_cors.rb +5 -5
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +3 -3
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +3 -3
- data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
- data/lib/aws-sdk-s3/bucket_notification.rb +2 -2
- data/lib/aws-sdk-s3/bucket_policy.rb +3 -3
- data/lib/aws-sdk-s3/bucket_request_payment.rb +2 -2
- data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_versioning.rb +4 -4
- data/lib/aws-sdk-s3/bucket_website.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +699 -421
- data/lib/aws-sdk-s3/client_api.rb +60 -1
- data/lib/aws-sdk-s3/customizations/object.rb +30 -11
- data/lib/aws-sdk-s3/errors.rb +1 -1
- data/lib/aws-sdk-s3/event_streams.rb +1 -1
- data/lib/aws-sdk-s3/file_uploader.rb +2 -2
- data/lib/aws-sdk-s3/multipart_upload.rb +4 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +5 -5
- data/lib/aws-sdk-s3/object.rb +97 -11
- data/lib/aws-sdk-s3/object_acl.rb +2 -2
- data/lib/aws-sdk-s3/object_summary.rb +10 -10
- data/lib/aws-sdk-s3/object_version.rb +5 -5
- 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/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +577 -244
- data/lib/aws-sdk-s3/waiters.rb +1 -1
- 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: '094e61334fb27d9edd1666450c6a08902d650f172c03285254bffb967b9fa9ab'
|
4
|
+
data.tar.gz: f864356a00540fac9606874ef3d754448354e9353a73ef8d337718534e218e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6355b5f02d3b3d68fbcb8c75787a767044dec23c1997ae0b3706d65faabf1a3fade04c951e042b4ae9528f4e4f9b113ba71ae0fbca3da69b09b632db5d887d0
|
7
|
+
data.tar.gz: da2145f461223e7a53e15f3760a80f474add0024936798e0667b74642d57eee109e88f0fa067f7c24c8db5e31d8d3ac474cb2649ba44072523b4a1b617ce7379
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,35 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.94.0 (2021-04-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Allow S3 Presigner to sign non http verbs like (upload_part, multipart_upload_abort, etc.) #2511
|
8
|
+
|
9
|
+
1.93.1 (2021-04-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Fix FIPS and global endpoint behavior for S3 ARNs.
|
13
|
+
|
14
|
+
* Issue - Increases `multipart_threshold` default from 15 megabytes to 100 megabytes.
|
15
|
+
|
16
|
+
1.93.0 (2021-03-24)
|
17
|
+
------------------
|
18
|
+
|
19
|
+
* Feature - Documentation updates for Amazon S3
|
20
|
+
|
21
|
+
1.92.0 (2021-03-18)
|
22
|
+
------------------
|
23
|
+
|
24
|
+
* 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
|
25
|
+
|
26
|
+
* Feature - Support S3 Object Lambda ARNs in the `bucket:` parameter.
|
27
|
+
|
28
|
+
1.91.0 (2021-03-10)
|
29
|
+
------------------
|
30
|
+
|
31
|
+
* Feature - Adding ID element to the CORSRule schema
|
32
|
+
|
4
33
|
1.90.0 (2021-03-08)
|
5
34
|
------------------
|
6
35
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.94.0
|
data/lib/aws-sdk-s3.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-s3/event_streams'
|
|
69
69
|
# @!group service
|
70
70
|
module Aws::S3
|
71
71
|
|
72
|
-
GEM_VERSION = '1.
|
72
|
+
GEM_VERSION = '1.94.0'
|
73
73
|
|
74
74
|
end
|
@@ -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
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|
@@ -198,6 +198,7 @@ module Aws::S3
|
|
198
198
|
# cors_configuration: { # required
|
199
199
|
# cors_rules: [ # required
|
200
200
|
# {
|
201
|
+
# id: "ID",
|
201
202
|
# allowed_headers: ["AllowedHeader"],
|
202
203
|
# allowed_methods: ["AllowedMethod"], # required
|
203
204
|
# allowed_origins: ["AllowedOrigin"], # required
|
@@ -213,8 +214,7 @@ module Aws::S3
|
|
213
214
|
# @option options [required, Types::CORSConfiguration] :cors_configuration
|
214
215
|
# Describes the cross-origin access configuration for objects in an
|
215
216
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
216
|
-
# Resource Sharing][1] in the *Amazon
|
217
|
-
# Guide*.
|
217
|
+
# Resource Sharing][1] in the *Amazon S3 User Guide*.
|
218
218
|
#
|
219
219
|
#
|
220
220
|
#
|
@@ -231,7 +231,7 @@ module Aws::S3
|
|
231
231
|
#
|
232
232
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
233
233
|
# @option options [String] :expected_bucket_owner
|
234
|
-
# The account
|
234
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
235
235
|
# a different account, the request will fail with an HTTP `403 (Access
|
236
236
|
# Denied)` error.
|
237
237
|
# @return [EmptyStructure]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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]
|