aws-sdk-s3 1.89.0 → 1.93.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 +748 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- 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 +10 -10
- 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 +1104 -832
- data/lib/aws-sdk-s3/client_api.rb +60 -1
- 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 +103 -17
- data/lib/aws-sdk-s3/object_acl.rb +2 -2
- data/lib/aws-sdk-s3/object_summary.rb +16 -16
- 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 +775 -439
- data/lib/aws-sdk-s3/waiters.rb +1 -1
- metadata +10 -5
@@ -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
|
|
@@ -286,7 +286,7 @@ module Aws::S3
|
|
286
286
|
# @option options [String] :version_id
|
287
287
|
# VersionId used to reference a specific version of the object.
|
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 [Types::PutObjectAclOutput]
|
@@ -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
|
|
@@ -375,7 +375,7 @@ module Aws::S3
|
|
375
375
|
#
|
376
376
|
#
|
377
377
|
#
|
378
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
378
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
379
379
|
# @option options [String] :copy_source_if_match
|
380
380
|
# Copies the object if its entity tag (ETag) matches the specified tag.
|
381
381
|
# @option options [Time,DateTime,Date,Integer,String] :copy_source_if_modified_since
|
@@ -465,8 +465,8 @@ module Aws::S3
|
|
465
465
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
466
466
|
# for object encryption with SSE-KMS.
|
467
467
|
#
|
468
|
-
# Specifying this header with a COPY
|
469
|
-
#
|
468
|
+
# Specifying this header with a COPY action doesn’t affect bucket-level
|
469
|
+
# settings for S3 Bucket Key.
|
470
470
|
# @option options [String] :copy_source_sse_customer_algorithm
|
471
471
|
# Specifies the algorithm to use when decrypting the source object (for
|
472
472
|
# example, AES256).
|
@@ -500,11 +500,11 @@ module Aws::S3
|
|
500
500
|
# @option options [String] :object_lock_legal_hold_status
|
501
501
|
# Specifies whether you want to apply a Legal Hold to the copied object.
|
502
502
|
# @option options [String] :expected_bucket_owner
|
503
|
-
# The account
|
503
|
+
# The account ID of the expected destination bucket owner. If the
|
504
504
|
# destination bucket is owned by a different account, the request will
|
505
505
|
# fail with an HTTP `403 (Access Denied)` error.
|
506
506
|
# @option options [String] :expected_source_bucket_owner
|
507
|
-
# The account
|
507
|
+
# The account ID of the expected source bucket owner. If the source
|
508
508
|
# bucket is owned by a different account, the request will fail with an
|
509
509
|
# HTTP `403 (Access Denied)` error.
|
510
510
|
# @return [Types::CopyObjectOutput]
|
@@ -548,7 +548,7 @@ module Aws::S3
|
|
548
548
|
# Indicates whether S3 Object Lock should bypass Governance-mode
|
549
549
|
# restrictions to process this operation.
|
550
550
|
# @option options [String] :expected_bucket_owner
|
551
|
-
# The account
|
551
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
552
552
|
# a different account, the request will fail with an HTTP `403 (Access
|
553
553
|
# Denied)` error.
|
554
554
|
# @return [Types::DeleteObjectOutput]
|
@@ -652,7 +652,7 @@ module Aws::S3
|
|
652
652
|
# for the part specified. Useful for downloading just a part of an
|
653
653
|
# object.
|
654
654
|
# @option options [String] :expected_bucket_owner
|
655
|
-
# The account
|
655
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
656
656
|
# a different account, the request will fail with an HTTP `403 (Access
|
657
657
|
# Denied)` error.
|
658
658
|
# @return [Types::GetObjectOutput]
|
@@ -777,7 +777,7 @@ module Aws::S3
|
|
777
777
|
#
|
778
778
|
#
|
779
779
|
#
|
780
|
-
# [1]: https://docs.aws.amazon.com/
|
780
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
781
781
|
# @option options [String] :ssekms_encryption_context
|
782
782
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
783
783
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
@@ -788,7 +788,7 @@ module Aws::S3
|
|
788
788
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
789
789
|
# for object encryption with SSE-KMS.
|
790
790
|
#
|
791
|
-
# Specifying this header with an object
|
791
|
+
# Specifying this header with an object action doesn’t affect
|
792
792
|
# bucket-level settings for S3 Bucket Key.
|
793
793
|
# @option options [String] :request_payer
|
794
794
|
# Confirms that the requester knows that they will be charged for the
|
@@ -812,7 +812,7 @@ module Aws::S3
|
|
812
812
|
# Specifies whether you want to apply a Legal Hold to the uploaded
|
813
813
|
# object.
|
814
814
|
# @option options [String] :expected_bucket_owner
|
815
|
-
# The account
|
815
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
816
816
|
# a different account, the request will fail with an HTTP `403 (Access
|
817
817
|
# Denied)` error.
|
818
818
|
# @return [MultipartUpload]
|
@@ -1034,8 +1034,8 @@ module Aws::S3
|
|
1034
1034
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
1035
1035
|
# for object encryption with SSE-KMS.
|
1036
1036
|
#
|
1037
|
-
# Specifying this header with a PUT
|
1038
|
-
#
|
1037
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
1038
|
+
# settings for S3 Bucket Key.
|
1039
1039
|
# @option options [String] :request_payer
|
1040
1040
|
# Confirms that the requester knows that they will be charged for the
|
1041
1041
|
# request. Bucket owners need not specify this parameter in their
|
@@ -1061,7 +1061,7 @@ module Aws::S3
|
|
1061
1061
|
#
|
1062
1062
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
|
1063
1063
|
# @option options [String] :expected_bucket_owner
|
1064
|
-
# The account
|
1064
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
1065
1065
|
# a different account, the request will fail with an HTTP `403 (Access
|
1066
1066
|
# Denied)` error.
|
1067
1067
|
# @return [Types::PutObjectOutput]
|
@@ -1178,7 +1178,7 @@ module Aws::S3
|
|
1178
1178
|
#
|
1179
1179
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
1180
1180
|
# @option options [String] :expected_bucket_owner
|
1181
|
-
# The account
|
1181
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
1182
1182
|
# a different account, the request will fail with an HTTP `403 (Access
|
1183
1183
|
# Denied)` error.
|
1184
1184
|
# @return [Types::RestoreObjectOutput]
|
@@ -1335,7 +1335,7 @@ module Aws::S3
|
|
1335
1335
|
# Governance-type Object Lock in place. You must have sufficient
|
1336
1336
|
# permissions to perform this operation.
|
1337
1337
|
# @option options [String] :expected_bucket_owner
|
1338
|
-
# The account
|
1338
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
1339
1339
|
# a different account, the request will fail with an HTTP `403 (Access
|
1340
1340
|
# Denied)` error.
|
1341
1341
|
# @return [void]
|
@@ -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
|
|
@@ -256,7 +256,7 @@ module Aws::S3
|
|
256
256
|
# Indicates whether S3 Object Lock should bypass Governance-mode
|
257
257
|
# restrictions to process this operation.
|
258
258
|
# @option options [String] :expected_bucket_owner
|
259
|
-
# The account
|
259
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
260
260
|
# a different account, the request will fail with an HTTP `403 (Access
|
261
261
|
# Denied)` error.
|
262
262
|
# @return [Types::DeleteObjectOutput]
|
@@ -358,7 +358,7 @@ module Aws::S3
|
|
358
358
|
# for the part specified. Useful for downloading just a part of an
|
359
359
|
# object.
|
360
360
|
# @option options [String] :expected_bucket_owner
|
361
|
-
# The account
|
361
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
362
362
|
# a different account, the request will fail with an HTTP `403 (Access
|
363
363
|
# Denied)` error.
|
364
364
|
# @return [Types::GetObjectOutput]
|
@@ -442,7 +442,7 @@ module Aws::S3
|
|
442
442
|
# for the part specified. Useful querying about the size of the part and
|
443
443
|
# the number of parts in this object.
|
444
444
|
# @option options [String] :expected_bucket_owner
|
445
|
-
# The account
|
445
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
446
446
|
# a different account, the request will fail with an HTTP `403 (Access
|
447
447
|
# Denied)` error.
|
448
448
|
# @return [Types::HeadObjectOutput]
|
@@ -546,7 +546,7 @@ module Aws::S3
|
|
546
546
|
# Governance-type Object Lock in place. You must have sufficient
|
547
547
|
# permissions to perform this operation.
|
548
548
|
# @option options [String] :expected_bucket_owner
|
549
|
-
# The account
|
549
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
550
550
|
# a different account, the request will fail with an HTTP `403 (Access
|
551
551
|
# Denied)` error.
|
552
552
|
# @return [void]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative '../arn/access_point_arn'
|
4
|
+
require_relative '../arn/object_lambda_arn'
|
4
5
|
require_relative '../arn/outpost_access_point_arn'
|
5
6
|
|
6
7
|
module Aws
|
@@ -22,9 +23,9 @@ be made. Set to `false` to use the client's region instead.
|
|
22
23
|
resolve_s3_use_arn_region(cfg)
|
23
24
|
end
|
24
25
|
|
25
|
-
# param validator is validate:50
|
26
|
+
# param validator is validate:50
|
26
27
|
# endpoint is build:90 (populates the URI for the first time)
|
27
|
-
# endpoint pattern is build:10
|
28
|
+
# endpoint pattern is build:10
|
28
29
|
def add_handlers(handlers, _config)
|
29
30
|
handlers.add(ARNHandler, step: :validate, priority: 75)
|
30
31
|
handlers.add(UrlHandler)
|
@@ -38,6 +39,7 @@ be made. Set to `false` to use the client's region instead.
|
|
38
39
|
context.http_request.endpoint,
|
39
40
|
context.metadata[:s3_arn][:arn],
|
40
41
|
context.metadata[:s3_arn][:resolved_region],
|
42
|
+
context.metadata[:s3_arn][:fips],
|
41
43
|
context.metadata[:s3_arn][:dualstack],
|
42
44
|
# if regional_endpoint is false, a custom endpoint was provided
|
43
45
|
# in this case, we want to prefix the endpoint using the ARN
|
@@ -62,9 +64,17 @@ be made. Set to `false` to use the client's region instead.
|
|
62
64
|
if arn
|
63
65
|
validate_config!(context, arn)
|
64
66
|
|
67
|
+
fips = false
|
68
|
+
if resolved_region.include?('fips')
|
69
|
+
fips = true
|
70
|
+
resolved_region = resolved_region.gsub('fips-', '')
|
71
|
+
.gsub('-fips', '')
|
72
|
+
end
|
73
|
+
|
65
74
|
context.metadata[:s3_arn] = {
|
66
75
|
arn: arn,
|
67
76
|
resolved_region: resolved_region,
|
77
|
+
fips: fips,
|
68
78
|
dualstack: extract_dualstack_config!(context)
|
69
79
|
}
|
70
80
|
end
|
@@ -114,18 +124,10 @@ be made. Set to `false` to use the client's region instead.
|
|
114
124
|
def resolve_arn!(member_value, region, use_arn_region)
|
115
125
|
if Aws::ARNParser.arn?(member_value)
|
116
126
|
arn = Aws::ARNParser.parse(member_value)
|
117
|
-
|
118
|
-
s3_arn = Aws::S3::AccessPointARN.new(arn.to_h)
|
119
|
-
elsif arn.resource.start_with?('outpost')
|
120
|
-
s3_arn = Aws::S3::OutpostAccessPointARN.new(arn.to_h)
|
121
|
-
else
|
122
|
-
raise ArgumentError,
|
123
|
-
'Only Access Point and Outpost Access Point type ARNs '\
|
124
|
-
'are currently supported.'
|
125
|
-
end
|
127
|
+
s3_arn = resolve_arn_type!(arn)
|
126
128
|
s3_arn.validate_arn!
|
127
129
|
validate_region_config!(s3_arn, region, use_arn_region)
|
128
|
-
region = s3_arn.region if use_arn_region
|
130
|
+
region = s3_arn.region if use_arn_region && !region.include?('fips')
|
129
131
|
[region, s3_arn]
|
130
132
|
else
|
131
133
|
[region]
|
@@ -133,15 +135,30 @@ be made. Set to `false` to use the client's region instead.
|
|
133
135
|
end
|
134
136
|
|
135
137
|
# @api private
|
136
|
-
def resolve_url!(url, arn, region, dualstack = false, has_custom_endpoint = false)
|
138
|
+
def resolve_url!(url, arn, region, fips = false, dualstack = false, has_custom_endpoint = false)
|
137
139
|
custom_endpoint = url.host if has_custom_endpoint
|
138
|
-
url.host = arn.host_url(region, dualstack, custom_endpoint)
|
140
|
+
url.host = arn.host_url(region, fips, dualstack, custom_endpoint)
|
139
141
|
url.path = url_path(url.path, arn)
|
140
142
|
url
|
141
143
|
end
|
142
144
|
|
143
145
|
private
|
144
146
|
|
147
|
+
def resolve_arn_type!(arn)
|
148
|
+
case arn.service
|
149
|
+
when 's3'
|
150
|
+
Aws::S3::AccessPointARN.new(arn.to_h)
|
151
|
+
when 's3-outposts'
|
152
|
+
Aws::S3::OutpostAccessPointARN.new(arn.to_h)
|
153
|
+
when 's3-object-lambda'
|
154
|
+
Aws::S3::ObjectLambdaARN.new(arn.to_h)
|
155
|
+
else
|
156
|
+
raise ArgumentError,
|
157
|
+
'Only Access Point, Outposts, and Object Lambdas ARNs '\
|
158
|
+
'are currently supported.'
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
145
162
|
def resolve_s3_use_arn_region(cfg)
|
146
163
|
value = ENV['AWS_S3_USE_ARN_REGION'] ||
|
147
164
|
Aws.shared_config.s3_use_arn_region(profile: cfg.profile) ||
|
@@ -157,8 +174,7 @@ be made. Set to `false` to use the client's region instead.
|
|
157
174
|
value
|
158
175
|
end
|
159
176
|
|
160
|
-
# Remove ARN from the path
|
161
|
-
# This only works because accesspoints care about the URL
|
177
|
+
# Remove ARN from the path because we've already set the new host
|
162
178
|
def url_path(path, arn)
|
163
179
|
path = path.sub("/#{Seahorse::Util.uri_escape(arn.to_s)}", '')
|
164
180
|
.sub("/#{arn}", '')
|
@@ -167,33 +183,40 @@ be made. Set to `false` to use the client's region instead.
|
|
167
183
|
end
|
168
184
|
|
169
185
|
def validate_region_config!(arn, region, use_arn_region)
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
(region == 's3-external-1' || region == 'aws-global')
|
176
|
-
if !fips && arn.region.include?('fips')
|
177
|
-
raise ArgumentError,
|
178
|
-
'FIPS region ARNs are not supported for this type of ARN.'
|
186
|
+
if ['s3-external-1', 'aws-global'].include?(region)
|
187
|
+
# These "regions" are not regional endpoints
|
188
|
+
unless use_arn_region
|
189
|
+
raise Aws::Errors::InvalidARNRegionError,
|
190
|
+
'Configured client region is not a regional endpoint.'
|
179
191
|
end
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
'ARN without `:s3_use_arn_region`.'
|
192
|
+
# These "regions" are in the AWS partition
|
193
|
+
# Cannot use ARN region unless it's the same partition
|
194
|
+
unless arn.partition == 'aws'
|
195
|
+
raise Aws::Errors::InvalidARNPartitionError
|
185
196
|
end
|
186
|
-
|
187
|
-
|
188
|
-
|
197
|
+
else
|
198
|
+
if region.include?('fips')
|
199
|
+
# If ARN type doesn't support FIPS but the client region is FIPS
|
200
|
+
unless arn.support_fips?
|
201
|
+
raise ArgumentError,
|
202
|
+
'FIPS client regions are not supported for this type '\
|
203
|
+
'of ARN.'
|
204
|
+
end
|
205
|
+
|
206
|
+
fips = true
|
207
|
+
# Normalize the region so we can compare partition and regions
|
189
208
|
region = region.gsub('fips-', '').gsub('-fips', '')
|
190
209
|
end
|
210
|
+
|
211
|
+
# Raise if the ARN and client regions are in different partitions
|
191
212
|
if use_arn_region &&
|
192
213
|
!Aws::Partitions.partition(arn.partition).region?(region)
|
193
214
|
raise Aws::Errors::InvalidARNPartitionError
|
194
215
|
end
|
195
216
|
|
196
|
-
|
217
|
+
# Raise if regions mismatch
|
218
|
+
# Either when it's a fips client or not using the ARN region
|
219
|
+
if (!use_arn_region || fips) && region != arn.region
|
197
220
|
raise Aws::Errors::InvalidARNRegionError
|
198
221
|
end
|
199
222
|
end
|
@@ -10,8 +10,8 @@ module Aws
|
|
10
10
|
default: 'legacy',
|
11
11
|
doc_type: String,
|
12
12
|
docstring: <<-DOCS) do |cfg|
|
13
|
-
|
14
|
-
|
13
|
+
Pass in `regional` to enable the `us-east-1` regional endpoint.
|
14
|
+
Defaults to `legacy` mode which uses the global endpoint.
|
15
15
|
DOCS
|
16
16
|
resolve_iad_regional_endpoint(cfg)
|
17
17
|
end
|
@@ -27,14 +27,14 @@ region. Defaults to `legacy` mode using global endpoint.
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
|
29
29
|
def call(context)
|
30
|
-
#
|
31
|
-
|
30
|
+
# WriteGetObjectResponse does not have a global endpoint
|
31
|
+
# ARNs are regionalized, so don't touch those either.
|
32
|
+
if context.operation.name != 'WriteGetObjectResponse' &&
|
33
|
+
context.config.s3_us_east_1_regional_endpoint == 'legacy' &&
|
34
|
+
!context.metadata[:s3_arn]
|
32
35
|
host = context.http_request.endpoint.host
|
33
|
-
|
34
|
-
|
35
|
-
legacy_host = IADRegionalEndpoint.legacy_host(host)
|
36
|
-
context.http_request.endpoint.host = legacy_host
|
37
|
-
end
|
36
|
+
legacy_host = IADRegionalEndpoint.legacy_host(host)
|
37
|
+
context.http_request.endpoint.host = legacy_host
|
38
38
|
end
|
39
39
|
@handler.call(context)
|
40
40
|
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
module S3
|
5
|
+
module Plugins
|
6
|
+
# WriteGetObjectResponse is called from Lambda after a data transform.
|
7
|
+
# If there is no custom endpoint, we change the endpoint from s3 to
|
8
|
+
# s3-object-lambda just for this operation.
|
9
|
+
class ObjectLambdaEndpoint < Seahorse::Client::Plugin
|
10
|
+
class Handler < Seahorse::Client::Handler
|
11
|
+
def call(context)
|
12
|
+
if context.config.regional_endpoint
|
13
|
+
host = context.http_request.endpoint.host
|
14
|
+
host = host.sub('s3.', 's3-object-lambda.')
|
15
|
+
context.http_request.endpoint.host = host
|
16
|
+
end
|
17
|
+
@handler.call(context)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
handler(Handler, operations: [:write_get_object_response])
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -79,6 +79,12 @@ module Aws
|
|
79
79
|
region: arn[:resolved_region],
|
80
80
|
credentials: context.config.credentials
|
81
81
|
)
|
82
|
+
elsif context.operation.name == 'WriteGetObjectResponse'
|
83
|
+
S3Signer.build_v4_signer(
|
84
|
+
service: 's3-object-lambda',
|
85
|
+
region: context.config.sigv4_region,
|
86
|
+
credentials: context.config.credentials
|
87
|
+
)
|
82
88
|
else
|
83
89
|
context.config.sigv4_signer
|
84
90
|
end
|
data/lib/aws-sdk-s3/resource.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
|
|
data/lib/aws-sdk-s3/types.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
|
|
@@ -14,7 +14,7 @@ module Aws::S3
|
|
14
14
|
# upload that Amazon S3 will wait before permanently removing all parts
|
15
15
|
# of the upload. For more information, see [ Aborting Incomplete
|
16
16
|
# Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
|
17
|
-
#
|
17
|
+
# S3 User Guide*.
|
18
18
|
#
|
19
19
|
#
|
20
20
|
#
|
@@ -67,28 +67,28 @@ 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
|
-
# Points][1] in the *Amazon
|
77
|
+
# Points][1] in the *Amazon S3 User 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
|
-
# Outposts][2] in the *Amazon
|
86
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
87
87
|
#
|
88
88
|
#
|
89
89
|
#
|
90
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
91
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
90
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
91
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
92
92
|
# @return [String]
|
93
93
|
#
|
94
94
|
# @!attribute [rw] key
|
@@ -112,7 +112,7 @@ module Aws::S3
|
|
112
112
|
# @return [String]
|
113
113
|
#
|
114
114
|
# @!attribute [rw] expected_bucket_owner
|
115
|
-
# The account
|
115
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
116
116
|
# by a different account, the request will fail with an HTTP `403
|
117
117
|
# (Access Denied)` error.
|
118
118
|
# @return [String]
|
@@ -131,7 +131,7 @@ module Aws::S3
|
|
131
131
|
|
132
132
|
# Configures the transfer acceleration state for an Amazon S3 bucket.
|
133
133
|
# For more information, see [Amazon S3 Transfer Acceleration][1] in the
|
134
|
-
# *Amazon
|
134
|
+
# *Amazon S3 User Guide*.
|
135
135
|
#
|
136
136
|
#
|
137
137
|
#
|
@@ -492,7 +492,7 @@ module Aws::S3
|
|
492
492
|
|
493
493
|
# Specifies the lifecycle configuration for objects in an Amazon S3
|
494
494
|
# bucket. For more information, see [Object Lifecycle Management][1] in
|
495
|
-
# the *Amazon
|
495
|
+
# the *Amazon S3 User Guide*.
|
496
496
|
#
|
497
497
|
#
|
498
498
|
#
|
@@ -608,8 +608,7 @@ module Aws::S3
|
|
608
608
|
|
609
609
|
# Describes the cross-origin access configuration for objects in an
|
610
610
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
611
|
-
# Resource Sharing][1] in the *Amazon
|
612
|
-
# Guide*.
|
611
|
+
# Resource Sharing][1] in the *Amazon S3 User Guide*.
|
613
612
|
#
|
614
613
|
#
|
615
614
|
#
|
@@ -621,6 +620,7 @@ module Aws::S3
|
|
621
620
|
# {
|
622
621
|
# cors_rules: [ # required
|
623
622
|
# {
|
623
|
+
# id: "ID",
|
624
624
|
# allowed_headers: ["AllowedHeader"],
|
625
625
|
# allowed_methods: ["AllowedMethod"], # required
|
626
626
|
# allowed_origins: ["AllowedOrigin"], # required
|
@@ -649,6 +649,7 @@ module Aws::S3
|
|
649
649
|
# data as a hash:
|
650
650
|
#
|
651
651
|
# {
|
652
|
+
# id: "ID",
|
652
653
|
# allowed_headers: ["AllowedHeader"],
|
653
654
|
# allowed_methods: ["AllowedMethod"], # required
|
654
655
|
# allowed_origins: ["AllowedOrigin"], # required
|
@@ -656,6 +657,11 @@ module Aws::S3
|
|
656
657
|
# max_age_seconds: 1,
|
657
658
|
# }
|
658
659
|
#
|
660
|
+
# @!attribute [rw] id
|
661
|
+
# Unique identifier for the rule. The value cannot be longer than 255
|
662
|
+
# characters.
|
663
|
+
# @return [String]
|
664
|
+
#
|
659
665
|
# @!attribute [rw] allowed_headers
|
660
666
|
# Headers that are specified in the `Access-Control-Request-Headers`
|
661
667
|
# header. These headers are allowed in a preflight OPTIONS request. In
|
@@ -687,6 +693,7 @@ module Aws::S3
|
|
687
693
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule AWS API Documentation
|
688
694
|
#
|
689
695
|
class CORSRule < Struct.new(
|
696
|
+
:id,
|
690
697
|
:allowed_headers,
|
691
698
|
:allowed_methods,
|
692
699
|
:allowed_origins,
|
@@ -911,28 +918,28 @@ module Aws::S3
|
|
911
918
|
# @!attribute [rw] bucket
|
912
919
|
# The name of the bucket that contains the newly created object.
|
913
920
|
#
|
914
|
-
# When using this
|
915
|
-
# to the access point hostname. The access point hostname
|
916
|
-
# form
|
921
|
+
# When using this action with an access point, you must direct
|
922
|
+
# requests to the access point hostname. The access point hostname
|
923
|
+
# takes the form
|
917
924
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
918
|
-
# When using this
|
925
|
+
# When using this action with an access point through the AWS SDKs,
|
919
926
|
# you provide the access point ARN in place of the bucket name. For
|
920
927
|
# more information about access point ARNs, see [Using Access
|
921
|
-
# Points][1] in the *Amazon
|
928
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
922
929
|
#
|
923
|
-
# When using this
|
930
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
924
931
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
925
932
|
# takes the form
|
926
933
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
927
|
-
# When using this
|
934
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
928
935
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
929
936
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
930
|
-
# Outposts][2] in the *Amazon
|
937
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
931
938
|
#
|
932
939
|
#
|
933
940
|
#
|
934
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
935
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
941
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
942
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
936
943
|
# @return [String]
|
937
944
|
#
|
938
945
|
# @!attribute [rw] key
|
@@ -1049,7 +1056,7 @@ module Aws::S3
|
|
1049
1056
|
# @return [String]
|
1050
1057
|
#
|
1051
1058
|
# @!attribute [rw] expected_bucket_owner
|
1052
|
-
# The account
|
1059
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
1053
1060
|
# by a different account, the request will fail with an HTTP `403
|
1054
1061
|
# (Access Denied)` error.
|
1055
1062
|
# @return [String]
|
@@ -1313,28 +1320,28 @@ module Aws::S3
|
|
1313
1320
|
# @!attribute [rw] bucket
|
1314
1321
|
# The name of the destination bucket.
|
1315
1322
|
#
|
1316
|
-
# When using this
|
1317
|
-
# to the access point hostname. The access point hostname
|
1318
|
-
# form
|
1323
|
+
# When using this action with an access point, you must direct
|
1324
|
+
# requests to the access point hostname. The access point hostname
|
1325
|
+
# takes the form
|
1319
1326
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1320
|
-
# When using this
|
1327
|
+
# When using this action with an access point through the AWS SDKs,
|
1321
1328
|
# you provide the access point ARN in place of the bucket name. For
|
1322
1329
|
# more information about access point ARNs, see [Using Access
|
1323
|
-
# Points][1] in the *Amazon
|
1330
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
1324
1331
|
#
|
1325
|
-
# When using this
|
1332
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1326
1333
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1327
1334
|
# takes the form
|
1328
1335
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1329
|
-
# When using this
|
1336
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1330
1337
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1331
1338
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1332
|
-
# Outposts][2] in the *Amazon
|
1339
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
1333
1340
|
#
|
1334
1341
|
#
|
1335
1342
|
#
|
1336
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1337
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1343
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
1344
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1338
1345
|
# @return [String]
|
1339
1346
|
#
|
1340
1347
|
# @!attribute [rw] cache_control
|
@@ -1403,7 +1410,7 @@ module Aws::S3
|
|
1403
1410
|
#
|
1404
1411
|
#
|
1405
1412
|
#
|
1406
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1413
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
1407
1414
|
# @return [String]
|
1408
1415
|
#
|
1409
1416
|
# @!attribute [rw] copy_source_if_match
|
@@ -1541,7 +1548,7 @@ module Aws::S3
|
|
1541
1548
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
1542
1549
|
# Key for object encryption with SSE-KMS.
|
1543
1550
|
#
|
1544
|
-
# Specifying this header with a COPY
|
1551
|
+
# Specifying this header with a COPY action doesn’t affect
|
1545
1552
|
# bucket-level settings for S3 Bucket Key.
|
1546
1553
|
# @return [Boolean]
|
1547
1554
|
#
|
@@ -1595,13 +1602,13 @@ module Aws::S3
|
|
1595
1602
|
# @return [String]
|
1596
1603
|
#
|
1597
1604
|
# @!attribute [rw] expected_bucket_owner
|
1598
|
-
# The account
|
1605
|
+
# The account ID of the expected destination bucket owner. If the
|
1599
1606
|
# destination bucket is owned by a different account, the request will
|
1600
1607
|
# fail with an HTTP `403 (Access Denied)` error.
|
1601
1608
|
# @return [String]
|
1602
1609
|
#
|
1603
1610
|
# @!attribute [rw] expected_source_bucket_owner
|
1604
|
-
# The account
|
1611
|
+
# The account ID of the expected source bucket owner. If the source
|
1605
1612
|
# bucket is owned by a different account, the request will fail with
|
1606
1613
|
# an HTTP `403 (Access Denied)` error.
|
1607
1614
|
# @return [String]
|
@@ -1830,28 +1837,28 @@ module Aws::S3
|
|
1830
1837
|
# @!attribute [rw] bucket
|
1831
1838
|
# The name of the bucket to which the multipart upload was initiated.
|
1832
1839
|
#
|
1833
|
-
# When using this
|
1834
|
-
# to the access point hostname. The access point hostname
|
1835
|
-
# form
|
1840
|
+
# When using this action with an access point, you must direct
|
1841
|
+
# requests to the access point hostname. The access point hostname
|
1842
|
+
# takes the form
|
1836
1843
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1837
|
-
# When using this
|
1844
|
+
# When using this action with an access point through the AWS SDKs,
|
1838
1845
|
# you provide the access point ARN in place of the bucket name. For
|
1839
1846
|
# more information about access point ARNs, see [Using Access
|
1840
|
-
# Points][1] in the *Amazon
|
1847
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
1841
1848
|
#
|
1842
|
-
# When using this
|
1849
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1843
1850
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1844
1851
|
# takes the form
|
1845
1852
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1846
|
-
# When using this
|
1853
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1847
1854
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1848
1855
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1849
|
-
# Outposts][2] in the *Amazon
|
1856
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
1850
1857
|
#
|
1851
1858
|
#
|
1852
1859
|
#
|
1853
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1854
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1860
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
1861
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1855
1862
|
# @return [String]
|
1856
1863
|
#
|
1857
1864
|
# @!attribute [rw] key
|
@@ -1968,28 +1975,28 @@ module Aws::S3
|
|
1968
1975
|
# @!attribute [rw] bucket
|
1969
1976
|
# The name of the bucket to which to initiate the upload
|
1970
1977
|
#
|
1971
|
-
# When using this
|
1972
|
-
# to the access point hostname. The access point hostname
|
1973
|
-
# form
|
1978
|
+
# When using this action with an access point, you must direct
|
1979
|
+
# requests to the access point hostname. The access point hostname
|
1980
|
+
# takes the form
|
1974
1981
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1975
|
-
# When using this
|
1982
|
+
# When using this action with an access point through the AWS SDKs,
|
1976
1983
|
# you provide the access point ARN in place of the bucket name. For
|
1977
1984
|
# more information about access point ARNs, see [Using Access
|
1978
|
-
# Points][1] in the *Amazon
|
1985
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
1979
1986
|
#
|
1980
|
-
# When using this
|
1987
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1981
1988
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1982
1989
|
# takes the form
|
1983
1990
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1984
|
-
# When using this
|
1991
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1985
1992
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1986
1993
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1987
|
-
# Outposts][2] in the *Amazon
|
1994
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
1988
1995
|
#
|
1989
1996
|
#
|
1990
1997
|
#
|
1991
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1992
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1998
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
1999
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1993
2000
|
# @return [String]
|
1994
2001
|
#
|
1995
2002
|
# @!attribute [rw] cache_control
|
@@ -2106,7 +2113,7 @@ module Aws::S3
|
|
2106
2113
|
#
|
2107
2114
|
#
|
2108
2115
|
#
|
2109
|
-
# [1]: https://docs.aws.amazon.com/
|
2116
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
2110
2117
|
# @return [String]
|
2111
2118
|
#
|
2112
2119
|
# @!attribute [rw] ssekms_encryption_context
|
@@ -2121,7 +2128,7 @@ module Aws::S3
|
|
2121
2128
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
2122
2129
|
# Key for object encryption with SSE-KMS.
|
2123
2130
|
#
|
2124
|
-
# Specifying this header with an object
|
2131
|
+
# Specifying this header with an object action doesn’t affect
|
2125
2132
|
# bucket-level settings for S3 Bucket Key.
|
2126
2133
|
# @return [Boolean]
|
2127
2134
|
#
|
@@ -2157,7 +2164,7 @@ module Aws::S3
|
|
2157
2164
|
# @return [String]
|
2158
2165
|
#
|
2159
2166
|
# @!attribute [rw] expected_bucket_owner
|
2160
|
-
# The account
|
2167
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2161
2168
|
# by a different account, the request will fail with an HTTP `403
|
2162
2169
|
# (Access Denied)` error.
|
2163
2170
|
# @return [String]
|
@@ -2201,6 +2208,14 @@ module Aws::S3
|
|
2201
2208
|
# The container element for specifying the default Object Lock retention
|
2202
2209
|
# settings for new objects placed in the specified bucket.
|
2203
2210
|
#
|
2211
|
+
# <note markdown="1"> * The `DefaultRetention` settings require both a mode and a period.
|
2212
|
+
#
|
2213
|
+
# * The `DefaultRetention` period can be either `Days` or `Years` but
|
2214
|
+
# you must select one. You cannot specify `Days` and `Years` at the
|
2215
|
+
# same time.
|
2216
|
+
#
|
2217
|
+
# </note>
|
2218
|
+
#
|
2204
2219
|
# @note When making an API call, you may pass DefaultRetention
|
2205
2220
|
# data as a hash:
|
2206
2221
|
#
|
@@ -2212,17 +2227,18 @@ module Aws::S3
|
|
2212
2227
|
#
|
2213
2228
|
# @!attribute [rw] mode
|
2214
2229
|
# The default Object Lock retention mode you want to apply to new
|
2215
|
-
# objects placed in the specified bucket.
|
2230
|
+
# objects placed in the specified bucket. Must be used with either
|
2231
|
+
# `Days` or `Years`.
|
2216
2232
|
# @return [String]
|
2217
2233
|
#
|
2218
2234
|
# @!attribute [rw] days
|
2219
2235
|
# The number of days that you want to specify for the default
|
2220
|
-
# retention period.
|
2236
|
+
# retention period. Must be used with `Mode`.
|
2221
2237
|
# @return [Integer]
|
2222
2238
|
#
|
2223
2239
|
# @!attribute [rw] years
|
2224
2240
|
# The number of years that you want to specify for the default
|
2225
|
-
# retention period.
|
2241
|
+
# retention period. Must be used with `Mode`.
|
2226
2242
|
# @return [Integer]
|
2227
2243
|
#
|
2228
2244
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention AWS API Documentation
|
@@ -2287,7 +2303,7 @@ module Aws::S3
|
|
2287
2303
|
# @return [String]
|
2288
2304
|
#
|
2289
2305
|
# @!attribute [rw] expected_bucket_owner
|
2290
|
-
# The account
|
2306
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2291
2307
|
# by a different account, the request will fail with an HTTP `403
|
2292
2308
|
# (Access Denied)` error.
|
2293
2309
|
# @return [String]
|
@@ -2315,7 +2331,7 @@ module Aws::S3
|
|
2315
2331
|
# @return [String]
|
2316
2332
|
#
|
2317
2333
|
# @!attribute [rw] expected_bucket_owner
|
2318
|
-
# The account
|
2334
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2319
2335
|
# by a different account, the request will fail with an HTTP `403
|
2320
2336
|
# (Access Denied)` error.
|
2321
2337
|
# @return [String]
|
@@ -2343,7 +2359,7 @@ module Aws::S3
|
|
2343
2359
|
# @return [String]
|
2344
2360
|
#
|
2345
2361
|
# @!attribute [rw] expected_bucket_owner
|
2346
|
-
# The account
|
2362
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2347
2363
|
# by a different account, the request will fail with an HTTP `403
|
2348
2364
|
# (Access Denied)` error.
|
2349
2365
|
# @return [String]
|
@@ -2402,7 +2418,7 @@ module Aws::S3
|
|
2402
2418
|
# @return [String]
|
2403
2419
|
#
|
2404
2420
|
# @!attribute [rw] expected_bucket_owner
|
2405
|
-
# The account
|
2421
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2406
2422
|
# by a different account, the request will fail with an HTTP `403
|
2407
2423
|
# (Access Denied)` error.
|
2408
2424
|
# @return [String]
|
@@ -2430,7 +2446,7 @@ module Aws::S3
|
|
2430
2446
|
# @return [String]
|
2431
2447
|
#
|
2432
2448
|
# @!attribute [rw] expected_bucket_owner
|
2433
|
-
# The account
|
2449
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2434
2450
|
# by a different account, the request will fail with an HTTP `403
|
2435
2451
|
# (Access Denied)` error.
|
2436
2452
|
# @return [String]
|
@@ -2463,7 +2479,7 @@ module Aws::S3
|
|
2463
2479
|
# @return [String]
|
2464
2480
|
#
|
2465
2481
|
# @!attribute [rw] expected_bucket_owner
|
2466
|
-
# The account
|
2482
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2467
2483
|
# by a different account, the request will fail with an HTTP `403
|
2468
2484
|
# (Access Denied)` error.
|
2469
2485
|
# @return [String]
|
@@ -2491,7 +2507,7 @@ module Aws::S3
|
|
2491
2507
|
# @return [String]
|
2492
2508
|
#
|
2493
2509
|
# @!attribute [rw] expected_bucket_owner
|
2494
|
-
# The account
|
2510
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2495
2511
|
# by a different account, the request will fail with an HTTP `403
|
2496
2512
|
# (Access Denied)` error.
|
2497
2513
|
# @return [String]
|
@@ -2518,7 +2534,7 @@ module Aws::S3
|
|
2518
2534
|
# @return [String]
|
2519
2535
|
#
|
2520
2536
|
# @!attribute [rw] expected_bucket_owner
|
2521
|
-
# The account
|
2537
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2522
2538
|
# by a different account, the request will fail with an HTTP `403
|
2523
2539
|
# (Access Denied)` error.
|
2524
2540
|
# @return [String]
|
@@ -2545,7 +2561,7 @@ module Aws::S3
|
|
2545
2561
|
# @return [String]
|
2546
2562
|
#
|
2547
2563
|
# @!attribute [rw] expected_bucket_owner
|
2548
|
-
# The account
|
2564
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2549
2565
|
# by a different account, the request will fail with an HTTP `403
|
2550
2566
|
# (Access Denied)` error.
|
2551
2567
|
# @return [String]
|
@@ -2572,7 +2588,7 @@ module Aws::S3
|
|
2572
2588
|
# @return [String]
|
2573
2589
|
#
|
2574
2590
|
# @!attribute [rw] expected_bucket_owner
|
2575
|
-
# The account
|
2591
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2576
2592
|
# by a different account, the request will fail with an HTTP `403
|
2577
2593
|
# (Access Denied)` error.
|
2578
2594
|
# @return [String]
|
@@ -2599,7 +2615,7 @@ module Aws::S3
|
|
2599
2615
|
# @return [String]
|
2600
2616
|
#
|
2601
2617
|
# @!attribute [rw] expected_bucket_owner
|
2602
|
-
# The account
|
2618
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2603
2619
|
# by a different account, the request will fail with an HTTP `403
|
2604
2620
|
# (Access Denied)` error.
|
2605
2621
|
# @return [String]
|
@@ -2627,7 +2643,7 @@ module Aws::S3
|
|
2627
2643
|
# @return [String]
|
2628
2644
|
#
|
2629
2645
|
# @!attribute [rw] expected_bucket_owner
|
2630
|
-
# The account
|
2646
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2631
2647
|
# by a different account, the request will fail with an HTTP `403
|
2632
2648
|
# (Access Denied)` error.
|
2633
2649
|
# @return [String]
|
@@ -2763,28 +2779,28 @@ module Aws::S3
|
|
2763
2779
|
# @!attribute [rw] bucket
|
2764
2780
|
# The bucket name of the bucket containing the object.
|
2765
2781
|
#
|
2766
|
-
# When using this
|
2767
|
-
# to the access point hostname. The access point hostname
|
2768
|
-
# form
|
2782
|
+
# When using this action with an access point, you must direct
|
2783
|
+
# requests to the access point hostname. The access point hostname
|
2784
|
+
# takes the form
|
2769
2785
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2770
|
-
# When using this
|
2786
|
+
# When using this action with an access point through the AWS SDKs,
|
2771
2787
|
# you provide the access point ARN in place of the bucket name. For
|
2772
2788
|
# more information about access point ARNs, see [Using Access
|
2773
|
-
# Points][1] in the *Amazon
|
2789
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
2774
2790
|
#
|
2775
|
-
# When using this
|
2791
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2776
2792
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2777
2793
|
# takes the form
|
2778
2794
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2779
|
-
# When using this
|
2795
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2780
2796
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2781
2797
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2782
|
-
# Outposts][2] in the *Amazon
|
2798
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
2783
2799
|
#
|
2784
2800
|
#
|
2785
2801
|
#
|
2786
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2787
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2802
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
2803
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2788
2804
|
# @return [String]
|
2789
2805
|
#
|
2790
2806
|
# @!attribute [rw] key
|
@@ -2820,7 +2836,7 @@ module Aws::S3
|
|
2820
2836
|
# @return [Boolean]
|
2821
2837
|
#
|
2822
2838
|
# @!attribute [rw] expected_bucket_owner
|
2823
|
-
# The account
|
2839
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2824
2840
|
# by a different account, the request will fail with an HTTP `403
|
2825
2841
|
# (Access Denied)` error.
|
2826
2842
|
# @return [String]
|
@@ -2865,28 +2881,28 @@ module Aws::S3
|
|
2865
2881
|
# The bucket name containing the objects from which to remove the
|
2866
2882
|
# tags.
|
2867
2883
|
#
|
2868
|
-
# When using this
|
2869
|
-
# to the access point hostname. The access point hostname
|
2870
|
-
# form
|
2884
|
+
# When using this action with an access point, you must direct
|
2885
|
+
# requests to the access point hostname. The access point hostname
|
2886
|
+
# takes the form
|
2871
2887
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2872
|
-
# When using this
|
2888
|
+
# When using this action with an access point through the AWS SDKs,
|
2873
2889
|
# you provide the access point ARN in place of the bucket name. For
|
2874
2890
|
# more information about access point ARNs, see [Using Access
|
2875
|
-
# Points][1] in the *Amazon
|
2891
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
2876
2892
|
#
|
2877
|
-
# When using this
|
2893
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2878
2894
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2879
2895
|
# takes the form
|
2880
2896
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2881
|
-
# When using this
|
2897
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2882
2898
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2883
2899
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2884
|
-
# Outposts][2] in the *Amazon
|
2900
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
2885
2901
|
#
|
2886
2902
|
#
|
2887
2903
|
#
|
2888
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2889
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2904
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
2905
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2890
2906
|
# @return [String]
|
2891
2907
|
#
|
2892
2908
|
# @!attribute [rw] key
|
@@ -2899,7 +2915,7 @@ module Aws::S3
|
|
2899
2915
|
# @return [String]
|
2900
2916
|
#
|
2901
2917
|
# @!attribute [rw] expected_bucket_owner
|
2902
|
-
# The account
|
2918
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2903
2919
|
# by a different account, the request will fail with an HTTP `403
|
2904
2920
|
# (Access Denied)` error.
|
2905
2921
|
# @return [String]
|
@@ -2926,8 +2942,8 @@ module Aws::S3
|
|
2926
2942
|
# @return [String]
|
2927
2943
|
#
|
2928
2944
|
# @!attribute [rw] errors
|
2929
|
-
# Container for a failed delete
|
2930
|
-
#
|
2945
|
+
# Container for a failed delete action that describes the object that
|
2946
|
+
# Amazon S3 attempted to delete and the error it encountered.
|
2931
2947
|
# @return [Array<Types::Error>]
|
2932
2948
|
#
|
2933
2949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput AWS API Documentation
|
@@ -2963,28 +2979,28 @@ module Aws::S3
|
|
2963
2979
|
# @!attribute [rw] bucket
|
2964
2980
|
# The bucket name containing the objects to delete.
|
2965
2981
|
#
|
2966
|
-
# When using this
|
2967
|
-
# to the access point hostname. The access point hostname
|
2968
|
-
# form
|
2982
|
+
# When using this action with an access point, you must direct
|
2983
|
+
# requests to the access point hostname. The access point hostname
|
2984
|
+
# takes the form
|
2969
2985
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2970
|
-
# When using this
|
2986
|
+
# When using this action with an access point through the AWS SDKs,
|
2971
2987
|
# you provide the access point ARN in place of the bucket name. For
|
2972
2988
|
# more information about access point ARNs, see [Using Access
|
2973
|
-
# Points][1] in the *Amazon
|
2989
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
2974
2990
|
#
|
2975
|
-
# When using this
|
2991
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2976
2992
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2977
2993
|
# takes the form
|
2978
2994
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2979
|
-
# When using this
|
2995
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2980
2996
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2981
2997
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2982
|
-
# Outposts][2] in the *Amazon
|
2998
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
2983
2999
|
#
|
2984
3000
|
#
|
2985
3001
|
#
|
2986
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2987
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3002
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
3003
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2988
3004
|
# @return [String]
|
2989
3005
|
#
|
2990
3006
|
# @!attribute [rw] delete
|
@@ -3017,7 +3033,7 @@ module Aws::S3
|
|
3017
3033
|
# @return [Boolean]
|
3018
3034
|
#
|
3019
3035
|
# @!attribute [rw] expected_bucket_owner
|
3020
|
-
# The account
|
3036
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
3021
3037
|
# by a different account, the request will fail with an HTTP `403
|
3022
3038
|
# (Access Denied)` error.
|
3023
3039
|
# @return [String]
|
@@ -3049,7 +3065,7 @@ module Aws::S3
|
|
3049
3065
|
# @return [String]
|
3050
3066
|
#
|
3051
3067
|
# @!attribute [rw] expected_bucket_owner
|
3052
|
-
# The account
|
3068
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
3053
3069
|
# by a different account, the request will fail with an HTTP `403
|
3054
3070
|
# (Access Denied)` error.
|
3055
3071
|
# @return [String]
|
@@ -3317,7 +3333,7 @@ module Aws::S3
|
|
3317
3333
|
# * * *Code:* AccountProblem
|
3318
3334
|
#
|
3319
3335
|
# * *Description:* There is a problem with your AWS account that
|
3320
|
-
# prevents the
|
3336
|
+
# prevents the action from completing successfully. Contact AWS
|
3321
3337
|
# Support for further assistance.
|
3322
3338
|
#
|
3323
3339
|
# * *HTTP Status Code:* 403 Forbidden
|
@@ -3550,8 +3566,8 @@ module Aws::S3
|
|
3550
3566
|
#
|
3551
3567
|
# * * *Code:* InvalidObjectState
|
3552
3568
|
#
|
3553
|
-
# * *Description:* The
|
3554
|
-
#
|
3569
|
+
# * *Description:* The action is not valid for the current state of
|
3570
|
+
# the object.
|
3555
3571
|
#
|
3556
3572
|
# * *HTTP Status Code:* 403 Forbidden
|
3557
3573
|
#
|
@@ -3932,8 +3948,8 @@ module Aws::S3
|
|
3932
3948
|
#
|
3933
3949
|
# * * *Code:* OperationAborted
|
3934
3950
|
#
|
3935
|
-
# * *Description:* A conflicting conditional
|
3936
|
-
#
|
3951
|
+
# * *Description:* A conflicting conditional action is currently in
|
3952
|
+
# progress against this resource. Try again.
|
3937
3953
|
#
|
3938
3954
|
# * *HTTP Status Code:* 409 Conflict
|
3939
3955
|
#
|
@@ -4149,9 +4165,12 @@ module Aws::S3
|
|
4149
4165
|
end
|
4150
4166
|
|
4151
4167
|
# Optional configuration to replicate existing source bucket objects.
|
4152
|
-
# For more information, see [Replicating Existing Objects]
|
4153
|
-
#
|
4154
|
-
#
|
4168
|
+
# For more information, see [Replicating Existing Objects][1] in the
|
4169
|
+
# *Amazon S3 Developer Guide*.
|
4170
|
+
#
|
4171
|
+
#
|
4172
|
+
#
|
4173
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication
|
4155
4174
|
#
|
4156
4175
|
# @note When making an API call, you may pass ExistingObjectReplication
|
4157
4176
|
# data as a hash:
|
@@ -4187,7 +4206,7 @@ module Aws::S3
|
|
4187
4206
|
# to which the filtering rule applies. The maximum length is 1,024
|
4188
4207
|
# characters. Overlapping prefixes and suffixes are not supported. For
|
4189
4208
|
# more information, see [Configuring Event Notifications][1] in the
|
4190
|
-
# *Amazon
|
4209
|
+
# *Amazon S3 User Guide*.
|
4191
4210
|
#
|
4192
4211
|
#
|
4193
4212
|
#
|
@@ -4233,7 +4252,7 @@ module Aws::S3
|
|
4233
4252
|
# @return [String]
|
4234
4253
|
#
|
4235
4254
|
# @!attribute [rw] expected_bucket_owner
|
4236
|
-
# The account
|
4255
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4237
4256
|
# by a different account, the request will fail with an HTTP `403
|
4238
4257
|
# (Access Denied)` error.
|
4239
4258
|
# @return [String]
|
@@ -4277,7 +4296,7 @@ module Aws::S3
|
|
4277
4296
|
# @return [String]
|
4278
4297
|
#
|
4279
4298
|
# @!attribute [rw] expected_bucket_owner
|
4280
|
-
# The account
|
4299
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4281
4300
|
# by a different account, the request will fail with an HTTP `403
|
4282
4301
|
# (Access Denied)` error.
|
4283
4302
|
# @return [String]
|
@@ -4322,7 +4341,7 @@ module Aws::S3
|
|
4322
4341
|
# @return [String]
|
4323
4342
|
#
|
4324
4343
|
# @!attribute [rw] expected_bucket_owner
|
4325
|
-
# The account
|
4344
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4326
4345
|
# by a different account, the request will fail with an HTTP `403
|
4327
4346
|
# (Access Denied)` error.
|
4328
4347
|
# @return [String]
|
@@ -4363,7 +4382,7 @@ module Aws::S3
|
|
4363
4382
|
# @return [String]
|
4364
4383
|
#
|
4365
4384
|
# @!attribute [rw] expected_bucket_owner
|
4366
|
-
# The account
|
4385
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4367
4386
|
# by a different account, the request will fail with an HTTP `403
|
4368
4387
|
# (Access Denied)` error.
|
4369
4388
|
# @return [String]
|
@@ -4403,7 +4422,7 @@ module Aws::S3
|
|
4403
4422
|
# @return [String]
|
4404
4423
|
#
|
4405
4424
|
# @!attribute [rw] expected_bucket_owner
|
4406
|
-
# The account
|
4425
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4407
4426
|
# by a different account, the request will fail with an HTTP `403
|
4408
4427
|
# (Access Denied)` error.
|
4409
4428
|
# @return [String]
|
@@ -4486,7 +4505,7 @@ module Aws::S3
|
|
4486
4505
|
# @return [String]
|
4487
4506
|
#
|
4488
4507
|
# @!attribute [rw] expected_bucket_owner
|
4489
|
-
# The account
|
4508
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4490
4509
|
# by a different account, the request will fail with an HTTP `403
|
4491
4510
|
# (Access Denied)` error.
|
4492
4511
|
# @return [String]
|
@@ -4526,7 +4545,7 @@ module Aws::S3
|
|
4526
4545
|
# @return [String]
|
4527
4546
|
#
|
4528
4547
|
# @!attribute [rw] expected_bucket_owner
|
4529
|
-
# The account
|
4548
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4530
4549
|
# by a different account, the request will fail with an HTTP `403
|
4531
4550
|
# (Access Denied)` error.
|
4532
4551
|
# @return [String]
|
@@ -4565,7 +4584,7 @@ module Aws::S3
|
|
4565
4584
|
# @return [String]
|
4566
4585
|
#
|
4567
4586
|
# @!attribute [rw] expected_bucket_owner
|
4568
|
-
# The account
|
4587
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4569
4588
|
# by a different account, the request will fail with an HTTP `403
|
4570
4589
|
# (Access Denied)` error.
|
4571
4590
|
# @return [String]
|
@@ -4611,7 +4630,7 @@ module Aws::S3
|
|
4611
4630
|
# @return [String]
|
4612
4631
|
#
|
4613
4632
|
# @!attribute [rw] expected_bucket_owner
|
4614
|
-
# The account
|
4633
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4615
4634
|
# by a different account, the request will fail with an HTTP `403
|
4616
4635
|
# (Access Denied)` error.
|
4617
4636
|
# @return [String]
|
@@ -4657,7 +4676,7 @@ module Aws::S3
|
|
4657
4676
|
# @return [String]
|
4658
4677
|
#
|
4659
4678
|
# @!attribute [rw] expected_bucket_owner
|
4660
|
-
# The account
|
4679
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4661
4680
|
# by a different account, the request will fail with an HTTP `403
|
4662
4681
|
# (Access Denied)` error.
|
4663
4682
|
# @return [String]
|
@@ -4702,7 +4721,7 @@ module Aws::S3
|
|
4702
4721
|
# @return [String]
|
4703
4722
|
#
|
4704
4723
|
# @!attribute [rw] expected_bucket_owner
|
4705
|
-
# The account
|
4724
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4706
4725
|
# by a different account, the request will fail with an HTTP `403
|
4707
4726
|
# (Access Denied)` error.
|
4708
4727
|
# @return [String]
|
@@ -4731,7 +4750,7 @@ module Aws::S3
|
|
4731
4750
|
# @return [String]
|
4732
4751
|
#
|
4733
4752
|
# @!attribute [rw] expected_bucket_owner
|
4734
|
-
# The account
|
4753
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4735
4754
|
# by a different account, the request will fail with an HTTP `403
|
4736
4755
|
# (Access Denied)` error.
|
4737
4756
|
# @return [String]
|
@@ -4772,7 +4791,7 @@ module Aws::S3
|
|
4772
4791
|
# @return [String]
|
4773
4792
|
#
|
4774
4793
|
# @!attribute [rw] expected_bucket_owner
|
4775
|
-
# The account
|
4794
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4776
4795
|
# by a different account, the request will fail with an HTTP `403
|
4777
4796
|
# (Access Denied)` error.
|
4778
4797
|
# @return [String]
|
@@ -4811,7 +4830,7 @@ module Aws::S3
|
|
4811
4830
|
# @return [String]
|
4812
4831
|
#
|
4813
4832
|
# @!attribute [rw] expected_bucket_owner
|
4814
|
-
# The account
|
4833
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4815
4834
|
# by a different account, the request will fail with an HTTP `403
|
4816
4835
|
# (Access Denied)` error.
|
4817
4836
|
# @return [String]
|
@@ -4851,7 +4870,7 @@ module Aws::S3
|
|
4851
4870
|
# @return [String]
|
4852
4871
|
#
|
4853
4872
|
# @!attribute [rw] expected_bucket_owner
|
4854
|
-
# The account
|
4873
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4855
4874
|
# by a different account, the request will fail with an HTTP `403
|
4856
4875
|
# (Access Denied)` error.
|
4857
4876
|
# @return [String]
|
@@ -4891,7 +4910,7 @@ module Aws::S3
|
|
4891
4910
|
# @return [String]
|
4892
4911
|
#
|
4893
4912
|
# @!attribute [rw] expected_bucket_owner
|
4894
|
-
# The account
|
4913
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4895
4914
|
# by a different account, the request will fail with an HTTP `403
|
4896
4915
|
# (Access Denied)` error.
|
4897
4916
|
# @return [String]
|
@@ -4931,7 +4950,7 @@ module Aws::S3
|
|
4931
4950
|
# @return [String]
|
4932
4951
|
#
|
4933
4952
|
# @!attribute [rw] expected_bucket_owner
|
4934
|
-
# The account
|
4953
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4935
4954
|
# by a different account, the request will fail with an HTTP `403
|
4936
4955
|
# (Access Denied)` error.
|
4937
4956
|
# @return [String]
|
@@ -4970,7 +4989,7 @@ module Aws::S3
|
|
4970
4989
|
# @return [String]
|
4971
4990
|
#
|
4972
4991
|
# @!attribute [rw] expected_bucket_owner
|
4973
|
-
# The account
|
4992
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4974
4993
|
# by a different account, the request will fail with an HTTP `403
|
4975
4994
|
# (Access Denied)` error.
|
4976
4995
|
# @return [String]
|
@@ -5017,7 +5036,7 @@ module Aws::S3
|
|
5017
5036
|
# @return [String]
|
5018
5037
|
#
|
5019
5038
|
# @!attribute [rw] expected_bucket_owner
|
5020
|
-
# The account
|
5039
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5021
5040
|
# by a different account, the request will fail with an HTTP `403
|
5022
5041
|
# (Access Denied)` error.
|
5023
5042
|
# @return [String]
|
@@ -5075,7 +5094,7 @@ module Aws::S3
|
|
5075
5094
|
# @return [String]
|
5076
5095
|
#
|
5077
5096
|
# @!attribute [rw] expected_bucket_owner
|
5078
|
-
# The account
|
5097
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5079
5098
|
# by a different account, the request will fail with an HTTP `403
|
5080
5099
|
# (Access Denied)` error.
|
5081
5100
|
# @return [String]
|
@@ -5127,18 +5146,18 @@ module Aws::S3
|
|
5127
5146
|
# The bucket name that contains the object for which to get the ACL
|
5128
5147
|
# information.
|
5129
5148
|
#
|
5130
|
-
# When using this
|
5131
|
-
# to the access point hostname. The access point hostname
|
5132
|
-
# form
|
5149
|
+
# When using this action with an access point, you must direct
|
5150
|
+
# requests to the access point hostname. The access point hostname
|
5151
|
+
# takes the form
|
5133
5152
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5134
|
-
# When using this
|
5153
|
+
# When using this action with an access point through the AWS SDKs,
|
5135
5154
|
# you provide the access point ARN in place of the bucket name. For
|
5136
5155
|
# more information about access point ARNs, see [Using Access
|
5137
|
-
# Points][1] in the *Amazon
|
5156
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
5138
5157
|
#
|
5139
5158
|
#
|
5140
5159
|
#
|
5141
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5160
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5142
5161
|
# @return [String]
|
5143
5162
|
#
|
5144
5163
|
# @!attribute [rw] key
|
@@ -5162,7 +5181,7 @@ module Aws::S3
|
|
5162
5181
|
# @return [String]
|
5163
5182
|
#
|
5164
5183
|
# @!attribute [rw] expected_bucket_owner
|
5165
|
-
# The account
|
5184
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5166
5185
|
# by a different account, the request will fail with an HTTP `403
|
5167
5186
|
# (Access Denied)` error.
|
5168
5187
|
# @return [String]
|
@@ -5206,18 +5225,18 @@ module Aws::S3
|
|
5206
5225
|
# The bucket name containing the object whose Legal Hold status you
|
5207
5226
|
# want to retrieve.
|
5208
5227
|
#
|
5209
|
-
# When using this
|
5210
|
-
# to the access point hostname. The access point hostname
|
5211
|
-
# form
|
5228
|
+
# When using this action with an access point, you must direct
|
5229
|
+
# requests to the access point hostname. The access point hostname
|
5230
|
+
# takes the form
|
5212
5231
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5213
|
-
# When using this
|
5232
|
+
# When using this action with an access point through the AWS SDKs,
|
5214
5233
|
# you provide the access point ARN in place of the bucket name. For
|
5215
5234
|
# more information about access point ARNs, see [Using Access
|
5216
|
-
# Points][1] in the *Amazon
|
5235
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
5217
5236
|
#
|
5218
5237
|
#
|
5219
5238
|
#
|
5220
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5239
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5221
5240
|
# @return [String]
|
5222
5241
|
#
|
5223
5242
|
# @!attribute [rw] key
|
@@ -5243,7 +5262,7 @@ module Aws::S3
|
|
5243
5262
|
# @return [String]
|
5244
5263
|
#
|
5245
5264
|
# @!attribute [rw] expected_bucket_owner
|
5246
|
-
# The account
|
5265
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5247
5266
|
# by a different account, the request will fail with an HTTP `403
|
5248
5267
|
# (Access Denied)` error.
|
5249
5268
|
# @return [String]
|
@@ -5283,22 +5302,22 @@ module Aws::S3
|
|
5283
5302
|
# @!attribute [rw] bucket
|
5284
5303
|
# The bucket whose Object Lock configuration you want to retrieve.
|
5285
5304
|
#
|
5286
|
-
# When using this
|
5287
|
-
# to the access point hostname. The access point hostname
|
5288
|
-
# form
|
5305
|
+
# When using this action with an access point, you must direct
|
5306
|
+
# requests to the access point hostname. The access point hostname
|
5307
|
+
# takes the form
|
5289
5308
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5290
|
-
# When using this
|
5309
|
+
# When using this action with an access point through the AWS SDKs,
|
5291
5310
|
# you provide the access point ARN in place of the bucket name. For
|
5292
5311
|
# more information about access point ARNs, see [Using Access
|
5293
|
-
# Points][1] in the *Amazon
|
5312
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
5294
5313
|
#
|
5295
5314
|
#
|
5296
5315
|
#
|
5297
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5316
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5298
5317
|
# @return [String]
|
5299
5318
|
#
|
5300
5319
|
# @!attribute [rw] expected_bucket_owner
|
5301
|
-
# The account
|
5320
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5302
5321
|
# by a different account, the request will fail with an HTTP `403
|
5303
5322
|
# (Access Denied)` error.
|
5304
5323
|
# @return [String]
|
@@ -5334,8 +5353,8 @@ module Aws::S3
|
|
5334
5353
|
# @return [String]
|
5335
5354
|
#
|
5336
5355
|
# @!attribute [rw] restore
|
5337
|
-
# Provides information about object restoration
|
5338
|
-
#
|
5356
|
+
# Provides information about object restoration action and expiration
|
5357
|
+
# time of the restored object copy.
|
5339
5358
|
# @return [String]
|
5340
5359
|
#
|
5341
5360
|
# @!attribute [rw] last_modified
|
@@ -5543,28 +5562,28 @@ module Aws::S3
|
|
5543
5562
|
# @!attribute [rw] bucket
|
5544
5563
|
# The bucket name containing the object.
|
5545
5564
|
#
|
5546
|
-
# When using this
|
5547
|
-
# to the access point hostname. The access point hostname
|
5548
|
-
# form
|
5565
|
+
# When using this action with an access point, you must direct
|
5566
|
+
# requests to the access point hostname. The access point hostname
|
5567
|
+
# takes the form
|
5549
5568
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5550
|
-
# When using this
|
5569
|
+
# When using this action with an access point through the AWS SDKs,
|
5551
5570
|
# you provide the access point ARN in place of the bucket name. For
|
5552
5571
|
# more information about access point ARNs, see [Using Access
|
5553
|
-
# Points][1] in the *Amazon
|
5572
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
5554
5573
|
#
|
5555
|
-
# When using this
|
5574
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5556
5575
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5557
5576
|
# takes the form
|
5558
5577
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5559
|
-
# When using this
|
5578
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
5560
5579
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
5561
5580
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
5562
|
-
# Outposts][2] in the *Amazon
|
5581
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
5563
5582
|
#
|
5564
5583
|
#
|
5565
5584
|
#
|
5566
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5567
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5585
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5586
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
5568
5587
|
# @return [String]
|
5569
5588
|
#
|
5570
5589
|
# @!attribute [rw] if_match
|
@@ -5673,7 +5692,7 @@ module Aws::S3
|
|
5673
5692
|
# @return [Integer]
|
5674
5693
|
#
|
5675
5694
|
# @!attribute [rw] expected_bucket_owner
|
5676
|
-
# The account
|
5695
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5677
5696
|
# by a different account, the request will fail with an HTTP `403
|
5678
5697
|
# (Access Denied)` error.
|
5679
5698
|
# @return [String]
|
@@ -5732,18 +5751,18 @@ module Aws::S3
|
|
5732
5751
|
# The bucket name containing the object whose retention settings you
|
5733
5752
|
# want to retrieve.
|
5734
5753
|
#
|
5735
|
-
# When using this
|
5736
|
-
# to the access point hostname. The access point hostname
|
5737
|
-
# form
|
5754
|
+
# When using this action with an access point, you must direct
|
5755
|
+
# requests to the access point hostname. The access point hostname
|
5756
|
+
# takes the form
|
5738
5757
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5739
|
-
# When using this
|
5758
|
+
# When using this action with an access point through the AWS SDKs,
|
5740
5759
|
# you provide the access point ARN in place of the bucket name. For
|
5741
5760
|
# more information about access point ARNs, see [Using Access
|
5742
|
-
# Points][1] in the *Amazon
|
5761
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
5743
5762
|
#
|
5744
5763
|
#
|
5745
5764
|
#
|
5746
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5765
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5747
5766
|
# @return [String]
|
5748
5767
|
#
|
5749
5768
|
# @!attribute [rw] key
|
@@ -5769,7 +5788,7 @@ module Aws::S3
|
|
5769
5788
|
# @return [String]
|
5770
5789
|
#
|
5771
5790
|
# @!attribute [rw] expected_bucket_owner
|
5772
|
-
# The account
|
5791
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5773
5792
|
# by a different account, the request will fail with an HTTP `403
|
5774
5793
|
# (Access Denied)` error.
|
5775
5794
|
# @return [String]
|
@@ -5819,28 +5838,28 @@ module Aws::S3
|
|
5819
5838
|
# The bucket name containing the object for which to get the tagging
|
5820
5839
|
# information.
|
5821
5840
|
#
|
5822
|
-
# When using this
|
5823
|
-
# to the access point hostname. The access point hostname
|
5824
|
-
# form
|
5841
|
+
# When using this action with an access point, you must direct
|
5842
|
+
# requests to the access point hostname. The access point hostname
|
5843
|
+
# takes the form
|
5825
5844
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5826
|
-
# When using this
|
5845
|
+
# When using this action with an access point through the AWS SDKs,
|
5827
5846
|
# you provide the access point ARN in place of the bucket name. For
|
5828
5847
|
# more information about access point ARNs, see [Using Access
|
5829
|
-
# Points][1] in the *Amazon
|
5848
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
5830
5849
|
#
|
5831
|
-
# When using this
|
5850
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5832
5851
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5833
5852
|
# takes the form
|
5834
5853
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5835
|
-
# When using this
|
5854
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
5836
5855
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
5837
5856
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
5838
|
-
# Outposts][2] in the *Amazon
|
5857
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
5839
5858
|
#
|
5840
5859
|
#
|
5841
5860
|
#
|
5842
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5843
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5861
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5862
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
5844
5863
|
# @return [String]
|
5845
5864
|
#
|
5846
5865
|
# @!attribute [rw] key
|
@@ -5853,7 +5872,7 @@ module Aws::S3
|
|
5853
5872
|
# @return [String]
|
5854
5873
|
#
|
5855
5874
|
# @!attribute [rw] expected_bucket_owner
|
5856
|
-
# The account
|
5875
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5857
5876
|
# by a different account, the request will fail with an HTTP `403
|
5858
5877
|
# (Access Denied)` error.
|
5859
5878
|
# @return [String]
|
@@ -5932,7 +5951,7 @@ module Aws::S3
|
|
5932
5951
|
# @return [String]
|
5933
5952
|
#
|
5934
5953
|
# @!attribute [rw] expected_bucket_owner
|
5935
|
-
# The account
|
5954
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5936
5955
|
# by a different account, the request will fail with an HTTP `403
|
5937
5956
|
# (Access Denied)` error.
|
5938
5957
|
# @return [String]
|
@@ -5975,7 +5994,7 @@ module Aws::S3
|
|
5975
5994
|
# @return [String]
|
5976
5995
|
#
|
5977
5996
|
# @!attribute [rw] expected_bucket_owner
|
5978
|
-
# The account
|
5997
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5979
5998
|
# by a different account, the request will fail with an HTTP `403
|
5980
5999
|
# (Access Denied)` error.
|
5981
6000
|
# @return [String]
|
@@ -6127,32 +6146,32 @@ module Aws::S3
|
|
6127
6146
|
# @!attribute [rw] bucket
|
6128
6147
|
# The bucket name.
|
6129
6148
|
#
|
6130
|
-
# When using this
|
6131
|
-
# to the access point hostname. The access point hostname
|
6132
|
-
# form
|
6149
|
+
# When using this action with an access point, you must direct
|
6150
|
+
# requests to the access point hostname. The access point hostname
|
6151
|
+
# takes the form
|
6133
6152
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6134
|
-
# When using this
|
6153
|
+
# When using this action with an access point through the AWS SDKs,
|
6135
6154
|
# you provide the access point ARN in place of the bucket name. For
|
6136
6155
|
# more information about access point ARNs, see [Using Access
|
6137
|
-
# Points][1] in the *Amazon
|
6156
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
6138
6157
|
#
|
6139
|
-
# When using this
|
6158
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6140
6159
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6141
6160
|
# takes the form
|
6142
6161
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6143
|
-
# When using this
|
6162
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
6144
6163
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
6145
6164
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
6146
|
-
# Outposts][2] in the *Amazon
|
6165
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
6147
6166
|
#
|
6148
6167
|
#
|
6149
6168
|
#
|
6150
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6151
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6169
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
6170
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
6152
6171
|
# @return [String]
|
6153
6172
|
#
|
6154
6173
|
# @!attribute [rw] expected_bucket_owner
|
6155
|
-
# The account
|
6174
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
6156
6175
|
# by a different account, the request will fail with an HTTP `403
|
6157
6176
|
# (Access Denied)` error.
|
6158
6177
|
# @return [String]
|
@@ -6192,7 +6211,7 @@ module Aws::S3
|
|
6192
6211
|
# If an archive copy is already restored, the header value indicates
|
6193
6212
|
# when Amazon S3 is scheduled to delete the object copy. For example:
|
6194
6213
|
#
|
6195
|
-
# `x-amz-restore: ongoing-request="false", expiry-date="Fri,
|
6214
|
+
# `x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec
|
6196
6215
|
# 2012 00:00:00 GMT"`
|
6197
6216
|
#
|
6198
6217
|
# If the object restoration is in progress, the header returns the
|
@@ -6463,28 +6482,28 @@ module Aws::S3
|
|
6463
6482
|
# @!attribute [rw] bucket
|
6464
6483
|
# The name of the bucket containing the object.
|
6465
6484
|
#
|
6466
|
-
# When using this
|
6467
|
-
# to the access point hostname. The access point hostname
|
6468
|
-
# form
|
6485
|
+
# When using this action with an access point, you must direct
|
6486
|
+
# requests to the access point hostname. The access point hostname
|
6487
|
+
# takes the form
|
6469
6488
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6470
|
-
# When using this
|
6489
|
+
# When using this action with an access point through the AWS SDKs,
|
6471
6490
|
# you provide the access point ARN in place of the bucket name. For
|
6472
6491
|
# more information about access point ARNs, see [Using Access
|
6473
|
-
# Points][1] in the *Amazon
|
6492
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
6474
6493
|
#
|
6475
|
-
# When using this
|
6494
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6476
6495
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6477
6496
|
# takes the form
|
6478
6497
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6479
|
-
# When using this
|
6498
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
6480
6499
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
6481
6500
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
6482
|
-
# Outposts][2] in the *Amazon
|
6501
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
6483
6502
|
#
|
6484
6503
|
#
|
6485
6504
|
#
|
6486
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6487
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6505
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
6506
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
6488
6507
|
# @return [String]
|
6489
6508
|
#
|
6490
6509
|
# @!attribute [rw] if_match
|
@@ -6569,7 +6588,7 @@ module Aws::S3
|
|
6569
6588
|
# @return [Integer]
|
6570
6589
|
#
|
6571
6590
|
# @!attribute [rw] expected_bucket_owner
|
6572
|
-
# The account
|
6591
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
6573
6592
|
# by a different account, the request will fail with an HTTP `403
|
6574
6593
|
# (Access Denied)` error.
|
6575
6594
|
# @return [String]
|
@@ -7216,7 +7235,7 @@ module Aws::S3
|
|
7216
7235
|
# @!attribute [rw] events
|
7217
7236
|
# The Amazon S3 bucket event for which to invoke the AWS Lambda
|
7218
7237
|
# function. For more information, see [Supported Event Types][1] in
|
7219
|
-
# the *Amazon
|
7238
|
+
# the *Amazon S3 User Guide*.
|
7220
7239
|
#
|
7221
7240
|
#
|
7222
7241
|
#
|
@@ -7226,7 +7245,7 @@ module Aws::S3
|
|
7226
7245
|
# @!attribute [rw] filter
|
7227
7246
|
# Specifies object key name filtering rules. For information about key
|
7228
7247
|
# name filtering, see [Configuring Event Notifications][1] in the
|
7229
|
-
# *Amazon
|
7248
|
+
# *Amazon S3 User Guide*.
|
7230
7249
|
#
|
7231
7250
|
#
|
7232
7251
|
#
|
@@ -7392,7 +7411,7 @@ module Aws::S3
|
|
7392
7411
|
#
|
7393
7412
|
# @!attribute [rw] prefix
|
7394
7413
|
# Prefix identifying one or more objects to which the rule applies.
|
7395
|
-
# This is
|
7414
|
+
# This is no longer used; use `Filter` instead.
|
7396
7415
|
#
|
7397
7416
|
# Replacement must be made for object keys containing special
|
7398
7417
|
# characters (such as carriage returns) when using XML requests. For
|
@@ -7406,7 +7425,8 @@ module Aws::S3
|
|
7406
7425
|
# @!attribute [rw] filter
|
7407
7426
|
# The `Filter` is used to identify objects that a Lifecycle Rule
|
7408
7427
|
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
|
7409
|
-
# `And` specified.
|
7428
|
+
# `And` specified. `Filter` is required if the `LifecycleRule` does
|
7429
|
+
# not containt a `Prefix` element.
|
7410
7430
|
# @return [Types::LifecycleRuleFilter]
|
7411
7431
|
#
|
7412
7432
|
# @!attribute [rw] status
|
@@ -7442,7 +7462,7 @@ module Aws::S3
|
|
7442
7462
|
# upload that Amazon S3 will wait before permanently removing all
|
7443
7463
|
# parts of the upload. For more information, see [ Aborting Incomplete
|
7444
7464
|
# Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
|
7445
|
-
#
|
7465
|
+
# S3 User Guide*.
|
7446
7466
|
#
|
7447
7467
|
#
|
7448
7468
|
#
|
@@ -7612,7 +7632,7 @@ module Aws::S3
|
|
7612
7632
|
# @return [String]
|
7613
7633
|
#
|
7614
7634
|
# @!attribute [rw] expected_bucket_owner
|
7615
|
-
# The account
|
7635
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
7616
7636
|
# by a different account, the request will fail with an HTTP `403
|
7617
7637
|
# (Access Denied)` error.
|
7618
7638
|
# @return [String]
|
@@ -7743,7 +7763,7 @@ module Aws::S3
|
|
7743
7763
|
# @return [String]
|
7744
7764
|
#
|
7745
7765
|
# @!attribute [rw] expected_bucket_owner
|
7746
|
-
# The account
|
7766
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
7747
7767
|
# by a different account, the request will fail with an HTTP `403
|
7748
7768
|
# (Access Denied)` error.
|
7749
7769
|
# @return [String]
|
@@ -7815,7 +7835,7 @@ module Aws::S3
|
|
7815
7835
|
# @return [String]
|
7816
7836
|
#
|
7817
7837
|
# @!attribute [rw] expected_bucket_owner
|
7818
|
-
# The account
|
7838
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
7819
7839
|
# by a different account, the request will fail with an HTTP `403
|
7820
7840
|
# (Access Denied)` error.
|
7821
7841
|
# @return [String]
|
@@ -7954,28 +7974,28 @@ module Aws::S3
|
|
7954
7974
|
# @!attribute [rw] bucket
|
7955
7975
|
# The name of the bucket to which the multipart upload was initiated.
|
7956
7976
|
#
|
7957
|
-
# When using this
|
7958
|
-
# to the access point hostname. The access point hostname
|
7959
|
-
# form
|
7977
|
+
# When using this action with an access point, you must direct
|
7978
|
+
# requests to the access point hostname. The access point hostname
|
7979
|
+
# takes the form
|
7960
7980
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
7961
|
-
# When using this
|
7981
|
+
# When using this action with an access point through the AWS SDKs,
|
7962
7982
|
# you provide the access point ARN in place of the bucket name. For
|
7963
7983
|
# more information about access point ARNs, see [Using Access
|
7964
|
-
# Points][1] in the *Amazon
|
7984
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
7965
7985
|
#
|
7966
|
-
# When using this
|
7986
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
7967
7987
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
7968
7988
|
# takes the form
|
7969
7989
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
7970
|
-
# When using this
|
7990
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
7971
7991
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
7972
7992
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
7973
|
-
# Outposts][2] in the *Amazon
|
7993
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
7974
7994
|
#
|
7975
7995
|
#
|
7976
7996
|
#
|
7977
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
7978
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
7997
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
7998
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
7979
7999
|
# @return [String]
|
7980
8000
|
#
|
7981
8001
|
# @!attribute [rw] delimiter
|
@@ -8036,7 +8056,7 @@ module Aws::S3
|
|
8036
8056
|
# @return [String]
|
8037
8057
|
#
|
8038
8058
|
# @!attribute [rw] expected_bucket_owner
|
8039
|
-
# The account
|
8059
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8040
8060
|
# by a different account, the request will fail with an HTTP `403
|
8041
8061
|
# (Access Denied)` error.
|
8042
8062
|
# @return [String]
|
@@ -8194,7 +8214,7 @@ module Aws::S3
|
|
8194
8214
|
#
|
8195
8215
|
# @!attribute [rw] max_keys
|
8196
8216
|
# Sets the maximum number of keys returned in the response. By default
|
8197
|
-
# the
|
8217
|
+
# the action returns up to 1,000 key names. The response might contain
|
8198
8218
|
# fewer keys but will never contain more. If additional keys satisfy
|
8199
8219
|
# the search criteria, but were not returned because max-keys was
|
8200
8220
|
# exceeded, the response contains
|
@@ -8216,7 +8236,7 @@ module Aws::S3
|
|
8216
8236
|
# @return [String]
|
8217
8237
|
#
|
8218
8238
|
# @!attribute [rw] expected_bucket_owner
|
8219
|
-
# The account
|
8239
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8220
8240
|
# by a different account, the request will fail with an HTTP `403
|
8221
8241
|
# (Access Denied)` error.
|
8222
8242
|
# @return [String]
|
@@ -8339,28 +8359,28 @@ module Aws::S3
|
|
8339
8359
|
# @!attribute [rw] bucket
|
8340
8360
|
# The name of the bucket containing the objects.
|
8341
8361
|
#
|
8342
|
-
# When using this
|
8343
|
-
# to the access point hostname. The access point hostname
|
8344
|
-
# form
|
8362
|
+
# When using this action with an access point, you must direct
|
8363
|
+
# requests to the access point hostname. The access point hostname
|
8364
|
+
# takes the form
|
8345
8365
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8346
|
-
# When using this
|
8366
|
+
# When using this action with an access point through the AWS SDKs,
|
8347
8367
|
# you provide the access point ARN in place of the bucket name. For
|
8348
8368
|
# more information about access point ARNs, see [Using Access
|
8349
|
-
# Points][1] in the *Amazon
|
8369
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
8350
8370
|
#
|
8351
|
-
# When using this
|
8371
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8352
8372
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8353
8373
|
# takes the form
|
8354
8374
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8355
|
-
# When using this
|
8375
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8356
8376
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8357
8377
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8358
|
-
# Outposts][2] in the *Amazon
|
8378
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
8359
8379
|
#
|
8360
8380
|
#
|
8361
8381
|
#
|
8362
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8363
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8382
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8383
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8364
8384
|
# @return [String]
|
8365
8385
|
#
|
8366
8386
|
# @!attribute [rw] delimiter
|
@@ -8382,7 +8402,7 @@ module Aws::S3
|
|
8382
8402
|
#
|
8383
8403
|
# @!attribute [rw] max_keys
|
8384
8404
|
# Sets the maximum number of keys returned in the response. By default
|
8385
|
-
# the
|
8405
|
+
# the action returns up to 1,000 key names. The response might contain
|
8386
8406
|
# fewer keys but will never contain more.
|
8387
8407
|
# @return [Integer]
|
8388
8408
|
#
|
@@ -8397,7 +8417,7 @@ module Aws::S3
|
|
8397
8417
|
# @return [String]
|
8398
8418
|
#
|
8399
8419
|
# @!attribute [rw] expected_bucket_owner
|
8400
|
-
# The account
|
8420
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8401
8421
|
# by a different account, the request will fail with an HTTP `403
|
8402
8422
|
# (Access Denied)` error.
|
8403
8423
|
# @return [String]
|
@@ -8430,28 +8450,28 @@ module Aws::S3
|
|
8430
8450
|
# @!attribute [rw] name
|
8431
8451
|
# The bucket name.
|
8432
8452
|
#
|
8433
|
-
# When using this
|
8434
|
-
# to the access point hostname. The access point hostname
|
8435
|
-
# form
|
8453
|
+
# When using this action with an access point, you must direct
|
8454
|
+
# requests to the access point hostname. The access point hostname
|
8455
|
+
# takes the form
|
8436
8456
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8437
|
-
# When using this
|
8457
|
+
# When using this action with an access point through the AWS SDKs,
|
8438
8458
|
# you provide the access point ARN in place of the bucket name. For
|
8439
8459
|
# more information about access point ARNs, see [Using Access
|
8440
|
-
# Points][1] in the *Amazon
|
8460
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
8441
8461
|
#
|
8442
|
-
# When using this
|
8462
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8443
8463
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8444
8464
|
# takes the form
|
8445
8465
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8446
|
-
# When using this
|
8466
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8447
8467
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8448
8468
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8449
|
-
# Outposts][2] in the *Amazon
|
8469
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
8450
8470
|
#
|
8451
8471
|
#
|
8452
8472
|
#
|
8453
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8454
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8473
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8474
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8455
8475
|
# @return [String]
|
8456
8476
|
#
|
8457
8477
|
# @!attribute [rw] prefix
|
@@ -8468,7 +8488,7 @@ module Aws::S3
|
|
8468
8488
|
#
|
8469
8489
|
# @!attribute [rw] max_keys
|
8470
8490
|
# Sets the maximum number of keys returned in the response. By default
|
8471
|
-
# the
|
8491
|
+
# the action returns up to 1,000 key names. The response might contain
|
8472
8492
|
# fewer keys but will never contain more.
|
8473
8493
|
# @return [Integer]
|
8474
8494
|
#
|
@@ -8565,28 +8585,28 @@ module Aws::S3
|
|
8565
8585
|
# @!attribute [rw] bucket
|
8566
8586
|
# Bucket name to list.
|
8567
8587
|
#
|
8568
|
-
# When using this
|
8569
|
-
# to the access point hostname. The access point hostname
|
8570
|
-
# form
|
8588
|
+
# When using this action with an access point, you must direct
|
8589
|
+
# requests to the access point hostname. The access point hostname
|
8590
|
+
# takes the form
|
8571
8591
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8572
|
-
# When using this
|
8592
|
+
# When using this action with an access point through the AWS SDKs,
|
8573
8593
|
# you provide the access point ARN in place of the bucket name. For
|
8574
8594
|
# more information about access point ARNs, see [Using Access
|
8575
|
-
# Points][1] in the *Amazon
|
8595
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
8576
8596
|
#
|
8577
|
-
# When using this
|
8597
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8578
8598
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8579
8599
|
# takes the form
|
8580
8600
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8581
|
-
# When using this
|
8601
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8582
8602
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8583
8603
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8584
|
-
# Outposts][2] in the *Amazon
|
8604
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
8585
8605
|
#
|
8586
8606
|
#
|
8587
8607
|
#
|
8588
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8589
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8608
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8609
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8590
8610
|
# @return [String]
|
8591
8611
|
#
|
8592
8612
|
# @!attribute [rw] delimiter
|
@@ -8600,7 +8620,7 @@ module Aws::S3
|
|
8600
8620
|
#
|
8601
8621
|
# @!attribute [rw] max_keys
|
8602
8622
|
# Sets the maximum number of keys returned in the response. By default
|
8603
|
-
# the
|
8623
|
+
# the action returns up to 1,000 key names. The response might contain
|
8604
8624
|
# fewer keys but will never contain more.
|
8605
8625
|
# @return [Integer]
|
8606
8626
|
#
|
@@ -8633,7 +8653,7 @@ module Aws::S3
|
|
8633
8653
|
# @return [String]
|
8634
8654
|
#
|
8635
8655
|
# @!attribute [rw] expected_bucket_owner
|
8636
|
-
# The account
|
8656
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8637
8657
|
# by a different account, the request will fail with an HTTP `403
|
8638
8658
|
# (Access Denied)` error.
|
8639
8659
|
# @return [String]
|
@@ -8780,28 +8800,28 @@ module Aws::S3
|
|
8780
8800
|
# @!attribute [rw] bucket
|
8781
8801
|
# The name of the bucket to which the parts are being uploaded.
|
8782
8802
|
#
|
8783
|
-
# When using this
|
8784
|
-
# to the access point hostname. The access point hostname
|
8785
|
-
# form
|
8803
|
+
# When using this action with an access point, you must direct
|
8804
|
+
# requests to the access point hostname. The access point hostname
|
8805
|
+
# takes the form
|
8786
8806
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8787
|
-
# When using this
|
8807
|
+
# When using this action with an access point through the AWS SDKs,
|
8788
8808
|
# you provide the access point ARN in place of the bucket name. For
|
8789
8809
|
# more information about access point ARNs, see [Using Access
|
8790
|
-
# Points][1] in the *Amazon
|
8810
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
8791
8811
|
#
|
8792
|
-
# When using this
|
8812
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8793
8813
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8794
8814
|
# takes the form
|
8795
8815
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8796
|
-
# When using this
|
8816
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8797
8817
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8798
8818
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8799
|
-
# Outposts][2] in the *Amazon
|
8819
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
8800
8820
|
#
|
8801
8821
|
#
|
8802
8822
|
#
|
8803
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8804
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8823
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8824
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8805
8825
|
# @return [String]
|
8806
8826
|
#
|
8807
8827
|
# @!attribute [rw] key
|
@@ -8835,7 +8855,7 @@ module Aws::S3
|
|
8835
8855
|
# @return [String]
|
8836
8856
|
#
|
8837
8857
|
# @!attribute [rw] expected_bucket_owner
|
8838
|
-
# The account
|
8858
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8839
8859
|
# by a different account, the request will fail with an HTTP `403
|
8840
8860
|
# (Access Denied)` error.
|
8841
8861
|
# @return [String]
|
@@ -9221,8 +9241,7 @@ module Aws::S3
|
|
9221
9241
|
# Specifies the number of days an object is noncurrent before Amazon
|
9222
9242
|
# S3 can perform the associated action. For information about the
|
9223
9243
|
# noncurrent days calculations, see [How Amazon S3 Calculates How Long
|
9224
|
-
# an Object Has Been Noncurrent][1] in the *Amazon
|
9225
|
-
# Service Developer Guide*.
|
9244
|
+
# an Object Has Been Noncurrent][1] in the *Amazon S3 User Guide*.
|
9226
9245
|
#
|
9227
9246
|
#
|
9228
9247
|
#
|
@@ -9382,7 +9401,7 @@ module Aws::S3
|
|
9382
9401
|
|
9383
9402
|
# Specifies object key name filtering rules. For information about key
|
9384
9403
|
# name filtering, see [Configuring Event Notifications][1] in the
|
9385
|
-
# *Amazon
|
9404
|
+
# *Amazon S3 User Guide*.
|
9386
9405
|
#
|
9387
9406
|
#
|
9388
9407
|
#
|
@@ -9472,7 +9491,7 @@ module Aws::S3
|
|
9472
9491
|
include Aws::Structure
|
9473
9492
|
end
|
9474
9493
|
|
9475
|
-
# This
|
9494
|
+
# This action is not allowed against this storage tier.
|
9476
9495
|
#
|
9477
9496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectAlreadyInActiveTierError AWS API Documentation
|
9478
9497
|
#
|
@@ -9531,11 +9550,16 @@ module Aws::S3
|
|
9531
9550
|
#
|
9532
9551
|
# @!attribute [rw] object_lock_enabled
|
9533
9552
|
# Indicates whether this bucket has an Object Lock configuration
|
9534
|
-
# enabled.
|
9553
|
+
# enabled. Enable `ObjectLockEnabled` when you apply
|
9554
|
+
# `ObjectLockConfiguration` to a bucket.
|
9535
9555
|
# @return [String]
|
9536
9556
|
#
|
9537
9557
|
# @!attribute [rw] rule
|
9538
|
-
#
|
9558
|
+
# Specifies the Object Lock rule for the specified object. Enable the
|
9559
|
+
# this rule when you apply `ObjectLockConfiguration` to a bucket.
|
9560
|
+
# Bucket settings require both a mode and a period. The period can be
|
9561
|
+
# either `Days` or `Years` but you must select one. You cannot specify
|
9562
|
+
# `Days` and `Years` at the same time.
|
9539
9563
|
# @return [Types::ObjectLockRule]
|
9540
9564
|
#
|
9541
9565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration AWS API Documentation
|
@@ -9609,8 +9633,11 @@ module Aws::S3
|
|
9609
9633
|
# }
|
9610
9634
|
#
|
9611
9635
|
# @!attribute [rw] default_retention
|
9612
|
-
# The default retention period that you want to
|
9613
|
-
# placed in the specified bucket.
|
9636
|
+
# The default Object Lock retention mode and period that you want to
|
9637
|
+
# apply to new objects placed in the specified bucket. Bucket settings
|
9638
|
+
# require both a mode and a period. The period can be either `Days` or
|
9639
|
+
# `Years` but you must select one. You cannot specify `Days` and
|
9640
|
+
# `Years` at the same time.
|
9614
9641
|
# @return [Types::DefaultRetention]
|
9615
9642
|
#
|
9616
9643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule AWS API Documentation
|
@@ -9621,8 +9648,8 @@ module Aws::S3
|
|
9621
9648
|
include Aws::Structure
|
9622
9649
|
end
|
9623
9650
|
|
9624
|
-
# The source object of the COPY
|
9625
|
-
#
|
9651
|
+
# The source object of the COPY action is not in the active tier and is
|
9652
|
+
# only stored in Amazon S3 Glacier.
|
9626
9653
|
#
|
9627
9654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectNotInActiveTierError AWS API Documentation
|
9628
9655
|
#
|
@@ -9949,7 +9976,7 @@ module Aws::S3
|
|
9949
9976
|
# Amazon S3 bucket. You can enable the configuration options in any
|
9950
9977
|
# combination. For more information about when Amazon S3 considers a
|
9951
9978
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
9952
|
-
# *Amazon
|
9979
|
+
# *Amazon S3 User Guide*.
|
9953
9980
|
#
|
9954
9981
|
#
|
9955
9982
|
#
|
@@ -10043,7 +10070,7 @@ module Aws::S3
|
|
10043
10070
|
# @return [Types::AccelerateConfiguration]
|
10044
10071
|
#
|
10045
10072
|
# @!attribute [rw] expected_bucket_owner
|
10046
|
-
# The account
|
10073
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10047
10074
|
# by a different account, the request will fail with an HTTP `403
|
10048
10075
|
# (Access Denied)` error.
|
10049
10076
|
# @return [String]
|
@@ -10141,7 +10168,7 @@ module Aws::S3
|
|
10141
10168
|
# @return [String]
|
10142
10169
|
#
|
10143
10170
|
# @!attribute [rw] expected_bucket_owner
|
10144
|
-
# The account
|
10171
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10145
10172
|
# by a different account, the request will fail with an HTTP `403
|
10146
10173
|
# (Access Denied)` error.
|
10147
10174
|
# @return [String]
|
@@ -10218,7 +10245,7 @@ module Aws::S3
|
|
10218
10245
|
# @return [Types::AnalyticsConfiguration]
|
10219
10246
|
#
|
10220
10247
|
# @!attribute [rw] expected_bucket_owner
|
10221
|
-
# The account
|
10248
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10222
10249
|
# by a different account, the request will fail with an HTTP `403
|
10223
10250
|
# (Access Denied)` error.
|
10224
10251
|
# @return [String]
|
@@ -10242,6 +10269,7 @@ module Aws::S3
|
|
10242
10269
|
# cors_configuration: { # required
|
10243
10270
|
# cors_rules: [ # required
|
10244
10271
|
# {
|
10272
|
+
# id: "ID",
|
10245
10273
|
# allowed_headers: ["AllowedHeader"],
|
10246
10274
|
# allowed_methods: ["AllowedMethod"], # required
|
10247
10275
|
# allowed_origins: ["AllowedOrigin"], # required
|
@@ -10261,8 +10289,7 @@ module Aws::S3
|
|
10261
10289
|
# @!attribute [rw] cors_configuration
|
10262
10290
|
# Describes the cross-origin access configuration for objects in an
|
10263
10291
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
10264
|
-
# Resource Sharing][1] in the *Amazon
|
10265
|
-
# Guide*.
|
10292
|
+
# Resource Sharing][1] in the *Amazon S3 User Guide*.
|
10266
10293
|
#
|
10267
10294
|
#
|
10268
10295
|
#
|
@@ -10284,7 +10311,7 @@ module Aws::S3
|
|
10284
10311
|
# @return [String]
|
10285
10312
|
#
|
10286
10313
|
# @!attribute [rw] expected_bucket_owner
|
10287
|
-
# The account
|
10314
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10288
10315
|
# by a different account, the request will fail with an HTTP `403
|
10289
10316
|
# (Access Denied)` error.
|
10290
10317
|
# @return [String]
|
@@ -10325,8 +10352,7 @@ module Aws::S3
|
|
10325
10352
|
# encryption with Amazon S3-managed keys (SSE-S3) or customer master
|
10326
10353
|
# keys stored in AWS KMS (SSE-KMS). For information about the Amazon
|
10327
10354
|
# S3 default encryption feature, see [Amazon S3 Default Bucket
|
10328
|
-
# Encryption][1] in the *Amazon
|
10329
|
-
# Guide*.
|
10355
|
+
# Encryption][1] in the *Amazon S3 User Guide*.
|
10330
10356
|
#
|
10331
10357
|
#
|
10332
10358
|
#
|
@@ -10346,7 +10372,7 @@ module Aws::S3
|
|
10346
10372
|
# @return [Types::ServerSideEncryptionConfiguration]
|
10347
10373
|
#
|
10348
10374
|
# @!attribute [rw] expected_bucket_owner
|
10349
|
-
# The account
|
10375
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10350
10376
|
# by a different account, the request will fail with an HTTP `403
|
10351
10377
|
# (Access Denied)` error.
|
10352
10378
|
# @return [String]
|
@@ -10469,7 +10495,7 @@ module Aws::S3
|
|
10469
10495
|
# @return [Types::InventoryConfiguration]
|
10470
10496
|
#
|
10471
10497
|
# @!attribute [rw] expected_bucket_owner
|
10472
|
-
# The account
|
10498
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10473
10499
|
# by a different account, the request will fail with an HTTP `403
|
10474
10500
|
# (Access Denied)` error.
|
10475
10501
|
# @return [String]
|
@@ -10551,7 +10577,7 @@ module Aws::S3
|
|
10551
10577
|
# @return [Types::BucketLifecycleConfiguration]
|
10552
10578
|
#
|
10553
10579
|
# @!attribute [rw] expected_bucket_owner
|
10554
|
-
# The account
|
10580
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10555
10581
|
# by a different account, the request will fail with an HTTP `403
|
10556
10582
|
# (Access Denied)` error.
|
10557
10583
|
# @return [String]
|
@@ -10616,7 +10642,7 @@ module Aws::S3
|
|
10616
10642
|
# @return [Types::LifecycleConfiguration]
|
10617
10643
|
#
|
10618
10644
|
# @!attribute [rw] expected_bucket_owner
|
10619
|
-
# The account
|
10645
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10620
10646
|
# by a different account, the request will fail with an HTTP `403
|
10621
10647
|
# (Access Denied)` error.
|
10622
10648
|
# @return [String]
|
@@ -10675,7 +10701,7 @@ module Aws::S3
|
|
10675
10701
|
# @return [String]
|
10676
10702
|
#
|
10677
10703
|
# @!attribute [rw] expected_bucket_owner
|
10678
|
-
# The account
|
10704
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10679
10705
|
# by a different account, the request will fail with an HTTP `403
|
10680
10706
|
# (Access Denied)` error.
|
10681
10707
|
# @return [String]
|
@@ -10732,7 +10758,7 @@ module Aws::S3
|
|
10732
10758
|
# @return [Types::MetricsConfiguration]
|
10733
10759
|
#
|
10734
10760
|
# @!attribute [rw] expected_bucket_owner
|
10735
|
-
# The account
|
10761
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10736
10762
|
# by a different account, the request will fail with an HTTP `403
|
10737
10763
|
# (Access Denied)` error.
|
10738
10764
|
# @return [String]
|
@@ -10820,7 +10846,7 @@ module Aws::S3
|
|
10820
10846
|
# @return [Types::NotificationConfiguration]
|
10821
10847
|
#
|
10822
10848
|
# @!attribute [rw] expected_bucket_owner
|
10823
|
-
# The account
|
10849
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10824
10850
|
# by a different account, the request will fail with an HTTP `403
|
10825
10851
|
# (Access Denied)` error.
|
10826
10852
|
# @return [String]
|
@@ -10881,7 +10907,7 @@ module Aws::S3
|
|
10881
10907
|
# @return [Types::NotificationConfigurationDeprecated]
|
10882
10908
|
#
|
10883
10909
|
# @!attribute [rw] expected_bucket_owner
|
10884
|
-
# The account
|
10910
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10885
10911
|
# by a different account, the request will fail with an HTTP `403
|
10886
10912
|
# (Access Denied)` error.
|
10887
10913
|
# @return [String]
|
@@ -10926,7 +10952,7 @@ module Aws::S3
|
|
10926
10952
|
# @return [String]
|
10927
10953
|
#
|
10928
10954
|
# @!attribute [rw] expected_bucket_owner
|
10929
|
-
# The account
|
10955
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10930
10956
|
# by a different account, the request will fail with an HTTP `403
|
10931
10957
|
# (Access Denied)` error.
|
10932
10958
|
# @return [String]
|
@@ -10979,7 +11005,7 @@ module Aws::S3
|
|
10979
11005
|
# @return [String]
|
10980
11006
|
#
|
10981
11007
|
# @!attribute [rw] expected_bucket_owner
|
10982
|
-
# The account
|
11008
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10983
11009
|
# by a different account, the request will fail with an HTTP `403
|
10984
11010
|
# (Access Denied)` error.
|
10985
11011
|
# @return [String]
|
@@ -11098,7 +11124,7 @@ module Aws::S3
|
|
11098
11124
|
# @return [String]
|
11099
11125
|
#
|
11100
11126
|
# @!attribute [rw] expected_bucket_owner
|
11101
|
-
# The account
|
11127
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11102
11128
|
# by a different account, the request will fail with an HTTP `403
|
11103
11129
|
# (Access Denied)` error.
|
11104
11130
|
# @return [String]
|
@@ -11150,7 +11176,7 @@ module Aws::S3
|
|
11150
11176
|
# @return [Types::RequestPaymentConfiguration]
|
11151
11177
|
#
|
11152
11178
|
# @!attribute [rw] expected_bucket_owner
|
11153
|
-
# The account
|
11179
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11154
11180
|
# by a different account, the request will fail with an HTTP `403
|
11155
11181
|
# (Access Denied)` error.
|
11156
11182
|
# @return [String]
|
@@ -11206,7 +11232,7 @@ module Aws::S3
|
|
11206
11232
|
# @return [Types::Tagging]
|
11207
11233
|
#
|
11208
11234
|
# @!attribute [rw] expected_bucket_owner
|
11209
|
-
# The account
|
11235
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11210
11236
|
# by a different account, the request will fail with an HTTP `403
|
11211
11237
|
# (Access Denied)` error.
|
11212
11238
|
# @return [String]
|
@@ -11265,7 +11291,7 @@ module Aws::S3
|
|
11265
11291
|
# @return [Types::VersioningConfiguration]
|
11266
11292
|
#
|
11267
11293
|
# @!attribute [rw] expected_bucket_owner
|
11268
|
-
# The account
|
11294
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11269
11295
|
# by a different account, the request will fail with an HTTP `403
|
11270
11296
|
# (Access Denied)` error.
|
11271
11297
|
# @return [String]
|
@@ -11341,7 +11367,7 @@ module Aws::S3
|
|
11341
11367
|
# @return [Types::WebsiteConfiguration]
|
11342
11368
|
#
|
11343
11369
|
# @!attribute [rw] expected_bucket_owner
|
11344
|
-
# The account
|
11370
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11345
11371
|
# by a different account, the request will fail with an HTTP `403
|
11346
11372
|
# (Access Denied)` error.
|
11347
11373
|
# @return [String]
|
@@ -11424,18 +11450,18 @@ module Aws::S3
|
|
11424
11450
|
# The bucket name that contains the object to which you want to attach
|
11425
11451
|
# the ACL.
|
11426
11452
|
#
|
11427
|
-
# When using this
|
11428
|
-
# to the access point hostname. The access point hostname
|
11429
|
-
# form
|
11453
|
+
# When using this action with an access point, you must direct
|
11454
|
+
# requests to the access point hostname. The access point hostname
|
11455
|
+
# takes the form
|
11430
11456
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11431
|
-
# When using this
|
11457
|
+
# When using this action with an access point through the AWS SDKs,
|
11432
11458
|
# you provide the access point ARN in place of the bucket name. For
|
11433
11459
|
# more information about access point ARNs, see [Using Access
|
11434
|
-
# Points][1] in the *Amazon
|
11460
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
11435
11461
|
#
|
11436
11462
|
#
|
11437
11463
|
#
|
11438
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11464
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11439
11465
|
# @return [String]
|
11440
11466
|
#
|
11441
11467
|
# @!attribute [rw] content_md5
|
@@ -11483,30 +11509,30 @@ module Aws::S3
|
|
11483
11509
|
# @return [String]
|
11484
11510
|
#
|
11485
11511
|
# @!attribute [rw] key
|
11486
|
-
# Key for which the PUT
|
11512
|
+
# Key for which the PUT action was initiated.
|
11487
11513
|
#
|
11488
|
-
# When using this
|
11489
|
-
# to the access point hostname. The access point hostname
|
11490
|
-
# form
|
11514
|
+
# When using this action with an access point, you must direct
|
11515
|
+
# requests to the access point hostname. The access point hostname
|
11516
|
+
# takes the form
|
11491
11517
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11492
|
-
# When using this
|
11518
|
+
# When using this action with an access point through the AWS SDKs,
|
11493
11519
|
# you provide the access point ARN in place of the bucket name. For
|
11494
11520
|
# more information about access point ARNs, see [Using Access
|
11495
|
-
# Points][1] in the *Amazon
|
11521
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
11496
11522
|
#
|
11497
|
-
# When using this
|
11523
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11498
11524
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11499
11525
|
# takes the form
|
11500
11526
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11501
|
-
# When using this
|
11527
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11502
11528
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11503
11529
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11504
|
-
# Outposts][2] in the *Amazon
|
11530
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
11505
11531
|
#
|
11506
11532
|
#
|
11507
11533
|
#
|
11508
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11509
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11534
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11535
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
11510
11536
|
# @return [String]
|
11511
11537
|
#
|
11512
11538
|
# @!attribute [rw] request_payer
|
@@ -11526,7 +11552,7 @@ module Aws::S3
|
|
11526
11552
|
# @return [String]
|
11527
11553
|
#
|
11528
11554
|
# @!attribute [rw] expected_bucket_owner
|
11529
|
-
# The account
|
11555
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11530
11556
|
# by a different account, the request will fail with an HTTP `403
|
11531
11557
|
# (Access Denied)` error.
|
11532
11558
|
# @return [String]
|
@@ -11583,18 +11609,18 @@ module Aws::S3
|
|
11583
11609
|
# The bucket name containing the object that you want to place a Legal
|
11584
11610
|
# Hold on.
|
11585
11611
|
#
|
11586
|
-
# When using this
|
11587
|
-
# to the access point hostname. The access point hostname
|
11588
|
-
# form
|
11612
|
+
# When using this action with an access point, you must direct
|
11613
|
+
# requests to the access point hostname. The access point hostname
|
11614
|
+
# takes the form
|
11589
11615
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11590
|
-
# When using this
|
11616
|
+
# When using this action with an access point through the AWS SDKs,
|
11591
11617
|
# you provide the access point ARN in place of the bucket name. For
|
11592
11618
|
# more information about access point ARNs, see [Using Access
|
11593
|
-
# Points][1] in the *Amazon
|
11619
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
11594
11620
|
#
|
11595
11621
|
#
|
11596
11622
|
#
|
11597
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11623
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11598
11624
|
# @return [String]
|
11599
11625
|
#
|
11600
11626
|
# @!attribute [rw] key
|
@@ -11630,7 +11656,7 @@ module Aws::S3
|
|
11630
11656
|
# @return [String]
|
11631
11657
|
#
|
11632
11658
|
# @!attribute [rw] expected_bucket_owner
|
11633
|
-
# The account
|
11659
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11634
11660
|
# by a different account, the request will fail with an HTTP `403
|
11635
11661
|
# (Access Denied)` error.
|
11636
11662
|
# @return [String]
|
@@ -11717,7 +11743,7 @@ module Aws::S3
|
|
11717
11743
|
# @return [String]
|
11718
11744
|
#
|
11719
11745
|
# @!attribute [rw] expected_bucket_owner
|
11720
|
-
# The account
|
11746
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11721
11747
|
# by a different account, the request will fail with an HTTP `403
|
11722
11748
|
# (Access Denied)` error.
|
11723
11749
|
# @return [String]
|
@@ -11872,30 +11898,30 @@ module Aws::S3
|
|
11872
11898
|
# @return [IO]
|
11873
11899
|
#
|
11874
11900
|
# @!attribute [rw] bucket
|
11875
|
-
# The bucket name to which the PUT
|
11901
|
+
# The bucket name to which the PUT action was initiated.
|
11876
11902
|
#
|
11877
|
-
# When using this
|
11878
|
-
# to the access point hostname. The access point hostname
|
11879
|
-
# form
|
11903
|
+
# When using this action with an access point, you must direct
|
11904
|
+
# requests to the access point hostname. The access point hostname
|
11905
|
+
# takes the form
|
11880
11906
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11881
|
-
# When using this
|
11907
|
+
# When using this action with an access point through the AWS SDKs,
|
11882
11908
|
# you provide the access point ARN in place of the bucket name. For
|
11883
11909
|
# more information about access point ARNs, see [Using Access
|
11884
|
-
# Points][1] in the *Amazon
|
11910
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
11885
11911
|
#
|
11886
|
-
# When using this
|
11912
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11887
11913
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11888
11914
|
# takes the form
|
11889
11915
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11890
|
-
# When using this
|
11916
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11891
11917
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11892
11918
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11893
|
-
# Outposts][2] in the *Amazon
|
11919
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
11894
11920
|
#
|
11895
11921
|
#
|
11896
11922
|
#
|
11897
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11898
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11923
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11924
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
11899
11925
|
# @return [String]
|
11900
11926
|
#
|
11901
11927
|
# @!attribute [rw] cache_control
|
@@ -12005,7 +12031,7 @@ module Aws::S3
|
|
12005
12031
|
# @return [String]
|
12006
12032
|
#
|
12007
12033
|
# @!attribute [rw] key
|
12008
|
-
# Object key for which the PUT
|
12034
|
+
# Object key for which the PUT action was initiated.
|
12009
12035
|
# @return [String]
|
12010
12036
|
#
|
12011
12037
|
# @!attribute [rw] metadata
|
@@ -12103,8 +12129,8 @@ module Aws::S3
|
|
12103
12129
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
12104
12130
|
# Key for object encryption with SSE-KMS.
|
12105
12131
|
#
|
12106
|
-
# Specifying this header with a PUT
|
12107
|
-
#
|
12132
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
12133
|
+
# settings for S3 Bucket Key.
|
12108
12134
|
# @return [Boolean]
|
12109
12135
|
#
|
12110
12136
|
# @!attribute [rw] request_payer
|
@@ -12143,7 +12169,7 @@ module Aws::S3
|
|
12143
12169
|
# @return [String]
|
12144
12170
|
#
|
12145
12171
|
# @!attribute [rw] expected_bucket_owner
|
12146
|
-
# The account
|
12172
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12147
12173
|
# by a different account, the request will fail with an HTTP `403
|
12148
12174
|
# (Access Denied)` error.
|
12149
12175
|
# @return [String]
|
@@ -12221,18 +12247,18 @@ module Aws::S3
|
|
12221
12247
|
# The bucket name that contains the object you want to apply this
|
12222
12248
|
# Object Retention configuration to.
|
12223
12249
|
#
|
12224
|
-
# When using this
|
12225
|
-
# to the access point hostname. The access point hostname
|
12226
|
-
# form
|
12250
|
+
# When using this action with an access point, you must direct
|
12251
|
+
# requests to the access point hostname. The access point hostname
|
12252
|
+
# takes the form
|
12227
12253
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12228
|
-
# When using this
|
12254
|
+
# When using this action with an access point through the AWS SDKs,
|
12229
12255
|
# you provide the access point ARN in place of the bucket name. For
|
12230
12256
|
# more information about access point ARNs, see [Using Access
|
12231
|
-
# Points][1] in the *Amazon
|
12257
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
12232
12258
|
#
|
12233
12259
|
#
|
12234
12260
|
#
|
12235
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
12261
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
12236
12262
|
# @return [String]
|
12237
12263
|
#
|
12238
12264
|
# @!attribute [rw] key
|
@@ -12262,7 +12288,7 @@ module Aws::S3
|
|
12262
12288
|
# @return [String]
|
12263
12289
|
#
|
12264
12290
|
# @!attribute [rw] bypass_governance_retention
|
12265
|
-
# Indicates whether this
|
12291
|
+
# Indicates whether this action should bypass Governance-mode
|
12266
12292
|
# restrictions.
|
12267
12293
|
# @return [Boolean]
|
12268
12294
|
#
|
@@ -12274,7 +12300,7 @@ module Aws::S3
|
|
12274
12300
|
# @return [String]
|
12275
12301
|
#
|
12276
12302
|
# @!attribute [rw] expected_bucket_owner
|
12277
|
-
# The account
|
12303
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12278
12304
|
# by a different account, the request will fail with an HTTP `403
|
12279
12305
|
# (Access Denied)` error.
|
12280
12306
|
# @return [String]
|
@@ -12329,28 +12355,28 @@ module Aws::S3
|
|
12329
12355
|
# @!attribute [rw] bucket
|
12330
12356
|
# The bucket name containing the object.
|
12331
12357
|
#
|
12332
|
-
# When using this
|
12333
|
-
# to the access point hostname. The access point hostname
|
12334
|
-
# form
|
12358
|
+
# When using this action with an access point, you must direct
|
12359
|
+
# requests to the access point hostname. The access point hostname
|
12360
|
+
# takes the form
|
12335
12361
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12336
|
-
# When using this
|
12362
|
+
# When using this action with an access point through the AWS SDKs,
|
12337
12363
|
# you provide the access point ARN in place of the bucket name. For
|
12338
12364
|
# more information about access point ARNs, see [Using Access
|
12339
|
-
# Points][1] in the *Amazon
|
12365
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
12340
12366
|
#
|
12341
|
-
# When using this
|
12367
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
12342
12368
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12343
12369
|
# takes the form
|
12344
12370
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
12345
|
-
# When using this
|
12371
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
12346
12372
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
12347
12373
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
12348
|
-
# Outposts][2] in the *Amazon
|
12374
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
12349
12375
|
#
|
12350
12376
|
#
|
12351
12377
|
#
|
12352
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
12353
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
12378
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
12379
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
12354
12380
|
# @return [String]
|
12355
12381
|
#
|
12356
12382
|
# @!attribute [rw] key
|
@@ -12373,7 +12399,7 @@ module Aws::S3
|
|
12373
12399
|
# @return [Types::Tagging]
|
12374
12400
|
#
|
12375
12401
|
# @!attribute [rw] expected_bucket_owner
|
12376
|
-
# The account
|
12402
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12377
12403
|
# by a different account, the request will fail with an HTTP `403
|
12378
12404
|
# (Access Denied)` error.
|
12379
12405
|
# @return [String]
|
@@ -12436,7 +12462,7 @@ module Aws::S3
|
|
12436
12462
|
# Amazon S3 bucket. You can enable the configuration options in any
|
12437
12463
|
# combination. For more information about when Amazon S3 considers a
|
12438
12464
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
12439
|
-
# *Amazon
|
12465
|
+
# *Amazon S3 User Guide*.
|
12440
12466
|
#
|
12441
12467
|
#
|
12442
12468
|
#
|
@@ -12444,7 +12470,7 @@ module Aws::S3
|
|
12444
12470
|
# @return [Types::PublicAccessBlockConfiguration]
|
12445
12471
|
#
|
12446
12472
|
# @!attribute [rw] expected_bucket_owner
|
12447
|
-
# The account
|
12473
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12448
12474
|
# by a different account, the request will fail with an HTTP `403
|
12449
12475
|
# (Access Denied)` error.
|
12450
12476
|
# @return [String]
|
@@ -12502,7 +12528,7 @@ module Aws::S3
|
|
12502
12528
|
# @!attribute [rw] filter
|
12503
12529
|
# Specifies object key name filtering rules. For information about key
|
12504
12530
|
# name filtering, see [Configuring Event Notifications][1] in the
|
12505
|
-
# *Amazon
|
12531
|
+
# *Amazon S3 User Guide*.
|
12506
12532
|
#
|
12507
12533
|
#
|
12508
12534
|
#
|
@@ -12550,7 +12576,7 @@ module Aws::S3
|
|
12550
12576
|
# @return [String]
|
12551
12577
|
#
|
12552
12578
|
# @!attribute [rw] events
|
12553
|
-
# A collection of bucket events for which to send notifications
|
12579
|
+
# A collection of bucket events for which to send notifications.
|
12554
12580
|
# @return [Array<String>]
|
12555
12581
|
#
|
12556
12582
|
# @!attribute [rw] queue
|
@@ -12793,7 +12819,7 @@ module Aws::S3
|
|
12793
12819
|
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
12794
12820
|
# Management (IAM) role that Amazon S3 assumes when replicating
|
12795
12821
|
# objects. For more information, see [How to Set Up Replication][1] in
|
12796
|
-
# the *Amazon
|
12822
|
+
# the *Amazon S3 User Guide*.
|
12797
12823
|
#
|
12798
12824
|
#
|
12799
12825
|
#
|
@@ -12894,8 +12920,8 @@ module Aws::S3
|
|
12894
12920
|
# will be replicated according to the rule with the highest priority.
|
12895
12921
|
# The higher the number, the higher the priority.
|
12896
12922
|
#
|
12897
|
-
# For more information, see [Replication][1] in the *Amazon
|
12898
|
-
#
|
12923
|
+
# For more information, see [Replication][1] in the *Amazon S3 User
|
12924
|
+
# Guide*.
|
12899
12925
|
#
|
12900
12926
|
#
|
12901
12927
|
#
|
@@ -12996,7 +13022,7 @@ module Aws::S3
|
|
12996
13022
|
# filters in an `And` tag.
|
12997
13023
|
#
|
12998
13024
|
# * If you specify a filter based on multiple tags, wrap the `Tag`
|
12999
|
-
# elements in an `And` tag
|
13025
|
+
# elements in an `And` tag.
|
13000
13026
|
#
|
13001
13027
|
# @note When making an API call, you may pass ReplicationRuleAndOperator
|
13002
13028
|
# data as a hash:
|
@@ -13309,32 +13335,32 @@ module Aws::S3
|
|
13309
13335
|
# @!attribute [rw] bucket
|
13310
13336
|
# The bucket name containing the object to restore.
|
13311
13337
|
#
|
13312
|
-
# When using this
|
13313
|
-
# to the access point hostname. The access point hostname
|
13314
|
-
# form
|
13338
|
+
# When using this action with an access point, you must direct
|
13339
|
+
# requests to the access point hostname. The access point hostname
|
13340
|
+
# takes the form
|
13315
13341
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
13316
|
-
# When using this
|
13342
|
+
# When using this action with an access point through the AWS SDKs,
|
13317
13343
|
# you provide the access point ARN in place of the bucket name. For
|
13318
13344
|
# more information about access point ARNs, see [Using Access
|
13319
|
-
# Points][1] in the *Amazon
|
13345
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
13320
13346
|
#
|
13321
|
-
# When using this
|
13347
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
13322
13348
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13323
13349
|
# takes the form
|
13324
13350
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
13325
|
-
# When using this
|
13351
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
13326
13352
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
13327
13353
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
13328
|
-
# Outposts][2] in the *Amazon
|
13354
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
13329
13355
|
#
|
13330
13356
|
#
|
13331
13357
|
#
|
13332
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
13333
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
13358
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
13359
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
13334
13360
|
# @return [String]
|
13335
13361
|
#
|
13336
13362
|
# @!attribute [rw] key
|
13337
|
-
# Object key for which the
|
13363
|
+
# Object key for which the action was initiated.
|
13338
13364
|
# @return [String]
|
13339
13365
|
#
|
13340
13366
|
# @!attribute [rw] version_id
|
@@ -13358,7 +13384,7 @@ module Aws::S3
|
|
13358
13384
|
# @return [String]
|
13359
13385
|
#
|
13360
13386
|
# @!attribute [rw] expected_bucket_owner
|
13361
|
-
# The account
|
13387
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
13362
13388
|
# by a different account, the request will fail with an HTTP `403
|
13363
13389
|
# (Access Denied)` error.
|
13364
13390
|
# @return [String]
|
@@ -13512,8 +13538,7 @@ module Aws::S3
|
|
13512
13538
|
|
13513
13539
|
# Specifies the redirect behavior and when a redirect is applied. For
|
13514
13540
|
# more information about routing rules, see [Configuring advanced
|
13515
|
-
# conditional redirects][1] in the *Amazon
|
13516
|
-
# Developer Guide*.
|
13541
|
+
# conditional redirects][1] in the *Amazon S3 User Guide*.
|
13517
13542
|
#
|
13518
13543
|
#
|
13519
13544
|
#
|
@@ -13562,7 +13587,7 @@ module Aws::S3
|
|
13562
13587
|
# Specifies lifecycle rules for an Amazon S3 bucket. For more
|
13563
13588
|
# information, see [Put Bucket Lifecycle Configuration][1] in the
|
13564
13589
|
# *Amazon Simple Storage Service API Reference*. For examples, see [Put
|
13565
|
-
# Bucket Lifecycle Configuration Examples][2]
|
13590
|
+
# Bucket Lifecycle Configuration Examples][2].
|
13566
13591
|
#
|
13567
13592
|
#
|
13568
13593
|
#
|
@@ -13629,7 +13654,7 @@ module Aws::S3
|
|
13629
13654
|
# Specifies when an object transitions to a specified storage class.
|
13630
13655
|
# For more information about Amazon S3 lifecycle configuration rules,
|
13631
13656
|
# see [Transitioning Objects Using Amazon S3 Lifecycle][1] in the
|
13632
|
-
# *Amazon
|
13657
|
+
# *Amazon S3 User Guide*.
|
13633
13658
|
#
|
13634
13659
|
#
|
13635
13660
|
#
|
@@ -13661,7 +13686,7 @@ module Aws::S3
|
|
13661
13686
|
# upload that Amazon S3 will wait before permanently removing all
|
13662
13687
|
# parts of the upload. For more information, see [ Aborting Incomplete
|
13663
13688
|
# Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
|
13664
|
-
#
|
13689
|
+
# S3 User Guide*.
|
13665
13690
|
#
|
13666
13691
|
#
|
13667
13692
|
#
|
@@ -14028,7 +14053,7 @@ module Aws::S3
|
|
14028
14053
|
# @return [Types::ScanRange]
|
14029
14054
|
#
|
14030
14055
|
# @!attribute [rw] expected_bucket_owner
|
14031
|
-
# The account
|
14056
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
14032
14057
|
# by a different account, the request will fail with an HTTP `403
|
14033
14058
|
# (Access Denied)` error.
|
14034
14059
|
# @return [String]
|
@@ -14233,7 +14258,7 @@ module Aws::S3
|
|
14233
14258
|
# Bucket Key. By default, S3 Bucket Key is not enabled.
|
14234
14259
|
#
|
14235
14260
|
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
|
14236
|
-
#
|
14261
|
+
# S3 User Guide*.
|
14237
14262
|
#
|
14238
14263
|
#
|
14239
14264
|
#
|
@@ -14594,8 +14619,8 @@ module Aws::S3
|
|
14594
14619
|
#
|
14595
14620
|
# @!attribute [rw] events
|
14596
14621
|
# The Amazon S3 bucket event about which to send notifications. For
|
14597
|
-
# more information, see [Supported Event Types][1] in the *Amazon
|
14598
|
-
#
|
14622
|
+
# more information, see [Supported Event Types][1] in the *Amazon S3
|
14623
|
+
# User Guide*.
|
14599
14624
|
#
|
14600
14625
|
#
|
14601
14626
|
#
|
@@ -14605,7 +14630,7 @@ module Aws::S3
|
|
14605
14630
|
# @!attribute [rw] filter
|
14606
14631
|
# Specifies object key name filtering rules. For information about key
|
14607
14632
|
# name filtering, see [Configuring Event Notifications][1] in the
|
14608
|
-
# *Amazon
|
14633
|
+
# *Amazon S3 User Guide*.
|
14609
14634
|
#
|
14610
14635
|
#
|
14611
14636
|
#
|
@@ -14674,8 +14699,8 @@ module Aws::S3
|
|
14674
14699
|
|
14675
14700
|
# Specifies when an object transitions to a specified storage class. For
|
14676
14701
|
# more information about Amazon S3 lifecycle configuration rules, see
|
14677
|
-
# [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon
|
14678
|
-
#
|
14702
|
+
# [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon S3
|
14703
|
+
# User Guide*.
|
14679
14704
|
#
|
14680
14705
|
#
|
14681
14706
|
#
|
@@ -14802,28 +14827,28 @@ module Aws::S3
|
|
14802
14827
|
# @!attribute [rw] bucket
|
14803
14828
|
# The bucket name.
|
14804
14829
|
#
|
14805
|
-
# When using this
|
14806
|
-
# to the access point hostname. The access point hostname
|
14807
|
-
# form
|
14830
|
+
# When using this action with an access point, you must direct
|
14831
|
+
# requests to the access point hostname. The access point hostname
|
14832
|
+
# takes the form
|
14808
14833
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
14809
|
-
# When using this
|
14834
|
+
# When using this action with an access point through the AWS SDKs,
|
14810
14835
|
# you provide the access point ARN in place of the bucket name. For
|
14811
14836
|
# more information about access point ARNs, see [Using Access
|
14812
|
-
# Points][1] in the *Amazon
|
14837
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
14813
14838
|
#
|
14814
|
-
# When using this
|
14839
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
14815
14840
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
14816
14841
|
# takes the form
|
14817
14842
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
14818
|
-
# When using this
|
14843
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
14819
14844
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
14820
14845
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
14821
|
-
# Outposts][2] in the *Amazon
|
14846
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
14822
14847
|
#
|
14823
14848
|
#
|
14824
14849
|
#
|
14825
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14826
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14850
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
14851
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
14827
14852
|
# @return [String]
|
14828
14853
|
#
|
14829
14854
|
# @!attribute [rw] copy_source
|
@@ -14870,7 +14895,7 @@ module Aws::S3
|
|
14870
14895
|
#
|
14871
14896
|
#
|
14872
14897
|
#
|
14873
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14898
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
14874
14899
|
# @return [String]
|
14875
14900
|
#
|
14876
14901
|
# @!attribute [rw] copy_source_if_match
|
@@ -14965,13 +14990,13 @@ module Aws::S3
|
|
14965
14990
|
# @return [String]
|
14966
14991
|
#
|
14967
14992
|
# @!attribute [rw] expected_bucket_owner
|
14968
|
-
# The account
|
14993
|
+
# The account ID of the expected destination bucket owner. If the
|
14969
14994
|
# destination bucket is owned by a different account, the request will
|
14970
14995
|
# fail with an HTTP `403 (Access Denied)` error.
|
14971
14996
|
# @return [String]
|
14972
14997
|
#
|
14973
14998
|
# @!attribute [rw] expected_source_bucket_owner
|
14974
|
-
# The account
|
14999
|
+
# The account ID of the expected source bucket owner. If the source
|
14975
15000
|
# bucket is owned by a different account, the request will fail with
|
14976
15001
|
# an HTTP `403 (Access Denied)` error.
|
14977
15002
|
# @return [String]
|
@@ -15079,28 +15104,28 @@ module Aws::S3
|
|
15079
15104
|
# @!attribute [rw] bucket
|
15080
15105
|
# The name of the bucket to which the multipart upload was initiated.
|
15081
15106
|
#
|
15082
|
-
# When using this
|
15083
|
-
# to the access point hostname. The access point hostname
|
15084
|
-
# form
|
15107
|
+
# When using this action with an access point, you must direct
|
15108
|
+
# requests to the access point hostname. The access point hostname
|
15109
|
+
# takes the form
|
15085
15110
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
15086
|
-
# When using this
|
15111
|
+
# When using this action with an access point through the AWS SDKs,
|
15087
15112
|
# you provide the access point ARN in place of the bucket name. For
|
15088
15113
|
# more information about access point ARNs, see [Using Access
|
15089
|
-
# Points][1] in the *Amazon
|
15114
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
15090
15115
|
#
|
15091
|
-
# When using this
|
15116
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
15092
15117
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
15093
15118
|
# takes the form
|
15094
15119
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
15095
|
-
# When using this
|
15120
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
15096
15121
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
15097
15122
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
15098
|
-
# Outposts][2] in the *Amazon
|
15123
|
+
# Outposts][2] in the *Amazon S3 User Guide*.
|
15099
15124
|
#
|
15100
15125
|
#
|
15101
15126
|
#
|
15102
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
15103
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
15127
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
15128
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
15104
15129
|
# @return [String]
|
15105
15130
|
#
|
15106
15131
|
# @!attribute [rw] content_length
|
@@ -15162,7 +15187,7 @@ module Aws::S3
|
|
15162
15187
|
# @return [String]
|
15163
15188
|
#
|
15164
15189
|
# @!attribute [rw] expected_bucket_owner
|
15165
|
-
# The account
|
15190
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
15166
15191
|
# by a different account, the request will fail with an HTTP `403
|
15167
15192
|
# (Access Denied)` error.
|
15168
15193
|
# @return [String]
|
@@ -15286,6 +15311,317 @@ module Aws::S3
|
|
15286
15311
|
include Aws::Structure
|
15287
15312
|
end
|
15288
15313
|
|
15314
|
+
# @note When making an API call, you may pass WriteGetObjectResponseRequest
|
15315
|
+
# data as a hash:
|
15316
|
+
#
|
15317
|
+
# {
|
15318
|
+
# request_route: "RequestRoute", # required
|
15319
|
+
# request_token: "RequestToken", # required
|
15320
|
+
# body: source_file,
|
15321
|
+
# status_code: 1,
|
15322
|
+
# error_code: "ErrorCode",
|
15323
|
+
# error_message: "ErrorMessage",
|
15324
|
+
# accept_ranges: "AcceptRanges",
|
15325
|
+
# cache_control: "CacheControl",
|
15326
|
+
# content_disposition: "ContentDisposition",
|
15327
|
+
# content_encoding: "ContentEncoding",
|
15328
|
+
# content_language: "ContentLanguage",
|
15329
|
+
# content_length: 1,
|
15330
|
+
# content_range: "ContentRange",
|
15331
|
+
# content_type: "ContentType",
|
15332
|
+
# delete_marker: false,
|
15333
|
+
# etag: "ETag",
|
15334
|
+
# expires: Time.now,
|
15335
|
+
# expiration: "Expiration",
|
15336
|
+
# last_modified: Time.now,
|
15337
|
+
# missing_meta: 1,
|
15338
|
+
# metadata: {
|
15339
|
+
# "MetadataKey" => "MetadataValue",
|
15340
|
+
# },
|
15341
|
+
# object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
|
15342
|
+
# object_lock_legal_hold_status: "ON", # accepts ON, OFF
|
15343
|
+
# object_lock_retain_until_date: Time.now,
|
15344
|
+
# parts_count: 1,
|
15345
|
+
# replication_status: "COMPLETE", # accepts COMPLETE, PENDING, FAILED, REPLICA
|
15346
|
+
# request_charged: "requester", # accepts requester
|
15347
|
+
# restore: "Restore",
|
15348
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
15349
|
+
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
15350
|
+
# ssekms_key_id: "SSEKMSKeyId",
|
15351
|
+
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
15352
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
15353
|
+
# tag_count: 1,
|
15354
|
+
# version_id: "ObjectVersionId",
|
15355
|
+
# bucket_key_enabled: false,
|
15356
|
+
# }
|
15357
|
+
#
|
15358
|
+
# @!attribute [rw] request_route
|
15359
|
+
# Route prefix to the HTTP URL generated.
|
15360
|
+
# @return [String]
|
15361
|
+
#
|
15362
|
+
# @!attribute [rw] request_token
|
15363
|
+
# A single use encrypted token that maps `WriteGetObjectResponse` to
|
15364
|
+
# the end user `GetObject` request.
|
15365
|
+
# @return [String]
|
15366
|
+
#
|
15367
|
+
# @!attribute [rw] body
|
15368
|
+
# The object data.
|
15369
|
+
# @return [IO]
|
15370
|
+
#
|
15371
|
+
# @!attribute [rw] status_code
|
15372
|
+
# The integer status code for an HTTP response of a corresponding
|
15373
|
+
# `GetObject` request.
|
15374
|
+
#
|
15375
|
+
# **Status Codes**
|
15376
|
+
#
|
15377
|
+
# * *200 - OK*
|
15378
|
+
#
|
15379
|
+
# * *206 - Partial Content*
|
15380
|
+
#
|
15381
|
+
# * *304 - Not Modified*
|
15382
|
+
#
|
15383
|
+
# * *400 - Bad Request*
|
15384
|
+
#
|
15385
|
+
# * *401 - Unauthorized*
|
15386
|
+
#
|
15387
|
+
# * *403 - Forbidden*
|
15388
|
+
#
|
15389
|
+
# * *404 - Not Found*
|
15390
|
+
#
|
15391
|
+
# * *405 - Method Not Allowed*
|
15392
|
+
#
|
15393
|
+
# * *409 - Conflict*
|
15394
|
+
#
|
15395
|
+
# * *411 - Length Required*
|
15396
|
+
#
|
15397
|
+
# * *412 - Precondition Failed*
|
15398
|
+
#
|
15399
|
+
# * *416 - Range Not Satisfiable*
|
15400
|
+
#
|
15401
|
+
# * *500 - Internal Server Error*
|
15402
|
+
#
|
15403
|
+
# * *503 - Service Unavailable*
|
15404
|
+
# @return [Integer]
|
15405
|
+
#
|
15406
|
+
# @!attribute [rw] error_code
|
15407
|
+
# A string that uniquely identifies an error condition. Returned in
|
15408
|
+
# the <Code> tag of the error XML response for a corresponding
|
15409
|
+
# `GetObject` call. Cannot be used with a successful `StatusCode`
|
15410
|
+
# header or when the transformed object is provided in the body. All
|
15411
|
+
# error codes from S3 are sentence-cased. Regex value is
|
15412
|
+
# "^\[A-Z\]\[a-zA-Z\]+$".
|
15413
|
+
# @return [String]
|
15414
|
+
#
|
15415
|
+
# @!attribute [rw] error_message
|
15416
|
+
# Contains a generic description of the error condition. Returned in
|
15417
|
+
# the <Message> tag of the error XML response for a
|
15418
|
+
# corresponding `GetObject` call. Cannot be used with a successful
|
15419
|
+
# `StatusCode` header or when the transformed object is provided in
|
15420
|
+
# body.
|
15421
|
+
# @return [String]
|
15422
|
+
#
|
15423
|
+
# @!attribute [rw] accept_ranges
|
15424
|
+
# Indicates that a range of bytes was specified.
|
15425
|
+
# @return [String]
|
15426
|
+
#
|
15427
|
+
# @!attribute [rw] cache_control
|
15428
|
+
# Specifies caching behavior along the request/reply chain.
|
15429
|
+
# @return [String]
|
15430
|
+
#
|
15431
|
+
# @!attribute [rw] content_disposition
|
15432
|
+
# Specifies presentational information for the object.
|
15433
|
+
# @return [String]
|
15434
|
+
#
|
15435
|
+
# @!attribute [rw] content_encoding
|
15436
|
+
# Specifies what content encodings have been applied to the object and
|
15437
|
+
# thus what decoding mechanisms must be applied to obtain the
|
15438
|
+
# media-type referenced by the Content-Type header field.
|
15439
|
+
# @return [String]
|
15440
|
+
#
|
15441
|
+
# @!attribute [rw] content_language
|
15442
|
+
# The language the content is in.
|
15443
|
+
# @return [String]
|
15444
|
+
#
|
15445
|
+
# @!attribute [rw] content_length
|
15446
|
+
# The size of the content body in bytes.
|
15447
|
+
# @return [Integer]
|
15448
|
+
#
|
15449
|
+
# @!attribute [rw] content_range
|
15450
|
+
# The portion of the object returned in the response.
|
15451
|
+
# @return [String]
|
15452
|
+
#
|
15453
|
+
# @!attribute [rw] content_type
|
15454
|
+
# A standard MIME type describing the format of the object data.
|
15455
|
+
# @return [String]
|
15456
|
+
#
|
15457
|
+
# @!attribute [rw] delete_marker
|
15458
|
+
# Specifies whether an object stored in Amazon S3 is (`true`) or is
|
15459
|
+
# not (`false`) a delete marker.
|
15460
|
+
# @return [Boolean]
|
15461
|
+
#
|
15462
|
+
# @!attribute [rw] etag
|
15463
|
+
# An opaque identifier assigned by a web server to a specific version
|
15464
|
+
# of a resource found at a URL.
|
15465
|
+
# @return [String]
|
15466
|
+
#
|
15467
|
+
# @!attribute [rw] expires
|
15468
|
+
# The date and time at which the object is no longer cacheable.
|
15469
|
+
# @return [Time]
|
15470
|
+
#
|
15471
|
+
# @!attribute [rw] expiration
|
15472
|
+
# If object stored in Amazon S3 expiration is configured (see PUT
|
15473
|
+
# Bucket lifecycle) it includes expiry-date and rule-id key-value
|
15474
|
+
# pairs providing object expiration information. The value of the
|
15475
|
+
# rule-id is URL encoded.
|
15476
|
+
# @return [String]
|
15477
|
+
#
|
15478
|
+
# @!attribute [rw] last_modified
|
15479
|
+
# The date and time that the object was last modified.
|
15480
|
+
# @return [Time]
|
15481
|
+
#
|
15482
|
+
# @!attribute [rw] missing_meta
|
15483
|
+
# Set to the number of metadata entries not returned in `x-amz-meta`
|
15484
|
+
# headers. This can happen if you create metadata using an API like
|
15485
|
+
# SOAP that supports more flexible metadata than the REST API. For
|
15486
|
+
# example, using SOAP, you can create metadata whose values are not
|
15487
|
+
# legal HTTP headers.
|
15488
|
+
# @return [Integer]
|
15489
|
+
#
|
15490
|
+
# @!attribute [rw] metadata
|
15491
|
+
# A map of metadata to store with the object in S3.
|
15492
|
+
# @return [Hash<String,String>]
|
15493
|
+
#
|
15494
|
+
# @!attribute [rw] object_lock_mode
|
15495
|
+
# Indicates whether an object stored in Amazon S3 has Object Lock
|
15496
|
+
# enabled. For more information about S3 Object Lock, see [Object
|
15497
|
+
# Lock][1].
|
15498
|
+
#
|
15499
|
+
#
|
15500
|
+
#
|
15501
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
|
15502
|
+
# @return [String]
|
15503
|
+
#
|
15504
|
+
# @!attribute [rw] object_lock_legal_hold_status
|
15505
|
+
# Indicates whether an object stored in Amazon S3 has an active legal
|
15506
|
+
# hold.
|
15507
|
+
# @return [String]
|
15508
|
+
#
|
15509
|
+
# @!attribute [rw] object_lock_retain_until_date
|
15510
|
+
# The date and time when Object Lock is configured to expire.
|
15511
|
+
# @return [Time]
|
15512
|
+
#
|
15513
|
+
# @!attribute [rw] parts_count
|
15514
|
+
# The count of parts this object has.
|
15515
|
+
# @return [Integer]
|
15516
|
+
#
|
15517
|
+
# @!attribute [rw] replication_status
|
15518
|
+
# Indicates if request involves bucket that is either a source or
|
15519
|
+
# destination in a Replication rule. For more information about S3
|
15520
|
+
# Replication, see [Replication][1].
|
15521
|
+
#
|
15522
|
+
#
|
15523
|
+
#
|
15524
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html
|
15525
|
+
# @return [String]
|
15526
|
+
#
|
15527
|
+
# @!attribute [rw] request_charged
|
15528
|
+
# If present, indicates that the requester was successfully charged
|
15529
|
+
# for the request.
|
15530
|
+
# @return [String]
|
15531
|
+
#
|
15532
|
+
# @!attribute [rw] restore
|
15533
|
+
# Provides information about object restoration operation and
|
15534
|
+
# expiration time of the restored object copy.
|
15535
|
+
# @return [String]
|
15536
|
+
#
|
15537
|
+
# @!attribute [rw] server_side_encryption
|
15538
|
+
# The server-side encryption algorithm used when storing requested
|
15539
|
+
# object in Amazon S3 (for example, AES256, aws:kms).
|
15540
|
+
# @return [String]
|
15541
|
+
#
|
15542
|
+
# @!attribute [rw] sse_customer_algorithm
|
15543
|
+
# Encryption algorithm used if server-side encryption with a
|
15544
|
+
# customer-provided encryption key was specified for object stored in
|
15545
|
+
# Amazon S3.
|
15546
|
+
# @return [String]
|
15547
|
+
#
|
15548
|
+
# @!attribute [rw] ssekms_key_id
|
15549
|
+
# If present, specifies the ID of the AWS Key Management Service (AWS
|
15550
|
+
# KMS) symmetric customer managed customer master key (CMK) that was
|
15551
|
+
# used for stored in Amazon S3 object.
|
15552
|
+
# @return [String]
|
15553
|
+
#
|
15554
|
+
# @!attribute [rw] sse_customer_key_md5
|
15555
|
+
# 128-bit MD5 digest of customer-provided encryption key used in
|
15556
|
+
# Amazon S3 to encrypt data stored in S3. For more information, see
|
15557
|
+
# [Protecting data using server-side encryption with customer-provided
|
15558
|
+
# encryption keys (SSE-C)][1].
|
15559
|
+
#
|
15560
|
+
#
|
15561
|
+
#
|
15562
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
|
15563
|
+
# @return [String]
|
15564
|
+
#
|
15565
|
+
# @!attribute [rw] storage_class
|
15566
|
+
# The class of storage used to store object in Amazon S3.
|
15567
|
+
# @return [String]
|
15568
|
+
#
|
15569
|
+
# @!attribute [rw] tag_count
|
15570
|
+
# The number of tags, if any, on the object.
|
15571
|
+
# @return [Integer]
|
15572
|
+
#
|
15573
|
+
# @!attribute [rw] version_id
|
15574
|
+
# An ID used to reference a specific version of the object.
|
15575
|
+
# @return [String]
|
15576
|
+
#
|
15577
|
+
# @!attribute [rw] bucket_key_enabled
|
15578
|
+
# Indicates whether the object stored in Amazon S3 uses an S3 bucket
|
15579
|
+
# key for server-side encryption with AWS KMS (SSE-KMS).
|
15580
|
+
# @return [Boolean]
|
15581
|
+
#
|
15582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WriteGetObjectResponseRequest AWS API Documentation
|
15583
|
+
#
|
15584
|
+
class WriteGetObjectResponseRequest < Struct.new(
|
15585
|
+
:request_route,
|
15586
|
+
:request_token,
|
15587
|
+
:body,
|
15588
|
+
:status_code,
|
15589
|
+
:error_code,
|
15590
|
+
:error_message,
|
15591
|
+
:accept_ranges,
|
15592
|
+
:cache_control,
|
15593
|
+
:content_disposition,
|
15594
|
+
:content_encoding,
|
15595
|
+
:content_language,
|
15596
|
+
:content_length,
|
15597
|
+
:content_range,
|
15598
|
+
:content_type,
|
15599
|
+
:delete_marker,
|
15600
|
+
:etag,
|
15601
|
+
:expires,
|
15602
|
+
:expiration,
|
15603
|
+
:last_modified,
|
15604
|
+
:missing_meta,
|
15605
|
+
:metadata,
|
15606
|
+
:object_lock_mode,
|
15607
|
+
:object_lock_legal_hold_status,
|
15608
|
+
:object_lock_retain_until_date,
|
15609
|
+
:parts_count,
|
15610
|
+
:replication_status,
|
15611
|
+
:request_charged,
|
15612
|
+
:restore,
|
15613
|
+
:server_side_encryption,
|
15614
|
+
:sse_customer_algorithm,
|
15615
|
+
:ssekms_key_id,
|
15616
|
+
:sse_customer_key_md5,
|
15617
|
+
:storage_class,
|
15618
|
+
:tag_count,
|
15619
|
+
:version_id,
|
15620
|
+
:bucket_key_enabled)
|
15621
|
+
SENSITIVE = [:ssekms_key_id]
|
15622
|
+
include Aws::Structure
|
15623
|
+
end
|
15624
|
+
|
15289
15625
|
# The container for selecting objects from a content event stream.
|
15290
15626
|
#
|
15291
15627
|
# EventStream is an Enumerator of Events.
|