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
DBInstanceIdentifier
must be provided. -
If the source type is a security group, a
DBSecurityGroupName
must be provided. -
If the source type is a parameter group, a
DBParameterGroupName
must be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifier
must 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
DBInstanceIdentifier
must be provided. -
If the source type is a security group, a
DBSecurityGroupName
must be provided. -
If the source type is a parameter group, a
DBParameterGroupName
must be provided. -
If the source type is a snapshot, a
DBSnapshotIdentifier
must 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 ==
.