Enum rusoto_sns::PublishError
[−]
[src]
pub enum PublishError { AuthorizationError(String), EndpointDisabled(String), InternalError(String), InvalidParameter(String), InvalidParameterValue(String), NotFound(String), PlatformApplicationDisabled(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by Publish
Variants
AuthorizationError(String)
Indicates that the user has been denied access to the requested resource.
EndpointDisabled(String)
Exception error indicating endpoint disabled.
InternalError(String)
Indicates an internal service error.
InvalidParameter(String)
Indicates that a request parameter does not comply with the associated constraints.
InvalidParameterValue(String)
Indicates that a request parameter does not comply with the associated constraints.
NotFound(String)
Indicates that the requested resource does not exist.
PlatformApplicationDisabled(String)
Exception error indicating platform application disabled.
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 PublishError
[src]
fn from_body(body: &str) -> PublishError
Trait Implementations
impl Debug for PublishError
[src]
impl PartialEq for PublishError
[src]
fn eq(&self, __arg_0: &PublishError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PublishError) -> bool
This method tests for !=
.
impl From<XmlParseError> for PublishError
[src]
fn from(err: XmlParseError) -> PublishError
Performs the conversion.
impl From<CredentialsError> for PublishError
[src]
fn from(err: CredentialsError) -> PublishError
Performs the conversion.
impl From<HttpDispatchError> for PublishError
[src]
fn from(err: HttpDispatchError) -> PublishError
Performs the conversion.