#[non_exhaustive]
pub enum Error {
Show 26 variants AccessDeniedFault(AccessDeniedFault), CollectorNotFoundFault(CollectorNotFoundFault), InsufficientResourceCapacityFault(InsufficientResourceCapacityFault), InvalidCertificateFault(InvalidCertificateFault), InvalidOperationFault(InvalidOperationFault), 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)

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

CollectorNotFoundFault(CollectorNotFoundFault)

The specified collector doesn't exist.

InsufficientResourceCapacityFault(InsufficientResourceCapacityFault)

There are not enough resources allocated to the database migration.

InvalidCertificateFault(InvalidCertificateFault)

The certificate was not valid.

InvalidOperationFault(InvalidOperationFault)

The action or operation requested isn't valid.

InvalidResourceStateFault(InvalidResourceStateFault)

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

InvalidSubnet(InvalidSubnet)

The subnet provided is invalid.

KmsAccessDeniedFault(KmsAccessDeniedFault)

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

KmsDisabledFault(KmsDisabledFault)

The specified KMS key isn't enabled.

KmsFault(KmsFault)

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

KmsInvalidStateFault(KmsInvalidStateFault)

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

KmsKeyNotAccessibleFault(KmsKeyNotAccessibleFault)

DMS cannot access the KMS key.

KmsNotFoundFault(KmsNotFoundFault)

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

KmsThrottlingFault(KmsThrottlingFault)

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)

The resource could not be found.

ResourceQuotaExceededFault(ResourceQuotaExceededFault)

The quota for this resource quota has been exceeded.

S3AccessDeniedFault(S3AccessDeniedFault)

Insufficient privileges are preventing access to an Amazon S3 object.

S3ResourceNotFoundFault(S3ResourceNotFoundFault)

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

SnsInvalidTopicFault(SnsInvalidTopicFault)

The SNS topic is invalid.

SnsNoAuthorizationFault(SnsNoAuthorizationFault)

You are not authorized for the SNS subscription.

StorageQuotaExceededFault(StorageQuotaExceededFault)

The storage quota has been exceeded.

SubnetAlreadyInUse(SubnetAlreadyInUse)

The specified subnet is already in use.

UpgradeDependencyFailureFault(UpgradeDependencyFailureFault)

An upgrade dependency is preventing the database migration.

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.

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