Enum aws_sdk_docdb::Error
source · #[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(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AuthorizationNotFoundFault(AuthorizationNotFoundFault)
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)
CertificateIdentifier
doesn't refer to an existing certificate.
DbClusterAlreadyExistsFault(DbClusterAlreadyExistsFault)
You already have a cluster with the given identifier.
DbClusterNotFoundFault(DbClusterNotFoundFault)
DBClusterIdentifier
doesn't refer to an existing cluster.
DbClusterParameterGroupNotFoundFault(DbClusterParameterGroupNotFoundFault)
DBClusterParameterGroupName
doesn't refer to an existing cluster parameter group.
DbClusterQuotaExceededFault(DbClusterQuotaExceededFault)
The cluster can't be created because you have reached the maximum allowed quota of clusters.
DbClusterSnapshotAlreadyExistsFault(DbClusterSnapshotAlreadyExistsFault)
You already have a cluster snapshot with the given identifier.
DbClusterSnapshotNotFoundFault(DbClusterSnapshotNotFoundFault)
DBClusterSnapshotIdentifier
doesn't refer to an existing cluster snapshot.
DbInstanceAlreadyExistsFault(DbInstanceAlreadyExistsFault)
You already have a instance with the given identifier.
DbInstanceNotFoundFault(DbInstanceNotFoundFault)
DBInstanceIdentifier
doesn't refer to an existing instance.
DbParameterGroupAlreadyExistsFault(DbParameterGroupAlreadyExistsFault)
A parameter group with the same name already exists.
DbParameterGroupNotFoundFault(DbParameterGroupNotFoundFault)
DBParameterGroupName
doesn't refer to an existing parameter group.
DbParameterGroupQuotaExceededFault(DbParameterGroupQuotaExceededFault)
This request would cause you to exceed the allowed number of parameter groups.
DbSecurityGroupNotFoundFault(DbSecurityGroupNotFoundFault)
DBSecurityGroupName
doesn't refer to an existing security group.
DbSnapshotAlreadyExistsFault(DbSnapshotAlreadyExistsFault)
DBSnapshotIdentifier
is already being used by an existing snapshot.
DbSnapshotNotFoundFault(DbSnapshotNotFoundFault)
DBSnapshotIdentifier
doesn't refer to an existing snapshot.
DbSubnetGroupAlreadyExistsFault(DbSubnetGroupAlreadyExistsFault)
DBSubnetGroupName
is already being used by an existing subnet group.
DbSubnetGroupDoesNotCoverEnoughAZs(DbSubnetGroupDoesNotCoverEnoughAZs)
Subnets in the subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
DbSubnetGroupNotFoundFault(DbSubnetGroupNotFoundFault)
DBSubnetGroupName
doesn't refer to an existing subnet group.
DbSubnetGroupQuotaExceededFault(DbSubnetGroupQuotaExceededFault)
The request would cause you to exceed the allowed number of subnet groups.
DbSubnetQuotaExceededFault(DbSubnetQuotaExceededFault)
The request would cause you to exceed the allowed number of subnets in a subnet group.
DbUpgradeDependencyFailureFault(DbUpgradeDependencyFailureFault)
The upgrade failed because a resource that the depends on can't be modified.
EventSubscriptionQuotaExceededFault(EventSubscriptionQuotaExceededFault)
You have reached the maximum number of event subscriptions.
GlobalClusterAlreadyExistsFault(GlobalClusterAlreadyExistsFault)
The GlobalClusterIdentifier
already exists. Choose a new global cluster identifier (unique name) to create a new global cluster.
GlobalClusterNotFoundFault(GlobalClusterNotFoundFault)
The GlobalClusterIdentifier
doesn't refer to an existing global cluster.
GlobalClusterQuotaExceededFault(GlobalClusterQuotaExceededFault)
The number of global clusters for this account is already at the maximum allowed.
InstanceQuotaExceededFault(InstanceQuotaExceededFault)
The request would cause you to exceed the allowed number of instances.
InsufficientDbClusterCapacityFault(InsufficientDbClusterCapacityFault)
The cluster doesn't have enough capacity for the current operation.
InsufficientDbInstanceCapacityFault(InsufficientDbInstanceCapacityFault)
The specified instance class isn't available in the specified Availability Zone.
InsufficientStorageClusterCapacityFault(InsufficientStorageClusterCapacityFault)
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)
The provided value isn't a valid cluster snapshot state.
InvalidDbClusterStateFault(InvalidDbClusterStateFault)
The cluster isn't in a valid state.
InvalidDbInstanceStateFault(InvalidDbInstanceStateFault)
The specified instance isn't in the available state.
InvalidDbParameterGroupStateFault(InvalidDbParameterGroupStateFault)
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)
The state of the security group doesn't allow deletion.
InvalidDbSnapshotStateFault(InvalidDbSnapshotStateFault)
The state of the snapshot doesn't allow deletion.
InvalidDbSubnetGroupStateFault(InvalidDbSubnetGroupStateFault)
The subnet group can't be deleted because it's in use.
InvalidDbSubnetStateFault(InvalidDbSubnetStateFault)
The subnet isn't in the available state.
InvalidEventSubscriptionStateFault(InvalidEventSubscriptionStateFault)
Someone else might be modifying a subscription. Wait a few seconds, and try again.
InvalidGlobalClusterStateFault(InvalidGlobalClusterStateFault)
The requested operation can't be performed while the cluster is in this state.
InvalidRestoreFault(InvalidRestoreFault)
You cannot restore from a virtual private cloud (VPC) backup to a non-VPC DB instance.
InvalidSubnet(InvalidSubnet)
The requested subnet is not valid, or multiple subnets were requested that are not all in a common virtual private cloud (VPC).
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
The subnet group doesn't cover all Availability Zones after it is created because of changes that were made.
KmsKeyNotAccessibleFault(KmsKeyNotAccessibleFault)
An error occurred when accessing an KMS key.
ResourceNotFoundFault(ResourceNotFoundFault)
The specified resource ID was not found.
SnsInvalidTopicFault(SnsInvalidTopicFault)
Amazon SNS has responded that there is a problem with the specified topic.
SnsNoAuthorizationFault(SnsNoAuthorizationFault)
You do not have permission to publish to the SNS topic Amazon Resource Name (ARN).
SnsTopicArnNotFoundFault(SnsTopicArnNotFoundFault)
The SNS topic Amazon Resource Name (ARN) does not exist.
You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)
The request would cause you to exceed the allowed number of snapshots.
SourceNotFoundFault(SourceNotFoundFault)
The requested source could not be found.
StorageQuotaExceededFault(StorageQuotaExceededFault)
The request would cause you to exceed the allowed amount of storage available across all instances.
StorageTypeNotSupportedFault(StorageTypeNotSupportedFault)
Storage of the specified StorageType
can't be associated with the DB instance.
SubnetAlreadyInUse(SubnetAlreadyInUse)
The subnet is already in use in the Availability Zone.
SubscriptionAlreadyExistFault(SubscriptionAlreadyExistFault)
The provided subscription name already exists.
SubscriptionCategoryNotFoundFault(SubscriptionCategoryNotFoundFault)
The provided category does not exist.
SubscriptionNotFoundFault(SubscriptionNotFoundFault)
The subscription name does not exist.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).