Amazon EC2 Auto Scaling Ec2 Auto Scaling Warm Pool API
The Ec2 Auto Scaling Warm Pool API from Amazon EC2 Auto Scaling — 3 operation(s) for ec2 auto scaling warm pool.
The Ec2 Auto Scaling Warm Pool API from Amazon EC2 Auto Scaling — 3 operation(s) for ec2 auto scaling warm pool.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/amazon-ec2-auto-scaling:amazon-ec2-auto-scaling-warm-pool-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
openapi: 3.1.0
info:
title: Auto Scaling Warm Pool API
version: '2011-01-01'
description: Generated from AWS's published Smithy model for Auto Scaling. 3 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://autoscaling.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/?Action=DeleteWarmPool:
post:
operationId: DeleteWarmPool
summary: Delete Warm Pool
description: Deletes the warm pool for the specified Auto Scaling group. For more information, see Warm pools for Amazon
EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DeleteWarmPoolAnswer'
'400':
description: LimitExceededFault; ResourceInUseFault; ScalingActivityInProgressFault
content:
text/xml:
schema:
$ref: '#/components/schemas/LimitExceededFault'
'500':
description: ResourceContentionFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ResourceContentionFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DeleteWarmPool
Version:
type: string
const: '2011-01-01'
- $ref: '#/components/schemas/DeleteWarmPoolType'
tags:
- Warm Pool
/?Action=DescribeWarmPool:
post:
operationId: DescribeWarmPool
summary: Describe Warm Pool
description: Gets information about a warm pool and its instances. For more information, see Warm pools for Amazon EC2
Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DescribeWarmPoolAnswer'
'400':
description: InvalidNextToken; LimitExceededFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidNextToken'
'500':
description: ResourceContentionFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ResourceContentionFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeWarmPool
Version:
type: string
const: '2011-01-01'
- $ref: '#/components/schemas/DescribeWarmPoolType'
tags:
- Warm Pool
/?Action=PutWarmPool:
post:
operationId: PutWarmPool
summary: Put Warm Pool
description: Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of pre-initialized
EC2 instances that sits alongside the Auto Scaling group. Whenever your application needs to scale out, the Auto Scaling
group can draw on the warm pool to meet its new desired capacity. This operation must be called from the Region in
which the Auto Scaling group was created. You can view the instances in the warm pool using the DescribeWarmPool API
call. If you are no longer using a warm pool, you can delete it by calling the DeleteWarmPool API. For more information,
see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/PutWarmPoolAnswer'
'400':
description: InstanceRefreshInProgressFault; LimitExceededFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InstanceRefreshInProgressFault'
'500':
description: ResourceContentionFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ResourceContentionFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: PutWarmPool
Version:
type: string
const: '2011-01-01'
- $ref: '#/components/schemas/PutWarmPoolType'
example:
AutoScalingGroupName: my-auto-scaling-group
MinSize: 30
PoolState: Hibernated
InstanceReusePolicy:
ReuseOnScaleIn: true
tags:
- Warm Pool
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: autoscaling
schemas:
DeleteWarmPoolAnswer:
type: object
properties: {}
DeleteWarmPoolType:
type: object
properties:
AutoScalingGroupName:
type: string
description: The name of the Auto Scaling group.
ForceDelete:
type: boolean
description: Specifies that the warm pool is to be deleted along with all of its associated instances, without waiting
for all instances to be terminated. This parameter also deletes any outstanding lifecycle actions associated with
the warm pool instances.
required:
- AutoScalingGroupName
DescribeWarmPoolAnswer:
type: object
properties:
WarmPoolConfiguration:
$ref: '#/components/schemas/WarmPoolConfiguration'
Instances:
type: array
items:
$ref: '#/components/schemas/Instance'
description: The instances that are currently in the warm pool.
NextToken:
type: string
description: This string indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken value when requesting the next set of items.
This value is null when there are no more items to return.
DescribeWarmPoolType:
type: object
properties:
AutoScalingGroupName:
type: string
description: The name of the Auto Scaling group.
MaxRecords:
type: integer
description: The maximum number of instances to return with this call. The maximum value is 50.
NextToken:
type: string
description: The token for the next set of instances to return. (You received this token from a previous call.)
required:
- AutoScalingGroupName
Instance:
type: object
properties:
InstanceId:
type: string
description: The ID of the instance.
InstanceType:
type: string
description: The instance type of the EC2 instance.
AvailabilityZone:
type: string
description: The Availability Zone in which the instance is running.
AvailabilityZoneId:
type: string
description: The Availability Zone ID where the instance was launched.
LifecycleState:
type: string
enum:
- Pending
- Pending:Wait
- Pending:Proceed
- Quarantined
- InService
- Terminating
- Terminating:Wait
- Terminating:Proceed
- Terminating:Retained
- Terminated
- Detaching
- Detached
- EnteringStandby
- Standby
- ReplacingRootVolume
- ReplacingRootVolume:Wait
- ReplacingRootVolume:Proceed
- RootVolumeReplaced
- Warmed:Pending
- Warmed:Pending:Wait
- Warmed:Pending:Proceed
- Warmed:Pending:Retained
- Warmed:Terminating
- Warmed:Terminating:Wait
- Warmed:Terminating:Proceed
- Warmed:Terminating:Retained
- Warmed:Terminated
- Warmed:Stopped
- Warmed:Running
- Warmed:Hibernated
description: A description of the current lifecycle state. The Quarantined state is not used. For more information,
see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide.
HealthStatus:
type: string
description: The last reported health status of the instance. Healthy means that the instance is healthy and should
remain in service. Unhealthy means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate
and replace it.
LaunchConfigurationName:
type: string
description: The launch configuration associated with the instance.
LaunchTemplate:
$ref: '#/components/schemas/LaunchTemplateSpecification'
ImageId:
type: string
description: 'The ID of the Amazon Machine Image (AMI) used for the instance''s current root volume. This value
reflects the most recent AMI applied to the instance, including updates made through root volume replacement operations.
This field appears for: Instances with root volume replacements through Instance Refresh Instances launched with
AMI overrides This field won''t appear for: Existing instances launched from Launch Templates without overrides
Existing instances that didn’t have their root volume replaced through Instance Refresh'
ProtectedFromScaleIn:
type: boolean
description: Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling
in.
WeightedCapacity:
type: string
description: 'The number of capacity units contributed by the instance based on its instance type. Valid Range:
Minimum value of 1. Maximum value of 999.'
required:
- InstanceId
- AvailabilityZone
- LifecycleState
- HealthStatus
- ProtectedFromScaleIn
InstanceRefreshInProgressFault:
type: object
properties:
message:
type: string
InstanceReusePolicy:
type: object
properties:
ReuseOnScaleIn:
type: boolean
description: Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
InvalidNextToken:
type: object
properties:
message:
type: string
LaunchTemplateSpecification:
type: object
properties:
LaunchTemplateId:
type: string
description: 'The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates
API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API. Conditional:
You must specify either a LaunchTemplateId or a LaunchTemplateName.'
LaunchTemplateName:
type: string
description: 'The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates
API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API. Conditional:
You must specify either a LaunchTemplateId or a LaunchTemplateName.'
Version:
type: string
description: The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions
API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API.
If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching
instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template
when launching instances. The default value is $Default.
LimitExceededFault:
type: object
properties:
message:
type: string
PutWarmPoolAnswer:
type: object
properties: {}
PutWarmPoolType:
type: object
properties:
AutoScalingGroupName:
type: string
description: The name of the Auto Scaling group.
MaxGroupPreparedCapacity:
type: integer
description: Specifies the maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group. This is an optional property. Specify it only if you do not want the warm
pool size to be determined by the difference between the group's maximum capacity and its desired capacity. If
a value for MaxGroupPreparedCapacity is not specified, Amazon EC2 Auto Scaling launches and maintains the difference
between the group's maximum capacity and its desired capacity. If you specify a value for MaxGroupPreparedCapacity,
Amazon EC2 Auto Scaling uses the diffe
MinSize:
type: integer
description: Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that
there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not
specified.
PoolState:
type: string
enum:
- Stopped
- Running
- Hibernated
description: Sets the instance state to transition to after the lifecycle actions are complete. Default is Stopped.
InstanceReusePolicy:
$ref: '#/components/schemas/InstanceReusePolicy'
required:
- AutoScalingGroupName
ResourceContentionFault:
type: object
properties:
message:
type: string
WarmPoolConfiguration:
type: object
properties:
MaxGroupPreparedCapacity:
type: integer
description: The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated
for the Auto Scaling group.
MinSize:
type: integer
description: The minimum number of instances to maintain in the warm pool.
PoolState:
type: string
enum:
- Stopped
- Running
- Hibernated
description: The instance state to transition to after the lifecycle actions are complete.
Status:
type: string
enum:
- PendingDelete
description: The status of a warm pool that is marked for deletion.
InstanceReusePolicy:
$ref: '#/components/schemas/InstanceReusePolicy'
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/auto-scaling/service/2011-01-01/auto-scaling-2011-01-01.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)