Amazon Outposts · Schema
GetCapacityTaskOutput
Amazon Web ServicesEdge ComputingHybrid CloudInfrastructureOn-Premises
Properties
| Name | Type | Description |
|---|---|---|
| CapacityTaskId | string | ID of the capacity task. |
| OutpostId | string | ID of the Outpost associated with the specified capacity task. |
| OrderId | string | ID of the Amazon Web Services Outposts order associated with the specified capacity task. |
| AssetId | string | The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration. |
| RequestedInstancePools | array | List of instance pools requested in the capacity task. |
| InstancesToExclude | object | |
| DryRun | boolean | Performs a dry run to determine if you are above or below instance capacity. |
| CapacityTaskStatus | string | Status of the capacity task. A capacity task can have one of the following statuses: REQUESTED - The capacity task was created and is awaiting the next step by Amazon Web Services Outposts. IN_PROGRES |
| Failed | object | |
| CreationDate | string | The date the capacity task was created. |
| CompletionDate | string | The date the capacity task ran successfully. |
| LastModifiedDate | string | The date the capacity task was last modified. |
| TaskActionOnBlockingInstances | string | User-specified option in case an instance is blocking the capacity task from running. Shows one of the following options: WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if in |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-get-capacity-task-output-schema.json",
"title": "GetCapacityTaskOutput",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-outposts-capacity-api-openapi.yml#/components/schemas/GetCapacityTaskOutput",
"type": "object",
"properties": {
"CapacityTaskId": {
"type": "string",
"description": "ID of the capacity task."
},
"OutpostId": {
"type": "string",
"description": "ID of the Outpost associated with the specified capacity task."
},
"OrderId": {
"type": "string",
"description": "ID of the Amazon Web Services Outposts order associated with the specified capacity task."
},
"AssetId": {
"type": "string",
"description": "The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration."
},
"RequestedInstancePools": {
"type": "array",
"items": {
"$ref": "#/$defs/InstanceTypeCapacity"
},
"description": "List of instance pools requested in the capacity task."
},
"InstancesToExclude": {
"$ref": "#/$defs/InstancesToExclude"
},
"DryRun": {
"type": "boolean",
"description": "Performs a dry run to determine if you are above or below instance capacity."
},
"CapacityTaskStatus": {
"type": "string",
"enum": [
"REQUESTED",
"IN_PROGRESS",
"FAILED",
"COMPLETED",
"WAITING_FOR_EVACUATION",
"CANCELLATION_IN_PROGRESS",
"CANCELLED"
],
"description": "Status of the capacity task. A capacity task can have one of the following statuses: REQUESTED - The capacity task was created and is awaiting the next step by Amazon Web Services Outposts. IN_PROGRESS - The capacity task is running and cannot be cancelled. FAILED - The capacity task could not be completed. COMPLETED - The capacity task has completed successfully. WAITING_FOR_EVACUATION - The capacity task requires capacity to run. You must stop the recommended EC2 running instances to free up capacity for the task to run. CANCELLATION_IN_PROGRESS - The capacity task has been cancelled and is "
},
"Failed": {
"$ref": "#/$defs/CapacityTaskFailure"
},
"CreationDate": {
"type": "string",
"format": "date-time",
"description": "The date the capacity task was created."
},
"CompletionDate": {
"type": "string",
"format": "date-time",
"description": "The date the capacity task ran successfully."
},
"LastModifiedDate": {
"type": "string",
"format": "date-time",
"description": "The date the capacity task was last modified."
},
"TaskActionOnBlockingInstances": {
"type": "string",
"enum": [
"WAIT_FOR_EVACUATION",
"FAIL_TASK"
],
"description": "User-specified option in case an instance is blocking the capacity task from running. Shows one of the following options: WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task. FAIL_TASK - The capacity task fails."
}
},
"$defs": {
"CapacityTaskFailure": {
"type": "object",
"properties": {
"Reason": {
"type": "string",
"description": "The reason that the specified capacity task failed."
},
"Type": {
"type": "string",
"enum": [
"UNSUPPORTED_CAPACITY_CONFIGURATION",
"UNEXPECTED_ASSET_STATE",
"BLOCKING_INSTANCES_NOT_EVACUATED",
"INTERNAL_SERVER_ERROR",
"RESOURCE_NOT_FOUND"
],
"description": "The type of failure."
}
},
"required": [
"Reason"
]
},
"InstanceTypeCapacity": {
"type": "object",
"properties": {
"InstanceType": {
"type": "string",
"description": "The instance type of the hosts."
},
"Count": {
"type": "integer",
"description": "The number of instances for the specified instance type."
}
},
"required": [
"InstanceType",
"Count"
]
},
"InstancesToExclude": {
"type": "object",
"properties": {
"Instances": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of user-specified instances that must not be stopped."
},
"AccountIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "IDs of the accounts that own each instance that must not be stopped."
},
"Services": {
"type": "array",
"items": {
"type": "string",
"enum": [
"AWS",
"EC2",
"EKS",
"ELASTICACHE",
"ELB",
"RDS",
"ROUTE53"
]
},
"description": "Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-outposts-get-capacity-task-output"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.