aws-sdk-s3 1.107.0 → 1.111.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +19 -1
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
- data/lib/aws-sdk-s3/bucket_notification.rb +15 -3
- data/lib/aws-sdk-s3/client.rb +437 -310
- data/lib/aws-sdk-s3/client_api.rb +7 -0
- data/lib/aws-sdk-s3/object.rb +6 -16
- data/lib/aws-sdk-s3/object_summary.rb +4 -4
- data/lib/aws-sdk-s3/object_version.rb +2 -12
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +6 -0
- data/lib/aws-sdk-s3/resource.rb +18 -0
- data/lib/aws-sdk-s3/types.rb +160 -93
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -536,13 +536,13 @@ module Aws::S3
|
|
536
536
|
# {
|
537
537
|
# date: Time.now,
|
538
538
|
# days: 1,
|
539
|
-
# 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
|
540
540
|
# },
|
541
541
|
# ],
|
542
542
|
# noncurrent_version_transitions: [
|
543
543
|
# {
|
544
544
|
# noncurrent_days: 1,
|
545
|
-
# 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
546
|
# newer_noncurrent_versions: 1,
|
547
547
|
# },
|
548
548
|
# ],
|
@@ -857,8 +857,8 @@ module Aws::S3
|
|
857
857
|
#
|
858
858
|
# {
|
859
859
|
# id: "NotificationId",
|
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
|
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
|
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
|
862
862
|
# cloud_function: "CloudFunction",
|
863
863
|
# invocation_role: "CloudFunctionInvocationRole",
|
864
864
|
# }
|
@@ -1323,7 +1323,7 @@ module Aws::S3
|
|
1323
1323
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
1324
1324
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
1325
1325
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1326
|
-
# 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
|
1327
1327
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1328
1328
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1329
1329
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1786,6 +1786,7 @@ module Aws::S3
|
|
1786
1786
|
# grant_write: "GrantWrite",
|
1787
1787
|
# grant_write_acp: "GrantWriteACP",
|
1788
1788
|
# object_lock_enabled_for_bucket: false,
|
1789
|
+
# object_ownership: "BucketOwnerPreferred", # accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
1789
1790
|
# }
|
1790
1791
|
#
|
1791
1792
|
# @!attribute [rw] acl
|
@@ -1829,6 +1830,25 @@ module Aws::S3
|
|
1829
1830
|
# bucket.
|
1830
1831
|
# @return [Boolean]
|
1831
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
|
+
#
|
1832
1852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest AWS API Documentation
|
1833
1853
|
#
|
1834
1854
|
class CreateBucketRequest < Struct.new(
|
@@ -1840,7 +1860,8 @@ module Aws::S3
|
|
1840
1860
|
:grant_read_acp,
|
1841
1861
|
:grant_write,
|
1842
1862
|
:grant_write_acp,
|
1843
|
-
:object_lock_enabled_for_bucket
|
1863
|
+
:object_lock_enabled_for_bucket,
|
1864
|
+
:object_ownership)
|
1844
1865
|
SENSITIVE = []
|
1845
1866
|
include Aws::Structure
|
1846
1867
|
end
|
@@ -1986,7 +2007,7 @@ module Aws::S3
|
|
1986
2007
|
# "MetadataKey" => "MetadataValue",
|
1987
2008
|
# },
|
1988
2009
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1989
|
-
# 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
|
1990
2011
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1991
2012
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1992
2013
|
# sse_customer_key: "SSECustomerKey",
|
@@ -3162,7 +3183,7 @@ module Aws::S3
|
|
3162
3183
|
# {
|
3163
3184
|
# bucket: "BucketName", # required
|
3164
3185
|
# account: "AccountId",
|
3165
|
-
# 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
|
3166
3187
|
# access_control_translation: {
|
3167
3188
|
# owner: "Destination", # required, accepts Destination
|
3168
3189
|
# },
|
@@ -4208,6 +4229,14 @@ module Aws::S3
|
|
4208
4229
|
include Aws::Structure
|
4209
4230
|
end
|
4210
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
|
+
|
4211
4240
|
# Optional configuration to replicate existing source bucket objects.
|
4212
4241
|
# For more information, see [Replicating Existing Objects][1] in the
|
4213
4242
|
# *Amazon S3 User Guide*.
|
@@ -4808,8 +4837,8 @@ module Aws::S3
|
|
4808
4837
|
end
|
4809
4838
|
|
4810
4839
|
# @!attribute [rw] ownership_controls
|
4811
|
-
# The `OwnershipControls` (BucketOwnerPreferred
|
4812
|
-
# currently in effect for this Amazon S3 bucket.
|
4840
|
+
# The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred,
|
4841
|
+
# or ObjectWriter) currently in effect for this Amazon S3 bucket.
|
4813
4842
|
# @return [Types::OwnershipControls]
|
4814
4843
|
#
|
4815
4844
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketOwnershipControlsOutput AWS API Documentation
|
@@ -6578,18 +6607,8 @@ module Aws::S3
|
|
6578
6607
|
# @return [String]
|
6579
6608
|
#
|
6580
6609
|
# @!attribute [rw] range
|
6581
|
-
#
|
6582
|
-
#
|
6583
|
-
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
|
6584
|
-
#
|
6585
|
-
# <note markdown="1"> Amazon S3 doesn't support retrieving multiple ranges of data per
|
6586
|
-
# `GET` request.
|
6587
|
-
#
|
6588
|
-
# </note>
|
6589
|
-
#
|
6590
|
-
#
|
6591
|
-
#
|
6592
|
-
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
|
6610
|
+
# Because `HeadObject` returns only the metadata for an object, this
|
6611
|
+
# parameter has no effect.
|
6593
6612
|
# @return [String]
|
6594
6613
|
#
|
6595
6614
|
# @!attribute [rw] version_id
|
@@ -7255,7 +7274,7 @@ module Aws::S3
|
|
7255
7274
|
# {
|
7256
7275
|
# id: "NotificationId",
|
7257
7276
|
# lambda_function_arn: "LambdaFunctionArn", # required
|
7258
|
-
# 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
|
7277
|
+
# 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
|
7259
7278
|
# filter: {
|
7260
7279
|
# key: {
|
7261
7280
|
# filter_rules: [
|
@@ -7329,11 +7348,11 @@ module Aws::S3
|
|
7329
7348
|
# transition: {
|
7330
7349
|
# date: Time.now,
|
7331
7350
|
# days: 1,
|
7332
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7351
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7333
7352
|
# },
|
7334
7353
|
# noncurrent_version_transition: {
|
7335
7354
|
# noncurrent_days: 1,
|
7336
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7355
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7337
7356
|
# newer_noncurrent_versions: 1,
|
7338
7357
|
# },
|
7339
7358
|
# noncurrent_version_expiration: {
|
@@ -7435,13 +7454,13 @@ module Aws::S3
|
|
7435
7454
|
# {
|
7436
7455
|
# date: Time.now,
|
7437
7456
|
# days: 1,
|
7438
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7457
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7439
7458
|
# },
|
7440
7459
|
# ],
|
7441
7460
|
# noncurrent_version_transitions: [
|
7442
7461
|
# {
|
7443
7462
|
# noncurrent_days: 1,
|
7444
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7463
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7445
7464
|
# newer_noncurrent_versions: 1,
|
7446
7465
|
# },
|
7447
7466
|
# ],
|
@@ -9000,6 +9019,15 @@ module Aws::S3
|
|
9000
9019
|
#
|
9001
9020
|
# @!attribute [rw] target_grants
|
9002
9021
|
# Container for granting information.
|
9022
|
+
#
|
9023
|
+
# Buckets that use the bucket owner enforced setting for Object
|
9024
|
+
# Ownership don't support target grants. For more information, see
|
9025
|
+
# [Permissions for server access log delivery][1] in the *Amazon S3
|
9026
|
+
# User Guide*.
|
9027
|
+
#
|
9028
|
+
#
|
9029
|
+
#
|
9030
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
|
9003
9031
|
# @return [Array<Types::TargetGrant>]
|
9004
9032
|
#
|
9005
9033
|
# @!attribute [rw] target_prefix
|
@@ -9341,19 +9369,20 @@ module Aws::S3
|
|
9341
9369
|
|
9342
9370
|
# Container for the transition rule that describes when noncurrent
|
9343
9371
|
# objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
|
9344
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE`
|
9345
|
-
# your bucket is versioning-enabled (or versioning is
|
9346
|
-
# can set this action to request that Amazon S3
|
9347
|
-
# object versions to the `STANDARD_IA`,
|
9348
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or
|
9349
|
-
# specific period in the object's
|
9372
|
+
# `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE`
|
9373
|
+
# storage class. If your bucket is versioning-enabled (or versioning is
|
9374
|
+
# suspended), you can set this action to request that Amazon S3
|
9375
|
+
# transition noncurrent object versions to the `STANDARD_IA`,
|
9376
|
+
# `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or
|
9377
|
+
# `DEEP_ARCHIVE` storage class at a specific period in the object's
|
9378
|
+
# lifetime.
|
9350
9379
|
#
|
9351
9380
|
# @note When making an API call, you may pass NoncurrentVersionTransition
|
9352
9381
|
# data as a hash:
|
9353
9382
|
#
|
9354
9383
|
# {
|
9355
9384
|
# noncurrent_days: 1,
|
9356
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
9385
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
9357
9386
|
# newer_noncurrent_versions: 1,
|
9358
9387
|
# }
|
9359
9388
|
#
|
@@ -9406,7 +9435,7 @@ module Aws::S3
|
|
9406
9435
|
# {
|
9407
9436
|
# id: "NotificationId",
|
9408
9437
|
# topic_arn: "TopicArn", # required
|
9409
|
-
# 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
|
9438
|
+
# 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
|
9410
9439
|
# filter: {
|
9411
9440
|
# key: {
|
9412
9441
|
# filter_rules: [
|
@@ -9423,7 +9452,7 @@ module Aws::S3
|
|
9423
9452
|
# {
|
9424
9453
|
# id: "NotificationId",
|
9425
9454
|
# queue_arn: "QueueArn", # required
|
9426
|
-
# 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
|
9455
|
+
# 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
|
9427
9456
|
# filter: {
|
9428
9457
|
# key: {
|
9429
9458
|
# filter_rules: [
|
@@ -9440,7 +9469,7 @@ module Aws::S3
|
|
9440
9469
|
# {
|
9441
9470
|
# id: "NotificationId",
|
9442
9471
|
# lambda_function_arn: "LambdaFunctionArn", # required
|
9443
|
-
# 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
|
9472
|
+
# 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
|
9444
9473
|
# filter: {
|
9445
9474
|
# key: {
|
9446
9475
|
# filter_rules: [
|
@@ -9453,6 +9482,8 @@ module Aws::S3
|
|
9453
9482
|
# },
|
9454
9483
|
# },
|
9455
9484
|
# ],
|
9485
|
+
# event_bridge_configuration: {
|
9486
|
+
# },
|
9456
9487
|
# }
|
9457
9488
|
#
|
9458
9489
|
# @!attribute [rw] topic_configurations
|
@@ -9470,12 +9501,17 @@ module Aws::S3
|
|
9470
9501
|
# invoke them.
|
9471
9502
|
# @return [Array<Types::LambdaFunctionConfiguration>]
|
9472
9503
|
#
|
9504
|
+
# @!attribute [rw] event_bridge_configuration
|
9505
|
+
# Enables delivery of events to Amazon EventBridge.
|
9506
|
+
# @return [Types::EventBridgeConfiguration]
|
9507
|
+
#
|
9473
9508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration AWS API Documentation
|
9474
9509
|
#
|
9475
9510
|
class NotificationConfiguration < Struct.new(
|
9476
9511
|
:topic_configurations,
|
9477
9512
|
:queue_configurations,
|
9478
|
-
:lambda_function_configurations
|
9513
|
+
:lambda_function_configurations,
|
9514
|
+
:event_bridge_configuration)
|
9479
9515
|
SENSITIVE = []
|
9480
9516
|
include Aws::Structure
|
9481
9517
|
end
|
@@ -9486,20 +9522,20 @@ module Aws::S3
|
|
9486
9522
|
# {
|
9487
9523
|
# topic_configuration: {
|
9488
9524
|
# id: "NotificationId",
|
9489
|
-
# 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
|
9490
|
-
# 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
|
9525
|
+
# 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
|
9526
|
+
# 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
|
9491
9527
|
# topic: "TopicArn",
|
9492
9528
|
# },
|
9493
9529
|
# queue_configuration: {
|
9494
9530
|
# id: "NotificationId",
|
9495
|
-
# 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
|
9496
|
-
# 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
|
9531
|
+
# 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
|
9532
|
+
# 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
|
9497
9533
|
# queue: "QueueArn",
|
9498
9534
|
# },
|
9499
9535
|
# cloud_function_configuration: {
|
9500
9536
|
# id: "NotificationId",
|
9501
|
-
# 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
|
9502
|
-
# 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
|
9537
|
+
# 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
|
9538
|
+
# 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
|
9503
9539
|
# cloud_function: "CloudFunction",
|
9504
9540
|
# invocation_role: "CloudFunctionInvocationRole",
|
9505
9541
|
# },
|
@@ -9879,7 +9915,7 @@ module Aws::S3
|
|
9879
9915
|
# value: "MetadataValue",
|
9880
9916
|
# },
|
9881
9917
|
# ],
|
9882
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
9918
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
9883
9919
|
# },
|
9884
9920
|
# }
|
9885
9921
|
#
|
@@ -9966,7 +10002,7 @@ module Aws::S3
|
|
9966
10002
|
# {
|
9967
10003
|
# rules: [ # required
|
9968
10004
|
# {
|
9969
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
10005
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
9970
10006
|
# },
|
9971
10007
|
# ],
|
9972
10008
|
# }
|
@@ -9989,7 +10025,7 @@ module Aws::S3
|
|
9989
10025
|
# data as a hash:
|
9990
10026
|
#
|
9991
10027
|
# {
|
9992
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
10028
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
9993
10029
|
# }
|
9994
10030
|
#
|
9995
10031
|
# @!attribute [rw] object_ownership
|
@@ -10002,6 +10038,13 @@ module Aws::S3
|
|
10002
10038
|
#
|
10003
10039
|
# ObjectWriter - The uploading account will own the object if the
|
10004
10040
|
# object is uploaded with the `bucket-owner-full-control` canned ACL.
|
10041
|
+
#
|
10042
|
+
# BucketOwnerEnforced - Access control lists (ACLs) are disabled and
|
10043
|
+
# no longer affect permissions. The bucket owner automatically owns
|
10044
|
+
# and has full control over every object in the bucket. The bucket
|
10045
|
+
# only accepts PUT requests that don't specify an ACL or bucket owner
|
10046
|
+
# full control ACLs, such as the `bucket-owner-full-control` canned
|
10047
|
+
# ACL or an equivalent form of this ACL expressed in the XML format.
|
10005
10048
|
# @return [String]
|
10006
10049
|
#
|
10007
10050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControlsRule AWS API Documentation
|
@@ -10689,13 +10732,13 @@ module Aws::S3
|
|
10689
10732
|
# {
|
10690
10733
|
# date: Time.now,
|
10691
10734
|
# days: 1,
|
10692
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10735
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10693
10736
|
# },
|
10694
10737
|
# ],
|
10695
10738
|
# noncurrent_version_transitions: [
|
10696
10739
|
# {
|
10697
10740
|
# noncurrent_days: 1,
|
10698
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10741
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10699
10742
|
# newer_noncurrent_versions: 1,
|
10700
10743
|
# },
|
10701
10744
|
# ],
|
@@ -10756,11 +10799,11 @@ module Aws::S3
|
|
10756
10799
|
# transition: {
|
10757
10800
|
# date: Time.now,
|
10758
10801
|
# days: 1,
|
10759
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10802
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10760
10803
|
# },
|
10761
10804
|
# noncurrent_version_transition: {
|
10762
10805
|
# noncurrent_days: 1,
|
10763
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10806
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10764
10807
|
# newer_noncurrent_versions: 1,
|
10765
10808
|
# },
|
10766
10809
|
# noncurrent_version_expiration: {
|
@@ -10934,7 +10977,7 @@ module Aws::S3
|
|
10934
10977
|
# {
|
10935
10978
|
# id: "NotificationId",
|
10936
10979
|
# topic_arn: "TopicArn", # required
|
10937
|
-
# 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
|
10980
|
+
# 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
|
10938
10981
|
# filter: {
|
10939
10982
|
# key: {
|
10940
10983
|
# filter_rules: [
|
@@ -10951,7 +10994,7 @@ module Aws::S3
|
|
10951
10994
|
# {
|
10952
10995
|
# id: "NotificationId",
|
10953
10996
|
# queue_arn: "QueueArn", # required
|
10954
|
-
# 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
|
10997
|
+
# 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
|
10955
10998
|
# filter: {
|
10956
10999
|
# key: {
|
10957
11000
|
# filter_rules: [
|
@@ -10968,7 +11011,7 @@ module Aws::S3
|
|
10968
11011
|
# {
|
10969
11012
|
# id: "NotificationId",
|
10970
11013
|
# lambda_function_arn: "LambdaFunctionArn", # required
|
10971
|
-
# 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
|
11014
|
+
# 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
|
10972
11015
|
# filter: {
|
10973
11016
|
# key: {
|
10974
11017
|
# filter_rules: [
|
@@ -10981,8 +11024,11 @@ module Aws::S3
|
|
10981
11024
|
# },
|
10982
11025
|
# },
|
10983
11026
|
# ],
|
11027
|
+
# event_bridge_configuration: {
|
11028
|
+
# },
|
10984
11029
|
# },
|
10985
11030
|
# expected_bucket_owner: "AccountId",
|
11031
|
+
# skip_destination_validation: false,
|
10986
11032
|
# }
|
10987
11033
|
#
|
10988
11034
|
# @!attribute [rw] bucket
|
@@ -11001,12 +11047,18 @@ module Aws::S3
|
|
11001
11047
|
# (Access Denied)` error.
|
11002
11048
|
# @return [String]
|
11003
11049
|
#
|
11050
|
+
# @!attribute [rw] skip_destination_validation
|
11051
|
+
# Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations.
|
11052
|
+
# True or false value.
|
11053
|
+
# @return [Boolean]
|
11054
|
+
#
|
11004
11055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationRequest AWS API Documentation
|
11005
11056
|
#
|
11006
11057
|
class PutBucketNotificationConfigurationRequest < Struct.new(
|
11007
11058
|
:bucket,
|
11008
11059
|
:notification_configuration,
|
11009
|
-
:expected_bucket_owner
|
11060
|
+
:expected_bucket_owner,
|
11061
|
+
:skip_destination_validation)
|
11010
11062
|
SENSITIVE = []
|
11011
11063
|
include Aws::Structure
|
11012
11064
|
end
|
@@ -11020,20 +11072,20 @@ module Aws::S3
|
|
11020
11072
|
# notification_configuration: { # required
|
11021
11073
|
# topic_configuration: {
|
11022
11074
|
# id: "NotificationId",
|
11023
|
-
# 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
|
11024
|
-
# 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
|
11075
|
+
# 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
|
11076
|
+
# 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
|
11025
11077
|
# topic: "TopicArn",
|
11026
11078
|
# },
|
11027
11079
|
# queue_configuration: {
|
11028
11080
|
# id: "NotificationId",
|
11029
|
-
# 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
|
11030
|
-
# 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
|
11081
|
+
# 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
|
11082
|
+
# 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
|
11031
11083
|
# queue: "QueueArn",
|
11032
11084
|
# },
|
11033
11085
|
# cloud_function_configuration: {
|
11034
11086
|
# id: "NotificationId",
|
11035
|
-
# 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
|
11036
|
-
# 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
|
11087
|
+
# 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
|
11088
|
+
# 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
|
11037
11089
|
# cloud_function: "CloudFunction",
|
11038
11090
|
# invocation_role: "CloudFunctionInvocationRole",
|
11039
11091
|
# },
|
@@ -11084,7 +11136,7 @@ module Aws::S3
|
|
11084
11136
|
# ownership_controls: { # required
|
11085
11137
|
# rules: [ # required
|
11086
11138
|
# {
|
11087
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
11139
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
11088
11140
|
# },
|
11089
11141
|
# ],
|
11090
11142
|
# },
|
@@ -11110,8 +11162,8 @@ module Aws::S3
|
|
11110
11162
|
# @return [String]
|
11111
11163
|
#
|
11112
11164
|
# @!attribute [rw] ownership_controls
|
11113
|
-
# The `OwnershipControls` (BucketOwnerPreferred
|
11114
|
-
# you want to apply to this Amazon S3 bucket.
|
11165
|
+
# The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred,
|
11166
|
+
# or ObjectWriter) that you want to apply to this Amazon S3 bucket.
|
11115
11167
|
# @return [Types::OwnershipControls]
|
11116
11168
|
#
|
11117
11169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControlsRequest AWS API Documentation
|
@@ -11219,7 +11271,7 @@ module Aws::S3
|
|
11219
11271
|
# destination: { # required
|
11220
11272
|
# bucket: "BucketName", # required
|
11221
11273
|
# account: "AccountId",
|
11222
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
11274
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
11223
11275
|
# access_control_translation: {
|
11224
11276
|
# owner: "Destination", # required, accepts Destination
|
11225
11277
|
# },
|
@@ -12029,7 +12081,7 @@ module Aws::S3
|
|
12029
12081
|
# "MetadataKey" => "MetadataValue",
|
12030
12082
|
# },
|
12031
12083
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
12032
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
12084
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
12033
12085
|
# website_redirect_location: "WebsiteRedirectLocation",
|
12034
12086
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
12035
12087
|
# sse_customer_key: "SSECustomerKey",
|
@@ -12661,7 +12713,7 @@ module Aws::S3
|
|
12661
12713
|
# {
|
12662
12714
|
# id: "NotificationId",
|
12663
12715
|
# queue_arn: "QueueArn", # required
|
12664
|
-
# 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
|
12716
|
+
# 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
|
12665
12717
|
# filter: {
|
12666
12718
|
# key: {
|
12667
12719
|
# filter_rules: [
|
@@ -12725,8 +12777,8 @@ module Aws::S3
|
|
12725
12777
|
#
|
12726
12778
|
# {
|
12727
12779
|
# id: "NotificationId",
|
12728
|
-
# 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
|
12729
|
-
# 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
|
12780
|
+
# 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
|
12781
|
+
# 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
|
12730
12782
|
# queue: "QueueArn",
|
12731
12783
|
# }
|
12732
12784
|
#
|
@@ -12953,7 +13005,7 @@ module Aws::S3
|
|
12953
13005
|
# destination: { # required
|
12954
13006
|
# bucket: "BucketName", # required
|
12955
13007
|
# account: "AccountId",
|
12956
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13008
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
12957
13009
|
# access_control_translation: {
|
12958
13010
|
# owner: "Destination", # required, accepts Destination
|
12959
13011
|
# },
|
@@ -13047,7 +13099,7 @@ module Aws::S3
|
|
13047
13099
|
# destination: { # required
|
13048
13100
|
# bucket: "BucketName", # required
|
13049
13101
|
# account: "AccountId",
|
13050
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13102
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13051
13103
|
# access_control_translation: {
|
13052
13104
|
# owner: "Destination", # required, accepts Destination
|
13053
13105
|
# },
|
@@ -13489,7 +13541,7 @@ module Aws::S3
|
|
13489
13541
|
# value: "MetadataValue",
|
13490
13542
|
# },
|
13491
13543
|
# ],
|
13492
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13544
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13493
13545
|
# },
|
13494
13546
|
# },
|
13495
13547
|
# },
|
@@ -13649,7 +13701,7 @@ module Aws::S3
|
|
13649
13701
|
# value: "MetadataValue",
|
13650
13702
|
# },
|
13651
13703
|
# ],
|
13652
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13704
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13653
13705
|
# },
|
13654
13706
|
# },
|
13655
13707
|
# }
|
@@ -13774,11 +13826,11 @@ module Aws::S3
|
|
13774
13826
|
# transition: {
|
13775
13827
|
# date: Time.now,
|
13776
13828
|
# days: 1,
|
13777
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
13829
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
13778
13830
|
# },
|
13779
13831
|
# noncurrent_version_transition: {
|
13780
13832
|
# noncurrent_days: 1,
|
13781
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
13833
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
13782
13834
|
# newer_noncurrent_versions: 1,
|
13783
13835
|
# },
|
13784
13836
|
# noncurrent_version_expiration: {
|
@@ -13831,12 +13883,13 @@ module Aws::S3
|
|
13831
13883
|
# @!attribute [rw] noncurrent_version_transition
|
13832
13884
|
# Container for the transition rule that describes when noncurrent
|
13833
13885
|
# objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
|
13834
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE`
|
13835
|
-
# If your bucket is versioning-enabled (or versioning
|
13836
|
-
# you can set this action to request that Amazon S3
|
13837
|
-
# noncurrent object versions to the `STANDARD_IA`,
|
13838
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or
|
13839
|
-
# a specific period in the object's
|
13886
|
+
# `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE`
|
13887
|
+
# storage class. If your bucket is versioning-enabled (or versioning
|
13888
|
+
# is suspended), you can set this action to request that Amazon S3
|
13889
|
+
# transition noncurrent object versions to the `STANDARD_IA`,
|
13890
|
+
# `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or
|
13891
|
+
# `DEEP_ARCHIVE` storage class at a specific period in the object's
|
13892
|
+
# lifetime.
|
13840
13893
|
# @return [Types::NoncurrentVersionTransition]
|
13841
13894
|
#
|
13842
13895
|
# @!attribute [rw] noncurrent_version_expiration
|
@@ -13943,7 +13996,7 @@ module Aws::S3
|
|
13943
13996
|
# value: "MetadataValue",
|
13944
13997
|
# },
|
13945
13998
|
# ],
|
13946
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13999
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13947
14000
|
# }
|
13948
14001
|
#
|
13949
14002
|
# @!attribute [rw] bucket_name
|
@@ -14312,9 +14365,13 @@ module Aws::S3
|
|
14312
14365
|
|
14313
14366
|
# Describes the default server-side encryption to apply to new objects
|
14314
14367
|
# in the bucket. If a PUT Object request doesn't specify any
|
14315
|
-
# server-side encryption, this default encryption will be applied.
|
14316
|
-
#
|
14317
|
-
#
|
14368
|
+
# server-side encryption, this default encryption will be applied. If
|
14369
|
+
# you don't specify a customer managed key at configuration, Amazon S3
|
14370
|
+
# automatically creates an Amazon Web Services KMS key in your Amazon
|
14371
|
+
# Web Services account the first time that you add an object encrypted
|
14372
|
+
# with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for
|
14373
|
+
# SSE-KMS. For more information, see [PUT Bucket encryption][1] in the
|
14374
|
+
# *Amazon S3 API Reference*.
|
14318
14375
|
#
|
14319
14376
|
#
|
14320
14377
|
#
|
@@ -14339,9 +14396,10 @@ module Aws::S3
|
|
14339
14396
|
# `aws:kms`.
|
14340
14397
|
#
|
14341
14398
|
# You can specify the key ID or the Amazon Resource Name (ARN) of the
|
14342
|
-
# KMS key. However, if you are using encryption with cross-account
|
14343
|
-
# operations
|
14344
|
-
# information, see [Using encryption
|
14399
|
+
# KMS key. However, if you are using encryption with cross-account or
|
14400
|
+
# Amazon Web Services service operations you must use a fully
|
14401
|
+
# qualified KMS key ARN. For more information, see [Using encryption
|
14402
|
+
# for cross-account operations][1].
|
14345
14403
|
#
|
14346
14404
|
# **For example:**
|
14347
14405
|
#
|
@@ -14680,6 +14738,15 @@ module Aws::S3
|
|
14680
14738
|
|
14681
14739
|
# Container for granting information.
|
14682
14740
|
#
|
14741
|
+
# Buckets that use the bucket owner enforced setting for Object
|
14742
|
+
# Ownership don't support target grants. For more information, see
|
14743
|
+
# [Permissions server access log delivery][1] in the *Amazon S3 User
|
14744
|
+
# Guide*.
|
14745
|
+
#
|
14746
|
+
#
|
14747
|
+
#
|
14748
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
|
14749
|
+
#
|
14683
14750
|
# @note When making an API call, you may pass TargetGrant
|
14684
14751
|
# data as a hash:
|
14685
14752
|
#
|
@@ -14761,7 +14828,7 @@ module Aws::S3
|
|
14761
14828
|
# {
|
14762
14829
|
# id: "NotificationId",
|
14763
14830
|
# topic_arn: "TopicArn", # required
|
14764
|
-
# 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
|
14831
|
+
# 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
|
14765
14832
|
# filter: {
|
14766
14833
|
# key: {
|
14767
14834
|
# filter_rules: [
|
@@ -14831,8 +14898,8 @@ module Aws::S3
|
|
14831
14898
|
#
|
14832
14899
|
# {
|
14833
14900
|
# id: "NotificationId",
|
14834
|
-
# 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
|
14835
|
-
# 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
|
14901
|
+
# 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
|
14902
|
+
# 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
|
14836
14903
|
# topic: "TopicArn",
|
14837
14904
|
# }
|
14838
14905
|
#
|
@@ -14881,7 +14948,7 @@ module Aws::S3
|
|
14881
14948
|
# {
|
14882
14949
|
# date: Time.now,
|
14883
14950
|
# days: 1,
|
14884
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
14951
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
14885
14952
|
# }
|
14886
14953
|
#
|
14887
14954
|
# @!attribute [rw] date
|
@@ -15519,7 +15586,7 @@ module Aws::S3
|
|
15519
15586
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
15520
15587
|
# ssekms_key_id: "SSEKMSKeyId",
|
15521
15588
|
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
15522
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
15589
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
15523
15590
|
# tag_count: 1,
|
15524
15591
|
# version_id: "ObjectVersionId",
|
15525
15592
|
# bucket_key_enabled: false,
|