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]
pub fn from_body(body: &str) -> PublishError
[src]
Trait Implementations
impl Debug for PublishError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for PublishError
[src]
fn eq(&self, __arg_0: &PublishError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PublishError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for PublishError
[src]
fn from(err: XmlParseError) -> PublishError
[src]
Performs the conversion.
impl From<CredentialsError> for PublishError
[src]
fn from(err: CredentialsError) -> PublishError
[src]
Performs the conversion.
impl From<HttpDispatchError> for PublishError
[src]
fn from(err: HttpDispatchError) -> PublishError
[src]
Performs the conversion.
impl From<Error> for PublishError
[src]
fn from(err: Error) -> PublishError
[src]
Performs the conversion.
impl Display for PublishError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more