#[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.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
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.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
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 ==
.impl StructuralPartialEq for AwsRdsEventSubscriptionDetails
Auto Trait Implementations§
impl Freeze for AwsRdsEventSubscriptionDetails
impl RefUnwindSafe for AwsRdsEventSubscriptionDetails
impl Send for AwsRdsEventSubscriptionDetails
impl Sync for AwsRdsEventSubscriptionDetails
impl Unpin for AwsRdsEventSubscriptionDetails
impl UnwindSafe for AwsRdsEventSubscriptionDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more