Enum aws_sdk_fsx::Error[][src]

#[non_exhaustive]
pub enum Error {
Show 31 variants ActiveDirectoryError(ActiveDirectoryError), BackupBeingCopied(BackupBeingCopied), BackupInProgress(BackupInProgress), BackupNotFound(BackupNotFound), BackupRestoring(BackupRestoring), BadRequest(BadRequest), DataRepositoryTaskEnded(DataRepositoryTaskEnded), DataRepositoryTaskExecuting(DataRepositoryTaskExecuting), DataRepositoryTaskNotFound(DataRepositoryTaskNotFound), FileSystemNotFound(FileSystemNotFound), IncompatibleParameterError(IncompatibleParameterError), IncompatibleRegionForMultiAz(IncompatibleRegionForMultiAz), InternalServerError(InternalServerError), 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), 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)

Tuple Fields

An Active Directory error.

BackupBeingCopied(BackupBeingCopied)

Tuple Fields

You can't delete a backup while it's being copied.

BackupInProgress(BackupInProgress)

Tuple Fields

Another backup is already under way. Wait for completion before initiating additional backups of this file system.

BackupNotFound(BackupNotFound)

Tuple Fields

No Amazon FSx backups were found based upon the supplied parameters.

BackupRestoring(BackupRestoring)

Tuple Fields

You can't delete a backup while it's being used to restore a file system.

BadRequest(BadRequest)

Tuple Fields

A generic error indicating a failure with a client request.

DataRepositoryTaskEnded(DataRepositoryTaskEnded)

Tuple Fields

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)

Tuple Fields

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)

Tuple Fields

A generic error indicating a server-side failure.

InvalidDestinationKmsKey(InvalidDestinationKmsKey)

Tuple Fields

The Key Management Service (KMS) key of the destination backup is invalid.

InvalidExportPath(InvalidExportPath)

Tuple Fields

The path provided for data repository export isn't valid.

InvalidImportPath(InvalidImportPath)

Tuple Fields

The path provided for data repository import isn't valid.

InvalidNetworkSettings(InvalidNetworkSettings)

Tuple Fields

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)

Tuple Fields

The Region provided for Source Region is invalid or is in a different Amazon Web Services partition.

InvalidSourceKmsKey(InvalidSourceKmsKey)

Tuple Fields

The Key Management Service (KMS) key of the source backup is invalid.

MissingFileSystemConfiguration(MissingFileSystemConfiguration)

A file system configuration is required for this operation.

MissingVolumeConfiguration(MissingVolumeConfiguration)

A volume configuration is required for this operation.

NotServiceResourceError(NotServiceResourceError)

Tuple Fields

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)

Tuple Fields

The resource specified by the Amazon Resource Name (ARN) can't be found.

ServiceLimitExceeded(ServiceLimitExceeded)

Tuple Fields

An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.

SourceBackupUnavailable(SourceBackupUnavailable)

Tuple Fields

The request was rejected because the lifecycle status of the source backup is not AVAILABLE.

StorageVirtualMachineNotFound(StorageVirtualMachineNotFound)

No Amazon FSx for NetApp ONTAP SVMs were found based upon the supplied parameters.

UnsupportedOperation(UnsupportedOperation)

Tuple Fields

The requested operation is not supported for this resource or API.

VolumeNotFound(VolumeNotFound)

Tuple Fields

No Amazon FSx for NetApp ONTAP volumes were found based upon the supplied parameters.

Unhandled(Box<dyn Error + Send + Sync + 'static>)

Tuple Fields

0: 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

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

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