Enum rusoto_apigateway::GetResourceError [−][src]
pub enum GetResourceError { NotFound(String), TooManyRequests(String), Unauthorized(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetResource
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 GetResourceError
[src]
impl GetResourceError
pub fn from_body(body: &str) -> GetResourceError
[src]
pub fn from_body(body: &str) -> GetResourceError
Trait Implementations
impl Debug for GetResourceError
[src]
impl Debug for GetResourceError
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 GetResourceError
[src]
impl PartialEq for GetResourceError
fn eq(&self, other: &GetResourceError) -> bool
[src]
fn eq(&self, other: &GetResourceError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetResourceError) -> bool
[src]
fn ne(&self, other: &GetResourceError) -> bool
This method tests for !=
.
impl From<Error> for GetResourceError
[src]
impl From<Error> for GetResourceError
fn from(err: Error) -> GetResourceError
[src]
fn from(err: Error) -> GetResourceError
Performs the conversion.
impl From<CredentialsError> for GetResourceError
[src]
impl From<CredentialsError> for GetResourceError
fn from(err: CredentialsError) -> GetResourceError
[src]
fn from(err: CredentialsError) -> GetResourceError
Performs the conversion.
impl From<HttpDispatchError> for GetResourceError
[src]
impl From<HttpDispatchError> for GetResourceError
fn from(err: HttpDispatchError) -> GetResourceError
[src]
fn from(err: HttpDispatchError) -> GetResourceError
Performs the conversion.
impl From<Error> for GetResourceError
[src]
impl From<Error> for GetResourceError
fn from(err: Error) -> GetResourceError
[src]
fn from(err: Error) -> GetResourceError
Performs the conversion.
impl Display for GetResourceError
[src]
impl Display for GetResourceError
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 GetResourceError
[src]
impl Error for GetResourceError
Auto Trait Implementations
impl Send for GetResourceError
impl Send for GetResourceError
impl Sync for GetResourceError
impl Sync for GetResourceError