Enum rusoto_redshift::ModifyEventSubscriptionError [−][src]
pub enum ModifyEventSubscriptionError { InvalidSubscriptionStateFault(String), SNSInvalidTopicFault(String), SNSNoAuthorizationFault(String), SNSTopicArnNotFoundFault(String), SourceNotFoundFault(String), SubscriptionCategoryNotFoundFault(String), SubscriptionEventIdNotFoundFault(String), SubscriptionNotFoundFault(String), SubscriptionSeverityNotFoundFault(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
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.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl ModifyEventSubscriptionError
[src]
impl ModifyEventSubscriptionError
pub fn from_body(body: &str) -> ModifyEventSubscriptionError
[src]
pub fn from_body(body: &str) -> ModifyEventSubscriptionError
Trait Implementations
impl Debug for ModifyEventSubscriptionError
[src]
impl Debug for ModifyEventSubscriptionError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ModifyEventSubscriptionError
[src]
impl PartialEq for ModifyEventSubscriptionError
fn eq(&self, other: &ModifyEventSubscriptionError) -> bool
[src]
fn eq(&self, other: &ModifyEventSubscriptionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ModifyEventSubscriptionError) -> bool
[src]
fn ne(&self, other: &ModifyEventSubscriptionError) -> bool
This method tests for !=
.
impl From<XmlParseError> for ModifyEventSubscriptionError
[src]
impl From<XmlParseError> for ModifyEventSubscriptionError
fn from(err: XmlParseError) -> ModifyEventSubscriptionError
[src]
fn from(err: XmlParseError) -> ModifyEventSubscriptionError
Performs the conversion.
impl From<CredentialsError> for ModifyEventSubscriptionError
[src]
impl From<CredentialsError> for ModifyEventSubscriptionError
fn from(err: CredentialsError) -> ModifyEventSubscriptionError
[src]
fn from(err: CredentialsError) -> ModifyEventSubscriptionError
Performs the conversion.
impl From<HttpDispatchError> for ModifyEventSubscriptionError
[src]
impl From<HttpDispatchError> for ModifyEventSubscriptionError
fn from(err: HttpDispatchError) -> ModifyEventSubscriptionError
[src]
fn from(err: HttpDispatchError) -> ModifyEventSubscriptionError
Performs the conversion.
impl From<Error> for ModifyEventSubscriptionError
[src]
impl From<Error> for ModifyEventSubscriptionError
fn from(err: Error) -> ModifyEventSubscriptionError
[src]
fn from(err: Error) -> ModifyEventSubscriptionError
Performs the conversion.
impl Display for ModifyEventSubscriptionError
[src]
impl Display for ModifyEventSubscriptionError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for ModifyEventSubscriptionError
[src]
impl Error for ModifyEventSubscriptionError
Auto Trait Implementations
impl Send for ModifyEventSubscriptionError
impl Send for ModifyEventSubscriptionError
impl Sync for ModifyEventSubscriptionError
impl Sync for ModifyEventSubscriptionError