pub struct AddSourceIdentifierToSubscription { /* private fields */ }
Expand description
Fluent builder constructing a request to AddSourceIdentifierToSubscription
.
Adds a source identifier to an existing event notification subscription.
Implementations§
source§impl AddSourceIdentifierToSubscription
impl AddSourceIdentifierToSubscription
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddSourceIdentifierToSubscription, AwsResponseRetryClassifier>, SdkError<AddSourceIdentifierToSubscriptionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AddSourceIdentifierToSubscription, AwsResponseRetryClassifier>, SdkError<AddSourceIdentifierToSubscriptionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AddSourceIdentifierToSubscriptionOutput, SdkError<AddSourceIdentifierToSubscriptionError>>
pub async fn send(
self
) -> Result<AddSourceIdentifierToSubscriptionOutput, SdkError<AddSourceIdentifierToSubscriptionError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn subscription_name(self, input: impl Into<String>) -> Self
pub fn subscription_name(self, input: impl Into<String>) -> Self
The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
sourcepub fn set_subscription_name(self, input: Option<String>) -> Self
pub fn set_subscription_name(self, input: Option<String>) -> Self
The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.
sourcepub fn source_identifier(self, input: impl Into<String>) -> Self
pub fn source_identifier(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_source_identifier(self, input: Option<String>) -> Self
pub fn set_source_identifier(self, input: Option<String>) -> Self
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.
Trait Implementations§
source§impl Clone for AddSourceIdentifierToSubscription
impl Clone for AddSourceIdentifierToSubscription
source§fn clone(&self) -> AddSourceIdentifierToSubscription
fn clone(&self) -> AddSourceIdentifierToSubscription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more