Enum rusoto_apigateway::GetMethodError
[−]
[src]
pub enum GetMethodError { NotFound(String), TooManyRequests(String), Unauthorized(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetMethod
Variants
NotFound(String)
The requested resource is not found. Make sure that the request URI is correct.
TooManyRequests(String)
The request has reached its throttling limit. Retry after the specified time period.
The request is denied because the caller has insufficient permissions.
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 GetMethodError
[src]
pub fn from_body(body: &str) -> GetMethodError
[src]
Trait Implementations
impl Debug for GetMethodError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for GetMethodError
[src]
fn eq(&self, __arg_0: &GetMethodError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetMethodError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetMethodError
[src]
fn from(err: Error) -> GetMethodError
[src]
Performs the conversion.
impl From<CredentialsError> for GetMethodError
[src]
fn from(err: CredentialsError) -> GetMethodError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetMethodError
[src]
fn from(err: HttpDispatchError) -> GetMethodError
[src]
Performs the conversion.
impl From<Error> for GetMethodError
[src]
fn from(err: Error) -> GetMethodError
[src]
Performs the conversion.
impl Display for GetMethodError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more