v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1456373564.1 KB

Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.

post/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.UpdateServicePrimaryTaskSet

Headers

X-Amz-Target'AmazonEC2ContainerServiceV20141113.UpdateServicePrimaryTaskSet' required

Request body

clusterstring required

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.

servicestring required

The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

primaryTaskSetstring required

The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.

Response

Success