Struct aws_sdk_rds::input::CreateEventSubscriptionInput
source · [−]#[non_exhaustive]pub struct CreateEventSubscriptionInput { /* private fields */ }Expand description
Implementations
sourceimpl CreateEventSubscriptionInput
impl CreateEventSubscriptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEventSubscription, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEventSubscription, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateEventSubscription>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateEventSubscriptionInput.
sourceimpl CreateEventSubscriptionInput
impl CreateEventSubscriptionInput
sourcepub fn subscription_name(&self) -> Option<&str>
pub fn subscription_name(&self) -> Option<&str>
The name of the subscription.
Constraints: The name must be less than 255 characters.
sourcepub fn sns_topic_arn(&self) -> Option<&str>
pub fn sns_topic_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
sourcepub fn source_type(&self) -> Option<&str>
pub fn source_type(&self) -> Option<&str>
The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you set this parameter to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't specified, all events are returned.
Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy
sourcepub fn event_categories(&self) -> Option<&[String]>
pub fn event_categories(&self) -> Option<&[String]>
A list of event categories for a particular source type (SourceType) that you want to subscribe to. You can see a list of the categories for a given source type in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide . You can also see this list by using the DescribeEventCategories operation.
sourcepub fn source_ids(&self) -> Option<&[String]>
pub fn source_ids(&self) -> Option<&[String]>
The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It can't end with a hyphen or contain two consecutive hyphens.
Constraints:
-
If
SourceIdsare supplied,SourceTypemust also be provided. -
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.
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
A value that indicates whether to activate the subscription. If the event notification subscription isn't activated, the subscription is created but not active.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
Trait Implementations
sourceimpl Clone for CreateEventSubscriptionInput
impl Clone for CreateEventSubscriptionInput
sourcefn clone(&self) -> CreateEventSubscriptionInput
fn clone(&self) -> CreateEventSubscriptionInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more