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]
fn from_body(body: &str) -> StartAssessmentRunError
Trait Implementations
impl Debug for StartAssessmentRunError
[src]
impl PartialEq for StartAssessmentRunError
[src]
fn eq(&self, __arg_0: &StartAssessmentRunError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StartAssessmentRunError) -> bool
This method tests for !=
.
impl From<Error> for StartAssessmentRunError
[src]
fn from(err: Error) -> StartAssessmentRunError
Performs the conversion.
impl From<CredentialsError> for StartAssessmentRunError
[src]
fn from(err: CredentialsError) -> StartAssessmentRunError
Performs the conversion.
impl From<HttpDispatchError> for StartAssessmentRunError
[src]
fn from(err: HttpDispatchError) -> StartAssessmentRunError
Performs the conversion.
impl From<Error> for StartAssessmentRunError
[src]
fn from(err: Error) -> StartAssessmentRunError
Performs the conversion.