{ "opencollection": "1.0.0", "info": { "name": "AWS Fargate Amazon ECS API (Fargate) Clusters Tasks API", "version": "2014-11-13" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Tasks", "type": "folder" }, "items": [ { "info": { "name": "AWS Fargate Run a Fargate task", "type": "http" }, "http": { "method": "POST", "url": "https://ecs.{region}.amazonaws.com/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.RunTask", "headers": [ { "name": "X-Amz-Target", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Starts a new task using the specified task definition. When using the Fargate launch type, tasks run on AWS Fargate serverless infrastructure without the need to manage servers. The networkConfiguration parameter with awsvpcConfiguration is required for Fargate tasks. You can optionally specify a platformVersion, which defaults to LATEST. Each RunTask call can launch up to 10 tasks." }, { "info": { "name": "AWS Fargate Stop a running task", "type": "http" }, "http": { "method": "POST", "url": "https://ecs.{region}.amazonaws.com/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.StopTask", "headers": [ { "name": "X-Amz-Target", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Stops a running task. When you call StopTask on a Fargate task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. The task transitions through STOPPING to STOPPED." }, { "info": { "name": "AWS Fargate Describe one or more tasks", "type": "http" }, "http": { "method": "POST", "url": "https://ecs.{region}.amazonaws.com/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.DescribeTasks", "headers": [ { "name": "X-Amz-Target", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Describes a specified task or tasks. Returns detailed information about each task, including its current status, launch type, platform version, container details, and network configuration. Up to 100 tasks can be described in a single call." }, { "info": { "name": "AWS Fargate List tasks in a cluster", "type": "http" }, "http": { "method": "POST", "url": "https://ecs.{region}.amazonaws.com/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.ListTasks", "headers": [ { "name": "X-Amz-Target", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Returns a list of tasks. You can filter the results by cluster, service, family, or launch type. Specify launchType FARGATE to list only Fargate tasks. Tasks can also be filtered by desired status or started-by value." }, { "info": { "name": "AWS Fargate Execute a command in a Fargate task container", "type": "http" }, "http": { "method": "POST", "url": "https://ecs.{region}.amazonaws.com/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.ExecuteCommand", "headers": [ { "name": "X-Amz-Target", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Runs a command remotely and securely inside a container running on a Fargate task. ECS Exec uses AWS Systems Manager Session Manager to establish a connection with the container and uses AWS IAM policies to control access. The task must have been launched with enableExecuteCommand set to true." } ] } ], "bundled": true }