aws-sdk-s3 1.88.0 → 1.91.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +729 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3.rb +2 -2
- data/lib/aws-sdk-s3/bucket.rb +4 -4
- data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
- data/lib/aws-sdk-s3/bucket_cors.rb +3 -2
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +1 -1
- data/lib/aws-sdk-s3/bucket_logging.rb +1 -1
- data/lib/aws-sdk-s3/bucket_notification.rb +1 -1
- data/lib/aws-sdk-s3/bucket_policy.rb +1 -1
- data/lib/aws-sdk-s3/bucket_request_payment.rb +4 -5
- data/lib/aws-sdk-s3/bucket_tagging.rb +1 -1
- data/lib/aws-sdk-s3/bucket_versioning.rb +1 -1
- data/lib/aws-sdk-s3/bucket_website.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +599 -531
- data/lib/aws-sdk-s3/client_api.rb +4 -1
- data/lib/aws-sdk-s3/customizations/bucket.rb +8 -3
- data/lib/aws-sdk-s3/customizations/object.rb +9 -3
- data/lib/aws-sdk-s3/errors.rb +1 -1
- data/lib/aws-sdk-s3/event_streams.rb +1 -1
- data/lib/aws-sdk-s3/multipart_upload.rb +1 -1
- data/lib/aws-sdk-s3/multipart_upload_part.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +13 -13
- data/lib/aws-sdk-s3/object_acl.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +13 -13
- data/lib/aws-sdk-s3/object_version.rb +6 -6
- data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +2 -1
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +3 -2
- data/lib/aws-sdk-s3/plugins/md5s.rb +1 -1
- data/lib/aws-sdk-s3/presigner.rb +1 -2
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +364 -226
- data/lib/aws-sdk-s3/waiters.rb +1 -1
- metadata +6 -3
@@ -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
|
|
@@ -634,6 +634,7 @@ module Aws::S3
|
|
634
634
|
CORSConfiguration.add_member(:cors_rules, Shapes::ShapeRef.new(shape: CORSRules, required: true, location_name: "CORSRule"))
|
635
635
|
CORSConfiguration.struct_class = Types::CORSConfiguration
|
636
636
|
|
637
|
+
CORSRule.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "ID"))
|
637
638
|
CORSRule.add_member(:allowed_headers, Shapes::ShapeRef.new(shape: AllowedHeaders, location_name: "AllowedHeader"))
|
638
639
|
CORSRule.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, required: true, location_name: "AllowedMethod"))
|
639
640
|
CORSRule.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: AllowedOrigins, required: true, location_name: "AllowedOrigin"))
|
@@ -1288,6 +1289,7 @@ module Aws::S3
|
|
1288
1289
|
GetObjectTaggingRequest.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location: "uri", location_name: "Key"))
|
1289
1290
|
GetObjectTaggingRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "querystring", location_name: "versionId"))
|
1290
1291
|
GetObjectTaggingRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1292
|
+
GetObjectTaggingRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
1291
1293
|
GetObjectTaggingRequest.struct_class = Types::GetObjectTaggingRequest
|
1292
1294
|
|
1293
1295
|
GetObjectTorrentOutput.add_member(:body, Shapes::ShapeRef.new(shape: Body, location_name: "Body", metadata: {"streaming"=>true}))
|
@@ -2105,6 +2107,7 @@ module Aws::S3
|
|
2105
2107
|
PutObjectTaggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2106
2108
|
PutObjectTaggingRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: Tagging, required: true, location_name: "Tagging", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
2107
2109
|
PutObjectTaggingRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2110
|
+
PutObjectTaggingRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
2108
2111
|
PutObjectTaggingRequest.struct_class = Types::PutObjectTaggingRequest
|
2109
2112
|
PutObjectTaggingRequest[:payload] = :tagging
|
2110
2113
|
PutObjectTaggingRequest[:payload_member] = PutObjectTaggingRequest.member(:tagging)
|
@@ -88,18 +88,23 @@ module Aws
|
|
88
88
|
# You can pass `virtual_host: true` to use the bucket name as the
|
89
89
|
# host name.
|
90
90
|
#
|
91
|
-
# bucket = s3.bucket('my
|
91
|
+
# bucket = s3.bucket('my-bucket.com')
|
92
92
|
# bucket.url(virtual_host: true)
|
93
|
-
# #=> "http://my
|
93
|
+
# #=> "http://my-bucket.com"
|
94
94
|
#
|
95
95
|
# @option options [Boolean] :virtual_host (false) When `true`,
|
96
96
|
# the bucket name will be used as the host name. This is useful
|
97
97
|
# when you have a CNAME configured for this bucket.
|
98
98
|
#
|
99
|
+
# @option options [Boolean] :secure (true) When `false`, http
|
100
|
+
# will be used with virtual_host. This is required when
|
101
|
+
# the bucket name has a dot (.) in it.
|
102
|
+
#
|
99
103
|
# @return [String] the URL for this bucket.
|
100
104
|
def url(options = {})
|
101
105
|
if options[:virtual_host]
|
102
|
-
|
106
|
+
scheme = options.fetch(:secure, true) ? 'https' : 'http'
|
107
|
+
"#{scheme}://#{name}"
|
103
108
|
elsif @arn
|
104
109
|
Plugins::ARN.resolve_url!(
|
105
110
|
client.config.endpoint.dup,
|
@@ -201,16 +201,22 @@ module Aws
|
|
201
201
|
# s3.bucket('bucket-name').object('obj-key').public_url
|
202
202
|
# #=> "https://bucket-name.s3.amazonaws.com/obj-key"
|
203
203
|
#
|
204
|
-
# To use virtual hosted bucket url
|
204
|
+
# To use virtual hosted bucket url.
|
205
|
+
# Uses https unless secure: false is set. If the bucket
|
206
|
+
# name contains dots (.) then you will need to set secure: false.
|
205
207
|
#
|
206
|
-
# s3.bucket('my
|
208
|
+
# s3.bucket('my-bucket.com').object('key')
|
207
209
|
# .public_url(virtual_host: true)
|
208
|
-
# #=> "
|
210
|
+
# #=> "https://my-bucket.com/key"
|
209
211
|
#
|
210
212
|
# @option options [Boolean] :virtual_host (false) When `true`, the bucket
|
211
213
|
# name will be used as the host name. This is useful when you have
|
212
214
|
# a CNAME configured for the bucket.
|
213
215
|
#
|
216
|
+
# @option options [Boolean] :secure (true) When `false`, http
|
217
|
+
# will be used with virtual_host. This is required when
|
218
|
+
# the bucket name has a dot (.) in it.
|
219
|
+
#
|
214
220
|
# @return [String]
|
215
221
|
def public_url(options = {})
|
216
222
|
url = URI.parse(bucket.url(options))
|
data/lib/aws-sdk-s3/errors.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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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/object.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
|
|
@@ -97,7 +97,7 @@ module Aws::S3
|
|
97
97
|
data[:archive_status]
|
98
98
|
end
|
99
99
|
|
100
|
-
#
|
100
|
+
# Creation date of the object.
|
101
101
|
# @return [Time]
|
102
102
|
def last_modified
|
103
103
|
data[:last_modified]
|
@@ -722,8 +722,8 @@ module Aws::S3
|
|
722
722
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
723
723
|
# for object encryption with SSE-KMS.
|
724
724
|
#
|
725
|
-
# Specifying this header with a COPY
|
726
|
-
#
|
725
|
+
# Specifying this header with a COPY action doesn’t affect bucket-level
|
726
|
+
# settings for S3 Bucket Key.
|
727
727
|
# @option options [String] :copy_source_sse_customer_algorithm
|
728
728
|
# Specifies the algorithm to use when decrypting the source object (for
|
729
729
|
# example, AES256).
|
@@ -881,13 +881,13 @@ module Aws::S3
|
|
881
881
|
# @option options [String] :version_id
|
882
882
|
# VersionId used to reference a specific version of the object.
|
883
883
|
# @option options [String] :sse_customer_algorithm
|
884
|
-
# Specifies the algorithm to use to when
|
884
|
+
# Specifies the algorithm to use to when decrypting the object (for
|
885
885
|
# example, AES256).
|
886
886
|
# @option options [String] :sse_customer_key
|
887
|
-
# Specifies the customer-provided encryption key for Amazon S3 to
|
888
|
-
#
|
889
|
-
#
|
890
|
-
# be appropriate for use with the algorithm specified in the
|
887
|
+
# Specifies the customer-provided encryption key for Amazon S3 used to
|
888
|
+
# encrypt the data. This value is used to decrypt the object when
|
889
|
+
# recovering it and must match the one used when storing the data. The
|
890
|
+
# key must be appropriate for use with the algorithm specified in the
|
891
891
|
# `x-amz-server-side-encryption-customer-algorithm` header.
|
892
892
|
# @option options [String] :sse_customer_key_md5
|
893
893
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
@@ -1034,7 +1034,7 @@ module Aws::S3
|
|
1034
1034
|
#
|
1035
1035
|
#
|
1036
1036
|
#
|
1037
|
-
# [1]: https://docs.aws.amazon.com/
|
1037
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
1038
1038
|
# @option options [String] :ssekms_encryption_context
|
1039
1039
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
1040
1040
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
@@ -1045,7 +1045,7 @@ module Aws::S3
|
|
1045
1045
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
1046
1046
|
# for object encryption with SSE-KMS.
|
1047
1047
|
#
|
1048
|
-
# Specifying this header with an object
|
1048
|
+
# Specifying this header with an object action doesn’t affect
|
1049
1049
|
# bucket-level settings for S3 Bucket Key.
|
1050
1050
|
# @option options [String] :request_payer
|
1051
1051
|
# Confirms that the requester knows that they will be charged for the
|
@@ -1291,8 +1291,8 @@ module Aws::S3
|
|
1291
1291
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
1292
1292
|
# for object encryption with SSE-KMS.
|
1293
1293
|
#
|
1294
|
-
# Specifying this header with a PUT
|
1295
|
-
#
|
1294
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
1295
|
+
# settings for S3 Bucket Key.
|
1296
1296
|
# @option options [String] :request_payer
|
1297
1297
|
# Confirms that the requester knows that they will be charged for the
|
1298
1298
|
# request. Bucket owners need not specify this parameter in their
|
@@ -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
|
|
@@ -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
|
|
@@ -42,7 +42,7 @@ module Aws::S3
|
|
42
42
|
@key
|
43
43
|
end
|
44
44
|
|
45
|
-
#
|
45
|
+
# Creation date of the object.
|
46
46
|
# @return [Time]
|
47
47
|
def last_modified
|
48
48
|
data[:last_modified]
|
@@ -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).
|
@@ -624,13 +624,13 @@ module Aws::S3
|
|
624
624
|
# @option options [String] :version_id
|
625
625
|
# VersionId used to reference a specific version of the object.
|
626
626
|
# @option options [String] :sse_customer_algorithm
|
627
|
-
# Specifies the algorithm to use to when
|
627
|
+
# Specifies the algorithm to use to when decrypting the object (for
|
628
628
|
# example, AES256).
|
629
629
|
# @option options [String] :sse_customer_key
|
630
|
-
# Specifies the customer-provided encryption key for Amazon S3 to
|
631
|
-
#
|
632
|
-
#
|
633
|
-
# be appropriate for use with the algorithm specified in the
|
630
|
+
# Specifies the customer-provided encryption key for Amazon S3 used to
|
631
|
+
# encrypt the data. This value is used to decrypt the object when
|
632
|
+
# recovering it and must match the one used when storing the data. The
|
633
|
+
# key must be appropriate for use with the algorithm specified in the
|
634
634
|
# `x-amz-server-side-encryption-customer-algorithm` header.
|
635
635
|
# @option options [String] :sse_customer_key_md5
|
636
636
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
@@ -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
|
@@ -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
|
@@ -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
|
|
@@ -330,13 +330,13 @@ module Aws::S3
|
|
330
330
|
# @option options [Time,DateTime,Date,Integer,String] :response_expires
|
331
331
|
# Sets the `Expires` header of the response.
|
332
332
|
# @option options [String] :sse_customer_algorithm
|
333
|
-
# Specifies the algorithm to use to when
|
333
|
+
# Specifies the algorithm to use to when decrypting the object (for
|
334
334
|
# example, AES256).
|
335
335
|
# @option options [String] :sse_customer_key
|
336
|
-
# Specifies the customer-provided encryption key for Amazon S3 to
|
337
|
-
#
|
338
|
-
#
|
339
|
-
# be appropriate for use with the algorithm specified in the
|
336
|
+
# Specifies the customer-provided encryption key for Amazon S3 used to
|
337
|
+
# encrypt the data. This value is used to decrypt the object when
|
338
|
+
# recovering it and must match the one used when storing the data. The
|
339
|
+
# key must be appropriate for use with the algorithm specified in the
|
340
340
|
# `x-amz-server-side-encryption-customer-algorithm` header.
|
341
341
|
# @option options [String] :sse_customer_key_md5
|
342
342
|
# Specifies the 128-bit MD5 digest of the encryption key according to
|
@@ -15,7 +15,8 @@ module Aws
|
|
15
15
|
class Handler < Seahorse::Client::Handler
|
16
16
|
|
17
17
|
def call(context)
|
18
|
-
|
18
|
+
body = context.http_request.body
|
19
|
+
if body.respond_to?(:size) && body.size > 0
|
19
20
|
context.http_request.headers['expect'] = '100-continue'
|
20
21
|
end
|
21
22
|
@handler.call(context)
|
@@ -17,7 +17,8 @@ region. Defaults to `legacy` mode using global endpoint.
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def add_handlers(handlers, config)
|
20
|
-
|
20
|
+
# only modify non-custom endpoints
|
21
|
+
if config.regional_endpoint && config.region == 'us-east-1'
|
21
22
|
handlers.add(Handler)
|
22
23
|
end
|
23
24
|
end
|
@@ -29,7 +30,7 @@ region. Defaults to `legacy` mode using global endpoint.
|
|
29
30
|
# keep legacy global endpoint pattern by default
|
30
31
|
if context.config.s3_us_east_1_regional_endpoint == 'legacy'
|
31
32
|
host = context.http_request.endpoint.host
|
32
|
-
# if it's an ARN
|
33
|
+
# if it's an ARN then don't touch the endpoint at all
|
33
34
|
unless context.metadata[:s3_arn]
|
34
35
|
legacy_host = IADRegionalEndpoint.legacy_host(host)
|
35
36
|
context.http_request.endpoint.host = legacy_host
|
data/lib/aws-sdk-s3/presigner.rb
CHANGED
@@ -58,8 +58,7 @@ module Aws
|
|
58
58
|
# is returned instead of the default HTTPS URL.
|
59
59
|
#
|
60
60
|
# @option params [Boolean] :virtual_host (false) When `true`, the
|
61
|
-
# bucket name will be used as the hostname.
|
62
|
-
# the returned URL to be 'http' and not 'https'.
|
61
|
+
# bucket name will be used as the hostname.
|
63
62
|
#
|
64
63
|
# @option params [Boolean] :use_accelerate_endpoint (false) When `true`,
|
65
64
|
# Presigner will attempt to use accelerated endpoint.
|
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
|
|
@@ -67,20 +67,20 @@ module Aws::S3
|
|
67
67
|
# @!attribute [rw] bucket
|
68
68
|
# The bucket name to which the upload was taking place.
|
69
69
|
#
|
70
|
-
# When using this
|
71
|
-
# to the access point hostname. The access point hostname
|
72
|
-
# form
|
70
|
+
# When using this action with an access point, you must direct
|
71
|
+
# requests to the access point hostname. The access point hostname
|
72
|
+
# takes the form
|
73
73
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
74
|
-
# When using this
|
74
|
+
# When using this action with an access point through the AWS SDKs,
|
75
75
|
# you provide the access point ARN in place of the bucket name. For
|
76
76
|
# more information about access point ARNs, see [Using Access
|
77
77
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
78
78
|
#
|
79
|
-
# When using this
|
79
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
80
80
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
81
81
|
# takes the form
|
82
82
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
83
|
-
# When using this
|
83
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
84
84
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
85
85
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
86
86
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -621,6 +621,7 @@ module Aws::S3
|
|
621
621
|
# {
|
622
622
|
# cors_rules: [ # required
|
623
623
|
# {
|
624
|
+
# id: "ID",
|
624
625
|
# allowed_headers: ["AllowedHeader"],
|
625
626
|
# allowed_methods: ["AllowedMethod"], # required
|
626
627
|
# allowed_origins: ["AllowedOrigin"], # required
|
@@ -649,6 +650,7 @@ module Aws::S3
|
|
649
650
|
# data as a hash:
|
650
651
|
#
|
651
652
|
# {
|
653
|
+
# id: "ID",
|
652
654
|
# allowed_headers: ["AllowedHeader"],
|
653
655
|
# allowed_methods: ["AllowedMethod"], # required
|
654
656
|
# allowed_origins: ["AllowedOrigin"], # required
|
@@ -656,6 +658,11 @@ module Aws::S3
|
|
656
658
|
# max_age_seconds: 1,
|
657
659
|
# }
|
658
660
|
#
|
661
|
+
# @!attribute [rw] id
|
662
|
+
# Unique identifier for the rule. The value cannot be longer than 255
|
663
|
+
# characters.
|
664
|
+
# @return [String]
|
665
|
+
#
|
659
666
|
# @!attribute [rw] allowed_headers
|
660
667
|
# Headers that are specified in the `Access-Control-Request-Headers`
|
661
668
|
# header. These headers are allowed in a preflight OPTIONS request. In
|
@@ -687,6 +694,7 @@ module Aws::S3
|
|
687
694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule AWS API Documentation
|
688
695
|
#
|
689
696
|
class CORSRule < Struct.new(
|
697
|
+
:id,
|
690
698
|
:allowed_headers,
|
691
699
|
:allowed_methods,
|
692
700
|
:allowed_origins,
|
@@ -911,20 +919,20 @@ module Aws::S3
|
|
911
919
|
# @!attribute [rw] bucket
|
912
920
|
# The name of the bucket that contains the newly created object.
|
913
921
|
#
|
914
|
-
# When using this
|
915
|
-
# to the access point hostname. The access point hostname
|
916
|
-
# form
|
922
|
+
# When using this action with an access point, you must direct
|
923
|
+
# requests to the access point hostname. The access point hostname
|
924
|
+
# takes the form
|
917
925
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
918
|
-
# When using this
|
926
|
+
# When using this action with an access point through the AWS SDKs,
|
919
927
|
# you provide the access point ARN in place of the bucket name. For
|
920
928
|
# more information about access point ARNs, see [Using Access
|
921
929
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
922
930
|
#
|
923
|
-
# When using this
|
931
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
924
932
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
925
933
|
# takes the form
|
926
934
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
927
|
-
# When using this
|
935
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
928
936
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
929
937
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
930
938
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -1153,6 +1161,14 @@ module Aws::S3
|
|
1153
1161
|
# `Condition` is specified and sibling `HttpErrorCodeReturnedEquals`
|
1154
1162
|
# is not specified. If both conditions are specified, both must be
|
1155
1163
|
# true for the redirect to be applied.
|
1164
|
+
#
|
1165
|
+
# Replacement must be made for object keys containing special
|
1166
|
+
# characters (such as carriage returns) when using XML requests. For
|
1167
|
+
# more information, see [ XML related object key constraints][1].
|
1168
|
+
#
|
1169
|
+
#
|
1170
|
+
#
|
1171
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
1156
1172
|
# @return [String]
|
1157
1173
|
#
|
1158
1174
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition AWS API Documentation
|
@@ -1305,20 +1321,20 @@ module Aws::S3
|
|
1305
1321
|
# @!attribute [rw] bucket
|
1306
1322
|
# The name of the destination bucket.
|
1307
1323
|
#
|
1308
|
-
# When using this
|
1309
|
-
# to the access point hostname. The access point hostname
|
1310
|
-
# form
|
1324
|
+
# When using this action with an access point, you must direct
|
1325
|
+
# requests to the access point hostname. The access point hostname
|
1326
|
+
# takes the form
|
1311
1327
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1312
|
-
# When using this
|
1328
|
+
# When using this action with an access point through the AWS SDKs,
|
1313
1329
|
# you provide the access point ARN in place of the bucket name. For
|
1314
1330
|
# more information about access point ARNs, see [Using Access
|
1315
1331
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
1316
1332
|
#
|
1317
|
-
# When using this
|
1333
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1318
1334
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1319
1335
|
# takes the form
|
1320
1336
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1321
|
-
# When using this
|
1337
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1322
1338
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1323
1339
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1324
1340
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -1533,7 +1549,7 @@ module Aws::S3
|
|
1533
1549
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
1534
1550
|
# Key for object encryption with SSE-KMS.
|
1535
1551
|
#
|
1536
|
-
# Specifying this header with a COPY
|
1552
|
+
# Specifying this header with a COPY action doesn’t affect
|
1537
1553
|
# bucket-level settings for S3 Bucket Key.
|
1538
1554
|
# @return [Boolean]
|
1539
1555
|
#
|
@@ -1650,11 +1666,12 @@ module Aws::S3
|
|
1650
1666
|
# @!attribute [rw] etag
|
1651
1667
|
# Returns the ETag of the new object. The ETag reflects only changes
|
1652
1668
|
# to the contents of an object, not its metadata. The source and
|
1653
|
-
# destination ETag is identical for a successfully copied
|
1669
|
+
# destination ETag is identical for a successfully copied
|
1670
|
+
# non-multipart object.
|
1654
1671
|
# @return [String]
|
1655
1672
|
#
|
1656
1673
|
# @!attribute [rw] last_modified
|
1657
|
-
#
|
1674
|
+
# Creation date of the object.
|
1658
1675
|
# @return [Time]
|
1659
1676
|
#
|
1660
1677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult AWS API Documentation
|
@@ -1821,20 +1838,20 @@ module Aws::S3
|
|
1821
1838
|
# @!attribute [rw] bucket
|
1822
1839
|
# The name of the bucket to which the multipart upload was initiated.
|
1823
1840
|
#
|
1824
|
-
# When using this
|
1825
|
-
# to the access point hostname. The access point hostname
|
1826
|
-
# form
|
1841
|
+
# When using this action with an access point, you must direct
|
1842
|
+
# requests to the access point hostname. The access point hostname
|
1843
|
+
# takes the form
|
1827
1844
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1828
|
-
# When using this
|
1845
|
+
# When using this action with an access point through the AWS SDKs,
|
1829
1846
|
# you provide the access point ARN in place of the bucket name. For
|
1830
1847
|
# more information about access point ARNs, see [Using Access
|
1831
1848
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
1832
1849
|
#
|
1833
|
-
# When using this
|
1850
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1834
1851
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1835
1852
|
# takes the form
|
1836
1853
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1837
|
-
# When using this
|
1854
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1838
1855
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1839
1856
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1840
1857
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -1959,20 +1976,20 @@ module Aws::S3
|
|
1959
1976
|
# @!attribute [rw] bucket
|
1960
1977
|
# The name of the bucket to which to initiate the upload
|
1961
1978
|
#
|
1962
|
-
# When using this
|
1963
|
-
# to the access point hostname. The access point hostname
|
1964
|
-
# form
|
1979
|
+
# When using this action with an access point, you must direct
|
1980
|
+
# requests to the access point hostname. The access point hostname
|
1981
|
+
# takes the form
|
1965
1982
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1966
|
-
# When using this
|
1983
|
+
# When using this action with an access point through the AWS SDKs,
|
1967
1984
|
# you provide the access point ARN in place of the bucket name. For
|
1968
1985
|
# more information about access point ARNs, see [Using Access
|
1969
1986
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
1970
1987
|
#
|
1971
|
-
# When using this
|
1988
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1972
1989
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1973
1990
|
# takes the form
|
1974
1991
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1975
|
-
# When using this
|
1992
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
1976
1993
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
1977
1994
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
1978
1995
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -2097,7 +2114,7 @@ module Aws::S3
|
|
2097
2114
|
#
|
2098
2115
|
#
|
2099
2116
|
#
|
2100
|
-
# [1]: https://docs.aws.amazon.com/
|
2117
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
2101
2118
|
# @return [String]
|
2102
2119
|
#
|
2103
2120
|
# @!attribute [rw] ssekms_encryption_context
|
@@ -2112,7 +2129,7 @@ module Aws::S3
|
|
2112
2129
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
2113
2130
|
# Key for object encryption with SSE-KMS.
|
2114
2131
|
#
|
2115
|
-
# Specifying this header with an object
|
2132
|
+
# Specifying this header with an object action doesn’t affect
|
2116
2133
|
# bucket-level settings for S3 Bucket Key.
|
2117
2134
|
# @return [Boolean]
|
2118
2135
|
#
|
@@ -2754,20 +2771,20 @@ module Aws::S3
|
|
2754
2771
|
# @!attribute [rw] bucket
|
2755
2772
|
# The bucket name of the bucket containing the object.
|
2756
2773
|
#
|
2757
|
-
# When using this
|
2758
|
-
# to the access point hostname. The access point hostname
|
2759
|
-
# form
|
2774
|
+
# When using this action with an access point, you must direct
|
2775
|
+
# requests to the access point hostname. The access point hostname
|
2776
|
+
# takes the form
|
2760
2777
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2761
|
-
# When using this
|
2778
|
+
# When using this action with an access point through the AWS SDKs,
|
2762
2779
|
# you provide the access point ARN in place of the bucket name. For
|
2763
2780
|
# more information about access point ARNs, see [Using Access
|
2764
2781
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
2765
2782
|
#
|
2766
|
-
# When using this
|
2783
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2767
2784
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2768
2785
|
# takes the form
|
2769
2786
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2770
|
-
# When using this
|
2787
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2771
2788
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2772
2789
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2773
2790
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -2856,20 +2873,20 @@ module Aws::S3
|
|
2856
2873
|
# The bucket name containing the objects from which to remove the
|
2857
2874
|
# tags.
|
2858
2875
|
#
|
2859
|
-
# When using this
|
2860
|
-
# to the access point hostname. The access point hostname
|
2861
|
-
# form
|
2876
|
+
# When using this action with an access point, you must direct
|
2877
|
+
# requests to the access point hostname. The access point hostname
|
2878
|
+
# takes the form
|
2862
2879
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2863
|
-
# When using this
|
2880
|
+
# When using this action with an access point through the AWS SDKs,
|
2864
2881
|
# you provide the access point ARN in place of the bucket name. For
|
2865
2882
|
# more information about access point ARNs, see [Using Access
|
2866
2883
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
2867
2884
|
#
|
2868
|
-
# When using this
|
2885
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2869
2886
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2870
2887
|
# takes the form
|
2871
2888
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2872
|
-
# When using this
|
2889
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2873
2890
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2874
2891
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2875
2892
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -2881,7 +2898,8 @@ module Aws::S3
|
|
2881
2898
|
# @return [String]
|
2882
2899
|
#
|
2883
2900
|
# @!attribute [rw] key
|
2884
|
-
#
|
2901
|
+
# The key that identifies the object in the bucket from which to
|
2902
|
+
# remove all tags.
|
2885
2903
|
# @return [String]
|
2886
2904
|
#
|
2887
2905
|
# @!attribute [rw] version_id
|
@@ -2916,8 +2934,8 @@ module Aws::S3
|
|
2916
2934
|
# @return [String]
|
2917
2935
|
#
|
2918
2936
|
# @!attribute [rw] errors
|
2919
|
-
# Container for a failed delete
|
2920
|
-
#
|
2937
|
+
# Container for a failed delete action that describes the object that
|
2938
|
+
# Amazon S3 attempted to delete and the error it encountered.
|
2921
2939
|
# @return [Array<Types::Error>]
|
2922
2940
|
#
|
2923
2941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput AWS API Documentation
|
@@ -2953,20 +2971,20 @@ module Aws::S3
|
|
2953
2971
|
# @!attribute [rw] bucket
|
2954
2972
|
# The bucket name containing the objects to delete.
|
2955
2973
|
#
|
2956
|
-
# When using this
|
2957
|
-
# to the access point hostname. The access point hostname
|
2958
|
-
# form
|
2974
|
+
# When using this action with an access point, you must direct
|
2975
|
+
# requests to the access point hostname. The access point hostname
|
2976
|
+
# takes the form
|
2959
2977
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2960
|
-
# When using this
|
2978
|
+
# When using this action with an access point through the AWS SDKs,
|
2961
2979
|
# you provide the access point ARN in place of the bucket name. For
|
2962
2980
|
# more information about access point ARNs, see [Using Access
|
2963
2981
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
2964
2982
|
#
|
2965
|
-
# When using this
|
2983
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2966
2984
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2967
2985
|
# takes the form
|
2968
2986
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2969
|
-
# When using this
|
2987
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
2970
2988
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
2971
2989
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
2972
2990
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -3307,7 +3325,7 @@ module Aws::S3
|
|
3307
3325
|
# * * *Code:* AccountProblem
|
3308
3326
|
#
|
3309
3327
|
# * *Description:* There is a problem with your AWS account that
|
3310
|
-
# prevents the
|
3328
|
+
# prevents the action from completing successfully. Contact AWS
|
3311
3329
|
# Support for further assistance.
|
3312
3330
|
#
|
3313
3331
|
# * *HTTP Status Code:* 403 Forbidden
|
@@ -3540,8 +3558,8 @@ module Aws::S3
|
|
3540
3558
|
#
|
3541
3559
|
# * * *Code:* InvalidObjectState
|
3542
3560
|
#
|
3543
|
-
# * *Description:* The
|
3544
|
-
#
|
3561
|
+
# * *Description:* The action is not valid for the current state of
|
3562
|
+
# the object.
|
3545
3563
|
#
|
3546
3564
|
# * *HTTP Status Code:* 403 Forbidden
|
3547
3565
|
#
|
@@ -3922,8 +3940,8 @@ module Aws::S3
|
|
3922
3940
|
#
|
3923
3941
|
# * * *Code:* OperationAborted
|
3924
3942
|
#
|
3925
|
-
# * *Description:* A conflicting conditional
|
3926
|
-
#
|
3943
|
+
# * *Description:* A conflicting conditional action is currently in
|
3944
|
+
# progress against this resource. Try again.
|
3927
3945
|
#
|
3928
3946
|
# * *HTTP Status Code:* 409 Conflict
|
3929
3947
|
#
|
@@ -4120,6 +4138,14 @@ module Aws::S3
|
|
4120
4138
|
#
|
4121
4139
|
# @!attribute [rw] key
|
4122
4140
|
# The object key name to use when a 4XX class error occurs.
|
4141
|
+
#
|
4142
|
+
# Replacement must be made for object keys containing special
|
4143
|
+
# characters (such as carriage returns) when using XML requests. For
|
4144
|
+
# more information, see [ XML related object key constraints][1].
|
4145
|
+
#
|
4146
|
+
#
|
4147
|
+
#
|
4148
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
4123
4149
|
# @return [String]
|
4124
4150
|
#
|
4125
4151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument AWS API Documentation
|
@@ -4131,9 +4157,12 @@ module Aws::S3
|
|
4131
4157
|
end
|
4132
4158
|
|
4133
4159
|
# Optional configuration to replicate existing source bucket objects.
|
4134
|
-
# For more information, see [Replicating Existing Objects]
|
4135
|
-
#
|
4136
|
-
#
|
4160
|
+
# For more information, see [Replicating Existing Objects][1] in the
|
4161
|
+
# *Amazon S3 Developer Guide*.
|
4162
|
+
#
|
4163
|
+
#
|
4164
|
+
#
|
4165
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication
|
4137
4166
|
#
|
4138
4167
|
# @note When making an API call, you may pass ExistingObjectReplication
|
4139
4168
|
# data as a hash:
|
@@ -5109,11 +5138,11 @@ module Aws::S3
|
|
5109
5138
|
# The bucket name that contains the object for which to get the ACL
|
5110
5139
|
# information.
|
5111
5140
|
#
|
5112
|
-
# When using this
|
5113
|
-
# to the access point hostname. The access point hostname
|
5114
|
-
# form
|
5141
|
+
# When using this action with an access point, you must direct
|
5142
|
+
# requests to the access point hostname. The access point hostname
|
5143
|
+
# takes the form
|
5115
5144
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5116
|
-
# When using this
|
5145
|
+
# When using this action with an access point through the AWS SDKs,
|
5117
5146
|
# you provide the access point ARN in place of the bucket name. For
|
5118
5147
|
# more information about access point ARNs, see [Using Access
|
5119
5148
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5188,11 +5217,11 @@ module Aws::S3
|
|
5188
5217
|
# The bucket name containing the object whose Legal Hold status you
|
5189
5218
|
# want to retrieve.
|
5190
5219
|
#
|
5191
|
-
# When using this
|
5192
|
-
# to the access point hostname. The access point hostname
|
5193
|
-
# form
|
5220
|
+
# When using this action with an access point, you must direct
|
5221
|
+
# requests to the access point hostname. The access point hostname
|
5222
|
+
# takes the form
|
5194
5223
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5195
|
-
# When using this
|
5224
|
+
# When using this action with an access point through the AWS SDKs,
|
5196
5225
|
# you provide the access point ARN in place of the bucket name. For
|
5197
5226
|
# more information about access point ARNs, see [Using Access
|
5198
5227
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5265,11 +5294,11 @@ module Aws::S3
|
|
5265
5294
|
# @!attribute [rw] bucket
|
5266
5295
|
# The bucket whose Object Lock configuration you want to retrieve.
|
5267
5296
|
#
|
5268
|
-
# When using this
|
5269
|
-
# to the access point hostname. The access point hostname
|
5270
|
-
# form
|
5297
|
+
# When using this action with an access point, you must direct
|
5298
|
+
# requests to the access point hostname. The access point hostname
|
5299
|
+
# takes the form
|
5271
5300
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5272
|
-
# When using this
|
5301
|
+
# When using this action with an access point through the AWS SDKs,
|
5273
5302
|
# you provide the access point ARN in place of the bucket name. For
|
5274
5303
|
# more information about access point ARNs, see [Using Access
|
5275
5304
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5316,12 +5345,12 @@ module Aws::S3
|
|
5316
5345
|
# @return [String]
|
5317
5346
|
#
|
5318
5347
|
# @!attribute [rw] restore
|
5319
|
-
# Provides information about object restoration
|
5320
|
-
#
|
5348
|
+
# Provides information about object restoration action and expiration
|
5349
|
+
# time of the restored object copy.
|
5321
5350
|
# @return [String]
|
5322
5351
|
#
|
5323
5352
|
# @!attribute [rw] last_modified
|
5324
|
-
#
|
5353
|
+
# Creation date of the object.
|
5325
5354
|
# @return [Time]
|
5326
5355
|
#
|
5327
5356
|
# @!attribute [rw] content_length
|
@@ -5525,20 +5554,20 @@ module Aws::S3
|
|
5525
5554
|
# @!attribute [rw] bucket
|
5526
5555
|
# The bucket name containing the object.
|
5527
5556
|
#
|
5528
|
-
# When using this
|
5529
|
-
# to the access point hostname. The access point hostname
|
5530
|
-
# form
|
5557
|
+
# When using this action with an access point, you must direct
|
5558
|
+
# requests to the access point hostname. The access point hostname
|
5559
|
+
# takes the form
|
5531
5560
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5532
|
-
# When using this
|
5561
|
+
# When using this action with an access point through the AWS SDKs,
|
5533
5562
|
# you provide the access point ARN in place of the bucket name. For
|
5534
5563
|
# more information about access point ARNs, see [Using Access
|
5535
5564
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
5536
5565
|
#
|
5537
|
-
# When using this
|
5566
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5538
5567
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5539
5568
|
# takes the form
|
5540
5569
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5541
|
-
# When using this
|
5570
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
5542
5571
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
5543
5572
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
5544
5573
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5617,14 +5646,14 @@ module Aws::S3
|
|
5617
5646
|
# @return [String]
|
5618
5647
|
#
|
5619
5648
|
# @!attribute [rw] sse_customer_algorithm
|
5620
|
-
# Specifies the algorithm to use to when
|
5649
|
+
# Specifies the algorithm to use to when decrypting the object (for
|
5621
5650
|
# example, AES256).
|
5622
5651
|
# @return [String]
|
5623
5652
|
#
|
5624
5653
|
# @!attribute [rw] sse_customer_key
|
5625
|
-
# Specifies the customer-provided encryption key for Amazon S3 to
|
5626
|
-
#
|
5627
|
-
# it
|
5654
|
+
# Specifies the customer-provided encryption key for Amazon S3 used to
|
5655
|
+
# encrypt the data. This value is used to decrypt the object when
|
5656
|
+
# recovering it and must match the one used when storing the data. The
|
5628
5657
|
# key must be appropriate for use with the algorithm specified in the
|
5629
5658
|
# `x-amz-server-side-encryption-customer-algorithm` header.
|
5630
5659
|
# @return [String]
|
@@ -5714,11 +5743,11 @@ module Aws::S3
|
|
5714
5743
|
# The bucket name containing the object whose retention settings you
|
5715
5744
|
# want to retrieve.
|
5716
5745
|
#
|
5717
|
-
# When using this
|
5718
|
-
# to the access point hostname. The access point hostname
|
5719
|
-
# form
|
5746
|
+
# When using this action with an access point, you must direct
|
5747
|
+
# requests to the access point hostname. The access point hostname
|
5748
|
+
# takes the form
|
5720
5749
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5721
|
-
# When using this
|
5750
|
+
# When using this action with an access point through the AWS SDKs,
|
5722
5751
|
# you provide the access point ARN in place of the bucket name. For
|
5723
5752
|
# more information about access point ARNs, see [Using Access
|
5724
5753
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5794,26 +5823,27 @@ module Aws::S3
|
|
5794
5823
|
# key: "ObjectKey", # required
|
5795
5824
|
# version_id: "ObjectVersionId",
|
5796
5825
|
# expected_bucket_owner: "AccountId",
|
5826
|
+
# request_payer: "requester", # accepts requester
|
5797
5827
|
# }
|
5798
5828
|
#
|
5799
5829
|
# @!attribute [rw] bucket
|
5800
5830
|
# The bucket name containing the object for which to get the tagging
|
5801
5831
|
# information.
|
5802
5832
|
#
|
5803
|
-
# When using this
|
5804
|
-
# to the access point hostname. The access point hostname
|
5805
|
-
# form
|
5833
|
+
# When using this action with an access point, you must direct
|
5834
|
+
# requests to the access point hostname. The access point hostname
|
5835
|
+
# takes the form
|
5806
5836
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5807
|
-
# When using this
|
5837
|
+
# When using this action with an access point through the AWS SDKs,
|
5808
5838
|
# you provide the access point ARN in place of the bucket name. For
|
5809
5839
|
# more information about access point ARNs, see [Using Access
|
5810
5840
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
5811
5841
|
#
|
5812
|
-
# When using this
|
5842
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5813
5843
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5814
5844
|
# takes the form
|
5815
5845
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5816
|
-
# When using this
|
5846
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
5817
5847
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
5818
5848
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
5819
5849
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -5839,13 +5869,26 @@ module Aws::S3
|
|
5839
5869
|
# (Access Denied)` error.
|
5840
5870
|
# @return [String]
|
5841
5871
|
#
|
5872
|
+
# @!attribute [rw] request_payer
|
5873
|
+
# Confirms that the requester knows that they will be charged for the
|
5874
|
+
# request. Bucket owners need not specify this parameter in their
|
5875
|
+
# requests. For information about downloading objects from requester
|
5876
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
5877
|
+
# in the *Amazon S3 Developer Guide*.
|
5878
|
+
#
|
5879
|
+
#
|
5880
|
+
#
|
5881
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
5882
|
+
# @return [String]
|
5883
|
+
#
|
5842
5884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest AWS API Documentation
|
5843
5885
|
#
|
5844
5886
|
class GetObjectTaggingRequest < Struct.new(
|
5845
5887
|
:bucket,
|
5846
5888
|
:key,
|
5847
5889
|
:version_id,
|
5848
|
-
:expected_bucket_owner
|
5890
|
+
:expected_bucket_owner,
|
5891
|
+
:request_payer)
|
5849
5892
|
SENSITIVE = []
|
5850
5893
|
include Aws::Structure
|
5851
5894
|
end
|
@@ -6095,20 +6138,20 @@ module Aws::S3
|
|
6095
6138
|
# @!attribute [rw] bucket
|
6096
6139
|
# The bucket name.
|
6097
6140
|
#
|
6098
|
-
# When using this
|
6099
|
-
# to the access point hostname. The access point hostname
|
6100
|
-
# form
|
6141
|
+
# When using this action with an access point, you must direct
|
6142
|
+
# requests to the access point hostname. The access point hostname
|
6143
|
+
# takes the form
|
6101
6144
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6102
|
-
# When using this
|
6145
|
+
# When using this action with an access point through the AWS SDKs,
|
6103
6146
|
# you provide the access point ARN in place of the bucket name. For
|
6104
6147
|
# more information about access point ARNs, see [Using Access
|
6105
6148
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
6106
6149
|
#
|
6107
|
-
# When using this
|
6150
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6108
6151
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6109
6152
|
# takes the form
|
6110
6153
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6111
|
-
# When using this
|
6154
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
6112
6155
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
6113
6156
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
6114
6157
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -6180,7 +6223,7 @@ module Aws::S3
|
|
6180
6223
|
# @return [String]
|
6181
6224
|
#
|
6182
6225
|
# @!attribute [rw] last_modified
|
6183
|
-
#
|
6226
|
+
# Creation date of the object.
|
6184
6227
|
# @return [Time]
|
6185
6228
|
#
|
6186
6229
|
# @!attribute [rw] content_length
|
@@ -6431,20 +6474,20 @@ module Aws::S3
|
|
6431
6474
|
# @!attribute [rw] bucket
|
6432
6475
|
# The name of the bucket containing the object.
|
6433
6476
|
#
|
6434
|
-
# When using this
|
6435
|
-
# to the access point hostname. The access point hostname
|
6436
|
-
# form
|
6477
|
+
# When using this action with an access point, you must direct
|
6478
|
+
# requests to the access point hostname. The access point hostname
|
6479
|
+
# takes the form
|
6437
6480
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6438
|
-
# When using this
|
6481
|
+
# When using this action with an access point through the AWS SDKs,
|
6439
6482
|
# you provide the access point ARN in place of the bucket name. For
|
6440
6483
|
# more information about access point ARNs, see [Using Access
|
6441
6484
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
6442
6485
|
#
|
6443
|
-
# When using this
|
6486
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6444
6487
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6445
6488
|
# takes the form
|
6446
6489
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6447
|
-
# When using this
|
6490
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
6448
6491
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
6449
6492
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
6450
6493
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -6578,6 +6621,14 @@ module Aws::S3
|
|
6578
6621
|
# you make a request to samplebucket/images/ the data that is returned
|
6579
6622
|
# will be for the object with the key name images/index.html) The
|
6580
6623
|
# suffix must not be empty and must not include a slash character.
|
6624
|
+
#
|
6625
|
+
# Replacement must be made for object keys containing special
|
6626
|
+
# characters (such as carriage returns) when using XML requests. For
|
6627
|
+
# more information, see [ XML related object key constraints][1].
|
6628
|
+
#
|
6629
|
+
#
|
6630
|
+
#
|
6631
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
6581
6632
|
# @return [String]
|
6582
6633
|
#
|
6583
6634
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument AWS API Documentation
|
@@ -6790,6 +6841,14 @@ module Aws::S3
|
|
6790
6841
|
# @!attribute [rw] prefix
|
6791
6842
|
# An object key name prefix that identifies the subset of objects to
|
6792
6843
|
# which the rule applies.
|
6844
|
+
#
|
6845
|
+
# Replacement must be made for object keys containing special
|
6846
|
+
# characters (such as carriage returns) when using XML requests. For
|
6847
|
+
# more information, see [ XML related object key constraints][1].
|
6848
|
+
#
|
6849
|
+
#
|
6850
|
+
#
|
6851
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
6793
6852
|
# @return [String]
|
6794
6853
|
#
|
6795
6854
|
# @!attribute [rw] tag
|
@@ -7345,6 +7404,14 @@ module Aws::S3
|
|
7345
7404
|
# @!attribute [rw] prefix
|
7346
7405
|
# Prefix identifying one or more objects to which the rule applies.
|
7347
7406
|
# This is No longer used; use `Filter` instead.
|
7407
|
+
#
|
7408
|
+
# Replacement must be made for object keys containing special
|
7409
|
+
# characters (such as carriage returns) when using XML requests. For
|
7410
|
+
# more information, see [ XML related object key constraints][1].
|
7411
|
+
#
|
7412
|
+
#
|
7413
|
+
#
|
7414
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
7348
7415
|
# @return [String]
|
7349
7416
|
#
|
7350
7417
|
# @!attribute [rw] filter
|
@@ -7470,6 +7537,14 @@ module Aws::S3
|
|
7470
7537
|
#
|
7471
7538
|
# @!attribute [rw] prefix
|
7472
7539
|
# Prefix identifying one or more objects to which the rule applies.
|
7540
|
+
#
|
7541
|
+
# Replacement must be made for object keys containing special
|
7542
|
+
# characters (such as carriage returns) when using XML requests. For
|
7543
|
+
# more information, see [ XML related object key constraints][1].
|
7544
|
+
#
|
7545
|
+
#
|
7546
|
+
#
|
7547
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
7473
7548
|
# @return [String]
|
7474
7549
|
#
|
7475
7550
|
# @!attribute [rw] tag
|
@@ -7890,20 +7965,20 @@ module Aws::S3
|
|
7890
7965
|
# @!attribute [rw] bucket
|
7891
7966
|
# The name of the bucket to which the multipart upload was initiated.
|
7892
7967
|
#
|
7893
|
-
# When using this
|
7894
|
-
# to the access point hostname. The access point hostname
|
7895
|
-
# form
|
7968
|
+
# When using this action with an access point, you must direct
|
7969
|
+
# requests to the access point hostname. The access point hostname
|
7970
|
+
# takes the form
|
7896
7971
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
7897
|
-
# When using this
|
7972
|
+
# When using this action with an access point through the AWS SDKs,
|
7898
7973
|
# you provide the access point ARN in place of the bucket name. For
|
7899
7974
|
# more information about access point ARNs, see [Using Access
|
7900
7975
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
7901
7976
|
#
|
7902
|
-
# When using this
|
7977
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
7903
7978
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
7904
7979
|
# takes the form
|
7905
7980
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
7906
|
-
# When using this
|
7981
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
7907
7982
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
7908
7983
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
7909
7984
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8130,7 +8205,7 @@ module Aws::S3
|
|
8130
8205
|
#
|
8131
8206
|
# @!attribute [rw] max_keys
|
8132
8207
|
# Sets the maximum number of keys returned in the response. By default
|
8133
|
-
# the
|
8208
|
+
# the action returns up to 1,000 key names. The response might contain
|
8134
8209
|
# fewer keys but will never contain more. If additional keys satisfy
|
8135
8210
|
# the search criteria, but were not returned because max-keys was
|
8136
8211
|
# exceeded, the response contains
|
@@ -8218,8 +8293,8 @@ module Aws::S3
|
|
8218
8293
|
# @return [Integer]
|
8219
8294
|
#
|
8220
8295
|
# @!attribute [rw] common_prefixes
|
8221
|
-
# All of the keys rolled up in a common prefix count as
|
8222
|
-
# return when calculating the number of returns.
|
8296
|
+
# All of the keys (up to 1,000) rolled up in a common prefix count as
|
8297
|
+
# a single return when calculating the number of returns.
|
8223
8298
|
#
|
8224
8299
|
# A response can contain CommonPrefixes only if you specify a
|
8225
8300
|
# delimiter.
|
@@ -8275,20 +8350,20 @@ module Aws::S3
|
|
8275
8350
|
# @!attribute [rw] bucket
|
8276
8351
|
# The name of the bucket containing the objects.
|
8277
8352
|
#
|
8278
|
-
# When using this
|
8279
|
-
# to the access point hostname. The access point hostname
|
8280
|
-
# form
|
8353
|
+
# When using this action with an access point, you must direct
|
8354
|
+
# requests to the access point hostname. The access point hostname
|
8355
|
+
# takes the form
|
8281
8356
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8282
|
-
# When using this
|
8357
|
+
# When using this action with an access point through the AWS SDKs,
|
8283
8358
|
# you provide the access point ARN in place of the bucket name. For
|
8284
8359
|
# more information about access point ARNs, see [Using Access
|
8285
8360
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8286
8361
|
#
|
8287
|
-
# When using this
|
8362
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8288
8363
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8289
8364
|
# takes the form
|
8290
8365
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8291
|
-
# When using this
|
8366
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8292
8367
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8293
8368
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8294
8369
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8318,7 +8393,7 @@ module Aws::S3
|
|
8318
8393
|
#
|
8319
8394
|
# @!attribute [rw] max_keys
|
8320
8395
|
# Sets the maximum number of keys returned in the response. By default
|
8321
|
-
# the
|
8396
|
+
# the action returns up to 1,000 key names. The response might contain
|
8322
8397
|
# fewer keys but will never contain more.
|
8323
8398
|
# @return [Integer]
|
8324
8399
|
#
|
@@ -8366,20 +8441,20 @@ module Aws::S3
|
|
8366
8441
|
# @!attribute [rw] name
|
8367
8442
|
# The bucket name.
|
8368
8443
|
#
|
8369
|
-
# When using this
|
8370
|
-
# to the access point hostname. The access point hostname
|
8371
|
-
# form
|
8444
|
+
# When using this action with an access point, you must direct
|
8445
|
+
# requests to the access point hostname. The access point hostname
|
8446
|
+
# takes the form
|
8372
8447
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8373
|
-
# When using this
|
8448
|
+
# When using this action with an access point through the AWS SDKs,
|
8374
8449
|
# you provide the access point ARN in place of the bucket name. For
|
8375
8450
|
# more information about access point ARNs, see [Using Access
|
8376
8451
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8377
8452
|
#
|
8378
|
-
# When using this
|
8453
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8379
8454
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8380
8455
|
# takes the form
|
8381
8456
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8382
|
-
# When using this
|
8457
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8383
8458
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8384
8459
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8385
8460
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8404,13 +8479,13 @@ module Aws::S3
|
|
8404
8479
|
#
|
8405
8480
|
# @!attribute [rw] max_keys
|
8406
8481
|
# Sets the maximum number of keys returned in the response. By default
|
8407
|
-
# the
|
8482
|
+
# the action returns up to 1,000 key names. The response might contain
|
8408
8483
|
# fewer keys but will never contain more.
|
8409
8484
|
# @return [Integer]
|
8410
8485
|
#
|
8411
8486
|
# @!attribute [rw] common_prefixes
|
8412
|
-
# All of the keys rolled up into a common prefix count
|
8413
|
-
# return when calculating the number of returns.
|
8487
|
+
# All of the keys (up to 1,000) rolled up into a common prefix count
|
8488
|
+
# as a single return when calculating the number of returns.
|
8414
8489
|
#
|
8415
8490
|
# A response can contain `CommonPrefixes` only if you specify a
|
8416
8491
|
# delimiter.
|
@@ -8441,8 +8516,8 @@ module Aws::S3
|
|
8441
8516
|
#
|
8442
8517
|
# @!attribute [rw] key_count
|
8443
8518
|
# KeyCount is the number of keys returned with this request. KeyCount
|
8444
|
-
# will always be less than equals to MaxKeys field. Say you ask for
|
8445
|
-
# keys, your result will include less than equals 50 keys
|
8519
|
+
# will always be less than or equals to MaxKeys field. Say you ask for
|
8520
|
+
# 50 keys, your result will include less than equals 50 keys
|
8446
8521
|
# @return [Integer]
|
8447
8522
|
#
|
8448
8523
|
# @!attribute [rw] continuation_token
|
@@ -8501,20 +8576,20 @@ module Aws::S3
|
|
8501
8576
|
# @!attribute [rw] bucket
|
8502
8577
|
# Bucket name to list.
|
8503
8578
|
#
|
8504
|
-
# When using this
|
8505
|
-
# to the access point hostname. The access point hostname
|
8506
|
-
# form
|
8579
|
+
# When using this action with an access point, you must direct
|
8580
|
+
# requests to the access point hostname. The access point hostname
|
8581
|
+
# takes the form
|
8507
8582
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8508
|
-
# When using this
|
8583
|
+
# When using this action with an access point through the AWS SDKs,
|
8509
8584
|
# you provide the access point ARN in place of the bucket name. For
|
8510
8585
|
# more information about access point ARNs, see [Using Access
|
8511
8586
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8512
8587
|
#
|
8513
|
-
# When using this
|
8588
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8514
8589
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8515
8590
|
# takes the form
|
8516
8591
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8517
|
-
# When using this
|
8592
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8518
8593
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8519
8594
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8520
8595
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -8536,7 +8611,7 @@ module Aws::S3
|
|
8536
8611
|
#
|
8537
8612
|
# @!attribute [rw] max_keys
|
8538
8613
|
# Sets the maximum number of keys returned in the response. By default
|
8539
|
-
# the
|
8614
|
+
# the action returns up to 1,000 key names. The response might contain
|
8540
8615
|
# fewer keys but will never contain more.
|
8541
8616
|
# @return [Integer]
|
8542
8617
|
#
|
@@ -8716,20 +8791,20 @@ module Aws::S3
|
|
8716
8791
|
# @!attribute [rw] bucket
|
8717
8792
|
# The name of the bucket to which the parts are being uploaded.
|
8718
8793
|
#
|
8719
|
-
# When using this
|
8720
|
-
# to the access point hostname. The access point hostname
|
8721
|
-
# form
|
8794
|
+
# When using this action with an access point, you must direct
|
8795
|
+
# requests to the access point hostname. The access point hostname
|
8796
|
+
# takes the form
|
8722
8797
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
8723
|
-
# When using this
|
8798
|
+
# When using this action with an access point through the AWS SDKs,
|
8724
8799
|
# you provide the access point ARN in place of the bucket name. For
|
8725
8800
|
# more information about access point ARNs, see [Using Access
|
8726
8801
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
8727
8802
|
#
|
8728
|
-
# When using this
|
8803
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
8729
8804
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8730
8805
|
# takes the form
|
8731
8806
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
8732
|
-
# When using this
|
8807
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
8733
8808
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
8734
8809
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
8735
8810
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -9358,7 +9433,7 @@ module Aws::S3
|
|
9358
9433
|
# @return [String]
|
9359
9434
|
#
|
9360
9435
|
# @!attribute [rw] last_modified
|
9361
|
-
#
|
9436
|
+
# Creation date of the object.
|
9362
9437
|
# @return [Time]
|
9363
9438
|
#
|
9364
9439
|
# @!attribute [rw] etag
|
@@ -9408,7 +9483,7 @@ module Aws::S3
|
|
9408
9483
|
include Aws::Structure
|
9409
9484
|
end
|
9410
9485
|
|
9411
|
-
# This
|
9486
|
+
# This action is not allowed against this storage tier.
|
9412
9487
|
#
|
9413
9488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectAlreadyInActiveTierError AWS API Documentation
|
9414
9489
|
#
|
@@ -9425,7 +9500,15 @@ module Aws::S3
|
|
9425
9500
|
# }
|
9426
9501
|
#
|
9427
9502
|
# @!attribute [rw] key
|
9428
|
-
# Key name of the object
|
9503
|
+
# Key name of the object.
|
9504
|
+
#
|
9505
|
+
# Replacement must be made for object keys containing special
|
9506
|
+
# characters (such as carriage returns) when using XML requests. For
|
9507
|
+
# more information, see [ XML related object key constraints][1].
|
9508
|
+
#
|
9509
|
+
#
|
9510
|
+
#
|
9511
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
9429
9512
|
# @return [String]
|
9430
9513
|
#
|
9431
9514
|
# @!attribute [rw] version_id
|
@@ -9549,8 +9632,8 @@ module Aws::S3
|
|
9549
9632
|
include Aws::Structure
|
9550
9633
|
end
|
9551
9634
|
|
9552
|
-
# The source object of the COPY
|
9553
|
-
#
|
9635
|
+
# The source object of the COPY action is not in the active tier and is
|
9636
|
+
# only stored in Amazon S3 Glacier.
|
9554
9637
|
#
|
9555
9638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectNotInActiveTierError AWS API Documentation
|
9556
9639
|
#
|
@@ -9877,7 +9960,7 @@ module Aws::S3
|
|
9877
9960
|
# Amazon S3 bucket. You can enable the configuration options in any
|
9878
9961
|
# combination. For more information about when Amazon S3 considers a
|
9879
9962
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
9880
|
-
# *Amazon Simple Storage Service
|
9963
|
+
# *Amazon Simple Storage Service User Guide*.
|
9881
9964
|
#
|
9882
9965
|
#
|
9883
9966
|
#
|
@@ -10170,6 +10253,7 @@ module Aws::S3
|
|
10170
10253
|
# cors_configuration: { # required
|
10171
10254
|
# cors_rules: [ # required
|
10172
10255
|
# {
|
10256
|
+
# id: "ID",
|
10173
10257
|
# allowed_headers: ["AllowedHeader"],
|
10174
10258
|
# allowed_methods: ["AllowedMethod"], # required
|
10175
10259
|
# allowed_origins: ["AllowedOrigin"], # required
|
@@ -10189,7 +10273,7 @@ module Aws::S3
|
|
10189
10273
|
# @!attribute [rw] cors_configuration
|
10190
10274
|
# Describes the cross-origin access configuration for objects in an
|
10191
10275
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
10192
|
-
# Resource Sharing][1] in the *Amazon Simple Storage Service
|
10276
|
+
# Resource Sharing][1] in the *Amazon Simple Storage Service User
|
10193
10277
|
# Guide*.
|
10194
10278
|
#
|
10195
10279
|
#
|
@@ -11060,9 +11144,9 @@ module Aws::S3
|
|
11060
11144
|
# @return [String]
|
11061
11145
|
#
|
11062
11146
|
# @!attribute [rw] content_md5
|
11063
|
-
#
|
11064
|
-
#
|
11065
|
-
#
|
11147
|
+
# The base64-encoded 128-bit MD5 digest of the data. You must use this
|
11148
|
+
# header as a message integrity check to verify that the request body
|
11149
|
+
# was not corrupted in transit. For more information, see [RFC
|
11066
11150
|
# 1864][1].
|
11067
11151
|
#
|
11068
11152
|
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
@@ -11352,11 +11436,11 @@ module Aws::S3
|
|
11352
11436
|
# The bucket name that contains the object to which you want to attach
|
11353
11437
|
# the ACL.
|
11354
11438
|
#
|
11355
|
-
# When using this
|
11356
|
-
# to the access point hostname. The access point hostname
|
11357
|
-
# form
|
11439
|
+
# When using this action with an access point, you must direct
|
11440
|
+
# requests to the access point hostname. The access point hostname
|
11441
|
+
# takes the form
|
11358
11442
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11359
|
-
# When using this
|
11443
|
+
# When using this action with an access point through the AWS SDKs,
|
11360
11444
|
# you provide the access point ARN in place of the bucket name. For
|
11361
11445
|
# more information about access point ARNs, see [Using Access
|
11362
11446
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11411,22 +11495,22 @@ module Aws::S3
|
|
11411
11495
|
# @return [String]
|
11412
11496
|
#
|
11413
11497
|
# @!attribute [rw] key
|
11414
|
-
# Key for which the PUT
|
11498
|
+
# Key for which the PUT action was initiated.
|
11415
11499
|
#
|
11416
|
-
# When using this
|
11417
|
-
# to the access point hostname. The access point hostname
|
11418
|
-
# form
|
11500
|
+
# When using this action with an access point, you must direct
|
11501
|
+
# requests to the access point hostname. The access point hostname
|
11502
|
+
# takes the form
|
11419
11503
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11420
|
-
# When using this
|
11504
|
+
# When using this action with an access point through the AWS SDKs,
|
11421
11505
|
# you provide the access point ARN in place of the bucket name. For
|
11422
11506
|
# more information about access point ARNs, see [Using Access
|
11423
11507
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11424
11508
|
#
|
11425
|
-
# When using this
|
11509
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11426
11510
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11427
11511
|
# takes the form
|
11428
11512
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11429
|
-
# When using this
|
11513
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11430
11514
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11431
11515
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11432
11516
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11511,11 +11595,11 @@ module Aws::S3
|
|
11511
11595
|
# The bucket name containing the object that you want to place a Legal
|
11512
11596
|
# Hold on.
|
11513
11597
|
#
|
11514
|
-
# When using this
|
11515
|
-
# to the access point hostname. The access point hostname
|
11516
|
-
# form
|
11598
|
+
# When using this action with an access point, you must direct
|
11599
|
+
# requests to the access point hostname. The access point hostname
|
11600
|
+
# takes the form
|
11517
11601
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11518
|
-
# When using this
|
11602
|
+
# When using this action with an access point through the AWS SDKs,
|
11519
11603
|
# you provide the access point ARN in place of the bucket name. For
|
11520
11604
|
# more information about access point ARNs, see [Using Access
|
11521
11605
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11800,22 +11884,22 @@ module Aws::S3
|
|
11800
11884
|
# @return [IO]
|
11801
11885
|
#
|
11802
11886
|
# @!attribute [rw] bucket
|
11803
|
-
# The bucket name to which the PUT
|
11887
|
+
# The bucket name to which the PUT action was initiated.
|
11804
11888
|
#
|
11805
|
-
# When using this
|
11806
|
-
# to the access point hostname. The access point hostname
|
11807
|
-
# form
|
11889
|
+
# When using this action with an access point, you must direct
|
11890
|
+
# requests to the access point hostname. The access point hostname
|
11891
|
+
# takes the form
|
11808
11892
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11809
|
-
# When using this
|
11893
|
+
# When using this action with an access point through the AWS SDKs,
|
11810
11894
|
# you provide the access point ARN in place of the bucket name. For
|
11811
11895
|
# more information about access point ARNs, see [Using Access
|
11812
11896
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11813
11897
|
#
|
11814
|
-
# When using this
|
11898
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11815
11899
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11816
11900
|
# takes the form
|
11817
11901
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11818
|
-
# When using this
|
11902
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11819
11903
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11820
11904
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11821
11905
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -11933,7 +12017,7 @@ module Aws::S3
|
|
11933
12017
|
# @return [String]
|
11934
12018
|
#
|
11935
12019
|
# @!attribute [rw] key
|
11936
|
-
# Object key for which the PUT
|
12020
|
+
# Object key for which the PUT action was initiated.
|
11937
12021
|
# @return [String]
|
11938
12022
|
#
|
11939
12023
|
# @!attribute [rw] metadata
|
@@ -12031,8 +12115,8 @@ module Aws::S3
|
|
12031
12115
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
12032
12116
|
# Key for object encryption with SSE-KMS.
|
12033
12117
|
#
|
12034
|
-
# Specifying this header with a PUT
|
12035
|
-
#
|
12118
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
12119
|
+
# settings for S3 Bucket Key.
|
12036
12120
|
# @return [Boolean]
|
12037
12121
|
#
|
12038
12122
|
# @!attribute [rw] request_payer
|
@@ -12149,11 +12233,11 @@ module Aws::S3
|
|
12149
12233
|
# The bucket name that contains the object you want to apply this
|
12150
12234
|
# Object Retention configuration to.
|
12151
12235
|
#
|
12152
|
-
# When using this
|
12153
|
-
# to the access point hostname. The access point hostname
|
12154
|
-
# form
|
12236
|
+
# When using this action with an access point, you must direct
|
12237
|
+
# requests to the access point hostname. The access point hostname
|
12238
|
+
# takes the form
|
12155
12239
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12156
|
-
# When using this
|
12240
|
+
# When using this action with an access point through the AWS SDKs,
|
12157
12241
|
# you provide the access point ARN in place of the bucket name. For
|
12158
12242
|
# more information about access point ARNs, see [Using Access
|
12159
12243
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -12190,7 +12274,7 @@ module Aws::S3
|
|
12190
12274
|
# @return [String]
|
12191
12275
|
#
|
12192
12276
|
# @!attribute [rw] bypass_governance_retention
|
12193
|
-
# Indicates whether this
|
12277
|
+
# Indicates whether this action should bypass Governance-mode
|
12194
12278
|
# restrictions.
|
12195
12279
|
# @return [Boolean]
|
12196
12280
|
#
|
@@ -12251,25 +12335,26 @@ module Aws::S3
|
|
12251
12335
|
# ],
|
12252
12336
|
# },
|
12253
12337
|
# expected_bucket_owner: "AccountId",
|
12338
|
+
# request_payer: "requester", # accepts requester
|
12254
12339
|
# }
|
12255
12340
|
#
|
12256
12341
|
# @!attribute [rw] bucket
|
12257
12342
|
# The bucket name containing the object.
|
12258
12343
|
#
|
12259
|
-
# When using this
|
12260
|
-
# to the access point hostname. The access point hostname
|
12261
|
-
# form
|
12344
|
+
# When using this action with an access point, you must direct
|
12345
|
+
# requests to the access point hostname. The access point hostname
|
12346
|
+
# takes the form
|
12262
12347
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12263
|
-
# When using this
|
12348
|
+
# When using this action with an access point through the AWS SDKs,
|
12264
12349
|
# you provide the access point ARN in place of the bucket name. For
|
12265
12350
|
# more information about access point ARNs, see [Using Access
|
12266
12351
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
12267
12352
|
#
|
12268
|
-
# When using this
|
12353
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
12269
12354
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12270
12355
|
# takes the form
|
12271
12356
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
12272
|
-
# When using this
|
12357
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
12273
12358
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
12274
12359
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
12275
12360
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -12305,6 +12390,18 @@ module Aws::S3
|
|
12305
12390
|
# (Access Denied)` error.
|
12306
12391
|
# @return [String]
|
12307
12392
|
#
|
12393
|
+
# @!attribute [rw] request_payer
|
12394
|
+
# Confirms that the requester knows that they will be charged for the
|
12395
|
+
# request. Bucket owners need not specify this parameter in their
|
12396
|
+
# requests. For information about downloading objects from requester
|
12397
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
12398
|
+
# in the *Amazon S3 Developer Guide*.
|
12399
|
+
#
|
12400
|
+
#
|
12401
|
+
#
|
12402
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
12403
|
+
# @return [String]
|
12404
|
+
#
|
12308
12405
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest AWS API Documentation
|
12309
12406
|
#
|
12310
12407
|
class PutObjectTaggingRequest < Struct.new(
|
@@ -12313,7 +12410,8 @@ module Aws::S3
|
|
12313
12410
|
:version_id,
|
12314
12411
|
:content_md5,
|
12315
12412
|
:tagging,
|
12316
|
-
:expected_bucket_owner
|
12413
|
+
:expected_bucket_owner,
|
12414
|
+
:request_payer)
|
12317
12415
|
SENSITIVE = []
|
12318
12416
|
include Aws::Structure
|
12319
12417
|
end
|
@@ -12535,6 +12633,14 @@ module Aws::S3
|
|
12535
12633
|
# `ReplaceKeyPrefixWith` to `/documents`. Not required if one of the
|
12536
12634
|
# siblings is present. Can be present only if `ReplaceKeyWith` is not
|
12537
12635
|
# provided.
|
12636
|
+
#
|
12637
|
+
# Replacement must be made for object keys containing special
|
12638
|
+
# characters (such as carriage returns) when using XML requests. For
|
12639
|
+
# more information, see [ XML related object key constraints][1].
|
12640
|
+
#
|
12641
|
+
#
|
12642
|
+
#
|
12643
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12538
12644
|
# @return [String]
|
12539
12645
|
#
|
12540
12646
|
# @!attribute [rw] replace_key_with
|
@@ -12542,6 +12648,14 @@ module Aws::S3
|
|
12542
12648
|
# redirect request to `error.html`. Not required if one of the
|
12543
12649
|
# siblings is present. Can be present only if `ReplaceKeyPrefixWith`
|
12544
12650
|
# is not provided.
|
12651
|
+
#
|
12652
|
+
# Replacement must be made for object keys containing special
|
12653
|
+
# characters (such as carriage returns) when using XML requests. For
|
12654
|
+
# more information, see [ XML related object key constraints][1].
|
12655
|
+
#
|
12656
|
+
#
|
12657
|
+
#
|
12658
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12545
12659
|
# @return [String]
|
12546
12660
|
#
|
12547
12661
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect AWS API Documentation
|
@@ -12805,6 +12919,14 @@ module Aws::S3
|
|
12805
12919
|
# which the rule applies. The maximum prefix length is 1,024
|
12806
12920
|
# characters. To include all objects in a bucket, specify an empty
|
12807
12921
|
# string.
|
12922
|
+
#
|
12923
|
+
# Replacement must be made for object keys containing special
|
12924
|
+
# characters (such as carriage returns) when using XML requests. For
|
12925
|
+
# more information, see [ XML related object key constraints][1].
|
12926
|
+
#
|
12927
|
+
#
|
12928
|
+
#
|
12929
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12808
12930
|
# @return [String]
|
12809
12931
|
#
|
12810
12932
|
# @!attribute [rw] filter
|
@@ -12946,6 +13068,14 @@ module Aws::S3
|
|
12946
13068
|
# @!attribute [rw] prefix
|
12947
13069
|
# An object key name prefix that identifies the subset of objects to
|
12948
13070
|
# which the rule applies.
|
13071
|
+
#
|
13072
|
+
# Replacement must be made for object keys containing special
|
13073
|
+
# characters (such as carriage returns) when using XML requests. For
|
13074
|
+
# more information, see [ XML related object key constraints][1].
|
13075
|
+
#
|
13076
|
+
#
|
13077
|
+
#
|
13078
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12949
13079
|
# @return [String]
|
12950
13080
|
#
|
12951
13081
|
# @!attribute [rw] tag
|
@@ -13191,20 +13321,20 @@ module Aws::S3
|
|
13191
13321
|
# @!attribute [rw] bucket
|
13192
13322
|
# The bucket name containing the object to restore.
|
13193
13323
|
#
|
13194
|
-
# When using this
|
13195
|
-
# to the access point hostname. The access point hostname
|
13196
|
-
# form
|
13324
|
+
# When using this action with an access point, you must direct
|
13325
|
+
# requests to the access point hostname. The access point hostname
|
13326
|
+
# takes the form
|
13197
13327
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
13198
|
-
# When using this
|
13328
|
+
# When using this action with an access point through the AWS SDKs,
|
13199
13329
|
# you provide the access point ARN in place of the bucket name. For
|
13200
13330
|
# more information about access point ARNs, see [Using Access
|
13201
13331
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
13202
13332
|
#
|
13203
|
-
# When using this
|
13333
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
13204
13334
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13205
13335
|
# takes the form
|
13206
13336
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
13207
|
-
# When using this
|
13337
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
13208
13338
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
13209
13339
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
13210
13340
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -13216,7 +13346,7 @@ module Aws::S3
|
|
13216
13346
|
# @return [String]
|
13217
13347
|
#
|
13218
13348
|
# @!attribute [rw] key
|
13219
|
-
# Object key for which the
|
13349
|
+
# Object key for which the action was initiated.
|
13220
13350
|
# @return [String]
|
13221
13351
|
#
|
13222
13352
|
# @!attribute [rw] version_id
|
@@ -13394,8 +13524,8 @@ module Aws::S3
|
|
13394
13524
|
|
13395
13525
|
# Specifies the redirect behavior and when a redirect is applied. For
|
13396
13526
|
# more information about routing rules, see [Configuring advanced
|
13397
|
-
# conditional redirects][1] in the *Amazon Simple Storage Service
|
13398
|
-
#
|
13527
|
+
# conditional redirects][1] in the *Amazon Simple Storage Service User
|
13528
|
+
# Guide*.
|
13399
13529
|
#
|
13400
13530
|
#
|
13401
13531
|
#
|
@@ -13492,6 +13622,14 @@ module Aws::S3
|
|
13492
13622
|
# @!attribute [rw] prefix
|
13493
13623
|
# Object key prefix that identifies one or more objects to which this
|
13494
13624
|
# rule applies.
|
13625
|
+
#
|
13626
|
+
# Replacement must be made for object keys containing special
|
13627
|
+
# characters (such as carriage returns) when using XML requests. For
|
13628
|
+
# more information, see [ XML related object key constraints][1].
|
13629
|
+
#
|
13630
|
+
#
|
13631
|
+
#
|
13632
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
13495
13633
|
# @return [String]
|
13496
13634
|
#
|
13497
13635
|
# @!attribute [rw] status
|
@@ -13503,7 +13641,7 @@ module Aws::S3
|
|
13503
13641
|
# Specifies when an object transitions to a specified storage class.
|
13504
13642
|
# For more information about Amazon S3 lifecycle configuration rules,
|
13505
13643
|
# see [Transitioning Objects Using Amazon S3 Lifecycle][1] in the
|
13506
|
-
# *Amazon Simple Storage Service
|
13644
|
+
# *Amazon Simple Storage Service User Guide*.
|
13507
13645
|
#
|
13508
13646
|
#
|
13509
13647
|
#
|
@@ -14107,7 +14245,7 @@ module Aws::S3
|
|
14107
14245
|
# Bucket Key. By default, S3 Bucket Key is not enabled.
|
14108
14246
|
#
|
14109
14247
|
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
|
14110
|
-
# Simple Storage Service
|
14248
|
+
# Simple Storage Service User Guide*.
|
14111
14249
|
#
|
14112
14250
|
#
|
14113
14251
|
#
|
@@ -14469,7 +14607,7 @@ module Aws::S3
|
|
14469
14607
|
# @!attribute [rw] events
|
14470
14608
|
# The Amazon S3 bucket event about which to send notifications. For
|
14471
14609
|
# more information, see [Supported Event Types][1] in the *Amazon
|
14472
|
-
# Simple Storage Service
|
14610
|
+
# Simple Storage Service User Guide*.
|
14473
14611
|
#
|
14474
14612
|
#
|
14475
14613
|
#
|
@@ -14549,7 +14687,7 @@ module Aws::S3
|
|
14549
14687
|
# Specifies when an object transitions to a specified storage class. For
|
14550
14688
|
# more information about Amazon S3 lifecycle configuration rules, see
|
14551
14689
|
# [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon
|
14552
|
-
# Simple Storage Service
|
14690
|
+
# Simple Storage Service User Guide*.
|
14553
14691
|
#
|
14554
14692
|
#
|
14555
14693
|
#
|
@@ -14676,20 +14814,20 @@ module Aws::S3
|
|
14676
14814
|
# @!attribute [rw] bucket
|
14677
14815
|
# The bucket name.
|
14678
14816
|
#
|
14679
|
-
# When using this
|
14680
|
-
# to the access point hostname. The access point hostname
|
14681
|
-
# form
|
14817
|
+
# When using this action with an access point, you must direct
|
14818
|
+
# requests to the access point hostname. The access point hostname
|
14819
|
+
# takes the form
|
14682
14820
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
14683
|
-
# When using this
|
14821
|
+
# When using this action with an access point through the AWS SDKs,
|
14684
14822
|
# you provide the access point ARN in place of the bucket name. For
|
14685
14823
|
# more information about access point ARNs, see [Using Access
|
14686
14824
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
14687
14825
|
#
|
14688
|
-
# When using this
|
14826
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
14689
14827
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
14690
14828
|
# takes the form
|
14691
14829
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
14692
|
-
# When using this
|
14830
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
14693
14831
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
14694
14832
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
14695
14833
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
@@ -14953,20 +15091,20 @@ module Aws::S3
|
|
14953
15091
|
# @!attribute [rw] bucket
|
14954
15092
|
# The name of the bucket to which the multipart upload was initiated.
|
14955
15093
|
#
|
14956
|
-
# When using this
|
14957
|
-
# to the access point hostname. The access point hostname
|
14958
|
-
# form
|
15094
|
+
# When using this action with an access point, you must direct
|
15095
|
+
# requests to the access point hostname. The access point hostname
|
15096
|
+
# takes the form
|
14959
15097
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
14960
|
-
# When using this
|
15098
|
+
# When using this action with an access point through the AWS SDKs,
|
14961
15099
|
# you provide the access point ARN in place of the bucket name. For
|
14962
15100
|
# more information about access point ARNs, see [Using Access
|
14963
15101
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
14964
15102
|
#
|
14965
|
-
# When using this
|
15103
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
14966
15104
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
14967
15105
|
# takes the form
|
14968
15106
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
14969
|
-
# When using this
|
15107
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
14970
15108
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
14971
15109
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
14972
15110
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|