Enum aws_sdk_fsx::Error
source · #[non_exhaustive]pub enum Error {
Show 36 variants
ActiveDirectoryError(ActiveDirectoryError),
BackupBeingCopied(BackupBeingCopied),
BackupInProgress(BackupInProgress),
BackupNotFound(BackupNotFound),
BackupRestoring(BackupRestoring),
BadRequest(BadRequest),
DataRepositoryAssociationNotFound(DataRepositoryAssociationNotFound),
DataRepositoryTaskEnded(DataRepositoryTaskEnded),
DataRepositoryTaskExecuting(DataRepositoryTaskExecuting),
DataRepositoryTaskNotFound(DataRepositoryTaskNotFound),
FileCacheNotFound(FileCacheNotFound),
FileSystemNotFound(FileSystemNotFound),
IncompatibleParameterError(IncompatibleParameterError),
IncompatibleRegionForMultiAz(IncompatibleRegionForMultiAz),
InternalServerError(InternalServerError),
InvalidDataRepositoryType(InvalidDataRepositoryType),
InvalidDestinationKmsKey(InvalidDestinationKmsKey),
InvalidExportPath(InvalidExportPath),
InvalidImportPath(InvalidImportPath),
InvalidNetworkSettings(InvalidNetworkSettings),
InvalidPerUnitStorageThroughput(InvalidPerUnitStorageThroughput),
InvalidRegion(InvalidRegion),
InvalidSourceKmsKey(InvalidSourceKmsKey),
MissingFileCacheConfiguration(MissingFileCacheConfiguration),
MissingFileSystemConfiguration(MissingFileSystemConfiguration),
MissingVolumeConfiguration(MissingVolumeConfiguration),
NotServiceResourceError(NotServiceResourceError),
ResourceDoesNotSupportTagging(ResourceDoesNotSupportTagging),
ResourceNotFound(ResourceNotFound),
ServiceLimitExceeded(ServiceLimitExceeded),
SnapshotNotFound(SnapshotNotFound),
SourceBackupUnavailable(SourceBackupUnavailable),
StorageVirtualMachineNotFound(StorageVirtualMachineNotFound),
UnsupportedOperation(UnsupportedOperation),
VolumeNotFound(VolumeNotFound),
Unhandled(Unhandled),
}
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.
FileCacheNotFound(FileCacheNotFound)
No caches were found based upon supplied parameters.
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.
MissingFileCacheConfiguration(MissingFileCacheConfiguration)
A cache configuration is required for this operation.
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.
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(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).