aws-sdk-s3 1.90.0 → 1.94.0

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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +29 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3.rb +2 -2
  5. data/lib/aws-sdk-s3/arn/access_point_arn.rb +4 -6
  6. data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +64 -0
  7. data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +4 -6
  8. data/lib/aws-sdk-s3/bucket.rb +7 -7
  9. data/lib/aws-sdk-s3/bucket_acl.rb +2 -2
  10. data/lib/aws-sdk-s3/bucket_cors.rb +5 -5
  11. data/lib/aws-sdk-s3/bucket_lifecycle.rb +3 -3
  12. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +3 -3
  13. data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
  14. data/lib/aws-sdk-s3/bucket_notification.rb +2 -2
  15. data/lib/aws-sdk-s3/bucket_policy.rb +3 -3
  16. data/lib/aws-sdk-s3/bucket_request_payment.rb +2 -2
  17. data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
  18. data/lib/aws-sdk-s3/bucket_versioning.rb +4 -4
  19. data/lib/aws-sdk-s3/bucket_website.rb +3 -3
  20. data/lib/aws-sdk-s3/client.rb +699 -421
  21. data/lib/aws-sdk-s3/client_api.rb +60 -1
  22. data/lib/aws-sdk-s3/customizations/object.rb +30 -11
  23. data/lib/aws-sdk-s3/errors.rb +1 -1
  24. data/lib/aws-sdk-s3/event_streams.rb +1 -1
  25. data/lib/aws-sdk-s3/file_uploader.rb +2 -2
  26. data/lib/aws-sdk-s3/multipart_upload.rb +4 -4
  27. data/lib/aws-sdk-s3/multipart_upload_part.rb +5 -5
  28. data/lib/aws-sdk-s3/object.rb +97 -11
  29. data/lib/aws-sdk-s3/object_acl.rb +2 -2
  30. data/lib/aws-sdk-s3/object_summary.rb +10 -10
  31. data/lib/aws-sdk-s3/object_version.rb +5 -5
  32. data/lib/aws-sdk-s3/plugins/arn.rb +57 -34
  33. data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +9 -9
  34. data/lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb +25 -0
  35. data/lib/aws-sdk-s3/plugins/s3_signer.rb +6 -0
  36. data/lib/aws-sdk-s3/resource.rb +1 -1
  37. data/lib/aws-sdk-s3/types.rb +577 -244
  38. data/lib/aws-sdk-s3/waiters.rb +1 -1
  39. metadata +7 -6
@@ -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
 
@@ -286,7 +286,7 @@ module Aws::S3
286
286
  # @option options [String] :version_id
287
287
  # VersionId used to reference a specific version of the object.
288
288
  # @option options [String] :expected_bucket_owner
289
- # The account id of the expected bucket owner. If the bucket is owned by
289
+ # The account ID of the expected bucket owner. If the bucket is owned by
290
290
  # a different account, the request will fail with an HTTP `403 (Access
291
291
  # Denied)` error.
292
292
  # @return [Types::PutObjectAclOutput]
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/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
 
@@ -375,7 +375,7 @@ module Aws::S3
375
375
  #
376
376
  #
377
377
  #
378
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html
378
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
379
379
  # @option options [String] :copy_source_if_match
380
380
  # Copies the object if its entity tag (ETag) matches the specified tag.
381
381
  # @option options [Time,DateTime,Date,Integer,String] :copy_source_if_modified_since
@@ -500,11 +500,11 @@ module Aws::S3
500
500
  # @option options [String] :object_lock_legal_hold_status
501
501
  # Specifies whether you want to apply a Legal Hold to the copied object.
502
502
  # @option options [String] :expected_bucket_owner
503
- # The account id of the expected destination bucket owner. If the
503
+ # The account ID of the expected destination bucket owner. If the
504
504
  # destination bucket is owned by a different account, the request will
505
505
  # fail with an HTTP `403 (Access Denied)` error.
506
506
  # @option options [String] :expected_source_bucket_owner
507
- # The account id of the expected source bucket owner. If the source
507
+ # The account ID of the expected source bucket owner. If the source
508
508
  # bucket is owned by a different account, the request will fail with an
509
509
  # HTTP `403 (Access Denied)` error.
510
510
  # @return [Types::CopyObjectOutput]
@@ -548,7 +548,7 @@ module Aws::S3
548
548
  # Indicates whether S3 Object Lock should bypass Governance-mode
549
549
  # restrictions to process this operation.
550
550
  # @option options [String] :expected_bucket_owner
551
- # The account id of the expected bucket owner. If the bucket is owned by
551
+ # The account ID of the expected bucket owner. If the bucket is owned by
552
552
  # a different account, the request will fail with an HTTP `403 (Access
553
553
  # Denied)` error.
554
554
  # @return [Types::DeleteObjectOutput]
@@ -652,7 +652,7 @@ module Aws::S3
652
652
  # for the part specified. Useful for downloading just a part of an
653
653
  # object.
654
654
  # @option options [String] :expected_bucket_owner
655
- # The account id of the expected bucket owner. If the bucket is owned by
655
+ # The account ID of the expected bucket owner. If the bucket is owned by
656
656
  # a different account, the request will fail with an HTTP `403 (Access
657
657
  # Denied)` error.
658
658
  # @return [Types::GetObjectOutput]
@@ -812,7 +812,7 @@ module Aws::S3
812
812
  # Specifies whether you want to apply a Legal Hold to the uploaded
813
813
  # object.
814
814
  # @option options [String] :expected_bucket_owner
815
- # The account id of the expected bucket owner. If the bucket is owned by
815
+ # The account ID of the expected bucket owner. If the bucket is owned by
816
816
  # a different account, the request will fail with an HTTP `403 (Access
817
817
  # Denied)` error.
818
818
  # @return [MultipartUpload]
@@ -1061,7 +1061,7 @@ module Aws::S3
1061
1061
  #
1062
1062
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
1063
1063
  # @option options [String] :expected_bucket_owner
1064
- # The account id of the expected bucket owner. If the bucket is owned by
1064
+ # The account ID of the expected bucket owner. If the bucket is owned by
1065
1065
  # a different account, the request will fail with an HTTP `403 (Access
1066
1066
  # Denied)` error.
1067
1067
  # @return [Types::PutObjectOutput]
@@ -1178,7 +1178,7 @@ module Aws::S3
1178
1178
  #
1179
1179
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
1180
1180
  # @option options [String] :expected_bucket_owner
1181
- # The account id of the expected bucket owner. If the bucket is owned by
1181
+ # The account ID of the expected bucket owner. If the bucket is owned by
1182
1182
  # a different account, the request will fail with an HTTP `403 (Access
1183
1183
  # Denied)` error.
1184
1184
  # @return [Types::RestoreObjectOutput]
@@ -1335,7 +1335,7 @@ module Aws::S3
1335
1335
  # Governance-type Object Lock in place. You must have sufficient
1336
1336
  # permissions to perform this operation.
1337
1337
  # @option options [String] :expected_bucket_owner
1338
- # The account id of the expected bucket owner. If the bucket is owned by
1338
+ # The account ID of the expected bucket owner. If the bucket is owned by
1339
1339
  # a different account, the request will fail with an HTTP `403 (Access
1340
1340
  # Denied)` error.
1341
1341
  # @return [void]
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/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
 
@@ -256,7 +256,7 @@ module Aws::S3
256
256
  # Indicates whether S3 Object Lock should bypass Governance-mode
257
257
  # restrictions to process this operation.
258
258
  # @option options [String] :expected_bucket_owner
259
- # The account id of the expected bucket owner. If the bucket is owned by
259
+ # The account ID of the expected bucket owner. If the bucket is owned by
260
260
  # a different account, the request will fail with an HTTP `403 (Access
261
261
  # Denied)` error.
262
262
  # @return [Types::DeleteObjectOutput]
@@ -358,7 +358,7 @@ module Aws::S3
358
358
  # for the part specified. Useful for downloading just a part of an
359
359
  # object.
360
360
  # @option options [String] :expected_bucket_owner
361
- # The account id of the expected bucket owner. If the bucket is owned by
361
+ # The account ID of the expected bucket owner. If the bucket is owned by
362
362
  # a different account, the request will fail with an HTTP `403 (Access
363
363
  # Denied)` error.
364
364
  # @return [Types::GetObjectOutput]
@@ -442,7 +442,7 @@ module Aws::S3
442
442
  # for the part specified. Useful querying about the size of the part and
443
443
  # the number of parts in this object.
444
444
  # @option options [String] :expected_bucket_owner
445
- # The account id of the expected bucket owner. If the bucket is owned by
445
+ # The account ID of the expected bucket owner. If the bucket is owned by
446
446
  # a different account, the request will fail with an HTTP `403 (Access
447
447
  # Denied)` error.
448
448
  # @return [Types::HeadObjectOutput]
@@ -546,7 +546,7 @@ module Aws::S3
546
546
  # Governance-type Object Lock in place. You must have sufficient
547
547
  # permissions to perform this operation.
548
548
  # @option options [String] :expected_bucket_owner
549
- # The account id of the expected bucket owner. If the bucket is owned by
549
+ # The account ID of the expected bucket owner. If the bucket is owned by
550
550
  # a different account, the request will fail with an HTTP `403 (Access
551
551
  # Denied)` error.
552
552
  # @return [void]
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative '../arn/access_point_arn'
4
+ require_relative '../arn/object_lambda_arn'
4
5
  require_relative '../arn/outpost_access_point_arn'
5
6
 
6
7
  module Aws
@@ -22,9 +23,9 @@ be made. Set to `false` to use the client's region instead.
22
23
  resolve_s3_use_arn_region(cfg)
23
24
  end
24
25
 
25
- # param validator is validate:50 (required to add account_id from arn)
26
+ # param validator is validate:50
26
27
  # endpoint is build:90 (populates the URI for the first time)
27
- # endpoint pattern is build:10 (prefix account id to host)
28
+ # endpoint pattern is build:10
28
29
  def add_handlers(handlers, _config)
29
30
  handlers.add(ARNHandler, step: :validate, priority: 75)
30
31
  handlers.add(UrlHandler)
@@ -38,6 +39,7 @@ be made. Set to `false` to use the client's region instead.
38
39
  context.http_request.endpoint,
39
40
  context.metadata[:s3_arn][:arn],
40
41
  context.metadata[:s3_arn][:resolved_region],
42
+ context.metadata[:s3_arn][:fips],
41
43
  context.metadata[:s3_arn][:dualstack],
42
44
  # if regional_endpoint is false, a custom endpoint was provided
43
45
  # in this case, we want to prefix the endpoint using the ARN
@@ -62,9 +64,17 @@ be made. Set to `false` to use the client's region instead.
62
64
  if arn
63
65
  validate_config!(context, arn)
64
66
 
67
+ fips = false
68
+ if resolved_region.include?('fips')
69
+ fips = true
70
+ resolved_region = resolved_region.gsub('fips-', '')
71
+ .gsub('-fips', '')
72
+ end
73
+
65
74
  context.metadata[:s3_arn] = {
66
75
  arn: arn,
67
76
  resolved_region: resolved_region,
77
+ fips: fips,
68
78
  dualstack: extract_dualstack_config!(context)
69
79
  }
70
80
  end
@@ -114,18 +124,10 @@ be made. Set to `false` to use the client's region instead.
114
124
  def resolve_arn!(member_value, region, use_arn_region)
115
125
  if Aws::ARNParser.arn?(member_value)
116
126
  arn = Aws::ARNParser.parse(member_value)
117
- if arn.resource.start_with?('accesspoint')
118
- s3_arn = Aws::S3::AccessPointARN.new(arn.to_h)
119
- elsif arn.resource.start_with?('outpost')
120
- s3_arn = Aws::S3::OutpostAccessPointARN.new(arn.to_h)
121
- else
122
- raise ArgumentError,
123
- 'Only Access Point and Outpost Access Point type ARNs '\
124
- 'are currently supported.'
125
- end
127
+ s3_arn = resolve_arn_type!(arn)
126
128
  s3_arn.validate_arn!
127
129
  validate_region_config!(s3_arn, region, use_arn_region)
128
- region = s3_arn.region if use_arn_region
130
+ region = s3_arn.region if use_arn_region && !region.include?('fips')
129
131
  [region, s3_arn]
130
132
  else
131
133
  [region]
@@ -133,15 +135,30 @@ be made. Set to `false` to use the client's region instead.
133
135
  end
134
136
 
135
137
  # @api private
136
- def resolve_url!(url, arn, region, dualstack = false, has_custom_endpoint = false)
138
+ def resolve_url!(url, arn, region, fips = false, dualstack = false, has_custom_endpoint = false)
137
139
  custom_endpoint = url.host if has_custom_endpoint
138
- url.host = arn.host_url(region, dualstack, custom_endpoint)
140
+ url.host = arn.host_url(region, fips, dualstack, custom_endpoint)
139
141
  url.path = url_path(url.path, arn)
140
142
  url
141
143
  end
142
144
 
143
145
  private
144
146
 
147
+ def resolve_arn_type!(arn)
148
+ case arn.service
149
+ when 's3'
150
+ Aws::S3::AccessPointARN.new(arn.to_h)
151
+ when 's3-outposts'
152
+ Aws::S3::OutpostAccessPointARN.new(arn.to_h)
153
+ when 's3-object-lambda'
154
+ Aws::S3::ObjectLambdaARN.new(arn.to_h)
155
+ else
156
+ raise ArgumentError,
157
+ 'Only Access Point, Outposts, and Object Lambdas ARNs '\
158
+ 'are currently supported.'
159
+ end
160
+ end
161
+
145
162
  def resolve_s3_use_arn_region(cfg)
146
163
  value = ENV['AWS_S3_USE_ARN_REGION'] ||
147
164
  Aws.shared_config.s3_use_arn_region(profile: cfg.profile) ||
@@ -157,8 +174,7 @@ be made. Set to `false` to use the client's region instead.
157
174
  value
158
175
  end
159
176
 
160
- # Remove ARN from the path since it was substituted already
161
- # This only works because accesspoints care about the URL
177
+ # Remove ARN from the path because we've already set the new host
162
178
  def url_path(path, arn)
163
179
  path = path.sub("/#{Seahorse::Util.uri_escape(arn.to_s)}", '')
164
180
  .sub("/#{arn}", '')
@@ -167,33 +183,40 @@ be made. Set to `false` to use the client's region instead.
167
183
  end
168
184
 
169
185
  def validate_region_config!(arn, region, use_arn_region)
170
- fips = arn.support_fips?
171
-
172
- # s3-external-1 is specific just to s3 and not part of partitions
173
- # aws-global is a partition region
174
- unless arn.partition == 'aws' &&
175
- (region == 's3-external-1' || region == 'aws-global')
176
- if !fips && arn.region.include?('fips')
177
- raise ArgumentError,
178
- 'FIPS region ARNs are not supported for this type of ARN.'
186
+ if ['s3-external-1', 'aws-global'].include?(region)
187
+ # These "regions" are not regional endpoints
188
+ unless use_arn_region
189
+ raise Aws::Errors::InvalidARNRegionError,
190
+ 'Configured client region is not a regional endpoint.'
179
191
  end
180
-
181
- if !fips && !use_arn_region && region.include?('fips')
182
- raise ArgumentError,
183
- 'FIPS client regions are not supported for this type of '\
184
- 'ARN without `:s3_use_arn_region`.'
192
+ # These "regions" are in the AWS partition
193
+ # Cannot use ARN region unless it's the same partition
194
+ unless arn.partition == 'aws'
195
+ raise Aws::Errors::InvalidARNPartitionError
185
196
  end
186
-
187
- # if it's a fips region, attempt to normalize it
188
- if fips || use_arn_region
197
+ else
198
+ if region.include?('fips')
199
+ # If ARN type doesn't support FIPS but the client region is FIPS
200
+ unless arn.support_fips?
201
+ raise ArgumentError,
202
+ 'FIPS client regions are not supported for this type '\
203
+ 'of ARN.'
204
+ end
205
+
206
+ fips = true
207
+ # Normalize the region so we can compare partition and regions
189
208
  region = region.gsub('fips-', '').gsub('-fips', '')
190
209
  end
210
+
211
+ # Raise if the ARN and client regions are in different partitions
191
212
  if use_arn_region &&
192
213
  !Aws::Partitions.partition(arn.partition).region?(region)
193
214
  raise Aws::Errors::InvalidARNPartitionError
194
215
  end
195
216
 
196
- if !use_arn_region && region != arn.region
217
+ # Raise if regions mismatch
218
+ # Either when it's a fips client or not using the ARN region
219
+ if (!use_arn_region || fips) && region != arn.region
197
220
  raise Aws::Errors::InvalidARNRegionError
198
221
  end
199
222
  end
@@ -10,8 +10,8 @@ module Aws
10
10
  default: 'legacy',
11
11
  doc_type: String,
12
12
  docstring: <<-DOCS) do |cfg|
13
- 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
@@ -27,14 +27,14 @@ region. Defaults to `legacy` mode using global endpoint.
27
27
  class Handler < Seahorse::Client::Handler
28
28
 
29
29
  def call(context)
30
- # keep legacy global endpoint pattern by default
31
- 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]
32
35
  host = context.http_request.endpoint.host
33
- # if it's an ARN then don't touch the endpoint at all
34
- unless context.metadata[:s3_arn]
35
- legacy_host = IADRegionalEndpoint.legacy_host(host)
36
- context.http_request.endpoint.host = legacy_host
37
- end
36
+ legacy_host = IADRegionalEndpoint.legacy_host(host)
37
+ context.http_request.endpoint.host = legacy_host
38
38
  end
39
39
  @handler.call(context)
40
40
  end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aws
4
+ module S3
5
+ module Plugins
6
+ # WriteGetObjectResponse is called from Lambda after a data transform.
7
+ # If there is no custom endpoint, we change the endpoint from s3 to
8
+ # s3-object-lambda just for this operation.
9
+ class ObjectLambdaEndpoint < Seahorse::Client::Plugin
10
+ class Handler < Seahorse::Client::Handler
11
+ def call(context)
12
+ if context.config.regional_endpoint
13
+ host = context.http_request.endpoint.host
14
+ host = host.sub('s3.', 's3-object-lambda.')
15
+ context.http_request.endpoint.host = host
16
+ end
17
+ @handler.call(context)
18
+ end
19
+ end
20
+
21
+ handler(Handler, operations: [:write_get_object_response])
22
+ end
23
+ end
24
+ end
25
+ end
@@ -79,6 +79,12 @@ module Aws
79
79
  region: arn[:resolved_region],
80
80
  credentials: context.config.credentials
81
81
  )
82
+ elsif context.operation.name == 'WriteGetObjectResponse'
83
+ S3Signer.build_v4_signer(
84
+ service: 's3-object-lambda',
85
+ region: context.config.sigv4_region,
86
+ credentials: context.config.credentials
87
+ )
82
88
  else
83
89
  context.config.sigv4_signer
84
90
  end
@@ -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
 
@@ -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
  #
@@ -74,7 +74,7 @@ module Aws::S3
74
74
  # When using this action with an access point through the AWS SDKs,
75
75
  # you provide the access point ARN in place of the bucket name. For
76
76
  # more information about access point ARNs, see [Using Access
77
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
77
+ # Points][1] in the *Amazon S3 User Guide*.
78
78
  #
79
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
@@ -83,12 +83,12 @@ module Aws::S3
83
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
@@ -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
  #
@@ -492,7 +492,7 @@ module Aws::S3
492
492
 
493
493
  # Specifies the lifecycle configuration for objects in an Amazon S3
494
494
  # bucket. For more information, see [Object Lifecycle Management][1] in
495
- # the *Amazon Simple Storage Service Developer Guide*.
495
+ # the *Amazon S3 User Guide*.
496
496
  #
497
497
  #
498
498
  #
@@ -608,8 +608,7 @@ module Aws::S3
608
608
 
609
609
  # Describes the cross-origin access configuration for objects in an
610
610
  # Amazon S3 bucket. For more information, see [Enabling Cross-Origin
611
- # Resource Sharing][1] in the *Amazon Simple Storage Service Developer
612
- # Guide*.
611
+ # Resource Sharing][1] in the *Amazon S3 User Guide*.
613
612
  #
614
613
  #
615
614
  #
@@ -621,6 +620,7 @@ module Aws::S3
621
620
  # {
622
621
  # cors_rules: [ # required
623
622
  # {
623
+ # id: "ID",
624
624
  # allowed_headers: ["AllowedHeader"],
625
625
  # allowed_methods: ["AllowedMethod"], # required
626
626
  # allowed_origins: ["AllowedOrigin"], # required
@@ -649,6 +649,7 @@ module Aws::S3
649
649
  # data as a hash:
650
650
  #
651
651
  # {
652
+ # id: "ID",
652
653
  # allowed_headers: ["AllowedHeader"],
653
654
  # allowed_methods: ["AllowedMethod"], # required
654
655
  # allowed_origins: ["AllowedOrigin"], # required
@@ -656,6 +657,11 @@ module Aws::S3
656
657
  # max_age_seconds: 1,
657
658
  # }
658
659
  #
660
+ # @!attribute [rw] id
661
+ # Unique identifier for the rule. The value cannot be longer than 255
662
+ # characters.
663
+ # @return [String]
664
+ #
659
665
  # @!attribute [rw] allowed_headers
660
666
  # Headers that are specified in the `Access-Control-Request-Headers`
661
667
  # header. These headers are allowed in a preflight OPTIONS request. In
@@ -687,6 +693,7 @@ module Aws::S3
687
693
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule AWS API Documentation
688
694
  #
689
695
  class CORSRule < Struct.new(
696
+ :id,
690
697
  :allowed_headers,
691
698
  :allowed_methods,
692
699
  :allowed_origins,
@@ -918,7 +925,7 @@ module Aws::S3
918
925
  # When using this action with an access point through the AWS SDKs,
919
926
  # you provide the access point ARN in place of the bucket name. For
920
927
  # more information about access point ARNs, see [Using Access
921
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
928
+ # Points][1] in the *Amazon S3 User Guide*.
922
929
  #
923
930
  # When using this action with Amazon S3 on Outposts, you must direct
924
931
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -927,12 +934,12 @@ module Aws::S3
927
934
  # When using this action using S3 on Outposts through the AWS SDKs,
928
935
  # you provide the Outposts bucket ARN in place of the bucket name. For
929
936
  # more information about S3 on Outposts ARNs, see [Using S3 on
930
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
937
+ # Outposts][2] in the *Amazon S3 User Guide*.
931
938
  #
932
939
  #
933
940
  #
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
941
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
942
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
936
943
  # @return [String]
937
944
  #
938
945
  # @!attribute [rw] key
@@ -1049,7 +1056,7 @@ module Aws::S3
1049
1056
  # @return [String]
1050
1057
  #
1051
1058
  # @!attribute [rw] expected_bucket_owner
1052
- # The account id of the expected bucket owner. If the bucket is owned
1059
+ # The account ID of the expected bucket owner. If the bucket is owned
1053
1060
  # by a different account, the request will fail with an HTTP `403
1054
1061
  # (Access Denied)` error.
1055
1062
  # @return [String]
@@ -1320,7 +1327,7 @@ module Aws::S3
1320
1327
  # When using this action with an access point through the AWS SDKs,
1321
1328
  # you provide the access point ARN in place of the bucket name. For
1322
1329
  # more information about access point ARNs, see [Using Access
1323
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
1330
+ # Points][1] in the *Amazon S3 User Guide*.
1324
1331
  #
1325
1332
  # When using this action with Amazon S3 on Outposts, you must direct
1326
1333
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -1329,12 +1336,12 @@ module Aws::S3
1329
1336
  # When using this action using S3 on Outposts through the AWS SDKs,
1330
1337
  # you provide the Outposts bucket ARN in place of the bucket name. For
1331
1338
  # more information about S3 on Outposts ARNs, see [Using S3 on
1332
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
1339
+ # Outposts][2] in the *Amazon S3 User Guide*.
1333
1340
  #
1334
1341
  #
1335
1342
  #
1336
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
1337
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1343
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
1344
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
1338
1345
  # @return [String]
1339
1346
  #
1340
1347
  # @!attribute [rw] cache_control
@@ -1403,7 +1410,7 @@ module Aws::S3
1403
1410
  #
1404
1411
  #
1405
1412
  #
1406
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html
1413
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
1407
1414
  # @return [String]
1408
1415
  #
1409
1416
  # @!attribute [rw] copy_source_if_match
@@ -1595,13 +1602,13 @@ module Aws::S3
1595
1602
  # @return [String]
1596
1603
  #
1597
1604
  # @!attribute [rw] expected_bucket_owner
1598
- # The account id of the expected destination bucket owner. If the
1605
+ # The account ID of the expected destination bucket owner. If the
1599
1606
  # destination bucket is owned by a different account, the request will
1600
1607
  # fail with an HTTP `403 (Access Denied)` error.
1601
1608
  # @return [String]
1602
1609
  #
1603
1610
  # @!attribute [rw] expected_source_bucket_owner
1604
- # The account id of the expected source bucket owner. If the source
1611
+ # The account ID of the expected source bucket owner. If the source
1605
1612
  # bucket is owned by a different account, the request will fail with
1606
1613
  # an HTTP `403 (Access Denied)` error.
1607
1614
  # @return [String]
@@ -1837,7 +1844,7 @@ module Aws::S3
1837
1844
  # When using this action with an access point through the AWS SDKs,
1838
1845
  # you provide the access point ARN in place of the bucket name. For
1839
1846
  # more information about access point ARNs, see [Using Access
1840
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
1847
+ # Points][1] in the *Amazon S3 User Guide*.
1841
1848
  #
1842
1849
  # When using this action with Amazon S3 on Outposts, you must direct
1843
1850
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -1846,12 +1853,12 @@ module Aws::S3
1846
1853
  # When using this action using S3 on Outposts through the AWS SDKs,
1847
1854
  # you provide the Outposts bucket ARN in place of the bucket name. For
1848
1855
  # more information about S3 on Outposts ARNs, see [Using S3 on
1849
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
1856
+ # Outposts][2] in the *Amazon S3 User Guide*.
1850
1857
  #
1851
1858
  #
1852
1859
  #
1853
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
1854
- # [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
1855
1862
  # @return [String]
1856
1863
  #
1857
1864
  # @!attribute [rw] key
@@ -1975,7 +1982,7 @@ module Aws::S3
1975
1982
  # When using this action with an access point through the AWS SDKs,
1976
1983
  # you provide the access point ARN in place of the bucket name. For
1977
1984
  # more information about access point ARNs, see [Using Access
1978
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
1985
+ # Points][1] in the *Amazon S3 User Guide*.
1979
1986
  #
1980
1987
  # When using this action with Amazon S3 on Outposts, you must direct
1981
1988
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -1984,12 +1991,12 @@ module Aws::S3
1984
1991
  # When using this action using S3 on Outposts through the AWS SDKs,
1985
1992
  # you provide the Outposts bucket ARN in place of the bucket name. For
1986
1993
  # more information about S3 on Outposts ARNs, see [Using S3 on
1987
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
1994
+ # Outposts][2] in the *Amazon S3 User Guide*.
1988
1995
  #
1989
1996
  #
1990
1997
  #
1991
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
1992
- # [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
1993
2000
  # @return [String]
1994
2001
  #
1995
2002
  # @!attribute [rw] cache_control
@@ -2157,7 +2164,7 @@ module Aws::S3
2157
2164
  # @return [String]
2158
2165
  #
2159
2166
  # @!attribute [rw] expected_bucket_owner
2160
- # The account id of the expected bucket owner. If the bucket is owned
2167
+ # The account ID of the expected bucket owner. If the bucket is owned
2161
2168
  # by a different account, the request will fail with an HTTP `403
2162
2169
  # (Access Denied)` error.
2163
2170
  # @return [String]
@@ -2201,6 +2208,14 @@ module Aws::S3
2201
2208
  # The container element for specifying the default Object Lock retention
2202
2209
  # settings for new objects placed in the specified bucket.
2203
2210
  #
2211
+ # <note markdown="1"> * The `DefaultRetention` settings require both a mode and a period.
2212
+ #
2213
+ # * The `DefaultRetention` period can be either `Days` or `Years` but
2214
+ # you must select one. You cannot specify `Days` and `Years` at the
2215
+ # same time.
2216
+ #
2217
+ # </note>
2218
+ #
2204
2219
  # @note When making an API call, you may pass DefaultRetention
2205
2220
  # data as a hash:
2206
2221
  #
@@ -2212,17 +2227,18 @@ module Aws::S3
2212
2227
  #
2213
2228
  # @!attribute [rw] mode
2214
2229
  # The default Object Lock retention mode you want to apply to new
2215
- # objects placed in the specified bucket.
2230
+ # objects placed in the specified bucket. Must be used with either
2231
+ # `Days` or `Years`.
2216
2232
  # @return [String]
2217
2233
  #
2218
2234
  # @!attribute [rw] days
2219
2235
  # The number of days that you want to specify for the default
2220
- # retention period.
2236
+ # retention period. Must be used with `Mode`.
2221
2237
  # @return [Integer]
2222
2238
  #
2223
2239
  # @!attribute [rw] years
2224
2240
  # The number of years that you want to specify for the default
2225
- # retention period.
2241
+ # retention period. Must be used with `Mode`.
2226
2242
  # @return [Integer]
2227
2243
  #
2228
2244
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention AWS API Documentation
@@ -2287,7 +2303,7 @@ module Aws::S3
2287
2303
  # @return [String]
2288
2304
  #
2289
2305
  # @!attribute [rw] expected_bucket_owner
2290
- # The account id of the expected bucket owner. If the bucket is owned
2306
+ # The account ID of the expected bucket owner. If the bucket is owned
2291
2307
  # by a different account, the request will fail with an HTTP `403
2292
2308
  # (Access Denied)` error.
2293
2309
  # @return [String]
@@ -2315,7 +2331,7 @@ module Aws::S3
2315
2331
  # @return [String]
2316
2332
  #
2317
2333
  # @!attribute [rw] expected_bucket_owner
2318
- # The account id of the expected bucket owner. If the bucket is owned
2334
+ # The account ID of the expected bucket owner. If the bucket is owned
2319
2335
  # by a different account, the request will fail with an HTTP `403
2320
2336
  # (Access Denied)` error.
2321
2337
  # @return [String]
@@ -2343,7 +2359,7 @@ module Aws::S3
2343
2359
  # @return [String]
2344
2360
  #
2345
2361
  # @!attribute [rw] expected_bucket_owner
2346
- # The account id of the expected bucket owner. If the bucket is owned
2362
+ # The account ID of the expected bucket owner. If the bucket is owned
2347
2363
  # by a different account, the request will fail with an HTTP `403
2348
2364
  # (Access Denied)` error.
2349
2365
  # @return [String]
@@ -2402,7 +2418,7 @@ module Aws::S3
2402
2418
  # @return [String]
2403
2419
  #
2404
2420
  # @!attribute [rw] expected_bucket_owner
2405
- # The account id of the expected bucket owner. If the bucket is owned
2421
+ # The account ID of the expected bucket owner. If the bucket is owned
2406
2422
  # by a different account, the request will fail with an HTTP `403
2407
2423
  # (Access Denied)` error.
2408
2424
  # @return [String]
@@ -2430,7 +2446,7 @@ module Aws::S3
2430
2446
  # @return [String]
2431
2447
  #
2432
2448
  # @!attribute [rw] expected_bucket_owner
2433
- # The account id of the expected bucket owner. If the bucket is owned
2449
+ # The account ID of the expected bucket owner. If the bucket is owned
2434
2450
  # by a different account, the request will fail with an HTTP `403
2435
2451
  # (Access Denied)` error.
2436
2452
  # @return [String]
@@ -2463,7 +2479,7 @@ module Aws::S3
2463
2479
  # @return [String]
2464
2480
  #
2465
2481
  # @!attribute [rw] expected_bucket_owner
2466
- # The account id of the expected bucket owner. If the bucket is owned
2482
+ # The account ID of the expected bucket owner. If the bucket is owned
2467
2483
  # by a different account, the request will fail with an HTTP `403
2468
2484
  # (Access Denied)` error.
2469
2485
  # @return [String]
@@ -2491,7 +2507,7 @@ module Aws::S3
2491
2507
  # @return [String]
2492
2508
  #
2493
2509
  # @!attribute [rw] expected_bucket_owner
2494
- # The account id of the expected bucket owner. If the bucket is owned
2510
+ # The account ID of the expected bucket owner. If the bucket is owned
2495
2511
  # by a different account, the request will fail with an HTTP `403
2496
2512
  # (Access Denied)` error.
2497
2513
  # @return [String]
@@ -2518,7 +2534,7 @@ module Aws::S3
2518
2534
  # @return [String]
2519
2535
  #
2520
2536
  # @!attribute [rw] expected_bucket_owner
2521
- # The account id of the expected bucket owner. If the bucket is owned
2537
+ # The account ID of the expected bucket owner. If the bucket is owned
2522
2538
  # by a different account, the request will fail with an HTTP `403
2523
2539
  # (Access Denied)` error.
2524
2540
  # @return [String]
@@ -2545,7 +2561,7 @@ module Aws::S3
2545
2561
  # @return [String]
2546
2562
  #
2547
2563
  # @!attribute [rw] expected_bucket_owner
2548
- # The account id of the expected bucket owner. If the bucket is owned
2564
+ # The account ID of the expected bucket owner. If the bucket is owned
2549
2565
  # by a different account, the request will fail with an HTTP `403
2550
2566
  # (Access Denied)` error.
2551
2567
  # @return [String]
@@ -2572,7 +2588,7 @@ module Aws::S3
2572
2588
  # @return [String]
2573
2589
  #
2574
2590
  # @!attribute [rw] expected_bucket_owner
2575
- # The account id of the expected bucket owner. If the bucket is owned
2591
+ # The account ID of the expected bucket owner. If the bucket is owned
2576
2592
  # by a different account, the request will fail with an HTTP `403
2577
2593
  # (Access Denied)` error.
2578
2594
  # @return [String]
@@ -2599,7 +2615,7 @@ module Aws::S3
2599
2615
  # @return [String]
2600
2616
  #
2601
2617
  # @!attribute [rw] expected_bucket_owner
2602
- # The account id of the expected bucket owner. If the bucket is owned
2618
+ # The account ID of the expected bucket owner. If the bucket is owned
2603
2619
  # by a different account, the request will fail with an HTTP `403
2604
2620
  # (Access Denied)` error.
2605
2621
  # @return [String]
@@ -2627,7 +2643,7 @@ module Aws::S3
2627
2643
  # @return [String]
2628
2644
  #
2629
2645
  # @!attribute [rw] expected_bucket_owner
2630
- # The account id of the expected bucket owner. If the bucket is owned
2646
+ # The account ID of the expected bucket owner. If the bucket is owned
2631
2647
  # by a different account, the request will fail with an HTTP `403
2632
2648
  # (Access Denied)` error.
2633
2649
  # @return [String]
@@ -2770,7 +2786,7 @@ module Aws::S3
2770
2786
  # When using this action with an access point through the AWS SDKs,
2771
2787
  # you provide the access point ARN in place of the bucket name. For
2772
2788
  # more information about access point ARNs, see [Using Access
2773
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
2789
+ # Points][1] in the *Amazon S3 User Guide*.
2774
2790
  #
2775
2791
  # When using this action with Amazon S3 on Outposts, you must direct
2776
2792
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -2779,12 +2795,12 @@ module Aws::S3
2779
2795
  # When using this action using S3 on Outposts through the AWS SDKs,
2780
2796
  # you provide the Outposts bucket ARN in place of the bucket name. For
2781
2797
  # more information about S3 on Outposts ARNs, see [Using S3 on
2782
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
2798
+ # Outposts][2] in the *Amazon S3 User Guide*.
2783
2799
  #
2784
2800
  #
2785
2801
  #
2786
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
2787
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
2802
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
2803
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
2788
2804
  # @return [String]
2789
2805
  #
2790
2806
  # @!attribute [rw] key
@@ -2820,7 +2836,7 @@ module Aws::S3
2820
2836
  # @return [Boolean]
2821
2837
  #
2822
2838
  # @!attribute [rw] expected_bucket_owner
2823
- # The account id of the expected bucket owner. If the bucket is owned
2839
+ # The account ID of the expected bucket owner. If the bucket is owned
2824
2840
  # by a different account, the request will fail with an HTTP `403
2825
2841
  # (Access Denied)` error.
2826
2842
  # @return [String]
@@ -2872,7 +2888,7 @@ module Aws::S3
2872
2888
  # When using this action with an access point through the AWS SDKs,
2873
2889
  # you provide the access point ARN in place of the bucket name. For
2874
2890
  # more information about access point ARNs, see [Using Access
2875
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
2891
+ # Points][1] in the *Amazon S3 User Guide*.
2876
2892
  #
2877
2893
  # When using this action with Amazon S3 on Outposts, you must direct
2878
2894
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -2881,12 +2897,12 @@ module Aws::S3
2881
2897
  # When using this action using S3 on Outposts through the AWS SDKs,
2882
2898
  # you provide the Outposts bucket ARN in place of the bucket name. For
2883
2899
  # more information about S3 on Outposts ARNs, see [Using S3 on
2884
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
2900
+ # Outposts][2] in the *Amazon S3 User Guide*.
2885
2901
  #
2886
2902
  #
2887
2903
  #
2888
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
2889
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
2904
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
2905
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
2890
2906
  # @return [String]
2891
2907
  #
2892
2908
  # @!attribute [rw] key
@@ -2899,7 +2915,7 @@ module Aws::S3
2899
2915
  # @return [String]
2900
2916
  #
2901
2917
  # @!attribute [rw] expected_bucket_owner
2902
- # The account id of the expected bucket owner. If the bucket is owned
2918
+ # The account ID of the expected bucket owner. If the bucket is owned
2903
2919
  # by a different account, the request will fail with an HTTP `403
2904
2920
  # (Access Denied)` error.
2905
2921
  # @return [String]
@@ -2970,7 +2986,7 @@ module Aws::S3
2970
2986
  # When using this action with an access point through the AWS SDKs,
2971
2987
  # you provide the access point ARN in place of the bucket name. For
2972
2988
  # more information about access point ARNs, see [Using Access
2973
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
2989
+ # Points][1] in the *Amazon S3 User Guide*.
2974
2990
  #
2975
2991
  # When using this action with Amazon S3 on Outposts, you must direct
2976
2992
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -2979,12 +2995,12 @@ module Aws::S3
2979
2995
  # When using this action using S3 on Outposts through the AWS SDKs,
2980
2996
  # you provide the Outposts bucket ARN in place of the bucket name. For
2981
2997
  # more information about S3 on Outposts ARNs, see [Using S3 on
2982
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
2998
+ # Outposts][2] in the *Amazon S3 User Guide*.
2983
2999
  #
2984
3000
  #
2985
3001
  #
2986
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
2987
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
3002
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
3003
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
2988
3004
  # @return [String]
2989
3005
  #
2990
3006
  # @!attribute [rw] delete
@@ -3017,7 +3033,7 @@ module Aws::S3
3017
3033
  # @return [Boolean]
3018
3034
  #
3019
3035
  # @!attribute [rw] expected_bucket_owner
3020
- # The account id of the expected bucket owner. If the bucket is owned
3036
+ # The account ID of the expected bucket owner. If the bucket is owned
3021
3037
  # by a different account, the request will fail with an HTTP `403
3022
3038
  # (Access Denied)` error.
3023
3039
  # @return [String]
@@ -3049,7 +3065,7 @@ module Aws::S3
3049
3065
  # @return [String]
3050
3066
  #
3051
3067
  # @!attribute [rw] expected_bucket_owner
3052
- # The account id of the expected bucket owner. If the bucket is owned
3068
+ # The account ID of the expected bucket owner. If the bucket is owned
3053
3069
  # by a different account, the request will fail with an HTTP `403
3054
3070
  # (Access Denied)` error.
3055
3071
  # @return [String]
@@ -4190,7 +4206,7 @@ module Aws::S3
4190
4206
  # to which the filtering rule applies. The maximum length is 1,024
4191
4207
  # characters. Overlapping prefixes and suffixes are not supported. For
4192
4208
  # more information, see [Configuring Event Notifications][1] in the
4193
- # *Amazon Simple Storage Service Developer Guide*.
4209
+ # *Amazon S3 User Guide*.
4194
4210
  #
4195
4211
  #
4196
4212
  #
@@ -4236,7 +4252,7 @@ module Aws::S3
4236
4252
  # @return [String]
4237
4253
  #
4238
4254
  # @!attribute [rw] expected_bucket_owner
4239
- # The account id of the expected bucket owner. If the bucket is owned
4255
+ # The account ID of the expected bucket owner. If the bucket is owned
4240
4256
  # by a different account, the request will fail with an HTTP `403
4241
4257
  # (Access Denied)` error.
4242
4258
  # @return [String]
@@ -4280,7 +4296,7 @@ module Aws::S3
4280
4296
  # @return [String]
4281
4297
  #
4282
4298
  # @!attribute [rw] expected_bucket_owner
4283
- # The account id of the expected bucket owner. If the bucket is owned
4299
+ # The account ID of the expected bucket owner. If the bucket is owned
4284
4300
  # by a different account, the request will fail with an HTTP `403
4285
4301
  # (Access Denied)` error.
4286
4302
  # @return [String]
@@ -4325,7 +4341,7 @@ module Aws::S3
4325
4341
  # @return [String]
4326
4342
  #
4327
4343
  # @!attribute [rw] expected_bucket_owner
4328
- # The account id of the expected bucket owner. If the bucket is owned
4344
+ # The account ID of the expected bucket owner. If the bucket is owned
4329
4345
  # by a different account, the request will fail with an HTTP `403
4330
4346
  # (Access Denied)` error.
4331
4347
  # @return [String]
@@ -4366,7 +4382,7 @@ module Aws::S3
4366
4382
  # @return [String]
4367
4383
  #
4368
4384
  # @!attribute [rw] expected_bucket_owner
4369
- # The account id of the expected bucket owner. If the bucket is owned
4385
+ # The account ID of the expected bucket owner. If the bucket is owned
4370
4386
  # by a different account, the request will fail with an HTTP `403
4371
4387
  # (Access Denied)` error.
4372
4388
  # @return [String]
@@ -4406,7 +4422,7 @@ module Aws::S3
4406
4422
  # @return [String]
4407
4423
  #
4408
4424
  # @!attribute [rw] expected_bucket_owner
4409
- # The account id of the expected bucket owner. If the bucket is owned
4425
+ # The account ID of the expected bucket owner. If the bucket is owned
4410
4426
  # by a different account, the request will fail with an HTTP `403
4411
4427
  # (Access Denied)` error.
4412
4428
  # @return [String]
@@ -4489,7 +4505,7 @@ module Aws::S3
4489
4505
  # @return [String]
4490
4506
  #
4491
4507
  # @!attribute [rw] expected_bucket_owner
4492
- # The account id of the expected bucket owner. If the bucket is owned
4508
+ # The account ID of the expected bucket owner. If the bucket is owned
4493
4509
  # by a different account, the request will fail with an HTTP `403
4494
4510
  # (Access Denied)` error.
4495
4511
  # @return [String]
@@ -4529,7 +4545,7 @@ module Aws::S3
4529
4545
  # @return [String]
4530
4546
  #
4531
4547
  # @!attribute [rw] expected_bucket_owner
4532
- # The account id of the expected bucket owner. If the bucket is owned
4548
+ # The account ID of the expected bucket owner. If the bucket is owned
4533
4549
  # by a different account, the request will fail with an HTTP `403
4534
4550
  # (Access Denied)` error.
4535
4551
  # @return [String]
@@ -4568,7 +4584,7 @@ module Aws::S3
4568
4584
  # @return [String]
4569
4585
  #
4570
4586
  # @!attribute [rw] expected_bucket_owner
4571
- # The account id of the expected bucket owner. If the bucket is owned
4587
+ # The account ID of the expected bucket owner. If the bucket is owned
4572
4588
  # by a different account, the request will fail with an HTTP `403
4573
4589
  # (Access Denied)` error.
4574
4590
  # @return [String]
@@ -4614,7 +4630,7 @@ module Aws::S3
4614
4630
  # @return [String]
4615
4631
  #
4616
4632
  # @!attribute [rw] expected_bucket_owner
4617
- # The account id of the expected bucket owner. If the bucket is owned
4633
+ # The account ID of the expected bucket owner. If the bucket is owned
4618
4634
  # by a different account, the request will fail with an HTTP `403
4619
4635
  # (Access Denied)` error.
4620
4636
  # @return [String]
@@ -4660,7 +4676,7 @@ module Aws::S3
4660
4676
  # @return [String]
4661
4677
  #
4662
4678
  # @!attribute [rw] expected_bucket_owner
4663
- # The account id of the expected bucket owner. If the bucket is owned
4679
+ # The account ID of the expected bucket owner. If the bucket is owned
4664
4680
  # by a different account, the request will fail with an HTTP `403
4665
4681
  # (Access Denied)` error.
4666
4682
  # @return [String]
@@ -4705,7 +4721,7 @@ module Aws::S3
4705
4721
  # @return [String]
4706
4722
  #
4707
4723
  # @!attribute [rw] expected_bucket_owner
4708
- # The account id of the expected bucket owner. If the bucket is owned
4724
+ # The account ID of the expected bucket owner. If the bucket is owned
4709
4725
  # by a different account, the request will fail with an HTTP `403
4710
4726
  # (Access Denied)` error.
4711
4727
  # @return [String]
@@ -4734,7 +4750,7 @@ module Aws::S3
4734
4750
  # @return [String]
4735
4751
  #
4736
4752
  # @!attribute [rw] expected_bucket_owner
4737
- # The account id of the expected bucket owner. If the bucket is owned
4753
+ # The account ID of the expected bucket owner. If the bucket is owned
4738
4754
  # by a different account, the request will fail with an HTTP `403
4739
4755
  # (Access Denied)` error.
4740
4756
  # @return [String]
@@ -4775,7 +4791,7 @@ module Aws::S3
4775
4791
  # @return [String]
4776
4792
  #
4777
4793
  # @!attribute [rw] expected_bucket_owner
4778
- # The account id of the expected bucket owner. If the bucket is owned
4794
+ # The account ID of the expected bucket owner. If the bucket is owned
4779
4795
  # by a different account, the request will fail with an HTTP `403
4780
4796
  # (Access Denied)` error.
4781
4797
  # @return [String]
@@ -4814,7 +4830,7 @@ module Aws::S3
4814
4830
  # @return [String]
4815
4831
  #
4816
4832
  # @!attribute [rw] expected_bucket_owner
4817
- # The account id of the expected bucket owner. If the bucket is owned
4833
+ # The account ID of the expected bucket owner. If the bucket is owned
4818
4834
  # by a different account, the request will fail with an HTTP `403
4819
4835
  # (Access Denied)` error.
4820
4836
  # @return [String]
@@ -4854,7 +4870,7 @@ module Aws::S3
4854
4870
  # @return [String]
4855
4871
  #
4856
4872
  # @!attribute [rw] expected_bucket_owner
4857
- # The account id of the expected bucket owner. If the bucket is owned
4873
+ # The account ID of the expected bucket owner. If the bucket is owned
4858
4874
  # by a different account, the request will fail with an HTTP `403
4859
4875
  # (Access Denied)` error.
4860
4876
  # @return [String]
@@ -4894,7 +4910,7 @@ module Aws::S3
4894
4910
  # @return [String]
4895
4911
  #
4896
4912
  # @!attribute [rw] expected_bucket_owner
4897
- # The account id of the expected bucket owner. If the bucket is owned
4913
+ # The account ID of the expected bucket owner. If the bucket is owned
4898
4914
  # by a different account, the request will fail with an HTTP `403
4899
4915
  # (Access Denied)` error.
4900
4916
  # @return [String]
@@ -4934,7 +4950,7 @@ module Aws::S3
4934
4950
  # @return [String]
4935
4951
  #
4936
4952
  # @!attribute [rw] expected_bucket_owner
4937
- # The account id of the expected bucket owner. If the bucket is owned
4953
+ # The account ID of the expected bucket owner. If the bucket is owned
4938
4954
  # by a different account, the request will fail with an HTTP `403
4939
4955
  # (Access Denied)` error.
4940
4956
  # @return [String]
@@ -4973,7 +4989,7 @@ module Aws::S3
4973
4989
  # @return [String]
4974
4990
  #
4975
4991
  # @!attribute [rw] expected_bucket_owner
4976
- # The account id of the expected bucket owner. If the bucket is owned
4992
+ # The account ID of the expected bucket owner. If the bucket is owned
4977
4993
  # by a different account, the request will fail with an HTTP `403
4978
4994
  # (Access Denied)` error.
4979
4995
  # @return [String]
@@ -5020,7 +5036,7 @@ module Aws::S3
5020
5036
  # @return [String]
5021
5037
  #
5022
5038
  # @!attribute [rw] expected_bucket_owner
5023
- # The account id of the expected bucket owner. If the bucket is owned
5039
+ # The account ID of the expected bucket owner. If the bucket is owned
5024
5040
  # by a different account, the request will fail with an HTTP `403
5025
5041
  # (Access Denied)` error.
5026
5042
  # @return [String]
@@ -5078,7 +5094,7 @@ module Aws::S3
5078
5094
  # @return [String]
5079
5095
  #
5080
5096
  # @!attribute [rw] expected_bucket_owner
5081
- # The account id of the expected bucket owner. If the bucket is owned
5097
+ # The account ID of the expected bucket owner. If the bucket is owned
5082
5098
  # by a different account, the request will fail with an HTTP `403
5083
5099
  # (Access Denied)` error.
5084
5100
  # @return [String]
@@ -5137,11 +5153,11 @@ module Aws::S3
5137
5153
  # When using this action with an access point through the AWS SDKs,
5138
5154
  # you provide the access point ARN in place of the bucket name. For
5139
5155
  # more information about access point ARNs, see [Using Access
5140
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5156
+ # Points][1] in the *Amazon S3 User Guide*.
5141
5157
  #
5142
5158
  #
5143
5159
  #
5144
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5160
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5145
5161
  # @return [String]
5146
5162
  #
5147
5163
  # @!attribute [rw] key
@@ -5165,7 +5181,7 @@ module Aws::S3
5165
5181
  # @return [String]
5166
5182
  #
5167
5183
  # @!attribute [rw] expected_bucket_owner
5168
- # The account id of the expected bucket owner. If the bucket is owned
5184
+ # The account ID of the expected bucket owner. If the bucket is owned
5169
5185
  # by a different account, the request will fail with an HTTP `403
5170
5186
  # (Access Denied)` error.
5171
5187
  # @return [String]
@@ -5216,11 +5232,11 @@ module Aws::S3
5216
5232
  # When using this action with an access point through the AWS SDKs,
5217
5233
  # you provide the access point ARN in place of the bucket name. For
5218
5234
  # more information about access point ARNs, see [Using Access
5219
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5235
+ # Points][1] in the *Amazon S3 User Guide*.
5220
5236
  #
5221
5237
  #
5222
5238
  #
5223
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5239
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5224
5240
  # @return [String]
5225
5241
  #
5226
5242
  # @!attribute [rw] key
@@ -5246,7 +5262,7 @@ module Aws::S3
5246
5262
  # @return [String]
5247
5263
  #
5248
5264
  # @!attribute [rw] expected_bucket_owner
5249
- # The account id of the expected bucket owner. If the bucket is owned
5265
+ # The account ID of the expected bucket owner. If the bucket is owned
5250
5266
  # by a different account, the request will fail with an HTTP `403
5251
5267
  # (Access Denied)` error.
5252
5268
  # @return [String]
@@ -5293,15 +5309,15 @@ module Aws::S3
5293
5309
  # When using this action with an access point through the AWS SDKs,
5294
5310
  # you provide the access point ARN in place of the bucket name. For
5295
5311
  # more information about access point ARNs, see [Using Access
5296
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5312
+ # Points][1] in the *Amazon S3 User Guide*.
5297
5313
  #
5298
5314
  #
5299
5315
  #
5300
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5316
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5301
5317
  # @return [String]
5302
5318
  #
5303
5319
  # @!attribute [rw] expected_bucket_owner
5304
- # The account id of the expected bucket owner. If the bucket is owned
5320
+ # The account ID of the expected bucket owner. If the bucket is owned
5305
5321
  # by a different account, the request will fail with an HTTP `403
5306
5322
  # (Access Denied)` error.
5307
5323
  # @return [String]
@@ -5553,7 +5569,7 @@ module Aws::S3
5553
5569
  # When using this action with an access point through the AWS SDKs,
5554
5570
  # you provide the access point ARN in place of the bucket name. For
5555
5571
  # more information about access point ARNs, see [Using Access
5556
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5572
+ # Points][1] in the *Amazon S3 User Guide*.
5557
5573
  #
5558
5574
  # When using this action with Amazon S3 on Outposts, you must direct
5559
5575
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -5562,12 +5578,12 @@ module Aws::S3
5562
5578
  # When using this action using S3 on Outposts through the AWS SDKs,
5563
5579
  # you provide the Outposts bucket ARN in place of the bucket name. For
5564
5580
  # more information about S3 on Outposts ARNs, see [Using S3 on
5565
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
5581
+ # Outposts][2] in the *Amazon S3 User Guide*.
5566
5582
  #
5567
5583
  #
5568
5584
  #
5569
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5570
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
5585
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5586
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
5571
5587
  # @return [String]
5572
5588
  #
5573
5589
  # @!attribute [rw] if_match
@@ -5676,7 +5692,7 @@ module Aws::S3
5676
5692
  # @return [Integer]
5677
5693
  #
5678
5694
  # @!attribute [rw] expected_bucket_owner
5679
- # The account id of the expected bucket owner. If the bucket is owned
5695
+ # The account ID of the expected bucket owner. If the bucket is owned
5680
5696
  # by a different account, the request will fail with an HTTP `403
5681
5697
  # (Access Denied)` error.
5682
5698
  # @return [String]
@@ -5742,11 +5758,11 @@ module Aws::S3
5742
5758
  # When using this action with an access point through the AWS SDKs,
5743
5759
  # you provide the access point ARN in place of the bucket name. For
5744
5760
  # more information about access point ARNs, see [Using Access
5745
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5761
+ # Points][1] in the *Amazon S3 User Guide*.
5746
5762
  #
5747
5763
  #
5748
5764
  #
5749
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5765
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5750
5766
  # @return [String]
5751
5767
  #
5752
5768
  # @!attribute [rw] key
@@ -5772,7 +5788,7 @@ module Aws::S3
5772
5788
  # @return [String]
5773
5789
  #
5774
5790
  # @!attribute [rw] expected_bucket_owner
5775
- # The account id of the expected bucket owner. If the bucket is owned
5791
+ # The account ID of the expected bucket owner. If the bucket is owned
5776
5792
  # by a different account, the request will fail with an HTTP `403
5777
5793
  # (Access Denied)` error.
5778
5794
  # @return [String]
@@ -5829,7 +5845,7 @@ module Aws::S3
5829
5845
  # When using this action with an access point through the AWS SDKs,
5830
5846
  # you provide the access point ARN in place of the bucket name. For
5831
5847
  # more information about access point ARNs, see [Using Access
5832
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
5848
+ # Points][1] in the *Amazon S3 User Guide*.
5833
5849
  #
5834
5850
  # When using this action with Amazon S3 on Outposts, you must direct
5835
5851
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -5838,12 +5854,12 @@ module Aws::S3
5838
5854
  # When using this action using S3 on Outposts through the AWS SDKs,
5839
5855
  # you provide the Outposts bucket ARN in place of the bucket name. For
5840
5856
  # more information about S3 on Outposts ARNs, see [Using S3 on
5841
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
5857
+ # Outposts][2] in the *Amazon S3 User Guide*.
5842
5858
  #
5843
5859
  #
5844
5860
  #
5845
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
5846
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
5861
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5862
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
5847
5863
  # @return [String]
5848
5864
  #
5849
5865
  # @!attribute [rw] key
@@ -5856,7 +5872,7 @@ module Aws::S3
5856
5872
  # @return [String]
5857
5873
  #
5858
5874
  # @!attribute [rw] expected_bucket_owner
5859
- # The account id of the expected bucket owner. If the bucket is owned
5875
+ # The account ID of the expected bucket owner. If the bucket is owned
5860
5876
  # by a different account, the request will fail with an HTTP `403
5861
5877
  # (Access Denied)` error.
5862
5878
  # @return [String]
@@ -5935,7 +5951,7 @@ module Aws::S3
5935
5951
  # @return [String]
5936
5952
  #
5937
5953
  # @!attribute [rw] expected_bucket_owner
5938
- # The account id of the expected bucket owner. If the bucket is owned
5954
+ # The account ID of the expected bucket owner. If the bucket is owned
5939
5955
  # by a different account, the request will fail with an HTTP `403
5940
5956
  # (Access Denied)` error.
5941
5957
  # @return [String]
@@ -5978,7 +5994,7 @@ module Aws::S3
5978
5994
  # @return [String]
5979
5995
  #
5980
5996
  # @!attribute [rw] expected_bucket_owner
5981
- # The account id of the expected bucket owner. If the bucket is owned
5997
+ # The account ID of the expected bucket owner. If the bucket is owned
5982
5998
  # by a different account, the request will fail with an HTTP `403
5983
5999
  # (Access Denied)` error.
5984
6000
  # @return [String]
@@ -6137,7 +6153,7 @@ module Aws::S3
6137
6153
  # When using this action with an access point through the AWS SDKs,
6138
6154
  # you provide the access point ARN in place of the bucket name. For
6139
6155
  # more information about access point ARNs, see [Using Access
6140
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
6156
+ # Points][1] in the *Amazon S3 User Guide*.
6141
6157
  #
6142
6158
  # When using this action with Amazon S3 on Outposts, you must direct
6143
6159
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -6146,16 +6162,16 @@ module Aws::S3
6146
6162
  # When using this action using S3 on Outposts through the AWS SDKs,
6147
6163
  # you provide the Outposts bucket ARN in place of the bucket name. For
6148
6164
  # more information about S3 on Outposts ARNs, see [Using S3 on
6149
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
6165
+ # Outposts][2] in the *Amazon S3 User Guide*.
6150
6166
  #
6151
6167
  #
6152
6168
  #
6153
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
6154
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
6169
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
6170
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
6155
6171
  # @return [String]
6156
6172
  #
6157
6173
  # @!attribute [rw] expected_bucket_owner
6158
- # The account id of the expected bucket owner. If the bucket is owned
6174
+ # The account ID of the expected bucket owner. If the bucket is owned
6159
6175
  # by a different account, the request will fail with an HTTP `403
6160
6176
  # (Access Denied)` error.
6161
6177
  # @return [String]
@@ -6195,7 +6211,7 @@ module Aws::S3
6195
6211
  # If an archive copy is already restored, the header value indicates
6196
6212
  # when Amazon S3 is scheduled to delete the object copy. For example:
6197
6213
  #
6198
- # `x-amz-restore: ongoing-request="false", expiry-date="Fri, 23 Dec
6214
+ # `x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec
6199
6215
  # 2012 00:00:00 GMT"`
6200
6216
  #
6201
6217
  # If the object restoration is in progress, the header returns the
@@ -6473,7 +6489,7 @@ module Aws::S3
6473
6489
  # When using this action with an access point through the AWS SDKs,
6474
6490
  # you provide the access point ARN in place of the bucket name. For
6475
6491
  # more information about access point ARNs, see [Using Access
6476
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
6492
+ # Points][1] in the *Amazon S3 User Guide*.
6477
6493
  #
6478
6494
  # When using this action with Amazon S3 on Outposts, you must direct
6479
6495
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -6482,12 +6498,12 @@ module Aws::S3
6482
6498
  # When using this action using S3 on Outposts through the AWS SDKs,
6483
6499
  # you provide the Outposts bucket ARN in place of the bucket name. For
6484
6500
  # more information about S3 on Outposts ARNs, see [Using S3 on
6485
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
6501
+ # Outposts][2] in the *Amazon S3 User Guide*.
6486
6502
  #
6487
6503
  #
6488
6504
  #
6489
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
6490
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
6505
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
6506
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
6491
6507
  # @return [String]
6492
6508
  #
6493
6509
  # @!attribute [rw] if_match
@@ -6572,7 +6588,7 @@ module Aws::S3
6572
6588
  # @return [Integer]
6573
6589
  #
6574
6590
  # @!attribute [rw] expected_bucket_owner
6575
- # The account id of the expected bucket owner. If the bucket is owned
6591
+ # The account ID of the expected bucket owner. If the bucket is owned
6576
6592
  # by a different account, the request will fail with an HTTP `403
6577
6593
  # (Access Denied)` error.
6578
6594
  # @return [String]
@@ -7219,7 +7235,7 @@ module Aws::S3
7219
7235
  # @!attribute [rw] events
7220
7236
  # The Amazon S3 bucket event for which to invoke the AWS Lambda
7221
7237
  # function. For more information, see [Supported Event Types][1] in
7222
- # the *Amazon Simple Storage Service Developer Guide*.
7238
+ # the *Amazon S3 User Guide*.
7223
7239
  #
7224
7240
  #
7225
7241
  #
@@ -7229,7 +7245,7 @@ module Aws::S3
7229
7245
  # @!attribute [rw] filter
7230
7246
  # Specifies object key name filtering rules. For information about key
7231
7247
  # name filtering, see [Configuring Event Notifications][1] in the
7232
- # *Amazon Simple Storage Service Developer Guide*.
7248
+ # *Amazon S3 User Guide*.
7233
7249
  #
7234
7250
  #
7235
7251
  #
@@ -7395,7 +7411,7 @@ module Aws::S3
7395
7411
  #
7396
7412
  # @!attribute [rw] prefix
7397
7413
  # Prefix identifying one or more objects to which the rule applies.
7398
- # This is No longer used; use `Filter` instead.
7414
+ # This is no longer used; use `Filter` instead.
7399
7415
  #
7400
7416
  # Replacement must be made for object keys containing special
7401
7417
  # characters (such as carriage returns) when using XML requests. For
@@ -7409,7 +7425,8 @@ module Aws::S3
7409
7425
  # @!attribute [rw] filter
7410
7426
  # The `Filter` is used to identify objects that a Lifecycle Rule
7411
7427
  # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
7412
- # `And` specified.
7428
+ # `And` specified. `Filter` is required if the `LifecycleRule` does
7429
+ # not containt a `Prefix` element.
7413
7430
  # @return [Types::LifecycleRuleFilter]
7414
7431
  #
7415
7432
  # @!attribute [rw] status
@@ -7445,7 +7462,7 @@ module Aws::S3
7445
7462
  # upload that Amazon S3 will wait before permanently removing all
7446
7463
  # parts of the upload. For more information, see [ Aborting Incomplete
7447
7464
  # Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
7448
- # Simple Storage Service Developer Guide*.
7465
+ # S3 User Guide*.
7449
7466
  #
7450
7467
  #
7451
7468
  #
@@ -7615,7 +7632,7 @@ module Aws::S3
7615
7632
  # @return [String]
7616
7633
  #
7617
7634
  # @!attribute [rw] expected_bucket_owner
7618
- # The account id of the expected bucket owner. If the bucket is owned
7635
+ # The account ID of the expected bucket owner. If the bucket is owned
7619
7636
  # by a different account, the request will fail with an HTTP `403
7620
7637
  # (Access Denied)` error.
7621
7638
  # @return [String]
@@ -7746,7 +7763,7 @@ module Aws::S3
7746
7763
  # @return [String]
7747
7764
  #
7748
7765
  # @!attribute [rw] expected_bucket_owner
7749
- # The account id of the expected bucket owner. If the bucket is owned
7766
+ # The account ID of the expected bucket owner. If the bucket is owned
7750
7767
  # by a different account, the request will fail with an HTTP `403
7751
7768
  # (Access Denied)` error.
7752
7769
  # @return [String]
@@ -7818,7 +7835,7 @@ module Aws::S3
7818
7835
  # @return [String]
7819
7836
  #
7820
7837
  # @!attribute [rw] expected_bucket_owner
7821
- # The account id of the expected bucket owner. If the bucket is owned
7838
+ # The account ID of the expected bucket owner. If the bucket is owned
7822
7839
  # by a different account, the request will fail with an HTTP `403
7823
7840
  # (Access Denied)` error.
7824
7841
  # @return [String]
@@ -7964,7 +7981,7 @@ module Aws::S3
7964
7981
  # When using this action with an access point through the AWS SDKs,
7965
7982
  # you provide the access point ARN in place of the bucket name. For
7966
7983
  # more information about access point ARNs, see [Using Access
7967
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
7984
+ # Points][1] in the *Amazon S3 User Guide*.
7968
7985
  #
7969
7986
  # When using this action with Amazon S3 on Outposts, you must direct
7970
7987
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -7973,12 +7990,12 @@ module Aws::S3
7973
7990
  # When using this action using S3 on Outposts through the AWS SDKs,
7974
7991
  # you provide the Outposts bucket ARN in place of the bucket name. For
7975
7992
  # more information about S3 on Outposts ARNs, see [Using S3 on
7976
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
7993
+ # Outposts][2] in the *Amazon S3 User Guide*.
7977
7994
  #
7978
7995
  #
7979
7996
  #
7980
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
7981
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
7997
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
7998
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
7982
7999
  # @return [String]
7983
8000
  #
7984
8001
  # @!attribute [rw] delimiter
@@ -8039,7 +8056,7 @@ module Aws::S3
8039
8056
  # @return [String]
8040
8057
  #
8041
8058
  # @!attribute [rw] expected_bucket_owner
8042
- # The account id of the expected bucket owner. If the bucket is owned
8059
+ # The account ID of the expected bucket owner. If the bucket is owned
8043
8060
  # by a different account, the request will fail with an HTTP `403
8044
8061
  # (Access Denied)` error.
8045
8062
  # @return [String]
@@ -8219,7 +8236,7 @@ module Aws::S3
8219
8236
  # @return [String]
8220
8237
  #
8221
8238
  # @!attribute [rw] expected_bucket_owner
8222
- # The account id of the expected bucket owner. If the bucket is owned
8239
+ # The account ID of the expected bucket owner. If the bucket is owned
8223
8240
  # by a different account, the request will fail with an HTTP `403
8224
8241
  # (Access Denied)` error.
8225
8242
  # @return [String]
@@ -8349,7 +8366,7 @@ module Aws::S3
8349
8366
  # When using this action with an access point through the AWS SDKs,
8350
8367
  # you provide the access point ARN in place of the bucket name. For
8351
8368
  # more information about access point ARNs, see [Using Access
8352
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8369
+ # Points][1] in the *Amazon S3 User Guide*.
8353
8370
  #
8354
8371
  # When using this action with Amazon S3 on Outposts, you must direct
8355
8372
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -8358,12 +8375,12 @@ module Aws::S3
8358
8375
  # When using this action using S3 on Outposts through the AWS SDKs,
8359
8376
  # you provide the Outposts bucket ARN in place of the bucket name. For
8360
8377
  # more information about S3 on Outposts ARNs, see [Using S3 on
8361
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8378
+ # Outposts][2] in the *Amazon S3 User Guide*.
8362
8379
  #
8363
8380
  #
8364
8381
  #
8365
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8366
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8382
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8383
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8367
8384
  # @return [String]
8368
8385
  #
8369
8386
  # @!attribute [rw] delimiter
@@ -8400,7 +8417,7 @@ module Aws::S3
8400
8417
  # @return [String]
8401
8418
  #
8402
8419
  # @!attribute [rw] expected_bucket_owner
8403
- # The account id of the expected bucket owner. If the bucket is owned
8420
+ # The account ID of the expected bucket owner. If the bucket is owned
8404
8421
  # by a different account, the request will fail with an HTTP `403
8405
8422
  # (Access Denied)` error.
8406
8423
  # @return [String]
@@ -8440,7 +8457,7 @@ module Aws::S3
8440
8457
  # When using this action with an access point through the AWS SDKs,
8441
8458
  # you provide the access point ARN in place of the bucket name. For
8442
8459
  # more information about access point ARNs, see [Using Access
8443
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8460
+ # Points][1] in the *Amazon S3 User Guide*.
8444
8461
  #
8445
8462
  # When using this action with Amazon S3 on Outposts, you must direct
8446
8463
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -8449,12 +8466,12 @@ module Aws::S3
8449
8466
  # When using this action using S3 on Outposts through the AWS SDKs,
8450
8467
  # you provide the Outposts bucket ARN in place of the bucket name. For
8451
8468
  # more information about S3 on Outposts ARNs, see [Using S3 on
8452
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8469
+ # Outposts][2] in the *Amazon S3 User Guide*.
8453
8470
  #
8454
8471
  #
8455
8472
  #
8456
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8457
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8473
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8474
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8458
8475
  # @return [String]
8459
8476
  #
8460
8477
  # @!attribute [rw] prefix
@@ -8575,7 +8592,7 @@ module Aws::S3
8575
8592
  # When using this action with an access point through the AWS SDKs,
8576
8593
  # you provide the access point ARN in place of the bucket name. For
8577
8594
  # more information about access point ARNs, see [Using Access
8578
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8595
+ # Points][1] in the *Amazon S3 User Guide*.
8579
8596
  #
8580
8597
  # When using this action with Amazon S3 on Outposts, you must direct
8581
8598
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -8584,12 +8601,12 @@ module Aws::S3
8584
8601
  # When using this action using S3 on Outposts through the AWS SDKs,
8585
8602
  # you provide the Outposts bucket ARN in place of the bucket name. For
8586
8603
  # more information about S3 on Outposts ARNs, see [Using S3 on
8587
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8604
+ # Outposts][2] in the *Amazon S3 User Guide*.
8588
8605
  #
8589
8606
  #
8590
8607
  #
8591
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8592
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8608
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8609
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8593
8610
  # @return [String]
8594
8611
  #
8595
8612
  # @!attribute [rw] delimiter
@@ -8636,7 +8653,7 @@ module Aws::S3
8636
8653
  # @return [String]
8637
8654
  #
8638
8655
  # @!attribute [rw] expected_bucket_owner
8639
- # The account id of the expected bucket owner. If the bucket is owned
8656
+ # The account ID of the expected bucket owner. If the bucket is owned
8640
8657
  # by a different account, the request will fail with an HTTP `403
8641
8658
  # (Access Denied)` error.
8642
8659
  # @return [String]
@@ -8790,7 +8807,7 @@ module Aws::S3
8790
8807
  # When using this action with an access point through the AWS SDKs,
8791
8808
  # you provide the access point ARN in place of the bucket name. For
8792
8809
  # more information about access point ARNs, see [Using Access
8793
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
8810
+ # Points][1] in the *Amazon S3 User Guide*.
8794
8811
  #
8795
8812
  # When using this action with Amazon S3 on Outposts, you must direct
8796
8813
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -8799,12 +8816,12 @@ module Aws::S3
8799
8816
  # When using this action using S3 on Outposts through the AWS SDKs,
8800
8817
  # you provide the Outposts bucket ARN in place of the bucket name. For
8801
8818
  # more information about S3 on Outposts ARNs, see [Using S3 on
8802
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
8819
+ # Outposts][2] in the *Amazon S3 User Guide*.
8803
8820
  #
8804
8821
  #
8805
8822
  #
8806
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
8807
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
8823
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
8824
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
8808
8825
  # @return [String]
8809
8826
  #
8810
8827
  # @!attribute [rw] key
@@ -8838,7 +8855,7 @@ module Aws::S3
8838
8855
  # @return [String]
8839
8856
  #
8840
8857
  # @!attribute [rw] expected_bucket_owner
8841
- # The account id of the expected bucket owner. If the bucket is owned
8858
+ # The account ID of the expected bucket owner. If the bucket is owned
8842
8859
  # by a different account, the request will fail with an HTTP `403
8843
8860
  # (Access Denied)` error.
8844
8861
  # @return [String]
@@ -9224,8 +9241,7 @@ module Aws::S3
9224
9241
  # Specifies the number of days an object is noncurrent before Amazon
9225
9242
  # S3 can perform the associated action. For information about the
9226
9243
  # noncurrent days calculations, see [How Amazon S3 Calculates How Long
9227
- # an Object Has Been Noncurrent][1] in the *Amazon Simple Storage
9228
- # Service Developer Guide*.
9244
+ # an Object Has Been Noncurrent][1] in the *Amazon S3 User Guide*.
9229
9245
  #
9230
9246
  #
9231
9247
  #
@@ -9385,7 +9401,7 @@ module Aws::S3
9385
9401
 
9386
9402
  # Specifies object key name filtering rules. For information about key
9387
9403
  # name filtering, see [Configuring Event Notifications][1] in the
9388
- # *Amazon Simple Storage Service Developer Guide*.
9404
+ # *Amazon S3 User Guide*.
9389
9405
  #
9390
9406
  #
9391
9407
  #
@@ -9534,11 +9550,16 @@ module Aws::S3
9534
9550
  #
9535
9551
  # @!attribute [rw] object_lock_enabled
9536
9552
  # Indicates whether this bucket has an Object Lock configuration
9537
- # enabled.
9553
+ # enabled. Enable `ObjectLockEnabled` when you apply
9554
+ # `ObjectLockConfiguration` to a bucket.
9538
9555
  # @return [String]
9539
9556
  #
9540
9557
  # @!attribute [rw] rule
9541
- # The Object Lock rule in place for the specified object.
9558
+ # Specifies the Object Lock rule for the specified object. Enable the
9559
+ # this rule when you apply `ObjectLockConfiguration` to a bucket.
9560
+ # Bucket settings require both a mode and a period. The period can be
9561
+ # either `Days` or `Years` but you must select one. You cannot specify
9562
+ # `Days` and `Years` at the same time.
9542
9563
  # @return [Types::ObjectLockRule]
9543
9564
  #
9544
9565
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration AWS API Documentation
@@ -9612,8 +9633,11 @@ module Aws::S3
9612
9633
  # }
9613
9634
  #
9614
9635
  # @!attribute [rw] default_retention
9615
- # The default retention period that you want to apply to new objects
9616
- # placed in the specified bucket.
9636
+ # The default Object Lock retention mode and period that you want to
9637
+ # apply to new objects placed in the specified bucket. Bucket settings
9638
+ # require both a mode and a period. The period can be either `Days` or
9639
+ # `Years` but you must select one. You cannot specify `Days` and
9640
+ # `Years` at the same time.
9617
9641
  # @return [Types::DefaultRetention]
9618
9642
  #
9619
9643
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule AWS API Documentation
@@ -9952,7 +9976,7 @@ module Aws::S3
9952
9976
  # Amazon S3 bucket. You can enable the configuration options in any
9953
9977
  # combination. For more information about when Amazon S3 considers a
9954
9978
  # bucket or object public, see [The Meaning of "Public"][1] in the
9955
- # *Amazon Simple Storage Service User Guide*.
9979
+ # *Amazon S3 User Guide*.
9956
9980
  #
9957
9981
  #
9958
9982
  #
@@ -10046,7 +10070,7 @@ module Aws::S3
10046
10070
  # @return [Types::AccelerateConfiguration]
10047
10071
  #
10048
10072
  # @!attribute [rw] expected_bucket_owner
10049
- # The account id of the expected bucket owner. If the bucket is owned
10073
+ # The account ID of the expected bucket owner. If the bucket is owned
10050
10074
  # by a different account, the request will fail with an HTTP `403
10051
10075
  # (Access Denied)` error.
10052
10076
  # @return [String]
@@ -10144,7 +10168,7 @@ module Aws::S3
10144
10168
  # @return [String]
10145
10169
  #
10146
10170
  # @!attribute [rw] expected_bucket_owner
10147
- # The account id of the expected bucket owner. If the bucket is owned
10171
+ # The account ID of the expected bucket owner. If the bucket is owned
10148
10172
  # by a different account, the request will fail with an HTTP `403
10149
10173
  # (Access Denied)` error.
10150
10174
  # @return [String]
@@ -10221,7 +10245,7 @@ module Aws::S3
10221
10245
  # @return [Types::AnalyticsConfiguration]
10222
10246
  #
10223
10247
  # @!attribute [rw] expected_bucket_owner
10224
- # The account id of the expected bucket owner. If the bucket is owned
10248
+ # The account ID of the expected bucket owner. If the bucket is owned
10225
10249
  # by a different account, the request will fail with an HTTP `403
10226
10250
  # (Access Denied)` error.
10227
10251
  # @return [String]
@@ -10245,6 +10269,7 @@ module Aws::S3
10245
10269
  # cors_configuration: { # required
10246
10270
  # cors_rules: [ # required
10247
10271
  # {
10272
+ # id: "ID",
10248
10273
  # allowed_headers: ["AllowedHeader"],
10249
10274
  # allowed_methods: ["AllowedMethod"], # required
10250
10275
  # allowed_origins: ["AllowedOrigin"], # required
@@ -10264,8 +10289,7 @@ module Aws::S3
10264
10289
  # @!attribute [rw] cors_configuration
10265
10290
  # Describes the cross-origin access configuration for objects in an
10266
10291
  # Amazon S3 bucket. For more information, see [Enabling Cross-Origin
10267
- # Resource Sharing][1] in the *Amazon Simple Storage Service User
10268
- # Guide*.
10292
+ # Resource Sharing][1] in the *Amazon S3 User Guide*.
10269
10293
  #
10270
10294
  #
10271
10295
  #
@@ -10287,7 +10311,7 @@ module Aws::S3
10287
10311
  # @return [String]
10288
10312
  #
10289
10313
  # @!attribute [rw] expected_bucket_owner
10290
- # The account id of the expected bucket owner. If the bucket is owned
10314
+ # The account ID of the expected bucket owner. If the bucket is owned
10291
10315
  # by a different account, the request will fail with an HTTP `403
10292
10316
  # (Access Denied)` error.
10293
10317
  # @return [String]
@@ -10328,8 +10352,7 @@ module Aws::S3
10328
10352
  # encryption with Amazon S3-managed keys (SSE-S3) or customer master
10329
10353
  # keys stored in AWS KMS (SSE-KMS). For information about the Amazon
10330
10354
  # S3 default encryption feature, see [Amazon S3 Default Bucket
10331
- # Encryption][1] in the *Amazon Simple Storage Service Developer
10332
- # Guide*.
10355
+ # Encryption][1] in the *Amazon S3 User Guide*.
10333
10356
  #
10334
10357
  #
10335
10358
  #
@@ -10349,7 +10372,7 @@ module Aws::S3
10349
10372
  # @return [Types::ServerSideEncryptionConfiguration]
10350
10373
  #
10351
10374
  # @!attribute [rw] expected_bucket_owner
10352
- # The account id of the expected bucket owner. If the bucket is owned
10375
+ # The account ID of the expected bucket owner. If the bucket is owned
10353
10376
  # by a different account, the request will fail with an HTTP `403
10354
10377
  # (Access Denied)` error.
10355
10378
  # @return [String]
@@ -10472,7 +10495,7 @@ module Aws::S3
10472
10495
  # @return [Types::InventoryConfiguration]
10473
10496
  #
10474
10497
  # @!attribute [rw] expected_bucket_owner
10475
- # The account id of the expected bucket owner. If the bucket is owned
10498
+ # The account ID of the expected bucket owner. If the bucket is owned
10476
10499
  # by a different account, the request will fail with an HTTP `403
10477
10500
  # (Access Denied)` error.
10478
10501
  # @return [String]
@@ -10554,7 +10577,7 @@ module Aws::S3
10554
10577
  # @return [Types::BucketLifecycleConfiguration]
10555
10578
  #
10556
10579
  # @!attribute [rw] expected_bucket_owner
10557
- # The account id of the expected bucket owner. If the bucket is owned
10580
+ # The account ID of the expected bucket owner. If the bucket is owned
10558
10581
  # by a different account, the request will fail with an HTTP `403
10559
10582
  # (Access Denied)` error.
10560
10583
  # @return [String]
@@ -10619,7 +10642,7 @@ module Aws::S3
10619
10642
  # @return [Types::LifecycleConfiguration]
10620
10643
  #
10621
10644
  # @!attribute [rw] expected_bucket_owner
10622
- # The account id of the expected bucket owner. If the bucket is owned
10645
+ # The account ID of the expected bucket owner. If the bucket is owned
10623
10646
  # by a different account, the request will fail with an HTTP `403
10624
10647
  # (Access Denied)` error.
10625
10648
  # @return [String]
@@ -10678,7 +10701,7 @@ module Aws::S3
10678
10701
  # @return [String]
10679
10702
  #
10680
10703
  # @!attribute [rw] expected_bucket_owner
10681
- # The account id of the expected bucket owner. If the bucket is owned
10704
+ # The account ID of the expected bucket owner. If the bucket is owned
10682
10705
  # by a different account, the request will fail with an HTTP `403
10683
10706
  # (Access Denied)` error.
10684
10707
  # @return [String]
@@ -10735,7 +10758,7 @@ module Aws::S3
10735
10758
  # @return [Types::MetricsConfiguration]
10736
10759
  #
10737
10760
  # @!attribute [rw] expected_bucket_owner
10738
- # The account id of the expected bucket owner. If the bucket is owned
10761
+ # The account ID of the expected bucket owner. If the bucket is owned
10739
10762
  # by a different account, the request will fail with an HTTP `403
10740
10763
  # (Access Denied)` error.
10741
10764
  # @return [String]
@@ -10823,7 +10846,7 @@ module Aws::S3
10823
10846
  # @return [Types::NotificationConfiguration]
10824
10847
  #
10825
10848
  # @!attribute [rw] expected_bucket_owner
10826
- # The account id of the expected bucket owner. If the bucket is owned
10849
+ # The account ID of the expected bucket owner. If the bucket is owned
10827
10850
  # by a different account, the request will fail with an HTTP `403
10828
10851
  # (Access Denied)` error.
10829
10852
  # @return [String]
@@ -10884,7 +10907,7 @@ module Aws::S3
10884
10907
  # @return [Types::NotificationConfigurationDeprecated]
10885
10908
  #
10886
10909
  # @!attribute [rw] expected_bucket_owner
10887
- # The account id of the expected bucket owner. If the bucket is owned
10910
+ # The account ID of the expected bucket owner. If the bucket is owned
10888
10911
  # by a different account, the request will fail with an HTTP `403
10889
10912
  # (Access Denied)` error.
10890
10913
  # @return [String]
@@ -10929,7 +10952,7 @@ module Aws::S3
10929
10952
  # @return [String]
10930
10953
  #
10931
10954
  # @!attribute [rw] expected_bucket_owner
10932
- # The account id of the expected bucket owner. If the bucket is owned
10955
+ # The account ID of the expected bucket owner. If the bucket is owned
10933
10956
  # by a different account, the request will fail with an HTTP `403
10934
10957
  # (Access Denied)` error.
10935
10958
  # @return [String]
@@ -10982,7 +11005,7 @@ module Aws::S3
10982
11005
  # @return [String]
10983
11006
  #
10984
11007
  # @!attribute [rw] expected_bucket_owner
10985
- # The account id of the expected bucket owner. If the bucket is owned
11008
+ # The account ID of the expected bucket owner. If the bucket is owned
10986
11009
  # by a different account, the request will fail with an HTTP `403
10987
11010
  # (Access Denied)` error.
10988
11011
  # @return [String]
@@ -11101,7 +11124,7 @@ module Aws::S3
11101
11124
  # @return [String]
11102
11125
  #
11103
11126
  # @!attribute [rw] expected_bucket_owner
11104
- # The account id of the expected bucket owner. If the bucket is owned
11127
+ # The account ID of the expected bucket owner. If the bucket is owned
11105
11128
  # by a different account, the request will fail with an HTTP `403
11106
11129
  # (Access Denied)` error.
11107
11130
  # @return [String]
@@ -11153,7 +11176,7 @@ module Aws::S3
11153
11176
  # @return [Types::RequestPaymentConfiguration]
11154
11177
  #
11155
11178
  # @!attribute [rw] expected_bucket_owner
11156
- # The account id of the expected bucket owner. If the bucket is owned
11179
+ # The account ID of the expected bucket owner. If the bucket is owned
11157
11180
  # by a different account, the request will fail with an HTTP `403
11158
11181
  # (Access Denied)` error.
11159
11182
  # @return [String]
@@ -11209,7 +11232,7 @@ module Aws::S3
11209
11232
  # @return [Types::Tagging]
11210
11233
  #
11211
11234
  # @!attribute [rw] expected_bucket_owner
11212
- # The account id of the expected bucket owner. If the bucket is owned
11235
+ # The account ID of the expected bucket owner. If the bucket is owned
11213
11236
  # by a different account, the request will fail with an HTTP `403
11214
11237
  # (Access Denied)` error.
11215
11238
  # @return [String]
@@ -11268,7 +11291,7 @@ module Aws::S3
11268
11291
  # @return [Types::VersioningConfiguration]
11269
11292
  #
11270
11293
  # @!attribute [rw] expected_bucket_owner
11271
- # The account id of the expected bucket owner. If the bucket is owned
11294
+ # The account ID of the expected bucket owner. If the bucket is owned
11272
11295
  # by a different account, the request will fail with an HTTP `403
11273
11296
  # (Access Denied)` error.
11274
11297
  # @return [String]
@@ -11344,7 +11367,7 @@ module Aws::S3
11344
11367
  # @return [Types::WebsiteConfiguration]
11345
11368
  #
11346
11369
  # @!attribute [rw] expected_bucket_owner
11347
- # The account id of the expected bucket owner. If the bucket is owned
11370
+ # The account ID of the expected bucket owner. If the bucket is owned
11348
11371
  # by a different account, the request will fail with an HTTP `403
11349
11372
  # (Access Denied)` error.
11350
11373
  # @return [String]
@@ -11434,11 +11457,11 @@ module Aws::S3
11434
11457
  # When using this action with an access point through the AWS SDKs,
11435
11458
  # you provide the access point ARN in place of the bucket name. For
11436
11459
  # more information about access point ARNs, see [Using Access
11437
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11460
+ # Points][1] in the *Amazon S3 User Guide*.
11438
11461
  #
11439
11462
  #
11440
11463
  #
11441
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11464
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11442
11465
  # @return [String]
11443
11466
  #
11444
11467
  # @!attribute [rw] content_md5
@@ -11495,7 +11518,7 @@ module Aws::S3
11495
11518
  # When using this action with an access point through the AWS SDKs,
11496
11519
  # you provide the access point ARN in place of the bucket name. For
11497
11520
  # more information about access point ARNs, see [Using Access
11498
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11521
+ # Points][1] in the *Amazon S3 User Guide*.
11499
11522
  #
11500
11523
  # When using this action with Amazon S3 on Outposts, you must direct
11501
11524
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -11504,12 +11527,12 @@ module Aws::S3
11504
11527
  # When using this action using S3 on Outposts through the AWS SDKs,
11505
11528
  # you provide the Outposts bucket ARN in place of the bucket name. For
11506
11529
  # more information about S3 on Outposts ARNs, see [Using S3 on
11507
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
11530
+ # Outposts][2] in the *Amazon S3 User Guide*.
11508
11531
  #
11509
11532
  #
11510
11533
  #
11511
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11512
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
11534
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11535
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
11513
11536
  # @return [String]
11514
11537
  #
11515
11538
  # @!attribute [rw] request_payer
@@ -11529,7 +11552,7 @@ module Aws::S3
11529
11552
  # @return [String]
11530
11553
  #
11531
11554
  # @!attribute [rw] expected_bucket_owner
11532
- # The account id of the expected bucket owner. If the bucket is owned
11555
+ # The account ID of the expected bucket owner. If the bucket is owned
11533
11556
  # by a different account, the request will fail with an HTTP `403
11534
11557
  # (Access Denied)` error.
11535
11558
  # @return [String]
@@ -11593,11 +11616,11 @@ module Aws::S3
11593
11616
  # When using this action with an access point through the AWS SDKs,
11594
11617
  # you provide the access point ARN in place of the bucket name. For
11595
11618
  # more information about access point ARNs, see [Using Access
11596
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11619
+ # Points][1] in the *Amazon S3 User Guide*.
11597
11620
  #
11598
11621
  #
11599
11622
  #
11600
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11623
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11601
11624
  # @return [String]
11602
11625
  #
11603
11626
  # @!attribute [rw] key
@@ -11633,7 +11656,7 @@ module Aws::S3
11633
11656
  # @return [String]
11634
11657
  #
11635
11658
  # @!attribute [rw] expected_bucket_owner
11636
- # The account id of the expected bucket owner. If the bucket is owned
11659
+ # The account ID of the expected bucket owner. If the bucket is owned
11637
11660
  # by a different account, the request will fail with an HTTP `403
11638
11661
  # (Access Denied)` error.
11639
11662
  # @return [String]
@@ -11720,7 +11743,7 @@ module Aws::S3
11720
11743
  # @return [String]
11721
11744
  #
11722
11745
  # @!attribute [rw] expected_bucket_owner
11723
- # The account id of the expected bucket owner. If the bucket is owned
11746
+ # The account ID of the expected bucket owner. If the bucket is owned
11724
11747
  # by a different account, the request will fail with an HTTP `403
11725
11748
  # (Access Denied)` error.
11726
11749
  # @return [String]
@@ -11884,7 +11907,7 @@ module Aws::S3
11884
11907
  # When using this action with an access point through the AWS SDKs,
11885
11908
  # you provide the access point ARN in place of the bucket name. For
11886
11909
  # more information about access point ARNs, see [Using Access
11887
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
11910
+ # Points][1] in the *Amazon S3 User Guide*.
11888
11911
  #
11889
11912
  # When using this action with Amazon S3 on Outposts, you must direct
11890
11913
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -11893,12 +11916,12 @@ module Aws::S3
11893
11916
  # When using this action using S3 on Outposts through the AWS SDKs,
11894
11917
  # you provide the Outposts bucket ARN in place of the bucket name. For
11895
11918
  # more information about S3 on Outposts ARNs, see [Using S3 on
11896
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
11919
+ # Outposts][2] in the *Amazon S3 User Guide*.
11897
11920
  #
11898
11921
  #
11899
11922
  #
11900
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
11901
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
11923
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
11924
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
11902
11925
  # @return [String]
11903
11926
  #
11904
11927
  # @!attribute [rw] cache_control
@@ -12146,7 +12169,7 @@ module Aws::S3
12146
12169
  # @return [String]
12147
12170
  #
12148
12171
  # @!attribute [rw] expected_bucket_owner
12149
- # The account id of the expected bucket owner. If the bucket is owned
12172
+ # The account ID of the expected bucket owner. If the bucket is owned
12150
12173
  # by a different account, the request will fail with an HTTP `403
12151
12174
  # (Access Denied)` error.
12152
12175
  # @return [String]
@@ -12231,11 +12254,11 @@ module Aws::S3
12231
12254
  # When using this action with an access point through the AWS SDKs,
12232
12255
  # you provide the access point ARN in place of the bucket name. For
12233
12256
  # more information about access point ARNs, see [Using Access
12234
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
12257
+ # Points][1] in the *Amazon S3 User Guide*.
12235
12258
  #
12236
12259
  #
12237
12260
  #
12238
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
12261
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
12239
12262
  # @return [String]
12240
12263
  #
12241
12264
  # @!attribute [rw] key
@@ -12277,7 +12300,7 @@ module Aws::S3
12277
12300
  # @return [String]
12278
12301
  #
12279
12302
  # @!attribute [rw] expected_bucket_owner
12280
- # The account id of the expected bucket owner. If the bucket is owned
12303
+ # The account ID of the expected bucket owner. If the bucket is owned
12281
12304
  # by a different account, the request will fail with an HTTP `403
12282
12305
  # (Access Denied)` error.
12283
12306
  # @return [String]
@@ -12339,7 +12362,7 @@ module Aws::S3
12339
12362
  # When using this action with an access point through the AWS SDKs,
12340
12363
  # you provide the access point ARN in place of the bucket name. For
12341
12364
  # more information about access point ARNs, see [Using Access
12342
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
12365
+ # Points][1] in the *Amazon S3 User Guide*.
12343
12366
  #
12344
12367
  # When using this action with Amazon S3 on Outposts, you must direct
12345
12368
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -12348,12 +12371,12 @@ module Aws::S3
12348
12371
  # When using this action using S3 on Outposts through the AWS SDKs,
12349
12372
  # you provide the Outposts bucket ARN in place of the bucket name. For
12350
12373
  # more information about S3 on Outposts ARNs, see [Using S3 on
12351
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
12374
+ # Outposts][2] in the *Amazon S3 User Guide*.
12352
12375
  #
12353
12376
  #
12354
12377
  #
12355
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
12356
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
12378
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
12379
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
12357
12380
  # @return [String]
12358
12381
  #
12359
12382
  # @!attribute [rw] key
@@ -12376,7 +12399,7 @@ module Aws::S3
12376
12399
  # @return [Types::Tagging]
12377
12400
  #
12378
12401
  # @!attribute [rw] expected_bucket_owner
12379
- # The account id of the expected bucket owner. If the bucket is owned
12402
+ # The account ID of the expected bucket owner. If the bucket is owned
12380
12403
  # by a different account, the request will fail with an HTTP `403
12381
12404
  # (Access Denied)` error.
12382
12405
  # @return [String]
@@ -12439,7 +12462,7 @@ module Aws::S3
12439
12462
  # Amazon S3 bucket. You can enable the configuration options in any
12440
12463
  # combination. For more information about when Amazon S3 considers a
12441
12464
  # bucket or object public, see [The Meaning of "Public"][1] in the
12442
- # *Amazon Simple Storage Service Developer Guide*.
12465
+ # *Amazon S3 User Guide*.
12443
12466
  #
12444
12467
  #
12445
12468
  #
@@ -12447,7 +12470,7 @@ module Aws::S3
12447
12470
  # @return [Types::PublicAccessBlockConfiguration]
12448
12471
  #
12449
12472
  # @!attribute [rw] expected_bucket_owner
12450
- # The account id of the expected bucket owner. If the bucket is owned
12473
+ # The account ID of the expected bucket owner. If the bucket is owned
12451
12474
  # by a different account, the request will fail with an HTTP `403
12452
12475
  # (Access Denied)` error.
12453
12476
  # @return [String]
@@ -12505,7 +12528,7 @@ module Aws::S3
12505
12528
  # @!attribute [rw] filter
12506
12529
  # Specifies object key name filtering rules. For information about key
12507
12530
  # name filtering, see [Configuring Event Notifications][1] in the
12508
- # *Amazon Simple Storage Service Developer Guide*.
12531
+ # *Amazon S3 User Guide*.
12509
12532
  #
12510
12533
  #
12511
12534
  #
@@ -12553,7 +12576,7 @@ module Aws::S3
12553
12576
  # @return [String]
12554
12577
  #
12555
12578
  # @!attribute [rw] events
12556
- # A collection of bucket events for which to send notifications
12579
+ # A collection of bucket events for which to send notifications.
12557
12580
  # @return [Array<String>]
12558
12581
  #
12559
12582
  # @!attribute [rw] queue
@@ -12796,7 +12819,7 @@ module Aws::S3
12796
12819
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
12797
12820
  # Management (IAM) role that Amazon S3 assumes when replicating
12798
12821
  # objects. For more information, see [How to Set Up Replication][1] in
12799
- # the *Amazon Simple Storage Service Developer Guide*.
12822
+ # the *Amazon S3 User Guide*.
12800
12823
  #
12801
12824
  #
12802
12825
  #
@@ -12897,8 +12920,8 @@ module Aws::S3
12897
12920
  # will be replicated according to the rule with the highest priority.
12898
12921
  # The higher the number, the higher the priority.
12899
12922
  #
12900
- # For more information, see [Replication][1] in the *Amazon Simple
12901
- # Storage Service Developer Guide*.
12923
+ # For more information, see [Replication][1] in the *Amazon S3 User
12924
+ # Guide*.
12902
12925
  #
12903
12926
  #
12904
12927
  #
@@ -12999,7 +13022,7 @@ module Aws::S3
12999
13022
  # filters in an `And` tag.
13000
13023
  #
13001
13024
  # * If you specify a filter based on multiple tags, wrap the `Tag`
13002
- # elements in an `And` tag
13025
+ # elements in an `And` tag.
13003
13026
  #
13004
13027
  # @note When making an API call, you may pass ReplicationRuleAndOperator
13005
13028
  # data as a hash:
@@ -13319,7 +13342,7 @@ module Aws::S3
13319
13342
  # When using this action with an access point through the AWS SDKs,
13320
13343
  # you provide the access point ARN in place of the bucket name. For
13321
13344
  # more information about access point ARNs, see [Using Access
13322
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
13345
+ # Points][1] in the *Amazon S3 User Guide*.
13323
13346
  #
13324
13347
  # When using this action with Amazon S3 on Outposts, you must direct
13325
13348
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -13328,12 +13351,12 @@ module Aws::S3
13328
13351
  # When using this action using S3 on Outposts through the AWS SDKs,
13329
13352
  # you provide the Outposts bucket ARN in place of the bucket name. For
13330
13353
  # more information about S3 on Outposts ARNs, see [Using S3 on
13331
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
13354
+ # Outposts][2] in the *Amazon S3 User Guide*.
13332
13355
  #
13333
13356
  #
13334
13357
  #
13335
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
13336
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
13358
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
13359
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
13337
13360
  # @return [String]
13338
13361
  #
13339
13362
  # @!attribute [rw] key
@@ -13361,7 +13384,7 @@ module Aws::S3
13361
13384
  # @return [String]
13362
13385
  #
13363
13386
  # @!attribute [rw] expected_bucket_owner
13364
- # The account id of the expected bucket owner. If the bucket is owned
13387
+ # The account ID of the expected bucket owner. If the bucket is owned
13365
13388
  # by a different account, the request will fail with an HTTP `403
13366
13389
  # (Access Denied)` error.
13367
13390
  # @return [String]
@@ -13515,8 +13538,7 @@ module Aws::S3
13515
13538
 
13516
13539
  # Specifies the redirect behavior and when a redirect is applied. For
13517
13540
  # more information about routing rules, see [Configuring advanced
13518
- # conditional redirects][1] in the *Amazon Simple Storage Service User
13519
- # Guide*.
13541
+ # conditional redirects][1] in the *Amazon S3 User Guide*.
13520
13542
  #
13521
13543
  #
13522
13544
  #
@@ -13565,7 +13587,7 @@ module Aws::S3
13565
13587
  # Specifies lifecycle rules for an Amazon S3 bucket. For more
13566
13588
  # information, see [Put Bucket Lifecycle Configuration][1] in the
13567
13589
  # *Amazon Simple Storage Service API Reference*. For examples, see [Put
13568
- # Bucket Lifecycle Configuration Examples][2]
13590
+ # Bucket Lifecycle Configuration Examples][2].
13569
13591
  #
13570
13592
  #
13571
13593
  #
@@ -13632,7 +13654,7 @@ module Aws::S3
13632
13654
  # Specifies when an object transitions to a specified storage class.
13633
13655
  # For more information about Amazon S3 lifecycle configuration rules,
13634
13656
  # see [Transitioning Objects Using Amazon S3 Lifecycle][1] in the
13635
- # *Amazon Simple Storage Service User Guide*.
13657
+ # *Amazon S3 User Guide*.
13636
13658
  #
13637
13659
  #
13638
13660
  #
@@ -13664,7 +13686,7 @@ module Aws::S3
13664
13686
  # upload that Amazon S3 will wait before permanently removing all
13665
13687
  # parts of the upload. For more information, see [ Aborting Incomplete
13666
13688
  # Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
13667
- # Simple Storage Service Developer Guide*.
13689
+ # S3 User Guide*.
13668
13690
  #
13669
13691
  #
13670
13692
  #
@@ -14031,7 +14053,7 @@ module Aws::S3
14031
14053
  # @return [Types::ScanRange]
14032
14054
  #
14033
14055
  # @!attribute [rw] expected_bucket_owner
14034
- # The account id of the expected bucket owner. If the bucket is owned
14056
+ # The account ID of the expected bucket owner. If the bucket is owned
14035
14057
  # by a different account, the request will fail with an HTTP `403
14036
14058
  # (Access Denied)` error.
14037
14059
  # @return [String]
@@ -14236,7 +14258,7 @@ module Aws::S3
14236
14258
  # Bucket Key. By default, S3 Bucket Key is not enabled.
14237
14259
  #
14238
14260
  # For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
14239
- # Simple Storage Service User Guide*.
14261
+ # S3 User Guide*.
14240
14262
  #
14241
14263
  #
14242
14264
  #
@@ -14597,8 +14619,8 @@ module Aws::S3
14597
14619
  #
14598
14620
  # @!attribute [rw] events
14599
14621
  # The Amazon S3 bucket event about which to send notifications. For
14600
- # more information, see [Supported Event Types][1] in the *Amazon
14601
- # Simple Storage Service User Guide*.
14622
+ # more information, see [Supported Event Types][1] in the *Amazon S3
14623
+ # User Guide*.
14602
14624
  #
14603
14625
  #
14604
14626
  #
@@ -14608,7 +14630,7 @@ module Aws::S3
14608
14630
  # @!attribute [rw] filter
14609
14631
  # Specifies object key name filtering rules. For information about key
14610
14632
  # name filtering, see [Configuring Event Notifications][1] in the
14611
- # *Amazon Simple Storage Service Developer Guide*.
14633
+ # *Amazon S3 User Guide*.
14612
14634
  #
14613
14635
  #
14614
14636
  #
@@ -14677,8 +14699,8 @@ module Aws::S3
14677
14699
 
14678
14700
  # Specifies when an object transitions to a specified storage class. For
14679
14701
  # more information about Amazon S3 lifecycle configuration rules, see
14680
- # [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon
14681
- # Simple Storage Service User Guide*.
14702
+ # [Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon S3
14703
+ # User Guide*.
14682
14704
  #
14683
14705
  #
14684
14706
  #
@@ -14812,7 +14834,7 @@ module Aws::S3
14812
14834
  # When using this action with an access point through the AWS SDKs,
14813
14835
  # you provide the access point ARN in place of the bucket name. For
14814
14836
  # more information about access point ARNs, see [Using Access
14815
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
14837
+ # Points][1] in the *Amazon S3 User Guide*.
14816
14838
  #
14817
14839
  # When using this action with Amazon S3 on Outposts, you must direct
14818
14840
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -14821,12 +14843,12 @@ module Aws::S3
14821
14843
  # When using this action using S3 on Outposts through the AWS SDKs,
14822
14844
  # you provide the Outposts bucket ARN in place of the bucket name. For
14823
14845
  # more information about S3 on Outposts ARNs, see [Using S3 on
14824
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
14846
+ # Outposts][2] in the *Amazon S3 User Guide*.
14825
14847
  #
14826
14848
  #
14827
14849
  #
14828
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
14829
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
14850
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
14851
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
14830
14852
  # @return [String]
14831
14853
  #
14832
14854
  # @!attribute [rw] copy_source
@@ -14873,7 +14895,7 @@ module Aws::S3
14873
14895
  #
14874
14896
  #
14875
14897
  #
14876
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html
14898
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
14877
14899
  # @return [String]
14878
14900
  #
14879
14901
  # @!attribute [rw] copy_source_if_match
@@ -14968,13 +14990,13 @@ module Aws::S3
14968
14990
  # @return [String]
14969
14991
  #
14970
14992
  # @!attribute [rw] expected_bucket_owner
14971
- # The account id of the expected destination bucket owner. If the
14993
+ # The account ID of the expected destination bucket owner. If the
14972
14994
  # destination bucket is owned by a different account, the request will
14973
14995
  # fail with an HTTP `403 (Access Denied)` error.
14974
14996
  # @return [String]
14975
14997
  #
14976
14998
  # @!attribute [rw] expected_source_bucket_owner
14977
- # The account id of the expected source bucket owner. If the source
14999
+ # The account ID of the expected source bucket owner. If the source
14978
15000
  # bucket is owned by a different account, the request will fail with
14979
15001
  # an HTTP `403 (Access Denied)` error.
14980
15002
  # @return [String]
@@ -15089,7 +15111,7 @@ module Aws::S3
15089
15111
  # When using this action with an access point through the AWS SDKs,
15090
15112
  # you provide the access point ARN in place of the bucket name. For
15091
15113
  # more information about access point ARNs, see [Using Access
15092
- # Points][1] in the *Amazon Simple Storage Service Developer Guide*.
15114
+ # Points][1] in the *Amazon S3 User Guide*.
15093
15115
  #
15094
15116
  # When using this action with Amazon S3 on Outposts, you must direct
15095
15117
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
@@ -15098,12 +15120,12 @@ module Aws::S3
15098
15120
  # When using this action using S3 on Outposts through the AWS SDKs,
15099
15121
  # you provide the Outposts bucket ARN in place of the bucket name. For
15100
15122
  # more information about S3 on Outposts ARNs, see [Using S3 on
15101
- # Outposts][2] in the *Amazon Simple Storage Service Developer Guide*.
15123
+ # Outposts][2] in the *Amazon S3 User Guide*.
15102
15124
  #
15103
15125
  #
15104
15126
  #
15105
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html
15106
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
15127
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
15128
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
15107
15129
  # @return [String]
15108
15130
  #
15109
15131
  # @!attribute [rw] content_length
@@ -15165,7 +15187,7 @@ module Aws::S3
15165
15187
  # @return [String]
15166
15188
  #
15167
15189
  # @!attribute [rw] expected_bucket_owner
15168
- # The account id of the expected bucket owner. If the bucket is owned
15190
+ # The account ID of the expected bucket owner. If the bucket is owned
15169
15191
  # by a different account, the request will fail with an HTTP `403
15170
15192
  # (Access Denied)` error.
15171
15193
  # @return [String]
@@ -15289,6 +15311,317 @@ module Aws::S3
15289
15311
  include Aws::Structure
15290
15312
  end
15291
15313
 
15314
+ # @note When making an API call, you may pass WriteGetObjectResponseRequest
15315
+ # data as a hash:
15316
+ #
15317
+ # {
15318
+ # request_route: "RequestRoute", # required
15319
+ # request_token: "RequestToken", # required
15320
+ # body: source_file,
15321
+ # status_code: 1,
15322
+ # error_code: "ErrorCode",
15323
+ # error_message: "ErrorMessage",
15324
+ # accept_ranges: "AcceptRanges",
15325
+ # cache_control: "CacheControl",
15326
+ # content_disposition: "ContentDisposition",
15327
+ # content_encoding: "ContentEncoding",
15328
+ # content_language: "ContentLanguage",
15329
+ # content_length: 1,
15330
+ # content_range: "ContentRange",
15331
+ # content_type: "ContentType",
15332
+ # delete_marker: false,
15333
+ # etag: "ETag",
15334
+ # expires: Time.now,
15335
+ # expiration: "Expiration",
15336
+ # last_modified: Time.now,
15337
+ # missing_meta: 1,
15338
+ # metadata: {
15339
+ # "MetadataKey" => "MetadataValue",
15340
+ # },
15341
+ # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
15342
+ # object_lock_legal_hold_status: "ON", # accepts ON, OFF
15343
+ # object_lock_retain_until_date: Time.now,
15344
+ # parts_count: 1,
15345
+ # replication_status: "COMPLETE", # accepts COMPLETE, PENDING, FAILED, REPLICA
15346
+ # request_charged: "requester", # accepts requester
15347
+ # restore: "Restore",
15348
+ # server_side_encryption: "AES256", # accepts AES256, aws:kms
15349
+ # sse_customer_algorithm: "SSECustomerAlgorithm",
15350
+ # ssekms_key_id: "SSEKMSKeyId",
15351
+ # sse_customer_key_md5: "SSECustomerKeyMD5",
15352
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
15353
+ # tag_count: 1,
15354
+ # version_id: "ObjectVersionId",
15355
+ # bucket_key_enabled: false,
15356
+ # }
15357
+ #
15358
+ # @!attribute [rw] request_route
15359
+ # Route prefix to the HTTP URL generated.
15360
+ # @return [String]
15361
+ #
15362
+ # @!attribute [rw] request_token
15363
+ # A single use encrypted token that maps `WriteGetObjectResponse` to
15364
+ # the end user `GetObject` request.
15365
+ # @return [String]
15366
+ #
15367
+ # @!attribute [rw] body
15368
+ # The object data.
15369
+ # @return [IO]
15370
+ #
15371
+ # @!attribute [rw] status_code
15372
+ # The integer status code for an HTTP response of a corresponding
15373
+ # `GetObject` request.
15374
+ #
15375
+ # **Status Codes**
15376
+ #
15377
+ # * *200 - OK*
15378
+ #
15379
+ # * *206 - Partial Content*
15380
+ #
15381
+ # * *304 - Not Modified*
15382
+ #
15383
+ # * *400 - Bad Request*
15384
+ #
15385
+ # * *401 - Unauthorized*
15386
+ #
15387
+ # * *403 - Forbidden*
15388
+ #
15389
+ # * *404 - Not Found*
15390
+ #
15391
+ # * *405 - Method Not Allowed*
15392
+ #
15393
+ # * *409 - Conflict*
15394
+ #
15395
+ # * *411 - Length Required*
15396
+ #
15397
+ # * *412 - Precondition Failed*
15398
+ #
15399
+ # * *416 - Range Not Satisfiable*
15400
+ #
15401
+ # * *500 - Internal Server Error*
15402
+ #
15403
+ # * *503 - Service Unavailable*
15404
+ # @return [Integer]
15405
+ #
15406
+ # @!attribute [rw] error_code
15407
+ # A string that uniquely identifies an error condition. Returned in
15408
+ # the &lt;Code&gt; tag of the error XML response for a corresponding
15409
+ # `GetObject` call. Cannot be used with a successful `StatusCode`
15410
+ # header or when the transformed object is provided in the body. All
15411
+ # error codes from S3 are sentence-cased. Regex value is
15412
+ # "^\[A-Z\]\[a-zA-Z\]+$".
15413
+ # @return [String]
15414
+ #
15415
+ # @!attribute [rw] error_message
15416
+ # Contains a generic description of the error condition. Returned in
15417
+ # the &lt;Message&gt; tag of the error XML response for a
15418
+ # corresponding `GetObject` call. Cannot be used with a successful
15419
+ # `StatusCode` header or when the transformed object is provided in
15420
+ # body.
15421
+ # @return [String]
15422
+ #
15423
+ # @!attribute [rw] accept_ranges
15424
+ # Indicates that a range of bytes was specified.
15425
+ # @return [String]
15426
+ #
15427
+ # @!attribute [rw] cache_control
15428
+ # Specifies caching behavior along the request/reply chain.
15429
+ # @return [String]
15430
+ #
15431
+ # @!attribute [rw] content_disposition
15432
+ # Specifies presentational information for the object.
15433
+ # @return [String]
15434
+ #
15435
+ # @!attribute [rw] content_encoding
15436
+ # Specifies what content encodings have been applied to the object and
15437
+ # thus what decoding mechanisms must be applied to obtain the
15438
+ # media-type referenced by the Content-Type header field.
15439
+ # @return [String]
15440
+ #
15441
+ # @!attribute [rw] content_language
15442
+ # The language the content is in.
15443
+ # @return [String]
15444
+ #
15445
+ # @!attribute [rw] content_length
15446
+ # The size of the content body in bytes.
15447
+ # @return [Integer]
15448
+ #
15449
+ # @!attribute [rw] content_range
15450
+ # The portion of the object returned in the response.
15451
+ # @return [String]
15452
+ #
15453
+ # @!attribute [rw] content_type
15454
+ # A standard MIME type describing the format of the object data.
15455
+ # @return [String]
15456
+ #
15457
+ # @!attribute [rw] delete_marker
15458
+ # Specifies whether an object stored in Amazon S3 is (`true`) or is
15459
+ # not (`false`) a delete marker.
15460
+ # @return [Boolean]
15461
+ #
15462
+ # @!attribute [rw] etag
15463
+ # An opaque identifier assigned by a web server to a specific version
15464
+ # of a resource found at a URL.
15465
+ # @return [String]
15466
+ #
15467
+ # @!attribute [rw] expires
15468
+ # The date and time at which the object is no longer cacheable.
15469
+ # @return [Time]
15470
+ #
15471
+ # @!attribute [rw] expiration
15472
+ # If object stored in Amazon S3 expiration is configured (see PUT
15473
+ # Bucket lifecycle) it includes expiry-date and rule-id key-value
15474
+ # pairs providing object expiration information. The value of the
15475
+ # rule-id is URL encoded.
15476
+ # @return [String]
15477
+ #
15478
+ # @!attribute [rw] last_modified
15479
+ # The date and time that the object was last modified.
15480
+ # @return [Time]
15481
+ #
15482
+ # @!attribute [rw] missing_meta
15483
+ # Set to the number of metadata entries not returned in `x-amz-meta`
15484
+ # headers. This can happen if you create metadata using an API like
15485
+ # SOAP that supports more flexible metadata than the REST API. For
15486
+ # example, using SOAP, you can create metadata whose values are not
15487
+ # legal HTTP headers.
15488
+ # @return [Integer]
15489
+ #
15490
+ # @!attribute [rw] metadata
15491
+ # A map of metadata to store with the object in S3.
15492
+ # @return [Hash<String,String>]
15493
+ #
15494
+ # @!attribute [rw] object_lock_mode
15495
+ # Indicates whether an object stored in Amazon S3 has Object Lock
15496
+ # enabled. For more information about S3 Object Lock, see [Object
15497
+ # Lock][1].
15498
+ #
15499
+ #
15500
+ #
15501
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
15502
+ # @return [String]
15503
+ #
15504
+ # @!attribute [rw] object_lock_legal_hold_status
15505
+ # Indicates whether an object stored in Amazon S3 has an active legal
15506
+ # hold.
15507
+ # @return [String]
15508
+ #
15509
+ # @!attribute [rw] object_lock_retain_until_date
15510
+ # The date and time when Object Lock is configured to expire.
15511
+ # @return [Time]
15512
+ #
15513
+ # @!attribute [rw] parts_count
15514
+ # The count of parts this object has.
15515
+ # @return [Integer]
15516
+ #
15517
+ # @!attribute [rw] replication_status
15518
+ # Indicates if request involves bucket that is either a source or
15519
+ # destination in a Replication rule. For more information about S3
15520
+ # Replication, see [Replication][1].
15521
+ #
15522
+ #
15523
+ #
15524
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html
15525
+ # @return [String]
15526
+ #
15527
+ # @!attribute [rw] request_charged
15528
+ # If present, indicates that the requester was successfully charged
15529
+ # for the request.
15530
+ # @return [String]
15531
+ #
15532
+ # @!attribute [rw] restore
15533
+ # Provides information about object restoration operation and
15534
+ # expiration time of the restored object copy.
15535
+ # @return [String]
15536
+ #
15537
+ # @!attribute [rw] server_side_encryption
15538
+ # The server-side encryption algorithm used when storing requested
15539
+ # object in Amazon S3 (for example, AES256, aws:kms).
15540
+ # @return [String]
15541
+ #
15542
+ # @!attribute [rw] sse_customer_algorithm
15543
+ # Encryption algorithm used if server-side encryption with a
15544
+ # customer-provided encryption key was specified for object stored in
15545
+ # Amazon S3.
15546
+ # @return [String]
15547
+ #
15548
+ # @!attribute [rw] ssekms_key_id
15549
+ # If present, specifies the ID of the AWS Key Management Service (AWS
15550
+ # KMS) symmetric customer managed customer master key (CMK) that was
15551
+ # used for stored in Amazon S3 object.
15552
+ # @return [String]
15553
+ #
15554
+ # @!attribute [rw] sse_customer_key_md5
15555
+ # 128-bit MD5 digest of customer-provided encryption key used in
15556
+ # Amazon S3 to encrypt data stored in S3. For more information, see
15557
+ # [Protecting data using server-side encryption with customer-provided
15558
+ # encryption keys (SSE-C)][1].
15559
+ #
15560
+ #
15561
+ #
15562
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
15563
+ # @return [String]
15564
+ #
15565
+ # @!attribute [rw] storage_class
15566
+ # The class of storage used to store object in Amazon S3.
15567
+ # @return [String]
15568
+ #
15569
+ # @!attribute [rw] tag_count
15570
+ # The number of tags, if any, on the object.
15571
+ # @return [Integer]
15572
+ #
15573
+ # @!attribute [rw] version_id
15574
+ # An ID used to reference a specific version of the object.
15575
+ # @return [String]
15576
+ #
15577
+ # @!attribute [rw] bucket_key_enabled
15578
+ # Indicates whether the object stored in Amazon S3 uses an S3 bucket
15579
+ # key for server-side encryption with AWS KMS (SSE-KMS).
15580
+ # @return [Boolean]
15581
+ #
15582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WriteGetObjectResponseRequest AWS API Documentation
15583
+ #
15584
+ class WriteGetObjectResponseRequest < Struct.new(
15585
+ :request_route,
15586
+ :request_token,
15587
+ :body,
15588
+ :status_code,
15589
+ :error_code,
15590
+ :error_message,
15591
+ :accept_ranges,
15592
+ :cache_control,
15593
+ :content_disposition,
15594
+ :content_encoding,
15595
+ :content_language,
15596
+ :content_length,
15597
+ :content_range,
15598
+ :content_type,
15599
+ :delete_marker,
15600
+ :etag,
15601
+ :expires,
15602
+ :expiration,
15603
+ :last_modified,
15604
+ :missing_meta,
15605
+ :metadata,
15606
+ :object_lock_mode,
15607
+ :object_lock_legal_hold_status,
15608
+ :object_lock_retain_until_date,
15609
+ :parts_count,
15610
+ :replication_status,
15611
+ :request_charged,
15612
+ :restore,
15613
+ :server_side_encryption,
15614
+ :sse_customer_algorithm,
15615
+ :ssekms_key_id,
15616
+ :sse_customer_key_md5,
15617
+ :storage_class,
15618
+ :tag_count,
15619
+ :version_id,
15620
+ :bucket_key_enabled)
15621
+ SENSITIVE = [:ssekms_key_id]
15622
+ include Aws::Structure
15623
+ end
15624
+
15292
15625
  # The container for selecting objects from a content event stream.
15293
15626
  #
15294
15627
  # EventStream is an Enumerator of Events.