Enum rusoto_inspector::GetAssessmentReportError
[−]
[src]
pub enum GetAssessmentReportError { AccessDenied(String), AssessmentRunInProgress(String), Internal(String), InvalidInput(String), NoSuchEntity(String), UnsupportedFeature(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetAssessmentReport
Variants
AccessDenied(String)
You do not have required permissions to access the requested resource.
AssessmentRunInProgress(String)
You cannot perform a specified action if an assessment run is currently in progress.
Internal(String)
Internal server error.
InvalidInput(String)
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
NoSuchEntity(String)
The request was rejected because it referenced an entity that does not exist. The error code describes the entity.
UnsupportedFeature(String)
Used by the GetAssessmentReport API. The request was rejected because you tried to generate a report for an assessment run that existed before reporting was supported in Amazon Inspector. You can only generate reports for assessment runs that took place or will take place after generating reports in Amazon Inspector became available.
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 GetAssessmentReportError
[src]
pub fn from_body(body: &str) -> GetAssessmentReportError
[src]
Trait Implementations
impl Debug for GetAssessmentReportError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for GetAssessmentReportError
[src]
fn eq(&self, __arg_0: &GetAssessmentReportError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetAssessmentReportError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetAssessmentReportError
[src]
fn from(err: Error) -> GetAssessmentReportError
[src]
Performs the conversion.
impl From<CredentialsError> for GetAssessmentReportError
[src]
fn from(err: CredentialsError) -> GetAssessmentReportError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetAssessmentReportError
[src]
fn from(err: HttpDispatchError) -> GetAssessmentReportError
[src]
Performs the conversion.
impl From<Error> for GetAssessmentReportError
[src]
fn from(err: Error) -> GetAssessmentReportError
[src]
Performs the conversion.
impl Display for GetAssessmentReportError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more