#[non_exhaustive]pub struct AwsRdsEventSubscriptionDetails {
pub cust_subscription_id: Option<String>,
pub customer_aws_id: Option<String>,
pub enabled: Option<bool>,
pub event_categories_list: Option<Vec<String>>,
pub event_subscription_arn: Option<String>,
pub sns_topic_arn: Option<String>,
pub source_ids_list: Option<Vec<String>>,
pub source_type: Option<String>,
pub status: Option<String>,
pub subscription_creation_time: Option<String>,
}
Expand description
Details about an Amazon RDS event notification subscription. The subscription allows Amazon RDS to post events to an SNS topic.
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.cust_subscription_id: Option<String>
The identifier of the account that is associated with the event notification subscription.
customer_aws_id: Option<String>
The identifier of the event notification subscription.
enabled: Option<bool>
Whether the event notification subscription is enabled.
event_categories_list: Option<Vec<String>>
The list of event categories for the event notification subscription.
event_subscription_arn: Option<String>
The ARN of the event notification subscription.
sns_topic_arn: Option<String>
The ARN of the SNS topic to post the event notifications to.
source_ids_list: Option<Vec<String>>
A list of source identifiers for the event notification subscription.
source_type: Option<String>
The source type for the event notification subscription.
status: Option<String>
The status of the event notification subscription.
Valid values: creating
| modifying
| deleting
| active
| no-permission
| topic-not-exist
subscription_creation_time: Option<String>
The datetime when the event notification subscription was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
Implementations§
source§impl AwsRdsEventSubscriptionDetails
impl AwsRdsEventSubscriptionDetails
sourcepub fn cust_subscription_id(&self) -> Option<&str>
pub fn cust_subscription_id(&self) -> Option<&str>
The identifier of the account that is associated with the event notification subscription.
sourcepub fn customer_aws_id(&self) -> Option<&str>
pub fn customer_aws_id(&self) -> Option<&str>
The identifier of the event notification subscription.
sourcepub fn event_categories_list(&self) -> &[String]
pub fn event_categories_list(&self) -> &[String]
The list of event categories for the event notification subscription.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_categories_list.is_none()
.
sourcepub fn event_subscription_arn(&self) -> Option<&str>
pub fn event_subscription_arn(&self) -> Option<&str>
The ARN of the event notification subscription.
sourcepub fn sns_topic_arn(&self) -> Option<&str>
pub fn sns_topic_arn(&self) -> Option<&str>
The ARN of the SNS topic to post the event notifications to.
sourcepub fn source_ids_list(&self) -> &[String]
pub fn source_ids_list(&self) -> &[String]
A list of source identifiers for the event notification subscription.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .source_ids_list.is_none()
.
sourcepub fn source_type(&self) -> Option<&str>
pub fn source_type(&self) -> Option<&str>
The source type for the event notification subscription.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the event notification subscription.
Valid values: creating
| modifying
| deleting
| active
| no-permission
| topic-not-exist
sourcepub fn subscription_creation_time(&self) -> Option<&str>
pub fn subscription_creation_time(&self) -> Option<&str>
The datetime when the event notification subscription was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
source§impl AwsRdsEventSubscriptionDetails
impl AwsRdsEventSubscriptionDetails
sourcepub fn builder() -> AwsRdsEventSubscriptionDetailsBuilder
pub fn builder() -> AwsRdsEventSubscriptionDetailsBuilder
Creates a new builder-style object to manufacture AwsRdsEventSubscriptionDetails
.
Trait Implementations§
source§impl Clone for AwsRdsEventSubscriptionDetails
impl Clone for AwsRdsEventSubscriptionDetails
source§fn clone(&self) -> AwsRdsEventSubscriptionDetails
fn clone(&self) -> AwsRdsEventSubscriptionDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsRdsEventSubscriptionDetails
impl PartialEq for AwsRdsEventSubscriptionDetails
source§fn eq(&self, other: &AwsRdsEventSubscriptionDetails) -> bool
fn eq(&self, other: &AwsRdsEventSubscriptionDetails) -> bool
self
and other
values to be equal, and is used
by ==
.