Enum rusoto_mgh::ImportMigrationTaskError [−][src]
pub enum ImportMigrationTaskError { AccessDenied(String), DryRunOperation(String), InternalServerError(String), InvalidInput(String), ResourceNotFound(String), ServiceUnavailable(String), UnauthorizedOperation(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ImportMigrationTask
Variants
AccessDenied(String)
You do not have sufficient access to perform this action.
DryRunOperation(String)
Exception raised to indicate a successfully authorized action when the DryRun
flag is set to "true".
InternalServerError(String)
Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInput(String)
Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFound(String)
Exception raised when the request references a resource (ADS configuration, update stream, migration task, etc.) that does not exist in ADS (Application Discovery Service) or in Migration Hub's repository.
Exception raised when there is an internal, configuration, or dependency error encountered.
Exception raised to indicate a request was not authorized when the DryRun
flag is set to "true".
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 ImportMigrationTaskError
[src]
impl ImportMigrationTaskError
pub fn from_body(body: &str) -> ImportMigrationTaskError
[src]
pub fn from_body(body: &str) -> ImportMigrationTaskError
Trait Implementations
impl Debug for ImportMigrationTaskError
[src]
impl Debug for ImportMigrationTaskError
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 ImportMigrationTaskError
[src]
impl PartialEq for ImportMigrationTaskError
fn eq(&self, other: &ImportMigrationTaskError) -> bool
[src]
fn eq(&self, other: &ImportMigrationTaskError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ImportMigrationTaskError) -> bool
[src]
fn ne(&self, other: &ImportMigrationTaskError) -> bool
This method tests for !=
.
impl From<Error> for ImportMigrationTaskError
[src]
impl From<Error> for ImportMigrationTaskError
fn from(err: Error) -> ImportMigrationTaskError
[src]
fn from(err: Error) -> ImportMigrationTaskError
Performs the conversion.
impl From<CredentialsError> for ImportMigrationTaskError
[src]
impl From<CredentialsError> for ImportMigrationTaskError
fn from(err: CredentialsError) -> ImportMigrationTaskError
[src]
fn from(err: CredentialsError) -> ImportMigrationTaskError
Performs the conversion.
impl From<HttpDispatchError> for ImportMigrationTaskError
[src]
impl From<HttpDispatchError> for ImportMigrationTaskError
fn from(err: HttpDispatchError) -> ImportMigrationTaskError
[src]
fn from(err: HttpDispatchError) -> ImportMigrationTaskError
Performs the conversion.
impl From<Error> for ImportMigrationTaskError
[src]
impl From<Error> for ImportMigrationTaskError
fn from(err: Error) -> ImportMigrationTaskError
[src]
fn from(err: Error) -> ImportMigrationTaskError
Performs the conversion.
impl Display for ImportMigrationTaskError
[src]
impl Display for ImportMigrationTaskError
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 ImportMigrationTaskError
[src]
impl Error for ImportMigrationTaskError
Auto Trait Implementations
impl Send for ImportMigrationTaskError
impl Send for ImportMigrationTaskError
impl Sync for ImportMigrationTaskError
impl Sync for ImportMigrationTaskError