aws-sdk-s3 1.106.0 → 1.109.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -517,6 +517,8 @@ module Aws::S3
517
517
  # key: "ObjectKey", # required
518
518
  # value: "Value", # required
519
519
  # },
520
+ # object_size_greater_than: 1,
521
+ # object_size_less_than: 1,
520
522
  # and: {
521
523
  # prefix: "Prefix",
522
524
  # tags: [
@@ -525,6 +527,8 @@ module Aws::S3
525
527
  # value: "Value", # required
526
528
  # },
527
529
  # ],
530
+ # object_size_greater_than: 1,
531
+ # object_size_less_than: 1,
528
532
  # },
529
533
  # },
530
534
  # status: "Enabled", # required, accepts Enabled, Disabled
@@ -532,17 +536,19 @@ module Aws::S3
532
536
  # {
533
537
  # date: Time.now,
534
538
  # days: 1,
535
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
539
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
536
540
  # },
537
541
  # ],
538
542
  # noncurrent_version_transitions: [
539
543
  # {
540
544
  # noncurrent_days: 1,
541
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
545
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
546
+ # newer_noncurrent_versions: 1,
542
547
  # },
543
548
  # ],
544
549
  # noncurrent_version_expiration: {
545
550
  # noncurrent_days: 1,
551
+ # newer_noncurrent_versions: 1,
546
552
  # },
547
553
  # abort_incomplete_multipart_upload: {
548
554
  # days_after_initiation: 1,
@@ -851,8 +857,8 @@ module Aws::S3
851
857
  #
852
858
  # {
853
859
  # id: "NotificationId",
854
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
855
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
860
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
861
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
856
862
  # cloud_function: "CloudFunction",
857
863
  # invocation_role: "CloudFunctionInvocationRole",
858
864
  # }
@@ -1113,6 +1119,9 @@ module Aws::S3
1113
1119
  #
1114
1120
  # @!attribute [rw] parts
1115
1121
  # Array of CompletedPart data types.
1122
+ #
1123
+ # If you do not supply a valid `Part` with your request, the service
1124
+ # sends back an HTTP 400 response.
1116
1125
  # @return [Array<Types::CompletedPart>]
1117
1126
  #
1118
1127
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload AWS API Documentation
@@ -1314,7 +1323,7 @@ module Aws::S3
1314
1323
  # metadata_directive: "COPY", # accepts COPY, REPLACE
1315
1324
  # tagging_directive: "COPY", # accepts COPY, REPLACE
1316
1325
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
1317
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
1326
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
1318
1327
  # website_redirect_location: "WebsiteRedirectLocation",
1319
1328
  # sse_customer_algorithm: "SSECustomerAlgorithm",
1320
1329
  # sse_customer_key: "SSECustomerKey",
@@ -1777,6 +1786,7 @@ module Aws::S3
1777
1786
  # grant_write: "GrantWrite",
1778
1787
  # grant_write_acp: "GrantWriteACP",
1779
1788
  # object_lock_enabled_for_bucket: false,
1789
+ # object_ownership: "BucketOwnerPreferred", # accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
1780
1790
  # }
1781
1791
  #
1782
1792
  # @!attribute [rw] acl
@@ -1820,6 +1830,25 @@ module Aws::S3
1820
1830
  # bucket.
1821
1831
  # @return [Boolean]
1822
1832
  #
1833
+ # @!attribute [rw] object_ownership
1834
+ # The container element for object ownership for a bucket's ownership
1835
+ # controls.
1836
+ #
1837
+ # BucketOwnerPreferred - Objects uploaded to the bucket change
1838
+ # ownership to the bucket owner if the objects are uploaded with the
1839
+ # `bucket-owner-full-control` canned ACL.
1840
+ #
1841
+ # ObjectWriter - The uploading account will own the object if the
1842
+ # object is uploaded with the `bucket-owner-full-control` canned ACL.
1843
+ #
1844
+ # BucketOwnerEnforced - Access control lists (ACLs) are disabled and
1845
+ # no longer affect permissions. The bucket owner automatically owns
1846
+ # and has full control over every object in the bucket. The bucket
1847
+ # only accepts PUT requests that don't specify an ACL or bucket owner
1848
+ # full control ACLs, such as the `bucket-owner-full-control` canned
1849
+ # ACL or an equivalent form of this ACL expressed in the XML format.
1850
+ # @return [String]
1851
+ #
1823
1852
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest AWS API Documentation
1824
1853
  #
1825
1854
  class CreateBucketRequest < Struct.new(
@@ -1831,7 +1860,8 @@ module Aws::S3
1831
1860
  :grant_read_acp,
1832
1861
  :grant_write,
1833
1862
  :grant_write_acp,
1834
- :object_lock_enabled_for_bucket)
1863
+ :object_lock_enabled_for_bucket,
1864
+ :object_ownership)
1835
1865
  SENSITIVE = []
1836
1866
  include Aws::Structure
1837
1867
  end
@@ -1977,7 +2007,7 @@ module Aws::S3
1977
2007
  # "MetadataKey" => "MetadataValue",
1978
2008
  # },
1979
2009
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
1980
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
2010
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
1981
2011
  # website_redirect_location: "WebsiteRedirectLocation",
1982
2012
  # sse_customer_algorithm: "SSECustomerAlgorithm",
1983
2013
  # sse_customer_key: "SSECustomerKey",
@@ -3153,7 +3183,7 @@ module Aws::S3
3153
3183
  # {
3154
3184
  # bucket: "BucketName", # required
3155
3185
  # account: "AccountId",
3156
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
3186
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
3157
3187
  # access_control_translation: {
3158
3188
  # owner: "Destination", # required, accepts Destination
3159
3189
  # },
@@ -4199,6 +4229,14 @@ module Aws::S3
4199
4229
  include Aws::Structure
4200
4230
  end
4201
4231
 
4232
+ # A container for specifying the configuration for Amazon EventBridge.
4233
+ #
4234
+ # @api private
4235
+ #
4236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EventBridgeConfiguration AWS API Documentation
4237
+ #
4238
+ class EventBridgeConfiguration < Aws::EmptyStructure; end
4239
+
4202
4240
  # Optional configuration to replicate existing source bucket objects.
4203
4241
  # For more information, see [Replicating Existing Objects][1] in the
4204
4242
  # *Amazon S3 User Guide*.
@@ -4799,8 +4837,8 @@ module Aws::S3
4799
4837
  end
4800
4838
 
4801
4839
  # @!attribute [rw] ownership_controls
4802
- # The `OwnershipControls` (BucketOwnerPreferred or ObjectWriter)
4803
- # currently in effect for this Amazon S3 bucket.
4840
+ # The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred,
4841
+ # or ObjectWriter) currently in effect for this Amazon S3 bucket.
4804
4842
  # @return [Types::OwnershipControls]
4805
4843
  #
4806
4844
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketOwnershipControlsOutput AWS API Documentation
@@ -7246,7 +7284,7 @@ module Aws::S3
7246
7284
  # {
7247
7285
  # id: "NotificationId",
7248
7286
  # lambda_function_arn: "LambdaFunctionArn", # required
7249
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
7287
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
7250
7288
  # filter: {
7251
7289
  # key: {
7252
7290
  # filter_rules: [
@@ -7320,14 +7358,16 @@ module Aws::S3
7320
7358
  # transition: {
7321
7359
  # date: Time.now,
7322
7360
  # days: 1,
7323
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
7361
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
7324
7362
  # },
7325
7363
  # noncurrent_version_transition: {
7326
7364
  # noncurrent_days: 1,
7327
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
7365
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
7366
+ # newer_noncurrent_versions: 1,
7328
7367
  # },
7329
7368
  # noncurrent_version_expiration: {
7330
7369
  # noncurrent_days: 1,
7370
+ # newer_noncurrent_versions: 1,
7331
7371
  # },
7332
7372
  # abort_incomplete_multipart_upload: {
7333
7373
  # days_after_initiation: 1,
@@ -7405,6 +7445,8 @@ module Aws::S3
7405
7445
  # key: "ObjectKey", # required
7406
7446
  # value: "Value", # required
7407
7447
  # },
7448
+ # object_size_greater_than: 1,
7449
+ # object_size_less_than: 1,
7408
7450
  # and: {
7409
7451
  # prefix: "Prefix",
7410
7452
  # tags: [
@@ -7413,6 +7455,8 @@ module Aws::S3
7413
7455
  # value: "Value", # required
7414
7456
  # },
7415
7457
  # ],
7458
+ # object_size_greater_than: 1,
7459
+ # object_size_less_than: 1,
7416
7460
  # },
7417
7461
  # },
7418
7462
  # status: "Enabled", # required, accepts Enabled, Disabled
@@ -7420,17 +7464,19 @@ module Aws::S3
7420
7464
  # {
7421
7465
  # date: Time.now,
7422
7466
  # days: 1,
7423
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
7467
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
7424
7468
  # },
7425
7469
  # ],
7426
7470
  # noncurrent_version_transitions: [
7427
7471
  # {
7428
7472
  # noncurrent_days: 1,
7429
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
7473
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
7474
+ # newer_noncurrent_versions: 1,
7430
7475
  # },
7431
7476
  # ],
7432
7477
  # noncurrent_version_expiration: {
7433
7478
  # noncurrent_days: 1,
7479
+ # newer_noncurrent_versions: 1,
7434
7480
  # },
7435
7481
  # abort_incomplete_multipart_upload: {
7436
7482
  # days_after_initiation: 1,
@@ -7538,6 +7584,8 @@ module Aws::S3
7538
7584
  # value: "Value", # required
7539
7585
  # },
7540
7586
  # ],
7587
+ # object_size_greater_than: 1,
7588
+ # object_size_less_than: 1,
7541
7589
  # }
7542
7590
  #
7543
7591
  # @!attribute [rw] prefix
@@ -7549,11 +7597,21 @@ module Aws::S3
7549
7597
  # the rule to apply.
7550
7598
  # @return [Array<Types::Tag>]
7551
7599
  #
7600
+ # @!attribute [rw] object_size_greater_than
7601
+ # Minimum object size to which the rule applies.
7602
+ # @return [Integer]
7603
+ #
7604
+ # @!attribute [rw] object_size_less_than
7605
+ # Maximum object size to which the rule applies.
7606
+ # @return [Integer]
7607
+ #
7552
7608
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleAndOperator AWS API Documentation
7553
7609
  #
7554
7610
  class LifecycleRuleAndOperator < Struct.new(
7555
7611
  :prefix,
7556
- :tags)
7612
+ :tags,
7613
+ :object_size_greater_than,
7614
+ :object_size_less_than)
7557
7615
  SENSITIVE = []
7558
7616
  include Aws::Structure
7559
7617
  end
@@ -7571,6 +7629,8 @@ module Aws::S3
7571
7629
  # key: "ObjectKey", # required
7572
7630
  # value: "Value", # required
7573
7631
  # },
7632
+ # object_size_greater_than: 1,
7633
+ # object_size_less_than: 1,
7574
7634
  # and: {
7575
7635
  # prefix: "Prefix",
7576
7636
  # tags: [
@@ -7579,6 +7639,8 @@ module Aws::S3
7579
7639
  # value: "Value", # required
7580
7640
  # },
7581
7641
  # ],
7642
+ # object_size_greater_than: 1,
7643
+ # object_size_less_than: 1,
7582
7644
  # },
7583
7645
  # }
7584
7646
  #
@@ -7599,6 +7661,14 @@ module Aws::S3
7599
7661
  # to apply.
7600
7662
  # @return [Types::Tag]
7601
7663
  #
7664
+ # @!attribute [rw] object_size_greater_than
7665
+ # Minimum object size to which the rule applies.
7666
+ # @return [Integer]
7667
+ #
7668
+ # @!attribute [rw] object_size_less_than
7669
+ # Maximum object size to which the rule applies.
7670
+ # @return [Integer]
7671
+ #
7602
7672
  # @!attribute [rw] and
7603
7673
  # This is used in a Lifecycle Rule Filter to apply a logical AND to
7604
7674
  # two or more predicates. The Lifecycle Rule will apply to any object
@@ -7610,6 +7680,8 @@ module Aws::S3
7610
7680
  class LifecycleRuleFilter < Struct.new(
7611
7681
  :prefix,
7612
7682
  :tag,
7683
+ :object_size_greater_than,
7684
+ :object_size_less_than,
7613
7685
  :and)
7614
7686
  SENSITIVE = []
7615
7687
  include Aws::Structure
@@ -8957,6 +9029,15 @@ module Aws::S3
8957
9029
  #
8958
9030
  # @!attribute [rw] target_grants
8959
9031
  # Container for granting information.
9032
+ #
9033
+ # Buckets that use the bucket owner enforced setting for Object
9034
+ # Ownership don't support target grants. For more information, see
9035
+ # [Permissions for server access log delivery][1] in the *Amazon S3
9036
+ # User Guide*.
9037
+ #
9038
+ #
9039
+ #
9040
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
8960
9041
  # @return [Array<Types::TargetGrant>]
8961
9042
  #
8962
9043
  # @!attribute [rw] target_prefix
@@ -9261,6 +9342,7 @@ module Aws::S3
9261
9342
  #
9262
9343
  # {
9263
9344
  # noncurrent_days: 1,
9345
+ # newer_noncurrent_versions: 1,
9264
9346
  # }
9265
9347
  #
9266
9348
  # @!attribute [rw] noncurrent_days
@@ -9274,29 +9356,44 @@ module Aws::S3
9274
9356
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
9275
9357
  # @return [Integer]
9276
9358
  #
9359
+ # @!attribute [rw] newer_noncurrent_versions
9360
+ # Specifies how many noncurrent versions Amazon S3 will retain. If
9361
+ # there are this many more recent noncurrent versions, Amazon S3 will
9362
+ # take the associated action. For more information about noncurrent
9363
+ # versions, see [Lifecycle configuration elements][1] in the *Amazon
9364
+ # S3 User Guide*.
9365
+ #
9366
+ #
9367
+ #
9368
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
9369
+ # @return [Integer]
9370
+ #
9277
9371
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration AWS API Documentation
9278
9372
  #
9279
9373
  class NoncurrentVersionExpiration < Struct.new(
9280
- :noncurrent_days)
9374
+ :noncurrent_days,
9375
+ :newer_noncurrent_versions)
9281
9376
  SENSITIVE = []
9282
9377
  include Aws::Structure
9283
9378
  end
9284
9379
 
9285
9380
  # Container for the transition rule that describes when noncurrent
9286
9381
  # objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
9287
- # `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE` storage class. If
9288
- # your bucket is versioning-enabled (or versioning is suspended), you
9289
- # can set this action to request that Amazon S3 transition noncurrent
9290
- # object versions to the `STANDARD_IA`, `ONEZONE_IA`,
9291
- # `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE` storage class at a
9292
- # specific period in the object's lifetime.
9382
+ # `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE`
9383
+ # storage class. If your bucket is versioning-enabled (or versioning is
9384
+ # suspended), you can set this action to request that Amazon S3
9385
+ # transition noncurrent object versions to the `STANDARD_IA`,
9386
+ # `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or
9387
+ # `DEEP_ARCHIVE` storage class at a specific period in the object's
9388
+ # lifetime.
9293
9389
  #
9294
9390
  # @note When making an API call, you may pass NoncurrentVersionTransition
9295
9391
  # data as a hash:
9296
9392
  #
9297
9393
  # {
9298
9394
  # noncurrent_days: 1,
9299
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
9395
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
9396
+ # newer_noncurrent_versions: 1,
9300
9397
  # }
9301
9398
  #
9302
9399
  # @!attribute [rw] noncurrent_days
@@ -9314,11 +9411,24 @@ module Aws::S3
9314
9411
  # The class of storage used to store the object.
9315
9412
  # @return [String]
9316
9413
  #
9414
+ # @!attribute [rw] newer_noncurrent_versions
9415
+ # Specifies how many noncurrent versions Amazon S3 will retain. If
9416
+ # there are this many more recent noncurrent versions, Amazon S3 will
9417
+ # take the associated action. For more information about noncurrent
9418
+ # versions, see [Lifecycle configuration elements][1] in the *Amazon
9419
+ # S3 User Guide*.
9420
+ #
9421
+ #
9422
+ #
9423
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
9424
+ # @return [Integer]
9425
+ #
9317
9426
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition AWS API Documentation
9318
9427
  #
9319
9428
  class NoncurrentVersionTransition < Struct.new(
9320
9429
  :noncurrent_days,
9321
- :storage_class)
9430
+ :storage_class,
9431
+ :newer_noncurrent_versions)
9322
9432
  SENSITIVE = []
9323
9433
  include Aws::Structure
9324
9434
  end
@@ -9335,7 +9445,7 @@ module Aws::S3
9335
9445
  # {
9336
9446
  # id: "NotificationId",
9337
9447
  # topic_arn: "TopicArn", # required
9338
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9448
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9339
9449
  # filter: {
9340
9450
  # key: {
9341
9451
  # filter_rules: [
@@ -9352,7 +9462,7 @@ module Aws::S3
9352
9462
  # {
9353
9463
  # id: "NotificationId",
9354
9464
  # queue_arn: "QueueArn", # required
9355
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9465
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9356
9466
  # filter: {
9357
9467
  # key: {
9358
9468
  # filter_rules: [
@@ -9369,7 +9479,7 @@ module Aws::S3
9369
9479
  # {
9370
9480
  # id: "NotificationId",
9371
9481
  # lambda_function_arn: "LambdaFunctionArn", # required
9372
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9482
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9373
9483
  # filter: {
9374
9484
  # key: {
9375
9485
  # filter_rules: [
@@ -9382,6 +9492,8 @@ module Aws::S3
9382
9492
  # },
9383
9493
  # },
9384
9494
  # ],
9495
+ # event_bridge_configuration: {
9496
+ # },
9385
9497
  # }
9386
9498
  #
9387
9499
  # @!attribute [rw] topic_configurations
@@ -9399,12 +9511,17 @@ module Aws::S3
9399
9511
  # invoke them.
9400
9512
  # @return [Array<Types::LambdaFunctionConfiguration>]
9401
9513
  #
9514
+ # @!attribute [rw] event_bridge_configuration
9515
+ # Enables delivery of events to Amazon EventBridge.
9516
+ # @return [Types::EventBridgeConfiguration]
9517
+ #
9402
9518
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration AWS API Documentation
9403
9519
  #
9404
9520
  class NotificationConfiguration < Struct.new(
9405
9521
  :topic_configurations,
9406
9522
  :queue_configurations,
9407
- :lambda_function_configurations)
9523
+ :lambda_function_configurations,
9524
+ :event_bridge_configuration)
9408
9525
  SENSITIVE = []
9409
9526
  include Aws::Structure
9410
9527
  end
@@ -9415,20 +9532,20 @@ module Aws::S3
9415
9532
  # {
9416
9533
  # topic_configuration: {
9417
9534
  # id: "NotificationId",
9418
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9419
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9535
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9536
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9420
9537
  # topic: "TopicArn",
9421
9538
  # },
9422
9539
  # queue_configuration: {
9423
9540
  # id: "NotificationId",
9424
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9425
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9541
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9542
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9426
9543
  # queue: "QueueArn",
9427
9544
  # },
9428
9545
  # cloud_function_configuration: {
9429
9546
  # id: "NotificationId",
9430
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9431
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
9547
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9548
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
9432
9549
  # cloud_function: "CloudFunction",
9433
9550
  # invocation_role: "CloudFunctionInvocationRole",
9434
9551
  # },
@@ -9808,7 +9925,7 @@ module Aws::S3
9808
9925
  # value: "MetadataValue",
9809
9926
  # },
9810
9927
  # ],
9811
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
9928
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
9812
9929
  # },
9813
9930
  # }
9814
9931
  #
@@ -9895,7 +10012,7 @@ module Aws::S3
9895
10012
  # {
9896
10013
  # rules: [ # required
9897
10014
  # {
9898
- # object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
10015
+ # object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
9899
10016
  # },
9900
10017
  # ],
9901
10018
  # }
@@ -9918,7 +10035,7 @@ module Aws::S3
9918
10035
  # data as a hash:
9919
10036
  #
9920
10037
  # {
9921
- # object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
10038
+ # object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
9922
10039
  # }
9923
10040
  #
9924
10041
  # @!attribute [rw] object_ownership
@@ -9931,6 +10048,13 @@ module Aws::S3
9931
10048
  #
9932
10049
  # ObjectWriter - The uploading account will own the object if the
9933
10050
  # object is uploaded with the `bucket-owner-full-control` canned ACL.
10051
+ #
10052
+ # BucketOwnerEnforced - Access control lists (ACLs) are disabled and
10053
+ # no longer affect permissions. The bucket owner automatically owns
10054
+ # and has full control over every object in the bucket. The bucket
10055
+ # only accepts PUT requests that don't specify an ACL or bucket owner
10056
+ # full control ACLs, such as the `bucket-owner-full-control` canned
10057
+ # ACL or an equivalent form of this ACL expressed in the XML format.
9934
10058
  # @return [String]
9935
10059
  #
9936
10060
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControlsRule AWS API Documentation
@@ -10599,6 +10723,8 @@ module Aws::S3
10599
10723
  # key: "ObjectKey", # required
10600
10724
  # value: "Value", # required
10601
10725
  # },
10726
+ # object_size_greater_than: 1,
10727
+ # object_size_less_than: 1,
10602
10728
  # and: {
10603
10729
  # prefix: "Prefix",
10604
10730
  # tags: [
@@ -10607,6 +10733,8 @@ module Aws::S3
10607
10733
  # value: "Value", # required
10608
10734
  # },
10609
10735
  # ],
10736
+ # object_size_greater_than: 1,
10737
+ # object_size_less_than: 1,
10610
10738
  # },
10611
10739
  # },
10612
10740
  # status: "Enabled", # required, accepts Enabled, Disabled
@@ -10614,17 +10742,19 @@ module Aws::S3
10614
10742
  # {
10615
10743
  # date: Time.now,
10616
10744
  # days: 1,
10617
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
10745
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
10618
10746
  # },
10619
10747
  # ],
10620
10748
  # noncurrent_version_transitions: [
10621
10749
  # {
10622
10750
  # noncurrent_days: 1,
10623
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
10751
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
10752
+ # newer_noncurrent_versions: 1,
10624
10753
  # },
10625
10754
  # ],
10626
10755
  # noncurrent_version_expiration: {
10627
10756
  # noncurrent_days: 1,
10757
+ # newer_noncurrent_versions: 1,
10628
10758
  # },
10629
10759
  # abort_incomplete_multipart_upload: {
10630
10760
  # days_after_initiation: 1,
@@ -10679,14 +10809,16 @@ module Aws::S3
10679
10809
  # transition: {
10680
10810
  # date: Time.now,
10681
10811
  # days: 1,
10682
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
10812
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
10683
10813
  # },
10684
10814
  # noncurrent_version_transition: {
10685
10815
  # noncurrent_days: 1,
10686
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
10816
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
10817
+ # newer_noncurrent_versions: 1,
10687
10818
  # },
10688
10819
  # noncurrent_version_expiration: {
10689
10820
  # noncurrent_days: 1,
10821
+ # newer_noncurrent_versions: 1,
10690
10822
  # },
10691
10823
  # abort_incomplete_multipart_upload: {
10692
10824
  # days_after_initiation: 1,
@@ -10855,7 +10987,7 @@ module Aws::S3
10855
10987
  # {
10856
10988
  # id: "NotificationId",
10857
10989
  # topic_arn: "TopicArn", # required
10858
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
10990
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
10859
10991
  # filter: {
10860
10992
  # key: {
10861
10993
  # filter_rules: [
@@ -10872,7 +11004,7 @@ module Aws::S3
10872
11004
  # {
10873
11005
  # id: "NotificationId",
10874
11006
  # queue_arn: "QueueArn", # required
10875
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
11007
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
10876
11008
  # filter: {
10877
11009
  # key: {
10878
11010
  # filter_rules: [
@@ -10889,7 +11021,7 @@ module Aws::S3
10889
11021
  # {
10890
11022
  # id: "NotificationId",
10891
11023
  # lambda_function_arn: "LambdaFunctionArn", # required
10892
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
11024
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
10893
11025
  # filter: {
10894
11026
  # key: {
10895
11027
  # filter_rules: [
@@ -10902,8 +11034,11 @@ module Aws::S3
10902
11034
  # },
10903
11035
  # },
10904
11036
  # ],
11037
+ # event_bridge_configuration: {
11038
+ # },
10905
11039
  # },
10906
11040
  # expected_bucket_owner: "AccountId",
11041
+ # skip_destination_validation: false,
10907
11042
  # }
10908
11043
  #
10909
11044
  # @!attribute [rw] bucket
@@ -10922,12 +11057,18 @@ module Aws::S3
10922
11057
  # (Access Denied)` error.
10923
11058
  # @return [String]
10924
11059
  #
11060
+ # @!attribute [rw] skip_destination_validation
11061
+ # Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations.
11062
+ # True or false value.
11063
+ # @return [Boolean]
11064
+ #
10925
11065
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationRequest AWS API Documentation
10926
11066
  #
10927
11067
  class PutBucketNotificationConfigurationRequest < Struct.new(
10928
11068
  :bucket,
10929
11069
  :notification_configuration,
10930
- :expected_bucket_owner)
11070
+ :expected_bucket_owner,
11071
+ :skip_destination_validation)
10931
11072
  SENSITIVE = []
10932
11073
  include Aws::Structure
10933
11074
  end
@@ -10941,20 +11082,20 @@ module Aws::S3
10941
11082
  # notification_configuration: { # required
10942
11083
  # topic_configuration: {
10943
11084
  # id: "NotificationId",
10944
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
10945
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
11085
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
11086
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
10946
11087
  # topic: "TopicArn",
10947
11088
  # },
10948
11089
  # queue_configuration: {
10949
11090
  # id: "NotificationId",
10950
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
10951
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
11091
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
11092
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
10952
11093
  # queue: "QueueArn",
10953
11094
  # },
10954
11095
  # cloud_function_configuration: {
10955
11096
  # id: "NotificationId",
10956
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
10957
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
11097
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
11098
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
10958
11099
  # cloud_function: "CloudFunction",
10959
11100
  # invocation_role: "CloudFunctionInvocationRole",
10960
11101
  # },
@@ -11005,7 +11146,7 @@ module Aws::S3
11005
11146
  # ownership_controls: { # required
11006
11147
  # rules: [ # required
11007
11148
  # {
11008
- # object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
11149
+ # object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
11009
11150
  # },
11010
11151
  # ],
11011
11152
  # },
@@ -11031,8 +11172,8 @@ module Aws::S3
11031
11172
  # @return [String]
11032
11173
  #
11033
11174
  # @!attribute [rw] ownership_controls
11034
- # The `OwnershipControls` (BucketOwnerPreferred or ObjectWriter) that
11035
- # you want to apply to this Amazon S3 bucket.
11175
+ # The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred,
11176
+ # or ObjectWriter) that you want to apply to this Amazon S3 bucket.
11036
11177
  # @return [Types::OwnershipControls]
11037
11178
  #
11038
11179
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControlsRequest AWS API Documentation
@@ -11140,7 +11281,7 @@ module Aws::S3
11140
11281
  # destination: { # required
11141
11282
  # bucket: "BucketName", # required
11142
11283
  # account: "AccountId",
11143
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
11284
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
11144
11285
  # access_control_translation: {
11145
11286
  # owner: "Destination", # required, accepts Destination
11146
11287
  # },
@@ -11950,7 +12091,7 @@ module Aws::S3
11950
12091
  # "MetadataKey" => "MetadataValue",
11951
12092
  # },
11952
12093
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
11953
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
12094
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
11954
12095
  # website_redirect_location: "WebsiteRedirectLocation",
11955
12096
  # sse_customer_algorithm: "SSECustomerAlgorithm",
11956
12097
  # sse_customer_key: "SSECustomerKey",
@@ -12582,7 +12723,7 @@ module Aws::S3
12582
12723
  # {
12583
12724
  # id: "NotificationId",
12584
12725
  # queue_arn: "QueueArn", # required
12585
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
12726
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
12586
12727
  # filter: {
12587
12728
  # key: {
12588
12729
  # filter_rules: [
@@ -12646,8 +12787,8 @@ module Aws::S3
12646
12787
  #
12647
12788
  # {
12648
12789
  # id: "NotificationId",
12649
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
12650
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
12790
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
12791
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
12651
12792
  # queue: "QueueArn",
12652
12793
  # }
12653
12794
  #
@@ -12874,7 +13015,7 @@ module Aws::S3
12874
13015
  # destination: { # required
12875
13016
  # bucket: "BucketName", # required
12876
13017
  # account: "AccountId",
12877
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
13018
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
12878
13019
  # access_control_translation: {
12879
13020
  # owner: "Destination", # required, accepts Destination
12880
13021
  # },
@@ -12968,7 +13109,7 @@ module Aws::S3
12968
13109
  # destination: { # required
12969
13110
  # bucket: "BucketName", # required
12970
13111
  # account: "AccountId",
12971
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
13112
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
12972
13113
  # access_control_translation: {
12973
13114
  # owner: "Destination", # required, accepts Destination
12974
13115
  # },
@@ -13410,7 +13551,7 @@ module Aws::S3
13410
13551
  # value: "MetadataValue",
13411
13552
  # },
13412
13553
  # ],
13413
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
13554
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
13414
13555
  # },
13415
13556
  # },
13416
13557
  # },
@@ -13570,7 +13711,7 @@ module Aws::S3
13570
13711
  # value: "MetadataValue",
13571
13712
  # },
13572
13713
  # ],
13573
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
13714
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
13574
13715
  # },
13575
13716
  # },
13576
13717
  # }
@@ -13695,14 +13836,16 @@ module Aws::S3
13695
13836
  # transition: {
13696
13837
  # date: Time.now,
13697
13838
  # days: 1,
13698
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
13839
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
13699
13840
  # },
13700
13841
  # noncurrent_version_transition: {
13701
13842
  # noncurrent_days: 1,
13702
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
13843
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
13844
+ # newer_noncurrent_versions: 1,
13703
13845
  # },
13704
13846
  # noncurrent_version_expiration: {
13705
13847
  # noncurrent_days: 1,
13848
+ # newer_noncurrent_versions: 1,
13706
13849
  # },
13707
13850
  # abort_incomplete_multipart_upload: {
13708
13851
  # days_after_initiation: 1,
@@ -13750,12 +13893,13 @@ module Aws::S3
13750
13893
  # @!attribute [rw] noncurrent_version_transition
13751
13894
  # Container for the transition rule that describes when noncurrent
13752
13895
  # objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
13753
- # `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE` storage class.
13754
- # If your bucket is versioning-enabled (or versioning is suspended),
13755
- # you can set this action to request that Amazon S3 transition
13756
- # noncurrent object versions to the `STANDARD_IA`, `ONEZONE_IA`,
13757
- # `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE` storage class at
13758
- # a specific period in the object's lifetime.
13896
+ # `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE`
13897
+ # storage class. If your bucket is versioning-enabled (or versioning
13898
+ # is suspended), you can set this action to request that Amazon S3
13899
+ # transition noncurrent object versions to the `STANDARD_IA`,
13900
+ # `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or
13901
+ # `DEEP_ARCHIVE` storage class at a specific period in the object's
13902
+ # lifetime.
13759
13903
  # @return [Types::NoncurrentVersionTransition]
13760
13904
  #
13761
13905
  # @!attribute [rw] noncurrent_version_expiration
@@ -13862,7 +14006,7 @@ module Aws::S3
13862
14006
  # value: "MetadataValue",
13863
14007
  # },
13864
14008
  # ],
13865
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
14009
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
13866
14010
  # }
13867
14011
  #
13868
14012
  # @!attribute [rw] bucket_name
@@ -14599,6 +14743,15 @@ module Aws::S3
14599
14743
 
14600
14744
  # Container for granting information.
14601
14745
  #
14746
+ # Buckets that use the bucket owner enforced setting for Object
14747
+ # Ownership don't support target grants. For more information, see
14748
+ # [Permissions server access log delivery][1] in the *Amazon S3 User
14749
+ # Guide*.
14750
+ #
14751
+ #
14752
+ #
14753
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
14754
+ #
14602
14755
  # @note When making an API call, you may pass TargetGrant
14603
14756
  # data as a hash:
14604
14757
  #
@@ -14680,7 +14833,7 @@ module Aws::S3
14680
14833
  # {
14681
14834
  # id: "NotificationId",
14682
14835
  # topic_arn: "TopicArn", # required
14683
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
14836
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
14684
14837
  # filter: {
14685
14838
  # key: {
14686
14839
  # filter_rules: [
@@ -14750,8 +14903,8 @@ module Aws::S3
14750
14903
  #
14751
14904
  # {
14752
14905
  # id: "NotificationId",
14753
- # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
14754
- # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
14906
+ # events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
14907
+ # event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold, s3:ObjectRestore:Delete, s3:LifecycleTransition, s3:IntelligentTiering, s3:ObjectAcl:Put, s3:LifecycleExpiration:*, s3:LifecycleExpiration:Delete, s3:LifecycleExpiration:DeleteMarkerCreated, s3:ObjectTagging:*, s3:ObjectTagging:Put, s3:ObjectTagging:Delete
14755
14908
  # topic: "TopicArn",
14756
14909
  # }
14757
14910
  #
@@ -14800,7 +14953,7 @@ module Aws::S3
14800
14953
  # {
14801
14954
  # date: Time.now,
14802
14955
  # days: 1,
14803
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
14956
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
14804
14957
  # }
14805
14958
  #
14806
14959
  # @!attribute [rw] date
@@ -15438,7 +15591,7 @@ module Aws::S3
15438
15591
  # sse_customer_algorithm: "SSECustomerAlgorithm",
15439
15592
  # ssekms_key_id: "SSEKMSKeyId",
15440
15593
  # sse_customer_key_md5: "SSECustomerKeyMD5",
15441
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
15594
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
15442
15595
  # tag_count: 1,
15443
15596
  # version_id: "ObjectVersionId",
15444
15597
  # bucket_key_enabled: false,