pub enum EnableSecurityHubError {
AccessDenied(String),
Internal(String),
InvalidAccess(String),
LimitExceeded(String),
ResourceConflict(String),
}
Expand description
Errors returned by EnableSecurityHub
Variants§
AccessDenied(String)
You don't have permission to perform the action specified in the request.
Internal(String)
Internal server error.
InvalidAccess(String)
AWS Security Hub isn't enabled for the account used to make this request.
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.
ResourceConflict(String)
The resource specified in the request conflicts with an existing resource.
Implementations§
Source§impl EnableSecurityHubError
impl EnableSecurityHubError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<EnableSecurityHubError>
Trait Implementations§
Source§impl Debug for EnableSecurityHubError
impl Debug for EnableSecurityHubError
Source§impl Display for EnableSecurityHubError
impl Display for EnableSecurityHubError
Source§impl Error for EnableSecurityHubError
impl Error for EnableSecurityHubError
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 EnableSecurityHubError
impl PartialEq for EnableSecurityHubError
impl StructuralPartialEq for EnableSecurityHubError
Auto Trait Implementations§
impl Freeze for EnableSecurityHubError
impl RefUnwindSafe for EnableSecurityHubError
impl Send for EnableSecurityHubError
impl Sync for EnableSecurityHubError
impl Unpin for EnableSecurityHubError
impl UnwindSafe for EnableSecurityHubError
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