Enum aws_sdk_migrationhub::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
DryRunOperation(DryRunOperation),
HomeRegionNotSetException(HomeRegionNotSetException),
InternalServerError(InternalServerError),
InvalidInputException(InvalidInputException),
PolicyErrorException(PolicyErrorException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
UnauthorizedOperation(UnauthorizedOperation),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You do not have sufficient access to perform this action.
DryRunOperation(DryRunOperation)
Exception raised to indicate a successfully authorized action when the DryRun
flag is set to "true".
HomeRegionNotSetException(HomeRegionNotSetException)
The home region is not set. Set the home region to continue.
InternalServerError(InternalServerError)
Exception raised when an internal, configuration, or dependency error is encountered.
InvalidInputException(InvalidInputException)
Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
PolicyErrorException(PolicyErrorException)
Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery
role is missing or not configured correctly.
ResourceNotFoundException(ResourceNotFoundException)
Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
ServiceUnavailableException(ServiceUnavailableException)
Exception raised when there is an internal, configuration, or dependency error encountered.
ThrottlingException(ThrottlingException)
The request was denied due to request throttling.
UnauthorizedOperation(UnauthorizedOperation)
Exception raised to indicate a request was not authorized when the DryRun
flag is set to "true".
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AssociateCreatedArtifactError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateCreatedArtifactError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateCreatedArtifactError, R>) -> Self
fn from(err: SdkError<AssociateCreatedArtifactError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<AssociateDiscoveredResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateDiscoveredResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateDiscoveredResourceError, R>) -> Self
fn from(err: SdkError<AssociateDiscoveredResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateProgressUpdateStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateProgressUpdateStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateProgressUpdateStreamError, R>) -> Self
fn from(err: SdkError<CreateProgressUpdateStreamError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteProgressUpdateStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteProgressUpdateStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteProgressUpdateStreamError, R>) -> Self
fn from(err: SdkError<DeleteProgressUpdateStreamError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeApplicationStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeApplicationStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeApplicationStateError, R>) -> Self
fn from(err: SdkError<DescribeApplicationStateError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeMigrationTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeMigrationTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeMigrationTaskError, R>) -> Self
fn from(err: SdkError<DescribeMigrationTaskError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DisassociateCreatedArtifactError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateCreatedArtifactError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateCreatedArtifactError, R>) -> Self
fn from(err: SdkError<DisassociateCreatedArtifactError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DisassociateDiscoveredResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateDiscoveredResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateDiscoveredResourceError, R>) -> Self
fn from(err: SdkError<DisassociateDiscoveredResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ImportMigrationTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ImportMigrationTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ImportMigrationTaskError, R>) -> Self
fn from(err: SdkError<ImportMigrationTaskError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListApplicationStatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListApplicationStatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListApplicationStatesError, R>) -> Self
fn from(err: SdkError<ListApplicationStatesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListCreatedArtifactsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListCreatedArtifactsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListCreatedArtifactsError, R>) -> Self
fn from(err: SdkError<ListCreatedArtifactsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListDiscoveredResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDiscoveredResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDiscoveredResourcesError, R>) -> Self
fn from(err: SdkError<ListDiscoveredResourcesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListMigrationTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListMigrationTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListMigrationTasksError, R>) -> Self
fn from(err: SdkError<ListMigrationTasksError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListProgressUpdateStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListProgressUpdateStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListProgressUpdateStreamsError, R>) -> Self
fn from(err: SdkError<ListProgressUpdateStreamsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<NotifyApplicationStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<NotifyApplicationStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<NotifyApplicationStateError, R>) -> Self
fn from(err: SdkError<NotifyApplicationStateError, R>) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more