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