aws-sdk-s3 1.88.1 → 1.92.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 +736 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3.rb +2 -2
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +2 -2
- data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +66 -0
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +3 -3
- data/lib/aws-sdk-s3/bucket.rb +10 -10
- data/lib/aws-sdk-s3/bucket_acl.rb +2 -2
- data/lib/aws-sdk-s3/bucket_cors.rb +5 -5
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +3 -3
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +3 -3
- data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
- data/lib/aws-sdk-s3/bucket_notification.rb +2 -2
- data/lib/aws-sdk-s3/bucket_policy.rb +3 -3
- data/lib/aws-sdk-s3/bucket_request_payment.rb +5 -6
- data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_versioning.rb +4 -4
- data/lib/aws-sdk-s3/bucket_website.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +1091 -773
- data/lib/aws-sdk-s3/client_api.rb +62 -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 +4 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +5 -5
- data/lib/aws-sdk-s3/object.rb +22 -22
- data/lib/aws-sdk-s3/object_acl.rb +2 -2
- data/lib/aws-sdk-s3/object_summary.rb +22 -22
- data/lib/aws-sdk-s3/object_version.rb +10 -10
- data/lib/aws-sdk-s3/plugins/arn.rb +20 -13
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +11 -10
- data/lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb +25 -0
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +6 -0
- data/lib/aws-sdk-s3/presigner.rb +1 -2
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +822 -377
- data/lib/aws-sdk-s3/waiters.rb +1 -1
- metadata +8 -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
|
|
@@ -256,7 +256,7 @@ module Aws::S3
|
|
256
256
|
# Indicates whether S3 Object Lock should bypass Governance-mode
|
257
257
|
# restrictions to process this operation.
|
258
258
|
# @option options [String] :expected_bucket_owner
|
259
|
-
# The account
|
259
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
260
260
|
# a different account, the request will fail with an HTTP `403 (Access
|
261
261
|
# Denied)` error.
|
262
262
|
# @return [Types::DeleteObjectOutput]
|
@@ -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
|
@@ -358,7 +358,7 @@ module Aws::S3
|
|
358
358
|
# for the part specified. Useful for downloading just a part of an
|
359
359
|
# object.
|
360
360
|
# @option options [String] :expected_bucket_owner
|
361
|
-
# The account
|
361
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
362
362
|
# a different account, the request will fail with an HTTP `403 (Access
|
363
363
|
# Denied)` error.
|
364
364
|
# @return [Types::GetObjectOutput]
|
@@ -442,7 +442,7 @@ module Aws::S3
|
|
442
442
|
# for the part specified. Useful querying about the size of the part and
|
443
443
|
# the number of parts in this object.
|
444
444
|
# @option options [String] :expected_bucket_owner
|
445
|
-
# The account
|
445
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
446
446
|
# a different account, the request will fail with an HTTP `403 (Access
|
447
447
|
# Denied)` error.
|
448
448
|
# @return [Types::HeadObjectOutput]
|
@@ -546,7 +546,7 @@ module Aws::S3
|
|
546
546
|
# Governance-type Object Lock in place. You must have sufficient
|
547
547
|
# permissions to perform this operation.
|
548
548
|
# @option options [String] :expected_bucket_owner
|
549
|
-
# The account
|
549
|
+
# The account ID of the expected bucket owner. If the bucket is owned by
|
550
550
|
# a different account, the request will fail with an HTTP `403 (Access
|
551
551
|
# Denied)` error.
|
552
552
|
# @return [void]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative '../arn/access_point_arn'
|
4
|
+
require_relative '../arn/object_lambda_arn'
|
4
5
|
require_relative '../arn/outpost_access_point_arn'
|
5
6
|
|
6
7
|
module Aws
|
@@ -22,9 +23,9 @@ be made. Set to `false` to use the client's region instead.
|
|
22
23
|
resolve_s3_use_arn_region(cfg)
|
23
24
|
end
|
24
25
|
|
25
|
-
# param validator is validate:50
|
26
|
+
# param validator is validate:50
|
26
27
|
# endpoint is build:90 (populates the URI for the first time)
|
27
|
-
# endpoint pattern is build:10
|
28
|
+
# endpoint pattern is build:10
|
28
29
|
def add_handlers(handlers, _config)
|
29
30
|
handlers.add(ARNHandler, step: :validate, priority: 75)
|
30
31
|
handlers.add(UrlHandler)
|
@@ -114,15 +115,7 @@ be made. Set to `false` to use the client's region instead.
|
|
114
115
|
def resolve_arn!(member_value, region, use_arn_region)
|
115
116
|
if Aws::ARNParser.arn?(member_value)
|
116
117
|
arn = Aws::ARNParser.parse(member_value)
|
117
|
-
|
118
|
-
s3_arn = Aws::S3::AccessPointARN.new(arn.to_h)
|
119
|
-
elsif arn.resource.start_with?('outpost')
|
120
|
-
s3_arn = Aws::S3::OutpostAccessPointARN.new(arn.to_h)
|
121
|
-
else
|
122
|
-
raise ArgumentError,
|
123
|
-
'Only Access Point and Outpost Access Point type ARNs '\
|
124
|
-
'are currently supported.'
|
125
|
-
end
|
118
|
+
s3_arn = resolve_arn_type!(arn)
|
126
119
|
s3_arn.validate_arn!
|
127
120
|
validate_region_config!(s3_arn, region, use_arn_region)
|
128
121
|
region = s3_arn.region if use_arn_region
|
@@ -142,6 +135,21 @@ be made. Set to `false` to use the client's region instead.
|
|
142
135
|
|
143
136
|
private
|
144
137
|
|
138
|
+
def resolve_arn_type!(arn)
|
139
|
+
case arn.service
|
140
|
+
when 's3'
|
141
|
+
Aws::S3::AccessPointARN.new(arn.to_h)
|
142
|
+
when 's3-outposts'
|
143
|
+
Aws::S3::OutpostAccessPointARN.new(arn.to_h)
|
144
|
+
when 's3-object-lambda'
|
145
|
+
Aws::S3::ObjectLambdaARN.new(arn.to_h)
|
146
|
+
else
|
147
|
+
raise ArgumentError,
|
148
|
+
'Only Access Point, Outposts, and Object Lambdas ARNs '\
|
149
|
+
'are currently supported.'
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
145
153
|
def resolve_s3_use_arn_region(cfg)
|
146
154
|
value = ENV['AWS_S3_USE_ARN_REGION'] ||
|
147
155
|
Aws.shared_config.s3_use_arn_region(profile: cfg.profile) ||
|
@@ -157,8 +165,7 @@ be made. Set to `false` to use the client's region instead.
|
|
157
165
|
value
|
158
166
|
end
|
159
167
|
|
160
|
-
# Remove ARN from the path
|
161
|
-
# This only works because accesspoints care about the URL
|
168
|
+
# Remove ARN from the path because we've already set the new host
|
162
169
|
def url_path(path, arn)
|
163
170
|
path = path.sub("/#{Seahorse::Util.uri_escape(arn.to_s)}", '')
|
164
171
|
.sub("/#{arn}", '')
|
@@ -10,14 +10,15 @@ module Aws
|
|
10
10
|
default: 'legacy',
|
11
11
|
doc_type: String,
|
12
12
|
docstring: <<-DOCS) do |cfg|
|
13
|
-
|
14
|
-
|
13
|
+
Pass in `regional` to enable the `us-east-1` regional endpoint.
|
14
|
+
Defaults to `legacy` mode which uses the global endpoint.
|
15
15
|
DOCS
|
16
16
|
resolve_iad_regional_endpoint(cfg)
|
17
17
|
end
|
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
|
@@ -26,14 +27,14 @@ region. Defaults to `legacy` mode using global endpoint.
|
|
26
27
|
class Handler < Seahorse::Client::Handler
|
27
28
|
|
28
29
|
def call(context)
|
29
|
-
#
|
30
|
-
|
30
|
+
# WriteGetObjectResponse does not have a global endpoint
|
31
|
+
# ARNs are regionalized, so don't touch those either.
|
32
|
+
if context.operation.name != 'WriteGetObjectResponse' &&
|
33
|
+
context.config.s3_us_east_1_regional_endpoint == 'legacy' &&
|
34
|
+
!context.metadata[:s3_arn]
|
31
35
|
host = context.http_request.endpoint.host
|
32
|
-
|
33
|
-
|
34
|
-
legacy_host = IADRegionalEndpoint.legacy_host(host)
|
35
|
-
context.http_request.endpoint.host = legacy_host
|
36
|
-
end
|
36
|
+
legacy_host = IADRegionalEndpoint.legacy_host(host)
|
37
|
+
context.http_request.endpoint.host = legacy_host
|
37
38
|
end
|
38
39
|
@handler.call(context)
|
39
40
|
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
module S3
|
5
|
+
module Plugins
|
6
|
+
# WriteGetObjectResponse is called from Lambda after a data transform.
|
7
|
+
# If there is no custom endpoint, we change the endpoint from s3 to
|
8
|
+
# s3-object-lambda just for this operation.
|
9
|
+
class ObjectLambdaEndpoint < Seahorse::Client::Plugin
|
10
|
+
class Handler < Seahorse::Client::Handler
|
11
|
+
def call(context)
|
12
|
+
if context.config.regional_endpoint
|
13
|
+
host = context.http_request.endpoint.host
|
14
|
+
host = host.sub('s3.', 's3-object-lambda.')
|
15
|
+
context.http_request.endpoint.host = host
|
16
|
+
end
|
17
|
+
@handler.call(context)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
handler(Handler, operations: [:write_get_object_response])
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -79,6 +79,12 @@ module Aws
|
|
79
79
|
region: arn[:resolved_region],
|
80
80
|
credentials: context.config.credentials
|
81
81
|
)
|
82
|
+
elsif context.operation.name == 'WriteGetObjectResponse'
|
83
|
+
S3Signer.build_v4_signer(
|
84
|
+
service: 's3-object-lambda',
|
85
|
+
region: context.config.sigv4_region,
|
86
|
+
credentials: context.config.credentials
|
87
|
+
)
|
82
88
|
else
|
83
89
|
context.config.sigv4_signer
|
84
90
|
end
|
data/lib/aws-sdk-s3/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,28 +67,28 @@ module Aws::S3
|
|
67
67
|
# @!attribute [rw] bucket
|
68
68
|
# The bucket name to which the upload was taking place.
|
69
69
|
#
|
70
|
-
# When using this
|
71
|
-
# to the access point hostname. The access point hostname
|
72
|
-
# form
|
70
|
+
# When using this action with an access point, you must direct
|
71
|
+
# requests to the access point hostname. The access point hostname
|
72
|
+
# takes the form
|
73
73
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
74
|
-
# When using this
|
74
|
+
# When using this action with an access point through the AWS SDKs,
|
75
75
|
# you provide the access point ARN in place of the bucket name. For
|
76
76
|
# more information about access point ARNs, see [Using Access
|
77
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*.
|
87
87
|
#
|
88
88
|
#
|
89
89
|
#
|
90
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
91
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
90
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
91
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
92
92
|
# @return [String]
|
93
93
|
#
|
94
94
|
# @!attribute [rw] key
|
@@ -112,7 +112,7 @@ module Aws::S3
|
|
112
112
|
# @return [String]
|
113
113
|
#
|
114
114
|
# @!attribute [rw] expected_bucket_owner
|
115
|
-
# The account
|
115
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
116
116
|
# by a different account, the request will fail with an HTTP `403
|
117
117
|
# (Access Denied)` error.
|
118
118
|
# @return [String]
|
@@ -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,28 +919,28 @@ 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*.
|
931
939
|
#
|
932
940
|
#
|
933
941
|
#
|
934
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
935
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
942
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
943
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
936
944
|
# @return [String]
|
937
945
|
#
|
938
946
|
# @!attribute [rw] key
|
@@ -1049,7 +1057,7 @@ module Aws::S3
|
|
1049
1057
|
# @return [String]
|
1050
1058
|
#
|
1051
1059
|
# @!attribute [rw] expected_bucket_owner
|
1052
|
-
# The account
|
1060
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
1053
1061
|
# by a different account, the request will fail with an HTTP `403
|
1054
1062
|
# (Access Denied)` error.
|
1055
1063
|
# @return [String]
|
@@ -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,28 +1321,28 @@ 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*.
|
1325
1341
|
#
|
1326
1342
|
#
|
1327
1343
|
#
|
1328
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1329
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1344
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
1345
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1330
1346
|
# @return [String]
|
1331
1347
|
#
|
1332
1348
|
# @!attribute [rw] cache_control
|
@@ -1395,7 +1411,7 @@ module Aws::S3
|
|
1395
1411
|
#
|
1396
1412
|
#
|
1397
1413
|
#
|
1398
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1414
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
1399
1415
|
# @return [String]
|
1400
1416
|
#
|
1401
1417
|
# @!attribute [rw] copy_source_if_match
|
@@ -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
|
#
|
@@ -1587,13 +1603,13 @@ module Aws::S3
|
|
1587
1603
|
# @return [String]
|
1588
1604
|
#
|
1589
1605
|
# @!attribute [rw] expected_bucket_owner
|
1590
|
-
# The account
|
1606
|
+
# The account ID of the expected destination bucket owner. If the
|
1591
1607
|
# destination bucket is owned by a different account, the request will
|
1592
1608
|
# fail with an HTTP `403 (Access Denied)` error.
|
1593
1609
|
# @return [String]
|
1594
1610
|
#
|
1595
1611
|
# @!attribute [rw] expected_source_bucket_owner
|
1596
|
-
# The account
|
1612
|
+
# The account ID of the expected source bucket owner. If the source
|
1597
1613
|
# bucket is owned by a different account, the request will fail with
|
1598
1614
|
# an HTTP `403 (Access Denied)` error.
|
1599
1615
|
# @return [String]
|
@@ -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,28 +1838,28 @@ 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*.
|
1841
1858
|
#
|
1842
1859
|
#
|
1843
1860
|
#
|
1844
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1845
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1861
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
1862
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1846
1863
|
# @return [String]
|
1847
1864
|
#
|
1848
1865
|
# @!attribute [rw] key
|
@@ -1959,28 +1976,28 @@ 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*.
|
1979
1996
|
#
|
1980
1997
|
#
|
1981
1998
|
#
|
1982
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1983
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1999
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
2000
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1984
2001
|
# @return [String]
|
1985
2002
|
#
|
1986
2003
|
# @!attribute [rw] cache_control
|
@@ -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
|
#
|
@@ -2148,7 +2165,7 @@ module Aws::S3
|
|
2148
2165
|
# @return [String]
|
2149
2166
|
#
|
2150
2167
|
# @!attribute [rw] expected_bucket_owner
|
2151
|
-
# The account
|
2168
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2152
2169
|
# by a different account, the request will fail with an HTTP `403
|
2153
2170
|
# (Access Denied)` error.
|
2154
2171
|
# @return [String]
|
@@ -2278,7 +2295,7 @@ module Aws::S3
|
|
2278
2295
|
# @return [String]
|
2279
2296
|
#
|
2280
2297
|
# @!attribute [rw] expected_bucket_owner
|
2281
|
-
# The account
|
2298
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2282
2299
|
# by a different account, the request will fail with an HTTP `403
|
2283
2300
|
# (Access Denied)` error.
|
2284
2301
|
# @return [String]
|
@@ -2306,7 +2323,7 @@ module Aws::S3
|
|
2306
2323
|
# @return [String]
|
2307
2324
|
#
|
2308
2325
|
# @!attribute [rw] expected_bucket_owner
|
2309
|
-
# The account
|
2326
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2310
2327
|
# by a different account, the request will fail with an HTTP `403
|
2311
2328
|
# (Access Denied)` error.
|
2312
2329
|
# @return [String]
|
@@ -2334,7 +2351,7 @@ module Aws::S3
|
|
2334
2351
|
# @return [String]
|
2335
2352
|
#
|
2336
2353
|
# @!attribute [rw] expected_bucket_owner
|
2337
|
-
# The account
|
2354
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2338
2355
|
# by a different account, the request will fail with an HTTP `403
|
2339
2356
|
# (Access Denied)` error.
|
2340
2357
|
# @return [String]
|
@@ -2393,7 +2410,7 @@ module Aws::S3
|
|
2393
2410
|
# @return [String]
|
2394
2411
|
#
|
2395
2412
|
# @!attribute [rw] expected_bucket_owner
|
2396
|
-
# The account
|
2413
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2397
2414
|
# by a different account, the request will fail with an HTTP `403
|
2398
2415
|
# (Access Denied)` error.
|
2399
2416
|
# @return [String]
|
@@ -2421,7 +2438,7 @@ module Aws::S3
|
|
2421
2438
|
# @return [String]
|
2422
2439
|
#
|
2423
2440
|
# @!attribute [rw] expected_bucket_owner
|
2424
|
-
# The account
|
2441
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2425
2442
|
# by a different account, the request will fail with an HTTP `403
|
2426
2443
|
# (Access Denied)` error.
|
2427
2444
|
# @return [String]
|
@@ -2454,7 +2471,7 @@ module Aws::S3
|
|
2454
2471
|
# @return [String]
|
2455
2472
|
#
|
2456
2473
|
# @!attribute [rw] expected_bucket_owner
|
2457
|
-
# The account
|
2474
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2458
2475
|
# by a different account, the request will fail with an HTTP `403
|
2459
2476
|
# (Access Denied)` error.
|
2460
2477
|
# @return [String]
|
@@ -2482,7 +2499,7 @@ module Aws::S3
|
|
2482
2499
|
# @return [String]
|
2483
2500
|
#
|
2484
2501
|
# @!attribute [rw] expected_bucket_owner
|
2485
|
-
# The account
|
2502
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2486
2503
|
# by a different account, the request will fail with an HTTP `403
|
2487
2504
|
# (Access Denied)` error.
|
2488
2505
|
# @return [String]
|
@@ -2509,7 +2526,7 @@ module Aws::S3
|
|
2509
2526
|
# @return [String]
|
2510
2527
|
#
|
2511
2528
|
# @!attribute [rw] expected_bucket_owner
|
2512
|
-
# The account
|
2529
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2513
2530
|
# by a different account, the request will fail with an HTTP `403
|
2514
2531
|
# (Access Denied)` error.
|
2515
2532
|
# @return [String]
|
@@ -2536,7 +2553,7 @@ module Aws::S3
|
|
2536
2553
|
# @return [String]
|
2537
2554
|
#
|
2538
2555
|
# @!attribute [rw] expected_bucket_owner
|
2539
|
-
# The account
|
2556
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2540
2557
|
# by a different account, the request will fail with an HTTP `403
|
2541
2558
|
# (Access Denied)` error.
|
2542
2559
|
# @return [String]
|
@@ -2563,7 +2580,7 @@ module Aws::S3
|
|
2563
2580
|
# @return [String]
|
2564
2581
|
#
|
2565
2582
|
# @!attribute [rw] expected_bucket_owner
|
2566
|
-
# The account
|
2583
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2567
2584
|
# by a different account, the request will fail with an HTTP `403
|
2568
2585
|
# (Access Denied)` error.
|
2569
2586
|
# @return [String]
|
@@ -2590,7 +2607,7 @@ module Aws::S3
|
|
2590
2607
|
# @return [String]
|
2591
2608
|
#
|
2592
2609
|
# @!attribute [rw] expected_bucket_owner
|
2593
|
-
# The account
|
2610
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2594
2611
|
# by a different account, the request will fail with an HTTP `403
|
2595
2612
|
# (Access Denied)` error.
|
2596
2613
|
# @return [String]
|
@@ -2618,7 +2635,7 @@ module Aws::S3
|
|
2618
2635
|
# @return [String]
|
2619
2636
|
#
|
2620
2637
|
# @!attribute [rw] expected_bucket_owner
|
2621
|
-
# The account
|
2638
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2622
2639
|
# by a different account, the request will fail with an HTTP `403
|
2623
2640
|
# (Access Denied)` error.
|
2624
2641
|
# @return [String]
|
@@ -2754,28 +2771,28 @@ 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*.
|
2774
2791
|
#
|
2775
2792
|
#
|
2776
2793
|
#
|
2777
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2778
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2794
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
2795
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2779
2796
|
# @return [String]
|
2780
2797
|
#
|
2781
2798
|
# @!attribute [rw] key
|
@@ -2811,7 +2828,7 @@ module Aws::S3
|
|
2811
2828
|
# @return [Boolean]
|
2812
2829
|
#
|
2813
2830
|
# @!attribute [rw] expected_bucket_owner
|
2814
|
-
# The account
|
2831
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2815
2832
|
# by a different account, the request will fail with an HTTP `403
|
2816
2833
|
# (Access Denied)` error.
|
2817
2834
|
# @return [String]
|
@@ -2856,32 +2873,33 @@ 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*.
|
2876
2893
|
#
|
2877
2894
|
#
|
2878
2895
|
#
|
2879
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2880
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2896
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
2897
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
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
|
@@ -2889,7 +2907,7 @@ module Aws::S3
|
|
2889
2907
|
# @return [String]
|
2890
2908
|
#
|
2891
2909
|
# @!attribute [rw] expected_bucket_owner
|
2892
|
-
# The account
|
2910
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
2893
2911
|
# by a different account, the request will fail with an HTTP `403
|
2894
2912
|
# (Access Denied)` error.
|
2895
2913
|
# @return [String]
|
@@ -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,28 +2971,28 @@ 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*.
|
2973
2991
|
#
|
2974
2992
|
#
|
2975
2993
|
#
|
2976
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2977
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2994
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
2995
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2978
2996
|
# @return [String]
|
2979
2997
|
#
|
2980
2998
|
# @!attribute [rw] delete
|
@@ -3007,7 +3025,7 @@ module Aws::S3
|
|
3007
3025
|
# @return [Boolean]
|
3008
3026
|
#
|
3009
3027
|
# @!attribute [rw] expected_bucket_owner
|
3010
|
-
# The account
|
3028
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
3011
3029
|
# by a different account, the request will fail with an HTTP `403
|
3012
3030
|
# (Access Denied)` error.
|
3013
3031
|
# @return [String]
|
@@ -3039,7 +3057,7 @@ module Aws::S3
|
|
3039
3057
|
# @return [String]
|
3040
3058
|
#
|
3041
3059
|
# @!attribute [rw] expected_bucket_owner
|
3042
|
-
# The account
|
3060
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
3043
3061
|
# by a different account, the request will fail with an HTTP `403
|
3044
3062
|
# (Access Denied)` error.
|
3045
3063
|
# @return [String]
|
@@ -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:
|
@@ -4215,7 +4244,7 @@ module Aws::S3
|
|
4215
4244
|
# @return [String]
|
4216
4245
|
#
|
4217
4246
|
# @!attribute [rw] expected_bucket_owner
|
4218
|
-
# The account
|
4247
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4219
4248
|
# by a different account, the request will fail with an HTTP `403
|
4220
4249
|
# (Access Denied)` error.
|
4221
4250
|
# @return [String]
|
@@ -4259,7 +4288,7 @@ module Aws::S3
|
|
4259
4288
|
# @return [String]
|
4260
4289
|
#
|
4261
4290
|
# @!attribute [rw] expected_bucket_owner
|
4262
|
-
# The account
|
4291
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4263
4292
|
# by a different account, the request will fail with an HTTP `403
|
4264
4293
|
# (Access Denied)` error.
|
4265
4294
|
# @return [String]
|
@@ -4304,7 +4333,7 @@ module Aws::S3
|
|
4304
4333
|
# @return [String]
|
4305
4334
|
#
|
4306
4335
|
# @!attribute [rw] expected_bucket_owner
|
4307
|
-
# The account
|
4336
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4308
4337
|
# by a different account, the request will fail with an HTTP `403
|
4309
4338
|
# (Access Denied)` error.
|
4310
4339
|
# @return [String]
|
@@ -4345,7 +4374,7 @@ module Aws::S3
|
|
4345
4374
|
# @return [String]
|
4346
4375
|
#
|
4347
4376
|
# @!attribute [rw] expected_bucket_owner
|
4348
|
-
# The account
|
4377
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4349
4378
|
# by a different account, the request will fail with an HTTP `403
|
4350
4379
|
# (Access Denied)` error.
|
4351
4380
|
# @return [String]
|
@@ -4385,7 +4414,7 @@ module Aws::S3
|
|
4385
4414
|
# @return [String]
|
4386
4415
|
#
|
4387
4416
|
# @!attribute [rw] expected_bucket_owner
|
4388
|
-
# The account
|
4417
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4389
4418
|
# by a different account, the request will fail with an HTTP `403
|
4390
4419
|
# (Access Denied)` error.
|
4391
4420
|
# @return [String]
|
@@ -4468,7 +4497,7 @@ module Aws::S3
|
|
4468
4497
|
# @return [String]
|
4469
4498
|
#
|
4470
4499
|
# @!attribute [rw] expected_bucket_owner
|
4471
|
-
# The account
|
4500
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4472
4501
|
# by a different account, the request will fail with an HTTP `403
|
4473
4502
|
# (Access Denied)` error.
|
4474
4503
|
# @return [String]
|
@@ -4508,7 +4537,7 @@ module Aws::S3
|
|
4508
4537
|
# @return [String]
|
4509
4538
|
#
|
4510
4539
|
# @!attribute [rw] expected_bucket_owner
|
4511
|
-
# The account
|
4540
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4512
4541
|
# by a different account, the request will fail with an HTTP `403
|
4513
4542
|
# (Access Denied)` error.
|
4514
4543
|
# @return [String]
|
@@ -4547,7 +4576,7 @@ module Aws::S3
|
|
4547
4576
|
# @return [String]
|
4548
4577
|
#
|
4549
4578
|
# @!attribute [rw] expected_bucket_owner
|
4550
|
-
# The account
|
4579
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4551
4580
|
# by a different account, the request will fail with an HTTP `403
|
4552
4581
|
# (Access Denied)` error.
|
4553
4582
|
# @return [String]
|
@@ -4593,7 +4622,7 @@ module Aws::S3
|
|
4593
4622
|
# @return [String]
|
4594
4623
|
#
|
4595
4624
|
# @!attribute [rw] expected_bucket_owner
|
4596
|
-
# The account
|
4625
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4597
4626
|
# by a different account, the request will fail with an HTTP `403
|
4598
4627
|
# (Access Denied)` error.
|
4599
4628
|
# @return [String]
|
@@ -4639,7 +4668,7 @@ module Aws::S3
|
|
4639
4668
|
# @return [String]
|
4640
4669
|
#
|
4641
4670
|
# @!attribute [rw] expected_bucket_owner
|
4642
|
-
# The account
|
4671
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4643
4672
|
# by a different account, the request will fail with an HTTP `403
|
4644
4673
|
# (Access Denied)` error.
|
4645
4674
|
# @return [String]
|
@@ -4684,7 +4713,7 @@ module Aws::S3
|
|
4684
4713
|
# @return [String]
|
4685
4714
|
#
|
4686
4715
|
# @!attribute [rw] expected_bucket_owner
|
4687
|
-
# The account
|
4716
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4688
4717
|
# by a different account, the request will fail with an HTTP `403
|
4689
4718
|
# (Access Denied)` error.
|
4690
4719
|
# @return [String]
|
@@ -4713,7 +4742,7 @@ module Aws::S3
|
|
4713
4742
|
# @return [String]
|
4714
4743
|
#
|
4715
4744
|
# @!attribute [rw] expected_bucket_owner
|
4716
|
-
# The account
|
4745
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4717
4746
|
# by a different account, the request will fail with an HTTP `403
|
4718
4747
|
# (Access Denied)` error.
|
4719
4748
|
# @return [String]
|
@@ -4754,7 +4783,7 @@ module Aws::S3
|
|
4754
4783
|
# @return [String]
|
4755
4784
|
#
|
4756
4785
|
# @!attribute [rw] expected_bucket_owner
|
4757
|
-
# The account
|
4786
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4758
4787
|
# by a different account, the request will fail with an HTTP `403
|
4759
4788
|
# (Access Denied)` error.
|
4760
4789
|
# @return [String]
|
@@ -4793,7 +4822,7 @@ module Aws::S3
|
|
4793
4822
|
# @return [String]
|
4794
4823
|
#
|
4795
4824
|
# @!attribute [rw] expected_bucket_owner
|
4796
|
-
# The account
|
4825
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4797
4826
|
# by a different account, the request will fail with an HTTP `403
|
4798
4827
|
# (Access Denied)` error.
|
4799
4828
|
# @return [String]
|
@@ -4833,7 +4862,7 @@ module Aws::S3
|
|
4833
4862
|
# @return [String]
|
4834
4863
|
#
|
4835
4864
|
# @!attribute [rw] expected_bucket_owner
|
4836
|
-
# The account
|
4865
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4837
4866
|
# by a different account, the request will fail with an HTTP `403
|
4838
4867
|
# (Access Denied)` error.
|
4839
4868
|
# @return [String]
|
@@ -4873,7 +4902,7 @@ module Aws::S3
|
|
4873
4902
|
# @return [String]
|
4874
4903
|
#
|
4875
4904
|
# @!attribute [rw] expected_bucket_owner
|
4876
|
-
# The account
|
4905
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4877
4906
|
# by a different account, the request will fail with an HTTP `403
|
4878
4907
|
# (Access Denied)` error.
|
4879
4908
|
# @return [String]
|
@@ -4913,7 +4942,7 @@ module Aws::S3
|
|
4913
4942
|
# @return [String]
|
4914
4943
|
#
|
4915
4944
|
# @!attribute [rw] expected_bucket_owner
|
4916
|
-
# The account
|
4945
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4917
4946
|
# by a different account, the request will fail with an HTTP `403
|
4918
4947
|
# (Access Denied)` error.
|
4919
4948
|
# @return [String]
|
@@ -4952,7 +4981,7 @@ module Aws::S3
|
|
4952
4981
|
# @return [String]
|
4953
4982
|
#
|
4954
4983
|
# @!attribute [rw] expected_bucket_owner
|
4955
|
-
# The account
|
4984
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
4956
4985
|
# by a different account, the request will fail with an HTTP `403
|
4957
4986
|
# (Access Denied)` error.
|
4958
4987
|
# @return [String]
|
@@ -4999,7 +5028,7 @@ module Aws::S3
|
|
4999
5028
|
# @return [String]
|
5000
5029
|
#
|
5001
5030
|
# @!attribute [rw] expected_bucket_owner
|
5002
|
-
# The account
|
5031
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5003
5032
|
# by a different account, the request will fail with an HTTP `403
|
5004
5033
|
# (Access Denied)` error.
|
5005
5034
|
# @return [String]
|
@@ -5057,7 +5086,7 @@ module Aws::S3
|
|
5057
5086
|
# @return [String]
|
5058
5087
|
#
|
5059
5088
|
# @!attribute [rw] expected_bucket_owner
|
5060
|
-
# The account
|
5089
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5061
5090
|
# by a different account, the request will fail with an HTTP `403
|
5062
5091
|
# (Access Denied)` error.
|
5063
5092
|
# @return [String]
|
@@ -5109,18 +5138,18 @@ 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*.
|
5120
5149
|
#
|
5121
5150
|
#
|
5122
5151
|
#
|
5123
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5152
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5124
5153
|
# @return [String]
|
5125
5154
|
#
|
5126
5155
|
# @!attribute [rw] key
|
@@ -5144,7 +5173,7 @@ module Aws::S3
|
|
5144
5173
|
# @return [String]
|
5145
5174
|
#
|
5146
5175
|
# @!attribute [rw] expected_bucket_owner
|
5147
|
-
# The account
|
5176
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5148
5177
|
# by a different account, the request will fail with an HTTP `403
|
5149
5178
|
# (Access Denied)` error.
|
5150
5179
|
# @return [String]
|
@@ -5188,18 +5217,18 @@ 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*.
|
5199
5228
|
#
|
5200
5229
|
#
|
5201
5230
|
#
|
5202
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5231
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5203
5232
|
# @return [String]
|
5204
5233
|
#
|
5205
5234
|
# @!attribute [rw] key
|
@@ -5225,7 +5254,7 @@ module Aws::S3
|
|
5225
5254
|
# @return [String]
|
5226
5255
|
#
|
5227
5256
|
# @!attribute [rw] expected_bucket_owner
|
5228
|
-
# The account
|
5257
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5229
5258
|
# by a different account, the request will fail with an HTTP `403
|
5230
5259
|
# (Access Denied)` error.
|
5231
5260
|
# @return [String]
|
@@ -5265,22 +5294,22 @@ 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*.
|
5276
5305
|
#
|
5277
5306
|
#
|
5278
5307
|
#
|
5279
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5308
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5280
5309
|
# @return [String]
|
5281
5310
|
#
|
5282
5311
|
# @!attribute [rw] expected_bucket_owner
|
5283
|
-
# The account
|
5312
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5284
5313
|
# by a different account, the request will fail with an HTTP `403
|
5285
5314
|
# (Access Denied)` error.
|
5286
5315
|
# @return [String]
|
@@ -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,28 +5554,28 @@ 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*.
|
5545
5574
|
#
|
5546
5575
|
#
|
5547
5576
|
#
|
5548
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5549
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5577
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5578
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
5550
5579
|
# @return [String]
|
5551
5580
|
#
|
5552
5581
|
# @!attribute [rw] if_match
|
@@ -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]
|
@@ -5655,7 +5684,7 @@ module Aws::S3
|
|
5655
5684
|
# @return [Integer]
|
5656
5685
|
#
|
5657
5686
|
# @!attribute [rw] expected_bucket_owner
|
5658
|
-
# The account
|
5687
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5659
5688
|
# by a different account, the request will fail with an HTTP `403
|
5660
5689
|
# (Access Denied)` error.
|
5661
5690
|
# @return [String]
|
@@ -5714,18 +5743,18 @@ 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*.
|
5725
5754
|
#
|
5726
5755
|
#
|
5727
5756
|
#
|
5728
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5757
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5729
5758
|
# @return [String]
|
5730
5759
|
#
|
5731
5760
|
# @!attribute [rw] key
|
@@ -5751,7 +5780,7 @@ module Aws::S3
|
|
5751
5780
|
# @return [String]
|
5752
5781
|
#
|
5753
5782
|
# @!attribute [rw] expected_bucket_owner
|
5754
|
-
# The account
|
5783
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5755
5784
|
# by a different account, the request will fail with an HTTP `403
|
5756
5785
|
# (Access Denied)` error.
|
5757
5786
|
# @return [String]
|
@@ -5794,34 +5823,35 @@ 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*.
|
5820
5850
|
#
|
5821
5851
|
#
|
5822
5852
|
#
|
5823
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5824
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5853
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
5854
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
5825
5855
|
# @return [String]
|
5826
5856
|
#
|
5827
5857
|
# @!attribute [rw] key
|
@@ -5834,18 +5864,31 @@ module Aws::S3
|
|
5834
5864
|
# @return [String]
|
5835
5865
|
#
|
5836
5866
|
# @!attribute [rw] expected_bucket_owner
|
5837
|
-
# The account
|
5867
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5838
5868
|
# by a different account, the request will fail with an HTTP `403
|
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
|
@@ -5900,7 +5943,7 @@ module Aws::S3
|
|
5900
5943
|
# @return [String]
|
5901
5944
|
#
|
5902
5945
|
# @!attribute [rw] expected_bucket_owner
|
5903
|
-
# The account
|
5946
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5904
5947
|
# by a different account, the request will fail with an HTTP `403
|
5905
5948
|
# (Access Denied)` error.
|
5906
5949
|
# @return [String]
|
@@ -5943,7 +5986,7 @@ module Aws::S3
|
|
5943
5986
|
# @return [String]
|
5944
5987
|
#
|
5945
5988
|
# @!attribute [rw] expected_bucket_owner
|
5946
|
-
# The account
|
5989
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
5947
5990
|
# by a different account, the request will fail with an HTTP `403
|
5948
5991
|
# (Access Denied)` error.
|
5949
5992
|
# @return [String]
|
@@ -6095,32 +6138,32 @@ 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*.
|
6115
6158
|
#
|
6116
6159
|
#
|
6117
6160
|
#
|
6118
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6119
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6161
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
6162
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
6120
6163
|
# @return [String]
|
6121
6164
|
#
|
6122
6165
|
# @!attribute [rw] expected_bucket_owner
|
6123
|
-
# The account
|
6166
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
6124
6167
|
# by a different account, the request will fail with an HTTP `403
|
6125
6168
|
# (Access Denied)` error.
|
6126
6169
|
# @return [String]
|
@@ -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,28 +6474,28 @@ 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*.
|
6451
6494
|
#
|
6452
6495
|
#
|
6453
6496
|
#
|
6454
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6455
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6497
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
6498
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
6456
6499
|
# @return [String]
|
6457
6500
|
#
|
6458
6501
|
# @!attribute [rw] if_match
|
@@ -6537,7 +6580,7 @@ module Aws::S3
|
|
6537
6580
|
# @return [Integer]
|
6538
6581
|
#
|
6539
6582
|
# @!attribute [rw] expected_bucket_owner
|
6540
|
-
# The account
|
6583
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
6541
6584
|
# by a different account, the request will fail with an HTTP `403
|
6542
6585
|
# (Access Denied)` error.
|
6543
6586
|
# @return [String]
|
@@ -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
|
@@ -7548,7 +7623,7 @@ module Aws::S3
|
|
7548
7623
|
# @return [String]
|
7549
7624
|
#
|
7550
7625
|
# @!attribute [rw] expected_bucket_owner
|
7551
|
-
# The account
|
7626
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
7552
7627
|
# by a different account, the request will fail with an HTTP `403
|
7553
7628
|
# (Access Denied)` error.
|
7554
7629
|
# @return [String]
|
@@ -7679,7 +7754,7 @@ module Aws::S3
|
|
7679
7754
|
# @return [String]
|
7680
7755
|
#
|
7681
7756
|
# @!attribute [rw] expected_bucket_owner
|
7682
|
-
# The account
|
7757
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
7683
7758
|
# by a different account, the request will fail with an HTTP `403
|
7684
7759
|
# (Access Denied)` error.
|
7685
7760
|
# @return [String]
|
@@ -7751,7 +7826,7 @@ module Aws::S3
|
|
7751
7826
|
# @return [String]
|
7752
7827
|
#
|
7753
7828
|
# @!attribute [rw] expected_bucket_owner
|
7754
|
-
# The account
|
7829
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
7755
7830
|
# by a different account, the request will fail with an HTTP `403
|
7756
7831
|
# (Access Denied)` error.
|
7757
7832
|
# @return [String]
|
@@ -7890,28 +7965,28 @@ 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*.
|
7910
7985
|
#
|
7911
7986
|
#
|
7912
7987
|
#
|
7913
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
7914
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
7988
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
7989
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
7915
7990
|
# @return [String]
|
7916
7991
|
#
|
7917
7992
|
# @!attribute [rw] delimiter
|
@@ -7972,7 +8047,7 @@ module Aws::S3
|
|
7972
8047
|
# @return [String]
|
7973
8048
|
#
|
7974
8049
|
# @!attribute [rw] expected_bucket_owner
|
7975
|
-
# The account
|
8050
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
7976
8051
|
# by a different account, the request will fail with an HTTP `403
|
7977
8052
|
# (Access Denied)` error.
|
7978
8053
|
# @return [String]
|
@@ -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
|
@@ -8152,7 +8227,7 @@ module Aws::S3
|
|
8152
8227
|
# @return [String]
|
8153
8228
|
#
|
8154
8229
|
# @!attribute [rw] expected_bucket_owner
|
8155
|
-
# The account
|
8230
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8156
8231
|
# by a different account, the request will fail with an HTTP `403
|
8157
8232
|
# (Access Denied)` error.
|
8158
8233
|
# @return [String]
|
@@ -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,28 +8350,28 @@ 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*.
|
8295
8370
|
#
|
8296
8371
|
#
|
8297
8372
|
#
|
8298
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8299
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8373
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8374
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8300
8375
|
# @return [String]
|
8301
8376
|
#
|
8302
8377
|
# @!attribute [rw] delimiter
|
@@ -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
|
#
|
@@ -8333,7 +8408,7 @@ module Aws::S3
|
|
8333
8408
|
# @return [String]
|
8334
8409
|
#
|
8335
8410
|
# @!attribute [rw] expected_bucket_owner
|
8336
|
-
# The account
|
8411
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8337
8412
|
# by a different account, the request will fail with an HTTP `403
|
8338
8413
|
# (Access Denied)` error.
|
8339
8414
|
# @return [String]
|
@@ -8366,28 +8441,28 @@ 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*.
|
8386
8461
|
#
|
8387
8462
|
#
|
8388
8463
|
#
|
8389
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8390
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8464
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8465
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8391
8466
|
# @return [String]
|
8392
8467
|
#
|
8393
8468
|
# @!attribute [rw] prefix
|
@@ -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,28 +8576,28 @@ 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*.
|
8521
8596
|
#
|
8522
8597
|
#
|
8523
8598
|
#
|
8524
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8525
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8599
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8600
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8526
8601
|
# @return [String]
|
8527
8602
|
#
|
8528
8603
|
# @!attribute [rw] delimiter
|
@@ -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
|
#
|
@@ -8569,7 +8644,7 @@ module Aws::S3
|
|
8569
8644
|
# @return [String]
|
8570
8645
|
#
|
8571
8646
|
# @!attribute [rw] expected_bucket_owner
|
8572
|
-
# The account
|
8647
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8573
8648
|
# by a different account, the request will fail with an HTTP `403
|
8574
8649
|
# (Access Denied)` error.
|
8575
8650
|
# @return [String]
|
@@ -8716,28 +8791,28 @@ 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*.
|
8736
8811
|
#
|
8737
8812
|
#
|
8738
8813
|
#
|
8739
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8740
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8814
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
8815
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
8741
8816
|
# @return [String]
|
8742
8817
|
#
|
8743
8818
|
# @!attribute [rw] key
|
@@ -8771,7 +8846,7 @@ module Aws::S3
|
|
8771
8846
|
# @return [String]
|
8772
8847
|
#
|
8773
8848
|
# @!attribute [rw] expected_bucket_owner
|
8774
|
-
# The account
|
8849
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
8775
8850
|
# by a different account, the request will fail with an HTTP `403
|
8776
8851
|
# (Access Denied)` error.
|
8777
8852
|
# @return [String]
|
@@ -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
|
9963
|
+
# *Amazon S3 User Guide*.
|
9881
9964
|
#
|
9882
9965
|
#
|
9883
9966
|
#
|
@@ -9971,7 +10054,7 @@ module Aws::S3
|
|
9971
10054
|
# @return [Types::AccelerateConfiguration]
|
9972
10055
|
#
|
9973
10056
|
# @!attribute [rw] expected_bucket_owner
|
9974
|
-
# The account
|
10057
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
9975
10058
|
# by a different account, the request will fail with an HTTP `403
|
9976
10059
|
# (Access Denied)` error.
|
9977
10060
|
# @return [String]
|
@@ -10069,7 +10152,7 @@ module Aws::S3
|
|
10069
10152
|
# @return [String]
|
10070
10153
|
#
|
10071
10154
|
# @!attribute [rw] expected_bucket_owner
|
10072
|
-
# The account
|
10155
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10073
10156
|
# by a different account, the request will fail with an HTTP `403
|
10074
10157
|
# (Access Denied)` error.
|
10075
10158
|
# @return [String]
|
@@ -10146,7 +10229,7 @@ module Aws::S3
|
|
10146
10229
|
# @return [Types::AnalyticsConfiguration]
|
10147
10230
|
#
|
10148
10231
|
# @!attribute [rw] expected_bucket_owner
|
10149
|
-
# The account
|
10232
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10150
10233
|
# by a different account, the request will fail with an HTTP `403
|
10151
10234
|
# (Access Denied)` error.
|
10152
10235
|
# @return [String]
|
@@ -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,8 +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
|
10193
|
-
# Guide*.
|
10276
|
+
# Resource Sharing][1] in the *Amazon S3 User Guide*.
|
10194
10277
|
#
|
10195
10278
|
#
|
10196
10279
|
#
|
@@ -10212,7 +10295,7 @@ module Aws::S3
|
|
10212
10295
|
# @return [String]
|
10213
10296
|
#
|
10214
10297
|
# @!attribute [rw] expected_bucket_owner
|
10215
|
-
# The account
|
10298
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10216
10299
|
# by a different account, the request will fail with an HTTP `403
|
10217
10300
|
# (Access Denied)` error.
|
10218
10301
|
# @return [String]
|
@@ -10274,7 +10357,7 @@ module Aws::S3
|
|
10274
10357
|
# @return [Types::ServerSideEncryptionConfiguration]
|
10275
10358
|
#
|
10276
10359
|
# @!attribute [rw] expected_bucket_owner
|
10277
|
-
# The account
|
10360
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10278
10361
|
# by a different account, the request will fail with an HTTP `403
|
10279
10362
|
# (Access Denied)` error.
|
10280
10363
|
# @return [String]
|
@@ -10397,7 +10480,7 @@ module Aws::S3
|
|
10397
10480
|
# @return [Types::InventoryConfiguration]
|
10398
10481
|
#
|
10399
10482
|
# @!attribute [rw] expected_bucket_owner
|
10400
|
-
# The account
|
10483
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10401
10484
|
# by a different account, the request will fail with an HTTP `403
|
10402
10485
|
# (Access Denied)` error.
|
10403
10486
|
# @return [String]
|
@@ -10479,7 +10562,7 @@ module Aws::S3
|
|
10479
10562
|
# @return [Types::BucketLifecycleConfiguration]
|
10480
10563
|
#
|
10481
10564
|
# @!attribute [rw] expected_bucket_owner
|
10482
|
-
# The account
|
10565
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10483
10566
|
# by a different account, the request will fail with an HTTP `403
|
10484
10567
|
# (Access Denied)` error.
|
10485
10568
|
# @return [String]
|
@@ -10544,7 +10627,7 @@ module Aws::S3
|
|
10544
10627
|
# @return [Types::LifecycleConfiguration]
|
10545
10628
|
#
|
10546
10629
|
# @!attribute [rw] expected_bucket_owner
|
10547
|
-
# The account
|
10630
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10548
10631
|
# by a different account, the request will fail with an HTTP `403
|
10549
10632
|
# (Access Denied)` error.
|
10550
10633
|
# @return [String]
|
@@ -10603,7 +10686,7 @@ module Aws::S3
|
|
10603
10686
|
# @return [String]
|
10604
10687
|
#
|
10605
10688
|
# @!attribute [rw] expected_bucket_owner
|
10606
|
-
# The account
|
10689
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10607
10690
|
# by a different account, the request will fail with an HTTP `403
|
10608
10691
|
# (Access Denied)` error.
|
10609
10692
|
# @return [String]
|
@@ -10660,7 +10743,7 @@ module Aws::S3
|
|
10660
10743
|
# @return [Types::MetricsConfiguration]
|
10661
10744
|
#
|
10662
10745
|
# @!attribute [rw] expected_bucket_owner
|
10663
|
-
# The account
|
10746
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10664
10747
|
# by a different account, the request will fail with an HTTP `403
|
10665
10748
|
# (Access Denied)` error.
|
10666
10749
|
# @return [String]
|
@@ -10748,7 +10831,7 @@ module Aws::S3
|
|
10748
10831
|
# @return [Types::NotificationConfiguration]
|
10749
10832
|
#
|
10750
10833
|
# @!attribute [rw] expected_bucket_owner
|
10751
|
-
# The account
|
10834
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10752
10835
|
# by a different account, the request will fail with an HTTP `403
|
10753
10836
|
# (Access Denied)` error.
|
10754
10837
|
# @return [String]
|
@@ -10809,7 +10892,7 @@ module Aws::S3
|
|
10809
10892
|
# @return [Types::NotificationConfigurationDeprecated]
|
10810
10893
|
#
|
10811
10894
|
# @!attribute [rw] expected_bucket_owner
|
10812
|
-
# The account
|
10895
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10813
10896
|
# by a different account, the request will fail with an HTTP `403
|
10814
10897
|
# (Access Denied)` error.
|
10815
10898
|
# @return [String]
|
@@ -10854,7 +10937,7 @@ module Aws::S3
|
|
10854
10937
|
# @return [String]
|
10855
10938
|
#
|
10856
10939
|
# @!attribute [rw] expected_bucket_owner
|
10857
|
-
# The account
|
10940
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10858
10941
|
# by a different account, the request will fail with an HTTP `403
|
10859
10942
|
# (Access Denied)` error.
|
10860
10943
|
# @return [String]
|
@@ -10907,7 +10990,7 @@ module Aws::S3
|
|
10907
10990
|
# @return [String]
|
10908
10991
|
#
|
10909
10992
|
# @!attribute [rw] expected_bucket_owner
|
10910
|
-
# The account
|
10993
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
10911
10994
|
# by a different account, the request will fail with an HTTP `403
|
10912
10995
|
# (Access Denied)` error.
|
10913
10996
|
# @return [String]
|
@@ -11026,7 +11109,7 @@ module Aws::S3
|
|
11026
11109
|
# @return [String]
|
11027
11110
|
#
|
11028
11111
|
# @!attribute [rw] expected_bucket_owner
|
11029
|
-
# The account
|
11112
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11030
11113
|
# by a different account, the request will fail with an HTTP `403
|
11031
11114
|
# (Access Denied)` error.
|
11032
11115
|
# @return [String]
|
@@ -11060,9 +11143,9 @@ module Aws::S3
|
|
11060
11143
|
# @return [String]
|
11061
11144
|
#
|
11062
11145
|
# @!attribute [rw] content_md5
|
11063
|
-
#
|
11064
|
-
#
|
11065
|
-
#
|
11146
|
+
# The base64-encoded 128-bit MD5 digest of the data. You must use this
|
11147
|
+
# header as a message integrity check to verify that the request body
|
11148
|
+
# was not corrupted in transit. For more information, see [RFC
|
11066
11149
|
# 1864][1].
|
11067
11150
|
#
|
11068
11151
|
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
@@ -11078,7 +11161,7 @@ module Aws::S3
|
|
11078
11161
|
# @return [Types::RequestPaymentConfiguration]
|
11079
11162
|
#
|
11080
11163
|
# @!attribute [rw] expected_bucket_owner
|
11081
|
-
# The account
|
11164
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11082
11165
|
# by a different account, the request will fail with an HTTP `403
|
11083
11166
|
# (Access Denied)` error.
|
11084
11167
|
# @return [String]
|
@@ -11134,7 +11217,7 @@ module Aws::S3
|
|
11134
11217
|
# @return [Types::Tagging]
|
11135
11218
|
#
|
11136
11219
|
# @!attribute [rw] expected_bucket_owner
|
11137
|
-
# The account
|
11220
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11138
11221
|
# by a different account, the request will fail with an HTTP `403
|
11139
11222
|
# (Access Denied)` error.
|
11140
11223
|
# @return [String]
|
@@ -11193,7 +11276,7 @@ module Aws::S3
|
|
11193
11276
|
# @return [Types::VersioningConfiguration]
|
11194
11277
|
#
|
11195
11278
|
# @!attribute [rw] expected_bucket_owner
|
11196
|
-
# The account
|
11279
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11197
11280
|
# by a different account, the request will fail with an HTTP `403
|
11198
11281
|
# (Access Denied)` error.
|
11199
11282
|
# @return [String]
|
@@ -11269,7 +11352,7 @@ module Aws::S3
|
|
11269
11352
|
# @return [Types::WebsiteConfiguration]
|
11270
11353
|
#
|
11271
11354
|
# @!attribute [rw] expected_bucket_owner
|
11272
|
-
# The account
|
11355
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11273
11356
|
# by a different account, the request will fail with an HTTP `403
|
11274
11357
|
# (Access Denied)` error.
|
11275
11358
|
# @return [String]
|
@@ -11352,18 +11435,18 @@ module Aws::S3
|
|
11352
11435
|
# The bucket name that contains the object to which you want to attach
|
11353
11436
|
# the ACL.
|
11354
11437
|
#
|
11355
|
-
# When using this
|
11356
|
-
# to the access point hostname. The access point hostname
|
11357
|
-
# form
|
11438
|
+
# When using this action with an access point, you must direct
|
11439
|
+
# requests to the access point hostname. The access point hostname
|
11440
|
+
# takes the form
|
11358
11441
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11359
|
-
# When using this
|
11442
|
+
# When using this action with an access point through the AWS SDKs,
|
11360
11443
|
# you provide the access point ARN in place of the bucket name. For
|
11361
11444
|
# more information about access point ARNs, see [Using Access
|
11362
11445
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11363
11446
|
#
|
11364
11447
|
#
|
11365
11448
|
#
|
11366
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11449
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11367
11450
|
# @return [String]
|
11368
11451
|
#
|
11369
11452
|
# @!attribute [rw] content_md5
|
@@ -11411,30 +11494,30 @@ module Aws::S3
|
|
11411
11494
|
# @return [String]
|
11412
11495
|
#
|
11413
11496
|
# @!attribute [rw] key
|
11414
|
-
# Key for which the PUT
|
11497
|
+
# Key for which the PUT action was initiated.
|
11415
11498
|
#
|
11416
|
-
# When using this
|
11417
|
-
# to the access point hostname. The access point hostname
|
11418
|
-
# form
|
11499
|
+
# When using this action with an access point, you must direct
|
11500
|
+
# requests to the access point hostname. The access point hostname
|
11501
|
+
# takes the form
|
11419
11502
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11420
|
-
# When using this
|
11503
|
+
# When using this action with an access point through the AWS SDKs,
|
11421
11504
|
# you provide the access point ARN in place of the bucket name. For
|
11422
11505
|
# more information about access point ARNs, see [Using Access
|
11423
11506
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11424
11507
|
#
|
11425
|
-
# When using this
|
11508
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11426
11509
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11427
11510
|
# takes the form
|
11428
11511
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11429
|
-
# When using this
|
11512
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11430
11513
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11431
11514
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11432
11515
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
11433
11516
|
#
|
11434
11517
|
#
|
11435
11518
|
#
|
11436
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11437
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11519
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11520
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
11438
11521
|
# @return [String]
|
11439
11522
|
#
|
11440
11523
|
# @!attribute [rw] request_payer
|
@@ -11454,7 +11537,7 @@ module Aws::S3
|
|
11454
11537
|
# @return [String]
|
11455
11538
|
#
|
11456
11539
|
# @!attribute [rw] expected_bucket_owner
|
11457
|
-
# The account
|
11540
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11458
11541
|
# by a different account, the request will fail with an HTTP `403
|
11459
11542
|
# (Access Denied)` error.
|
11460
11543
|
# @return [String]
|
@@ -11511,18 +11594,18 @@ module Aws::S3
|
|
11511
11594
|
# The bucket name containing the object that you want to place a Legal
|
11512
11595
|
# Hold on.
|
11513
11596
|
#
|
11514
|
-
# When using this
|
11515
|
-
# to the access point hostname. The access point hostname
|
11516
|
-
# form
|
11597
|
+
# When using this action with an access point, you must direct
|
11598
|
+
# requests to the access point hostname. The access point hostname
|
11599
|
+
# takes the form
|
11517
11600
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11518
|
-
# When using this
|
11601
|
+
# When using this action with an access point through the AWS SDKs,
|
11519
11602
|
# you provide the access point ARN in place of the bucket name. For
|
11520
11603
|
# more information about access point ARNs, see [Using Access
|
11521
11604
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11522
11605
|
#
|
11523
11606
|
#
|
11524
11607
|
#
|
11525
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11608
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11526
11609
|
# @return [String]
|
11527
11610
|
#
|
11528
11611
|
# @!attribute [rw] key
|
@@ -11558,7 +11641,7 @@ module Aws::S3
|
|
11558
11641
|
# @return [String]
|
11559
11642
|
#
|
11560
11643
|
# @!attribute [rw] expected_bucket_owner
|
11561
|
-
# The account
|
11644
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11562
11645
|
# by a different account, the request will fail with an HTTP `403
|
11563
11646
|
# (Access Denied)` error.
|
11564
11647
|
# @return [String]
|
@@ -11645,7 +11728,7 @@ module Aws::S3
|
|
11645
11728
|
# @return [String]
|
11646
11729
|
#
|
11647
11730
|
# @!attribute [rw] expected_bucket_owner
|
11648
|
-
# The account
|
11731
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
11649
11732
|
# by a different account, the request will fail with an HTTP `403
|
11650
11733
|
# (Access Denied)` error.
|
11651
11734
|
# @return [String]
|
@@ -11800,30 +11883,30 @@ module Aws::S3
|
|
11800
11883
|
# @return [IO]
|
11801
11884
|
#
|
11802
11885
|
# @!attribute [rw] bucket
|
11803
|
-
# The bucket name to which the PUT
|
11886
|
+
# The bucket name to which the PUT action was initiated.
|
11804
11887
|
#
|
11805
|
-
# When using this
|
11806
|
-
# to the access point hostname. The access point hostname
|
11807
|
-
# form
|
11888
|
+
# When using this action with an access point, you must direct
|
11889
|
+
# requests to the access point hostname. The access point hostname
|
11890
|
+
# takes the form
|
11808
11891
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11809
|
-
# When using this
|
11892
|
+
# When using this action with an access point through the AWS SDKs,
|
11810
11893
|
# you provide the access point ARN in place of the bucket name. For
|
11811
11894
|
# more information about access point ARNs, see [Using Access
|
11812
11895
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
11813
11896
|
#
|
11814
|
-
# When using this
|
11897
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11815
11898
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11816
11899
|
# takes the form
|
11817
11900
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11818
|
-
# When using this
|
11901
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
11819
11902
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
11820
11903
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
11821
11904
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
11822
11905
|
#
|
11823
11906
|
#
|
11824
11907
|
#
|
11825
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11826
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11908
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
11909
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
11827
11910
|
# @return [String]
|
11828
11911
|
#
|
11829
11912
|
# @!attribute [rw] cache_control
|
@@ -11933,7 +12016,7 @@ module Aws::S3
|
|
11933
12016
|
# @return [String]
|
11934
12017
|
#
|
11935
12018
|
# @!attribute [rw] key
|
11936
|
-
# Object key for which the PUT
|
12019
|
+
# Object key for which the PUT action was initiated.
|
11937
12020
|
# @return [String]
|
11938
12021
|
#
|
11939
12022
|
# @!attribute [rw] metadata
|
@@ -12031,8 +12114,8 @@ module Aws::S3
|
|
12031
12114
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket
|
12032
12115
|
# Key for object encryption with SSE-KMS.
|
12033
12116
|
#
|
12034
|
-
# Specifying this header with a PUT
|
12035
|
-
#
|
12117
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
12118
|
+
# settings for S3 Bucket Key.
|
12036
12119
|
# @return [Boolean]
|
12037
12120
|
#
|
12038
12121
|
# @!attribute [rw] request_payer
|
@@ -12071,7 +12154,7 @@ module Aws::S3
|
|
12071
12154
|
# @return [String]
|
12072
12155
|
#
|
12073
12156
|
# @!attribute [rw] expected_bucket_owner
|
12074
|
-
# The account
|
12157
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12075
12158
|
# by a different account, the request will fail with an HTTP `403
|
12076
12159
|
# (Access Denied)` error.
|
12077
12160
|
# @return [String]
|
@@ -12149,18 +12232,18 @@ module Aws::S3
|
|
12149
12232
|
# The bucket name that contains the object you want to apply this
|
12150
12233
|
# Object Retention configuration to.
|
12151
12234
|
#
|
12152
|
-
# When using this
|
12153
|
-
# to the access point hostname. The access point hostname
|
12154
|
-
# form
|
12235
|
+
# When using this action with an access point, you must direct
|
12236
|
+
# requests to the access point hostname. The access point hostname
|
12237
|
+
# takes the form
|
12155
12238
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12156
|
-
# When using this
|
12239
|
+
# When using this action with an access point through the AWS SDKs,
|
12157
12240
|
# you provide the access point ARN in place of the bucket name. For
|
12158
12241
|
# more information about access point ARNs, see [Using Access
|
12159
12242
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
12160
12243
|
#
|
12161
12244
|
#
|
12162
12245
|
#
|
12163
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
12246
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
12164
12247
|
# @return [String]
|
12165
12248
|
#
|
12166
12249
|
# @!attribute [rw] key
|
@@ -12190,7 +12273,7 @@ module Aws::S3
|
|
12190
12273
|
# @return [String]
|
12191
12274
|
#
|
12192
12275
|
# @!attribute [rw] bypass_governance_retention
|
12193
|
-
# Indicates whether this
|
12276
|
+
# Indicates whether this action should bypass Governance-mode
|
12194
12277
|
# restrictions.
|
12195
12278
|
# @return [Boolean]
|
12196
12279
|
#
|
@@ -12202,7 +12285,7 @@ module Aws::S3
|
|
12202
12285
|
# @return [String]
|
12203
12286
|
#
|
12204
12287
|
# @!attribute [rw] expected_bucket_owner
|
12205
|
-
# The account
|
12288
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12206
12289
|
# by a different account, the request will fail with an HTTP `403
|
12207
12290
|
# (Access Denied)` error.
|
12208
12291
|
# @return [String]
|
@@ -12251,33 +12334,34 @@ module Aws::S3
|
|
12251
12334
|
# ],
|
12252
12335
|
# },
|
12253
12336
|
# expected_bucket_owner: "AccountId",
|
12337
|
+
# request_payer: "requester", # accepts requester
|
12254
12338
|
# }
|
12255
12339
|
#
|
12256
12340
|
# @!attribute [rw] bucket
|
12257
12341
|
# The bucket name containing the object.
|
12258
12342
|
#
|
12259
|
-
# When using this
|
12260
|
-
# to the access point hostname. The access point hostname
|
12261
|
-
# form
|
12343
|
+
# When using this action with an access point, you must direct
|
12344
|
+
# requests to the access point hostname. The access point hostname
|
12345
|
+
# takes the form
|
12262
12346
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12263
|
-
# When using this
|
12347
|
+
# When using this action with an access point through the AWS SDKs,
|
12264
12348
|
# you provide the access point ARN in place of the bucket name. For
|
12265
12349
|
# more information about access point ARNs, see [Using Access
|
12266
12350
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
12267
12351
|
#
|
12268
|
-
# When using this
|
12352
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
12269
12353
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12270
12354
|
# takes the form
|
12271
12355
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
12272
|
-
# When using this
|
12356
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
12273
12357
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
12274
12358
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
12275
12359
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
12276
12360
|
#
|
12277
12361
|
#
|
12278
12362
|
#
|
12279
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
12280
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
12363
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
12364
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
12281
12365
|
# @return [String]
|
12282
12366
|
#
|
12283
12367
|
# @!attribute [rw] key
|
@@ -12300,11 +12384,23 @@ module Aws::S3
|
|
12300
12384
|
# @return [Types::Tagging]
|
12301
12385
|
#
|
12302
12386
|
# @!attribute [rw] expected_bucket_owner
|
12303
|
-
# The account
|
12387
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12304
12388
|
# by a different account, the request will fail with an HTTP `403
|
12305
12389
|
# (Access Denied)` error.
|
12306
12390
|
# @return [String]
|
12307
12391
|
#
|
12392
|
+
# @!attribute [rw] request_payer
|
12393
|
+
# Confirms that the requester knows that they will be charged for the
|
12394
|
+
# request. Bucket owners need not specify this parameter in their
|
12395
|
+
# requests. For information about downloading objects from requester
|
12396
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
12397
|
+
# in the *Amazon S3 Developer Guide*.
|
12398
|
+
#
|
12399
|
+
#
|
12400
|
+
#
|
12401
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
12402
|
+
# @return [String]
|
12403
|
+
#
|
12308
12404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest AWS API Documentation
|
12309
12405
|
#
|
12310
12406
|
class PutObjectTaggingRequest < Struct.new(
|
@@ -12313,7 +12409,8 @@ module Aws::S3
|
|
12313
12409
|
:version_id,
|
12314
12410
|
:content_md5,
|
12315
12411
|
:tagging,
|
12316
|
-
:expected_bucket_owner
|
12412
|
+
:expected_bucket_owner,
|
12413
|
+
:request_payer)
|
12317
12414
|
SENSITIVE = []
|
12318
12415
|
include Aws::Structure
|
12319
12416
|
end
|
@@ -12358,7 +12455,7 @@ module Aws::S3
|
|
12358
12455
|
# @return [Types::PublicAccessBlockConfiguration]
|
12359
12456
|
#
|
12360
12457
|
# @!attribute [rw] expected_bucket_owner
|
12361
|
-
# The account
|
12458
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
12362
12459
|
# by a different account, the request will fail with an HTTP `403
|
12363
12460
|
# (Access Denied)` error.
|
12364
12461
|
# @return [String]
|
@@ -12464,7 +12561,7 @@ module Aws::S3
|
|
12464
12561
|
# @return [String]
|
12465
12562
|
#
|
12466
12563
|
# @!attribute [rw] events
|
12467
|
-
# A collection of bucket events for which to send notifications
|
12564
|
+
# A collection of bucket events for which to send notifications.
|
12468
12565
|
# @return [Array<String>]
|
12469
12566
|
#
|
12470
12567
|
# @!attribute [rw] queue
|
@@ -12535,6 +12632,14 @@ module Aws::S3
|
|
12535
12632
|
# `ReplaceKeyPrefixWith` to `/documents`. Not required if one of the
|
12536
12633
|
# siblings is present. Can be present only if `ReplaceKeyWith` is not
|
12537
12634
|
# provided.
|
12635
|
+
#
|
12636
|
+
# Replacement must be made for object keys containing special
|
12637
|
+
# characters (such as carriage returns) when using XML requests. For
|
12638
|
+
# more information, see [ XML related object key constraints][1].
|
12639
|
+
#
|
12640
|
+
#
|
12641
|
+
#
|
12642
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12538
12643
|
# @return [String]
|
12539
12644
|
#
|
12540
12645
|
# @!attribute [rw] replace_key_with
|
@@ -12542,6 +12647,14 @@ module Aws::S3
|
|
12542
12647
|
# redirect request to `error.html`. Not required if one of the
|
12543
12648
|
# siblings is present. Can be present only if `ReplaceKeyPrefixWith`
|
12544
12649
|
# is not provided.
|
12650
|
+
#
|
12651
|
+
# Replacement must be made for object keys containing special
|
12652
|
+
# characters (such as carriage returns) when using XML requests. For
|
12653
|
+
# more information, see [ XML related object key constraints][1].
|
12654
|
+
#
|
12655
|
+
#
|
12656
|
+
#
|
12657
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12545
12658
|
# @return [String]
|
12546
12659
|
#
|
12547
12660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect AWS API Documentation
|
@@ -12805,6 +12918,14 @@ module Aws::S3
|
|
12805
12918
|
# which the rule applies. The maximum prefix length is 1,024
|
12806
12919
|
# characters. To include all objects in a bucket, specify an empty
|
12807
12920
|
# string.
|
12921
|
+
#
|
12922
|
+
# Replacement must be made for object keys containing special
|
12923
|
+
# characters (such as carriage returns) when using XML requests. For
|
12924
|
+
# more information, see [ XML related object key constraints][1].
|
12925
|
+
#
|
12926
|
+
#
|
12927
|
+
#
|
12928
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12808
12929
|
# @return [String]
|
12809
12930
|
#
|
12810
12931
|
# @!attribute [rw] filter
|
@@ -12886,7 +13007,7 @@ module Aws::S3
|
|
12886
13007
|
# filters in an `And` tag.
|
12887
13008
|
#
|
12888
13009
|
# * If you specify a filter based on multiple tags, wrap the `Tag`
|
12889
|
-
# elements in an `And` tag
|
13010
|
+
# elements in an `And` tag.
|
12890
13011
|
#
|
12891
13012
|
# @note When making an API call, you may pass ReplicationRuleAndOperator
|
12892
13013
|
# data as a hash:
|
@@ -12946,6 +13067,14 @@ module Aws::S3
|
|
12946
13067
|
# @!attribute [rw] prefix
|
12947
13068
|
# An object key name prefix that identifies the subset of objects to
|
12948
13069
|
# which the rule applies.
|
13070
|
+
#
|
13071
|
+
# Replacement must be made for object keys containing special
|
13072
|
+
# characters (such as carriage returns) when using XML requests. For
|
13073
|
+
# more information, see [ XML related object key constraints][1].
|
13074
|
+
#
|
13075
|
+
#
|
13076
|
+
#
|
13077
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
12949
13078
|
# @return [String]
|
12950
13079
|
#
|
12951
13080
|
# @!attribute [rw] tag
|
@@ -13191,32 +13320,32 @@ module Aws::S3
|
|
13191
13320
|
# @!attribute [rw] bucket
|
13192
13321
|
# The bucket name containing the object to restore.
|
13193
13322
|
#
|
13194
|
-
# When using this
|
13195
|
-
# to the access point hostname. The access point hostname
|
13196
|
-
# form
|
13323
|
+
# When using this action with an access point, you must direct
|
13324
|
+
# requests to the access point hostname. The access point hostname
|
13325
|
+
# takes the form
|
13197
13326
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
13198
|
-
# When using this
|
13327
|
+
# When using this action with an access point through the AWS SDKs,
|
13199
13328
|
# you provide the access point ARN in place of the bucket name. For
|
13200
13329
|
# more information about access point ARNs, see [Using Access
|
13201
13330
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
13202
13331
|
#
|
13203
|
-
# When using this
|
13332
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
13204
13333
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13205
13334
|
# takes the form
|
13206
13335
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
13207
|
-
# When using this
|
13336
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
13208
13337
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
13209
13338
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
13210
13339
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
13211
13340
|
#
|
13212
13341
|
#
|
13213
13342
|
#
|
13214
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
13215
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
13343
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
13344
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
13216
13345
|
# @return [String]
|
13217
13346
|
#
|
13218
13347
|
# @!attribute [rw] key
|
13219
|
-
# Object key for which the
|
13348
|
+
# Object key for which the action was initiated.
|
13220
13349
|
# @return [String]
|
13221
13350
|
#
|
13222
13351
|
# @!attribute [rw] version_id
|
@@ -13240,7 +13369,7 @@ module Aws::S3
|
|
13240
13369
|
# @return [String]
|
13241
13370
|
#
|
13242
13371
|
# @!attribute [rw] expected_bucket_owner
|
13243
|
-
# The account
|
13372
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
13244
13373
|
# by a different account, the request will fail with an HTTP `403
|
13245
13374
|
# (Access Denied)` error.
|
13246
13375
|
# @return [String]
|
@@ -13394,8 +13523,7 @@ module Aws::S3
|
|
13394
13523
|
|
13395
13524
|
# Specifies the redirect behavior and when a redirect is applied. For
|
13396
13525
|
# more information about routing rules, see [Configuring advanced
|
13397
|
-
# conditional redirects][1] in the *Amazon
|
13398
|
-
# Developer Guide*.
|
13526
|
+
# conditional redirects][1] in the *Amazon S3 User Guide*.
|
13399
13527
|
#
|
13400
13528
|
#
|
13401
13529
|
#
|
@@ -13444,7 +13572,7 @@ module Aws::S3
|
|
13444
13572
|
# Specifies lifecycle rules for an Amazon S3 bucket. For more
|
13445
13573
|
# information, see [Put Bucket Lifecycle Configuration][1] in the
|
13446
13574
|
# *Amazon Simple Storage Service API Reference*. For examples, see [Put
|
13447
|
-
# Bucket Lifecycle Configuration Examples][2]
|
13575
|
+
# Bucket Lifecycle Configuration Examples][2].
|
13448
13576
|
#
|
13449
13577
|
#
|
13450
13578
|
#
|
@@ -13492,6 +13620,14 @@ module Aws::S3
|
|
13492
13620
|
# @!attribute [rw] prefix
|
13493
13621
|
# Object key prefix that identifies one or more objects to which this
|
13494
13622
|
# rule applies.
|
13623
|
+
#
|
13624
|
+
# Replacement must be made for object keys containing special
|
13625
|
+
# characters (such as carriage returns) when using XML requests. For
|
13626
|
+
# more information, see [ XML related object key constraints][1].
|
13627
|
+
#
|
13628
|
+
#
|
13629
|
+
#
|
13630
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
13495
13631
|
# @return [String]
|
13496
13632
|
#
|
13497
13633
|
# @!attribute [rw] status
|
@@ -13503,7 +13639,7 @@ module Aws::S3
|
|
13503
13639
|
# Specifies when an object transitions to a specified storage class.
|
13504
13640
|
# For more information about Amazon S3 lifecycle configuration rules,
|
13505
13641
|
# see [Transitioning Objects Using Amazon S3 Lifecycle][1] in the
|
13506
|
-
# *Amazon
|
13642
|
+
# *Amazon S3 User Guide*.
|
13507
13643
|
#
|
13508
13644
|
#
|
13509
13645
|
#
|
@@ -13902,7 +14038,7 @@ module Aws::S3
|
|
13902
14038
|
# @return [Types::ScanRange]
|
13903
14039
|
#
|
13904
14040
|
# @!attribute [rw] expected_bucket_owner
|
13905
|
-
# The account
|
14041
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
13906
14042
|
# by a different account, the request will fail with an HTTP `403
|
13907
14043
|
# (Access Denied)` error.
|
13908
14044
|
# @return [String]
|
@@ -14107,7 +14243,7 @@ module Aws::S3
|
|
14107
14243
|
# Bucket Key. By default, S3 Bucket Key is not enabled.
|
14108
14244
|
#
|
14109
14245
|
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
|
14110
|
-
#
|
14246
|
+
# S3 User Guide*.
|
14111
14247
|
#
|
14112
14248
|
#
|
14113
14249
|
#
|
@@ -14468,8 +14604,8 @@ module Aws::S3
|
|
14468
14604
|
#
|
14469
14605
|
# @!attribute [rw] events
|
14470
14606
|
# The Amazon S3 bucket event about which to send notifications. For
|
14471
|
-
# more information, see [Supported Event Types][1] in the *Amazon
|
14472
|
-
#
|
14607
|
+
# more information, see [Supported Event Types][1] in the *Amazon S3
|
14608
|
+
# User Guide*.
|
14473
14609
|
#
|
14474
14610
|
#
|
14475
14611
|
#
|
@@ -14548,8 +14684,8 @@ module Aws::S3
|
|
14548
14684
|
|
14549
14685
|
# Specifies when an object transitions to a specified storage class. For
|
14550
14686
|
# more information about Amazon S3 lifecycle configuration rules, see
|
14551
|
-
# [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon
|
14552
|
-
#
|
14687
|
+
# [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon S3
|
14688
|
+
# User Guide*.
|
14553
14689
|
#
|
14554
14690
|
#
|
14555
14691
|
#
|
@@ -14676,28 +14812,28 @@ module Aws::S3
|
|
14676
14812
|
# @!attribute [rw] bucket
|
14677
14813
|
# The bucket name.
|
14678
14814
|
#
|
14679
|
-
# When using this
|
14680
|
-
# to the access point hostname. The access point hostname
|
14681
|
-
# form
|
14815
|
+
# When using this action with an access point, you must direct
|
14816
|
+
# requests to the access point hostname. The access point hostname
|
14817
|
+
# takes the form
|
14682
14818
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
14683
|
-
# When using this
|
14819
|
+
# When using this action with an access point through the AWS SDKs,
|
14684
14820
|
# you provide the access point ARN in place of the bucket name. For
|
14685
14821
|
# more information about access point ARNs, see [Using Access
|
14686
14822
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
14687
14823
|
#
|
14688
|
-
# When using this
|
14824
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
14689
14825
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
14690
14826
|
# takes the form
|
14691
14827
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
14692
|
-
# When using this
|
14828
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
14693
14829
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
14694
14830
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
14695
14831
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
14696
14832
|
#
|
14697
14833
|
#
|
14698
14834
|
#
|
14699
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14700
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14835
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
14836
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
14701
14837
|
# @return [String]
|
14702
14838
|
#
|
14703
14839
|
# @!attribute [rw] copy_source
|
@@ -14744,7 +14880,7 @@ module Aws::S3
|
|
14744
14880
|
#
|
14745
14881
|
#
|
14746
14882
|
#
|
14747
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14883
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
14748
14884
|
# @return [String]
|
14749
14885
|
#
|
14750
14886
|
# @!attribute [rw] copy_source_if_match
|
@@ -14839,13 +14975,13 @@ module Aws::S3
|
|
14839
14975
|
# @return [String]
|
14840
14976
|
#
|
14841
14977
|
# @!attribute [rw] expected_bucket_owner
|
14842
|
-
# The account
|
14978
|
+
# The account ID of the expected destination bucket owner. If the
|
14843
14979
|
# destination bucket is owned by a different account, the request will
|
14844
14980
|
# fail with an HTTP `403 (Access Denied)` error.
|
14845
14981
|
# @return [String]
|
14846
14982
|
#
|
14847
14983
|
# @!attribute [rw] expected_source_bucket_owner
|
14848
|
-
# The account
|
14984
|
+
# The account ID of the expected source bucket owner. If the source
|
14849
14985
|
# bucket is owned by a different account, the request will fail with
|
14850
14986
|
# an HTTP `403 (Access Denied)` error.
|
14851
14987
|
# @return [String]
|
@@ -14953,28 +15089,28 @@ module Aws::S3
|
|
14953
15089
|
# @!attribute [rw] bucket
|
14954
15090
|
# The name of the bucket to which the multipart upload was initiated.
|
14955
15091
|
#
|
14956
|
-
# When using this
|
14957
|
-
# to the access point hostname. The access point hostname
|
14958
|
-
# form
|
15092
|
+
# When using this action with an access point, you must direct
|
15093
|
+
# requests to the access point hostname. The access point hostname
|
15094
|
+
# takes the form
|
14959
15095
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
14960
|
-
# When using this
|
15096
|
+
# When using this action with an access point through the AWS SDKs,
|
14961
15097
|
# you provide the access point ARN in place of the bucket name. For
|
14962
15098
|
# more information about access point ARNs, see [Using Access
|
14963
15099
|
# Points][1] in the *Amazon Simple Storage Service Developer Guide*.
|
14964
15100
|
#
|
14965
|
-
# When using this
|
15101
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
14966
15102
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
14967
15103
|
# takes the form
|
14968
15104
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
14969
|
-
# When using this
|
15105
|
+
# When using this action using S3 on Outposts through the AWS SDKs,
|
14970
15106
|
# you provide the Outposts bucket ARN in place of the bucket name. For
|
14971
15107
|
# more information about S3 on Outposts ARNs, see [Using S3 on
|
14972
15108
|
# Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
|
14973
15109
|
#
|
14974
15110
|
#
|
14975
15111
|
#
|
14976
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
14977
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
15112
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
|
15113
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
14978
15114
|
# @return [String]
|
14979
15115
|
#
|
14980
15116
|
# @!attribute [rw] content_length
|
@@ -15036,7 +15172,7 @@ module Aws::S3
|
|
15036
15172
|
# @return [String]
|
15037
15173
|
#
|
15038
15174
|
# @!attribute [rw] expected_bucket_owner
|
15039
|
-
# The account
|
15175
|
+
# The account ID of the expected bucket owner. If the bucket is owned
|
15040
15176
|
# by a different account, the request will fail with an HTTP `403
|
15041
15177
|
# (Access Denied)` error.
|
15042
15178
|
# @return [String]
|
@@ -15160,6 +15296,315 @@ module Aws::S3
|
|
15160
15296
|
include Aws::Structure
|
15161
15297
|
end
|
15162
15298
|
|
15299
|
+
# @note When making an API call, you may pass WriteGetObjectResponseRequest
|
15300
|
+
# data as a hash:
|
15301
|
+
#
|
15302
|
+
# {
|
15303
|
+
# request_route: "RequestRoute", # required
|
15304
|
+
# request_token: "RequestToken", # required
|
15305
|
+
# body: source_file,
|
15306
|
+
# status_code: 1,
|
15307
|
+
# error_code: "ErrorCode",
|
15308
|
+
# error_message: "ErrorMessage",
|
15309
|
+
# accept_ranges: "AcceptRanges",
|
15310
|
+
# cache_control: "CacheControl",
|
15311
|
+
# content_disposition: "ContentDisposition",
|
15312
|
+
# content_encoding: "ContentEncoding",
|
15313
|
+
# content_language: "ContentLanguage",
|
15314
|
+
# content_length: 1,
|
15315
|
+
# content_range: "ContentRange",
|
15316
|
+
# content_type: "ContentType",
|
15317
|
+
# delete_marker: false,
|
15318
|
+
# etag: "ETag",
|
15319
|
+
# expires: Time.now,
|
15320
|
+
# expiration: "Expiration",
|
15321
|
+
# last_modified: Time.now,
|
15322
|
+
# missing_meta: 1,
|
15323
|
+
# metadata: {
|
15324
|
+
# "MetadataKey" => "MetadataValue",
|
15325
|
+
# },
|
15326
|
+
# object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
|
15327
|
+
# object_lock_legal_hold_status: "ON", # accepts ON, OFF
|
15328
|
+
# object_lock_retain_until_date: Time.now,
|
15329
|
+
# parts_count: 1,
|
15330
|
+
# replication_status: "COMPLETE", # accepts COMPLETE, PENDING, FAILED, REPLICA
|
15331
|
+
# request_charged: "requester", # accepts requester
|
15332
|
+
# restore: "Restore",
|
15333
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
15334
|
+
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
15335
|
+
# ssekms_key_id: "SSEKMSKeyId",
|
15336
|
+
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
15337
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
15338
|
+
# tag_count: 1,
|
15339
|
+
# version_id: "ObjectVersionId",
|
15340
|
+
# bucket_key_enabled: false,
|
15341
|
+
# }
|
15342
|
+
#
|
15343
|
+
# @!attribute [rw] request_route
|
15344
|
+
# Route prefix to the HTTP URL generated.
|
15345
|
+
# @return [String]
|
15346
|
+
#
|
15347
|
+
# @!attribute [rw] request_token
|
15348
|
+
# A single use encrypted token that maps `WriteGetObjectResponse` to
|
15349
|
+
# the end user `GetObject` request.
|
15350
|
+
# @return [String]
|
15351
|
+
#
|
15352
|
+
# @!attribute [rw] body
|
15353
|
+
# The object data.
|
15354
|
+
# @return [IO]
|
15355
|
+
#
|
15356
|
+
# @!attribute [rw] status_code
|
15357
|
+
# The integer status code for an HTTP response of a corresponding
|
15358
|
+
# `GetObject` request.
|
15359
|
+
#
|
15360
|
+
# **Status Codes**
|
15361
|
+
#
|
15362
|
+
# * *200 - OK*
|
15363
|
+
#
|
15364
|
+
# * *206 - Partial Content*
|
15365
|
+
#
|
15366
|
+
# * *304 - Not Modified*
|
15367
|
+
#
|
15368
|
+
# * *400 - Bad Request*
|
15369
|
+
#
|
15370
|
+
# * *401 - Unauthorized*
|
15371
|
+
#
|
15372
|
+
# * *403 - Forbidden*
|
15373
|
+
#
|
15374
|
+
# * *404 - Not Found*
|
15375
|
+
#
|
15376
|
+
# * *405 - Method Not Allowed*
|
15377
|
+
#
|
15378
|
+
# * *409 - Conflict*
|
15379
|
+
#
|
15380
|
+
# * *411 - Length Required*
|
15381
|
+
#
|
15382
|
+
# * *412 - Precondition Failed*
|
15383
|
+
#
|
15384
|
+
# * *416 - Range Not Satisfiable*
|
15385
|
+
#
|
15386
|
+
# * *500 - Internal Server Error*
|
15387
|
+
#
|
15388
|
+
# * *503 - Service Unavailable*
|
15389
|
+
# @return [Integer]
|
15390
|
+
#
|
15391
|
+
# @!attribute [rw] error_code
|
15392
|
+
# A string that uniquely identifies an error condition. Returned in
|
15393
|
+
# the <Code> tag of the error XML response for a corresponding
|
15394
|
+
# `GetObject` call. Cannot be used with a successful `StatusCode`
|
15395
|
+
# header or when the transformed object is provided in the body.
|
15396
|
+
# @return [String]
|
15397
|
+
#
|
15398
|
+
# @!attribute [rw] error_message
|
15399
|
+
# Contains a generic description of the error condition. Returned in
|
15400
|
+
# the <Message> tag of the error XML response for a
|
15401
|
+
# corresponding `GetObject` call. Cannot be used with a successful
|
15402
|
+
# `StatusCode` header or when the transformed object is provided in
|
15403
|
+
# body.
|
15404
|
+
# @return [String]
|
15405
|
+
#
|
15406
|
+
# @!attribute [rw] accept_ranges
|
15407
|
+
# Indicates that a range of bytes was specified.
|
15408
|
+
# @return [String]
|
15409
|
+
#
|
15410
|
+
# @!attribute [rw] cache_control
|
15411
|
+
# Specifies caching behavior along the request/reply chain.
|
15412
|
+
# @return [String]
|
15413
|
+
#
|
15414
|
+
# @!attribute [rw] content_disposition
|
15415
|
+
# Specifies presentational information for the object.
|
15416
|
+
# @return [String]
|
15417
|
+
#
|
15418
|
+
# @!attribute [rw] content_encoding
|
15419
|
+
# Specifies what content encodings have been applied to the object and
|
15420
|
+
# thus what decoding mechanisms must be applied to obtain the
|
15421
|
+
# media-type referenced by the Content-Type header field.
|
15422
|
+
# @return [String]
|
15423
|
+
#
|
15424
|
+
# @!attribute [rw] content_language
|
15425
|
+
# The language the content is in.
|
15426
|
+
# @return [String]
|
15427
|
+
#
|
15428
|
+
# @!attribute [rw] content_length
|
15429
|
+
# The size of the content body in bytes.
|
15430
|
+
# @return [Integer]
|
15431
|
+
#
|
15432
|
+
# @!attribute [rw] content_range
|
15433
|
+
# The portion of the object returned in the response.
|
15434
|
+
# @return [String]
|
15435
|
+
#
|
15436
|
+
# @!attribute [rw] content_type
|
15437
|
+
# A standard MIME type describing the format of the object data.
|
15438
|
+
# @return [String]
|
15439
|
+
#
|
15440
|
+
# @!attribute [rw] delete_marker
|
15441
|
+
# Specifies whether an object stored in Amazon S3 is (`true`) or is
|
15442
|
+
# not (`false`) a delete marker.
|
15443
|
+
# @return [Boolean]
|
15444
|
+
#
|
15445
|
+
# @!attribute [rw] etag
|
15446
|
+
# An opaque identifier assigned by a web server to a specific version
|
15447
|
+
# of a resource found at a URL.
|
15448
|
+
# @return [String]
|
15449
|
+
#
|
15450
|
+
# @!attribute [rw] expires
|
15451
|
+
# The date and time at which the object is no longer cacheable.
|
15452
|
+
# @return [Time]
|
15453
|
+
#
|
15454
|
+
# @!attribute [rw] expiration
|
15455
|
+
# If object stored in Amazon S3 expiration is configured (see PUT
|
15456
|
+
# Bucket lifecycle) it includes expiry-date and rule-id key-value
|
15457
|
+
# pairs providing object expiration information. The value of the
|
15458
|
+
# rule-id is URL encoded.
|
15459
|
+
# @return [String]
|
15460
|
+
#
|
15461
|
+
# @!attribute [rw] last_modified
|
15462
|
+
# The date and time that the object was last modified.
|
15463
|
+
# @return [Time]
|
15464
|
+
#
|
15465
|
+
# @!attribute [rw] missing_meta
|
15466
|
+
# Set to the number of metadata entries not returned in `x-amz-meta`
|
15467
|
+
# headers. This can happen if you create metadata using an API like
|
15468
|
+
# SOAP that supports more flexible metadata than the REST API. For
|
15469
|
+
# example, using SOAP, you can create metadata whose values are not
|
15470
|
+
# legal HTTP headers.
|
15471
|
+
# @return [Integer]
|
15472
|
+
#
|
15473
|
+
# @!attribute [rw] metadata
|
15474
|
+
# A map of metadata to store with the object in S3.
|
15475
|
+
# @return [Hash<String,String>]
|
15476
|
+
#
|
15477
|
+
# @!attribute [rw] object_lock_mode
|
15478
|
+
# Indicates whether an object stored in Amazon S3 has Object Lock
|
15479
|
+
# enabled. For more information about S3 Object Lock, see [Object
|
15480
|
+
# Lock][1].
|
15481
|
+
#
|
15482
|
+
#
|
15483
|
+
#
|
15484
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
|
15485
|
+
# @return [String]
|
15486
|
+
#
|
15487
|
+
# @!attribute [rw] object_lock_legal_hold_status
|
15488
|
+
# Indicates whether an object stored in Amazon S3 has an active legal
|
15489
|
+
# hold.
|
15490
|
+
# @return [String]
|
15491
|
+
#
|
15492
|
+
# @!attribute [rw] object_lock_retain_until_date
|
15493
|
+
# The date and time when Object Lock is configured to expire.
|
15494
|
+
# @return [Time]
|
15495
|
+
#
|
15496
|
+
# @!attribute [rw] parts_count
|
15497
|
+
# The count of parts this object has.
|
15498
|
+
# @return [Integer]
|
15499
|
+
#
|
15500
|
+
# @!attribute [rw] replication_status
|
15501
|
+
# Indicates if request involves bucket that is either a source or
|
15502
|
+
# destination in a Replication rule. For more information about S3
|
15503
|
+
# Replication, see [Replication][1].
|
15504
|
+
#
|
15505
|
+
#
|
15506
|
+
#
|
15507
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html
|
15508
|
+
# @return [String]
|
15509
|
+
#
|
15510
|
+
# @!attribute [rw] request_charged
|
15511
|
+
# If present, indicates that the requester was successfully charged
|
15512
|
+
# for the request.
|
15513
|
+
# @return [String]
|
15514
|
+
#
|
15515
|
+
# @!attribute [rw] restore
|
15516
|
+
# Provides information about object restoration operation and
|
15517
|
+
# expiration time of the restored object copy.
|
15518
|
+
# @return [String]
|
15519
|
+
#
|
15520
|
+
# @!attribute [rw] server_side_encryption
|
15521
|
+
# The server-side encryption algorithm used when storing requested
|
15522
|
+
# object in Amazon S3 (for example, AES256, aws:kms).
|
15523
|
+
# @return [String]
|
15524
|
+
#
|
15525
|
+
# @!attribute [rw] sse_customer_algorithm
|
15526
|
+
# Encryption algorithm used if server-side encryption with a
|
15527
|
+
# customer-provided encryption key was specified for object stored in
|
15528
|
+
# Amazon S3.
|
15529
|
+
# @return [String]
|
15530
|
+
#
|
15531
|
+
# @!attribute [rw] ssekms_key_id
|
15532
|
+
# If present, specifies the ID of the AWS Key Management Service (AWS
|
15533
|
+
# KMS) symmetric customer managed customer master key (CMK) that was
|
15534
|
+
# used for stored in Amazon S3 object.
|
15535
|
+
# @return [String]
|
15536
|
+
#
|
15537
|
+
# @!attribute [rw] sse_customer_key_md5
|
15538
|
+
# 128-bit MD5 digest of customer-provided encryption key used in
|
15539
|
+
# Amazon S3 to encrypt data stored in S3. For more information, see
|
15540
|
+
# [Protecting data using server-side encryption with customer-provided
|
15541
|
+
# encryption keys (SSE-C)][1].
|
15542
|
+
#
|
15543
|
+
#
|
15544
|
+
#
|
15545
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
|
15546
|
+
# @return [String]
|
15547
|
+
#
|
15548
|
+
# @!attribute [rw] storage_class
|
15549
|
+
# The class of storage used to store object in Amazon S3.
|
15550
|
+
# @return [String]
|
15551
|
+
#
|
15552
|
+
# @!attribute [rw] tag_count
|
15553
|
+
# The number of tags, if any, on the object.
|
15554
|
+
# @return [Integer]
|
15555
|
+
#
|
15556
|
+
# @!attribute [rw] version_id
|
15557
|
+
# An ID used to reference a specific version of the object.
|
15558
|
+
# @return [String]
|
15559
|
+
#
|
15560
|
+
# @!attribute [rw] bucket_key_enabled
|
15561
|
+
# Indicates whether the object stored in Amazon S3 uses an S3 bucket
|
15562
|
+
# key for server-side encryption with AWS KMS (SSE-KMS).
|
15563
|
+
# @return [Boolean]
|
15564
|
+
#
|
15565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WriteGetObjectResponseRequest AWS API Documentation
|
15566
|
+
#
|
15567
|
+
class WriteGetObjectResponseRequest < Struct.new(
|
15568
|
+
:request_route,
|
15569
|
+
:request_token,
|
15570
|
+
:body,
|
15571
|
+
:status_code,
|
15572
|
+
:error_code,
|
15573
|
+
:error_message,
|
15574
|
+
:accept_ranges,
|
15575
|
+
:cache_control,
|
15576
|
+
:content_disposition,
|
15577
|
+
:content_encoding,
|
15578
|
+
:content_language,
|
15579
|
+
:content_length,
|
15580
|
+
:content_range,
|
15581
|
+
:content_type,
|
15582
|
+
:delete_marker,
|
15583
|
+
:etag,
|
15584
|
+
:expires,
|
15585
|
+
:expiration,
|
15586
|
+
:last_modified,
|
15587
|
+
:missing_meta,
|
15588
|
+
:metadata,
|
15589
|
+
:object_lock_mode,
|
15590
|
+
:object_lock_legal_hold_status,
|
15591
|
+
:object_lock_retain_until_date,
|
15592
|
+
:parts_count,
|
15593
|
+
:replication_status,
|
15594
|
+
:request_charged,
|
15595
|
+
:restore,
|
15596
|
+
:server_side_encryption,
|
15597
|
+
:sse_customer_algorithm,
|
15598
|
+
:ssekms_key_id,
|
15599
|
+
:sse_customer_key_md5,
|
15600
|
+
:storage_class,
|
15601
|
+
:tag_count,
|
15602
|
+
:version_id,
|
15603
|
+
:bucket_key_enabled)
|
15604
|
+
SENSITIVE = [:ssekms_key_id]
|
15605
|
+
include Aws::Structure
|
15606
|
+
end
|
15607
|
+
|
15163
15608
|
# The container for selecting objects from a content event stream.
|
15164
15609
|
#
|
15165
15610
|
# EventStream is an Enumerator of Events.
|