Amazon EC2 Auto Scaling Ec2 Auto Scaling Scheduled Action API

The Ec2 Auto Scaling Scheduled Action API from Amazon EC2 Auto Scaling — 3 operation(s) for ec2 auto scaling scheduled action.

GitHub OpenAPI

Operations 3

POST /?Action=BatchDeleteScheduledAction Batch Delete Scheduled Action #
POST /?Action=DeleteScheduledAction Delete Scheduled Action #
POST /?Action=DescribeScheduledActions Describe Scheduled Actions #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-ec2-auto-scaling:amazon-ec2-auto-scaling-scheduled-action-api"
All apis
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.

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.

OpenAPI Specification

amazon-ec2-auto-scaling-scheduled-action-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Auto Scaling Scheduled Action 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=BatchDeleteScheduledAction:
    post:
      operationId: BatchDeleteScheduledAction
      summary: Batch Delete Scheduled Action
      description: Deletes one or more scheduled actions for the specified Auto Scaling group.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/BatchDeleteScheduledActionAnswer'
        '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: BatchDeleteScheduledAction
                  Version:
                    type: string
                    const: '2011-01-01'
              - $ref: '#/components/schemas/BatchDeleteScheduledActionType'
      tags:
      - Scheduled Action
  /?Action=DeleteScheduledAction:
    post:
      operationId: DeleteScheduledAction
      summary: Delete Scheduled Action
      description: Deletes the specified scheduled action.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '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: DeleteScheduledAction
                  Version:
                    type: string
                    const: '2011-01-01'
              - $ref: '#/components/schemas/DeleteScheduledActionType'
            example:
              AutoScalingGroupName: my-auto-scaling-group
              ScheduledActionName: my-scheduled-action
      tags:
      - Scheduled Action
  /?Action=DescribeScheduledActions:
    post:
      operationId: DescribeScheduledActions
      summary: Describe Scheduled Actions
      description: Gets information about the scheduled actions that haven't run or that have not reached their end time.
        To describe the scaling activities for scheduled actions that have already run, call the DescribeScalingActivities
        API.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ScheduledActionsType'
              example:
                ScheduledUpdateGroupActions:
                - MinSize: 2
                  DesiredCapacity: 4
                  AutoScalingGroupName: my-auto-scaling-group
                  MaxSize: 6
                  Recurrence: 30 0 1 12 0
                  ScheduledActionARN: arn:aws:autoscaling:us-west-2:123456789012:scheduledUpdateGroupAction:8e86b655-b2e6-4410-8f29-b4f094d6871c:autoScalingGroupName/my-auto-scaling-group:scheduledActionName/my-scheduled-action
                  ScheduledActionName: my-scheduled-action
                  StartTime: '2016-12-01T00:30:00Z'
                  Time: '2016-12-01T00:30:00Z'
        '400':
          description: InvalidNextToken
          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: DescribeScheduledActions
                  Version:
                    type: string
                    const: '2011-01-01'
              - $ref: '#/components/schemas/DescribeScheduledActionsType'
            example:
              AutoScalingGroupName: my-auto-scaling-group
      tags:
      - Scheduled Action
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:
    BatchDeleteScheduledActionAnswer:
      type: object
      properties:
        FailedScheduledActions:
          type: array
          items:
            $ref: '#/components/schemas/FailedScheduledUpdateGroupActionRequest'
          description: The names of the scheduled actions that could not be deleted, including an error message.
    BatchDeleteScheduledActionType:
      type: object
      properties:
        AutoScalingGroupName:
          type: string
          description: The name of the Auto Scaling group.
        ScheduledActionNames:
          type: array
          items:
            type: string
          description: The names of the scheduled actions to delete. The maximum number allowed is 50.
      required:
      - AutoScalingGroupName
      - ScheduledActionNames
    DeleteScheduledActionType:
      type: object
      properties:
        AutoScalingGroupName:
          type: string
          description: The name of the Auto Scaling group.
        ScheduledActionName:
          type: string
          description: The name of the action to delete.
      required:
      - AutoScalingGroupName
      - ScheduledActionName
    DescribeScheduledActionsType:
      type: object
      properties:
        AutoScalingGroupName:
          type: string
          description: The name of the Auto Scaling group.
        ScheduledActionNames:
          type: array
          items:
            type: string
          description: 'The names of one or more scheduled actions. If you omit this property, all scheduled actions are described.
            If you specify an unknown scheduled action, it is ignored with no error. Array Members: Maximum number of 50 actions.'
        StartTime:
          type: string
          format: date-time
          description: The earliest scheduled start time to return. If scheduled action names are provided, this property
            is ignored.
        EndTime:
          type: string
          format: date-time
          description: The latest scheduled start time to return. If scheduled action names are provided, this property is
            ignored.
        IncludeManagedResources:
          type: boolean
          description: Specifies whether to include scheduled actions for managed Auto Scaling groups in the response. When
            set to true (default), the response includes scheduled actions for managed Auto Scaling groups.
        NextToken:
          type: string
          description: The token for the next set of items to return. (You received this token from a previous call.)
        MaxRecords:
          type: integer
          description: The maximum number of items to return with this call. The default value is 50 and the maximum value
            is 100. A response can contain fewer items than the value specified by MaxRecords, even when more items are available.
            To retrieve the additional items, use the NextToken value in a subsequent call rather than relying on the number
            of items in the response.
    FailedScheduledUpdateGroupActionRequest:
      type: object
      properties:
        ScheduledActionName:
          type: string
          description: The name of the scheduled action.
        ErrorCode:
          type: string
          description: The error code.
        ErrorMessage:
          type: string
          description: The error message accompanying the error code.
      required:
      - ScheduledActionName
    InvalidNextToken:
      type: object
      properties:
        message:
          type: string
    ResourceContentionFault:
      type: object
      properties:
        message:
          type: string
    ScheduledActionsType:
      type: object
      properties:
        ScheduledUpdateGroupActions:
          type: array
          items:
            $ref: '#/components/schemas/ScheduledUpdateGroupAction'
          description: The scheduled actions.
        NextToken:
          type: string
          description: A string that 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.
    ScheduledUpdateGroupAction:
      type: object
      properties:
        AutoScalingGroupName:
          type: string
          description: The name of the Auto Scaling group.
        ScheduledActionName:
          type: string
          description: The name of the scheduled action.
        ScheduledActionARN:
          type: string
          description: The Amazon Resource Name (ARN) of the scheduled action.
        Time:
          type: string
          format: date-time
          description: This property is no longer used.
        StartTime:
          type: string
          format: date-time
          description: The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z".
        EndTime:
          type: string
          format: date-time
          description: The date and time in UTC for the recurring schedule to end. For example, "2019-06-01T00:00:00Z".
        Recurrence:
          type: string
          description: The recurring schedule for the action, in Unix cron syntax format. When StartTime and EndTime are specified
            with Recurrence, they form the boundaries of when the recurring action starts and stops.
        MinSize:
          type: integer
          description: The minimum size of the Auto Scaling group.
        MaxSize:
          type: integer
          description: The maximum size of the Auto Scaling group.
        DesiredCapacity:
          type: integer
          description: The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs
            and the capacity it attempts to maintain.
        TimeZone:
          type: string
          description: The time zone for the cron expression.
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)