pub enum ModifyEventSubscriptionError {
InvalidSubscriptionStateFault(String),
SNSInvalidTopicFault(String),
SNSNoAuthorizationFault(String),
SNSTopicArnNotFoundFault(String),
SourceNotFoundFault(String),
SubscriptionCategoryNotFoundFault(String),
SubscriptionEventIdNotFoundFault(String),
SubscriptionNotFoundFault(String),
SubscriptionSeverityNotFoundFault(String),
}
Expand description
Errors returned by ModifyEventSubscription
Variants§
InvalidSubscriptionStateFault(String)
The subscription request is invalid because it is a duplicate request. This subscription request is already in progress.
SNSInvalidTopicFault(String)
Amazon SNS has responded that there is a problem with the specified Amazon SNS topic.
SNSNoAuthorizationFault(String)
You do not have permission to publish to the specified Amazon SNS topic.
SNSTopicArnNotFoundFault(String)
An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not exist.
SourceNotFoundFault(String)
The specified Amazon Redshift event source could not be found.
SubscriptionCategoryNotFoundFault(String)
The value specified for the event category was not one of the allowed values, or it specified a category that does not apply to the specified source type. The allowed values are Configuration, Management, Monitoring, and Security.
SubscriptionEventIdNotFoundFault(String)
An Amazon Redshift event with the specified event ID does not exist.
SubscriptionNotFoundFault(String)
An Amazon Redshift event notification subscription with the specified name does not exist.
SubscriptionSeverityNotFoundFault(String)
The value specified for the event severity was not one of the allowed values, or it specified a severity that does not apply to the specified source type. The allowed values are ERROR and INFO.
Implementations§
Trait Implementations§
Source§impl Debug for ModifyEventSubscriptionError
impl Debug for ModifyEventSubscriptionError
Source§impl Error for ModifyEventSubscriptionError
impl Error for ModifyEventSubscriptionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for ModifyEventSubscriptionError
impl PartialEq for ModifyEventSubscriptionError
Source§fn eq(&self, other: &ModifyEventSubscriptionError) -> bool
fn eq(&self, other: &ModifyEventSubscriptionError) -> bool
self
and other
values to be equal, and is used by ==
.