Struct aws_sdk_docdb::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionInput
source · #[non_exhaustive]pub struct AddSourceIdentifierToSubscriptionInput {
pub subscription_name: Option<String>,
pub source_identifier: Option<String>,
}Expand description
Represents the input to AddSourceIdentifierToSubscription.
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.subscription_name: Option<String>The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
source_identifier: Option<String>The identifier of the event source to be added:
-
If the source type is an instance, a
DBInstanceIdentifiermust be provided. -
If the source type is a security group, a
DBSecurityGroupNamemust be provided. -
If the source type is a parameter group, a
DBParameterGroupNamemust be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifiermust be provided.
Implementations§
source§impl AddSourceIdentifierToSubscriptionInput
impl AddSourceIdentifierToSubscriptionInput
sourcepub fn subscription_name(&self) -> Option<&str>
pub fn subscription_name(&self) -> Option<&str>
The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
sourcepub fn source_identifier(&self) -> Option<&str>
pub fn source_identifier(&self) -> Option<&str>
The identifier of the event source to be added:
-
If the source type is an instance, a
DBInstanceIdentifiermust be provided. -
If the source type is a security group, a
DBSecurityGroupNamemust be provided. -
If the source type is a parameter group, a
DBParameterGroupNamemust be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifiermust be provided.
source§impl AddSourceIdentifierToSubscriptionInput
impl AddSourceIdentifierToSubscriptionInput
sourcepub fn builder() -> AddSourceIdentifierToSubscriptionInputBuilder
pub fn builder() -> AddSourceIdentifierToSubscriptionInputBuilder
Creates a new builder-style object to manufacture AddSourceIdentifierToSubscriptionInput.
Trait Implementations§
source§impl Clone for AddSourceIdentifierToSubscriptionInput
impl Clone for AddSourceIdentifierToSubscriptionInput
source§fn clone(&self) -> AddSourceIdentifierToSubscriptionInput
fn clone(&self) -> AddSourceIdentifierToSubscriptionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AddSourceIdentifierToSubscriptionInput
impl PartialEq for AddSourceIdentifierToSubscriptionInput
source§fn eq(&self, other: &AddSourceIdentifierToSubscriptionInput) -> bool
fn eq(&self, other: &AddSourceIdentifierToSubscriptionInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddSourceIdentifierToSubscriptionInput
Auto Trait Implementations§
impl Freeze for AddSourceIdentifierToSubscriptionInput
impl RefUnwindSafe for AddSourceIdentifierToSubscriptionInput
impl Send for AddSourceIdentifierToSubscriptionInput
impl Sync for AddSourceIdentifierToSubscriptionInput
impl Unpin for AddSourceIdentifierToSubscriptionInput
impl UnwindSafe for AddSourceIdentifierToSubscriptionInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more