#[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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

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

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more