Resolve capacity provider deletion errors in Amazon ECS

I get an error when I try to delete a capacity provider for my Amazon Elastic Container Service (Amazon ECS) cluster.