Module aws_sdk_ecs::error
source · [−]Expand description
Errors that can occur when calling the service.
Modules
Structs
You don't have authorization to perform the requested action.
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.
Your Amazon Web Services account was blocked. For more information, contact Amazon Web Services Support.
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.
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.
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.
You can't delete a cluster that has active tasks.
The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.
CreateCapacityProvider operation.CreateCluster operation.CreateService operation.CreateTaskSet operation.DeleteAccountSetting operation.DeleteAttributes operation.DeleteCapacityProvider operation.DeleteCluster operation.DeleteService operation.DeleteTaskSet operation.DeregisterContainerInstance operation.DeregisterTaskDefinition operation.DescribeCapacityProviders operation.DescribeClusters operation.DescribeContainerInstances operation.DescribeServices operation.DescribeTaskDefinition operation.DescribeTaskSets operation.DescribeTasks operation.DiscoverPollEndpoint operation.ExecuteCommand operation.The specified parameter isn't valid. Review the available parameters for the API request.
The limit for the resource was exceeded.
ListAccountSettings operation.ListAttributes operation.ListClusters operation.ListContainerInstances operation.ListServices operation.ListTagsForResource operation.ListTaskDefinitionFamilies operation.ListTaskDefinitions operation.ListTasks operation.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.
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.
The specified platform version doesn't satisfy the required capabilities of the task definition.
The specified platform version doesn't exist.
PutAccountSettingDefault operation.PutAccountSetting operation.PutAttributes operation.PutClusterCapacityProviders operation.RegisterContainerInstance operation.RegisterTaskDefinition operation.The specified resource is in-use and can't be removed.
The specified resource wasn't found.
RunTask operation.These errors are usually caused by a server issue.
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.
The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.
StartTask operation.StopTask operation.SubmitAttachmentStateChanges operation.SubmitContainerStateChange operation.SubmitTaskStateChange operation.TagResource operation.The execute command cannot run. This error can be caused by any of the following configuration issues:
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.
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.
The specified task isn't supported in this Region.
UntagResource operation.UpdateCapacityProvider operation.UpdateCluster operation.UpdateClusterSettings operation.UpdateContainerAgent operation.UpdateContainerInstancesState operation.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.
UpdateService operation.UpdateServicePrimaryTaskSet operation.UpdateTaskSet operation.Enums
CreateCapacityProvider operation.CreateCluster operation.CreateService operation.CreateTaskSet operation.DeleteAccountSetting operation.DeleteAttributes operation.DeleteCapacityProvider operation.DeleteCluster operation.DeleteService operation.DeleteTaskSet operation.DeregisterContainerInstance operation.DeregisterTaskDefinition operation.DescribeCapacityProviders operation.DescribeClusters operation.DescribeContainerInstances operation.DescribeServices operation.DescribeTaskDefinition operation.DescribeTaskSets operation.DescribeTasks operation.DiscoverPollEndpoint operation.ExecuteCommand operation.ListAccountSettings operation.ListAttributes operation.ListClusters operation.ListContainerInstances operation.ListServices operation.ListTagsForResource operation.ListTaskDefinitionFamilies operation.ListTaskDefinitions operation.ListTasks operation.PutAccountSettingDefault operation.PutAccountSetting operation.PutAttributes operation.PutClusterCapacityProviders operation.RegisterContainerInstance operation.RegisterTaskDefinition operation.RunTask operation.StartTask operation.StopTask operation.SubmitAttachmentStateChanges operation.SubmitContainerStateChange operation.SubmitTaskStateChange operation.TagResource operation.UntagResource operation.UpdateCapacityProvider operation.UpdateCluster operation.UpdateClusterSettings operation.UpdateContainerAgent operation.UpdateContainerInstancesState operation.UpdateService operation.UpdateServicePrimaryTaskSet operation.UpdateTaskSet operation.