pub enum GetPolicyError {
InvalidParameterValue(String),
ResourceNotFound(String),
Service(String),
TooManyRequests(String),
}
Expand description
Errors returned by GetPolicy
Variants§
InvalidParameterValue(String)
One of the parameters in the request is invalid.
ResourceNotFound(String)
The resource specified in the request does not exist.
Service(String)
The AWS Lambda service encountered an internal error.
TooManyRequests(String)
The request throughput limit was exceeded.
Implementations§
Source§impl GetPolicyError
impl GetPolicyError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetPolicyError>
Trait Implementations§
Source§impl Debug for GetPolicyError
impl Debug for GetPolicyError
Source§impl Display for GetPolicyError
impl Display for GetPolicyError
Source§impl Error for GetPolicyError
impl Error for GetPolicyError
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 GetPolicyError
impl PartialEq for GetPolicyError
impl StructuralPartialEq for GetPolicyError
Auto Trait Implementations§
impl Freeze for GetPolicyError
impl RefUnwindSafe for GetPolicyError
impl Send for GetPolicyError
impl Sync for GetPolicyError
impl Unpin for GetPolicyError
impl UnwindSafe for GetPolicyError
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