Enum rusoto_iot::DeletePolicyError
[−]
[src]
pub enum DeletePolicyError { InternalFailure(String), Throttling(String), InvalidRequest(String), ServiceUnavailable(String), ResourceNotFound(String), Unauthorized(String), DeleteConflict(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeletePolicy
Variants
InternalFailure(String)
An unexpected error has occurred.
Throttling(String)
The rate exceeds the limit.
InvalidRequest(String)
The request is not valid.
The service is temporarily unavailable.
ResourceNotFound(String)
The specified resource does not exist.
You are not authorized to perform this operation.
DeleteConflict(String)
You can't delete the resource because it is attached to one or more resources.
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 DeletePolicyError
[src]
fn from_body(body: &str) -> DeletePolicyError
Trait Implementations
impl Debug for DeletePolicyError
[src]
impl PartialEq for DeletePolicyError
[src]
fn eq(&self, __arg_0: &DeletePolicyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeletePolicyError) -> bool
This method tests for !=
.
impl From<Error> for DeletePolicyError
[src]
fn from(err: Error) -> DeletePolicyError
Performs the conversion.
impl From<CredentialsError> for DeletePolicyError
[src]
fn from(err: CredentialsError) -> DeletePolicyError
Performs the conversion.
impl From<HttpDispatchError> for DeletePolicyError
[src]
fn from(err: HttpDispatchError) -> DeletePolicyError
Performs the conversion.