openapi: 3.1.0 info: title: 'AWS Fargate Amazon ECS API (Fargate) Clusters #X Amz Target=AmazonEC2ContainerServiceV20141113.ListServices API' description: The Amazon ECS API provides programmatic access to manage Fargate tasks and services through Amazon Elastic Container Service. AWS Fargate is a serverless compute engine for containers that removes the need to provision and manage servers. This specification covers the core ECS API operations relevant to Fargate workloads, including registering task definitions with Fargate compatibility, running tasks on Fargate infrastructure, and managing services with the Fargate launch type. All operations use the JSON-RPC style with POST requests and an X-Amz-Target header specifying the action. version: '2014-11-13' contact: name: Amazon Web Services url: https://aws.amazon.com/fargate/ license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 termsOfService: https://aws.amazon.com/service-terms/ servers: - url: https://ecs.{region}.amazonaws.com description: Amazon ECS regional endpoint variables: region: default: us-east-1 description: AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-north-1 - ap-southeast-1 - ap-southeast-2 - ap-northeast-1 - ap-northeast-2 - ap-south-1 - sa-east-1 - ca-central-1 security: - aws_sig_v4: [] tags: - name: '#X Amz Target=AmazonEC2ContainerServiceV20141113.ListServices' paths: /#X-Amz-Target=AmazonEC2ContainerServiceV20141113.ListServices: post: operationId: listServices summary: AWS Fargate List services in a cluster description: Returns a list of services running in a cluster. You can filter results by launch type to retrieve only Fargate services. The response includes service ARNs that can be used with DescribeServices for detailed information. tags: - '#X Amz Target=AmazonEC2ContainerServiceV20141113.ListServices' externalDocs: url: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html parameters: - $ref: '#/components/parameters/X-Amz-Target' requestBody: required: true content: application/x-amz-json-1.1: schema: type: object properties: cluster: type: string description: The short name or full ARN of the cluster to list services from. launchType: type: string description: The launch type to filter services by. enum: - EC2 - FARGATE - EXTERNAL schedulingStrategy: type: string description: The scheduling strategy to filter services by. enum: - REPLICA - DAEMON nextToken: type: string description: Token for the next set of results. maxResults: type: integer description: Maximum number of service results. minimum: 1 maximum: 100 responses: '200': description: List of service ARNs content: application/json: schema: type: object properties: serviceArns: type: array items: type: string nextToken: type: string '400': $ref: '#/components/responses/ClientError' '500': $ref: '#/components/responses/ServerError' components: responses: ServerError: description: Server error. An internal service error occurred. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' ClientError: description: Client error. The request was invalid, contained incorrect parameters, or the caller does not have required permissions. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' schemas: ErrorResponse: type: object properties: __type: type: string description: The error type identifier. message: type: string description: A human-readable error message. parameters: X-Amz-Target: name: X-Amz-Target in: header required: true schema: type: string description: The ECS API action target header used for JSON-RPC style routing. securitySchemes: aws_sig_v4: type: apiKey name: Authorization in: header description: AWS Signature Version 4 authentication. Requests must be signed using AWS access credentials. externalDocs: description: AWS Fargate Developer Guide url: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html