Enum aws_sdk_applicationautoscaling::Error [−][src]
#[non_exhaustive]
pub enum Error {
ConcurrentUpdateException(ConcurrentUpdateException),
FailedResourceAccessException(FailedResourceAccessException),
InternalServiceException(InternalServiceException),
InvalidNextTokenException(InvalidNextTokenException),
LimitExceededException(LimitExceededException),
ObjectNotFoundException(ObjectNotFoundException),
ValidationException(ValidationException),
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
ConcurrentUpdateException(ConcurrentUpdateException)
Tuple Fields
Concurrent updates caused an exception, for example, if you request an update to an Application Auto Scaling resource that already has a pending update.
FailedResourceAccessException(FailedResourceAccessException)
Tuple Fields
Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling is unable to retrieve the alarms associated with a scaling policy due to a client error, for example, if the role ARN specified for a scalable target does not have permission to call the CloudWatch DescribeAlarms on your behalf.
InternalServiceException(InternalServiceException)
Tuple Fields
The service encountered an internal error.
InvalidNextTokenException(InvalidNextTokenException)
Tuple Fields
The next token supplied was invalid.
LimitExceededException(LimitExceededException)
Tuple Fields
A per-account resource limit is exceeded. For more information, see Application Auto Scaling service quotas.
ObjectNotFoundException(ObjectNotFoundException)
Tuple Fields
The specified object could not be found. For any operation that depends on the existence of a scalable target, this exception is thrown if the scalable target with the specified service namespace, resource ID, and scalable dimension does not exist. For any operation that deletes or deregisters a resource, this exception is thrown if the resource cannot be found.
ValidationException(ValidationException)
Tuple Fields
An exception was thrown for a validation issue. Review the available parameters for the API request.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
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
