pub enum PutApplicationPolicyError {
BadRequest(String),
Forbidden(String),
InternalServerError(String),
NotFound(String),
TooManyRequests(String),
}
Expand description
Errors returned by PutApplicationPolicy
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 PutApplicationPolicyError
impl PutApplicationPolicyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<PutApplicationPolicyError>
Trait Implementations§
Source§impl Debug for PutApplicationPolicyError
impl Debug for PutApplicationPolicyError
Source§impl Display for PutApplicationPolicyError
impl Display for PutApplicationPolicyError
Source§impl Error for PutApplicationPolicyError
impl Error for PutApplicationPolicyError
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 PutApplicationPolicyError
Auto Trait Implementations§
impl Freeze for PutApplicationPolicyError
impl RefUnwindSafe for PutApplicationPolicyError
impl Send for PutApplicationPolicyError
impl Sync for PutApplicationPolicyError
impl Unpin for PutApplicationPolicyError
impl UnwindSafe for PutApplicationPolicyError
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