Skip to content

PutBucketNotificationConfigurationRequest

Source code in docs_src/capo_s3/types/put_bucket_notification_configuration_request.py
class PutBucketNotificationConfigurationRequest(TypedDict, closed=True):
    bucket: "capo_s3.types.bucket_name.BucketName"
    """<p>The name of the bucket.</p>"""
    notification_configuration: (
        "capo_s3.types.notification_configuration.NotificationConfiguration"
    )
    expected_bucket_owner: NotRequired["capo_s3.types.account_id.AccountId"]
    """<p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>"""
    skip_destination_validation: NotRequired[
        "capo_s3.types.skip_validation.SkipValidation"
    ]
    """<p>Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.</p>"""

bucket instance-attribute

bucket: BucketName

The name of the bucket.

expected_bucket_owner instance-attribute

expected_bucket_owner: NotRequired[AccountId]

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

notification_configuration instance-attribute

notification_configuration: NotificationConfiguration

skip_destination_validation instance-attribute

skip_destination_validation: NotRequired[SkipValidation]

Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.