aws-sdk-s3 1.87.0 → 1.96.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +778 -0
  3. data/LICENSE.txt +202 -0
  4. data/VERSION +1 -0
  5. data/lib/aws-sdk-s3.rb +2 -2
  6. data/lib/aws-sdk-s3/arn/access_point_arn.rb +15 -8
  7. data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +69 -0
  8. data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +10 -8
  9. data/lib/aws-sdk-s3/bucket.rb +22 -21
  10. data/lib/aws-sdk-s3/bucket_acl.rb +6 -4
  11. data/lib/aws-sdk-s3/bucket_cors.rb +5 -5
  12. data/lib/aws-sdk-s3/bucket_lifecycle.rb +3 -3
  13. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +3 -3
  14. data/lib/aws-sdk-s3/bucket_logging.rb +3 -4
  15. data/lib/aws-sdk-s3/bucket_notification.rb +2 -2
  16. data/lib/aws-sdk-s3/bucket_policy.rb +3 -3
  17. data/lib/aws-sdk-s3/bucket_request_payment.rb +5 -6
  18. data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
  19. data/lib/aws-sdk-s3/bucket_versioning.rb +4 -4
  20. data/lib/aws-sdk-s3/bucket_website.rb +3 -3
  21. data/lib/aws-sdk-s3/client.rb +1368 -1015
  22. data/lib/aws-sdk-s3/client_api.rb +62 -1
  23. data/lib/aws-sdk-s3/customizations/bucket.rb +8 -3
  24. data/lib/aws-sdk-s3/customizations/object.rb +39 -14
  25. data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +3 -3
  26. data/lib/aws-sdk-s3/errors.rb +1 -1
  27. data/lib/aws-sdk-s3/event_streams.rb +1 -1
  28. data/lib/aws-sdk-s3/file_uploader.rb +2 -2
  29. data/lib/aws-sdk-s3/multipart_upload.rb +7 -7
  30. data/lib/aws-sdk-s3/multipart_upload_part.rb +7 -7
  31. data/lib/aws-sdk-s3/object.rb +127 -42
  32. data/lib/aws-sdk-s3/object_acl.rb +7 -5
  33. data/lib/aws-sdk-s3/object_summary.rb +40 -41
  34. data/lib/aws-sdk-s3/object_version.rb +14 -14
  35. data/lib/aws-sdk-s3/plugins/accelerate.rb +7 -4
  36. data/lib/aws-sdk-s3/plugins/arn.rb +96 -55
  37. data/lib/aws-sdk-s3/plugins/dualstack.rb +10 -3
  38. data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +2 -1
  39. data/lib/aws-sdk-s3/plugins/get_bucket_location_fix.rb +1 -1
  40. data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +11 -11
  41. data/lib/aws-sdk-s3/plugins/md5s.rb +1 -1
  42. data/lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb +25 -0
  43. data/lib/aws-sdk-s3/plugins/s3_signer.rb +24 -26
  44. data/lib/aws-sdk-s3/presigner.rb +27 -30
  45. data/lib/aws-sdk-s3/resource.rb +5 -3
  46. data/lib/aws-sdk-s3/types.rb +1029 -570
  47. data/lib/aws-sdk-s3/waiters.rb +1 -1
  48. metadata +13 -9
@@ -16,16 +16,22 @@ for all operations.
16
16
 
17
17
  def add_handlers(handlers, config)
18
18
  handlers.add(OptionHandler, step: :initialize)
19
- handlers.add(DualstackHandler, step: :build, priority: 0)
19
+ handlers.add(DualstackHandler, step: :build, priority: 11)
20
20
  end
21
21
 
22
22
  # @api private
23
23
  class OptionHandler < Seahorse::Client::Handler
24
24
  def call(context)
25
+ # Support client configuration and per-operation configuration
25
26
  if context.params.is_a?(Hash)
26
27
  dualstack = context.params.delete(:use_dualstack_endpoint)
27
28
  end
28
29
  dualstack = context.config.use_dualstack_endpoint if dualstack.nil?
30
+ # Raise if :endpoint and dualstack are both provided
31
+ if dualstack && !context.config.regional_endpoint
32
+ raise ArgumentError,
33
+ 'Cannot use both :use_dualstack_endpoint and :endpoint'
34
+ end
29
35
  context[:use_dualstack_endpoint] = dualstack
30
36
  @handler.call(context)
31
37
  end
@@ -34,7 +40,9 @@ for all operations.
34
40
  # @api private
35
41
  class DualstackHandler < Seahorse::Client::Handler
36
42
  def call(context)
37
- apply_dualstack_endpoint(context) if use_dualstack_endpoint?(context)
43
+ if context.config.regional_endpoint && use_dualstack_endpoint?(context)
44
+ apply_dualstack_endpoint(context)
45
+ end
38
46
  @handler.call(context)
39
47
  end
40
48
 
@@ -42,7 +50,6 @@ for all operations.
42
50
  def apply_dualstack_endpoint(context)
43
51
  bucket_name = context.params[:bucket]
44
52
  region = context.config.region
45
- context.config.force_path_style
46
53
  dns_suffix = Aws::Partitions::EndpointProvider.dns_suffix_for(region)
47
54
 
48
55
  if use_bucket_dns?(bucket_name, context)
@@ -15,7 +15,8 @@ module Aws
15
15
  class Handler < Seahorse::Client::Handler
16
16
 
17
17
  def call(context)
18
- if context.http_request.body && context.http_request.body.size > 0
18
+ body = context.http_request.body
19
+ if body.respond_to?(:size) && body.size > 0
19
20
  context.http_request.headers['expect'] = '100-continue'
20
21
  end
21
22
  @handler.call(context)
@@ -11,7 +11,7 @@ module Aws
11
11
  @handler.call(context).on(200) do |response|
12
12
  response.data = S3::Types::GetBucketLocationOutput.new
13
13
  xml = context.http_response.body_contents
14
- matches = xml.match(/>(.+?)<\/LocationConstraint>/)
14
+ matches = xml.match(/<LocationConstraint.*?>(.+?)<\/LocationConstraint>/)
15
15
  response.data[:location_constraint] = matches ? matches[1] : ''
16
16
  end
17
17
  end
@@ -10,14 +10,15 @@ module Aws
10
10
  default: 'legacy',
11
11
  doc_type: String,
12
12
  docstring: <<-DOCS) do |cfg|
13
- Passing in `regional` to enable regional endpoint for S3's `us-east-1`
14
- region. Defaults to `legacy` mode using global endpoint.
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
- if config.region == 'us-east-1'
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,15 +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
- # keep legacy global endpoint pattern by default
30
- if context.config.s3_us_east_1_regional_endpoint == 'legacy'
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
- # if it's an ARN, don't touch the endpoint at all
33
- # TODO this should use context.metadata[:s3_arn] later
34
- unless host.include?('.s3-outposts.') || host.include?('.s3-accesspoint.')
35
- legacy_host = IADRegionalEndpoint.legacy_host(host)
36
- context.http_request.endpoint.host = legacy_host
37
- end
36
+ legacy_host = IADRegionalEndpoint.legacy_host(host)
37
+ context.http_request.endpoint.host = legacy_host
38
38
  end
39
39
  @handler.call(context)
40
40
  end
@@ -23,7 +23,7 @@ module Aws
23
23
 
24
24
  def call(context)
25
25
  body = context.http_request.body
26
- if body.size > 0
26
+ if body.respond_to?(:size) && body.size > 0
27
27
  context.http_request.headers['Content-Md5'] ||= md5(body)
28
28
  end
29
29
  @handler.call(context)
@@ -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
@@ -73,22 +73,20 @@ module Aws
73
73
  region: context[:cached_sigv4_region],
74
74
  credentials: context.config.credentials
75
75
  )
76
- else
77
- resolved_region, arn = ARN.resolve_arn!(
78
- context.params[:bucket],
79
- context.config.sigv4_signer.region,
80
- context.config.s3_use_arn_region
76
+ elsif (arn = context.metadata[:s3_arn])
77
+ S3Signer.build_v4_signer(
78
+ service: arn[:arn].service,
79
+ region: arn[:resolved_region],
80
+ credentials: context.config.credentials
81
81
  )
82
-
83
- if arn
84
- S3Signer.build_v4_signer(
85
- service: arn.service,
86
- region: resolved_region,
87
- credentials: context.config.credentials
88
- )
89
- else
90
- context.config.sigv4_signer
91
- end
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
+ )
88
+ else
89
+ context.config.sigv4_signer
92
90
  end
93
91
  end
94
92
  end
@@ -173,10 +171,14 @@ module Aws
173
171
  context, actual_region
174
172
  )
175
173
  context.metadata[:redirect_region] = actual_region
174
+ # if it's an ARN, use the service in the ARN
175
+ if (arn = context.metadata[:s3_arn])
176
+ service = arn[:arn].service
177
+ end
176
178
  Aws::Plugins::SignatureV4.apply_signature(
177
179
  context: context,
178
180
  signer: S3Signer.build_v4_signer(
179
- service: 's3',
181
+ service: service || 's3',
180
182
  region: actual_region,
181
183
  credentials: context.config.credentials
182
184
  )
@@ -219,20 +221,16 @@ module Aws
219
221
  )
220
222
  end
221
223
 
224
+ # Check to see if the bucket is actually an ARN
225
+ # Otherwise it will retry with the ARN as the bucket name.
222
226
  def new_hostname(context, region)
223
- # Check to see if the bucket is actually an ARN and resolve it
224
- # Otherwise it will retry with the ARN as the bucket name.
225
- resolved_region, arn = ARN.resolve_arn!(
226
- context.params[:bucket],
227
- region,
228
- context.config.s3_use_arn_region
229
- )
230
227
  uri = URI.parse(
231
- Aws::Partitions::EndpointProvider.resolve(resolved_region, 's3')
228
+ Aws::Partitions::EndpointProvider.resolve(region, 's3')
232
229
  )
233
230
 
234
- if arn
235
- ARN.resolve_url!(uri, arn).host
231
+ if (arn = context.metadata[:s3_arn])
232
+ # Retry with the response region and not the ARN resolved one
233
+ ARN.resolve_url!(uri, arn[:arn], region).host
236
234
  else
237
235
  "#{context.params[:bucket]}.#{uri.host}"
238
236
  end
@@ -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. This will cause
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.
@@ -139,6 +138,7 @@ module Aws
139
138
 
140
139
  req = @client.build_request(method, params)
141
140
  use_bucket_as_hostname(req) if virtual_host
141
+ handle_presigned_url_context(req)
142
142
 
143
143
  x_amz_headers = sign_but_dont_send(
144
144
  req, expires_in, scheme, time, unsigned_headers, hoist
@@ -184,6 +184,17 @@ module Aws
184
184
  end
185
185
  end
186
186
 
187
+ # Used for excluding presigned_urls from API request count.
188
+ #
189
+ # Store context information as early as possible, to allow
190
+ # handlers to perform decisions based on this flag if need.
191
+ def handle_presigned_url_context(req)
192
+ req.handle(step: :initialize, priority: 98) do |context|
193
+ context[:presigned_url] = true
194
+ @handler.call(context)
195
+ end
196
+ end
197
+
187
198
  # @param [Seahorse::Client::Request] req
188
199
  def sign_but_dont_send(
189
200
  req, expires_in, scheme, time, unsigned_headers, hoist = true
@@ -196,8 +207,6 @@ module Aws
196
207
  req.handlers.remove(Aws::S3::Plugins::S3Signer::V4Handler)
197
208
  req.handlers.remove(Seahorse::Client::Plugins::ContentLength::Handler)
198
209
 
199
- signer = build_signer(req.context, unsigned_headers)
200
-
201
210
  req.handle(step: :send) do |context|
202
211
  if scheme != http_req.endpoint.scheme
203
212
  endpoint = http_req.endpoint.dup
@@ -222,6 +231,20 @@ module Aws
222
231
  end
223
232
  http_req.endpoint.query = query.join('&') unless query.empty?
224
233
 
234
+ # If it's an ARN, get the resolved region and service
235
+ if (arn = context.metadata[:s3_arn])
236
+ region = arn[:resolved_region]
237
+ service = arn[:arn].service
238
+ end
239
+
240
+ signer = Aws::Sigv4::Signer.new(
241
+ service: service || 's3',
242
+ region: region || context.config.region,
243
+ credentials_provider: context.config.credentials,
244
+ unsigned_headers: unsigned_headers,
245
+ uri_escape_path: false
246
+ )
247
+
225
248
  url = signer.presign_url(
226
249
  http_method: http_req.http_method,
227
250
  url: http_req.endpoint,
@@ -231,37 +254,11 @@ module Aws
231
254
  time: time
232
255
  ).to_s
233
256
 
234
- # Used for excluding presigned_urls from API request count
235
- context[:presigned_url] = true
236
-
237
257
  Seahorse::Client::Response.new(context: context, data: url)
238
258
  end
239
259
  # Return the headers
240
260
  x_amz_headers
241
261
  end
242
-
243
- def build_signer(context, unsigned_headers)
244
- signer_opts = {
245
- service: 's3',
246
- region: context.config.region,
247
- credentials_provider: context.config.credentials,
248
- unsigned_headers: unsigned_headers,
249
- uri_escape_path: false
250
- }
251
-
252
- resolved_region, arn = Aws::S3::Plugins::ARN.resolve_arn!(
253
- context.params[:bucket],
254
- context.config.sigv4_signer.region,
255
- context.config.s3_use_arn_region
256
- )
257
-
258
- if arn
259
- signer_opts[:region] = resolved_region
260
- signer_opts[:service] = arn.service
261
- end
262
-
263
- Aws::Sigv4::Signer.new(signer_opts)
264
- end
265
262
  end
266
263
  end
267
264
  end
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -65,8 +65,10 @@ module Aws::S3
65
65
  # @option options [String] :grant_read_acp
66
66
  # Allows grantee to read the bucket ACL.
67
67
  # @option options [String] :grant_write
68
- # Allows grantee to create, overwrite, and delete any object in the
69
- # bucket.
68
+ # Allows grantee to create new objects in the bucket.
69
+ #
70
+ # For the bucket and object owners of existing objects, also allows
71
+ # deletions and overwrites of those objects.
70
72
  # @option options [String] :grant_write_acp
71
73
  # Allows grantee to write the ACL for the applicable bucket.
72
74
  # @option options [Boolean] :object_lock_enabled_for_bucket
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -14,7 +14,7 @@ module Aws::S3
14
14
  # upload that Amazon S3 will wait before permanently removing all parts
15
15
  # of the upload. For more information, see [ Aborting Incomplete
16
16
  # Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
17
- # Simple Storage Service Developer Guide*.
17
+ # S3 User Guide*.
18
18
  #
19
19
  #
20
20
  #
@@ -67,28 +67,28 @@ module Aws::S3
67
67
  # @!attribute [rw] bucket
68
68
  # The bucket name to which the upload was taking place.
69
69
  #
70
- # When using this API with an access point, you must direct requests
71
- # to the access point hostname. The access point hostname takes the
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 operation with an access point through the AWS SDKs,
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
- # more information about access point ARNs, see [Using Access
77
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
76
+ # more information about access point ARNs, see [Using access
77
+ # points][1] in the *Amazon S3 User Guide*.
78
78
  #
79
- # When using this API with Amazon S3 on Outposts, you must direct
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 operation using S3 on Outposts through the AWS SDKs,
83
+ # When using this action using S3 on Outposts through the AWS SDKs,
84
84
  # you provide the Outposts bucket ARN in place of the bucket name. For
85
85
  # more information about S3 on Outposts ARNs, see [Using S3 on
86
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
86
+ # Outposts][2] in the *Amazon S3 User Guide*.
87
87
  #
88
88
  #
89
89
  #
90
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
91
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
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
@@ -104,7 +104,7 @@ module Aws::S3
104
104
  # request. Bucket owners need not specify this parameter in their
105
105
  # requests. For information about downloading objects from requester
106
106
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
107
- # in the *Amazon S3 Developer Guide*.
107
+ # in the *Amazon S3 User Guide*.
108
108
  #
109
109
  #
110
110
  #
@@ -112,7 +112,7 @@ module Aws::S3
112
112
  # @return [String]
113
113
  #
114
114
  # @!attribute [rw] expected_bucket_owner
115
- # The account id of the expected bucket owner. If the bucket is owned
115
+ # The account ID of the expected bucket owner. If the bucket is owned
116
116
  # by a different account, the request will fail with an HTTP `403
117
117
  # (Access Denied)` error.
118
118
  # @return [String]
@@ -131,7 +131,7 @@ module Aws::S3
131
131
 
132
132
  # Configures the transfer acceleration state for an Amazon S3 bucket.
133
133
  # For more information, see [Amazon S3 Transfer Acceleration][1] in the
134
- # *Amazon Simple Storage Service Developer Guide*.
134
+ # *Amazon S3 User Guide*.
135
135
  #
136
136
  #
137
137
  #
@@ -209,8 +209,7 @@ module Aws::S3
209
209
  #
210
210
  # @!attribute [rw] owner
211
211
  # Specifies the replica ownership. For default and valid values, see
212
- # [PUT bucket replication][1] in the *Amazon Simple Storage Service
213
- # API Reference*.
212
+ # [PUT bucket replication][1] in the *Amazon S3 API Reference*.
214
213
  #
215
214
  #
216
215
  #
@@ -492,7 +491,7 @@ module Aws::S3
492
491
 
493
492
  # Specifies the lifecycle configuration for objects in an Amazon S3
494
493
  # bucket. For more information, see [Object Lifecycle Management][1] in
495
- # the *Amazon Simple Storage Service Developer Guide*.
494
+ # the *Amazon S3 User Guide*.
496
495
  #
497
496
  #
498
497
  #
@@ -590,8 +589,7 @@ module Aws::S3
590
589
  # @!attribute [rw] logging_enabled
591
590
  # Describes where logs are stored and the prefix that Amazon S3
592
591
  # assigns to all log object keys for a bucket. For more information,
593
- # see [PUT Bucket logging][1] in the *Amazon Simple Storage Service
594
- # API Reference*.
592
+ # see [PUT Bucket logging][1] in the *Amazon S3 API Reference*.
595
593
  #
596
594
  #
597
595
  #
@@ -608,8 +606,7 @@ module Aws::S3
608
606
 
609
607
  # Describes the cross-origin access configuration for objects in an
610
608
  # Amazon S3 bucket. For more information, see [Enabling Cross-Origin
611
- # Resource Sharing][1] in the *Amazon Simple Storage Service Developer
612
- # Guide*.
609
+ # Resource Sharing][1] in the *Amazon S3 User Guide*.
613
610
  #
614
611
  #
615
612
  #
@@ -621,6 +618,7 @@ module Aws::S3
621
618
  # {
622
619
  # cors_rules: [ # required
623
620
  # {
621
+ # id: "ID",
624
622
  # allowed_headers: ["AllowedHeader"],
625
623
  # allowed_methods: ["AllowedMethod"], # required
626
624
  # allowed_origins: ["AllowedOrigin"], # required
@@ -649,6 +647,7 @@ module Aws::S3
649
647
  # data as a hash:
650
648
  #
651
649
  # {
650
+ # id: "ID",
652
651
  # allowed_headers: ["AllowedHeader"],
653
652
  # allowed_methods: ["AllowedMethod"], # required
654
653
  # allowed_origins: ["AllowedOrigin"], # required
@@ -656,6 +655,11 @@ module Aws::S3
656
655
  # max_age_seconds: 1,
657
656
  # }
658
657
  #
658
+ # @!attribute [rw] id
659
+ # Unique identifier for the rule. The value cannot be longer than 255
660
+ # characters.
661
+ # @return [String]
662
+ #
659
663
  # @!attribute [rw] allowed_headers
660
664
  # Headers that are specified in the `Access-Control-Request-Headers`
661
665
  # header. These headers are allowed in a preflight OPTIONS request. In
@@ -687,6 +691,7 @@ module Aws::S3
687
691
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule AWS API Documentation
688
692
  #
689
693
  class CORSRule < Struct.new(
694
+ :id,
690
695
  :allowed_headers,
691
696
  :allowed_methods,
692
697
  :allowed_origins,
@@ -911,28 +916,28 @@ module Aws::S3
911
916
  # @!attribute [rw] bucket
912
917
  # The name of the bucket that contains the newly created object.
913
918
  #
914
- # When using this API with an access point, you must direct requests
915
- # to the access point hostname. The access point hostname takes the
916
- # form
919
+ # When using this action with an access point, you must direct
920
+ # requests to the access point hostname. The access point hostname
921
+ # takes the form
917
922
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
918
- # When using this operation with an access point through the AWS SDKs,
923
+ # When using this action with an access point through the AWS SDKs,
919
924
  # you provide the access point ARN in place of the bucket name. For
920
- # more information about access point ARNs, see [Using Access
921
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
925
+ # more information about access point ARNs, see [Using access
926
+ # points][1] in the *Amazon S3 User Guide*.
922
927
  #
923
- # When using this API with Amazon S3 on Outposts, you must direct
928
+ # When using this action with Amazon S3 on Outposts, you must direct
924
929
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
925
930
  # takes the form
926
931
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
927
- # When using this operation using S3 on Outposts through the AWS SDKs,
932
+ # When using this action using S3 on Outposts through the AWS SDKs,
928
933
  # you provide the Outposts bucket ARN in place of the bucket name. For
929
934
  # more information about S3 on Outposts ARNs, see [Using S3 on
930
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
935
+ # Outposts][2] in the *Amazon S3 User Guide*.
931
936
  #
932
937
  #
933
938
  #
934
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
935
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
939
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
940
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
936
941
  # @return [String]
937
942
  #
938
943
  # @!attribute [rw] key
@@ -1041,7 +1046,7 @@ module Aws::S3
1041
1046
  # request. Bucket owners need not specify this parameter in their
1042
1047
  # requests. For information about downloading objects from requester
1043
1048
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
1044
- # in the *Amazon S3 Developer Guide*.
1049
+ # in the *Amazon S3 User Guide*.
1045
1050
  #
1046
1051
  #
1047
1052
  #
@@ -1049,7 +1054,7 @@ module Aws::S3
1049
1054
  # @return [String]
1050
1055
  #
1051
1056
  # @!attribute [rw] expected_bucket_owner
1052
- # The account id of the expected bucket owner. If the bucket is owned
1057
+ # The account ID of the expected bucket owner. If the bucket is owned
1053
1058
  # by a different account, the request will fail with an HTTP `403
1054
1059
  # (Access Denied)` error.
1055
1060
  # @return [String]
@@ -1153,6 +1158,14 @@ module Aws::S3
1153
1158
  # `Condition` is specified and sibling `HttpErrorCodeReturnedEquals`
1154
1159
  # is not specified. If both conditions are specified, both must be
1155
1160
  # true for the redirect to be applied.
1161
+ #
1162
+ # Replacement must be made for object keys containing special
1163
+ # characters (such as carriage returns) when using XML requests. For
1164
+ # more information, see [ XML related object key constraints][1].
1165
+ #
1166
+ #
1167
+ #
1168
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
1156
1169
  # @return [String]
1157
1170
  #
1158
1171
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition AWS API Documentation
@@ -1305,28 +1318,28 @@ module Aws::S3
1305
1318
  # @!attribute [rw] bucket
1306
1319
  # The name of the destination bucket.
1307
1320
  #
1308
- # When using this API with an access point, you must direct requests
1309
- # to the access point hostname. The access point hostname takes the
1310
- # form
1321
+ # When using this action with an access point, you must direct
1322
+ # requests to the access point hostname. The access point hostname
1323
+ # takes the form
1311
1324
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
1312
- # When using this operation with an access point through the AWS SDKs,
1325
+ # When using this action with an access point through the AWS SDKs,
1313
1326
  # you provide the access point ARN in place of the bucket name. For
1314
- # more information about access point ARNs, see [Using Access
1315
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
1327
+ # more information about access point ARNs, see [Using access
1328
+ # points][1] in the *Amazon S3 User Guide*.
1316
1329
  #
1317
- # When using this API with Amazon S3 on Outposts, you must direct
1330
+ # When using this action with Amazon S3 on Outposts, you must direct
1318
1331
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
1319
1332
  # takes the form
1320
1333
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
1321
- # When using this operation using S3 on Outposts through the AWS SDKs,
1334
+ # When using this action using S3 on Outposts through the AWS SDKs,
1322
1335
  # you provide the Outposts bucket ARN in place of the bucket name. For
1323
1336
  # more information about S3 on Outposts ARNs, see [Using S3 on
1324
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
1337
+ # Outposts][2] in the *Amazon S3 User Guide*.
1325
1338
  #
1326
1339
  #
1327
1340
  #
1328
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
1329
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1341
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
1342
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
1330
1343
  # @return [String]
1331
1344
  #
1332
1345
  # @!attribute [rw] cache_control
@@ -1395,7 +1408,7 @@ module Aws::S3
1395
1408
  #
1396
1409
  #
1397
1410
  #
1398
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html
1411
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
1399
1412
  # @return [String]
1400
1413
  #
1401
1414
  # @!attribute [rw] copy_source_if_match
@@ -1475,7 +1488,7 @@ module Aws::S3
1475
1488
  # and high availability. Depending on performance needs, you can
1476
1489
  # specify a different Storage Class. Amazon S3 on Outposts only uses
1477
1490
  # the OUTPOSTS Storage Class. For more information, see [Storage
1478
- # Classes][1] in the *Amazon S3 Service Developer Guide*.
1491
+ # Classes][1] in the *Amazon S3 User Guide*.
1479
1492
  #
1480
1493
  #
1481
1494
  #
@@ -1514,7 +1527,7 @@ module Aws::S3
1514
1527
  # made via SSL or using SigV4. For information about configuring using
1515
1528
  # any of the officially supported AWS SDKs and AWS CLI, see
1516
1529
  # [Specifying the Signature Version in Request Authentication][1] in
1517
- # the *Amazon S3 Developer Guide*.
1530
+ # the *Amazon S3 User Guide*.
1518
1531
  #
1519
1532
  #
1520
1533
  #
@@ -1533,7 +1546,7 @@ module Aws::S3
1533
1546
  # Setting this header to `true` causes Amazon S3 to use an S3 Bucket
1534
1547
  # Key for object encryption with SSE-KMS.
1535
1548
  #
1536
- # Specifying this header with a COPY operation doesn’t affect
1549
+ # Specifying this header with a COPY action doesn’t affect
1537
1550
  # bucket-level settings for S3 Bucket Key.
1538
1551
  # @return [Boolean]
1539
1552
  #
@@ -1559,7 +1572,7 @@ module Aws::S3
1559
1572
  # request. Bucket owners need not specify this parameter in their
1560
1573
  # requests. For information about downloading objects from requester
1561
1574
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
1562
- # in the *Amazon S3 Developer Guide*.
1575
+ # in the *Amazon S3 User Guide*.
1563
1576
  #
1564
1577
  #
1565
1578
  #
@@ -1587,13 +1600,13 @@ module Aws::S3
1587
1600
  # @return [String]
1588
1601
  #
1589
1602
  # @!attribute [rw] expected_bucket_owner
1590
- # The account id of the expected destination bucket owner. If the
1603
+ # The account ID of the expected destination bucket owner. If the
1591
1604
  # destination bucket is owned by a different account, the request will
1592
1605
  # fail with an HTTP `403 (Access Denied)` error.
1593
1606
  # @return [String]
1594
1607
  #
1595
1608
  # @!attribute [rw] expected_source_bucket_owner
1596
- # The account id of the expected source bucket owner. If the source
1609
+ # The account ID of the expected source bucket owner. If the source
1597
1610
  # bucket is owned by a different account, the request will fail with
1598
1611
  # an HTTP `403 (Access Denied)` error.
1599
1612
  # @return [String]
@@ -1650,11 +1663,12 @@ module Aws::S3
1650
1663
  # @!attribute [rw] etag
1651
1664
  # Returns the ETag of the new object. The ETag reflects only changes
1652
1665
  # to the contents of an object, not its metadata. The source and
1653
- # destination ETag is identical for a successfully copied object.
1666
+ # destination ETag is identical for a successfully copied
1667
+ # non-multipart object.
1654
1668
  # @return [String]
1655
1669
  #
1656
1670
  # @!attribute [rw] last_modified
1657
- # Returns the date that the object was last modified.
1671
+ # Creation date of the object.
1658
1672
  # @return [Time]
1659
1673
  #
1660
1674
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult AWS API Documentation
@@ -1765,8 +1779,10 @@ module Aws::S3
1765
1779
  # @return [String]
1766
1780
  #
1767
1781
  # @!attribute [rw] grant_write
1768
- # Allows grantee to create, overwrite, and delete any object in the
1769
- # bucket.
1782
+ # Allows grantee to create new objects in the bucket.
1783
+ #
1784
+ # For the bucket and object owners of existing objects, also allows
1785
+ # deletions and overwrites of those objects.
1770
1786
  # @return [String]
1771
1787
  #
1772
1788
  # @!attribute [rw] grant_write_acp
@@ -1821,28 +1837,28 @@ module Aws::S3
1821
1837
  # @!attribute [rw] bucket
1822
1838
  # The name of the bucket to which the multipart upload was initiated.
1823
1839
  #
1824
- # When using this API with an access point, you must direct requests
1825
- # to the access point hostname. The access point hostname takes the
1826
- # form
1840
+ # When using this action with an access point, you must direct
1841
+ # requests to the access point hostname. The access point hostname
1842
+ # takes the form
1827
1843
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
1828
- # When using this operation with an access point through the AWS SDKs,
1844
+ # When using this action with an access point through the AWS SDKs,
1829
1845
  # you provide the access point ARN in place of the bucket name. For
1830
- # more information about access point ARNs, see [Using Access
1831
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
1846
+ # more information about access point ARNs, see [Using access
1847
+ # points][1] in the *Amazon S3 User Guide*.
1832
1848
  #
1833
- # When using this API with Amazon S3 on Outposts, you must direct
1849
+ # When using this action with Amazon S3 on Outposts, you must direct
1834
1850
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
1835
1851
  # takes the form
1836
1852
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
1837
- # When using this operation using S3 on Outposts through the AWS SDKs,
1853
+ # When using this action using S3 on Outposts through the AWS SDKs,
1838
1854
  # you provide the Outposts bucket ARN in place of the bucket name. For
1839
1855
  # more information about S3 on Outposts ARNs, see [Using S3 on
1840
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
1856
+ # Outposts][2] in the *Amazon S3 User Guide*.
1841
1857
  #
1842
1858
  #
1843
1859
  #
1844
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
1845
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1860
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
1861
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
1846
1862
  # @return [String]
1847
1863
  #
1848
1864
  # @!attribute [rw] key
@@ -1959,28 +1975,28 @@ module Aws::S3
1959
1975
  # @!attribute [rw] bucket
1960
1976
  # The name of the bucket to which to initiate the upload
1961
1977
  #
1962
- # When using this API with an access point, you must direct requests
1963
- # to the access point hostname. The access point hostname takes the
1964
- # form
1978
+ # When using this action with an access point, you must direct
1979
+ # requests to the access point hostname. The access point hostname
1980
+ # takes the form
1965
1981
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
1966
- # When using this operation with an access point through the AWS SDKs,
1982
+ # When using this action with an access point through the AWS SDKs,
1967
1983
  # you provide the access point ARN in place of the bucket name. For
1968
- # more information about access point ARNs, see [Using Access
1969
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
1984
+ # more information about access point ARNs, see [Using access
1985
+ # points][1] in the *Amazon S3 User Guide*.
1970
1986
  #
1971
- # When using this API with Amazon S3 on Outposts, you must direct
1987
+ # When using this action with Amazon S3 on Outposts, you must direct
1972
1988
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
1973
1989
  # takes the form
1974
1990
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
1975
- # When using this operation using S3 on Outposts through the AWS SDKs,
1991
+ # When using this action using S3 on Outposts through the AWS SDKs,
1976
1992
  # you provide the Outposts bucket ARN in place of the bucket name. For
1977
1993
  # more information about S3 on Outposts ARNs, see [Using S3 on
1978
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
1994
+ # Outposts][2] in the *Amazon S3 User Guide*.
1979
1995
  #
1980
1996
  #
1981
1997
  #
1982
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
1983
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1998
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
1999
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
1984
2000
  # @return [String]
1985
2001
  #
1986
2002
  # @!attribute [rw] cache_control
@@ -2053,7 +2069,7 @@ module Aws::S3
2053
2069
  # and high availability. Depending on performance needs, you can
2054
2070
  # specify a different Storage Class. Amazon S3 on Outposts only uses
2055
2071
  # the OUTPOSTS Storage Class. For more information, see [Storage
2056
- # Classes][1] in the *Amazon S3 Service Developer Guide*.
2072
+ # Classes][1] in the *Amazon S3 User Guide*.
2057
2073
  #
2058
2074
  #
2059
2075
  #
@@ -2092,12 +2108,11 @@ module Aws::S3
2092
2108
  # protected by AWS KMS will fail if not made via SSL or using SigV4.
2093
2109
  # For information about configuring using any of the officially
2094
2110
  # supported AWS SDKs and AWS CLI, see [Specifying the Signature
2095
- # Version in Request Authentication][1] in the *Amazon S3 Developer
2096
- # Guide*.
2111
+ # Version in Request Authentication][1] in the *Amazon S3 User Guide*.
2097
2112
  #
2098
2113
  #
2099
2114
  #
2100
- # [1]: https://docs.aws.amazon.com/http:/docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
2115
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
2101
2116
  # @return [String]
2102
2117
  #
2103
2118
  # @!attribute [rw] ssekms_encryption_context
@@ -2112,7 +2127,7 @@ module Aws::S3
2112
2127
  # Setting this header to `true` causes Amazon S3 to use an S3 Bucket
2113
2128
  # Key for object encryption with SSE-KMS.
2114
2129
  #
2115
- # Specifying this header with an object operation doesn’t affect
2130
+ # Specifying this header with an object action doesn’t affect
2116
2131
  # bucket-level settings for S3 Bucket Key.
2117
2132
  # @return [Boolean]
2118
2133
  #
@@ -2121,7 +2136,7 @@ module Aws::S3
2121
2136
  # request. Bucket owners need not specify this parameter in their
2122
2137
  # requests. For information about downloading objects from requester
2123
2138
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
2124
- # in the *Amazon S3 Developer Guide*.
2139
+ # in the *Amazon S3 User Guide*.
2125
2140
  #
2126
2141
  #
2127
2142
  #
@@ -2148,7 +2163,7 @@ module Aws::S3
2148
2163
  # @return [String]
2149
2164
  #
2150
2165
  # @!attribute [rw] expected_bucket_owner
2151
- # The account id of the expected bucket owner. If the bucket is owned
2166
+ # The account ID of the expected bucket owner. If the bucket is owned
2152
2167
  # by a different account, the request will fail with an HTTP `403
2153
2168
  # (Access Denied)` error.
2154
2169
  # @return [String]
@@ -2192,6 +2207,14 @@ module Aws::S3
2192
2207
  # The container element for specifying the default Object Lock retention
2193
2208
  # settings for new objects placed in the specified bucket.
2194
2209
  #
2210
+ # <note markdown="1"> * The `DefaultRetention` settings require both a mode and a period.
2211
+ #
2212
+ # * The `DefaultRetention` period can be either `Days` or `Years` but
2213
+ # you must select one. You cannot specify `Days` and `Years` at the
2214
+ # same time.
2215
+ #
2216
+ # </note>
2217
+ #
2195
2218
  # @note When making an API call, you may pass DefaultRetention
2196
2219
  # data as a hash:
2197
2220
  #
@@ -2203,17 +2226,18 @@ module Aws::S3
2203
2226
  #
2204
2227
  # @!attribute [rw] mode
2205
2228
  # The default Object Lock retention mode you want to apply to new
2206
- # objects placed in the specified bucket.
2229
+ # objects placed in the specified bucket. Must be used with either
2230
+ # `Days` or `Years`.
2207
2231
  # @return [String]
2208
2232
  #
2209
2233
  # @!attribute [rw] days
2210
2234
  # The number of days that you want to specify for the default
2211
- # retention period.
2235
+ # retention period. Must be used with `Mode`.
2212
2236
  # @return [Integer]
2213
2237
  #
2214
2238
  # @!attribute [rw] years
2215
2239
  # The number of years that you want to specify for the default
2216
- # retention period.
2240
+ # retention period. Must be used with `Mode`.
2217
2241
  # @return [Integer]
2218
2242
  #
2219
2243
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention AWS API Documentation
@@ -2278,7 +2302,7 @@ module Aws::S3
2278
2302
  # @return [String]
2279
2303
  #
2280
2304
  # @!attribute [rw] expected_bucket_owner
2281
- # The account id of the expected bucket owner. If the bucket is owned
2305
+ # The account ID of the expected bucket owner. If the bucket is owned
2282
2306
  # by a different account, the request will fail with an HTTP `403
2283
2307
  # (Access Denied)` error.
2284
2308
  # @return [String]
@@ -2306,7 +2330,7 @@ module Aws::S3
2306
2330
  # @return [String]
2307
2331
  #
2308
2332
  # @!attribute [rw] expected_bucket_owner
2309
- # The account id of the expected bucket owner. If the bucket is owned
2333
+ # The account ID of the expected bucket owner. If the bucket is owned
2310
2334
  # by a different account, the request will fail with an HTTP `403
2311
2335
  # (Access Denied)` error.
2312
2336
  # @return [String]
@@ -2334,7 +2358,7 @@ module Aws::S3
2334
2358
  # @return [String]
2335
2359
  #
2336
2360
  # @!attribute [rw] expected_bucket_owner
2337
- # The account id of the expected bucket owner. If the bucket is owned
2361
+ # The account ID of the expected bucket owner. If the bucket is owned
2338
2362
  # by a different account, the request will fail with an HTTP `403
2339
2363
  # (Access Denied)` error.
2340
2364
  # @return [String]
@@ -2393,7 +2417,7 @@ module Aws::S3
2393
2417
  # @return [String]
2394
2418
  #
2395
2419
  # @!attribute [rw] expected_bucket_owner
2396
- # The account id of the expected bucket owner. If the bucket is owned
2420
+ # The account ID of the expected bucket owner. If the bucket is owned
2397
2421
  # by a different account, the request will fail with an HTTP `403
2398
2422
  # (Access Denied)` error.
2399
2423
  # @return [String]
@@ -2421,7 +2445,7 @@ module Aws::S3
2421
2445
  # @return [String]
2422
2446
  #
2423
2447
  # @!attribute [rw] expected_bucket_owner
2424
- # The account id of the expected bucket owner. If the bucket is owned
2448
+ # The account ID of the expected bucket owner. If the bucket is owned
2425
2449
  # by a different account, the request will fail with an HTTP `403
2426
2450
  # (Access Denied)` error.
2427
2451
  # @return [String]
@@ -2454,7 +2478,7 @@ module Aws::S3
2454
2478
  # @return [String]
2455
2479
  #
2456
2480
  # @!attribute [rw] expected_bucket_owner
2457
- # The account id of the expected bucket owner. If the bucket is owned
2481
+ # The account ID of the expected bucket owner. If the bucket is owned
2458
2482
  # by a different account, the request will fail with an HTTP `403
2459
2483
  # (Access Denied)` error.
2460
2484
  # @return [String]
@@ -2482,7 +2506,7 @@ module Aws::S3
2482
2506
  # @return [String]
2483
2507
  #
2484
2508
  # @!attribute [rw] expected_bucket_owner
2485
- # The account id of the expected bucket owner. If the bucket is owned
2509
+ # The account ID of the expected bucket owner. If the bucket is owned
2486
2510
  # by a different account, the request will fail with an HTTP `403
2487
2511
  # (Access Denied)` error.
2488
2512
  # @return [String]
@@ -2509,7 +2533,7 @@ module Aws::S3
2509
2533
  # @return [String]
2510
2534
  #
2511
2535
  # @!attribute [rw] expected_bucket_owner
2512
- # The account id of the expected bucket owner. If the bucket is owned
2536
+ # The account ID of the expected bucket owner. If the bucket is owned
2513
2537
  # by a different account, the request will fail with an HTTP `403
2514
2538
  # (Access Denied)` error.
2515
2539
  # @return [String]
@@ -2536,7 +2560,7 @@ module Aws::S3
2536
2560
  # @return [String]
2537
2561
  #
2538
2562
  # @!attribute [rw] expected_bucket_owner
2539
- # The account id of the expected bucket owner. If the bucket is owned
2563
+ # The account ID of the expected bucket owner. If the bucket is owned
2540
2564
  # by a different account, the request will fail with an HTTP `403
2541
2565
  # (Access Denied)` error.
2542
2566
  # @return [String]
@@ -2563,7 +2587,7 @@ module Aws::S3
2563
2587
  # @return [String]
2564
2588
  #
2565
2589
  # @!attribute [rw] expected_bucket_owner
2566
- # The account id of the expected bucket owner. If the bucket is owned
2590
+ # The account ID of the expected bucket owner. If the bucket is owned
2567
2591
  # by a different account, the request will fail with an HTTP `403
2568
2592
  # (Access Denied)` error.
2569
2593
  # @return [String]
@@ -2590,7 +2614,7 @@ module Aws::S3
2590
2614
  # @return [String]
2591
2615
  #
2592
2616
  # @!attribute [rw] expected_bucket_owner
2593
- # The account id of the expected bucket owner. If the bucket is owned
2617
+ # The account ID of the expected bucket owner. If the bucket is owned
2594
2618
  # by a different account, the request will fail with an HTTP `403
2595
2619
  # (Access Denied)` error.
2596
2620
  # @return [String]
@@ -2618,7 +2642,7 @@ module Aws::S3
2618
2642
  # @return [String]
2619
2643
  #
2620
2644
  # @!attribute [rw] expected_bucket_owner
2621
- # The account id of the expected bucket owner. If the bucket is owned
2645
+ # The account ID of the expected bucket owner. If the bucket is owned
2622
2646
  # by a different account, the request will fail with an HTTP `403
2623
2647
  # (Access Denied)` error.
2624
2648
  # @return [String]
@@ -2754,28 +2778,28 @@ module Aws::S3
2754
2778
  # @!attribute [rw] bucket
2755
2779
  # The bucket name of the bucket containing the object.
2756
2780
  #
2757
- # When using this API with an access point, you must direct requests
2758
- # to the access point hostname. The access point hostname takes the
2759
- # form
2781
+ # When using this action with an access point, you must direct
2782
+ # requests to the access point hostname. The access point hostname
2783
+ # takes the form
2760
2784
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
2761
- # When using this operation with an access point through the AWS SDKs,
2785
+ # When using this action with an access point through the AWS SDKs,
2762
2786
  # you provide the access point ARN in place of the bucket name. For
2763
- # more information about access point ARNs, see [Using Access
2764
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
2787
+ # more information about access point ARNs, see [Using access
2788
+ # points][1] in the *Amazon S3 User Guide*.
2765
2789
  #
2766
- # When using this API with Amazon S3 on Outposts, you must direct
2790
+ # When using this action with Amazon S3 on Outposts, you must direct
2767
2791
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
2768
2792
  # takes the form
2769
2793
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
2770
- # When using this operation using S3 on Outposts through the AWS SDKs,
2794
+ # When using this action using S3 on Outposts through the AWS SDKs,
2771
2795
  # you provide the Outposts bucket ARN in place of the bucket name. For
2772
2796
  # more information about S3 on Outposts ARNs, see [Using S3 on
2773
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
2797
+ # Outposts][2] in the *Amazon S3 User Guide*.
2774
2798
  #
2775
2799
  #
2776
2800
  #
2777
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
2778
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
2801
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
2802
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
2779
2803
  # @return [String]
2780
2804
  #
2781
2805
  # @!attribute [rw] key
@@ -2798,7 +2822,7 @@ module Aws::S3
2798
2822
  # request. Bucket owners need not specify this parameter in their
2799
2823
  # requests. For information about downloading objects from requester
2800
2824
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
2801
- # in the *Amazon S3 Developer Guide*.
2825
+ # in the *Amazon S3 User Guide*.
2802
2826
  #
2803
2827
  #
2804
2828
  #
@@ -2811,7 +2835,7 @@ module Aws::S3
2811
2835
  # @return [Boolean]
2812
2836
  #
2813
2837
  # @!attribute [rw] expected_bucket_owner
2814
- # The account id of the expected bucket owner. If the bucket is owned
2838
+ # The account ID of the expected bucket owner. If the bucket is owned
2815
2839
  # by a different account, the request will fail with an HTTP `403
2816
2840
  # (Access Denied)` error.
2817
2841
  # @return [String]
@@ -2856,32 +2880,33 @@ module Aws::S3
2856
2880
  # The bucket name containing the objects from which to remove the
2857
2881
  # tags.
2858
2882
  #
2859
- # When using this API with an access point, you must direct requests
2860
- # to the access point hostname. The access point hostname takes the
2861
- # form
2883
+ # When using this action with an access point, you must direct
2884
+ # requests to the access point hostname. The access point hostname
2885
+ # takes the form
2862
2886
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
2863
- # When using this operation with an access point through the AWS SDKs,
2887
+ # When using this action with an access point through the AWS SDKs,
2864
2888
  # you provide the access point ARN in place of the bucket name. For
2865
- # more information about access point ARNs, see [Using Access
2866
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
2889
+ # more information about access point ARNs, see [Using access
2890
+ # points][1] in the *Amazon S3 User Guide*.
2867
2891
  #
2868
- # When using this API with Amazon S3 on Outposts, you must direct
2892
+ # When using this action with Amazon S3 on Outposts, you must direct
2869
2893
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
2870
2894
  # takes the form
2871
2895
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
2872
- # When using this operation using S3 on Outposts through the AWS SDKs,
2896
+ # When using this action using S3 on Outposts through the AWS SDKs,
2873
2897
  # you provide the Outposts bucket ARN in place of the bucket name. For
2874
2898
  # more information about S3 on Outposts ARNs, see [Using S3 on
2875
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
2899
+ # Outposts][2] in the *Amazon S3 User Guide*.
2876
2900
  #
2877
2901
  #
2878
2902
  #
2879
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
2880
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
2903
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
2904
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
2881
2905
  # @return [String]
2882
2906
  #
2883
2907
  # @!attribute [rw] key
2884
- # Name of the object key.
2908
+ # The key that identifies the object in the bucket from which to
2909
+ # remove all tags.
2885
2910
  # @return [String]
2886
2911
  #
2887
2912
  # @!attribute [rw] version_id
@@ -2889,7 +2914,7 @@ module Aws::S3
2889
2914
  # @return [String]
2890
2915
  #
2891
2916
  # @!attribute [rw] expected_bucket_owner
2892
- # The account id of the expected bucket owner. If the bucket is owned
2917
+ # The account ID of the expected bucket owner. If the bucket is owned
2893
2918
  # by a different account, the request will fail with an HTTP `403
2894
2919
  # (Access Denied)` error.
2895
2920
  # @return [String]
@@ -2916,8 +2941,8 @@ module Aws::S3
2916
2941
  # @return [String]
2917
2942
  #
2918
2943
  # @!attribute [rw] errors
2919
- # Container for a failed delete operation that describes the object
2920
- # that Amazon S3 attempted to delete and the error it encountered.
2944
+ # Container for a failed delete action that describes the object that
2945
+ # Amazon S3 attempted to delete and the error it encountered.
2921
2946
  # @return [Array<Types::Error>]
2922
2947
  #
2923
2948
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput AWS API Documentation
@@ -2953,28 +2978,28 @@ module Aws::S3
2953
2978
  # @!attribute [rw] bucket
2954
2979
  # The bucket name containing the objects to delete.
2955
2980
  #
2956
- # When using this API with an access point, you must direct requests
2957
- # to the access point hostname. The access point hostname takes the
2958
- # form
2981
+ # When using this action with an access point, you must direct
2982
+ # requests to the access point hostname. The access point hostname
2983
+ # takes the form
2959
2984
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
2960
- # When using this operation with an access point through the AWS SDKs,
2985
+ # When using this action with an access point through the AWS SDKs,
2961
2986
  # you provide the access point ARN in place of the bucket name. For
2962
- # more information about access point ARNs, see [Using Access
2963
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
2987
+ # more information about access point ARNs, see [Using access
2988
+ # points][1] in the *Amazon S3 User Guide*.
2964
2989
  #
2965
- # When using this API with Amazon S3 on Outposts, you must direct
2990
+ # When using this action with Amazon S3 on Outposts, you must direct
2966
2991
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
2967
2992
  # takes the form
2968
2993
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
2969
- # When using this operation using S3 on Outposts through the AWS SDKs,
2994
+ # When using this action using S3 on Outposts through the AWS SDKs,
2970
2995
  # you provide the Outposts bucket ARN in place of the bucket name. For
2971
2996
  # more information about S3 on Outposts ARNs, see [Using S3 on
2972
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
2997
+ # Outposts][2] in the *Amazon S3 User Guide*.
2973
2998
  #
2974
2999
  #
2975
3000
  #
2976
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
2977
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
3001
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
3002
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
2978
3003
  # @return [String]
2979
3004
  #
2980
3005
  # @!attribute [rw] delete
@@ -2993,7 +3018,7 @@ module Aws::S3
2993
3018
  # request. Bucket owners need not specify this parameter in their
2994
3019
  # requests. For information about downloading objects from requester
2995
3020
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
2996
- # in the *Amazon S3 Developer Guide*.
3021
+ # in the *Amazon S3 User Guide*.
2997
3022
  #
2998
3023
  #
2999
3024
  #
@@ -3007,7 +3032,7 @@ module Aws::S3
3007
3032
  # @return [Boolean]
3008
3033
  #
3009
3034
  # @!attribute [rw] expected_bucket_owner
3010
- # The account id of the expected bucket owner. If the bucket is owned
3035
+ # The account ID of the expected bucket owner. If the bucket is owned
3011
3036
  # by a different account, the request will fail with an HTTP `403
3012
3037
  # (Access Denied)` error.
3013
3038
  # @return [String]
@@ -3039,7 +3064,7 @@ module Aws::S3
3039
3064
  # @return [String]
3040
3065
  #
3041
3066
  # @!attribute [rw] expected_bucket_owner
3042
- # The account id of the expected bucket owner. If the bucket is owned
3067
+ # The account ID of the expected bucket owner. If the bucket is owned
3043
3068
  # by a different account, the request will fail with an HTTP `403
3044
3069
  # (Access Denied)` error.
3045
3070
  # @return [String]
@@ -3131,7 +3156,7 @@ module Aws::S3
3131
3156
  # `AccessControlTranslation` property, this is the account ID of the
3132
3157
  # destination bucket owner. For more information, see [Replication
3133
3158
  # Additional Configuration: Changing the Replica Owner][1] in the
3134
- # *Amazon Simple Storage Service Developer Guide*.
3159
+ # *Amazon S3 User Guide*.
3135
3160
  #
3136
3161
  #
3137
3162
  #
@@ -3144,8 +3169,7 @@ module Aws::S3
3144
3169
  # storage class of the source object to create the object replica.
3145
3170
  #
3146
3171
  # For valid values, see the `StorageClass` element of the [PUT Bucket
3147
- # replication][1] action in the *Amazon Simple Storage Service API
3148
- # Reference*.
3172
+ # replication][1] action in the *Amazon S3 API Reference*.
3149
3173
  #
3150
3174
  #
3151
3175
  #
@@ -3213,7 +3237,7 @@ module Aws::S3
3213
3237
  # If the encryption type is `aws:kms`, this optional value specifies
3214
3238
  # the ID of the symmetric customer managed AWS KMS CMK to use for
3215
3239
  # encryption of job results. Amazon S3 only supports symmetric CMKs.
3216
- # For more information, see [Using Symmetric and Asymmetric Keys][1]
3240
+ # For more information, see [Using symmetric and asymmetric keys][1]
3217
3241
  # in the *AWS Key Management Service Developer Guide*.
3218
3242
  #
3219
3243
  #
@@ -3247,12 +3271,12 @@ module Aws::S3
3247
3271
  # }
3248
3272
  #
3249
3273
  # @!attribute [rw] replica_kms_key_id
3250
- # Specifies the ID (Key ARN or Alias ARN) of the customer managed
3251
- # customer master key (CMK) stored in AWS Key Management Service (KMS)
3252
- # for the destination bucket. Amazon S3 uses this key to encrypt
3253
- # replica objects. Amazon S3 only supports symmetric customer managed
3254
- # CMKs. For more information, see [Using Symmetric and Asymmetric
3255
- # Keys][1] in the *AWS Key Management Service Developer Guide*.
3274
+ # Specifies the ID (Key ARN or Alias ARN) of the customer managed AWS
3275
+ # KMS key stored in AWS Key Management Service (KMS) for the
3276
+ # destination bucket. Amazon S3 uses this key to encrypt replica
3277
+ # objects. Amazon S3 only supports symmetric, customer managed KMS
3278
+ # keys. For more information, see [Using symmetric and asymmetric
3279
+ # keys][1] in the *AWS Key Management Service Developer Guide*.
3256
3280
  #
3257
3281
  #
3258
3282
  #
@@ -3307,7 +3331,7 @@ module Aws::S3
3307
3331
  # * * *Code:* AccountProblem
3308
3332
  #
3309
3333
  # * *Description:* There is a problem with your AWS account that
3310
- # prevents the operation from completing successfully. Contact AWS
3334
+ # prevents the action from completing successfully. Contact AWS
3311
3335
  # Support for further assistance.
3312
3336
  #
3313
3337
  # * *HTTP Status Code:* 403 Forbidden
@@ -3540,8 +3564,8 @@ module Aws::S3
3540
3564
  #
3541
3565
  # * * *Code:* InvalidObjectState
3542
3566
  #
3543
- # * *Description:* The operation is not valid for the current state
3544
- # of the object.
3567
+ # * *Description:* The action is not valid for the current state of
3568
+ # the object.
3545
3569
  #
3546
3570
  # * *HTTP Status Code:* 403 Forbidden
3547
3571
  #
@@ -3922,8 +3946,8 @@ module Aws::S3
3922
3946
  #
3923
3947
  # * * *Code:* OperationAborted
3924
3948
  #
3925
- # * *Description:* A conflicting conditional operation is currently
3926
- # in progress against this resource. Try again.
3949
+ # * *Description:* A conflicting conditional action is currently in
3950
+ # progress against this resource. Try again.
3927
3951
  #
3928
3952
  # * *HTTP Status Code:* 409 Conflict
3929
3953
  #
@@ -4120,6 +4144,14 @@ module Aws::S3
4120
4144
  #
4121
4145
  # @!attribute [rw] key
4122
4146
  # The object key name to use when a 4XX class error occurs.
4147
+ #
4148
+ # Replacement must be made for object keys containing special
4149
+ # characters (such as carriage returns) when using XML requests. For
4150
+ # more information, see [ XML related object key constraints][1].
4151
+ #
4152
+ #
4153
+ #
4154
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
4123
4155
  # @return [String]
4124
4156
  #
4125
4157
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument AWS API Documentation
@@ -4131,9 +4163,12 @@ module Aws::S3
4131
4163
  end
4132
4164
 
4133
4165
  # Optional configuration to replicate existing source bucket objects.
4134
- # For more information, see [Replicating Existing Objects](
4135
- # https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication)
4136
- # in the *Amazon S3 Developer Guide*.
4166
+ # For more information, see [Replicating Existing Objects][1] in the
4167
+ # *Amazon S3 User Guide*.
4168
+ #
4169
+ #
4170
+ #
4171
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication
4137
4172
  #
4138
4173
  # @note When making an API call, you may pass ExistingObjectReplication
4139
4174
  # data as a hash:
@@ -4169,7 +4204,7 @@ module Aws::S3
4169
4204
  # to which the filtering rule applies. The maximum length is 1,024
4170
4205
  # characters. Overlapping prefixes and suffixes are not supported. For
4171
4206
  # more information, see [Configuring Event Notifications][1] in the
4172
- # *Amazon Simple Storage Service Developer Guide*.
4207
+ # *Amazon S3 User Guide*.
4173
4208
  #
4174
4209
  #
4175
4210
  #
@@ -4215,7 +4250,7 @@ module Aws::S3
4215
4250
  # @return [String]
4216
4251
  #
4217
4252
  # @!attribute [rw] expected_bucket_owner
4218
- # The account id of the expected bucket owner. If the bucket is owned
4253
+ # The account ID of the expected bucket owner. If the bucket is owned
4219
4254
  # by a different account, the request will fail with an HTTP `403
4220
4255
  # (Access Denied)` error.
4221
4256
  # @return [String]
@@ -4259,7 +4294,7 @@ module Aws::S3
4259
4294
  # @return [String]
4260
4295
  #
4261
4296
  # @!attribute [rw] expected_bucket_owner
4262
- # The account id of the expected bucket owner. If the bucket is owned
4297
+ # The account ID of the expected bucket owner. If the bucket is owned
4263
4298
  # by a different account, the request will fail with an HTTP `403
4264
4299
  # (Access Denied)` error.
4265
4300
  # @return [String]
@@ -4304,7 +4339,7 @@ module Aws::S3
4304
4339
  # @return [String]
4305
4340
  #
4306
4341
  # @!attribute [rw] expected_bucket_owner
4307
- # The account id of the expected bucket owner. If the bucket is owned
4342
+ # The account ID of the expected bucket owner. If the bucket is owned
4308
4343
  # by a different account, the request will fail with an HTTP `403
4309
4344
  # (Access Denied)` error.
4310
4345
  # @return [String]
@@ -4345,7 +4380,7 @@ module Aws::S3
4345
4380
  # @return [String]
4346
4381
  #
4347
4382
  # @!attribute [rw] expected_bucket_owner
4348
- # The account id of the expected bucket owner. If the bucket is owned
4383
+ # The account ID of the expected bucket owner. If the bucket is owned
4349
4384
  # by a different account, the request will fail with an HTTP `403
4350
4385
  # (Access Denied)` error.
4351
4386
  # @return [String]
@@ -4385,7 +4420,7 @@ module Aws::S3
4385
4420
  # @return [String]
4386
4421
  #
4387
4422
  # @!attribute [rw] expected_bucket_owner
4388
- # The account id of the expected bucket owner. If the bucket is owned
4423
+ # The account ID of the expected bucket owner. If the bucket is owned
4389
4424
  # by a different account, the request will fail with an HTTP `403
4390
4425
  # (Access Denied)` error.
4391
4426
  # @return [String]
@@ -4468,7 +4503,7 @@ module Aws::S3
4468
4503
  # @return [String]
4469
4504
  #
4470
4505
  # @!attribute [rw] expected_bucket_owner
4471
- # The account id of the expected bucket owner. If the bucket is owned
4506
+ # The account ID of the expected bucket owner. If the bucket is owned
4472
4507
  # by a different account, the request will fail with an HTTP `403
4473
4508
  # (Access Denied)` error.
4474
4509
  # @return [String]
@@ -4508,7 +4543,7 @@ module Aws::S3
4508
4543
  # @return [String]
4509
4544
  #
4510
4545
  # @!attribute [rw] expected_bucket_owner
4511
- # The account id of the expected bucket owner. If the bucket is owned
4546
+ # The account ID of the expected bucket owner. If the bucket is owned
4512
4547
  # by a different account, the request will fail with an HTTP `403
4513
4548
  # (Access Denied)` error.
4514
4549
  # @return [String]
@@ -4547,7 +4582,7 @@ module Aws::S3
4547
4582
  # @return [String]
4548
4583
  #
4549
4584
  # @!attribute [rw] expected_bucket_owner
4550
- # The account id of the expected bucket owner. If the bucket is owned
4585
+ # The account ID of the expected bucket owner. If the bucket is owned
4551
4586
  # by a different account, the request will fail with an HTTP `403
4552
4587
  # (Access Denied)` error.
4553
4588
  # @return [String]
@@ -4593,7 +4628,7 @@ module Aws::S3
4593
4628
  # @return [String]
4594
4629
  #
4595
4630
  # @!attribute [rw] expected_bucket_owner
4596
- # The account id of the expected bucket owner. If the bucket is owned
4631
+ # The account ID of the expected bucket owner. If the bucket is owned
4597
4632
  # by a different account, the request will fail with an HTTP `403
4598
4633
  # (Access Denied)` error.
4599
4634
  # @return [String]
@@ -4610,8 +4645,7 @@ module Aws::S3
4610
4645
  # @!attribute [rw] logging_enabled
4611
4646
  # Describes where logs are stored and the prefix that Amazon S3
4612
4647
  # assigns to all log object keys for a bucket. For more information,
4613
- # see [PUT Bucket logging][1] in the *Amazon Simple Storage Service
4614
- # API Reference*.
4648
+ # see [PUT Bucket logging][1] in the *Amazon S3 API Reference*.
4615
4649
  #
4616
4650
  #
4617
4651
  #
@@ -4639,7 +4673,7 @@ module Aws::S3
4639
4673
  # @return [String]
4640
4674
  #
4641
4675
  # @!attribute [rw] expected_bucket_owner
4642
- # The account id of the expected bucket owner. If the bucket is owned
4676
+ # The account ID of the expected bucket owner. If the bucket is owned
4643
4677
  # by a different account, the request will fail with an HTTP `403
4644
4678
  # (Access Denied)` error.
4645
4679
  # @return [String]
@@ -4684,7 +4718,7 @@ module Aws::S3
4684
4718
  # @return [String]
4685
4719
  #
4686
4720
  # @!attribute [rw] expected_bucket_owner
4687
- # The account id of the expected bucket owner. If the bucket is owned
4721
+ # The account ID of the expected bucket owner. If the bucket is owned
4688
4722
  # by a different account, the request will fail with an HTTP `403
4689
4723
  # (Access Denied)` error.
4690
4724
  # @return [String]
@@ -4713,7 +4747,7 @@ module Aws::S3
4713
4747
  # @return [String]
4714
4748
  #
4715
4749
  # @!attribute [rw] expected_bucket_owner
4716
- # The account id of the expected bucket owner. If the bucket is owned
4750
+ # The account ID of the expected bucket owner. If the bucket is owned
4717
4751
  # by a different account, the request will fail with an HTTP `403
4718
4752
  # (Access Denied)` error.
4719
4753
  # @return [String]
@@ -4754,7 +4788,7 @@ module Aws::S3
4754
4788
  # @return [String]
4755
4789
  #
4756
4790
  # @!attribute [rw] expected_bucket_owner
4757
- # The account id of the expected bucket owner. If the bucket is owned
4791
+ # The account ID of the expected bucket owner. If the bucket is owned
4758
4792
  # by a different account, the request will fail with an HTTP `403
4759
4793
  # (Access Denied)` error.
4760
4794
  # @return [String]
@@ -4793,7 +4827,7 @@ module Aws::S3
4793
4827
  # @return [String]
4794
4828
  #
4795
4829
  # @!attribute [rw] expected_bucket_owner
4796
- # The account id of the expected bucket owner. If the bucket is owned
4830
+ # The account ID of the expected bucket owner. If the bucket is owned
4797
4831
  # by a different account, the request will fail with an HTTP `403
4798
4832
  # (Access Denied)` error.
4799
4833
  # @return [String]
@@ -4833,7 +4867,7 @@ module Aws::S3
4833
4867
  # @return [String]
4834
4868
  #
4835
4869
  # @!attribute [rw] expected_bucket_owner
4836
- # The account id of the expected bucket owner. If the bucket is owned
4870
+ # The account ID of the expected bucket owner. If the bucket is owned
4837
4871
  # by a different account, the request will fail with an HTTP `403
4838
4872
  # (Access Denied)` error.
4839
4873
  # @return [String]
@@ -4873,7 +4907,7 @@ module Aws::S3
4873
4907
  # @return [String]
4874
4908
  #
4875
4909
  # @!attribute [rw] expected_bucket_owner
4876
- # The account id of the expected bucket owner. If the bucket is owned
4910
+ # The account ID of the expected bucket owner. If the bucket is owned
4877
4911
  # by a different account, the request will fail with an HTTP `403
4878
4912
  # (Access Denied)` error.
4879
4913
  # @return [String]
@@ -4913,7 +4947,7 @@ module Aws::S3
4913
4947
  # @return [String]
4914
4948
  #
4915
4949
  # @!attribute [rw] expected_bucket_owner
4916
- # The account id of the expected bucket owner. If the bucket is owned
4950
+ # The account ID of the expected bucket owner. If the bucket is owned
4917
4951
  # by a different account, the request will fail with an HTTP `403
4918
4952
  # (Access Denied)` error.
4919
4953
  # @return [String]
@@ -4952,7 +4986,7 @@ module Aws::S3
4952
4986
  # @return [String]
4953
4987
  #
4954
4988
  # @!attribute [rw] expected_bucket_owner
4955
- # The account id of the expected bucket owner. If the bucket is owned
4989
+ # The account ID of the expected bucket owner. If the bucket is owned
4956
4990
  # by a different account, the request will fail with an HTTP `403
4957
4991
  # (Access Denied)` error.
4958
4992
  # @return [String]
@@ -4999,7 +5033,7 @@ module Aws::S3
4999
5033
  # @return [String]
5000
5034
  #
5001
5035
  # @!attribute [rw] expected_bucket_owner
5002
- # The account id of the expected bucket owner. If the bucket is owned
5036
+ # The account ID of the expected bucket owner. If the bucket is owned
5003
5037
  # by a different account, the request will fail with an HTTP `403
5004
5038
  # (Access Denied)` error.
5005
5039
  # @return [String]
@@ -5057,7 +5091,7 @@ module Aws::S3
5057
5091
  # @return [String]
5058
5092
  #
5059
5093
  # @!attribute [rw] expected_bucket_owner
5060
- # The account id of the expected bucket owner. If the bucket is owned
5094
+ # The account ID of the expected bucket owner. If the bucket is owned
5061
5095
  # by a different account, the request will fail with an HTTP `403
5062
5096
  # (Access Denied)` error.
5063
5097
  # @return [String]
@@ -5109,18 +5143,18 @@ module Aws::S3
5109
5143
  # The bucket name that contains the object for which to get the ACL
5110
5144
  # information.
5111
5145
  #
5112
- # When using this API with an access point, you must direct requests
5113
- # to the access point hostname. The access point hostname takes the
5114
- # form
5146
+ # When using this action with an access point, you must direct
5147
+ # requests to the access point hostname. The access point hostname
5148
+ # takes the form
5115
5149
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5116
- # When using this operation with an access point through the AWS SDKs,
5150
+ # When using this action with an access point through the AWS SDKs,
5117
5151
  # you provide the access point ARN in place of the bucket name. For
5118
- # more information about access point ARNs, see [Using Access
5119
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5152
+ # more information about access point ARNs, see [Using access
5153
+ # points][1] in the *Amazon S3 User Guide*.
5120
5154
  #
5121
5155
  #
5122
5156
  #
5123
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5157
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5124
5158
  # @return [String]
5125
5159
  #
5126
5160
  # @!attribute [rw] key
@@ -5136,7 +5170,7 @@ module Aws::S3
5136
5170
  # request. Bucket owners need not specify this parameter in their
5137
5171
  # requests. For information about downloading objects from requester
5138
5172
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5139
- # in the *Amazon S3 Developer Guide*.
5173
+ # in the *Amazon S3 User Guide*.
5140
5174
  #
5141
5175
  #
5142
5176
  #
@@ -5144,7 +5178,7 @@ module Aws::S3
5144
5178
  # @return [String]
5145
5179
  #
5146
5180
  # @!attribute [rw] expected_bucket_owner
5147
- # The account id of the expected bucket owner. If the bucket is owned
5181
+ # The account ID of the expected bucket owner. If the bucket is owned
5148
5182
  # by a different account, the request will fail with an HTTP `403
5149
5183
  # (Access Denied)` error.
5150
5184
  # @return [String]
@@ -5188,18 +5222,18 @@ module Aws::S3
5188
5222
  # The bucket name containing the object whose Legal Hold status you
5189
5223
  # want to retrieve.
5190
5224
  #
5191
- # When using this API with an access point, you must direct requests
5192
- # to the access point hostname. The access point hostname takes the
5193
- # form
5225
+ # When using this action with an access point, you must direct
5226
+ # requests to the access point hostname. The access point hostname
5227
+ # takes the form
5194
5228
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5195
- # When using this operation with an access point through the AWS SDKs,
5229
+ # When using this action with an access point through the AWS SDKs,
5196
5230
  # you provide the access point ARN in place of the bucket name. For
5197
- # more information about access point ARNs, see [Using Access
5198
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5231
+ # more information about access point ARNs, see [Using access
5232
+ # points][1] in the *Amazon S3 User Guide*.
5199
5233
  #
5200
5234
  #
5201
5235
  #
5202
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5236
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5203
5237
  # @return [String]
5204
5238
  #
5205
5239
  # @!attribute [rw] key
@@ -5217,7 +5251,7 @@ module Aws::S3
5217
5251
  # request. Bucket owners need not specify this parameter in their
5218
5252
  # requests. For information about downloading objects from requester
5219
5253
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5220
- # in the *Amazon S3 Developer Guide*.
5254
+ # in the *Amazon S3 User Guide*.
5221
5255
  #
5222
5256
  #
5223
5257
  #
@@ -5225,7 +5259,7 @@ module Aws::S3
5225
5259
  # @return [String]
5226
5260
  #
5227
5261
  # @!attribute [rw] expected_bucket_owner
5228
- # The account id of the expected bucket owner. If the bucket is owned
5262
+ # The account ID of the expected bucket owner. If the bucket is owned
5229
5263
  # by a different account, the request will fail with an HTTP `403
5230
5264
  # (Access Denied)` error.
5231
5265
  # @return [String]
@@ -5265,22 +5299,22 @@ module Aws::S3
5265
5299
  # @!attribute [rw] bucket
5266
5300
  # The bucket whose Object Lock configuration you want to retrieve.
5267
5301
  #
5268
- # When using this API with an access point, you must direct requests
5269
- # to the access point hostname. The access point hostname takes the
5270
- # form
5302
+ # When using this action with an access point, you must direct
5303
+ # requests to the access point hostname. The access point hostname
5304
+ # takes the form
5271
5305
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5272
- # When using this operation with an access point through the AWS SDKs,
5306
+ # When using this action with an access point through the AWS SDKs,
5273
5307
  # you provide the access point ARN in place of the bucket name. For
5274
- # more information about access point ARNs, see [Using Access
5275
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5308
+ # more information about access point ARNs, see [Using access
5309
+ # points][1] in the *Amazon S3 User Guide*.
5276
5310
  #
5277
5311
  #
5278
5312
  #
5279
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5313
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5280
5314
  # @return [String]
5281
5315
  #
5282
5316
  # @!attribute [rw] expected_bucket_owner
5283
- # The account id of the expected bucket owner. If the bucket is owned
5317
+ # The account ID of the expected bucket owner. If the bucket is owned
5284
5318
  # by a different account, the request will fail with an HTTP `403
5285
5319
  # (Access Denied)` error.
5286
5320
  # @return [String]
@@ -5316,12 +5350,12 @@ module Aws::S3
5316
5350
  # @return [String]
5317
5351
  #
5318
5352
  # @!attribute [rw] restore
5319
- # Provides information about object restoration operation and
5320
- # expiration time of the restored object copy.
5353
+ # Provides information about object restoration action and expiration
5354
+ # time of the restored object copy.
5321
5355
  # @return [String]
5322
5356
  #
5323
5357
  # @!attribute [rw] last_modified
5324
- # Last modified date of the object
5358
+ # Creation date of the object.
5325
5359
  # @return [Time]
5326
5360
  #
5327
5361
  # @!attribute [rw] content_length
@@ -5525,28 +5559,28 @@ module Aws::S3
5525
5559
  # @!attribute [rw] bucket
5526
5560
  # The bucket name containing the object.
5527
5561
  #
5528
- # When using this API with an access point, you must direct requests
5529
- # to the access point hostname. The access point hostname takes the
5530
- # form
5562
+ # When using this action with an access point, you must direct
5563
+ # requests to the access point hostname. The access point hostname
5564
+ # takes the form
5531
5565
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5532
- # When using this operation with an access point through the AWS SDKs,
5566
+ # When using this action with an access point through the AWS SDKs,
5533
5567
  # you provide the access point ARN in place of the bucket name. For
5534
- # more information about access point ARNs, see [Using Access
5535
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5568
+ # more information about access point ARNs, see [Using access
5569
+ # points][1] in the *Amazon S3 User Guide*.
5536
5570
  #
5537
- # When using this API with Amazon S3 on Outposts, you must direct
5571
+ # When using this action with Amazon S3 on Outposts, you must direct
5538
5572
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
5539
5573
  # takes the form
5540
5574
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
5541
- # When using this operation using S3 on Outposts through the AWS SDKs,
5575
+ # When using this action using S3 on Outposts through the AWS SDKs,
5542
5576
  # you provide the Outposts bucket ARN in place of the bucket name. For
5543
5577
  # more information about S3 on Outposts ARNs, see [Using S3 on
5544
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
5578
+ # Outposts][2] in the *Amazon S3 User Guide*.
5545
5579
  #
5546
5580
  #
5547
5581
  #
5548
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5549
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
5582
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5583
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
5550
5584
  # @return [String]
5551
5585
  #
5552
5586
  # @!attribute [rw] if_match
@@ -5617,14 +5651,14 @@ module Aws::S3
5617
5651
  # @return [String]
5618
5652
  #
5619
5653
  # @!attribute [rw] sse_customer_algorithm
5620
- # Specifies the algorithm to use to when encrypting the object (for
5654
+ # Specifies the algorithm to use to when decrypting the object (for
5621
5655
  # example, AES256).
5622
5656
  # @return [String]
5623
5657
  #
5624
5658
  # @!attribute [rw] sse_customer_key
5625
- # Specifies the customer-provided encryption key for Amazon S3 to use
5626
- # in encrypting data. This value is used to store the object and then
5627
- # it is discarded; Amazon S3 does not store the encryption key. The
5659
+ # Specifies the customer-provided encryption key for Amazon S3 used to
5660
+ # encrypt the data. This value is used to decrypt the object when
5661
+ # recovering it and must match the one used when storing the data. The
5628
5662
  # key must be appropriate for use with the algorithm specified in the
5629
5663
  # `x-amz-server-side-encryption-customer-algorithm` header.
5630
5664
  # @return [String]
@@ -5640,7 +5674,7 @@ module Aws::S3
5640
5674
  # request. Bucket owners need not specify this parameter in their
5641
5675
  # requests. For information about downloading objects from requester
5642
5676
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5643
- # in the *Amazon S3 Developer Guide*.
5677
+ # in the *Amazon S3 User Guide*.
5644
5678
  #
5645
5679
  #
5646
5680
  #
@@ -5655,7 +5689,7 @@ module Aws::S3
5655
5689
  # @return [Integer]
5656
5690
  #
5657
5691
  # @!attribute [rw] expected_bucket_owner
5658
- # The account id of the expected bucket owner. If the bucket is owned
5692
+ # The account ID of the expected bucket owner. If the bucket is owned
5659
5693
  # by a different account, the request will fail with an HTTP `403
5660
5694
  # (Access Denied)` error.
5661
5695
  # @return [String]
@@ -5714,18 +5748,18 @@ module Aws::S3
5714
5748
  # The bucket name containing the object whose retention settings you
5715
5749
  # want to retrieve.
5716
5750
  #
5717
- # When using this API with an access point, you must direct requests
5718
- # to the access point hostname. The access point hostname takes the
5719
- # form
5751
+ # When using this action with an access point, you must direct
5752
+ # requests to the access point hostname. The access point hostname
5753
+ # takes the form
5720
5754
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5721
- # When using this operation with an access point through the AWS SDKs,
5755
+ # When using this action with an access point through the AWS SDKs,
5722
5756
  # you provide the access point ARN in place of the bucket name. For
5723
- # more information about access point ARNs, see [Using Access
5724
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5757
+ # more information about access point ARNs, see [Using access
5758
+ # points][1] in the *Amazon S3 User Guide*.
5725
5759
  #
5726
5760
  #
5727
5761
  #
5728
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5762
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5729
5763
  # @return [String]
5730
5764
  #
5731
5765
  # @!attribute [rw] key
@@ -5743,7 +5777,7 @@ module Aws::S3
5743
5777
  # request. Bucket owners need not specify this parameter in their
5744
5778
  # requests. For information about downloading objects from requester
5745
5779
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5746
- # in the *Amazon S3 Developer Guide*.
5780
+ # in the *Amazon S3 User Guide*.
5747
5781
  #
5748
5782
  #
5749
5783
  #
@@ -5751,7 +5785,7 @@ module Aws::S3
5751
5785
  # @return [String]
5752
5786
  #
5753
5787
  # @!attribute [rw] expected_bucket_owner
5754
- # The account id of the expected bucket owner. If the bucket is owned
5788
+ # The account ID of the expected bucket owner. If the bucket is owned
5755
5789
  # by a different account, the request will fail with an HTTP `403
5756
5790
  # (Access Denied)` error.
5757
5791
  # @return [String]
@@ -5794,34 +5828,35 @@ module Aws::S3
5794
5828
  # key: "ObjectKey", # required
5795
5829
  # version_id: "ObjectVersionId",
5796
5830
  # expected_bucket_owner: "AccountId",
5831
+ # request_payer: "requester", # accepts requester
5797
5832
  # }
5798
5833
  #
5799
5834
  # @!attribute [rw] bucket
5800
5835
  # The bucket name containing the object for which to get the tagging
5801
5836
  # information.
5802
5837
  #
5803
- # When using this API with an access point, you must direct requests
5804
- # to the access point hostname. The access point hostname takes the
5805
- # form
5838
+ # When using this action with an access point, you must direct
5839
+ # requests to the access point hostname. The access point hostname
5840
+ # takes the form
5806
5841
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5807
- # When using this operation with an access point through the AWS SDKs,
5842
+ # When using this action with an access point through the AWS SDKs,
5808
5843
  # you provide the access point ARN in place of the bucket name. For
5809
- # more information about access point ARNs, see [Using Access
5810
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5844
+ # more information about access point ARNs, see [Using access
5845
+ # points][1] in the *Amazon S3 User Guide*.
5811
5846
  #
5812
- # When using this API with Amazon S3 on Outposts, you must direct
5847
+ # When using this action with Amazon S3 on Outposts, you must direct
5813
5848
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
5814
5849
  # takes the form
5815
5850
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
5816
- # When using this operation using S3 on Outposts through the AWS SDKs,
5851
+ # When using this action using S3 on Outposts through the AWS SDKs,
5817
5852
  # you provide the Outposts bucket ARN in place of the bucket name. For
5818
5853
  # more information about S3 on Outposts ARNs, see [Using S3 on
5819
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
5854
+ # Outposts][2] in the *Amazon S3 User Guide*.
5820
5855
  #
5821
5856
  #
5822
5857
  #
5823
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5824
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
5858
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5859
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
5825
5860
  # @return [String]
5826
5861
  #
5827
5862
  # @!attribute [rw] key
@@ -5834,18 +5869,31 @@ module Aws::S3
5834
5869
  # @return [String]
5835
5870
  #
5836
5871
  # @!attribute [rw] expected_bucket_owner
5837
- # The account id of the expected bucket owner. If the bucket is owned
5872
+ # The account ID of the expected bucket owner. If the bucket is owned
5838
5873
  # by a different account, the request will fail with an HTTP `403
5839
5874
  # (Access Denied)` error.
5840
5875
  # @return [String]
5841
5876
  #
5877
+ # @!attribute [rw] request_payer
5878
+ # Confirms that the requester knows that they will be charged for the
5879
+ # request. Bucket owners need not specify this parameter in their
5880
+ # requests. For information about downloading objects from requester
5881
+ # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5882
+ # in the *Amazon S3 User Guide*.
5883
+ #
5884
+ #
5885
+ #
5886
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
5887
+ # @return [String]
5888
+ #
5842
5889
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest AWS API Documentation
5843
5890
  #
5844
5891
  class GetObjectTaggingRequest < Struct.new(
5845
5892
  :bucket,
5846
5893
  :key,
5847
5894
  :version_id,
5848
- :expected_bucket_owner)
5895
+ :expected_bucket_owner,
5896
+ :request_payer)
5849
5897
  SENSITIVE = []
5850
5898
  include Aws::Structure
5851
5899
  end
@@ -5892,7 +5940,7 @@ module Aws::S3
5892
5940
  # request. Bucket owners need not specify this parameter in their
5893
5941
  # requests. For information about downloading objects from requester
5894
5942
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5895
- # in the *Amazon S3 Developer Guide*.
5943
+ # in the *Amazon S3 User Guide*.
5896
5944
  #
5897
5945
  #
5898
5946
  #
@@ -5900,7 +5948,7 @@ module Aws::S3
5900
5948
  # @return [String]
5901
5949
  #
5902
5950
  # @!attribute [rw] expected_bucket_owner
5903
- # The account id of the expected bucket owner. If the bucket is owned
5951
+ # The account ID of the expected bucket owner. If the bucket is owned
5904
5952
  # by a different account, the request will fail with an HTTP `403
5905
5953
  # (Access Denied)` error.
5906
5954
  # @return [String]
@@ -5943,7 +5991,7 @@ module Aws::S3
5943
5991
  # @return [String]
5944
5992
  #
5945
5993
  # @!attribute [rw] expected_bucket_owner
5946
- # The account id of the expected bucket owner. If the bucket is owned
5994
+ # The account ID of the expected bucket owner. If the bucket is owned
5947
5995
  # by a different account, the request will fail with an HTTP `403
5948
5996
  # (Access Denied)` error.
5949
5997
  # @return [String]
@@ -6095,32 +6143,32 @@ module Aws::S3
6095
6143
  # @!attribute [rw] bucket
6096
6144
  # The bucket name.
6097
6145
  #
6098
- # When using this API with an access point, you must direct requests
6099
- # to the access point hostname. The access point hostname takes the
6100
- # form
6146
+ # When using this action with an access point, you must direct
6147
+ # requests to the access point hostname. The access point hostname
6148
+ # takes the form
6101
6149
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
6102
- # When using this operation with an access point through the AWS SDKs,
6150
+ # When using this action with an access point through the AWS SDKs,
6103
6151
  # you provide the access point ARN in place of the bucket name. For
6104
- # more information about access point ARNs, see [Using Access
6105
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
6152
+ # more information about access point ARNs, see [Using access
6153
+ # points][1] in the *Amazon S3 User Guide*.
6106
6154
  #
6107
- # When using this API with Amazon S3 on Outposts, you must direct
6155
+ # When using this action with Amazon S3 on Outposts, you must direct
6108
6156
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
6109
6157
  # takes the form
6110
6158
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
6111
- # When using this operation using S3 on Outposts through the AWS SDKs,
6159
+ # When using this action using S3 on Outposts through the AWS SDKs,
6112
6160
  # you provide the Outposts bucket ARN in place of the bucket name. For
6113
6161
  # more information about S3 on Outposts ARNs, see [Using S3 on
6114
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
6162
+ # Outposts][2] in the *Amazon S3 User Guide*.
6115
6163
  #
6116
6164
  #
6117
6165
  #
6118
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
6119
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
6166
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
6167
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
6120
6168
  # @return [String]
6121
6169
  #
6122
6170
  # @!attribute [rw] expected_bucket_owner
6123
- # The account id of the expected bucket owner. If the bucket is owned
6171
+ # The account ID of the expected bucket owner. If the bucket is owned
6124
6172
  # by a different account, the request will fail with an HTTP `403
6125
6173
  # (Access Denied)` error.
6126
6174
  # @return [String]
@@ -6160,7 +6208,7 @@ module Aws::S3
6160
6208
  # If an archive copy is already restored, the header value indicates
6161
6209
  # when Amazon S3 is scheduled to delete the object copy. For example:
6162
6210
  #
6163
- # `x-amz-restore: ongoing-request="false", expiry-date="Fri, 23 Dec
6211
+ # `x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec
6164
6212
  # 2012 00:00:00 GMT"`
6165
6213
  #
6166
6214
  # If the object restoration is in progress, the header returns the
@@ -6180,7 +6228,7 @@ module Aws::S3
6180
6228
  # @return [String]
6181
6229
  #
6182
6230
  # @!attribute [rw] last_modified
6183
- # Last modified date of the object
6231
+ # Creation date of the object.
6184
6232
  # @return [Time]
6185
6233
  #
6186
6234
  # @!attribute [rw] content_length
@@ -6431,28 +6479,28 @@ module Aws::S3
6431
6479
  # @!attribute [rw] bucket
6432
6480
  # The name of the bucket containing the object.
6433
6481
  #
6434
- # When using this API with an access point, you must direct requests
6435
- # to the access point hostname. The access point hostname takes the
6436
- # form
6482
+ # When using this action with an access point, you must direct
6483
+ # requests to the access point hostname. The access point hostname
6484
+ # takes the form
6437
6485
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
6438
- # When using this operation with an access point through the AWS SDKs,
6486
+ # When using this action with an access point through the AWS SDKs,
6439
6487
  # you provide the access point ARN in place of the bucket name. For
6440
- # more information about access point ARNs, see [Using Access
6441
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
6488
+ # more information about access point ARNs, see [Using access
6489
+ # points][1] in the *Amazon S3 User Guide*.
6442
6490
  #
6443
- # When using this API with Amazon S3 on Outposts, you must direct
6491
+ # When using this action with Amazon S3 on Outposts, you must direct
6444
6492
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
6445
6493
  # takes the form
6446
6494
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
6447
- # When using this operation using S3 on Outposts through the AWS SDKs,
6495
+ # When using this action using S3 on Outposts through the AWS SDKs,
6448
6496
  # you provide the Outposts bucket ARN in place of the bucket name. For
6449
6497
  # more information about S3 on Outposts ARNs, see [Using S3 on
6450
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
6498
+ # Outposts][2] in the *Amazon S3 User Guide*.
6451
6499
  #
6452
6500
  #
6453
6501
  #
6454
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
6455
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
6502
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
6503
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
6456
6504
  # @return [String]
6457
6505
  #
6458
6506
  # @!attribute [rw] if_match
@@ -6522,7 +6570,7 @@ module Aws::S3
6522
6570
  # request. Bucket owners need not specify this parameter in their
6523
6571
  # requests. For information about downloading objects from requester
6524
6572
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6525
- # in the *Amazon S3 Developer Guide*.
6573
+ # in the *Amazon S3 User Guide*.
6526
6574
  #
6527
6575
  #
6528
6576
  #
@@ -6537,7 +6585,7 @@ module Aws::S3
6537
6585
  # @return [Integer]
6538
6586
  #
6539
6587
  # @!attribute [rw] expected_bucket_owner
6540
- # The account id of the expected bucket owner. If the bucket is owned
6588
+ # The account ID of the expected bucket owner. If the bucket is owned
6541
6589
  # by a different account, the request will fail with an HTTP `403
6542
6590
  # (Access Denied)` error.
6543
6591
  # @return [String]
@@ -6578,6 +6626,14 @@ module Aws::S3
6578
6626
  # you make a request to samplebucket/images/ the data that is returned
6579
6627
  # will be for the object with the key name images/index.html) The
6580
6628
  # suffix must not be empty and must not include a slash character.
6629
+ #
6630
+ # Replacement must be made for object keys containing special
6631
+ # characters (such as carriage returns) when using XML requests. For
6632
+ # more information, see [ XML related object key constraints][1].
6633
+ #
6634
+ #
6635
+ #
6636
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
6581
6637
  # @return [String]
6582
6638
  #
6583
6639
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument AWS API Documentation
@@ -6790,6 +6846,14 @@ module Aws::S3
6790
6846
  # @!attribute [rw] prefix
6791
6847
  # An object key name prefix that identifies the subset of objects to
6792
6848
  # which the rule applies.
6849
+ #
6850
+ # Replacement must be made for object keys containing special
6851
+ # characters (such as carriage returns) when using XML requests. For
6852
+ # more information, see [ XML related object key constraints][1].
6853
+ #
6854
+ #
6855
+ #
6856
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
6793
6857
  # @return [String]
6794
6858
  #
6795
6859
  # @!attribute [rw] tag
@@ -6831,8 +6895,8 @@ module Aws::S3
6831
6895
  end
6832
6896
 
6833
6897
  # Specifies the inventory configuration for an Amazon S3 bucket. For
6834
- # more information, see [GET Bucket inventory][1] in the *Amazon Simple
6835
- # Storage Service API Reference*.
6898
+ # more information, see [GET Bucket inventory][1] in the *Amazon S3 API
6899
+ # Reference*.
6836
6900
  #
6837
6901
  #
6838
6902
  #
@@ -6863,7 +6927,7 @@ module Aws::S3
6863
6927
  # },
6864
6928
  # id: "InventoryId", # required
6865
6929
  # included_object_versions: "All", # required, accepts All, Current
6866
- # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier
6930
+ # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus
6867
6931
  # schedule: { # required
6868
6932
  # frequency: "Daily", # required, accepts Daily, Weekly
6869
6933
  # },
@@ -7168,7 +7232,7 @@ module Aws::S3
7168
7232
  # @!attribute [rw] events
7169
7233
  # The Amazon S3 bucket event for which to invoke the AWS Lambda
7170
7234
  # function. For more information, see [Supported Event Types][1] in
7171
- # the *Amazon Simple Storage Service Developer Guide*.
7235
+ # the *Amazon S3 User Guide*.
7172
7236
  #
7173
7237
  #
7174
7238
  #
@@ -7178,7 +7242,7 @@ module Aws::S3
7178
7242
  # @!attribute [rw] filter
7179
7243
  # Specifies object key name filtering rules. For information about key
7180
7244
  # name filtering, see [Configuring Event Notifications][1] in the
7181
- # *Amazon Simple Storage Service Developer Guide*.
7245
+ # *Amazon S3 User Guide*.
7182
7246
  #
7183
7247
  #
7184
7248
  #
@@ -7344,13 +7408,22 @@ module Aws::S3
7344
7408
  #
7345
7409
  # @!attribute [rw] prefix
7346
7410
  # Prefix identifying one or more objects to which the rule applies.
7347
- # This is No longer used; use `Filter` instead.
7411
+ # This is no longer used; use `Filter` instead.
7412
+ #
7413
+ # Replacement must be made for object keys containing special
7414
+ # characters (such as carriage returns) when using XML requests. For
7415
+ # more information, see [ XML related object key constraints][1].
7416
+ #
7417
+ #
7418
+ #
7419
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
7348
7420
  # @return [String]
7349
7421
  #
7350
7422
  # @!attribute [rw] filter
7351
7423
  # The `Filter` is used to identify objects that a Lifecycle Rule
7352
7424
  # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
7353
- # `And` specified.
7425
+ # `And` specified. `Filter` is required if the `LifecycleRule` does
7426
+ # not containt a `Prefix` element.
7354
7427
  # @return [Types::LifecycleRuleFilter]
7355
7428
  #
7356
7429
  # @!attribute [rw] status
@@ -7386,7 +7459,7 @@ module Aws::S3
7386
7459
  # upload that Amazon S3 will wait before permanently removing all
7387
7460
  # parts of the upload. For more information, see [ Aborting Incomplete
7388
7461
  # Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
7389
- # Simple Storage Service Developer Guide*.
7462
+ # S3 User Guide*.
7390
7463
  #
7391
7464
  #
7392
7465
  #
@@ -7470,6 +7543,14 @@ module Aws::S3
7470
7543
  #
7471
7544
  # @!attribute [rw] prefix
7472
7545
  # Prefix identifying one or more objects to which the rule applies.
7546
+ #
7547
+ # Replacement must be made for object keys containing special
7548
+ # characters (such as carriage returns) when using XML requests. For
7549
+ # more information, see [ XML related object key constraints][1].
7550
+ #
7551
+ #
7552
+ #
7553
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
7473
7554
  # @return [String]
7474
7555
  #
7475
7556
  # @!attribute [rw] tag
@@ -7548,7 +7629,7 @@ module Aws::S3
7548
7629
  # @return [String]
7549
7630
  #
7550
7631
  # @!attribute [rw] expected_bucket_owner
7551
- # The account id of the expected bucket owner. If the bucket is owned
7632
+ # The account ID of the expected bucket owner. If the bucket is owned
7552
7633
  # by a different account, the request will fail with an HTTP `403
7553
7634
  # (Access Denied)` error.
7554
7635
  # @return [String]
@@ -7679,7 +7760,7 @@ module Aws::S3
7679
7760
  # @return [String]
7680
7761
  #
7681
7762
  # @!attribute [rw] expected_bucket_owner
7682
- # The account id of the expected bucket owner. If the bucket is owned
7763
+ # The account ID of the expected bucket owner. If the bucket is owned
7683
7764
  # by a different account, the request will fail with an HTTP `403
7684
7765
  # (Access Denied)` error.
7685
7766
  # @return [String]
@@ -7751,7 +7832,7 @@ module Aws::S3
7751
7832
  # @return [String]
7752
7833
  #
7753
7834
  # @!attribute [rw] expected_bucket_owner
7754
- # The account id of the expected bucket owner. If the bucket is owned
7835
+ # The account ID of the expected bucket owner. If the bucket is owned
7755
7836
  # by a different account, the request will fail with an HTTP `403
7756
7837
  # (Access Denied)` error.
7757
7838
  # @return [String]
@@ -7890,28 +7971,28 @@ module Aws::S3
7890
7971
  # @!attribute [rw] bucket
7891
7972
  # The name of the bucket to which the multipart upload was initiated.
7892
7973
  #
7893
- # When using this API with an access point, you must direct requests
7894
- # to the access point hostname. The access point hostname takes the
7895
- # form
7974
+ # When using this action with an access point, you must direct
7975
+ # requests to the access point hostname. The access point hostname
7976
+ # takes the form
7896
7977
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
7897
- # When using this operation with an access point through the AWS SDKs,
7978
+ # When using this action with an access point through the AWS SDKs,
7898
7979
  # you provide the access point ARN in place of the bucket name. For
7899
- # more information about access point ARNs, see [Using Access
7900
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
7980
+ # more information about access point ARNs, see [Using access
7981
+ # points][1] in the *Amazon S3 User Guide*.
7901
7982
  #
7902
- # When using this API with Amazon S3 on Outposts, you must direct
7983
+ # When using this action with Amazon S3 on Outposts, you must direct
7903
7984
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
7904
7985
  # takes the form
7905
7986
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
7906
- # When using this operation using S3 on Outposts through the AWS SDKs,
7987
+ # When using this action using S3 on Outposts through the AWS SDKs,
7907
7988
  # you provide the Outposts bucket ARN in place of the bucket name. For
7908
7989
  # more information about S3 on Outposts ARNs, see [Using S3 on
7909
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
7990
+ # Outposts][2] in the *Amazon S3 User Guide*.
7910
7991
  #
7911
7992
  #
7912
7993
  #
7913
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
7914
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
7994
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
7995
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
7915
7996
  # @return [String]
7916
7997
  #
7917
7998
  # @!attribute [rw] delimiter
@@ -7972,7 +8053,7 @@ module Aws::S3
7972
8053
  # @return [String]
7973
8054
  #
7974
8055
  # @!attribute [rw] expected_bucket_owner
7975
- # The account id of the expected bucket owner. If the bucket is owned
8056
+ # The account ID of the expected bucket owner. If the bucket is owned
7976
8057
  # by a different account, the request will fail with an HTTP `403
7977
8058
  # (Access Denied)` error.
7978
8059
  # @return [String]
@@ -8130,7 +8211,7 @@ module Aws::S3
8130
8211
  #
8131
8212
  # @!attribute [rw] max_keys
8132
8213
  # Sets the maximum number of keys returned in the response. By default
8133
- # the API returns up to 1,000 key names. The response might contain
8214
+ # the action returns up to 1,000 key names. The response might contain
8134
8215
  # fewer keys but will never contain more. If additional keys satisfy
8135
8216
  # the search criteria, but were not returned because max-keys was
8136
8217
  # exceeded, the response contains
@@ -8152,7 +8233,7 @@ module Aws::S3
8152
8233
  # @return [String]
8153
8234
  #
8154
8235
  # @!attribute [rw] expected_bucket_owner
8155
- # The account id of the expected bucket owner. If the bucket is owned
8236
+ # The account ID of the expected bucket owner. If the bucket is owned
8156
8237
  # by a different account, the request will fail with an HTTP `403
8157
8238
  # (Access Denied)` error.
8158
8239
  # @return [String]
@@ -8218,8 +8299,8 @@ module Aws::S3
8218
8299
  # @return [Integer]
8219
8300
  #
8220
8301
  # @!attribute [rw] common_prefixes
8221
- # All of the keys rolled up in a common prefix count as a single
8222
- # return when calculating the number of returns.
8302
+ # All of the keys (up to 1,000) rolled up in a common prefix count as
8303
+ # a single return when calculating the number of returns.
8223
8304
  #
8224
8305
  # A response can contain CommonPrefixes only if you specify a
8225
8306
  # delimiter.
@@ -8275,28 +8356,28 @@ module Aws::S3
8275
8356
  # @!attribute [rw] bucket
8276
8357
  # The name of the bucket containing the objects.
8277
8358
  #
8278
- # When using this API with an access point, you must direct requests
8279
- # to the access point hostname. The access point hostname takes the
8280
- # form
8359
+ # When using this action with an access point, you must direct
8360
+ # requests to the access point hostname. The access point hostname
8361
+ # takes the form
8281
8362
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
8282
- # When using this operation with an access point through the AWS SDKs,
8363
+ # When using this action with an access point through the AWS SDKs,
8283
8364
  # you provide the access point ARN in place of the bucket name. For
8284
- # more information about access point ARNs, see [Using Access
8285
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8365
+ # more information about access point ARNs, see [Using access
8366
+ # points][1] in the *Amazon S3 User Guide*.
8286
8367
  #
8287
- # When using this API with Amazon S3 on Outposts, you must direct
8368
+ # When using this action with Amazon S3 on Outposts, you must direct
8288
8369
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8289
8370
  # takes the form
8290
8371
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8291
- # When using this operation using S3 on Outposts through the AWS SDKs,
8372
+ # When using this action using S3 on Outposts through the AWS SDKs,
8292
8373
  # you provide the Outposts bucket ARN in place of the bucket name. For
8293
8374
  # more information about S3 on Outposts ARNs, see [Using S3 on
8294
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8375
+ # Outposts][2] in the *Amazon S3 User Guide*.
8295
8376
  #
8296
8377
  #
8297
8378
  #
8298
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8299
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8379
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8380
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8300
8381
  # @return [String]
8301
8382
  #
8302
8383
  # @!attribute [rw] delimiter
@@ -8318,7 +8399,7 @@ module Aws::S3
8318
8399
  #
8319
8400
  # @!attribute [rw] max_keys
8320
8401
  # Sets the maximum number of keys returned in the response. By default
8321
- # the API returns up to 1,000 key names. The response might contain
8402
+ # the action returns up to 1,000 key names. The response might contain
8322
8403
  # fewer keys but will never contain more.
8323
8404
  # @return [Integer]
8324
8405
  #
@@ -8333,7 +8414,7 @@ module Aws::S3
8333
8414
  # @return [String]
8334
8415
  #
8335
8416
  # @!attribute [rw] expected_bucket_owner
8336
- # The account id of the expected bucket owner. If the bucket is owned
8417
+ # The account ID of the expected bucket owner. If the bucket is owned
8337
8418
  # by a different account, the request will fail with an HTTP `403
8338
8419
  # (Access Denied)` error.
8339
8420
  # @return [String]
@@ -8366,28 +8447,28 @@ module Aws::S3
8366
8447
  # @!attribute [rw] name
8367
8448
  # The bucket name.
8368
8449
  #
8369
- # When using this API with an access point, you must direct requests
8370
- # to the access point hostname. The access point hostname takes the
8371
- # form
8450
+ # When using this action with an access point, you must direct
8451
+ # requests to the access point hostname. The access point hostname
8452
+ # takes the form
8372
8453
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
8373
- # When using this operation with an access point through the AWS SDKs,
8454
+ # When using this action with an access point through the AWS SDKs,
8374
8455
  # you provide the access point ARN in place of the bucket name. For
8375
- # more information about access point ARNs, see [Using Access
8376
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8456
+ # more information about access point ARNs, see [Using access
8457
+ # points][1] in the *Amazon S3 User Guide*.
8377
8458
  #
8378
- # When using this API with Amazon S3 on Outposts, you must direct
8459
+ # When using this action with Amazon S3 on Outposts, you must direct
8379
8460
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8380
8461
  # takes the form
8381
8462
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8382
- # When using this operation using S3 on Outposts through the AWS SDKs,
8463
+ # When using this action using S3 on Outposts through the AWS SDKs,
8383
8464
  # you provide the Outposts bucket ARN in place of the bucket name. For
8384
8465
  # more information about S3 on Outposts ARNs, see [Using S3 on
8385
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8466
+ # Outposts][2] in the *Amazon S3 User Guide*.
8386
8467
  #
8387
8468
  #
8388
8469
  #
8389
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8390
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8470
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8471
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8391
8472
  # @return [String]
8392
8473
  #
8393
8474
  # @!attribute [rw] prefix
@@ -8404,13 +8485,13 @@ module Aws::S3
8404
8485
  #
8405
8486
  # @!attribute [rw] max_keys
8406
8487
  # Sets the maximum number of keys returned in the response. By default
8407
- # the API returns up to 1,000 key names. The response might contain
8488
+ # the action returns up to 1,000 key names. The response might contain
8408
8489
  # fewer keys but will never contain more.
8409
8490
  # @return [Integer]
8410
8491
  #
8411
8492
  # @!attribute [rw] common_prefixes
8412
- # All of the keys rolled up into a common prefix count as a single
8413
- # return when calculating the number of returns.
8493
+ # All of the keys (up to 1,000) rolled up into a common prefix count
8494
+ # as a single return when calculating the number of returns.
8414
8495
  #
8415
8496
  # A response can contain `CommonPrefixes` only if you specify a
8416
8497
  # delimiter.
@@ -8441,8 +8522,8 @@ module Aws::S3
8441
8522
  #
8442
8523
  # @!attribute [rw] key_count
8443
8524
  # 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 50
8445
- # keys, your result will include less than equals 50 keys
8525
+ # will always be less than or equals to MaxKeys field. Say you ask for
8526
+ # 50 keys, your result will include less than equals 50 keys
8446
8527
  # @return [Integer]
8447
8528
  #
8448
8529
  # @!attribute [rw] continuation_token
@@ -8501,28 +8582,28 @@ module Aws::S3
8501
8582
  # @!attribute [rw] bucket
8502
8583
  # Bucket name to list.
8503
8584
  #
8504
- # When using this API with an access point, you must direct requests
8505
- # to the access point hostname. The access point hostname takes the
8506
- # form
8585
+ # When using this action with an access point, you must direct
8586
+ # requests to the access point hostname. The access point hostname
8587
+ # takes the form
8507
8588
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
8508
- # When using this operation with an access point through the AWS SDKs,
8589
+ # When using this action with an access point through the AWS SDKs,
8509
8590
  # you provide the access point ARN in place of the bucket name. For
8510
- # more information about access point ARNs, see [Using Access
8511
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8591
+ # more information about access point ARNs, see [Using access
8592
+ # points][1] in the *Amazon S3 User Guide*.
8512
8593
  #
8513
- # When using this API with Amazon S3 on Outposts, you must direct
8594
+ # When using this action with Amazon S3 on Outposts, you must direct
8514
8595
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8515
8596
  # takes the form
8516
8597
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8517
- # When using this operation using S3 on Outposts through the AWS SDKs,
8598
+ # When using this action using S3 on Outposts through the AWS SDKs,
8518
8599
  # you provide the Outposts bucket ARN in place of the bucket name. For
8519
8600
  # more information about S3 on Outposts ARNs, see [Using S3 on
8520
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8601
+ # Outposts][2] in the *Amazon S3 User Guide*.
8521
8602
  #
8522
8603
  #
8523
8604
  #
8524
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8525
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8605
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8606
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8526
8607
  # @return [String]
8527
8608
  #
8528
8609
  # @!attribute [rw] delimiter
@@ -8536,7 +8617,7 @@ module Aws::S3
8536
8617
  #
8537
8618
  # @!attribute [rw] max_keys
8538
8619
  # Sets the maximum number of keys returned in the response. By default
8539
- # the API returns up to 1,000 key names. The response might contain
8620
+ # the action returns up to 1,000 key names. The response might contain
8540
8621
  # fewer keys but will never contain more.
8541
8622
  # @return [Integer]
8542
8623
  #
@@ -8569,7 +8650,7 @@ module Aws::S3
8569
8650
  # @return [String]
8570
8651
  #
8571
8652
  # @!attribute [rw] expected_bucket_owner
8572
- # The account id of the expected bucket owner. If the bucket is owned
8653
+ # The account ID of the expected bucket owner. If the bucket is owned
8573
8654
  # by a different account, the request will fail with an HTTP `403
8574
8655
  # (Access Denied)` error.
8575
8656
  # @return [String]
@@ -8716,28 +8797,28 @@ module Aws::S3
8716
8797
  # @!attribute [rw] bucket
8717
8798
  # The name of the bucket to which the parts are being uploaded.
8718
8799
  #
8719
- # When using this API with an access point, you must direct requests
8720
- # to the access point hostname. The access point hostname takes the
8721
- # form
8800
+ # When using this action with an access point, you must direct
8801
+ # requests to the access point hostname. The access point hostname
8802
+ # takes the form
8722
8803
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
8723
- # When using this operation with an access point through the AWS SDKs,
8804
+ # When using this action with an access point through the AWS SDKs,
8724
8805
  # you provide the access point ARN in place of the bucket name. For
8725
- # more information about access point ARNs, see [Using Access
8726
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8806
+ # more information about access point ARNs, see [Using access
8807
+ # points][1] in the *Amazon S3 User Guide*.
8727
8808
  #
8728
- # When using this API with Amazon S3 on Outposts, you must direct
8809
+ # When using this action with Amazon S3 on Outposts, you must direct
8729
8810
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8730
8811
  # takes the form
8731
8812
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8732
- # When using this operation using S3 on Outposts through the AWS SDKs,
8813
+ # When using this action using S3 on Outposts through the AWS SDKs,
8733
8814
  # you provide the Outposts bucket ARN in place of the bucket name. For
8734
8815
  # more information about S3 on Outposts ARNs, see [Using S3 on
8735
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8816
+ # Outposts][2] in the *Amazon S3 User Guide*.
8736
8817
  #
8737
8818
  #
8738
8819
  #
8739
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8740
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8820
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8821
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8741
8822
  # @return [String]
8742
8823
  #
8743
8824
  # @!attribute [rw] key
@@ -8763,7 +8844,7 @@ module Aws::S3
8763
8844
  # request. Bucket owners need not specify this parameter in their
8764
8845
  # requests. For information about downloading objects from requester
8765
8846
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
8766
- # in the *Amazon S3 Developer Guide*.
8847
+ # in the *Amazon S3 User Guide*.
8767
8848
  #
8768
8849
  #
8769
8850
  #
@@ -8771,7 +8852,7 @@ module Aws::S3
8771
8852
  # @return [String]
8772
8853
  #
8773
8854
  # @!attribute [rw] expected_bucket_owner
8774
- # The account id of the expected bucket owner. If the bucket is owned
8855
+ # The account ID of the expected bucket owner. If the bucket is owned
8775
8856
  # by a different account, the request will fail with an HTTP `403
8776
8857
  # (Access Denied)` error.
8777
8858
  # @return [String]
@@ -8792,8 +8873,7 @@ module Aws::S3
8792
8873
 
8793
8874
  # Describes where logs are stored and the prefix that Amazon S3 assigns
8794
8875
  # to all log object keys for a bucket. For more information, see [PUT
8795
- # Bucket logging][1] in the *Amazon Simple Storage Service API
8796
- # Reference*.
8876
+ # Bucket logging][1] in the *Amazon S3 API Reference*.
8797
8877
  #
8798
8878
  #
8799
8879
  #
@@ -8947,8 +9027,8 @@ module Aws::S3
8947
9027
  # If you're updating an existing metrics configuration, note that this
8948
9028
  # is a full replacement of the existing metrics configuration. If you
8949
9029
  # don't include the elements you want to keep, they are erased. For
8950
- # more information, see [ PUT Bucket metrics][1] in the *Amazon Simple
8951
- # Storage Service API Reference*.
9030
+ # more information, see [ PUT Bucket metrics][1] in the *Amazon S3 API
9031
+ # Reference*.
8952
9032
  #
8953
9033
  #
8954
9034
  #
@@ -9120,8 +9200,7 @@ module Aws::S3
9120
9200
  # Specifies the number of days an object is noncurrent before Amazon
9121
9201
  # S3 can perform the associated action. For information about the
9122
9202
  # noncurrent days calculations, see [How Amazon S3 Calculates When an
9123
- # Object Became Noncurrent][1] in the *Amazon Simple Storage Service
9124
- # Developer Guide*.
9203
+ # Object Became Noncurrent][1] in the *Amazon S3 User Guide*.
9125
9204
  #
9126
9205
  #
9127
9206
  #
@@ -9157,8 +9236,7 @@ module Aws::S3
9157
9236
  # Specifies the number of days an object is noncurrent before Amazon
9158
9237
  # S3 can perform the associated action. For information about the
9159
9238
  # noncurrent days calculations, see [How Amazon S3 Calculates How Long
9160
- # an Object Has Been Noncurrent][1] in the *Amazon Simple Storage
9161
- # Service Developer Guide*.
9239
+ # an Object Has Been Noncurrent][1] in the *Amazon S3 User Guide*.
9162
9240
  #
9163
9241
  #
9164
9242
  #
@@ -9318,7 +9396,7 @@ module Aws::S3
9318
9396
 
9319
9397
  # Specifies object key name filtering rules. For information about key
9320
9398
  # name filtering, see [Configuring Event Notifications][1] in the
9321
- # *Amazon Simple Storage Service Developer Guide*.
9399
+ # *Amazon S3 User Guide*.
9322
9400
  #
9323
9401
  #
9324
9402
  #
@@ -9358,7 +9436,7 @@ module Aws::S3
9358
9436
  # @return [String]
9359
9437
  #
9360
9438
  # @!attribute [rw] last_modified
9361
- # The date the Object was Last Modified
9439
+ # Creation date of the object.
9362
9440
  # @return [Time]
9363
9441
  #
9364
9442
  # @!attribute [rw] etag
@@ -9408,7 +9486,7 @@ module Aws::S3
9408
9486
  include Aws::Structure
9409
9487
  end
9410
9488
 
9411
- # This operation is not allowed against this storage tier.
9489
+ # This action is not allowed against this storage tier.
9412
9490
  #
9413
9491
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectAlreadyInActiveTierError AWS API Documentation
9414
9492
  #
@@ -9425,7 +9503,15 @@ module Aws::S3
9425
9503
  # }
9426
9504
  #
9427
9505
  # @!attribute [rw] key
9428
- # Key name of the object to delete.
9506
+ # Key name of the object.
9507
+ #
9508
+ # Replacement must be made for object keys containing special
9509
+ # characters (such as carriage returns) when using XML requests. For
9510
+ # more information, see [ XML related object key constraints][1].
9511
+ #
9512
+ #
9513
+ #
9514
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
9429
9515
  # @return [String]
9430
9516
  #
9431
9517
  # @!attribute [rw] version_id
@@ -9459,11 +9545,16 @@ module Aws::S3
9459
9545
  #
9460
9546
  # @!attribute [rw] object_lock_enabled
9461
9547
  # Indicates whether this bucket has an Object Lock configuration
9462
- # enabled.
9548
+ # enabled. Enable `ObjectLockEnabled` when you apply
9549
+ # `ObjectLockConfiguration` to a bucket.
9463
9550
  # @return [String]
9464
9551
  #
9465
9552
  # @!attribute [rw] rule
9466
- # The Object Lock rule in place for the specified object.
9553
+ # Specifies the Object Lock rule for the specified object. Enable the
9554
+ # this rule when you apply `ObjectLockConfiguration` to a bucket.
9555
+ # Bucket settings require both a mode and a period. The period can be
9556
+ # either `Days` or `Years` but you must select one. You cannot specify
9557
+ # `Days` and `Years` at the same time.
9467
9558
  # @return [Types::ObjectLockRule]
9468
9559
  #
9469
9560
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration AWS API Documentation
@@ -9537,8 +9628,11 @@ module Aws::S3
9537
9628
  # }
9538
9629
  #
9539
9630
  # @!attribute [rw] default_retention
9540
- # The default retention period that you want to apply to new objects
9541
- # placed in the specified bucket.
9631
+ # The default Object Lock retention mode and period that you want to
9632
+ # apply to new objects placed in the specified bucket. Bucket settings
9633
+ # require both a mode and a period. The period can be either `Days` or
9634
+ # `Years` but you must select one. You cannot specify `Days` and
9635
+ # `Years` at the same time.
9542
9636
  # @return [Types::DefaultRetention]
9543
9637
  #
9544
9638
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule AWS API Documentation
@@ -9549,8 +9643,8 @@ module Aws::S3
9549
9643
  include Aws::Structure
9550
9644
  end
9551
9645
 
9552
- # The source object of the COPY operation is not in the active tier and
9553
- # is only stored in Amazon S3 Glacier.
9646
+ # The source object of the COPY action is not in the active tier and is
9647
+ # only stored in Amazon S3 Glacier.
9554
9648
  #
9555
9649
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectNotInActiveTierError AWS API Documentation
9556
9650
  #
@@ -9877,7 +9971,7 @@ module Aws::S3
9877
9971
  # Amazon S3 bucket. You can enable the configuration options in any
9878
9972
  # combination. For more information about when Amazon S3 considers a
9879
9973
  # bucket or object public, see [The Meaning of "Public"][1] in the
9880
- # *Amazon Simple Storage Service Developer Guide*.
9974
+ # *Amazon S3 User Guide*.
9881
9975
  #
9882
9976
  #
9883
9977
  #
@@ -9971,7 +10065,7 @@ module Aws::S3
9971
10065
  # @return [Types::AccelerateConfiguration]
9972
10066
  #
9973
10067
  # @!attribute [rw] expected_bucket_owner
9974
- # The account id of the expected bucket owner. If the bucket is owned
10068
+ # The account ID of the expected bucket owner. If the bucket is owned
9975
10069
  # by a different account, the request will fail with an HTTP `403
9976
10070
  # (Access Denied)` error.
9977
10071
  # @return [String]
@@ -10060,8 +10154,10 @@ module Aws::S3
10060
10154
  # @return [String]
10061
10155
  #
10062
10156
  # @!attribute [rw] grant_write
10063
- # Allows grantee to create, overwrite, and delete any object in the
10064
- # bucket.
10157
+ # Allows grantee to create new objects in the bucket.
10158
+ #
10159
+ # For the bucket and object owners of existing objects, also allows
10160
+ # deletions and overwrites of those objects.
10065
10161
  # @return [String]
10066
10162
  #
10067
10163
  # @!attribute [rw] grant_write_acp
@@ -10069,7 +10165,7 @@ module Aws::S3
10069
10165
  # @return [String]
10070
10166
  #
10071
10167
  # @!attribute [rw] expected_bucket_owner
10072
- # The account id of the expected bucket owner. If the bucket is owned
10168
+ # The account ID of the expected bucket owner. If the bucket is owned
10073
10169
  # by a different account, the request will fail with an HTTP `403
10074
10170
  # (Access Denied)` error.
10075
10171
  # @return [String]
@@ -10146,7 +10242,7 @@ module Aws::S3
10146
10242
  # @return [Types::AnalyticsConfiguration]
10147
10243
  #
10148
10244
  # @!attribute [rw] expected_bucket_owner
10149
- # The account id of the expected bucket owner. If the bucket is owned
10245
+ # The account ID of the expected bucket owner. If the bucket is owned
10150
10246
  # by a different account, the request will fail with an HTTP `403
10151
10247
  # (Access Denied)` error.
10152
10248
  # @return [String]
@@ -10170,6 +10266,7 @@ module Aws::S3
10170
10266
  # cors_configuration: { # required
10171
10267
  # cors_rules: [ # required
10172
10268
  # {
10269
+ # id: "ID",
10173
10270
  # allowed_headers: ["AllowedHeader"],
10174
10271
  # allowed_methods: ["AllowedMethod"], # required
10175
10272
  # allowed_origins: ["AllowedOrigin"], # required
@@ -10189,8 +10286,7 @@ module Aws::S3
10189
10286
  # @!attribute [rw] cors_configuration
10190
10287
  # Describes the cross-origin access configuration for objects in an
10191
10288
  # Amazon S3 bucket. For more information, see [Enabling Cross-Origin
10192
- # Resource Sharing][1] in the *Amazon Simple Storage Service Developer
10193
- # Guide*.
10289
+ # Resource Sharing][1] in the *Amazon S3 User Guide*.
10194
10290
  #
10195
10291
  #
10196
10292
  #
@@ -10212,7 +10308,7 @@ module Aws::S3
10212
10308
  # @return [String]
10213
10309
  #
10214
10310
  # @!attribute [rw] expected_bucket_owner
10215
- # The account id of the expected bucket owner. If the bucket is owned
10311
+ # The account ID of the expected bucket owner. If the bucket is owned
10216
10312
  # by a different account, the request will fail with an HTTP `403
10217
10313
  # (Access Denied)` error.
10218
10314
  # @return [String]
@@ -10253,8 +10349,7 @@ module Aws::S3
10253
10349
  # encryption with Amazon S3-managed keys (SSE-S3) or customer master
10254
10350
  # keys stored in AWS KMS (SSE-KMS). For information about the Amazon
10255
10351
  # S3 default encryption feature, see [Amazon S3 Default Bucket
10256
- # Encryption][1] in the *Amazon Simple Storage Service Developer
10257
- # Guide*.
10352
+ # Encryption][1] in the *Amazon S3 User Guide*.
10258
10353
  #
10259
10354
  #
10260
10355
  #
@@ -10274,7 +10369,7 @@ module Aws::S3
10274
10369
  # @return [Types::ServerSideEncryptionConfiguration]
10275
10370
  #
10276
10371
  # @!attribute [rw] expected_bucket_owner
10277
- # The account id of the expected bucket owner. If the bucket is owned
10372
+ # The account ID of the expected bucket owner. If the bucket is owned
10278
10373
  # by a different account, the request will fail with an HTTP `403
10279
10374
  # (Access Denied)` error.
10280
10375
  # @return [String]
@@ -10375,7 +10470,7 @@ module Aws::S3
10375
10470
  # },
10376
10471
  # id: "InventoryId", # required
10377
10472
  # included_object_versions: "All", # required, accepts All, Current
10378
- # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier
10473
+ # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus
10379
10474
  # schedule: { # required
10380
10475
  # frequency: "Daily", # required, accepts Daily, Weekly
10381
10476
  # },
@@ -10397,7 +10492,7 @@ module Aws::S3
10397
10492
  # @return [Types::InventoryConfiguration]
10398
10493
  #
10399
10494
  # @!attribute [rw] expected_bucket_owner
10400
- # The account id of the expected bucket owner. If the bucket is owned
10495
+ # The account ID of the expected bucket owner. If the bucket is owned
10401
10496
  # by a different account, the request will fail with an HTTP `403
10402
10497
  # (Access Denied)` error.
10403
10498
  # @return [String]
@@ -10479,7 +10574,7 @@ module Aws::S3
10479
10574
  # @return [Types::BucketLifecycleConfiguration]
10480
10575
  #
10481
10576
  # @!attribute [rw] expected_bucket_owner
10482
- # The account id of the expected bucket owner. If the bucket is owned
10577
+ # The account ID of the expected bucket owner. If the bucket is owned
10483
10578
  # by a different account, the request will fail with an HTTP `403
10484
10579
  # (Access Denied)` error.
10485
10580
  # @return [String]
@@ -10544,7 +10639,7 @@ module Aws::S3
10544
10639
  # @return [Types::LifecycleConfiguration]
10545
10640
  #
10546
10641
  # @!attribute [rw] expected_bucket_owner
10547
- # The account id of the expected bucket owner. If the bucket is owned
10642
+ # The account ID of the expected bucket owner. If the bucket is owned
10548
10643
  # by a different account, the request will fail with an HTTP `403
10549
10644
  # (Access Denied)` error.
10550
10645
  # @return [String]
@@ -10603,7 +10698,7 @@ module Aws::S3
10603
10698
  # @return [String]
10604
10699
  #
10605
10700
  # @!attribute [rw] expected_bucket_owner
10606
- # The account id of the expected bucket owner. If the bucket is owned
10701
+ # The account ID of the expected bucket owner. If the bucket is owned
10607
10702
  # by a different account, the request will fail with an HTTP `403
10608
10703
  # (Access Denied)` error.
10609
10704
  # @return [String]
@@ -10660,7 +10755,7 @@ module Aws::S3
10660
10755
  # @return [Types::MetricsConfiguration]
10661
10756
  #
10662
10757
  # @!attribute [rw] expected_bucket_owner
10663
- # The account id of the expected bucket owner. If the bucket is owned
10758
+ # The account ID of the expected bucket owner. If the bucket is owned
10664
10759
  # by a different account, the request will fail with an HTTP `403
10665
10760
  # (Access Denied)` error.
10666
10761
  # @return [String]
@@ -10748,7 +10843,7 @@ module Aws::S3
10748
10843
  # @return [Types::NotificationConfiguration]
10749
10844
  #
10750
10845
  # @!attribute [rw] expected_bucket_owner
10751
- # The account id of the expected bucket owner. If the bucket is owned
10846
+ # The account ID of the expected bucket owner. If the bucket is owned
10752
10847
  # by a different account, the request will fail with an HTTP `403
10753
10848
  # (Access Denied)` error.
10754
10849
  # @return [String]
@@ -10809,7 +10904,7 @@ module Aws::S3
10809
10904
  # @return [Types::NotificationConfigurationDeprecated]
10810
10905
  #
10811
10906
  # @!attribute [rw] expected_bucket_owner
10812
- # The account id of the expected bucket owner. If the bucket is owned
10907
+ # The account ID of the expected bucket owner. If the bucket is owned
10813
10908
  # by a different account, the request will fail with an HTTP `403
10814
10909
  # (Access Denied)` error.
10815
10910
  # @return [String]
@@ -10854,7 +10949,7 @@ module Aws::S3
10854
10949
  # @return [String]
10855
10950
  #
10856
10951
  # @!attribute [rw] expected_bucket_owner
10857
- # The account id of the expected bucket owner. If the bucket is owned
10952
+ # The account ID of the expected bucket owner. If the bucket is owned
10858
10953
  # by a different account, the request will fail with an HTTP `403
10859
10954
  # (Access Denied)` error.
10860
10955
  # @return [String]
@@ -10907,7 +11002,7 @@ module Aws::S3
10907
11002
  # @return [String]
10908
11003
  #
10909
11004
  # @!attribute [rw] expected_bucket_owner
10910
- # The account id of the expected bucket owner. If the bucket is owned
11005
+ # The account ID of the expected bucket owner. If the bucket is owned
10911
11006
  # by a different account, the request will fail with an HTTP `403
10912
11007
  # (Access Denied)` error.
10913
11008
  # @return [String]
@@ -11026,7 +11121,7 @@ module Aws::S3
11026
11121
  # @return [String]
11027
11122
  #
11028
11123
  # @!attribute [rw] expected_bucket_owner
11029
- # The account id of the expected bucket owner. If the bucket is owned
11124
+ # The account ID of the expected bucket owner. If the bucket is owned
11030
11125
  # by a different account, the request will fail with an HTTP `403
11031
11126
  # (Access Denied)` error.
11032
11127
  # @return [String]
@@ -11060,9 +11155,9 @@ module Aws::S3
11060
11155
  # @return [String]
11061
11156
  #
11062
11157
  # @!attribute [rw] content_md5
11063
- # &gt;The base64-encoded 128-bit MD5 digest of the data. You must use
11064
- # this header as a message integrity check to verify that the request
11065
- # body was not corrupted in transit. For more information, see [RFC
11158
+ # The base64-encoded 128-bit MD5 digest of the data. You must use this
11159
+ # header as a message integrity check to verify that the request body
11160
+ # was not corrupted in transit. For more information, see [RFC
11066
11161
  # 1864][1].
11067
11162
  #
11068
11163
  # For requests made using the AWS Command Line Interface (CLI) or AWS
@@ -11078,7 +11173,7 @@ module Aws::S3
11078
11173
  # @return [Types::RequestPaymentConfiguration]
11079
11174
  #
11080
11175
  # @!attribute [rw] expected_bucket_owner
11081
- # The account id of the expected bucket owner. If the bucket is owned
11176
+ # The account ID of the expected bucket owner. If the bucket is owned
11082
11177
  # by a different account, the request will fail with an HTTP `403
11083
11178
  # (Access Denied)` error.
11084
11179
  # @return [String]
@@ -11134,7 +11229,7 @@ module Aws::S3
11134
11229
  # @return [Types::Tagging]
11135
11230
  #
11136
11231
  # @!attribute [rw] expected_bucket_owner
11137
- # The account id of the expected bucket owner. If the bucket is owned
11232
+ # The account ID of the expected bucket owner. If the bucket is owned
11138
11233
  # by a different account, the request will fail with an HTTP `403
11139
11234
  # (Access Denied)` error.
11140
11235
  # @return [String]
@@ -11193,7 +11288,7 @@ module Aws::S3
11193
11288
  # @return [Types::VersioningConfiguration]
11194
11289
  #
11195
11290
  # @!attribute [rw] expected_bucket_owner
11196
- # The account id of the expected bucket owner. If the bucket is owned
11291
+ # The account ID of the expected bucket owner. If the bucket is owned
11197
11292
  # by a different account, the request will fail with an HTTP `403
11198
11293
  # (Access Denied)` error.
11199
11294
  # @return [String]
@@ -11269,7 +11364,7 @@ module Aws::S3
11269
11364
  # @return [Types::WebsiteConfiguration]
11270
11365
  #
11271
11366
  # @!attribute [rw] expected_bucket_owner
11272
- # The account id of the expected bucket owner. If the bucket is owned
11367
+ # The account ID of the expected bucket owner. If the bucket is owned
11273
11368
  # by a different account, the request will fail with an HTTP `403
11274
11369
  # (Access Denied)` error.
11275
11370
  # @return [String]
@@ -11352,18 +11447,18 @@ module Aws::S3
11352
11447
  # The bucket name that contains the object to which you want to attach
11353
11448
  # the ACL.
11354
11449
  #
11355
- # When using this API with an access point, you must direct requests
11356
- # to the access point hostname. The access point hostname takes the
11357
- # form
11450
+ # When using this action with an access point, you must direct
11451
+ # requests to the access point hostname. The access point hostname
11452
+ # takes the form
11358
11453
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11359
- # When using this operation with an access point through the AWS SDKs,
11454
+ # When using this action with an access point through the AWS SDKs,
11360
11455
  # you provide the access point ARN in place of the bucket name. For
11361
- # more information about access point ARNs, see [Using Access
11362
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11456
+ # more information about access point ARNs, see [Using access
11457
+ # points][1] in the *Amazon S3 User Guide*.
11363
11458
  #
11364
11459
  #
11365
11460
  #
11366
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11461
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11367
11462
  # @return [String]
11368
11463
  #
11369
11464
  # @!attribute [rw] content_md5
@@ -11400,8 +11495,10 @@ module Aws::S3
11400
11495
  # @return [String]
11401
11496
  #
11402
11497
  # @!attribute [rw] grant_write
11403
- # Allows grantee to create, overwrite, and delete any object in the
11404
- # bucket.
11498
+ # Allows grantee to create new objects in the bucket.
11499
+ #
11500
+ # For the bucket and object owners of existing objects, also allows
11501
+ # deletions and overwrites of those objects.
11405
11502
  # @return [String]
11406
11503
  #
11407
11504
  # @!attribute [rw] grant_write_acp
@@ -11411,30 +11508,30 @@ module Aws::S3
11411
11508
  # @return [String]
11412
11509
  #
11413
11510
  # @!attribute [rw] key
11414
- # Key for which the PUT operation was initiated.
11511
+ # Key for which the PUT action was initiated.
11415
11512
  #
11416
- # When using this API with an access point, you must direct requests
11417
- # to the access point hostname. The access point hostname takes the
11418
- # form
11513
+ # When using this action with an access point, you must direct
11514
+ # requests to the access point hostname. The access point hostname
11515
+ # takes the form
11419
11516
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11420
- # When using this operation with an access point through the AWS SDKs,
11517
+ # When using this action with an access point through the AWS SDKs,
11421
11518
  # you provide the access point ARN in place of the bucket name. For
11422
- # more information about access point ARNs, see [Using Access
11423
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11519
+ # more information about access point ARNs, see [Using access
11520
+ # points][1] in the *Amazon S3 User Guide*.
11424
11521
  #
11425
- # When using this API with Amazon S3 on Outposts, you must direct
11522
+ # When using this action with Amazon S3 on Outposts, you must direct
11426
11523
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
11427
11524
  # takes the form
11428
11525
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
11429
- # When using this operation using S3 on Outposts through the AWS SDKs,
11526
+ # When using this action using S3 on Outposts through the AWS SDKs,
11430
11527
  # you provide the Outposts bucket ARN in place of the bucket name. For
11431
11528
  # more information about S3 on Outposts ARNs, see [Using S3 on
11432
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
11529
+ # Outposts][2] in the *Amazon S3 User Guide*.
11433
11530
  #
11434
11531
  #
11435
11532
  #
11436
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11437
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
11533
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11534
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
11438
11535
  # @return [String]
11439
11536
  #
11440
11537
  # @!attribute [rw] request_payer
@@ -11442,7 +11539,7 @@ module Aws::S3
11442
11539
  # request. Bucket owners need not specify this parameter in their
11443
11540
  # requests. For information about downloading objects from requester
11444
11541
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11445
- # in the *Amazon S3 Developer Guide*.
11542
+ # in the *Amazon S3 User Guide*.
11446
11543
  #
11447
11544
  #
11448
11545
  #
@@ -11454,7 +11551,7 @@ module Aws::S3
11454
11551
  # @return [String]
11455
11552
  #
11456
11553
  # @!attribute [rw] expected_bucket_owner
11457
- # The account id of the expected bucket owner. If the bucket is owned
11554
+ # The account ID of the expected bucket owner. If the bucket is owned
11458
11555
  # by a different account, the request will fail with an HTTP `403
11459
11556
  # (Access Denied)` error.
11460
11557
  # @return [String]
@@ -11511,18 +11608,18 @@ module Aws::S3
11511
11608
  # The bucket name containing the object that you want to place a Legal
11512
11609
  # Hold on.
11513
11610
  #
11514
- # When using this API with an access point, you must direct requests
11515
- # to the access point hostname. The access point hostname takes the
11516
- # form
11611
+ # When using this action with an access point, you must direct
11612
+ # requests to the access point hostname. The access point hostname
11613
+ # takes the form
11517
11614
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11518
- # When using this operation with an access point through the AWS SDKs,
11615
+ # When using this action with an access point through the AWS SDKs,
11519
11616
  # you provide the access point ARN in place of the bucket name. For
11520
- # more information about access point ARNs, see [Using Access
11521
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11617
+ # more information about access point ARNs, see [Using access
11618
+ # points][1] in the *Amazon S3 User Guide*.
11522
11619
  #
11523
11620
  #
11524
11621
  #
11525
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11622
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11526
11623
  # @return [String]
11527
11624
  #
11528
11625
  # @!attribute [rw] key
@@ -11539,7 +11636,7 @@ module Aws::S3
11539
11636
  # request. Bucket owners need not specify this parameter in their
11540
11637
  # requests. For information about downloading objects from requester
11541
11638
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11542
- # in the *Amazon S3 Developer Guide*.
11639
+ # in the *Amazon S3 User Guide*.
11543
11640
  #
11544
11641
  #
11545
11642
  #
@@ -11558,7 +11655,7 @@ module Aws::S3
11558
11655
  # @return [String]
11559
11656
  #
11560
11657
  # @!attribute [rw] expected_bucket_owner
11561
- # The account id of the expected bucket owner. If the bucket is owned
11658
+ # The account ID of the expected bucket owner. If the bucket is owned
11562
11659
  # by a different account, the request will fail with an HTTP `403
11563
11660
  # (Access Denied)` error.
11564
11661
  # @return [String]
@@ -11626,7 +11723,7 @@ module Aws::S3
11626
11723
  # request. Bucket owners need not specify this parameter in their
11627
11724
  # requests. For information about downloading objects from requester
11628
11725
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11629
- # in the *Amazon S3 Developer Guide*.
11726
+ # in the *Amazon S3 User Guide*.
11630
11727
  #
11631
11728
  #
11632
11729
  #
@@ -11645,7 +11742,7 @@ module Aws::S3
11645
11742
  # @return [String]
11646
11743
  #
11647
11744
  # @!attribute [rw] expected_bucket_owner
11648
- # The account id of the expected bucket owner. If the bucket is owned
11745
+ # The account ID of the expected bucket owner. If the bucket is owned
11649
11746
  # by a different account, the request will fail with an HTTP `403
11650
11747
  # (Access Denied)` error.
11651
11748
  # @return [String]
@@ -11800,30 +11897,30 @@ module Aws::S3
11800
11897
  # @return [IO]
11801
11898
  #
11802
11899
  # @!attribute [rw] bucket
11803
- # The bucket name to which the PUT operation was initiated.
11900
+ # The bucket name to which the PUT action was initiated.
11804
11901
  #
11805
- # When using this API with an access point, you must direct requests
11806
- # to the access point hostname. The access point hostname takes the
11807
- # form
11902
+ # When using this action with an access point, you must direct
11903
+ # requests to the access point hostname. The access point hostname
11904
+ # takes the form
11808
11905
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11809
- # When using this operation with an access point through the AWS SDKs,
11906
+ # When using this action with an access point through the AWS SDKs,
11810
11907
  # you provide the access point ARN in place of the bucket name. For
11811
- # more information about access point ARNs, see [Using Access
11812
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11908
+ # more information about access point ARNs, see [Using access
11909
+ # points][1] in the *Amazon S3 User Guide*.
11813
11910
  #
11814
- # When using this API with Amazon S3 on Outposts, you must direct
11911
+ # When using this action with Amazon S3 on Outposts, you must direct
11815
11912
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
11816
11913
  # takes the form
11817
11914
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
11818
- # When using this operation using S3 on Outposts through the AWS SDKs,
11915
+ # When using this action using S3 on Outposts through the AWS SDKs,
11819
11916
  # you provide the Outposts bucket ARN in place of the bucket name. For
11820
11917
  # more information about S3 on Outposts ARNs, see [Using S3 on
11821
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
11918
+ # Outposts][2] in the *Amazon S3 User Guide*.
11822
11919
  #
11823
11920
  #
11824
11921
  #
11825
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11826
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
11922
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11923
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
11827
11924
  # @return [String]
11828
11925
  #
11829
11926
  # @!attribute [rw] cache_control
@@ -11933,7 +12030,7 @@ module Aws::S3
11933
12030
  # @return [String]
11934
12031
  #
11935
12032
  # @!attribute [rw] key
11936
- # Object key for which the PUT operation was initiated.
12033
+ # Object key for which the PUT action was initiated.
11937
12034
  # @return [String]
11938
12035
  #
11939
12036
  # @!attribute [rw] metadata
@@ -11951,7 +12048,7 @@ module Aws::S3
11951
12048
  # and high availability. Depending on performance needs, you can
11952
12049
  # specify a different Storage Class. Amazon S3 on Outposts only uses
11953
12050
  # the OUTPOSTS Storage Class. For more information, see [Storage
11954
- # Classes][1] in the *Amazon S3 Service Developer Guide*.
12051
+ # Classes][1] in the *Amazon S3 User Guide*.
11955
12052
  #
11956
12053
  #
11957
12054
  #
@@ -12009,14 +12106,12 @@ module Aws::S3
12009
12106
  # If `x-amz-server-side-encryption` is present and has the value of
12010
12107
  # `aws:kms`, this header specifies the ID of the AWS Key Management
12011
12108
  # Service (AWS KMS) symmetrical customer managed customer master key
12012
- # (CMK) that was used for the object.
12013
- #
12014
- # If the value of `x-amz-server-side-encryption` is `aws:kms`, this
12015
- # header specifies the ID of the symmetric customer managed AWS KMS
12016
- # CMK that will be used for the object. If you specify
12109
+ # (CMK) that was used for the object. If you specify
12017
12110
  # `x-amz-server-side-encryption:aws:kms`, but do not provide`
12018
12111
  # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
12019
- # managed CMK in AWS to protect the data.
12112
+ # managed CMK in AWS to protect the data. If the KMS key does not
12113
+ # exist in the same account issuing the command, you must use the full
12114
+ # ARN and not just the ID.
12020
12115
  # @return [String]
12021
12116
  #
12022
12117
  # @!attribute [rw] ssekms_encryption_context
@@ -12031,8 +12126,8 @@ module Aws::S3
12031
12126
  # Setting this header to `true` causes Amazon S3 to use an S3 Bucket
12032
12127
  # Key for object encryption with SSE-KMS.
12033
12128
  #
12034
- # Specifying this header with a PUT operation doesn’t affect
12035
- # bucket-level settings for S3 Bucket Key.
12129
+ # Specifying this header with a PUT action doesn’t affect bucket-level
12130
+ # settings for S3 Bucket Key.
12036
12131
  # @return [Boolean]
12037
12132
  #
12038
12133
  # @!attribute [rw] request_payer
@@ -12040,7 +12135,7 @@ module Aws::S3
12040
12135
  # request. Bucket owners need not specify this parameter in their
12041
12136
  # requests. For information about downloading objects from requester
12042
12137
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
12043
- # in the *Amazon S3 Developer Guide*.
12138
+ # in the *Amazon S3 User Guide*.
12044
12139
  #
12045
12140
  #
12046
12141
  #
@@ -12058,7 +12153,7 @@ module Aws::S3
12058
12153
  #
12059
12154
  # @!attribute [rw] object_lock_retain_until_date
12060
12155
  # The date and time when you want this object's Object Lock to
12061
- # expire.
12156
+ # expire. Must be formatted as a timestamp parameter.
12062
12157
  # @return [Time]
12063
12158
  #
12064
12159
  # @!attribute [rw] object_lock_legal_hold_status
@@ -12071,7 +12166,7 @@ module Aws::S3
12071
12166
  # @return [String]
12072
12167
  #
12073
12168
  # @!attribute [rw] expected_bucket_owner
12074
- # The account id of the expected bucket owner. If the bucket is owned
12169
+ # The account ID of the expected bucket owner. If the bucket is owned
12075
12170
  # by a different account, the request will fail with an HTTP `403
12076
12171
  # (Access Denied)` error.
12077
12172
  # @return [String]
@@ -12149,18 +12244,18 @@ module Aws::S3
12149
12244
  # The bucket name that contains the object you want to apply this
12150
12245
  # Object Retention configuration to.
12151
12246
  #
12152
- # When using this API with an access point, you must direct requests
12153
- # to the access point hostname. The access point hostname takes the
12154
- # form
12247
+ # When using this action with an access point, you must direct
12248
+ # requests to the access point hostname. The access point hostname
12249
+ # takes the form
12155
12250
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
12156
- # When using this operation with an access point through the AWS SDKs,
12251
+ # When using this action with an access point through the AWS SDKs,
12157
12252
  # you provide the access point ARN in place of the bucket name. For
12158
- # more information about access point ARNs, see [Using Access
12159
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
12253
+ # more information about access point ARNs, see [Using access
12254
+ # points][1] in the *Amazon S3 User Guide*.
12160
12255
  #
12161
12256
  #
12162
12257
  #
12163
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
12258
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
12164
12259
  # @return [String]
12165
12260
  #
12166
12261
  # @!attribute [rw] key
@@ -12177,7 +12272,7 @@ module Aws::S3
12177
12272
  # request. Bucket owners need not specify this parameter in their
12178
12273
  # requests. For information about downloading objects from requester
12179
12274
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
12180
- # in the *Amazon S3 Developer Guide*.
12275
+ # in the *Amazon S3 User Guide*.
12181
12276
  #
12182
12277
  #
12183
12278
  #
@@ -12190,7 +12285,7 @@ module Aws::S3
12190
12285
  # @return [String]
12191
12286
  #
12192
12287
  # @!attribute [rw] bypass_governance_retention
12193
- # Indicates whether this operation should bypass Governance-mode
12288
+ # Indicates whether this action should bypass Governance-mode
12194
12289
  # restrictions.
12195
12290
  # @return [Boolean]
12196
12291
  #
@@ -12202,7 +12297,7 @@ module Aws::S3
12202
12297
  # @return [String]
12203
12298
  #
12204
12299
  # @!attribute [rw] expected_bucket_owner
12205
- # The account id of the expected bucket owner. If the bucket is owned
12300
+ # The account ID of the expected bucket owner. If the bucket is owned
12206
12301
  # by a different account, the request will fail with an HTTP `403
12207
12302
  # (Access Denied)` error.
12208
12303
  # @return [String]
@@ -12251,33 +12346,34 @@ module Aws::S3
12251
12346
  # ],
12252
12347
  # },
12253
12348
  # expected_bucket_owner: "AccountId",
12349
+ # request_payer: "requester", # accepts requester
12254
12350
  # }
12255
12351
  #
12256
12352
  # @!attribute [rw] bucket
12257
12353
  # The bucket name containing the object.
12258
12354
  #
12259
- # When using this API with an access point, you must direct requests
12260
- # to the access point hostname. The access point hostname takes the
12261
- # form
12355
+ # When using this action with an access point, you must direct
12356
+ # requests to the access point hostname. The access point hostname
12357
+ # takes the form
12262
12358
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
12263
- # When using this operation with an access point through the AWS SDKs,
12359
+ # When using this action with an access point through the AWS SDKs,
12264
12360
  # you provide the access point ARN in place of the bucket name. For
12265
- # more information about access point ARNs, see [Using Access
12266
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
12361
+ # more information about access point ARNs, see [Using access
12362
+ # points][1] in the *Amazon S3 User Guide*.
12267
12363
  #
12268
- # When using this API with Amazon S3 on Outposts, you must direct
12364
+ # When using this action with Amazon S3 on Outposts, you must direct
12269
12365
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
12270
12366
  # takes the form
12271
12367
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
12272
- # When using this operation using S3 on Outposts through the AWS SDKs,
12368
+ # When using this action using S3 on Outposts through the AWS SDKs,
12273
12369
  # you provide the Outposts bucket ARN in place of the bucket name. For
12274
12370
  # more information about S3 on Outposts ARNs, see [Using S3 on
12275
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
12371
+ # Outposts][2] in the *Amazon S3 User Guide*.
12276
12372
  #
12277
12373
  #
12278
12374
  #
12279
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
12280
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
12375
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
12376
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
12281
12377
  # @return [String]
12282
12378
  #
12283
12379
  # @!attribute [rw] key
@@ -12300,11 +12396,23 @@ module Aws::S3
12300
12396
  # @return [Types::Tagging]
12301
12397
  #
12302
12398
  # @!attribute [rw] expected_bucket_owner
12303
- # The account id of the expected bucket owner. If the bucket is owned
12399
+ # The account ID of the expected bucket owner. If the bucket is owned
12304
12400
  # by a different account, the request will fail with an HTTP `403
12305
12401
  # (Access Denied)` error.
12306
12402
  # @return [String]
12307
12403
  #
12404
+ # @!attribute [rw] request_payer
12405
+ # Confirms that the requester knows that they will be charged for the
12406
+ # request. Bucket owners need not specify this parameter in their
12407
+ # requests. For information about downloading objects from requester
12408
+ # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
12409
+ # in the *Amazon S3 User Guide*.
12410
+ #
12411
+ #
12412
+ #
12413
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
12414
+ # @return [String]
12415
+ #
12308
12416
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest AWS API Documentation
12309
12417
  #
12310
12418
  class PutObjectTaggingRequest < Struct.new(
@@ -12313,7 +12421,8 @@ module Aws::S3
12313
12421
  :version_id,
12314
12422
  :content_md5,
12315
12423
  :tagging,
12316
- :expected_bucket_owner)
12424
+ :expected_bucket_owner,
12425
+ :request_payer)
12317
12426
  SENSITIVE = []
12318
12427
  include Aws::Structure
12319
12428
  end
@@ -12350,7 +12459,7 @@ module Aws::S3
12350
12459
  # Amazon S3 bucket. You can enable the configuration options in any
12351
12460
  # combination. For more information about when Amazon S3 considers a
12352
12461
  # bucket or object public, see [The Meaning of "Public"][1] in the
12353
- # *Amazon Simple Storage Service Developer Guide*.
12462
+ # *Amazon S3 User Guide*.
12354
12463
  #
12355
12464
  #
12356
12465
  #
@@ -12358,7 +12467,7 @@ module Aws::S3
12358
12467
  # @return [Types::PublicAccessBlockConfiguration]
12359
12468
  #
12360
12469
  # @!attribute [rw] expected_bucket_owner
12361
- # The account id of the expected bucket owner. If the bucket is owned
12470
+ # The account ID of the expected bucket owner. If the bucket is owned
12362
12471
  # by a different account, the request will fail with an HTTP `403
12363
12472
  # (Access Denied)` error.
12364
12473
  # @return [String]
@@ -12416,7 +12525,7 @@ module Aws::S3
12416
12525
  # @!attribute [rw] filter
12417
12526
  # Specifies object key name filtering rules. For information about key
12418
12527
  # name filtering, see [Configuring Event Notifications][1] in the
12419
- # *Amazon Simple Storage Service Developer Guide*.
12528
+ # *Amazon S3 User Guide*.
12420
12529
  #
12421
12530
  #
12422
12531
  #
@@ -12464,7 +12573,7 @@ module Aws::S3
12464
12573
  # @return [String]
12465
12574
  #
12466
12575
  # @!attribute [rw] events
12467
- # A collection of bucket events for which to send notifications
12576
+ # A collection of bucket events for which to send notifications.
12468
12577
  # @return [Array<String>]
12469
12578
  #
12470
12579
  # @!attribute [rw] queue
@@ -12535,6 +12644,14 @@ module Aws::S3
12535
12644
  # `ReplaceKeyPrefixWith` to `/documents`. Not required if one of the
12536
12645
  # siblings is present. Can be present only if `ReplaceKeyWith` is not
12537
12646
  # provided.
12647
+ #
12648
+ # Replacement must be made for object keys containing special
12649
+ # characters (such as carriage returns) when using XML requests. For
12650
+ # more information, see [ XML related object key constraints][1].
12651
+ #
12652
+ #
12653
+ #
12654
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
12538
12655
  # @return [String]
12539
12656
  #
12540
12657
  # @!attribute [rw] replace_key_with
@@ -12542,6 +12659,14 @@ module Aws::S3
12542
12659
  # redirect request to `error.html`. Not required if one of the
12543
12660
  # siblings is present. Can be present only if `ReplaceKeyPrefixWith`
12544
12661
  # is not provided.
12662
+ #
12663
+ # Replacement must be made for object keys containing special
12664
+ # characters (such as carriage returns) when using XML requests. For
12665
+ # more information, see [ XML related object key constraints][1].
12666
+ #
12667
+ #
12668
+ #
12669
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
12545
12670
  # @return [String]
12546
12671
  #
12547
12672
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect AWS API Documentation
@@ -12691,7 +12816,7 @@ module Aws::S3
12691
12816
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
12692
12817
  # Management (IAM) role that Amazon S3 assumes when replicating
12693
12818
  # objects. For more information, see [How to Set Up Replication][1] in
12694
- # the *Amazon Simple Storage Service Developer Guide*.
12819
+ # the *Amazon S3 User Guide*.
12695
12820
  #
12696
12821
  #
12697
12822
  #
@@ -12792,8 +12917,8 @@ module Aws::S3
12792
12917
  # will be replicated according to the rule with the highest priority.
12793
12918
  # The higher the number, the higher the priority.
12794
12919
  #
12795
- # For more information, see [Replication][1] in the *Amazon Simple
12796
- # Storage Service Developer Guide*.
12920
+ # For more information, see [Replication][1] in the *Amazon S3 User
12921
+ # Guide*.
12797
12922
  #
12798
12923
  #
12799
12924
  #
@@ -12805,6 +12930,14 @@ module Aws::S3
12805
12930
  # which the rule applies. The maximum prefix length is 1,024
12806
12931
  # characters. To include all objects in a bucket, specify an empty
12807
12932
  # string.
12933
+ #
12934
+ # Replacement must be made for object keys containing special
12935
+ # characters (such as carriage returns) when using XML requests. For
12936
+ # more information, see [ XML related object key constraints][1].
12937
+ #
12938
+ #
12939
+ #
12940
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
12808
12941
  # @return [String]
12809
12942
  #
12810
12943
  # @!attribute [rw] filter
@@ -12886,7 +13019,7 @@ module Aws::S3
12886
13019
  # filters in an `And` tag.
12887
13020
  #
12888
13021
  # * If you specify a filter based on multiple tags, wrap the `Tag`
12889
- # elements in an `And` tag
13022
+ # elements in an `And` tag.
12890
13023
  #
12891
13024
  # @note When making an API call, you may pass ReplicationRuleAndOperator
12892
13025
  # data as a hash:
@@ -12946,6 +13079,14 @@ module Aws::S3
12946
13079
  # @!attribute [rw] prefix
12947
13080
  # An object key name prefix that identifies the subset of objects to
12948
13081
  # which the rule applies.
13082
+ #
13083
+ # Replacement must be made for object keys containing special
13084
+ # characters (such as carriage returns) when using XML requests. For
13085
+ # more information, see [ XML related object key constraints][1].
13086
+ #
13087
+ #
13088
+ #
13089
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
12949
13090
  # @return [String]
12950
13091
  #
12951
13092
  # @!attribute [rw] tag
@@ -13191,32 +13332,32 @@ module Aws::S3
13191
13332
  # @!attribute [rw] bucket
13192
13333
  # The bucket name containing the object to restore.
13193
13334
  #
13194
- # When using this API with an access point, you must direct requests
13195
- # to the access point hostname. The access point hostname takes the
13196
- # form
13335
+ # When using this action with an access point, you must direct
13336
+ # requests to the access point hostname. The access point hostname
13337
+ # takes the form
13197
13338
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
13198
- # When using this operation with an access point through the AWS SDKs,
13339
+ # When using this action with an access point through the AWS SDKs,
13199
13340
  # you provide the access point ARN in place of the bucket name. For
13200
- # more information about access point ARNs, see [Using Access
13201
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
13341
+ # more information about access point ARNs, see [Using access
13342
+ # points][1] in the *Amazon S3 User Guide*.
13202
13343
  #
13203
- # When using this API with Amazon S3 on Outposts, you must direct
13344
+ # When using this action with Amazon S3 on Outposts, you must direct
13204
13345
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
13205
13346
  # takes the form
13206
13347
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
13207
- # When using this operation using S3 on Outposts through the AWS SDKs,
13348
+ # When using this action using S3 on Outposts through the AWS SDKs,
13208
13349
  # you provide the Outposts bucket ARN in place of the bucket name. For
13209
13350
  # more information about S3 on Outposts ARNs, see [Using S3 on
13210
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
13351
+ # Outposts][2] in the *Amazon S3 User Guide*.
13211
13352
  #
13212
13353
  #
13213
13354
  #
13214
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
13215
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
13355
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
13356
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
13216
13357
  # @return [String]
13217
13358
  #
13218
13359
  # @!attribute [rw] key
13219
- # Object key for which the operation was initiated.
13360
+ # Object key for which the action was initiated.
13220
13361
  # @return [String]
13221
13362
  #
13222
13363
  # @!attribute [rw] version_id
@@ -13232,7 +13373,7 @@ module Aws::S3
13232
13373
  # request. Bucket owners need not specify this parameter in their
13233
13374
  # requests. For information about downloading objects from requester
13234
13375
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13235
- # in the *Amazon S3 Developer Guide*.
13376
+ # in the *Amazon S3 User Guide*.
13236
13377
  #
13237
13378
  #
13238
13379
  #
@@ -13240,7 +13381,7 @@ module Aws::S3
13240
13381
  # @return [String]
13241
13382
  #
13242
13383
  # @!attribute [rw] expected_bucket_owner
13243
- # The account id of the expected bucket owner. If the bucket is owned
13384
+ # The account ID of the expected bucket owner. If the bucket is owned
13244
13385
  # by a different account, the request will fail with an HTTP `403
13245
13386
  # (Access Denied)` error.
13246
13387
  # @return [String]
@@ -13394,8 +13535,7 @@ module Aws::S3
13394
13535
 
13395
13536
  # Specifies the redirect behavior and when a redirect is applied. For
13396
13537
  # more information about routing rules, see [Configuring advanced
13397
- # conditional redirects][1] in the *Amazon Simple Storage Service
13398
- # Developer Guide*.
13538
+ # conditional redirects][1] in the *Amazon S3 User Guide*.
13399
13539
  #
13400
13540
  #
13401
13541
  #
@@ -13443,8 +13583,8 @@ module Aws::S3
13443
13583
 
13444
13584
  # Specifies lifecycle rules for an Amazon S3 bucket. For more
13445
13585
  # information, see [Put Bucket Lifecycle Configuration][1] in the
13446
- # *Amazon Simple Storage Service API Reference*. For examples, see [Put
13447
- # Bucket Lifecycle Configuration Examples][2]
13586
+ # *Amazon S3 API Reference*. For examples, see [Put Bucket Lifecycle
13587
+ # Configuration Examples][2].
13448
13588
  #
13449
13589
  #
13450
13590
  #
@@ -13492,6 +13632,14 @@ module Aws::S3
13492
13632
  # @!attribute [rw] prefix
13493
13633
  # Object key prefix that identifies one or more objects to which this
13494
13634
  # rule applies.
13635
+ #
13636
+ # Replacement must be made for object keys containing special
13637
+ # characters (such as carriage returns) when using XML requests. For
13638
+ # more information, see [ XML related object key constraints][1].
13639
+ #
13640
+ #
13641
+ #
13642
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
13495
13643
  # @return [String]
13496
13644
  #
13497
13645
  # @!attribute [rw] status
@@ -13503,7 +13651,7 @@ module Aws::S3
13503
13651
  # Specifies when an object transitions to a specified storage class.
13504
13652
  # For more information about Amazon S3 lifecycle configuration rules,
13505
13653
  # see [Transitioning Objects Using Amazon S3 Lifecycle][1] in the
13506
- # *Amazon Simple Storage Service Developer Guide*.
13654
+ # *Amazon S3 User Guide*.
13507
13655
  #
13508
13656
  #
13509
13657
  #
@@ -13535,7 +13683,7 @@ module Aws::S3
13535
13683
  # upload that Amazon S3 will wait before permanently removing all
13536
13684
  # parts of the upload. For more information, see [ Aborting Incomplete
13537
13685
  # Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
13538
- # Simple Storage Service Developer Guide*.
13686
+ # S3 User Guide*.
13539
13687
  #
13540
13688
  #
13541
13689
  #
@@ -13902,7 +14050,7 @@ module Aws::S3
13902
14050
  # @return [Types::ScanRange]
13903
14051
  #
13904
14052
  # @!attribute [rw] expected_bucket_owner
13905
- # The account id of the expected bucket owner. If the bucket is owned
14053
+ # The account ID of the expected bucket owner. If the bucket is owned
13906
14054
  # by a different account, the request will fail with an HTTP `403
13907
14055
  # (Access Denied)` error.
13908
14056
  # @return [String]
@@ -13995,8 +14143,8 @@ module Aws::S3
13995
14143
  # Describes the default server-side encryption to apply to new objects
13996
14144
  # in the bucket. If a PUT Object request doesn't specify any
13997
14145
  # server-side encryption, this default encryption will be applied. For
13998
- # more information, see [PUT Bucket encryption][1] in the *Amazon Simple
13999
- # Storage Service API Reference*.
14146
+ # more information, see [PUT Bucket encryption][1] in the *Amazon S3 API
14147
+ # Reference*.
14000
14148
  #
14001
14149
  #
14002
14150
  #
@@ -14015,13 +14163,13 @@ module Aws::S3
14015
14163
  # @return [String]
14016
14164
  #
14017
14165
  # @!attribute [rw] kms_master_key_id
14018
- # AWS Key Management Service (KMS) customer master key ID to use for
14166
+ # AWS Key Management Service (KMS) customer AWS KMS key ID to use for
14019
14167
  # the default encryption. This parameter is allowed if and only if
14020
14168
  # `SSEAlgorithm` is set to `aws:kms`.
14021
14169
  #
14022
14170
  # You can specify the key ID or the Amazon Resource Name (ARN) of the
14023
- # CMK. However, if you are using encryption with cross-account
14024
- # operations, you must use a fully qualified CMK ARN. For more
14171
+ # KMS key. However, if you are using encryption with cross-account
14172
+ # operations, you must use a fully qualified KMS key ARN. For more
14025
14173
  # information, see [Using encryption for cross-account operations][1].
14026
14174
  #
14027
14175
  # **For example:**
@@ -14031,9 +14179,9 @@ module Aws::S3
14031
14179
  # * Key ARN:
14032
14180
  # `arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`
14033
14181
  #
14034
- # Amazon S3 only supports symmetric CMKs and not asymmetric CMKs. For
14035
- # more information, see [Using Symmetric and Asymmetric Keys][2] in
14036
- # the *AWS Key Management Service Developer Guide*.
14182
+ # Amazon S3 only supports symmetric KMS keys and not asymmetric KMS
14183
+ # keys. For more information, see [Using symmetric and asymmetric
14184
+ # keys][2] in the *AWS Key Management Service Developer Guide*.
14037
14185
  #
14038
14186
  #
14039
14187
  #
@@ -14107,7 +14255,7 @@ module Aws::S3
14107
14255
  # Bucket Key. By default, S3 Bucket Key is not enabled.
14108
14256
  #
14109
14257
  # For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
14110
- # Simple Storage Service Developer Guide*.
14258
+ # S3 User Guide*.
14111
14259
  #
14112
14260
  #
14113
14261
  #
@@ -14184,8 +14332,8 @@ module Aws::S3
14184
14332
  #
14185
14333
  # @!attribute [rw] status
14186
14334
  # Specifies whether Amazon S3 replicates objects created with
14187
- # server-side encryption using a customer master key (CMK) stored in
14188
- # AWS Key Management Service.
14335
+ # server-side encryption using an AWS KMS key stored in AWS Key
14336
+ # Management Service.
14189
14337
  # @return [String]
14190
14338
  #
14191
14339
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SseKmsEncryptedObjects AWS API Documentation
@@ -14468,8 +14616,8 @@ module Aws::S3
14468
14616
  #
14469
14617
  # @!attribute [rw] events
14470
14618
  # The Amazon S3 bucket event about which to send notifications. For
14471
- # more information, see [Supported Event Types][1] in the *Amazon
14472
- # Simple Storage Service Developer Guide*.
14619
+ # more information, see [Supported Event Types][1] in the *Amazon S3
14620
+ # User Guide*.
14473
14621
  #
14474
14622
  #
14475
14623
  #
@@ -14479,7 +14627,7 @@ module Aws::S3
14479
14627
  # @!attribute [rw] filter
14480
14628
  # Specifies object key name filtering rules. For information about key
14481
14629
  # name filtering, see [Configuring Event Notifications][1] in the
14482
- # *Amazon Simple Storage Service Developer Guide*.
14630
+ # *Amazon S3 User Guide*.
14483
14631
  #
14484
14632
  #
14485
14633
  #
@@ -14548,8 +14696,8 @@ module Aws::S3
14548
14696
 
14549
14697
  # Specifies when an object transitions to a specified storage class. For
14550
14698
  # more information about Amazon S3 lifecycle configuration rules, see
14551
- # [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon
14552
- # Simple Storage Service Developer Guide*.
14699
+ # [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon S3
14700
+ # User Guide*.
14553
14701
  #
14554
14702
  #
14555
14703
  #
@@ -14676,28 +14824,28 @@ module Aws::S3
14676
14824
  # @!attribute [rw] bucket
14677
14825
  # The bucket name.
14678
14826
  #
14679
- # When using this API with an access point, you must direct requests
14680
- # to the access point hostname. The access point hostname takes the
14681
- # form
14827
+ # When using this action with an access point, you must direct
14828
+ # requests to the access point hostname. The access point hostname
14829
+ # takes the form
14682
14830
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
14683
- # When using this operation with an access point through the AWS SDKs,
14831
+ # When using this action with an access point through the AWS SDKs,
14684
14832
  # you provide the access point ARN in place of the bucket name. For
14685
- # more information about access point ARNs, see [Using Access
14686
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
14833
+ # more information about access point ARNs, see [Using access
14834
+ # points][1] in the *Amazon S3 User Guide*.
14687
14835
  #
14688
- # When using this API with Amazon S3 on Outposts, you must direct
14836
+ # When using this action with Amazon S3 on Outposts, you must direct
14689
14837
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
14690
14838
  # takes the form
14691
14839
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
14692
- # When using this operation using S3 on Outposts through the AWS SDKs,
14840
+ # When using this action using S3 on Outposts through the AWS SDKs,
14693
14841
  # you provide the Outposts bucket ARN in place of the bucket name. For
14694
14842
  # more information about S3 on Outposts ARNs, see [Using S3 on
14695
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
14843
+ # Outposts][2] in the *Amazon S3 User Guide*.
14696
14844
  #
14697
14845
  #
14698
14846
  #
14699
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
14700
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
14847
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
14848
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
14701
14849
  # @return [String]
14702
14850
  #
14703
14851
  # @!attribute [rw] copy_source
@@ -14744,7 +14892,7 @@ module Aws::S3
14744
14892
  #
14745
14893
  #
14746
14894
  #
14747
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html
14895
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
14748
14896
  # @return [String]
14749
14897
  #
14750
14898
  # @!attribute [rw] copy_source_if_match
@@ -14831,7 +14979,7 @@ module Aws::S3
14831
14979
  # request. Bucket owners need not specify this parameter in their
14832
14980
  # requests. For information about downloading objects from requester
14833
14981
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
14834
- # in the *Amazon S3 Developer Guide*.
14982
+ # in the *Amazon S3 User Guide*.
14835
14983
  #
14836
14984
  #
14837
14985
  #
@@ -14839,13 +14987,13 @@ module Aws::S3
14839
14987
  # @return [String]
14840
14988
  #
14841
14989
  # @!attribute [rw] expected_bucket_owner
14842
- # The account id of the expected destination bucket owner. If the
14990
+ # The account ID of the expected destination bucket owner. If the
14843
14991
  # destination bucket is owned by a different account, the request will
14844
14992
  # fail with an HTTP `403 (Access Denied)` error.
14845
14993
  # @return [String]
14846
14994
  #
14847
14995
  # @!attribute [rw] expected_source_bucket_owner
14848
- # The account id of the expected source bucket owner. If the source
14996
+ # The account ID of the expected source bucket owner. If the source
14849
14997
  # bucket is owned by a different account, the request will fail with
14850
14998
  # an HTTP `403 (Access Denied)` error.
14851
14999
  # @return [String]
@@ -14953,28 +15101,28 @@ module Aws::S3
14953
15101
  # @!attribute [rw] bucket
14954
15102
  # The name of the bucket to which the multipart upload was initiated.
14955
15103
  #
14956
- # When using this API with an access point, you must direct requests
14957
- # to the access point hostname. The access point hostname takes the
14958
- # form
15104
+ # When using this action with an access point, you must direct
15105
+ # requests to the access point hostname. The access point hostname
15106
+ # takes the form
14959
15107
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
14960
- # When using this operation with an access point through the AWS SDKs,
15108
+ # When using this action with an access point through the AWS SDKs,
14961
15109
  # you provide the access point ARN in place of the bucket name. For
14962
- # more information about access point ARNs, see [Using Access
14963
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
15110
+ # more information about access point ARNs, see [Using access
15111
+ # points][1] in the *Amazon S3 User Guide*.
14964
15112
  #
14965
- # When using this API with Amazon S3 on Outposts, you must direct
15113
+ # When using this action with Amazon S3 on Outposts, you must direct
14966
15114
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
14967
15115
  # takes the form
14968
15116
  # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
14969
- # When using this operation using S3 on Outposts through the AWS SDKs,
15117
+ # When using this action using S3 on Outposts through the AWS SDKs,
14970
15118
  # you provide the Outposts bucket ARN in place of the bucket name. For
14971
15119
  # more information about S3 on Outposts ARNs, see [Using S3 on
14972
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
15120
+ # Outposts][2] in the *Amazon S3 User Guide*.
14973
15121
  #
14974
15122
  #
14975
15123
  #
14976
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
14977
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
15124
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
15125
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
14978
15126
  # @return [String]
14979
15127
  #
14980
15128
  # @!attribute [rw] content_length
@@ -15028,7 +15176,7 @@ module Aws::S3
15028
15176
  # request. Bucket owners need not specify this parameter in their
15029
15177
  # requests. For information about downloading objects from requester
15030
15178
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
15031
- # in the *Amazon S3 Developer Guide*.
15179
+ # in the *Amazon S3 User Guide*.
15032
15180
  #
15033
15181
  #
15034
15182
  #
@@ -15036,7 +15184,7 @@ module Aws::S3
15036
15184
  # @return [String]
15037
15185
  #
15038
15186
  # @!attribute [rw] expected_bucket_owner
15039
- # The account id of the expected bucket owner. If the bucket is owned
15187
+ # The account ID of the expected bucket owner. If the bucket is owned
15040
15188
  # by a different account, the request will fail with an HTTP `403
15041
15189
  # (Access Denied)` error.
15042
15190
  # @return [String]
@@ -15061,8 +15209,8 @@ module Aws::S3
15061
15209
  end
15062
15210
 
15063
15211
  # Describes the versioning state of an Amazon S3 bucket. For more
15064
- # information, see [PUT Bucket versioning][1] in the *Amazon Simple
15065
- # Storage Service API Reference*.
15212
+ # information, see [PUT Bucket versioning][1] in the *Amazon S3 API
15213
+ # Reference*.
15066
15214
  #
15067
15215
  #
15068
15216
  #
@@ -15160,6 +15308,317 @@ module Aws::S3
15160
15308
  include Aws::Structure
15161
15309
  end
15162
15310
 
15311
+ # @note When making an API call, you may pass WriteGetObjectResponseRequest
15312
+ # data as a hash:
15313
+ #
15314
+ # {
15315
+ # request_route: "RequestRoute", # required
15316
+ # request_token: "RequestToken", # required
15317
+ # body: source_file,
15318
+ # status_code: 1,
15319
+ # error_code: "ErrorCode",
15320
+ # error_message: "ErrorMessage",
15321
+ # accept_ranges: "AcceptRanges",
15322
+ # cache_control: "CacheControl",
15323
+ # content_disposition: "ContentDisposition",
15324
+ # content_encoding: "ContentEncoding",
15325
+ # content_language: "ContentLanguage",
15326
+ # content_length: 1,
15327
+ # content_range: "ContentRange",
15328
+ # content_type: "ContentType",
15329
+ # delete_marker: false,
15330
+ # etag: "ETag",
15331
+ # expires: Time.now,
15332
+ # expiration: "Expiration",
15333
+ # last_modified: Time.now,
15334
+ # missing_meta: 1,
15335
+ # metadata: {
15336
+ # "MetadataKey" => "MetadataValue",
15337
+ # },
15338
+ # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
15339
+ # object_lock_legal_hold_status: "ON", # accepts ON, OFF
15340
+ # object_lock_retain_until_date: Time.now,
15341
+ # parts_count: 1,
15342
+ # replication_status: "COMPLETE", # accepts COMPLETE, PENDING, FAILED, REPLICA
15343
+ # request_charged: "requester", # accepts requester
15344
+ # restore: "Restore",
15345
+ # server_side_encryption: "AES256", # accepts AES256, aws:kms
15346
+ # sse_customer_algorithm: "SSECustomerAlgorithm",
15347
+ # ssekms_key_id: "SSEKMSKeyId",
15348
+ # sse_customer_key_md5: "SSECustomerKeyMD5",
15349
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
15350
+ # tag_count: 1,
15351
+ # version_id: "ObjectVersionId",
15352
+ # bucket_key_enabled: false,
15353
+ # }
15354
+ #
15355
+ # @!attribute [rw] request_route
15356
+ # Route prefix to the HTTP URL generated.
15357
+ # @return [String]
15358
+ #
15359
+ # @!attribute [rw] request_token
15360
+ # A single use encrypted token that maps `WriteGetObjectResponse` to
15361
+ # the end user `GetObject` request.
15362
+ # @return [String]
15363
+ #
15364
+ # @!attribute [rw] body
15365
+ # The object data.
15366
+ # @return [IO]
15367
+ #
15368
+ # @!attribute [rw] status_code
15369
+ # The integer status code for an HTTP response of a corresponding
15370
+ # `GetObject` request.
15371
+ #
15372
+ # **Status Codes**
15373
+ #
15374
+ # * *200 - OK*
15375
+ #
15376
+ # * *206 - Partial Content*
15377
+ #
15378
+ # * *304 - Not Modified*
15379
+ #
15380
+ # * *400 - Bad Request*
15381
+ #
15382
+ # * *401 - Unauthorized*
15383
+ #
15384
+ # * *403 - Forbidden*
15385
+ #
15386
+ # * *404 - Not Found*
15387
+ #
15388
+ # * *405 - Method Not Allowed*
15389
+ #
15390
+ # * *409 - Conflict*
15391
+ #
15392
+ # * *411 - Length Required*
15393
+ #
15394
+ # * *412 - Precondition Failed*
15395
+ #
15396
+ # * *416 - Range Not Satisfiable*
15397
+ #
15398
+ # * *500 - Internal Server Error*
15399
+ #
15400
+ # * *503 - Service Unavailable*
15401
+ # @return [Integer]
15402
+ #
15403
+ # @!attribute [rw] error_code
15404
+ # A string that uniquely identifies an error condition. Returned in
15405
+ # the &lt;Code&gt; tag of the error XML response for a corresponding
15406
+ # `GetObject` call. Cannot be used with a successful `StatusCode`
15407
+ # header or when the transformed object is provided in the body. All
15408
+ # error codes from S3 are sentence-cased. Regex value is
15409
+ # "^\[A-Z\]\[a-zA-Z\]+$".
15410
+ # @return [String]
15411
+ #
15412
+ # @!attribute [rw] error_message
15413
+ # Contains a generic description of the error condition. Returned in
15414
+ # the &lt;Message&gt; tag of the error XML response for a
15415
+ # corresponding `GetObject` call. Cannot be used with a successful
15416
+ # `StatusCode` header or when the transformed object is provided in
15417
+ # body.
15418
+ # @return [String]
15419
+ #
15420
+ # @!attribute [rw] accept_ranges
15421
+ # Indicates that a range of bytes was specified.
15422
+ # @return [String]
15423
+ #
15424
+ # @!attribute [rw] cache_control
15425
+ # Specifies caching behavior along the request/reply chain.
15426
+ # @return [String]
15427
+ #
15428
+ # @!attribute [rw] content_disposition
15429
+ # Specifies presentational information for the object.
15430
+ # @return [String]
15431
+ #
15432
+ # @!attribute [rw] content_encoding
15433
+ # Specifies what content encodings have been applied to the object and
15434
+ # thus what decoding mechanisms must be applied to obtain the
15435
+ # media-type referenced by the Content-Type header field.
15436
+ # @return [String]
15437
+ #
15438
+ # @!attribute [rw] content_language
15439
+ # The language the content is in.
15440
+ # @return [String]
15441
+ #
15442
+ # @!attribute [rw] content_length
15443
+ # The size of the content body in bytes.
15444
+ # @return [Integer]
15445
+ #
15446
+ # @!attribute [rw] content_range
15447
+ # The portion of the object returned in the response.
15448
+ # @return [String]
15449
+ #
15450
+ # @!attribute [rw] content_type
15451
+ # A standard MIME type describing the format of the object data.
15452
+ # @return [String]
15453
+ #
15454
+ # @!attribute [rw] delete_marker
15455
+ # Specifies whether an object stored in Amazon S3 is (`true`) or is
15456
+ # not (`false`) a delete marker.
15457
+ # @return [Boolean]
15458
+ #
15459
+ # @!attribute [rw] etag
15460
+ # An opaque identifier assigned by a web server to a specific version
15461
+ # of a resource found at a URL.
15462
+ # @return [String]
15463
+ #
15464
+ # @!attribute [rw] expires
15465
+ # The date and time at which the object is no longer cacheable.
15466
+ # @return [Time]
15467
+ #
15468
+ # @!attribute [rw] expiration
15469
+ # If object stored in Amazon S3 expiration is configured (see PUT
15470
+ # Bucket lifecycle) it includes expiry-date and rule-id key-value
15471
+ # pairs providing object expiration information. The value of the
15472
+ # rule-id is URL encoded.
15473
+ # @return [String]
15474
+ #
15475
+ # @!attribute [rw] last_modified
15476
+ # The date and time that the object was last modified.
15477
+ # @return [Time]
15478
+ #
15479
+ # @!attribute [rw] missing_meta
15480
+ # Set to the number of metadata entries not returned in `x-amz-meta`
15481
+ # headers. This can happen if you create metadata using an API like
15482
+ # SOAP that supports more flexible metadata than the REST API. For
15483
+ # example, using SOAP, you can create metadata whose values are not
15484
+ # legal HTTP headers.
15485
+ # @return [Integer]
15486
+ #
15487
+ # @!attribute [rw] metadata
15488
+ # A map of metadata to store with the object in S3.
15489
+ # @return [Hash<String,String>]
15490
+ #
15491
+ # @!attribute [rw] object_lock_mode
15492
+ # Indicates whether an object stored in Amazon S3 has Object Lock
15493
+ # enabled. For more information about S3 Object Lock, see [Object
15494
+ # Lock][1].
15495
+ #
15496
+ #
15497
+ #
15498
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
15499
+ # @return [String]
15500
+ #
15501
+ # @!attribute [rw] object_lock_legal_hold_status
15502
+ # Indicates whether an object stored in Amazon S3 has an active legal
15503
+ # hold.
15504
+ # @return [String]
15505
+ #
15506
+ # @!attribute [rw] object_lock_retain_until_date
15507
+ # The date and time when Object Lock is configured to expire.
15508
+ # @return [Time]
15509
+ #
15510
+ # @!attribute [rw] parts_count
15511
+ # The count of parts this object has.
15512
+ # @return [Integer]
15513
+ #
15514
+ # @!attribute [rw] replication_status
15515
+ # Indicates if request involves bucket that is either a source or
15516
+ # destination in a Replication rule. For more information about S3
15517
+ # Replication, see [Replication][1].
15518
+ #
15519
+ #
15520
+ #
15521
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html
15522
+ # @return [String]
15523
+ #
15524
+ # @!attribute [rw] request_charged
15525
+ # If present, indicates that the requester was successfully charged
15526
+ # for the request.
15527
+ # @return [String]
15528
+ #
15529
+ # @!attribute [rw] restore
15530
+ # Provides information about object restoration operation and
15531
+ # expiration time of the restored object copy.
15532
+ # @return [String]
15533
+ #
15534
+ # @!attribute [rw] server_side_encryption
15535
+ # The server-side encryption algorithm used when storing requested
15536
+ # object in Amazon S3 (for example, AES256, aws:kms).
15537
+ # @return [String]
15538
+ #
15539
+ # @!attribute [rw] sse_customer_algorithm
15540
+ # Encryption algorithm used if server-side encryption with a
15541
+ # customer-provided encryption key was specified for object stored in
15542
+ # Amazon S3.
15543
+ # @return [String]
15544
+ #
15545
+ # @!attribute [rw] ssekms_key_id
15546
+ # If present, specifies the ID of the AWS Key Management Service (AWS
15547
+ # KMS) symmetric customer managed customer master key (CMK) that was
15548
+ # used for stored in Amazon S3 object.
15549
+ # @return [String]
15550
+ #
15551
+ # @!attribute [rw] sse_customer_key_md5
15552
+ # 128-bit MD5 digest of customer-provided encryption key used in
15553
+ # Amazon S3 to encrypt data stored in S3. For more information, see
15554
+ # [Protecting data using server-side encryption with customer-provided
15555
+ # encryption keys (SSE-C)][1].
15556
+ #
15557
+ #
15558
+ #
15559
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
15560
+ # @return [String]
15561
+ #
15562
+ # @!attribute [rw] storage_class
15563
+ # The class of storage used to store object in Amazon S3.
15564
+ # @return [String]
15565
+ #
15566
+ # @!attribute [rw] tag_count
15567
+ # The number of tags, if any, on the object.
15568
+ # @return [Integer]
15569
+ #
15570
+ # @!attribute [rw] version_id
15571
+ # An ID used to reference a specific version of the object.
15572
+ # @return [String]
15573
+ #
15574
+ # @!attribute [rw] bucket_key_enabled
15575
+ # Indicates whether the object stored in Amazon S3 uses an S3 bucket
15576
+ # key for server-side encryption with AWS KMS (SSE-KMS).
15577
+ # @return [Boolean]
15578
+ #
15579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WriteGetObjectResponseRequest AWS API Documentation
15580
+ #
15581
+ class WriteGetObjectResponseRequest < Struct.new(
15582
+ :request_route,
15583
+ :request_token,
15584
+ :body,
15585
+ :status_code,
15586
+ :error_code,
15587
+ :error_message,
15588
+ :accept_ranges,
15589
+ :cache_control,
15590
+ :content_disposition,
15591
+ :content_encoding,
15592
+ :content_language,
15593
+ :content_length,
15594
+ :content_range,
15595
+ :content_type,
15596
+ :delete_marker,
15597
+ :etag,
15598
+ :expires,
15599
+ :expiration,
15600
+ :last_modified,
15601
+ :missing_meta,
15602
+ :metadata,
15603
+ :object_lock_mode,
15604
+ :object_lock_legal_hold_status,
15605
+ :object_lock_retain_until_date,
15606
+ :parts_count,
15607
+ :replication_status,
15608
+ :request_charged,
15609
+ :restore,
15610
+ :server_side_encryption,
15611
+ :sse_customer_algorithm,
15612
+ :ssekms_key_id,
15613
+ :sse_customer_key_md5,
15614
+ :storage_class,
15615
+ :tag_count,
15616
+ :version_id,
15617
+ :bucket_key_enabled)
15618
+ SENSITIVE = [:ssekms_key_id]
15619
+ include Aws::Structure
15620
+ end
15621
+
15163
15622
  # The container for selecting objects from a content event stream.
15164
15623
  #
15165
15624
  # EventStream is an Enumerator of Events.