Enum aws_sdk_connect::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 21 variants
AccessDeniedException(AccessDeniedException),
ContactFlowNotPublishedException(ContactFlowNotPublishedException),
ContactNotFoundException(ContactNotFoundException),
DestinationNotAllowedException(DestinationNotAllowedException),
DuplicateResourceException(DuplicateResourceException),
IdempotencyException(IdempotencyException),
InternalServiceException(InternalServiceException),
InvalidContactFlowException(InvalidContactFlowException),
InvalidContactFlowModuleException(InvalidContactFlowModuleException),
InvalidParameterException(InvalidParameterException),
InvalidRequestException(InvalidRequestException),
LimitExceededException(LimitExceededException),
OutboundContactNotPermittedException(OutboundContactNotPermittedException),
PropertyValidationException(PropertyValidationException),
ResourceConflictException(ResourceConflictException),
ResourceInUseException(ResourceInUseException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
UserNotFoundException(UserNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You do not have sufficient permissions to perform this action.
ContactFlowNotPublishedException(ContactFlowNotPublishedException)
The flow has not been published.
ContactNotFoundException(ContactNotFoundException)
The contact with the specified ID is not active or does not exist.
DestinationNotAllowedException(DestinationNotAllowedException)
Outbound calls to the destination number are not allowed.
DuplicateResourceException(DuplicateResourceException)
A resource with the specified name already exists.
IdempotencyException(IdempotencyException)
An entity with the same name already exists.
InternalServiceException(InternalServiceException)
Request processing failed because of an error or failure with the service.
InvalidContactFlowException(InvalidContactFlowException)
The flow is not valid.
InvalidContactFlowModuleException(InvalidContactFlowModuleException)
The problems with the module. Please fix before trying again.
InvalidParameterException(InvalidParameterException)
One or more of the specified parameters are not valid.
InvalidRequestException(InvalidRequestException)
The request is not valid.
LimitExceededException(LimitExceededException)
The allowed limit for the resource has been exceeded.
OutboundContactNotPermittedException(OutboundContactNotPermittedException)
The contact is not permitted.
PropertyValidationException(PropertyValidationException)
The property is not valid.
ResourceConflictException(ResourceConflictException)
A resource already has that name.
ResourceInUseException(ResourceInUseException)
That resource is already in use. Please try another.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource was not found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The service quota has been exceeded.
ThrottlingException(ThrottlingException)
The throttling limit has been exceeded.
UserNotFoundException(UserNotFoundException)
No user with the specified credentials was found in the Amazon Connect instance.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()