Amazon Compute Optimizer Compute Optimizer Automation Event API

The Compute Optimizer Automation Event API from Amazon Compute Optimizer — 3 operation(s) for compute optimizer automation event.

GitHub OpenAPI

Operations 3

POST /#GetAutomationEvent Get Automation Event #
POST /#ListAutomationEvents List Automation Events #
POST /#StartAutomationEvent Start Automation Event #

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-compute-optimizer:amazon-compute-optimizer-automation-event-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-compute-optimizer-automation-event-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Compute Optimizer Automation Event API
  version: '2019-11-01'
  description: Generated from AWS's published Smithy model for AWS Compute Optimizer. 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://aco-automation.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#GetAutomationEvent:
    post:
      operationId: GetAutomationEvent
      summary: Get Automation Event
      description: Retrieves details about a specific automation event.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetAutomationEventResponse'
        '403':
          description: AccessDeniedException; ForbiddenException; OptInRequiredException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '400':
          description: InvalidParameterValueException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AcoAutomationThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - ComputeOptimizerAutomationService.GetAutomationEvent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetAutomationEventRequest'
      tags:
      - Automation Event
  /#ListAutomationEvents:
    post:
      operationId: ListAutomationEvents
      summary: List Automation Events
      description: Lists automation events based on specified filters. You can retrieve events that were created within the
        past year.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListAutomationEventsResponse'
        '403':
          description: AccessDeniedException; ForbiddenException; OptInRequiredException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '400':
          description: InvalidParameterValueException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '503':
          description: ServiceUnavailableException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AcoAutomationThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - ComputeOptimizerAutomationService.ListAutomationEvents
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListAutomationEventsRequest'
      tags:
      - Automation Event
  /#StartAutomationEvent:
    post:
      operationId: StartAutomationEvent
      summary: Start Automation Event
      description: Initiates a one-time, on-demand automation for the specified recommended action. Management accounts and
        delegated administrators can only initiate recommended actions for associated member accounts. You can associate a
        member account using AssociateAccounts.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/StartAutomationEventResponse'
        '403':
          description: AccessDeniedException; ForbiddenException; OptInRequiredException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: IdempotencyTokenInUseException; IdempotentParameterMismatchException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IdempotencyTokenInUseException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '400':
          description: InvalidParameterValueException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '503':
          description: ServiceUnavailableException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AcoAutomationThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - ComputeOptimizerAutomationService.StartAutomationEvent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/StartAutomationEventRequest'
      tags:
      - Automation Event
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: aco-automation
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    AcoAutomationEstimatedMonthlySavings:
      type: object
      properties:
        currency:
          type: string
          description: The currency of the estimated savings.
        beforeDiscountSavings:
          type: number
          description: The estimated monthly savings before applying any discounts.
        afterDiscountSavings:
          type: number
          description: The estimated monthly savings after applying any discounts.
        savingsEstimationMode:
          type: string
          enum:
          - BeforeDiscount
          - AfterDiscount
          description: The mode used to calculate savings, either BeforeDiscount or AfterDiscount.
      required:
      - currency
      - beforeDiscountSavings
      - afterDiscountSavings
      - savingsEstimationMode
    AcoAutomationThrottlingException:
      type: object
      properties:
        message:
          type: string
    AutomationEvent:
      type: object
      properties:
        eventId:
          type: string
          description: The unique identifier for the automation event.
        eventDescription:
          type: string
          description: A description of the automation event.
        eventType:
          type: string
          enum:
          - SnapshotAndDeleteUnattachedEbsVolume
          - UpgradeEbsVolumeType
          description: The type of automation event.
        eventStatus:
          type: string
          enum:
          - Ready
          - InProgress
          - Complete
          - Failed
          - Cancelled
          - RollbackReady
          - RollbackInProgress
          - RollbackComplete
          - RollbackFailed
          description: The current status of the automation event.
        eventStatusReason:
          type: string
          description: The reason for the current event status.
        resourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the resource affected by the automation event.
        resourceId:
          type: string
          description: The ID of the resource affected by the automation event.
        recommendedActionId:
          type: string
          description: The ID of the recommended action associated with this automation event.
        accountId:
          type: string
          description: The Amazon Web Services account ID associated with the automation event.
        region:
          type: string
          description: The Amazon Web Services Region where the automation event occurred.
        ruleId:
          type: string
          description: The ID of the automation rule that triggered this event.
        resourceType:
          type: string
          enum:
          - EbsVolume
          description: The type of resource affected by the automation event.
        createdTimestamp:
          type: string
          description: The timestamp when the automation event was created.
        completedTimestamp:
          type: string
          description: The timestamp when the automation event completed.
        estimatedMonthlySavings:
          $ref: '#/components/schemas/AcoAutomationEstimatedMonthlySavings'
    AutomationEventFilter:
      type: object
      properties:
        name:
          type: string
          description: The name of the filter to apply.
        values:
          type: array
          items:
            type: string
          description: The values to use for the specified filter.
      required:
      - name
      - values
    GetAutomationEventRequest:
      type: object
      properties:
        eventId:
          type: string
          description: The ID of the automation event to retrieve.
      required:
      - eventId
    GetAutomationEventResponse:
      type: object
      properties:
        eventId:
          type: string
          description: The ID of the automation event to retrieve.
        eventDescription:
          type: string
          description: A description of the automation event.
        eventType:
          type: string
          enum:
          - SnapshotAndDeleteUnattachedEbsVolume
          - UpgradeEbsVolumeType
          description: The type of automation event.
        eventStatus:
          type: string
          enum:
          - Ready
          - InProgress
          - Complete
          - Failed
          - Cancelled
          - RollbackReady
          - RollbackInProgress
          - RollbackComplete
          - RollbackFailed
          description: The current status of the automation event.
        eventStatusReason:
          type: string
          description: The reason for the current event status.
        resourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the resource affected by the automation event.
        resourceId:
          type: string
          description: The ID of the resource affected by the automation event.
        recommendedActionId:
          type: string
          description: The ID of the recommended action associated with this automation event.
        accountId:
          type: string
          description: The Amazon Web Services account ID associated with the automation event.
        region:
          type: string
          description: The Amazon Web Services Region where the automation event occurred.
        ruleId:
          type: string
          description: The ID of the automation rule that triggered this event.
        resourceType:
          type: string
          enum:
          - EbsVolume
          description: The type of resource affected by the automation event.
        createdTimestamp:
          type: string
          description: The timestamp when the automation event was created.
        completedTimestamp:
          type: string
          description: The timestamp when the automation event completed.
        estimatedMonthlySavings:
          $ref: '#/components/schemas/AcoAutomationEstimatedMonthlySavings'
    IdempotencyTokenInUseException:
      type: object
      properties:
        message:
          type: string
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    InvalidParameterValueException:
      type: object
      properties:
        message:
          type: string
    ListAutomationEventsRequest:
      type: object
      properties:
        filters:
          type: array
          items:
            $ref: '#/components/schemas/AutomationEventFilter'
          description: The filters to apply to the list of automation events.
        startTimeInclusive:
          type: string
          description: The start of the time range to query for events.
        endTimeExclusive:
          type: string
          description: The end of the time range to query for events.
        maxResults:
          type: integer
          description: The maximum number of results to return in a single call.
        nextToken:
          type: string
          description: The token for the next page of results.
    ListAutomationEventsResponse:
      type: object
      properties:
        automationEvents:
          type: array
          items:
            $ref: '#/components/schemas/AutomationEvent'
          description: The list of automation events that match the specified criteria.
        nextToken:
          type: string
          description: The token to use to retrieve the next page of results.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
    ServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
    StartAutomationEventRequest:
      type: object
      properties:
        recommendedActionId:
          type: string
          description: The ID of the recommended action to automate.
        clientToken:
          type: string
          description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must
            be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.
      required:
      - recommendedActionId
    StartAutomationEventResponse:
      type: object
      properties:
        recommendedActionId:
          type: string
          description: The ID of the recommended action being automated.
        eventId:
          type: string
          description: The ID of the automation event.
        eventStatus:
          type: string
          enum:
          - Ready
          - InProgress
          - Complete
          - Failed
          - Cancelled
          - RollbackReady
          - RollbackInProgress
          - RollbackComplete
          - RollbackFailed
          description: The current status of the automation event.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/compute-optimizer-automation/service/2025-09-22/compute-optimizer-automation-2025-09-22.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)