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