Enum aws_sdk_dax::Error
source · #[non_exhaustive]pub enum Error {
Show 28 variants
ClusterAlreadyExistsFault(ClusterAlreadyExistsFault),
ClusterNotFoundFault(ClusterNotFoundFault),
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault),
InsufficientClusterCapacityFault(InsufficientClusterCapacityFault),
InvalidArnFault(InvalidArnFault),
InvalidClusterStateFault(InvalidClusterStateFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterGroupStateFault(InvalidParameterGroupStateFault),
InvalidParameterValueException(InvalidParameterValueException),
InvalidSubnet(InvalidSubnet),
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault),
NodeNotFoundFault(NodeNotFoundFault),
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault),
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault),
ParameterGroupAlreadyExistsFault(ParameterGroupAlreadyExistsFault),
ParameterGroupNotFoundFault(ParameterGroupNotFoundFault),
ParameterGroupQuotaExceededFault(ParameterGroupQuotaExceededFault),
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
ServiceQuotaExceededException(ServiceQuotaExceededException),
SubnetGroupAlreadyExistsFault(SubnetGroupAlreadyExistsFault),
SubnetGroupInUseFault(SubnetGroupInUseFault),
SubnetGroupNotFoundFault(SubnetGroupNotFoundFault),
SubnetGroupQuotaExceededFault(SubnetGroupQuotaExceededFault),
SubnetInUse(SubnetInUse),
SubnetQuotaExceededFault(SubnetQuotaExceededFault),
TagNotFoundFault(TagNotFoundFault),
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ClusterAlreadyExistsFault(ClusterAlreadyExistsFault)
You already have a DAX cluster with the given identifier.
ClusterNotFoundFault(ClusterNotFoundFault)
The requested cluster ID does not refer to an existing DAX cluster.
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault)
You have attempted to exceed the maximum number of DAX clusters for your AWS account.
InsufficientClusterCapacityFault(InsufficientClusterCapacityFault)
There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).
InvalidArnFault(InvalidArnFault)
The Amazon Resource Name (ARN) supplied in the request is not valid.
InvalidClusterStateFault(InvalidClusterStateFault)
The requested DAX cluster is not in the available state.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Two or more incompatible parameters were specified.
InvalidParameterGroupStateFault(InvalidParameterGroupStateFault)
One or more parameters in a parameter group are in an invalid state.
InvalidParameterValueException(InvalidParameterValueException)
The value for a parameter is invalid.
InvalidSubnet(InvalidSubnet)
An invalid subnet identifier was specified.
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
The VPC network is in an invalid state.
NodeNotFoundFault(NodeNotFoundFault)
None of the nodes in the cluster have the given node ID.
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault)
You have attempted to exceed the maximum number of nodes for a DAX cluster.
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault)
You have attempted to exceed the maximum number of nodes for your AWS account.
ParameterGroupAlreadyExistsFault(ParameterGroupAlreadyExistsFault)
The specified parameter group already exists.
ParameterGroupNotFoundFault(ParameterGroupNotFoundFault)
The specified parameter group does not exist.
ParameterGroupQuotaExceededFault(ParameterGroupQuotaExceededFault)
You have attempted to exceed the maximum number of parameter groups.
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
The specified service linked role (SLR) was not found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
You have reached the maximum number of x509 certificates that can be created for encrypted clusters in a 30 day period. Contact AWS customer support to discuss options for continuing to create encrypted clusters.
SubnetGroupAlreadyExistsFault(SubnetGroupAlreadyExistsFault)
The specified subnet group already exists.
SubnetGroupInUseFault(SubnetGroupInUseFault)
The specified subnet group is currently in use.
SubnetGroupNotFoundFault(SubnetGroupNotFoundFault)
The requested subnet group name does not refer to an existing subnet group.
SubnetGroupQuotaExceededFault(SubnetGroupQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
SubnetInUse(SubnetInUse)
The requested subnet is being used by another subnet group.
SubnetQuotaExceededFault(SubnetQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
TagNotFoundFault(TagNotFoundFault)
The tag does not exist.
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded)
You have exceeded the maximum number of tags for this DAX cluster.
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).