Struct aws_sdk_rds::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
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 RDS event notification subscription you want to add a source identifier to.
source_identifier: Option<String>The identifier of the event source to be added.
Constraints:
-
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied.
Implementations§
source§impl AddSourceIdentifierToSubscriptionInput
impl AddSourceIdentifierToSubscriptionInput
sourcepub fn subscription_name(&self) -> Option<&str>
pub fn subscription_name(&self) -> Option<&str>
The name of the RDS event notification subscription 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.
Constraints:
-
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied.
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 ==.