Enum aws_sdk_ecs::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 25 variants
AccessDeniedException(AccessDeniedException),
AttributeLimitExceededException(AttributeLimitExceededException),
BlockedException(BlockedException),
ClientException(ClientException),
ClusterContainsContainerInstancesException(ClusterContainsContainerInstancesException),
ClusterContainsServicesException(ClusterContainsServicesException),
ClusterContainsTasksException(ClusterContainsTasksException),
ClusterNotFoundException(ClusterNotFoundException),
InvalidParameterException(InvalidParameterException),
LimitExceededException(LimitExceededException),
MissingVersionException(MissingVersionException),
NoUpdateAvailableException(NoUpdateAvailableException),
PlatformTaskDefinitionIncompatibilityException(PlatformTaskDefinitionIncompatibilityException),
PlatformUnknownException(PlatformUnknownException),
ResourceInUseException(ResourceInUseException),
ResourceNotFoundException(ResourceNotFoundException),
ServerException(ServerException),
ServiceNotActiveException(ServiceNotActiveException),
ServiceNotFoundException(ServiceNotFoundException),
TargetNotConnectedException(TargetNotConnectedException),
TargetNotFoundException(TargetNotFoundException),
TaskSetNotFoundException(TaskSetNotFoundException),
UnsupportedFeatureException(UnsupportedFeatureException),
UpdateInProgressException(UpdateInProgressException),
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)
Tuple Fields
You don't have authorization to perform the requested action.
AttributeLimitExceededException(AttributeLimitExceededException)
Tuple Fields
You can apply up to 10 custom attributes for each resource. You can view the attributes of a resource with ListAttributes. You can remove existing attributes on a resource with DeleteAttributes.
BlockedException(BlockedException)
Tuple Fields
Your Amazon Web Services account was blocked. For more information, contact Amazon Web Services Support.
ClientException(ClientException)
Tuple Fields
These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource,. Or, it might be specifying an identifier that isn't valid.
ClusterContainsContainerInstancesException(ClusterContainsContainerInstancesException)
Tuple Fields
You can't delete a cluster that has registered container instances. First, deregister the container instances before you can delete the cluster. For more information, see DeregisterContainerInstance.
ClusterContainsServicesException(ClusterContainsServicesException)
Tuple Fields
You can't delete a cluster that contains services. First, update the service to reduce its desired task count to 0, and then delete the service. For more information, see UpdateService and DeleteService.
ClusterContainsTasksException(ClusterContainsTasksException)
Tuple Fields
You can't delete a cluster that has active tasks.
ClusterNotFoundException(ClusterNotFoundException)
Tuple Fields
The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.
InvalidParameterException(InvalidParameterException)
Tuple Fields
The specified parameter isn't valid. Review the available parameters for the API request.
LimitExceededException(LimitExceededException)
Tuple Fields
The limit for the resource was exceeded.
MissingVersionException(MissingVersionException)
Tuple Fields
Amazon ECS can't determine the current version of the Amazon ECS container agent on the container instance and doesn't have enough information to proceed with an update. This could be because the agent running on the container instance is a previous or custom version that doesn't use our version information.
NoUpdateAvailableException(NoUpdateAvailableException)
Tuple Fields
There's no update available for this Amazon ECS container agent. This might be because the agent is already running the latest version or because it's so old that there's no update path to the current version.
PlatformTaskDefinitionIncompatibilityException(PlatformTaskDefinitionIncompatibilityException)
Tuple Fields
The specified platform version doesn't satisfy the required capabilities of the task definition.
PlatformUnknownException(PlatformUnknownException)
Tuple Fields
The specified platform version doesn't exist.
ResourceInUseException(ResourceInUseException)
Tuple Fields
The specified resource is in-use and can't be removed.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
The specified resource wasn't found.
ServerException(ServerException)
Tuple Fields
These errors are usually caused by a server issue.
ServiceNotActiveException(ServiceNotActiveException)
Tuple Fields
The specified service isn't active. You can't update a service that's inactive. If you have previously deleted a service, you can re-create it with CreateService.
ServiceNotFoundException(ServiceNotFoundException)
Tuple Fields
The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.
TargetNotConnectedException(TargetNotConnectedException)
Tuple Fields
The target container isn't properly configured with the execute command agent or the container is no longer active or running.
TargetNotFoundException(TargetNotFoundException)
Tuple Fields
The specified target wasn't found. You can view your available container instances with ListContainerInstances. Amazon ECS container instances are cluster-specific and Region-specific.
TaskSetNotFoundException(TaskSetNotFoundException)
Tuple Fields
The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and Region.
UnsupportedFeatureException(UnsupportedFeatureException)
Tuple Fields
The specified task isn't supported in this Region.
UpdateInProgressException(UpdateInProgressException)
Tuple Fields
There's already a current Amazon ECS container agent update in progress on the container
instance that's specified. If the container agent becomes disconnected while it's in a
transitional stage, such as PENDING
or STAGING
, the update
process can get stuck in that state. However, when the agent reconnects, it resumes
where it stopped previously.
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.
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.
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.
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.
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.
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