pub enum GetApiCacheError {
BadRequest(String),
ConcurrentModification(String),
InternalFailure(String),
NotFound(String),
Unauthorized(String),
}
Expand description
Errors returned by GetApiCache
Variants§
BadRequest(String)
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModification(String)
Another modification is in progress at this time and it must complete before you can make your change.
InternalFailure(String)
An internal AWS AppSync error occurred. Try your request again.
NotFound(String)
The resource specified in the request was not found. Check the resource, and then try again.
You are not authorized to perform this operation.
Implementations§
Source§impl GetApiCacheError
impl GetApiCacheError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetApiCacheError>
Trait Implementations§
Source§impl Debug for GetApiCacheError
impl Debug for GetApiCacheError
Source§impl Display for GetApiCacheError
impl Display for GetApiCacheError
Source§impl Error for GetApiCacheError
impl Error for GetApiCacheError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for GetApiCacheError
impl PartialEq for GetApiCacheError
impl StructuralPartialEq for GetApiCacheError
Auto Trait Implementations§
impl Freeze for GetApiCacheError
impl RefUnwindSafe for GetApiCacheError
impl Send for GetApiCacheError
impl Sync for GetApiCacheError
impl Unpin for GetApiCacheError
impl UnwindSafe for GetApiCacheError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more