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
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.
§

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)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

When logging an error from the SDK, it is recommended that you either wrap the error in DisplayErrorContext, use another error reporter library that visits the error’s cause/source chain, or call Error::source for more details about the underlying cause.

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
👎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
🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
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.

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
Should always be Self
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