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 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).
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 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).
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 ==
.impl StructuralPartialEq for PutBucketNotificationConfigurationInput
Auto Trait Implementations§
impl Freeze for PutBucketNotificationConfigurationInput
impl RefUnwindSafe for PutBucketNotificationConfigurationInput
impl Send for PutBucketNotificationConfigurationInput
impl Sync for PutBucketNotificationConfigurationInput
impl Unpin for PutBucketNotificationConfigurationInput
impl UnwindSafe for PutBucketNotificationConfigurationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)