Enum aws_sdk_docdb::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 58 variants
AuthorizationNotFoundFault(AuthorizationNotFoundFault),
CertificateNotFoundFault(CertificateNotFoundFault),
DbClusterAlreadyExistsFault(DbClusterAlreadyExistsFault),
DbClusterNotFoundFault(DbClusterNotFoundFault),
DbClusterParameterGroupNotFoundFault(DbClusterParameterGroupNotFoundFault),
DbClusterQuotaExceededFault(DbClusterQuotaExceededFault),
DbClusterSnapshotAlreadyExistsFault(DbClusterSnapshotAlreadyExistsFault),
DbClusterSnapshotNotFoundFault(DbClusterSnapshotNotFoundFault),
DbInstanceAlreadyExistsFault(DbInstanceAlreadyExistsFault),
DbInstanceNotFoundFault(DbInstanceNotFoundFault),
DbParameterGroupAlreadyExistsFault(DbParameterGroupAlreadyExistsFault),
DbParameterGroupNotFoundFault(DbParameterGroupNotFoundFault),
DbParameterGroupQuotaExceededFault(DbParameterGroupQuotaExceededFault),
DbSecurityGroupNotFoundFault(DbSecurityGroupNotFoundFault),
DbSnapshotAlreadyExistsFault(DbSnapshotAlreadyExistsFault),
DbSnapshotNotFoundFault(DbSnapshotNotFoundFault),
DbSubnetGroupAlreadyExistsFault(DbSubnetGroupAlreadyExistsFault),
DbSubnetGroupDoesNotCoverEnoughAZs(DbSubnetGroupDoesNotCoverEnoughAZs),
DbSubnetGroupNotFoundFault(DbSubnetGroupNotFoundFault),
DbSubnetGroupQuotaExceededFault(DbSubnetGroupQuotaExceededFault),
DbSubnetQuotaExceededFault(DbSubnetQuotaExceededFault),
DbUpgradeDependencyFailureFault(DbUpgradeDependencyFailureFault),
EventSubscriptionQuotaExceededFault(EventSubscriptionQuotaExceededFault),
GlobalClusterAlreadyExistsFault(GlobalClusterAlreadyExistsFault),
GlobalClusterNotFoundFault(GlobalClusterNotFoundFault),
GlobalClusterQuotaExceededFault(GlobalClusterQuotaExceededFault),
InstanceQuotaExceededFault(InstanceQuotaExceededFault),
InsufficientDbClusterCapacityFault(InsufficientDbClusterCapacityFault),
InsufficientDbInstanceCapacityFault(InsufficientDbInstanceCapacityFault),
InsufficientStorageClusterCapacityFault(InsufficientStorageClusterCapacityFault),
InvalidDbClusterSnapshotStateFault(InvalidDbClusterSnapshotStateFault),
InvalidDbClusterStateFault(InvalidDbClusterStateFault),
InvalidDbInstanceStateFault(InvalidDbInstanceStateFault),
InvalidDbParameterGroupStateFault(InvalidDbParameterGroupStateFault),
InvalidDbSecurityGroupStateFault(InvalidDbSecurityGroupStateFault),
InvalidDbSnapshotStateFault(InvalidDbSnapshotStateFault),
InvalidDbSubnetGroupStateFault(InvalidDbSubnetGroupStateFault),
InvalidDbSubnetStateFault(InvalidDbSubnetStateFault),
InvalidEventSubscriptionStateFault(InvalidEventSubscriptionStateFault),
InvalidGlobalClusterStateFault(InvalidGlobalClusterStateFault),
InvalidRestoreFault(InvalidRestoreFault),
InvalidSubnet(InvalidSubnet),
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault),
KmsKeyNotAccessibleFault(KmsKeyNotAccessibleFault),
ResourceNotFoundFault(ResourceNotFoundFault),
SnsInvalidTopicFault(SnsInvalidTopicFault),
SnsNoAuthorizationFault(SnsNoAuthorizationFault),
SnsTopicArnNotFoundFault(SnsTopicArnNotFoundFault),
SharedSnapshotQuotaExceededFault(SharedSnapshotQuotaExceededFault),
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault),
SourceNotFoundFault(SourceNotFoundFault),
StorageQuotaExceededFault(StorageQuotaExceededFault),
StorageTypeNotSupportedFault(StorageTypeNotSupportedFault),
SubnetAlreadyInUse(SubnetAlreadyInUse),
SubscriptionAlreadyExistFault(SubscriptionAlreadyExistFault),
SubscriptionCategoryNotFoundFault(SubscriptionCategoryNotFoundFault),
SubscriptionNotFoundFault(SubscriptionNotFoundFault),
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
AuthorizationNotFoundFault(AuthorizationNotFoundFault)
Tuple Fields
The specified CIDR IP or Amazon EC2 security group isn't authorized for the specified security group.
Amazon DocumentDB also might not be authorized to perform necessary actions on your behalf using IAM.
CertificateNotFoundFault(CertificateNotFoundFault)
Tuple Fields
CertificateIdentifier doesn't refer to an existing certificate.
DbClusterAlreadyExistsFault(DbClusterAlreadyExistsFault)
Tuple Fields
You already have a cluster with the given identifier.
DbClusterNotFoundFault(DbClusterNotFoundFault)
Tuple Fields
DBClusterIdentifier doesn't refer to an existing cluster.
DbClusterParameterGroupNotFoundFault(DbClusterParameterGroupNotFoundFault)
Tuple Fields
DBClusterParameterGroupName doesn't refer to an existing cluster parameter group.
DbClusterQuotaExceededFault(DbClusterQuotaExceededFault)
Tuple Fields
The cluster can't be created because you have reached the maximum allowed quota of clusters.
DbClusterSnapshotAlreadyExistsFault(DbClusterSnapshotAlreadyExistsFault)
Tuple Fields
You already have a cluster snapshot with the given identifier.
DbClusterSnapshotNotFoundFault(DbClusterSnapshotNotFoundFault)
Tuple Fields
DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot.
DbInstanceAlreadyExistsFault(DbInstanceAlreadyExistsFault)
Tuple Fields
You already have a instance with the given identifier.
DbInstanceNotFoundFault(DbInstanceNotFoundFault)
Tuple Fields
DBInstanceIdentifier doesn't refer to an existing instance.
DbParameterGroupAlreadyExistsFault(DbParameterGroupAlreadyExistsFault)
Tuple Fields
A parameter group with the same name already exists.
DbParameterGroupNotFoundFault(DbParameterGroupNotFoundFault)
Tuple Fields
DBParameterGroupName doesn't refer to an existing parameter group.
DbParameterGroupQuotaExceededFault(DbParameterGroupQuotaExceededFault)
Tuple Fields
This request would cause you to exceed the allowed number of parameter groups.
DbSecurityGroupNotFoundFault(DbSecurityGroupNotFoundFault)
Tuple Fields
DBSecurityGroupName doesn't refer to an existing security group.
DbSnapshotAlreadyExistsFault(DbSnapshotAlreadyExistsFault)
Tuple Fields
DBSnapshotIdentifier is already being used by an existing snapshot.
DbSnapshotNotFoundFault(DbSnapshotNotFoundFault)
Tuple Fields
DBSnapshotIdentifier doesn't refer to an existing snapshot.
DbSubnetGroupAlreadyExistsFault(DbSubnetGroupAlreadyExistsFault)
Tuple Fields
DBSubnetGroupName is already being used by an existing subnet group.
DbSubnetGroupDoesNotCoverEnoughAZs(DbSubnetGroupDoesNotCoverEnoughAZs)
Tuple Fields
Subnets in the subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
DbSubnetGroupNotFoundFault(DbSubnetGroupNotFoundFault)
Tuple Fields
DBSubnetGroupName doesn't refer to an existing subnet group.
DbSubnetGroupQuotaExceededFault(DbSubnetGroupQuotaExceededFault)
Tuple Fields
The request would cause you to exceed the allowed number of subnet groups.
DbSubnetQuotaExceededFault(DbSubnetQuotaExceededFault)
Tuple Fields
The request would cause you to exceed the allowed number of subnets in a subnet group.
DbUpgradeDependencyFailureFault(DbUpgradeDependencyFailureFault)
Tuple Fields
The upgrade failed because a resource that the depends on can't be modified.
EventSubscriptionQuotaExceededFault(EventSubscriptionQuotaExceededFault)
Tuple Fields
You have reached the maximum number of event subscriptions.
GlobalClusterAlreadyExistsFault(GlobalClusterAlreadyExistsFault)
Tuple Fields
The GlobalClusterIdentifier already exists. Choose a new global cluster identifier (unique name) to create a new global cluster.
GlobalClusterNotFoundFault(GlobalClusterNotFoundFault)
Tuple Fields
The GlobalClusterIdentifier doesn't refer to an existing global cluster.
GlobalClusterQuotaExceededFault(GlobalClusterQuotaExceededFault)
Tuple Fields
The number of global clusters for this account is already at the maximum allowed.
InstanceQuotaExceededFault(InstanceQuotaExceededFault)
Tuple Fields
The request would cause you to exceed the allowed number of instances.
InsufficientDbClusterCapacityFault(InsufficientDbClusterCapacityFault)
Tuple Fields
The cluster doesn't have enough capacity for the current operation.
InsufficientDbInstanceCapacityFault(InsufficientDbInstanceCapacityFault)
Tuple Fields
The specified instance class isn't available in the specified Availability Zone.
InsufficientStorageClusterCapacityFault(InsufficientStorageClusterCapacityFault)
Tuple Fields
There is not enough storage available for the current action. You might be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.
InvalidDbClusterSnapshotStateFault(InvalidDbClusterSnapshotStateFault)
Tuple Fields
The provided value isn't a valid cluster snapshot state.
InvalidDbClusterStateFault(InvalidDbClusterStateFault)
Tuple Fields
The cluster isn't in a valid state.
InvalidDbInstanceStateFault(InvalidDbInstanceStateFault)
Tuple Fields
The specified instance isn't in the available state.
InvalidDbParameterGroupStateFault(InvalidDbParameterGroupStateFault)
Tuple Fields
The parameter group is in use, or it is in a state that is not valid. If you are trying to delete the parameter group, you can't delete it when the parameter group is in this state.
InvalidDbSecurityGroupStateFault(InvalidDbSecurityGroupStateFault)
Tuple Fields
The state of the security group doesn't allow deletion.
InvalidDbSnapshotStateFault(InvalidDbSnapshotStateFault)
Tuple Fields
The state of the snapshot doesn't allow deletion.
InvalidDbSubnetGroupStateFault(InvalidDbSubnetGroupStateFault)
Tuple Fields
The subnet group can't be deleted because it's in use.
InvalidDbSubnetStateFault(InvalidDbSubnetStateFault)
Tuple Fields
The subnet isn't in the available state.
InvalidEventSubscriptionStateFault(InvalidEventSubscriptionStateFault)
Tuple Fields
Someone else might be modifying a subscription. Wait a few seconds, and try again.
InvalidGlobalClusterStateFault(InvalidGlobalClusterStateFault)
Tuple Fields
The requested operation can't be performed while the cluster is in this state.
InvalidRestoreFault(InvalidRestoreFault)
Tuple Fields
You cannot restore from a virtual private cloud (VPC) backup to a non-VPC DB instance.
InvalidSubnet(InvalidSubnet)
Tuple Fields
The requested subnet is not valid, or multiple subnets were requested that are not all in a common virtual private cloud (VPC).
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
Tuple Fields
The subnet group doesn't cover all Availability Zones after it is created because of changes that were made.
KmsKeyNotAccessibleFault(KmsKeyNotAccessibleFault)
Tuple Fields
An error occurred when accessing an KMS key.
ResourceNotFoundFault(ResourceNotFoundFault)
Tuple Fields
The specified resource ID was not found.
SnsInvalidTopicFault(SnsInvalidTopicFault)
Tuple Fields
Amazon SNS has responded that there is a problem with the specified topic.
SnsNoAuthorizationFault(SnsNoAuthorizationFault)
Tuple Fields
You do not have permission to publish to the SNS topic Amazon Resource Name (ARN).
SnsTopicArnNotFoundFault(SnsTopicArnNotFoundFault)
Tuple Fields
The SNS topic Amazon Resource Name (ARN) does not exist.
SharedSnapshotQuotaExceededFault(SharedSnapshotQuotaExceededFault)
You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)
Tuple Fields
The request would cause you to exceed the allowed number of snapshots.
SourceNotFoundFault(SourceNotFoundFault)
Tuple Fields
The requested source could not be found.
StorageQuotaExceededFault(StorageQuotaExceededFault)
Tuple Fields
The request would cause you to exceed the allowed amount of storage available across all instances.
StorageTypeNotSupportedFault(StorageTypeNotSupportedFault)
Tuple Fields
Storage of the specified StorageType can't be associated with the DB instance.
SubnetAlreadyInUse(SubnetAlreadyInUse)
Tuple Fields
The subnet is already in use in the Availability Zone.
SubscriptionAlreadyExistFault(SubscriptionAlreadyExistFault)
Tuple Fields
The provided subscription name already exists.
SubscriptionCategoryNotFoundFault(SubscriptionCategoryNotFoundFault)
Tuple Fields
The provided category does not exist.
SubscriptionNotFoundFault(SubscriptionNotFoundFault)
Tuple Fields
The subscription name does not exist.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
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
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
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
