Enum aws_sdk_route53recoverycluster::operation::update_routing_control_states::UpdateRoutingControlStatesError
source · #[non_exhaustive]pub enum UpdateRoutingControlStatesError {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
EndpointTemporarilyUnavailableException(EndpointTemporarilyUnavailableException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceLimitExceededException(ServiceLimitExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
Error type for the UpdateRoutingControlStatesError
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You don't have sufficient permissions to perform this action.
ConflictException(ConflictException)
There was a conflict with this request. Try again.
The cluster endpoint isn't available. Try another cluster endpoint.
InternalServerException(InternalServerException)
There was an unexpected error during processing of the request.
ResourceNotFoundException(ResourceNotFoundException)
The request references a routing control or control panel that was not found.
ServiceLimitExceededException(ServiceLimitExceededException)
The request can't update that many routing control states at the same time. Try again with fewer routing control states.
ThrottlingException(ThrottlingException)
The request was denied because of request throttling.
ValidationException(ValidationException)
There was a validation error on the request.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Implementations§
source§impl UpdateRoutingControlStatesError
impl UpdateRoutingControlStatesError
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 UpdateRoutingControlStatesError::Unhandled
variant from any error type.
sourcepub fn generic(err: ErrorMetadata) -> Self
pub fn generic(err: ErrorMetadata) -> Self
Creates the UpdateRoutingControlStatesError::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_access_denied_exception(&self) -> bool
pub fn is_access_denied_exception(&self) -> bool
Returns true
if the error kind is UpdateRoutingControlStatesError::AccessDeniedException
.
sourcepub fn is_conflict_exception(&self) -> bool
pub fn is_conflict_exception(&self) -> bool
Returns true
if the error kind is UpdateRoutingControlStatesError::ConflictException
.
Returns true
if the error kind is UpdateRoutingControlStatesError::EndpointTemporarilyUnavailableException
.
sourcepub fn is_internal_server_exception(&self) -> bool
pub fn is_internal_server_exception(&self) -> bool
Returns true
if the error kind is UpdateRoutingControlStatesError::InternalServerException
.
sourcepub fn is_resource_not_found_exception(&self) -> bool
pub fn is_resource_not_found_exception(&self) -> bool
Returns true
if the error kind is UpdateRoutingControlStatesError::ResourceNotFoundException
.
sourcepub fn is_service_limit_exceeded_exception(&self) -> bool
pub fn is_service_limit_exceeded_exception(&self) -> bool
Returns true
if the error kind is UpdateRoutingControlStatesError::ServiceLimitExceededException
.
sourcepub fn is_throttling_exception(&self) -> bool
pub fn is_throttling_exception(&self) -> bool
Returns true
if the error kind is UpdateRoutingControlStatesError::ThrottlingException
.
sourcepub fn is_validation_exception(&self) -> bool
pub fn is_validation_exception(&self) -> bool
Returns true
if the error kind is UpdateRoutingControlStatesError::ValidationException
.
Trait Implementations§
source§impl CreateUnhandledError for UpdateRoutingControlStatesError
impl CreateUnhandledError for UpdateRoutingControlStatesError
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 Error for UpdateRoutingControlStatesError
impl Error for UpdateRoutingControlStatesError
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<UpdateRoutingControlStatesError> for Error
impl From<UpdateRoutingControlStatesError> for Error
source§fn from(err: UpdateRoutingControlStatesError) -> Self
fn from(err: UpdateRoutingControlStatesError) -> Self
source§impl ProvideErrorMetadata for UpdateRoutingControlStatesError
impl ProvideErrorMetadata for UpdateRoutingControlStatesError
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
source§impl RequestId for UpdateRoutingControlStatesError
impl RequestId for UpdateRoutingControlStatesError
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.