#[non_exhaustive]pub enum UpdateClusterError {
Show 17 variants
AclNotFoundFault(AclNotFoundFault),
ClusterNotFoundFault(ClusterNotFoundFault),
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault),
InvalidAclStateFault(InvalidAclStateFault),
InvalidClusterStateFault(InvalidClusterStateFault),
InvalidKmsKeyFault(InvalidKmsKeyFault),
InvalidNodeStateFault(InvalidNodeStateFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault),
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault),
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault),
NoOperationFault(NoOperationFault),
ParameterGroupNotFoundFault(ParameterGroupNotFoundFault),
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
ShardsPerClusterQuotaExceededFault(ShardsPerClusterQuotaExceededFault),
Unhandled(Unhandled),
}
Expand description
Error type for the UpdateClusterError
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AclNotFoundFault(AclNotFoundFault)
ClusterNotFoundFault(ClusterNotFoundFault)
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault)
InvalidAclStateFault(InvalidAclStateFault)
InvalidClusterStateFault(InvalidClusterStateFault)
InvalidKmsKeyFault(InvalidKmsKeyFault)
InvalidNodeStateFault(InvalidNodeStateFault)
InvalidParameterCombinationException(InvalidParameterCombinationException)
InvalidParameterValueException(InvalidParameterValueException)
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault)
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault)
NoOperationFault(NoOperationFault)
ParameterGroupNotFoundFault(ParameterGroupNotFoundFault)
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
ShardsPerClusterQuotaExceededFault(ShardsPerClusterQuotaExceededFault)
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Implementations§
source§impl UpdateClusterError
impl UpdateClusterError
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 UpdateClusterError::Unhandled
variant from any error type.
sourcepub fn generic(err: ErrorMetadata) -> Self
pub fn generic(err: ErrorMetadata) -> Self
Creates the UpdateClusterError::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_acl_not_found_fault(&self) -> bool
pub fn is_acl_not_found_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::AclNotFoundFault
.
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 UpdateClusterError::ClusterNotFoundFault
.
sourcepub fn is_cluster_quota_for_customer_exceeded_fault(&self) -> bool
pub fn is_cluster_quota_for_customer_exceeded_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::ClusterQuotaForCustomerExceededFault
.
sourcepub fn is_invalid_acl_state_fault(&self) -> bool
pub fn is_invalid_acl_state_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::InvalidAclStateFault
.
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 UpdateClusterError::InvalidClusterStateFault
.
sourcepub fn is_invalid_kms_key_fault(&self) -> bool
pub fn is_invalid_kms_key_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::InvalidKmsKeyFault
.
sourcepub fn is_invalid_node_state_fault(&self) -> bool
pub fn is_invalid_node_state_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::InvalidNodeStateFault
.
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 UpdateClusterError::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 UpdateClusterError::InvalidParameterValueException
.
sourcepub fn is_invalid_vpc_network_state_fault(&self) -> bool
pub fn is_invalid_vpc_network_state_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::InvalidVpcNetworkStateFault
.
sourcepub fn is_node_quota_for_cluster_exceeded_fault(&self) -> bool
pub fn is_node_quota_for_cluster_exceeded_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::NodeQuotaForClusterExceededFault
.
sourcepub fn is_node_quota_for_customer_exceeded_fault(&self) -> bool
pub fn is_node_quota_for_customer_exceeded_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::NodeQuotaForCustomerExceededFault
.
sourcepub fn is_no_operation_fault(&self) -> bool
pub fn is_no_operation_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::NoOperationFault
.
sourcepub fn is_parameter_group_not_found_fault(&self) -> bool
pub fn is_parameter_group_not_found_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::ParameterGroupNotFoundFault
.
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 UpdateClusterError::ServiceLinkedRoleNotFoundFault
.
sourcepub fn is_shards_per_cluster_quota_exceeded_fault(&self) -> bool
pub fn is_shards_per_cluster_quota_exceeded_fault(&self) -> bool
Returns true
if the error kind is UpdateClusterError::ShardsPerClusterQuotaExceededFault
.
Trait Implementations§
source§impl CreateUnhandledError for UpdateClusterError
impl CreateUnhandledError for UpdateClusterError
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 UpdateClusterError
impl Debug for UpdateClusterError
source§impl Display for UpdateClusterError
impl Display for UpdateClusterError
source§impl Error for UpdateClusterError
impl Error for UpdateClusterError
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<UpdateClusterError> for Error
impl From<UpdateClusterError> for Error
source§fn from(err: UpdateClusterError) -> Self
fn from(err: UpdateClusterError) -> Self
source§impl ProvideErrorMetadata for UpdateClusterError
impl ProvideErrorMetadata for UpdateClusterError
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
source§impl RequestId for UpdateClusterError
impl RequestId for UpdateClusterError
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.