pub struct EventSubscription {
pub cust_subscription_id: Option<String>,
pub customer_aws_id: Option<String>,
pub enabled: Option<bool>,
pub event_categories_list: Option<Vec<String>>,
pub severity: 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>,
pub tags: Option<Vec<Tag>>,
}
Describes event subscriptions.
The name of the Amazon Redshift event notification subscription.
The AWS customer account associated with the Amazon Redshift event notification subscription.
A Boolean value indicating whether the subscription is enabled. true
indicates the subscription is enabled.
The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security
The event severity specified in the Amazon Redshift event notification subscription.
Values: ERROR, INFO
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
A list of the sources that publish events to the Amazon Redshift event notification subscription.
The source type of the events returned the Amazon Redshift event notification, such as cluster, or cluster-snapshot.
The status of the Amazon Redshift event notification subscription.
Constraints:
-
Can be one of the following: active | no-permission | topic-not-exist
-
The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
The date and time the Amazon Redshift event notification subscription was created.
The list of tags for the event subscription.
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static