Enum rusoto_inspector::StartAssessmentRunError [−][src]
pub enum StartAssessmentRunError { AccessDenied(String), AgentsAlreadyRunningAssessment(String), Internal(String), InvalidCrossAccountRole(String), InvalidInput(String), LimitExceeded(String), NoSuchEntity(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by StartAssessmentRun
Variants
AccessDenied(String)
You do not have required permissions to access the requested resource.
AgentsAlreadyRunningAssessment(String)
You started an assessment run, but one of the instances is already participating in another assessment run.
Internal(String)
Internal server error.
InvalidCrossAccountRole(String)
Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.
InvalidInput(String)
The request was rejected because an invalid or out-of-range value was supplied 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.
NoSuchEntity(String)
The request was rejected because it referenced an entity that does not exist. The error code describes the entity.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl StartAssessmentRunError
[src]
impl StartAssessmentRunError
pub fn from_body(body: &str) -> StartAssessmentRunError
[src]
pub fn from_body(body: &str) -> StartAssessmentRunError
Trait Implementations
impl Debug for StartAssessmentRunError
[src]
impl Debug for StartAssessmentRunError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for StartAssessmentRunError
[src]
impl PartialEq for StartAssessmentRunError
fn eq(&self, other: &StartAssessmentRunError) -> bool
[src]
fn eq(&self, other: &StartAssessmentRunError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StartAssessmentRunError) -> bool
[src]
fn ne(&self, other: &StartAssessmentRunError) -> bool
This method tests for !=
.
impl From<Error> for StartAssessmentRunError
[src]
impl From<Error> for StartAssessmentRunError
fn from(err: Error) -> StartAssessmentRunError
[src]
fn from(err: Error) -> StartAssessmentRunError
Performs the conversion.
impl From<CredentialsError> for StartAssessmentRunError
[src]
impl From<CredentialsError> for StartAssessmentRunError
fn from(err: CredentialsError) -> StartAssessmentRunError
[src]
fn from(err: CredentialsError) -> StartAssessmentRunError
Performs the conversion.
impl From<HttpDispatchError> for StartAssessmentRunError
[src]
impl From<HttpDispatchError> for StartAssessmentRunError
fn from(err: HttpDispatchError) -> StartAssessmentRunError
[src]
fn from(err: HttpDispatchError) -> StartAssessmentRunError
Performs the conversion.
impl From<Error> for StartAssessmentRunError
[src]
impl From<Error> for StartAssessmentRunError
fn from(err: Error) -> StartAssessmentRunError
[src]
fn from(err: Error) -> StartAssessmentRunError
Performs the conversion.
impl Display for StartAssessmentRunError
[src]
impl Display for StartAssessmentRunError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for StartAssessmentRunError
[src]
impl Error for StartAssessmentRunError
Auto Trait Implementations
impl Send for StartAssessmentRunError
impl Send for StartAssessmentRunError
impl Sync for StartAssessmentRunError
impl Sync for StartAssessmentRunError