aws-sdk-s3 1.106.0 → 1.111.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +19 -1
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +4 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +8 -2
- data/lib/aws-sdk-s3/bucket_notification.rb +15 -3
- data/lib/aws-sdk-s3/client.rb +490 -340
- data/lib/aws-sdk-s3/client_api.rb +16 -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 +244 -96
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -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
|
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
|
@@ -6569,18 +6607,8 @@ module Aws::S3
|
|
6569
6607
|
# @return [String]
|
6570
6608
|
#
|
6571
6609
|
# @!attribute [rw] range
|
6572
|
-
#
|
6573
|
-
#
|
6574
|
-
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
|
6575
|
-
#
|
6576
|
-
# <note markdown="1"> Amazon S3 doesn't support retrieving multiple ranges of data per
|
6577
|
-
# `GET` request.
|
6578
|
-
#
|
6579
|
-
# </note>
|
6580
|
-
#
|
6581
|
-
#
|
6582
|
-
#
|
6583
|
-
# [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.
|
6584
6612
|
# @return [String]
|
6585
6613
|
#
|
6586
6614
|
# @!attribute [rw] version_id
|
@@ -7246,7 +7274,7 @@ module Aws::S3
|
|
7246
7274
|
# {
|
7247
7275
|
# id: "NotificationId",
|
7248
7276
|
# 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
|
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
|
7250
7278
|
# filter: {
|
7251
7279
|
# key: {
|
7252
7280
|
# filter_rules: [
|
@@ -7320,14 +7348,16 @@ module Aws::S3
|
|
7320
7348
|
# transition: {
|
7321
7349
|
# date: Time.now,
|
7322
7350
|
# days: 1,
|
7323
|
-
# 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
|
7324
7352
|
# },
|
7325
7353
|
# noncurrent_version_transition: {
|
7326
7354
|
# noncurrent_days: 1,
|
7327
|
-
# 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
|
7356
|
+
# newer_noncurrent_versions: 1,
|
7328
7357
|
# },
|
7329
7358
|
# noncurrent_version_expiration: {
|
7330
7359
|
# noncurrent_days: 1,
|
7360
|
+
# newer_noncurrent_versions: 1,
|
7331
7361
|
# },
|
7332
7362
|
# abort_incomplete_multipart_upload: {
|
7333
7363
|
# days_after_initiation: 1,
|
@@ -7405,6 +7435,8 @@ module Aws::S3
|
|
7405
7435
|
# key: "ObjectKey", # required
|
7406
7436
|
# value: "Value", # required
|
7407
7437
|
# },
|
7438
|
+
# object_size_greater_than: 1,
|
7439
|
+
# object_size_less_than: 1,
|
7408
7440
|
# and: {
|
7409
7441
|
# prefix: "Prefix",
|
7410
7442
|
# tags: [
|
@@ -7413,6 +7445,8 @@ module Aws::S3
|
|
7413
7445
|
# value: "Value", # required
|
7414
7446
|
# },
|
7415
7447
|
# ],
|
7448
|
+
# object_size_greater_than: 1,
|
7449
|
+
# object_size_less_than: 1,
|
7416
7450
|
# },
|
7417
7451
|
# },
|
7418
7452
|
# status: "Enabled", # required, accepts Enabled, Disabled
|
@@ -7420,17 +7454,19 @@ module Aws::S3
|
|
7420
7454
|
# {
|
7421
7455
|
# date: Time.now,
|
7422
7456
|
# days: 1,
|
7423
|
-
# 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
|
7424
7458
|
# },
|
7425
7459
|
# ],
|
7426
7460
|
# noncurrent_version_transitions: [
|
7427
7461
|
# {
|
7428
7462
|
# noncurrent_days: 1,
|
7429
|
-
# 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
|
7464
|
+
# newer_noncurrent_versions: 1,
|
7430
7465
|
# },
|
7431
7466
|
# ],
|
7432
7467
|
# noncurrent_version_expiration: {
|
7433
7468
|
# noncurrent_days: 1,
|
7469
|
+
# newer_noncurrent_versions: 1,
|
7434
7470
|
# },
|
7435
7471
|
# abort_incomplete_multipart_upload: {
|
7436
7472
|
# days_after_initiation: 1,
|
@@ -7538,6 +7574,8 @@ module Aws::S3
|
|
7538
7574
|
# value: "Value", # required
|
7539
7575
|
# },
|
7540
7576
|
# ],
|
7577
|
+
# object_size_greater_than: 1,
|
7578
|
+
# object_size_less_than: 1,
|
7541
7579
|
# }
|
7542
7580
|
#
|
7543
7581
|
# @!attribute [rw] prefix
|
@@ -7549,11 +7587,21 @@ module Aws::S3
|
|
7549
7587
|
# the rule to apply.
|
7550
7588
|
# @return [Array<Types::Tag>]
|
7551
7589
|
#
|
7590
|
+
# @!attribute [rw] object_size_greater_than
|
7591
|
+
# Minimum object size to which the rule applies.
|
7592
|
+
# @return [Integer]
|
7593
|
+
#
|
7594
|
+
# @!attribute [rw] object_size_less_than
|
7595
|
+
# Maximum object size to which the rule applies.
|
7596
|
+
# @return [Integer]
|
7597
|
+
#
|
7552
7598
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleAndOperator AWS API Documentation
|
7553
7599
|
#
|
7554
7600
|
class LifecycleRuleAndOperator < Struct.new(
|
7555
7601
|
:prefix,
|
7556
|
-
:tags
|
7602
|
+
:tags,
|
7603
|
+
:object_size_greater_than,
|
7604
|
+
:object_size_less_than)
|
7557
7605
|
SENSITIVE = []
|
7558
7606
|
include Aws::Structure
|
7559
7607
|
end
|
@@ -7571,6 +7619,8 @@ module Aws::S3
|
|
7571
7619
|
# key: "ObjectKey", # required
|
7572
7620
|
# value: "Value", # required
|
7573
7621
|
# },
|
7622
|
+
# object_size_greater_than: 1,
|
7623
|
+
# object_size_less_than: 1,
|
7574
7624
|
# and: {
|
7575
7625
|
# prefix: "Prefix",
|
7576
7626
|
# tags: [
|
@@ -7579,6 +7629,8 @@ module Aws::S3
|
|
7579
7629
|
# value: "Value", # required
|
7580
7630
|
# },
|
7581
7631
|
# ],
|
7632
|
+
# object_size_greater_than: 1,
|
7633
|
+
# object_size_less_than: 1,
|
7582
7634
|
# },
|
7583
7635
|
# }
|
7584
7636
|
#
|
@@ -7599,6 +7651,14 @@ module Aws::S3
|
|
7599
7651
|
# to apply.
|
7600
7652
|
# @return [Types::Tag]
|
7601
7653
|
#
|
7654
|
+
# @!attribute [rw] object_size_greater_than
|
7655
|
+
# Minimum object size to which the rule applies.
|
7656
|
+
# @return [Integer]
|
7657
|
+
#
|
7658
|
+
# @!attribute [rw] object_size_less_than
|
7659
|
+
# Maximum object size to which the rule applies.
|
7660
|
+
# @return [Integer]
|
7661
|
+
#
|
7602
7662
|
# @!attribute [rw] and
|
7603
7663
|
# This is used in a Lifecycle Rule Filter to apply a logical AND to
|
7604
7664
|
# two or more predicates. The Lifecycle Rule will apply to any object
|
@@ -7610,6 +7670,8 @@ module Aws::S3
|
|
7610
7670
|
class LifecycleRuleFilter < Struct.new(
|
7611
7671
|
:prefix,
|
7612
7672
|
:tag,
|
7673
|
+
:object_size_greater_than,
|
7674
|
+
:object_size_less_than,
|
7613
7675
|
:and)
|
7614
7676
|
SENSITIVE = []
|
7615
7677
|
include Aws::Structure
|
@@ -8957,6 +9019,15 @@ module Aws::S3
|
|
8957
9019
|
#
|
8958
9020
|
# @!attribute [rw] target_grants
|
8959
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
|
8960
9031
|
# @return [Array<Types::TargetGrant>]
|
8961
9032
|
#
|
8962
9033
|
# @!attribute [rw] target_prefix
|
@@ -9261,6 +9332,7 @@ module Aws::S3
|
|
9261
9332
|
#
|
9262
9333
|
# {
|
9263
9334
|
# noncurrent_days: 1,
|
9335
|
+
# newer_noncurrent_versions: 1,
|
9264
9336
|
# }
|
9265
9337
|
#
|
9266
9338
|
# @!attribute [rw] noncurrent_days
|
@@ -9274,29 +9346,44 @@ module Aws::S3
|
|
9274
9346
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
|
9275
9347
|
# @return [Integer]
|
9276
9348
|
#
|
9349
|
+
# @!attribute [rw] newer_noncurrent_versions
|
9350
|
+
# Specifies how many noncurrent versions Amazon S3 will retain. If
|
9351
|
+
# there are this many more recent noncurrent versions, Amazon S3 will
|
9352
|
+
# take the associated action. For more information about noncurrent
|
9353
|
+
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
9354
|
+
# S3 User Guide*.
|
9355
|
+
#
|
9356
|
+
#
|
9357
|
+
#
|
9358
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
|
9359
|
+
# @return [Integer]
|
9360
|
+
#
|
9277
9361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration AWS API Documentation
|
9278
9362
|
#
|
9279
9363
|
class NoncurrentVersionExpiration < Struct.new(
|
9280
|
-
:noncurrent_days
|
9364
|
+
:noncurrent_days,
|
9365
|
+
:newer_noncurrent_versions)
|
9281
9366
|
SENSITIVE = []
|
9282
9367
|
include Aws::Structure
|
9283
9368
|
end
|
9284
9369
|
|
9285
9370
|
# Container for the transition rule that describes when noncurrent
|
9286
9371
|
# objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
|
9287
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE`
|
9288
|
-
# your bucket is versioning-enabled (or versioning is
|
9289
|
-
# can set this action to request that Amazon S3
|
9290
|
-
# object versions to the `STANDARD_IA`,
|
9291
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or
|
9292
|
-
# 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.
|
9293
9379
|
#
|
9294
9380
|
# @note When making an API call, you may pass NoncurrentVersionTransition
|
9295
9381
|
# data as a hash:
|
9296
9382
|
#
|
9297
9383
|
# {
|
9298
9384
|
# noncurrent_days: 1,
|
9299
|
-
# 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
|
9386
|
+
# newer_noncurrent_versions: 1,
|
9300
9387
|
# }
|
9301
9388
|
#
|
9302
9389
|
# @!attribute [rw] noncurrent_days
|
@@ -9314,11 +9401,24 @@ module Aws::S3
|
|
9314
9401
|
# The class of storage used to store the object.
|
9315
9402
|
# @return [String]
|
9316
9403
|
#
|
9404
|
+
# @!attribute [rw] newer_noncurrent_versions
|
9405
|
+
# Specifies how many noncurrent versions Amazon S3 will retain. If
|
9406
|
+
# there are this many more recent noncurrent versions, Amazon S3 will
|
9407
|
+
# take the associated action. For more information about noncurrent
|
9408
|
+
# versions, see [Lifecycle configuration elements][1] in the *Amazon
|
9409
|
+
# S3 User Guide*.
|
9410
|
+
#
|
9411
|
+
#
|
9412
|
+
#
|
9413
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
|
9414
|
+
# @return [Integer]
|
9415
|
+
#
|
9317
9416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition AWS API Documentation
|
9318
9417
|
#
|
9319
9418
|
class NoncurrentVersionTransition < Struct.new(
|
9320
9419
|
:noncurrent_days,
|
9321
|
-
:storage_class
|
9420
|
+
:storage_class,
|
9421
|
+
:newer_noncurrent_versions)
|
9322
9422
|
SENSITIVE = []
|
9323
9423
|
include Aws::Structure
|
9324
9424
|
end
|
@@ -9335,7 +9435,7 @@ module Aws::S3
|
|
9335
9435
|
# {
|
9336
9436
|
# id: "NotificationId",
|
9337
9437
|
# 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
|
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
|
9339
9439
|
# filter: {
|
9340
9440
|
# key: {
|
9341
9441
|
# filter_rules: [
|
@@ -9352,7 +9452,7 @@ module Aws::S3
|
|
9352
9452
|
# {
|
9353
9453
|
# id: "NotificationId",
|
9354
9454
|
# 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
|
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
|
9356
9456
|
# filter: {
|
9357
9457
|
# key: {
|
9358
9458
|
# filter_rules: [
|
@@ -9369,7 +9469,7 @@ module Aws::S3
|
|
9369
9469
|
# {
|
9370
9470
|
# id: "NotificationId",
|
9371
9471
|
# 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
|
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
|
9373
9473
|
# filter: {
|
9374
9474
|
# key: {
|
9375
9475
|
# filter_rules: [
|
@@ -9382,6 +9482,8 @@ module Aws::S3
|
|
9382
9482
|
# },
|
9383
9483
|
# },
|
9384
9484
|
# ],
|
9485
|
+
# event_bridge_configuration: {
|
9486
|
+
# },
|
9385
9487
|
# }
|
9386
9488
|
#
|
9387
9489
|
# @!attribute [rw] topic_configurations
|
@@ -9399,12 +9501,17 @@ module Aws::S3
|
|
9399
9501
|
# invoke them.
|
9400
9502
|
# @return [Array<Types::LambdaFunctionConfiguration>]
|
9401
9503
|
#
|
9504
|
+
# @!attribute [rw] event_bridge_configuration
|
9505
|
+
# Enables delivery of events to Amazon EventBridge.
|
9506
|
+
# @return [Types::EventBridgeConfiguration]
|
9507
|
+
#
|
9402
9508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration AWS API Documentation
|
9403
9509
|
#
|
9404
9510
|
class NotificationConfiguration < Struct.new(
|
9405
9511
|
:topic_configurations,
|
9406
9512
|
:queue_configurations,
|
9407
|
-
:lambda_function_configurations
|
9513
|
+
:lambda_function_configurations,
|
9514
|
+
:event_bridge_configuration)
|
9408
9515
|
SENSITIVE = []
|
9409
9516
|
include Aws::Structure
|
9410
9517
|
end
|
@@ -9415,20 +9522,20 @@ module Aws::S3
|
|
9415
9522
|
# {
|
9416
9523
|
# topic_configuration: {
|
9417
9524
|
# 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
|
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
|
9420
9527
|
# topic: "TopicArn",
|
9421
9528
|
# },
|
9422
9529
|
# queue_configuration: {
|
9423
9530
|
# 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
|
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
|
9426
9533
|
# queue: "QueueArn",
|
9427
9534
|
# },
|
9428
9535
|
# cloud_function_configuration: {
|
9429
9536
|
# 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
|
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
|
9432
9539
|
# cloud_function: "CloudFunction",
|
9433
9540
|
# invocation_role: "CloudFunctionInvocationRole",
|
9434
9541
|
# },
|
@@ -9808,7 +9915,7 @@ module Aws::S3
|
|
9808
9915
|
# value: "MetadataValue",
|
9809
9916
|
# },
|
9810
9917
|
# ],
|
9811
|
-
# 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
|
9812
9919
|
# },
|
9813
9920
|
# }
|
9814
9921
|
#
|
@@ -9895,7 +10002,7 @@ module Aws::S3
|
|
9895
10002
|
# {
|
9896
10003
|
# rules: [ # required
|
9897
10004
|
# {
|
9898
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
10005
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
9899
10006
|
# },
|
9900
10007
|
# ],
|
9901
10008
|
# }
|
@@ -9918,7 +10025,7 @@ module Aws::S3
|
|
9918
10025
|
# data as a hash:
|
9919
10026
|
#
|
9920
10027
|
# {
|
9921
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
10028
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
9922
10029
|
# }
|
9923
10030
|
#
|
9924
10031
|
# @!attribute [rw] object_ownership
|
@@ -9931,6 +10038,13 @@ module Aws::S3
|
|
9931
10038
|
#
|
9932
10039
|
# ObjectWriter - The uploading account will own the object if the
|
9933
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.
|
9934
10048
|
# @return [String]
|
9935
10049
|
#
|
9936
10050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControlsRule AWS API Documentation
|
@@ -10599,6 +10713,8 @@ module Aws::S3
|
|
10599
10713
|
# key: "ObjectKey", # required
|
10600
10714
|
# value: "Value", # required
|
10601
10715
|
# },
|
10716
|
+
# object_size_greater_than: 1,
|
10717
|
+
# object_size_less_than: 1,
|
10602
10718
|
# and: {
|
10603
10719
|
# prefix: "Prefix",
|
10604
10720
|
# tags: [
|
@@ -10607,6 +10723,8 @@ module Aws::S3
|
|
10607
10723
|
# value: "Value", # required
|
10608
10724
|
# },
|
10609
10725
|
# ],
|
10726
|
+
# object_size_greater_than: 1,
|
10727
|
+
# object_size_less_than: 1,
|
10610
10728
|
# },
|
10611
10729
|
# },
|
10612
10730
|
# status: "Enabled", # required, accepts Enabled, Disabled
|
@@ -10614,17 +10732,19 @@ module Aws::S3
|
|
10614
10732
|
# {
|
10615
10733
|
# date: Time.now,
|
10616
10734
|
# days: 1,
|
10617
|
-
# 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
|
10618
10736
|
# },
|
10619
10737
|
# ],
|
10620
10738
|
# noncurrent_version_transitions: [
|
10621
10739
|
# {
|
10622
10740
|
# noncurrent_days: 1,
|
10623
|
-
# 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
|
10742
|
+
# newer_noncurrent_versions: 1,
|
10624
10743
|
# },
|
10625
10744
|
# ],
|
10626
10745
|
# noncurrent_version_expiration: {
|
10627
10746
|
# noncurrent_days: 1,
|
10747
|
+
# newer_noncurrent_versions: 1,
|
10628
10748
|
# },
|
10629
10749
|
# abort_incomplete_multipart_upload: {
|
10630
10750
|
# days_after_initiation: 1,
|
@@ -10679,14 +10799,16 @@ module Aws::S3
|
|
10679
10799
|
# transition: {
|
10680
10800
|
# date: Time.now,
|
10681
10801
|
# days: 1,
|
10682
|
-
# 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
|
10683
10803
|
# },
|
10684
10804
|
# noncurrent_version_transition: {
|
10685
10805
|
# noncurrent_days: 1,
|
10686
|
-
# 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
|
10807
|
+
# newer_noncurrent_versions: 1,
|
10687
10808
|
# },
|
10688
10809
|
# noncurrent_version_expiration: {
|
10689
10810
|
# noncurrent_days: 1,
|
10811
|
+
# newer_noncurrent_versions: 1,
|
10690
10812
|
# },
|
10691
10813
|
# abort_incomplete_multipart_upload: {
|
10692
10814
|
# days_after_initiation: 1,
|
@@ -10855,7 +10977,7 @@ module Aws::S3
|
|
10855
10977
|
# {
|
10856
10978
|
# id: "NotificationId",
|
10857
10979
|
# 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
|
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
|
10859
10981
|
# filter: {
|
10860
10982
|
# key: {
|
10861
10983
|
# filter_rules: [
|
@@ -10872,7 +10994,7 @@ module Aws::S3
|
|
10872
10994
|
# {
|
10873
10995
|
# id: "NotificationId",
|
10874
10996
|
# 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
|
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
|
10876
10998
|
# filter: {
|
10877
10999
|
# key: {
|
10878
11000
|
# filter_rules: [
|
@@ -10889,7 +11011,7 @@ module Aws::S3
|
|
10889
11011
|
# {
|
10890
11012
|
# id: "NotificationId",
|
10891
11013
|
# 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
|
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
|
10893
11015
|
# filter: {
|
10894
11016
|
# key: {
|
10895
11017
|
# filter_rules: [
|
@@ -10902,8 +11024,11 @@ module Aws::S3
|
|
10902
11024
|
# },
|
10903
11025
|
# },
|
10904
11026
|
# ],
|
11027
|
+
# event_bridge_configuration: {
|
11028
|
+
# },
|
10905
11029
|
# },
|
10906
11030
|
# expected_bucket_owner: "AccountId",
|
11031
|
+
# skip_destination_validation: false,
|
10907
11032
|
# }
|
10908
11033
|
#
|
10909
11034
|
# @!attribute [rw] bucket
|
@@ -10922,12 +11047,18 @@ module Aws::S3
|
|
10922
11047
|
# (Access Denied)` error.
|
10923
11048
|
# @return [String]
|
10924
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
|
+
#
|
10925
11055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationRequest AWS API Documentation
|
10926
11056
|
#
|
10927
11057
|
class PutBucketNotificationConfigurationRequest < Struct.new(
|
10928
11058
|
:bucket,
|
10929
11059
|
:notification_configuration,
|
10930
|
-
:expected_bucket_owner
|
11060
|
+
:expected_bucket_owner,
|
11061
|
+
:skip_destination_validation)
|
10931
11062
|
SENSITIVE = []
|
10932
11063
|
include Aws::Structure
|
10933
11064
|
end
|
@@ -10941,20 +11072,20 @@ module Aws::S3
|
|
10941
11072
|
# notification_configuration: { # required
|
10942
11073
|
# topic_configuration: {
|
10943
11074
|
# 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
|
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
|
10946
11077
|
# topic: "TopicArn",
|
10947
11078
|
# },
|
10948
11079
|
# queue_configuration: {
|
10949
11080
|
# 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
|
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
|
10952
11083
|
# queue: "QueueArn",
|
10953
11084
|
# },
|
10954
11085
|
# cloud_function_configuration: {
|
10955
11086
|
# 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
|
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
|
10958
11089
|
# cloud_function: "CloudFunction",
|
10959
11090
|
# invocation_role: "CloudFunctionInvocationRole",
|
10960
11091
|
# },
|
@@ -11005,7 +11136,7 @@ module Aws::S3
|
|
11005
11136
|
# ownership_controls: { # required
|
11006
11137
|
# rules: [ # required
|
11007
11138
|
# {
|
11008
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
11139
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
11009
11140
|
# },
|
11010
11141
|
# ],
|
11011
11142
|
# },
|
@@ -11031,8 +11162,8 @@ module Aws::S3
|
|
11031
11162
|
# @return [String]
|
11032
11163
|
#
|
11033
11164
|
# @!attribute [rw] ownership_controls
|
11034
|
-
# The `OwnershipControls` (BucketOwnerPreferred
|
11035
|
-
# 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.
|
11036
11167
|
# @return [Types::OwnershipControls]
|
11037
11168
|
#
|
11038
11169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControlsRequest AWS API Documentation
|
@@ -11140,7 +11271,7 @@ module Aws::S3
|
|
11140
11271
|
# destination: { # required
|
11141
11272
|
# bucket: "BucketName", # required
|
11142
11273
|
# account: "AccountId",
|
11143
|
-
# 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
|
11144
11275
|
# access_control_translation: {
|
11145
11276
|
# owner: "Destination", # required, accepts Destination
|
11146
11277
|
# },
|
@@ -11950,7 +12081,7 @@ module Aws::S3
|
|
11950
12081
|
# "MetadataKey" => "MetadataValue",
|
11951
12082
|
# },
|
11952
12083
|
# 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
|
12084
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
11954
12085
|
# website_redirect_location: "WebsiteRedirectLocation",
|
11955
12086
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
11956
12087
|
# sse_customer_key: "SSECustomerKey",
|
@@ -12582,7 +12713,7 @@ module Aws::S3
|
|
12582
12713
|
# {
|
12583
12714
|
# id: "NotificationId",
|
12584
12715
|
# 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
|
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
|
12586
12717
|
# filter: {
|
12587
12718
|
# key: {
|
12588
12719
|
# filter_rules: [
|
@@ -12646,8 +12777,8 @@ module Aws::S3
|
|
12646
12777
|
#
|
12647
12778
|
# {
|
12648
12779
|
# 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
|
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
|
12651
12782
|
# queue: "QueueArn",
|
12652
12783
|
# }
|
12653
12784
|
#
|
@@ -12874,7 +13005,7 @@ module Aws::S3
|
|
12874
13005
|
# destination: { # required
|
12875
13006
|
# bucket: "BucketName", # required
|
12876
13007
|
# account: "AccountId",
|
12877
|
-
# 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
|
12878
13009
|
# access_control_translation: {
|
12879
13010
|
# owner: "Destination", # required, accepts Destination
|
12880
13011
|
# },
|
@@ -12968,7 +13099,7 @@ module Aws::S3
|
|
12968
13099
|
# destination: { # required
|
12969
13100
|
# bucket: "BucketName", # required
|
12970
13101
|
# account: "AccountId",
|
12971
|
-
# 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
|
12972
13103
|
# access_control_translation: {
|
12973
13104
|
# owner: "Destination", # required, accepts Destination
|
12974
13105
|
# },
|
@@ -13410,7 +13541,7 @@ module Aws::S3
|
|
13410
13541
|
# value: "MetadataValue",
|
13411
13542
|
# },
|
13412
13543
|
# ],
|
13413
|
-
# 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
|
13414
13545
|
# },
|
13415
13546
|
# },
|
13416
13547
|
# },
|
@@ -13570,7 +13701,7 @@ module Aws::S3
|
|
13570
13701
|
# value: "MetadataValue",
|
13571
13702
|
# },
|
13572
13703
|
# ],
|
13573
|
-
# 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
|
13574
13705
|
# },
|
13575
13706
|
# },
|
13576
13707
|
# }
|
@@ -13695,14 +13826,16 @@ module Aws::S3
|
|
13695
13826
|
# transition: {
|
13696
13827
|
# date: Time.now,
|
13697
13828
|
# days: 1,
|
13698
|
-
# 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
|
13699
13830
|
# },
|
13700
13831
|
# noncurrent_version_transition: {
|
13701
13832
|
# noncurrent_days: 1,
|
13702
|
-
# 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
|
13834
|
+
# newer_noncurrent_versions: 1,
|
13703
13835
|
# },
|
13704
13836
|
# noncurrent_version_expiration: {
|
13705
13837
|
# noncurrent_days: 1,
|
13838
|
+
# newer_noncurrent_versions: 1,
|
13706
13839
|
# },
|
13707
13840
|
# abort_incomplete_multipart_upload: {
|
13708
13841
|
# days_after_initiation: 1,
|
@@ -13750,12 +13883,13 @@ module Aws::S3
|
|
13750
13883
|
# @!attribute [rw] noncurrent_version_transition
|
13751
13884
|
# Container for the transition rule that describes when noncurrent
|
13752
13885
|
# objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
|
13753
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE`
|
13754
|
-
# If your bucket is versioning-enabled (or versioning
|
13755
|
-
# you can set this action to request that Amazon S3
|
13756
|
-
# noncurrent object versions to the `STANDARD_IA`,
|
13757
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or
|
13758
|
-
# 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.
|
13759
13893
|
# @return [Types::NoncurrentVersionTransition]
|
13760
13894
|
#
|
13761
13895
|
# @!attribute [rw] noncurrent_version_expiration
|
@@ -13862,7 +13996,7 @@ module Aws::S3
|
|
13862
13996
|
# value: "MetadataValue",
|
13863
13997
|
# },
|
13864
13998
|
# ],
|
13865
|
-
# 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
|
13866
14000
|
# }
|
13867
14001
|
#
|
13868
14002
|
# @!attribute [rw] bucket_name
|
@@ -14231,9 +14365,13 @@ module Aws::S3
|
|
14231
14365
|
|
14232
14366
|
# Describes the default server-side encryption to apply to new objects
|
14233
14367
|
# in the bucket. If a PUT Object request doesn't specify any
|
14234
|
-
# server-side encryption, this default encryption will be applied.
|
14235
|
-
#
|
14236
|
-
#
|
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*.
|
14237
14375
|
#
|
14238
14376
|
#
|
14239
14377
|
#
|
@@ -14258,9 +14396,10 @@ module Aws::S3
|
|
14258
14396
|
# `aws:kms`.
|
14259
14397
|
#
|
14260
14398
|
# You can specify the key ID or the Amazon Resource Name (ARN) of the
|
14261
|
-
# KMS key. However, if you are using encryption with cross-account
|
14262
|
-
# operations
|
14263
|
-
# 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].
|
14264
14403
|
#
|
14265
14404
|
# **For example:**
|
14266
14405
|
#
|
@@ -14599,6 +14738,15 @@ module Aws::S3
|
|
14599
14738
|
|
14600
14739
|
# Container for granting information.
|
14601
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
|
+
#
|
14602
14750
|
# @note When making an API call, you may pass TargetGrant
|
14603
14751
|
# data as a hash:
|
14604
14752
|
#
|
@@ -14680,7 +14828,7 @@ module Aws::S3
|
|
14680
14828
|
# {
|
14681
14829
|
# id: "NotificationId",
|
14682
14830
|
# 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
|
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
|
14684
14832
|
# filter: {
|
14685
14833
|
# key: {
|
14686
14834
|
# filter_rules: [
|
@@ -14750,8 +14898,8 @@ module Aws::S3
|
|
14750
14898
|
#
|
14751
14899
|
# {
|
14752
14900
|
# 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
|
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
|
14755
14903
|
# topic: "TopicArn",
|
14756
14904
|
# }
|
14757
14905
|
#
|
@@ -14800,7 +14948,7 @@ module Aws::S3
|
|
14800
14948
|
# {
|
14801
14949
|
# date: Time.now,
|
14802
14950
|
# days: 1,
|
14803
|
-
# 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
|
14804
14952
|
# }
|
14805
14953
|
#
|
14806
14954
|
# @!attribute [rw] date
|
@@ -15438,7 +15586,7 @@ module Aws::S3
|
|
15438
15586
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
15439
15587
|
# ssekms_key_id: "SSEKMSKeyId",
|
15440
15588
|
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
15441
|
-
# 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
|
15442
15590
|
# tag_count: 1,
|
15443
15591
|
# version_id: "ObjectVersionId",
|
15444
15592
|
# bucket_key_enabled: false,
|