Enum rusoto_inspector::PreviewAgentsError
[−]
[src]
pub enum PreviewAgentsError { AccessDenied(String), Internal(String), InvalidCrossAccountRole(String), InvalidInput(String), NoSuchEntity(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PreviewAgents
Variants
AccessDenied(String)
You do not have required permissions to access the requested resource.
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.
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 PreviewAgentsError
[src]
fn from_body(body: &str) -> PreviewAgentsError
Trait Implementations
impl Debug for PreviewAgentsError
[src]
impl PartialEq for PreviewAgentsError
[src]
fn eq(&self, __arg_0: &PreviewAgentsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PreviewAgentsError) -> bool
This method tests for !=
.
impl From<Error> for PreviewAgentsError
[src]
fn from(err: Error) -> PreviewAgentsError
Performs the conversion.
impl From<CredentialsError> for PreviewAgentsError
[src]
fn from(err: CredentialsError) -> PreviewAgentsError
Performs the conversion.
impl From<HttpDispatchError> for PreviewAgentsError
[src]
fn from(err: HttpDispatchError) -> PreviewAgentsError
Performs the conversion.