Enum aws_sdk_fsx::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 34 variants
ActiveDirectoryError(ActiveDirectoryError),
BackupBeingCopied(BackupBeingCopied),
BackupInProgress(BackupInProgress),
BackupNotFound(BackupNotFound),
BackupRestoring(BackupRestoring),
BadRequest(BadRequest),
DataRepositoryAssociationNotFound(DataRepositoryAssociationNotFound),
DataRepositoryTaskEnded(DataRepositoryTaskEnded),
DataRepositoryTaskExecuting(DataRepositoryTaskExecuting),
DataRepositoryTaskNotFound(DataRepositoryTaskNotFound),
FileSystemNotFound(FileSystemNotFound),
IncompatibleParameterError(IncompatibleParameterError),
IncompatibleRegionForMultiAz(IncompatibleRegionForMultiAz),
InternalServerError(InternalServerError),
InvalidDataRepositoryType(InvalidDataRepositoryType),
InvalidDestinationKmsKey(InvalidDestinationKmsKey),
InvalidExportPath(InvalidExportPath),
InvalidImportPath(InvalidImportPath),
InvalidNetworkSettings(InvalidNetworkSettings),
InvalidPerUnitStorageThroughput(InvalidPerUnitStorageThroughput),
InvalidRegion(InvalidRegion),
InvalidSourceKmsKey(InvalidSourceKmsKey),
MissingFileSystemConfiguration(MissingFileSystemConfiguration),
MissingVolumeConfiguration(MissingVolumeConfiguration),
NotServiceResourceError(NotServiceResourceError),
ResourceDoesNotSupportTagging(ResourceDoesNotSupportTagging),
ResourceNotFound(ResourceNotFound),
ServiceLimitExceeded(ServiceLimitExceeded),
SnapshotNotFound(SnapshotNotFound),
SourceBackupUnavailable(SourceBackupUnavailable),
StorageVirtualMachineNotFound(StorageVirtualMachineNotFound),
UnsupportedOperation(UnsupportedOperation),
VolumeNotFound(VolumeNotFound),
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
ActiveDirectoryError(ActiveDirectoryError)
An Active Directory error.
BackupBeingCopied(BackupBeingCopied)
You can't delete a backup while it's being copied.
BackupInProgress(BackupInProgress)
Another backup is already under way. Wait for completion before initiating additional backups of this file system.
BackupNotFound(BackupNotFound)
No Amazon FSx backups were found based upon the supplied parameters.
BackupRestoring(BackupRestoring)
You can't delete a backup while it's being used to restore a file system.
BadRequest(BadRequest)
A generic error indicating a failure with a client request.
DataRepositoryAssociationNotFound(DataRepositoryAssociationNotFound)
No data repository associations were found based upon the supplied parameters.
DataRepositoryTaskEnded(DataRepositoryTaskEnded)
The data repository task could not be canceled because the task has already ended.
DataRepositoryTaskExecuting(DataRepositoryTaskExecuting)
An existing data repository task is currently executing on the file system. Wait until the existing task has completed, then create the new task.
DataRepositoryTaskNotFound(DataRepositoryTaskNotFound)
The data repository task or tasks you specified could not be found.
FileSystemNotFound(FileSystemNotFound)
No Amazon FSx file systems were found based upon supplied parameters.
IncompatibleParameterError(IncompatibleParameterError)
The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
IncompatibleRegionForMultiAz(IncompatibleRegionForMultiAz)
Amazon FSx doesn't support Multi-AZ Windows File Server copy backup in the destination Region, so the copied backup can't be restored.
InternalServerError(InternalServerError)
A generic error indicating a server-side failure.
InvalidDataRepositoryType(InvalidDataRepositoryType)
You have filtered the response to a data repository type that is not supported.
InvalidDestinationKmsKey(InvalidDestinationKmsKey)
The Key Management Service (KMS) key of the destination backup is not valid.
InvalidExportPath(InvalidExportPath)
The path provided for data repository export isn't valid.
InvalidImportPath(InvalidImportPath)
The path provided for data repository import isn't valid.
InvalidNetworkSettings(InvalidNetworkSettings)
One or more network settings specified in the request are invalid.
InvalidPerUnitStorageThroughput(InvalidPerUnitStorageThroughput)
An invalid value for PerUnitStorageThroughput
was provided. Please create your file system again, using a valid value.
InvalidRegion(InvalidRegion)
The Region provided for SourceRegion
is not valid or is in a different Amazon Web Services partition.
InvalidSourceKmsKey(InvalidSourceKmsKey)
The Key Management Service (KMS) key of the source backup is not valid.
MissingFileSystemConfiguration(MissingFileSystemConfiguration)
A file system configuration is required for this operation.
MissingVolumeConfiguration(MissingVolumeConfiguration)
A volume configuration is required for this operation.
NotServiceResourceError(NotServiceResourceError)
The resource specified for the tagging operation is not a resource type owned by Amazon FSx. Use the API of the relevant service to perform the operation.
ResourceDoesNotSupportTagging(ResourceDoesNotSupportTagging)
The resource specified does not support tagging.
ResourceNotFound(ResourceNotFound)
The resource specified by the Amazon Resource Name (ARN) can't be found.
ServiceLimitExceeded(ServiceLimitExceeded)
An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
SnapshotNotFound(SnapshotNotFound)
No Amazon FSx snapshots were found based on the supplied parameters.
SourceBackupUnavailable(SourceBackupUnavailable)
The request was rejected because the lifecycle status of the source backup isn't AVAILABLE
.
StorageVirtualMachineNotFound(StorageVirtualMachineNotFound)
No FSx for ONTAP SVMs were found based upon the supplied parameters.
UnsupportedOperation(UnsupportedOperation)
The requested operation is not supported for this resource or API.
VolumeNotFound(VolumeNotFound)
No Amazon FSx volumes were found based upon the supplied parameters.
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<AssociateFileSystemAliasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateFileSystemAliasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateFileSystemAliasesError, R>) -> Self
fn from(err: SdkError<AssociateFileSystemAliasesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CancelDataRepositoryTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CancelDataRepositoryTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CancelDataRepositoryTaskError, R>) -> Self
fn from(err: SdkError<CancelDataRepositoryTaskError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CopyBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CopyBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CopyBackupError, R>) -> Self
fn from(err: SdkError<CopyBackupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBackupError, R>) -> Self
fn from(err: SdkError<CreateBackupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateDataRepositoryAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateDataRepositoryAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateDataRepositoryAssociationError, R>) -> Self
fn from(err: SdkError<CreateDataRepositoryAssociationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateDataRepositoryTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateDataRepositoryTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateDataRepositoryTaskError, R>) -> Self
fn from(err: SdkError<CreateDataRepositoryTaskError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateFileSystemError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateFileSystemError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateFileSystemError, R>) -> Self
fn from(err: SdkError<CreateFileSystemError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateFileSystemFromBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateFileSystemFromBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateFileSystemFromBackupError, R>) -> Self
fn from(err: SdkError<CreateFileSystemFromBackupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateSnapshotError, R>) -> Self
fn from(err: SdkError<CreateSnapshotError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateStorageVirtualMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateStorageVirtualMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateStorageVirtualMachineError, R>) -> Self
fn from(err: SdkError<CreateStorageVirtualMachineError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateVolumeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateVolumeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateVolumeError, R>) -> Self
fn from(err: SdkError<CreateVolumeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateVolumeFromBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateVolumeFromBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateVolumeFromBackupError, R>) -> Self
fn from(err: SdkError<CreateVolumeFromBackupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteBackupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteBackupError, R>) -> Self
fn from(err: SdkError<DeleteBackupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteDataRepositoryAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDataRepositoryAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDataRepositoryAssociationError, R>) -> Self
fn from(err: SdkError<DeleteDataRepositoryAssociationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteFileSystemError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteFileSystemError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteFileSystemError, R>) -> Self
fn from(err: SdkError<DeleteFileSystemError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteSnapshotError, R>) -> Self
fn from(err: SdkError<DeleteSnapshotError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteStorageVirtualMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteStorageVirtualMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteStorageVirtualMachineError, R>) -> Self
fn from(err: SdkError<DeleteStorageVirtualMachineError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteVolumeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteVolumeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteVolumeError, R>) -> Self
fn from(err: SdkError<DeleteVolumeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeBackupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeBackupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeBackupsError, R>) -> Self
fn from(err: SdkError<DescribeBackupsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeDataRepositoryAssociationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDataRepositoryAssociationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDataRepositoryAssociationsError, R>) -> Self
fn from(err: SdkError<DescribeDataRepositoryAssociationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeDataRepositoryTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDataRepositoryTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDataRepositoryTasksError, R>) -> Self
fn from(err: SdkError<DescribeDataRepositoryTasksError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeFileSystemAliasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeFileSystemAliasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeFileSystemAliasesError, R>) -> Self
fn from(err: SdkError<DescribeFileSystemAliasesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeFileSystemsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeFileSystemsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeFileSystemsError, R>) -> Self
fn from(err: SdkError<DescribeFileSystemsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSnapshotsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSnapshotsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSnapshotsError, R>) -> Self
fn from(err: SdkError<DescribeSnapshotsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeStorageVirtualMachinesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeStorageVirtualMachinesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeStorageVirtualMachinesError, R>) -> Self
fn from(err: SdkError<DescribeStorageVirtualMachinesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeVolumesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeVolumesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeVolumesError, R>) -> Self
fn from(err: SdkError<DescribeVolumesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateFileSystemAliasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateFileSystemAliasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateFileSystemAliasesError, R>) -> Self
fn from(err: SdkError<DisassociateFileSystemAliasesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ReleaseFileSystemNfsV3LocksError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ReleaseFileSystemNfsV3LocksError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ReleaseFileSystemNfsV3LocksError, R>) -> Self
fn from(err: SdkError<ReleaseFileSystemNfsV3LocksError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RestoreVolumeFromSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RestoreVolumeFromSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RestoreVolumeFromSnapshotError, R>) -> Self
fn from(err: SdkError<RestoreVolumeFromSnapshotError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateDataRepositoryAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateDataRepositoryAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateDataRepositoryAssociationError, R>) -> Self
fn from(err: SdkError<UpdateDataRepositoryAssociationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateFileSystemError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateFileSystemError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateFileSystemError, R>) -> Self
fn from(err: SdkError<UpdateFileSystemError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateSnapshotError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateSnapshotError, R>) -> Self
fn from(err: SdkError<UpdateSnapshotError, R>) -> Self
Converts to this type from the input type.
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 · sourcefn borrow_mut(&mut self) -> &mut T
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