{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-list-service-deployments-response-schema.json",
  "title": "ListServiceDeploymentsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecs-service-deployment-api-openapi.yml#/components/schemas/ListServiceDeploymentsResponse",
  "type": "object",
  "properties": {
    "serviceDeployments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ServiceDeploymentBrief"
      },
      "description": "An overview of the service deployment, including the following properties: The ARN of the service deployment. The ARN of the service being deployed. The ARN of the cluster that hosts the service in the service deployment. The time that the service deployment started. The time that the service deployment completed. The service deployment status. Information about why the service deployment is in the current state. The ARN of the service revision that is being deployed."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value to include in a future ListServiceDeployments request. When the results of a ListServiceDeployments request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "ServiceDeploymentBrief": {
      "type": "object",
      "properties": {
        "serviceDeploymentArn": {
          "type": "string",
          "description": "The ARN of the service deployment."
        },
        "serviceArn": {
          "type": "string",
          "description": "The ARN of the service for this service deployment."
        },
        "clusterArn": {
          "type": "string",
          "description": "The ARN of the cluster that hosts the service."
        },
        "startedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the service deployment statred. The format is yyyy-MM-dd HH:mm:ss.SSSSSS."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the service deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS."
        },
        "finishedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the service deployment completed. The format is yyyy-MM-dd HH:mm:ss.SSSSSS."
        },
        "targetServiceRevisionArn": {
          "type": "string",
          "description": "The ARN of the service revision being deplyed."
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "SUCCESSFUL",
            "STOPPED",
            "STOP_REQUESTED",
            "IN_PROGRESS",
            "ROLLBACK_REQUESTED",
            "ROLLBACK_IN_PROGRESS",
            "ROLLBACK_SUCCESSFUL",
            "ROLLBACK_FAILED"
          ],
          "description": "The status of the service deployment"
        },
        "statusReason": {
          "type": "string",
          "description": "Information about why the service deployment is in the current status. For example, the circuit breaker detected a deployment failure."
        }
      }
    }
  }
}