Enum aws_sdk_dax::operation::reboot_node::RebootNodeError   
source · #[non_exhaustive]pub enum RebootNodeError {
    ClusterNotFoundFault(ClusterNotFoundFault),
    InvalidClusterStateFault(InvalidClusterStateFault),
    InvalidParameterCombinationException(InvalidParameterCombinationException),
    InvalidParameterValueException(InvalidParameterValueException),
    NodeNotFoundFault(NodeNotFoundFault),
    ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
    Unhandled(Unhandled),
}Expand description
Error type for the RebootNodeError operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ClusterNotFoundFault(ClusterNotFoundFault)
The requested cluster ID does not refer to an existing DAX cluster.
InvalidClusterStateFault(InvalidClusterStateFault)
The requested DAX cluster is not in the available state.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Two or more incompatible parameters were specified.
InvalidParameterValueException(InvalidParameterValueException)
The value for a parameter is invalid.
NodeNotFoundFault(NodeNotFoundFault)
None of the nodes in the cluster have the given node ID.
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
The specified service linked role (SLR) was not found.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Implementations§
source§impl RebootNodeError
 
impl RebootNodeError
sourcepub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
 
pub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
Creates the RebootNodeError::Unhandled variant from any error type.
sourcepub fn generic(err: ErrorMetadata) -> Self
 
pub fn generic(err: ErrorMetadata) -> Self
Creates the RebootNodeError::Unhandled variant from a ::aws_smithy_types::error::ErrorMetadata.
sourcepub fn meta(&self) -> &ErrorMetadata
 
pub fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
sourcepub fn is_cluster_not_found_fault(&self) -> bool
 
pub fn is_cluster_not_found_fault(&self) -> bool
Returns true if the error kind is RebootNodeError::ClusterNotFoundFault.
sourcepub fn is_invalid_cluster_state_fault(&self) -> bool
 
pub fn is_invalid_cluster_state_fault(&self) -> bool
Returns true if the error kind is RebootNodeError::InvalidClusterStateFault.
sourcepub fn is_invalid_parameter_combination_exception(&self) -> bool
 
pub fn is_invalid_parameter_combination_exception(&self) -> bool
Returns true if the error kind is RebootNodeError::InvalidParameterCombinationException.
sourcepub fn is_invalid_parameter_value_exception(&self) -> bool
 
pub fn is_invalid_parameter_value_exception(&self) -> bool
Returns true if the error kind is RebootNodeError::InvalidParameterValueException.
sourcepub fn is_node_not_found_fault(&self) -> bool
 
pub fn is_node_not_found_fault(&self) -> bool
Returns true if the error kind is RebootNodeError::NodeNotFoundFault.
sourcepub fn is_service_linked_role_not_found_fault(&self) -> bool
 
pub fn is_service_linked_role_not_found_fault(&self) -> bool
Returns true if the error kind is RebootNodeError::ServiceLinkedRoleNotFoundFault.
Trait Implementations§
source§impl CreateUnhandledError for RebootNodeError
 
impl CreateUnhandledError for RebootNodeError
source§fn create_unhandled_error(
    source: Box<dyn Error + Send + Sync + 'static>,
    meta: Option<ErrorMetadata>
) -> Self
 
fn create_unhandled_error( source: Box<dyn Error + Send + Sync + 'static>, meta: Option<ErrorMetadata> ) -> Self
source and error metadata.source§impl Debug for RebootNodeError
 
impl Debug for RebootNodeError
source§impl Display for RebootNodeError
 
impl Display for RebootNodeError
source§impl Error for RebootNodeError
 
impl Error for RebootNodeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
 
fn description(&self) -> &str
source§impl From<RebootNodeError> for Error
 
impl From<RebootNodeError> for Error
source§fn from(err: RebootNodeError) -> Self
 
fn from(err: RebootNodeError) -> Self
source§impl ProvideErrorKind for RebootNodeError
 
impl ProvideErrorKind for RebootNodeError
source§impl ProvideErrorMetadata for RebootNodeError
 
impl ProvideErrorMetadata for RebootNodeError
source§fn meta(&self) -> &ErrorMetadata
 
fn meta(&self) -> &ErrorMetadata
source§impl RequestId for RebootNodeError
 
impl RequestId for RebootNodeError
source§fn request_id(&self) -> Option<&str>
 
fn request_id(&self) -> Option<&str>
None if the service could not be reached.