Enum rusoto_apigateway::GetUsagePlanError [−][src]
pub enum GetUsagePlanError { BadRequest(String), NotFound(String), TooManyRequests(String), Unauthorized(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetUsagePlan
Variants
BadRequest(String)
The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
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 GetUsagePlanError
[src]
impl GetUsagePlanError
pub fn from_body(body: &str) -> GetUsagePlanError
[src]
pub fn from_body(body: &str) -> GetUsagePlanError
Trait Implementations
impl Debug for GetUsagePlanError
[src]
impl Debug for GetUsagePlanError
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 GetUsagePlanError
[src]
impl PartialEq for GetUsagePlanError
fn eq(&self, other: &GetUsagePlanError) -> bool
[src]
fn eq(&self, other: &GetUsagePlanError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetUsagePlanError) -> bool
[src]
fn ne(&self, other: &GetUsagePlanError) -> bool
This method tests for !=
.
impl From<Error> for GetUsagePlanError
[src]
impl From<Error> for GetUsagePlanError
fn from(err: Error) -> GetUsagePlanError
[src]
fn from(err: Error) -> GetUsagePlanError
Performs the conversion.
impl From<CredentialsError> for GetUsagePlanError
[src]
impl From<CredentialsError> for GetUsagePlanError
fn from(err: CredentialsError) -> GetUsagePlanError
[src]
fn from(err: CredentialsError) -> GetUsagePlanError
Performs the conversion.
impl From<HttpDispatchError> for GetUsagePlanError
[src]
impl From<HttpDispatchError> for GetUsagePlanError
fn from(err: HttpDispatchError) -> GetUsagePlanError
[src]
fn from(err: HttpDispatchError) -> GetUsagePlanError
Performs the conversion.
impl From<Error> for GetUsagePlanError
[src]
impl From<Error> for GetUsagePlanError
fn from(err: Error) -> GetUsagePlanError
[src]
fn from(err: Error) -> GetUsagePlanError
Performs the conversion.
impl Display for GetUsagePlanError
[src]
impl Display for GetUsagePlanError
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 GetUsagePlanError
[src]
impl Error for GetUsagePlanError
Auto Trait Implementations
impl Send for GetUsagePlanError
impl Send for GetUsagePlanError
impl Sync for GetUsagePlanError
impl Sync for GetUsagePlanError