Amazon Fargate API

The Amazon Fargate API is accessed through Amazon ECS and enables you to run containers without managing servers or clusters. You can define tasks, configure networking and IAM policies, and deploy containerized applications with serverless compute capacity.

Documentation

Specifications

Examples

Schemas & Data

Other Resources

OpenAPI Specification

amazon-fargate-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Fargate API
  description: Amazon Fargate is a serverless compute engine for containers that works with Amazon ECS and Amazon EKS. This API enables you to run, manage, and monitor containerized applications 
    without managing servers or clusters. Fargate handles capacity provisioning, patching, and scaling automatically.
  version: '2014-11-13'
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  termsOfService: https://aws.amazon.com/service-terms/
  x-generated-from: documentation
  x-last-validated: '2026-04-19'
externalDocs:
  description: Amazon ECS API Reference (Fargate)
  url: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/Welcome.html
servers:
- url: https://ecs.{region}.amazonaws.com
  description: Amazon ECS/Fargate Regional Endpoint
  variables:
    region:
      default: us-east-1
      description: AWS Region
tags:
- name: Clusters
  description: Operations for creating and managing ECS clusters
- name: Services
  description: Operations for deploying and managing long-running services
- name: Tasks
  description: Operations for running and managing Fargate tasks
- name: Task Definitions
  description: Operations for registering and managing task definitions
- name: Capacity Providers
  description: Operations for managing capacity providers
- name: Container Instances
  description: Operations for managing container instances
- name: Task Sets
  description: Operations for managing task sets
- name: Account Settings
  description: Operations for managing account-level settings
- name: Tagging
  description: Operations for tagging ECS resources
- name: Attributes
  description: Operations for managing resource attributes
security:
- aws_signature_v4: []
paths:
  /#CreateCluster:
    post:
      operationId: createCluster
      summary: Amazon Fargate Create a Cluster
      description: Creates a new Amazon ECS cluster. By default, your account receives a default cluster when you launch your first container instance.
      tags:
      - Clusters
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateClusterRequest'
            examples:
              CreateClusterRequestExample:
                summary: Default createCluster request
                x-microcks-default: true
                value:
                  clusterName: my-fargate-cluster
                  tags:
                  - key: Environment
                    value: production
                  settings:
                  - name: containerInsights
                    value: enabled
      responses:
        '200':
          description: Cluster created successfully
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateClusterResponse'
              examples:
                CreateCluster200Example:
                  summary: Default createCluster 200 response
                  x-microcks-default: true
                  value:
                    cluster:
                      clusterArn: arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster
                      clusterName: my-fargate-cluster
                      status: ACTIVE
                      registeredContainerInstancesCount: 0
                      runningTasksCount: 0
                      pendingTasksCount: 0
                      activeServicesCount: 0
        '400':
          description: Bad request - invalid parameters
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#DescribeClusters:
    post:
      operationId: describeClusters
      summary: Amazon Fargate Describe Clusters
      description: Describes one or more of your clusters.
      tags:
      - Clusters
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeClustersRequest'
            examples:
              DescribeClustersRequestExample:
                summary: Default describeClusters request
                x-microcks-default: true
                value:
                  clusters:
                  - my-fargate-cluster
                  include:
                  - SETTINGS
                  - STATISTICS
                  - TAGS
      responses:
        '200':
          description: Cluster descriptions returned
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeClustersResponse'
              examples:
                DescribeClusters200Example:
                  summary: Default describeClusters 200 response
                  x-microcks-default: true
                  value:
                    clusters:
                    - clusterArn: arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster
                      clusterName: my-fargate-cluster
                      status: ACTIVE
                      runningTasksCount: 5
                      activeServicesCount: 2
                    failures: []
        '400':
          description: Invalid parameters
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#ListClusters:
    post:
      operationId: listClusters
      summary: Amazon Fargate List Clusters
      description: Returns a list of existing clusters.
      tags:
      - Clusters
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListClustersRequest'
            examples:
              ListClustersRequestExample:
                summary: Default listClusters request
                x-microcks-default: true
                value:
                  maxResults: 10
      responses:
        '200':
          description: List of clusters returned
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListClustersResponse'
              examples:
                ListClusters200Example:
                  summary: Default listClusters 200 response
                  x-microcks-default: true
                  value:
                    clusterArns:
                    - arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster
                    - arn:aws:ecs:us-east-1:123456789012:cluster/staging-cluster
                    nextToken:
        '400':
          description: Invalid parameters
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#DeleteCluster:
    post:
      operationId: deleteCluster
      summary: Amazon Fargate Delete a Cluster
      description: Deletes the specified cluster. The cluster will transition to the INACTIVE state. You cannot delete a cluster that has registered container instances or active services.
      tags:
      - Clusters
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteClusterRequest'
            examples:
              DeleteClusterRequestExample:
                summary: Default deleteCluster request
                x-microcks-default: true
                value:
                  cluster: my-fargate-cluster
      responses:
        '200':
          description: Cluster deleted
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteClusterResponse'
              examples:
                DeleteCluster200Example:
                  summary: Default deleteCluster 200 response
                  x-microcks-default: true
                  value:
                    cluster:
                      clusterArn: arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster
                      clusterName: my-fargate-cluster
                      status: INACTIVE
        '400':
          description: Invalid request
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Cluster not found
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#RegisterTaskDefinition:
    post:
      operationId: registerTaskDefinition
      summary: Amazon Fargate Register a Task Definition
      description: Registers a new task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. The task 
        definition requires a launch type of FARGATE to run on Fargate.
      tags:
      - Task Definitions
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/RegisterTaskDefinitionRequest'
            examples:
              RegisterTaskDefinitionRequestExample:
                summary: Default registerTaskDefinition request
                x-microcks-default: true
                value:
                  family: my-fargate-task
                  requiresCompatibilities:
                  - FARGATE
                  networkMode: awsvpc
                  cpu: '256'
                  memory: '512'
                  executionRoleArn: arn:aws:iam::123456789012:role/ecsTaskExecutionRole
                  containerDefinitions:
                  - name: my-container
                    image: nginx:latest
                    portMappings:
                    - containerPort: 80
                      protocol: tcp
                    essential: true
      responses:
        '200':
          description: Task definition registered
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/RegisterTaskDefinitionResponse'
              examples:
                RegisterTaskDefinition200Example:
                  summary: Default registerTaskDefinition 200 response
                  x-microcks-default: true
                  value:
                    taskDefinition:
                      taskDefinitionArn: arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:1
                      family: my-fargate-task
                      revision: 1
                      status: ACTIVE
                      requiresCompatibilities:
                      - FARGATE
                      cpu: '256'
                      memory: '512'
        '400':
          description: Invalid task definition
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#DescribeTaskDefinition:
    post:
      operationId: describeTaskDefinition
      summary: Amazon Fargate Describe a Task Definition
      description: Describes a task definition. You can get a task definition ARN from the RegisterTaskDefinition or ListTaskDefinitions actions.
      tags:
      - Task Definitions
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeTaskDefinitionRequest'
            examples:
              DescribeTaskDefinitionRequestExample:
                summary: Default describeTaskDefinition request
                x-microcks-default: true
                value:
                  taskDefinition: my-fargate-task:1
                  include:
                  - TAGS
      responses:
        '200':
          description: Task definition details
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeTaskDefinitionResponse'
              examples:
                DescribeTaskDefinition200Example:
                  summary: Default describeTaskDefinition 200 response
                  x-microcks-default: true
                  value:
                    taskDefinition:
                      taskDefinitionArn: arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:1
                      family: my-fargate-task
                      revision: 1
                      status: ACTIVE
                      requiresCompatibilities:
                      - FARGATE
                      cpu: '256'
                      memory: '512'
                    tags: []
        '400':
          description: Invalid request
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Task definition not found
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#ListTaskDefinitions:
    post:
      operationId: listTaskDefinitions
      summary: Amazon Fargate List Task Definitions
      description: Returns a list of task definitions that are registered to your account. You can filter the results by family name and by task definition status.
      tags:
      - Task Definitions
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListTaskDefinitionsRequest'
            examples:
              ListTaskDefinitionsRequestExample:
                summary: Default listTaskDefinitions request
                x-microcks-default: true
                value:
                  familyPrefix: my-fargate-task
                  status: ACTIVE
                  maxResults: 10
      responses:
        '200':
          description: List of task definition ARNs
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListTaskDefinitionsResponse'
              examples:
                ListTaskDefinitions200Example:
                  summary: Default listTaskDefinitions 200 response
                  x-microcks-default: true
                  value:
                    taskDefinitionArns:
                    - arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:1
                    - arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:2
                    nextToken:
        '400':
          description: Invalid parameters
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#DeregisterTaskDefinition:
    post:
      operationId: deregisterTaskDefinition
      summary: Amazon Fargate Deregister a Task Definition
      description: Deregisters the specified task definition by family and revision. You may deregister a task definition revision by specifying its family and revision, or by specifying its full ARN.
      tags:
      - Task Definitions
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeregisterTaskDefinitionRequest'
            examples:
              DeregisterTaskDefinitionRequestExample:
                summary: Default deregisterTaskDefinition request
                x-microcks-default: true
                value:
                  taskDefinition: my-fargate-task:1
      responses:
        '200':
          description: Task definition deregistered
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeregisterTaskDefinitionResponse'
              examples:
                DeregisterTaskDefinition200Example:
                  summary: Default deregisterTaskDefinition 200 response
                  x-microcks-default: true
                  value:
                    taskDefinition:
                      taskDefinitionArn: arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:1
                      status: INACTIVE
        '400':
          description: Invalid request
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#RunTask:
    post:
      operationId: runTask
      summary: Amazon Fargate Run a Task
      description: Starts a new task using the specified task definition on Fargate launch type. You can run tasks on Fargate using the awsvpc network mode.
      tags:
      - Tasks
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/RunTaskRequest'
            examples:
              RunTaskRequestExample:
                summary: Default runTask request
                x-microcks-default: true
                value:
                  cluster: my-fargate-cluster
                  taskDefinition: my-fargate-task:1
                  launchType: FARGATE
                  count: 1
                  networkConfiguration:
                    awsvpcConfiguration:
                      subnets:
                      - subnet-12345678
                      securityGroups:
                      - sg-12345678
                      assignPublicIp: ENABLED
      responses:
        '200':
          description: Task started
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/RunTaskResponse'
              examples:
                RunTask200Example:
                  summary: Default runTask 200 response
                  x-microcks-default: true
                  value:
                    tasks:
                    - taskArn: arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/abc123
                      clusterArn: arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster
                      taskDefinitionArn: arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:1
                      lastStatus: PROVISIONING
                      desiredStatus: RUNNING
                      launchType: FARGATE
                    failures: []
        '400':
          description: Invalid task configuration
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#StopTask:
    post:
      operationId: stopTask
      summary: Amazon Fargate Stop a Task
      description: Stops a running task. Any tags associated with the task will be deleted automatically.
      tags:
      - Tasks
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/StopTaskRequest'
            examples:
              StopTaskRequestExample:
                summary: Default stopTask request
                x-microcks-default: true
                value:
                  cluster: my-fargate-cluster
                  task: arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/abc123
                  reason: Scaling down
      responses:
        '200':
          description: Task stopped
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/StopTaskResponse'
              examples:
                StopTask200Example:
                  summary: Default stopTask 200 response
                  x-microcks-default: true
                  value:
                    task:
                      taskArn: arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/abc123
                      lastStatus: STOPPED
                      stoppedReason: Scaling down
        '400':
          description: Invalid request
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Task not found
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#DescribeTasks:
    post:
      operationId: describeTasks
      summary: Amazon Fargate Describe Tasks
      description: Describes a specified task or tasks. Returns the full description of the task including container details, task definition, network configuration, and current status.
      tags:
      - Tasks
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeTasksRequest'
            examples:
              DescribeTasksRequestExample:
                summary: Default describeTasks request
                x-microcks-default: true
                value:
                  cluster: my-fargate-cluster
                  tasks:
                  - arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/abc123
                  include:
                  - TAGS
      responses:
        '200':
          description: Task details returned
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeTasksResponse'
              examples:
                DescribeTasks200Example:
                  summary: Default describeTasks 200 response
                  x-microcks-default: true
                  value:
                    tasks:
                    - taskArn: arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/abc123
                      clusterArn: arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster
                      lastStatus: RUNNING
                      desiredStatus: RUNNING
                      cpu: '256'
                      memory: '512'
                      launchType: FARGATE
                    failures: []
        '400':
          description: Invalid request
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#ListTasks:
    post:
      operationId: listTasks
      summary: Amazon Fargate List Tasks
      description: Returns a list of tasks for a specified cluster. You can filter the results by family name, by a particular container instance, by launch type, or by a desired status.
      tags:
      - Tasks
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListTasksRequest'
            examples:
              ListTasksRequestExample:
                summary: Default listTasks request
                x-microcks-default: true
                value:
                  cluster: my-fargate-cluster
                  desiredStatus: RUNNING
                  launchType: FARGATE
                  maxResults: 20
      responses:
        '200':
          description: List of task ARNs
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListTasksResponse'
              examples:
                ListTasks200Example:
                  summary: Default listTasks 200 response
                  x-microcks-default: true
                  value:
                    taskArns:
                    - arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/abc123
                    - arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/def456
                    nextToken:
        '400':
          description: Invalid parameters
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#CreateService:
    post:
      operationId: createService
      summary: Amazon Fargate Create a Service
      description: Runs and maintains your desired number of tasks from a specified task definition on Fargate. If the number of tasks running in a service drops below the desiredCount, Amazon ECS 
        runs another copy of the task.
      tags:
      - Services
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateServiceRequest'
            examples:
              CreateServiceRequestExample:
                summary: Default createService request
                x-microcks-default: true
                value:
                  cluster: my-fargate-cluster
                  serviceName: my-fargate-service
                  taskDefinition: my-fargate-task:1
                  desiredCount: 2
                  launchType: FARGATE
                  networkConfiguration:
                    awsvpcConfiguration:
                      subnets:
                      - subnet-12345678
                      securityGroups:
                      - sg-12345678
                      assignPublicIp: ENABLED
                  loadBalancers:
                  - targetGroupArn: arn:aws:elasticloadbalancing:us-east-1:123456789012:targetgroup/my-tg/abc123
                    containerName: my-container
                    containerPort: 80
      responses:
        '200':
          description: Service created
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateServiceResponse'
              examples:
                CreateService200Example:
                  summary: Default createService 200 response
                  x-microcks-default: true
                  value:
                    service:
                      serviceArn: arn:aws:ecs:us-east-1:123456789012:service/my-fargate-cluster/my-fargate-service
                      serviceName: my-fargate-service
                      clusterArn: arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster
                      desiredCount: 2
                      runningCount: 0
                      pendingCount: 0
                      status: ACTIVE
                      launchType: FARGATE
        '400':
          description: Invalid service configuration
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#DescribeServices:
    post:
      operationId: describeServices
      summary: Amazon Fargate Describe Services
      description: Describes the specified services running in your cluster.
      tags:
      - Services
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeServicesRequest'
            examples:
              DescribeServicesRequestExample:
                summary: Default describeServices request
                x-microcks-default: true
                value:
                  cluster: my-fargate-cluster
                  services:
                  - my-fargate-service
                  include:
                  - TAGS
      responses:
        '200':
          description: Service details returned
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeServicesResponse'
              examples:
                DescribeServices200Example:
                  summary: Default describeServices 200 response
                  x-microcks-default: true
                  value:
                    services:
                    - serviceArn: arn:aws:ecs:us-east-1:123456789012:service/my-fargate-cluster/my-fargate-service
                      serviceName: my-fargate-service
                      status: ACTIVE
                      desiredCount: 2
                      runningCount: 2
                      launchType: FARGATE
                    failures: []
        '400':
          description: Invalid request
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /#ListServices:
    post:
      operationId: listServices
      summary: Amazon Fargate List Services
      description: Lists the services that are running in a specified cluster.
      tags:
      - Services
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListServicesRequest'
            examples:
              ListServicesRequestExample:
                summary: Default listServices request
                x-microcks-default: true
           

# --- truncated at 32 KB (75 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-fargate/refs/heads/main/openapi/amazon-fargate-openapi.yml