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)
You do not have authorization to perform the requested action.
Tuple Fields of AccessDeniedException
AttributeLimitExceededException(AttributeLimitExceededException)
You can apply up to 10 custom attributes per resource. You can view the attributes of a resource with ListAttributes. You can remove existing attributes on a resource with DeleteAttributes.
Tuple Fields of AttributeLimitExceededException
BlockedException(BlockedException)
Your Amazon Web Services account has been blocked. For more information, contact Amazon Web Services Support.
Tuple Fields of BlockedException
ClientException(ClientException)
These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.
Tuple Fields of ClientException
ClusterContainsContainerInstancesException(ClusterContainsContainerInstancesException)
You cannot delete a cluster that has registered container instances. First, deregister the container instances before you can delete the cluster. For more information, see DeregisterContainerInstance.
Tuple Fields of ClusterContainsContainerInstancesException
ClusterContainsServicesException(ClusterContainsServicesException)
You cannot 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.
Tuple Fields of ClusterContainsServicesException
ClusterContainsTasksException(ClusterContainsTasksException)
You cannot delete a cluster that has active tasks.
Tuple Fields of ClusterContainsTasksException
ClusterNotFoundException(ClusterNotFoundException)
The specified cluster could not be found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region-specific.
Tuple Fields of ClusterNotFoundException
InvalidParameterException(InvalidParameterException)
The specified parameter is invalid. Review the available parameters for the API request.
Tuple Fields of InvalidParameterException
LimitExceededException(LimitExceededException)
The limit for the resource has been exceeded.
Tuple Fields of LimitExceededException
MissingVersionException(MissingVersionException)
Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the container instance and does not have enough information to proceed with an update. This could be because the agent running on the container instance is an older or custom version that does not use our version information.
Tuple Fields of MissingVersionException
NoUpdateAvailableException(NoUpdateAvailableException)
There is no update available for this Amazon ECS container agent. This could be because the agent is already running the latest version, or it is so old that there is no update path to the current version.
Tuple Fields of NoUpdateAvailableException
PlatformTaskDefinitionIncompatibilityException(PlatformTaskDefinitionIncompatibilityException)
The specified platform version does not satisfy the task definition's required capabilities.
Tuple Fields of PlatformTaskDefinitionIncompatibilityException
PlatformUnknownException(PlatformUnknownException)
The specified platform version does not exist.
Tuple Fields of PlatformUnknownException
ResourceInUseException(ResourceInUseException)
The specified resource is in-use and cannot be removed.
Tuple Fields of ResourceInUseException
ResourceNotFoundException(ResourceNotFoundException)
The specified resource could not be found.
Tuple Fields of ResourceNotFoundException
ServerException(ServerException)
These errors are usually caused by a server issue.
Tuple Fields of ServerException
ServiceNotActiveException(ServiceNotActiveException)
The specified service is not active. You can't update a service that is inactive. If you have previously deleted a service, you can re-create it with CreateService.
Tuple Fields of ServiceNotActiveException
ServiceNotFoundException(ServiceNotFoundException)
The specified service could not be found. You can view your available services with ListServices. Amazon ECS services are cluster-specific and Region-specific.
Tuple Fields of ServiceNotFoundException
TargetNotConnectedException(TargetNotConnectedException)
The target container is not properly configured with the execute command agent or the container is no longer active or running.
Tuple Fields of TargetNotConnectedException
TargetNotFoundException(TargetNotFoundException)
The specified target could not be found. You can view your available container instances with ListContainerInstances. Amazon ECS container instances are cluster-specific and Region-specific.
Tuple Fields of TargetNotFoundException
TaskSetNotFoundException(TaskSetNotFoundException)
The specified task set could not be found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and Region.
Tuple Fields of TaskSetNotFoundException
UnsupportedFeatureException(UnsupportedFeatureException)
The specified task is not supported in this Region.
Tuple Fields of UnsupportedFeatureException
UpdateInProgressException(UpdateInProgressException)
There is already a current Amazon ECS container agent update in progress on the specified
container instance. If the container agent becomes disconnected while it is 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.
Tuple Fields of UpdateInProgressException
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