From 8f26480f545aadbaec237289ec2e532421548cb4 Mon Sep 17 00:00:00 2001 From: AWS <> Date: Mon, 29 Nov 2021 23:36:13 +0000 Subject: [PATCH] Amazon Simple Storage Service Update: Amazon S3 Event Notifications adds Amazon EventBridge as a destination and supports additional event types. The PutBucketNotificationConfiguration API can now skip validation of Amazon SQS, Amazon SNS and AWS Lambda destinations. --- ...re-AmazonSimpleStorageService-a34989e.json | 6 ++++ .../codegen-resources/service-2.json | 29 ++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 .changes/next-release/feature-AmazonSimpleStorageService-a34989e.json diff --git a/.changes/next-release/feature-AmazonSimpleStorageService-a34989e.json b/.changes/next-release/feature-AmazonSimpleStorageService-a34989e.json new file mode 100644 index 000000000000..7b90bbeeea11 --- /dev/null +++ b/.changes/next-release/feature-AmazonSimpleStorageService-a34989e.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "Amazon Simple Storage Service", + "contributor": "", + "description": "Amazon S3 Event Notifications adds Amazon EventBridge as a destination and supports additional event types. The PutBucketNotificationConfiguration API can now skip validation of Amazon SQS, Amazon SNS and AWS Lambda destinations." +} diff --git a/services/s3/src/main/resources/codegen-resources/service-2.json b/services/s3/src/main/resources/codegen-resources/service-2.json index 7962d8c29ecb..fd4833387d26 100644 --- a/services/s3/src/main/resources/codegen-resources/service-2.json +++ b/services/s3/src/main/resources/codegen-resources/service-2.json @@ -3178,9 +3178,25 @@ "s3:Replication:OperationFailedReplication", "s3:Replication:OperationNotTracked", "s3:Replication:OperationMissedThreshold", - "s3:Replication:OperationReplicatedAfterThreshold" + "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" ] }, + "EventBridgeConfiguration":{ + "type":"structure", + "members":{ + }, + "documentation":"
A container for specifying the configuration for Amazon EventBridge.
" + }, "EventList":{ "type":"list", "member":{"shape":"Event"}, @@ -6402,6 +6418,10 @@ "shape":"LambdaFunctionConfigurationList", "documentation":"Describes the Lambda functions to invoke and the events for which to invoke them.
", "locationName":"CloudFunctionConfiguration" + }, + "EventBridgeConfiguration":{ + "shape":"EventBridgeConfiguration", + "documentation":"Enables delivery of events to Amazon EventBridge.
" } }, "documentation":"A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
" @@ -7278,6 +7298,12 @@ "documentation":"The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
", + "location":"header", + "locationName":"x-amz-skip-destination-validation" } }, "payload":"NotificationConfiguration" @@ -8984,6 +9010,7 @@ }, "Setting":{"type":"boolean"}, "Size":{"type":"integer"}, + "SkipValidation":{"type":"boolean"}, "SourceSelectionCriteria":{ "type":"structure", "members":{