Enum rusoto_sns::SubscribeError
[−]
[src]
pub enum SubscribeError { AuthorizationError(String), InternalError(String), InvalidParameter(String), NotFound(String), SubscriptionLimitExceeded(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by Subscribe
Variants
AuthorizationError(String)
Indicates that the user has been denied access to the requested resource.
InternalError(String)
Indicates an internal service error.
InvalidParameter(String)
Indicates that a request parameter does not comply with the associated constraints.
NotFound(String)
Indicates that the requested resource does not exist.
SubscriptionLimitExceeded(String)
Indicates that the customer already owns the maximum allowed number of subscriptions.
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 SubscribeError
[src]
fn from_body(body: &str) -> SubscribeError
[src]
Trait Implementations
impl Debug for SubscribeError
[src]
impl PartialEq for SubscribeError
[src]
fn eq(&self, __arg_0: &SubscribeError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SubscribeError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for SubscribeError
[src]
fn from(err: XmlParseError) -> SubscribeError
[src]
Performs the conversion.
impl From<CredentialsError> for SubscribeError
[src]
fn from(err: CredentialsError) -> SubscribeError
[src]
Performs the conversion.
impl From<HttpDispatchError> for SubscribeError
[src]
fn from(err: HttpDispatchError) -> SubscribeError
[src]
Performs the conversion.
impl From<Error> for SubscribeError
[src]
fn from(err: Error) -> SubscribeError
[src]
Performs the conversion.
impl Display for SubscribeError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more