Struct aws_sdk_s3::operation::put_bucket_notification_configuration::PutBucketNotificationConfigurationInput
source · #[non_exhaustive]pub struct PutBucketNotificationConfigurationInput {
pub bucket: Option<String>,
pub notification_configuration: Option<NotificationConfiguration>,
pub expected_bucket_owner: Option<String>,
pub skip_destination_validation: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket: Option<String>
The name of the bucket.
notification_configuration: Option<NotificationConfiguration>
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
expected_bucket_owner: Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
skip_destination_validation: Option<bool>
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
Implementations§
source§impl PutBucketNotificationConfigurationInput
impl PutBucketNotificationConfigurationInput
sourcepub fn notification_configuration(&self) -> Option<&NotificationConfiguration>
pub fn notification_configuration(&self) -> Option<&NotificationConfiguration>
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
sourcepub fn skip_destination_validation(&self) -> Option<bool>
pub fn skip_destination_validation(&self) -> Option<bool>
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
source§impl PutBucketNotificationConfigurationInput
impl PutBucketNotificationConfigurationInput
sourcepub fn builder() -> PutBucketNotificationConfigurationInputBuilder
pub fn builder() -> PutBucketNotificationConfigurationInputBuilder
Creates a new builder-style object to manufacture PutBucketNotificationConfigurationInput
.
Trait Implementations§
source§impl Clone for PutBucketNotificationConfigurationInput
impl Clone for PutBucketNotificationConfigurationInput
source§fn clone(&self) -> PutBucketNotificationConfigurationInput
fn clone(&self) -> PutBucketNotificationConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutBucketNotificationConfigurationInput
impl PartialEq for PutBucketNotificationConfigurationInput
source§fn eq(&self, other: &PutBucketNotificationConfigurationInput) -> bool
fn eq(&self, other: &PutBucketNotificationConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.