pub enum GetComponentPolicyError {
CallRateLimitExceeded(String),
Forbidden(String),
InvalidRequest(String),
ResourceNotFound(String),
Service(String),
ServiceUnavailable(String),
}
Expand description
Errors returned by GetComponentPolicy
Variants§
CallRateLimitExceeded(String)
You have exceeded the permitted request rate for the specific operation.
Forbidden(String)
You are not authorized to perform the requested operation.
InvalidRequest(String)
You have made a request for an action that is not supported by the service.
ResourceNotFound(String)
At least one of the resources referenced by your request does not exist.
Service(String)
This exception is thrown when the service encounters an unrecoverable exception.
The service is unable to process your request at this time.
Implementations§
Source§impl GetComponentPolicyError
impl GetComponentPolicyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetComponentPolicyError>
Trait Implementations§
Source§impl Debug for GetComponentPolicyError
impl Debug for GetComponentPolicyError
Source§impl Display for GetComponentPolicyError
impl Display for GetComponentPolicyError
Source§impl Error for GetComponentPolicyError
impl Error for GetComponentPolicyError
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 GetComponentPolicyError
impl PartialEq for GetComponentPolicyError
impl StructuralPartialEq for GetComponentPolicyError
Auto Trait Implementations§
impl Freeze for GetComponentPolicyError
impl RefUnwindSafe for GetComponentPolicyError
impl Send for GetComponentPolicyError
impl Sync for GetComponentPolicyError
impl Unpin for GetComponentPolicyError
impl UnwindSafe for GetComponentPolicyError
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