pub enum GetEnabledStandardsError {
Internal(String),
InvalidAccess(String),
InvalidInput(String),
LimitExceeded(String),
}
Expand description
Errors returned by GetEnabledStandards
Variants§
Internal(String)
Internal server error.
InvalidAccess(String)
AWS Security Hub isn't enabled for the account used to make this request.
InvalidInput(String)
The request was rejected because you supplied an invalid or out-of-range value for an input parameter.
LimitExceeded(String)
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error code describes the limit exceeded.
Implementations§
Source§impl GetEnabledStandardsError
impl GetEnabledStandardsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetEnabledStandardsError>
Trait Implementations§
Source§impl Debug for GetEnabledStandardsError
impl Debug for GetEnabledStandardsError
Source§impl Display for GetEnabledStandardsError
impl Display for GetEnabledStandardsError
Source§impl Error for GetEnabledStandardsError
impl Error for GetEnabledStandardsError
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 GetEnabledStandardsError
impl PartialEq for GetEnabledStandardsError
impl StructuralPartialEq for GetEnabledStandardsError
Auto Trait Implementations§
impl Freeze for GetEnabledStandardsError
impl RefUnwindSafe for GetEnabledStandardsError
impl Send for GetEnabledStandardsError
impl Sync for GetEnabledStandardsError
impl Unpin for GetEnabledStandardsError
impl UnwindSafe for GetEnabledStandardsError
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