Enum aws_sdk_databasemigration::Error[][src]

#[non_exhaustive]
pub enum Error {
Show 24 variants AccessDeniedFault(AccessDeniedFault), InsufficientResourceCapacityFault(InsufficientResourceCapacityFault), InvalidCertificateFault(InvalidCertificateFault), InvalidResourceStateFault(InvalidResourceStateFault), InvalidSubnet(InvalidSubnet), KmsAccessDeniedFault(KmsAccessDeniedFault), KmsDisabledFault(KmsDisabledFault), KmsFault(KmsFault), KmsInvalidStateFault(KmsInvalidStateFault), KmsKeyNotAccessibleFault(KmsKeyNotAccessibleFault), KmsNotFoundFault(KmsNotFoundFault), KmsThrottlingFault(KmsThrottlingFault), ReplicationSubnetGroupDoesNotCoverEnoughAZs(ReplicationSubnetGroupDoesNotCoverEnoughAZs), ResourceAlreadyExistsFault(ResourceAlreadyExistsFault), ResourceNotFoundFault(ResourceNotFoundFault), ResourceQuotaExceededFault(ResourceQuotaExceededFault), S3AccessDeniedFault(S3AccessDeniedFault), S3ResourceNotFoundFault(S3ResourceNotFoundFault), SnsInvalidTopicFault(SnsInvalidTopicFault), SnsNoAuthorizationFault(SnsNoAuthorizationFault), StorageQuotaExceededFault(StorageQuotaExceededFault), SubnetAlreadyInUse(SubnetAlreadyInUse), UpgradeDependencyFailureFault(UpgradeDependencyFailureFault), 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.

AccessDeniedFault(AccessDeniedFault)

Tuple Fields

DMS was denied access to the endpoint. Check that the role is correctly configured.

InsufficientResourceCapacityFault(InsufficientResourceCapacityFault)

There are not enough resources allocated to the database migration.

InvalidCertificateFault(InvalidCertificateFault)

Tuple Fields

The certificate was not valid.

InvalidResourceStateFault(InvalidResourceStateFault)

The resource is in a state that prevents it from being used for database migration.

InvalidSubnet(InvalidSubnet)

Tuple Fields

The subnet provided is invalid.

KmsAccessDeniedFault(KmsAccessDeniedFault)

Tuple Fields

The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.

KmsDisabledFault(KmsDisabledFault)

Tuple Fields

The specified KMS key isn't enabled.

KmsFault(KmsFault)

Tuple Fields

An Key Management Service (KMS) error is preventing access to KMS.

KmsInvalidStateFault(KmsInvalidStateFault)

Tuple Fields

The state of the specified KMS resource isn't valid for this request.

KmsKeyNotAccessibleFault(KmsKeyNotAccessibleFault)

Tuple Fields

DMS cannot access the KMS key.

KmsNotFoundFault(KmsNotFoundFault)

Tuple Fields

The specified KMS entity or resource can't be found.

KmsThrottlingFault(KmsThrottlingFault)

Tuple Fields

This request triggered KMS request throttling.

ReplicationSubnetGroupDoesNotCoverEnoughAZs(ReplicationSubnetGroupDoesNotCoverEnoughAZs)

The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.

ResourceAlreadyExistsFault(ResourceAlreadyExistsFault)

The resource you are attempting to create already exists.

ResourceNotFoundFault(ResourceNotFoundFault)

Tuple Fields

The resource could not be found.

ResourceQuotaExceededFault(ResourceQuotaExceededFault)

The quota for this resource quota has been exceeded.

S3AccessDeniedFault(S3AccessDeniedFault)

Tuple Fields

Insufficient privileges are preventing access to an Amazon S3 object.

S3ResourceNotFoundFault(S3ResourceNotFoundFault)

Tuple Fields

A specified Amazon S3 bucket, bucket folder, or other object can't be found.

SnsInvalidTopicFault(SnsInvalidTopicFault)

Tuple Fields

The SNS topic is invalid.

SnsNoAuthorizationFault(SnsNoAuthorizationFault)

Tuple Fields

You are not authorized for the SNS subscription.

StorageQuotaExceededFault(StorageQuotaExceededFault)

The storage quota has been exceeded.

SubnetAlreadyInUse(SubnetAlreadyInUse)

Tuple Fields

The specified subnet is already in use.

UpgradeDependencyFailureFault(UpgradeDependencyFailureFault)

An upgrade dependency is preventing the database migration.

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.

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.

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