pub enum GetApplicationPolicyError {
BadRequest(String),
Forbidden(String),
InternalServerError(String),
NotFound(String),
TooManyRequests(String),
}
Expand description
Errors returned by GetApplicationPolicy
Variants§
BadRequest(String)
One of the parameters in the request is invalid.
Forbidden(String)
The client is not authenticated.
InternalServerError(String)
The AWS Serverless Application Repository service encountered an internal error.
NotFound(String)
The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequests(String)
The client is sending more than the allowed number of requests per unit of time.
Implementations§
Source§impl GetApplicationPolicyError
impl GetApplicationPolicyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetApplicationPolicyError>
Trait Implementations§
Source§impl Debug for GetApplicationPolicyError
impl Debug for GetApplicationPolicyError
Source§impl Display for GetApplicationPolicyError
impl Display for GetApplicationPolicyError
Source§impl Error for GetApplicationPolicyError
impl Error for GetApplicationPolicyError
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()
impl StructuralPartialEq for GetApplicationPolicyError
Auto Trait Implementations§
impl Freeze for GetApplicationPolicyError
impl RefUnwindSafe for GetApplicationPolicyError
impl Send for GetApplicationPolicyError
impl Sync for GetApplicationPolicyError
impl Unpin for GetApplicationPolicyError
impl UnwindSafe for GetApplicationPolicyError
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