Amazon Systems Manager Systems Manager Maintenance Window Execution API

The Systems Manager Maintenance Window Execution API from Amazon Systems Manager — 3 operation(s) for systems manager maintenance window execution.

Operations 3

POST /#CancelMaintenanceWindowExecution Cancel Maintenance Window Execution #
POST /#DescribeMaintenanceWindowExecutions Describe Maintenance Window Executions #
POST /#GetMaintenanceWindowExecution Get Maintenance Window Execution #

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-systems-manager:amazon-systems-manager-maintenance-window-execution-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-systems-manager-maintenance-window-execution-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Simple Systems Manager (SSM) Maintenance Window…
  version: '2014-11-06'
  description: Generated from AWS's published Smithy model for Amazon Simple Systems Manager (SSM). 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://ssm.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
tags:
- name: Maintenance Window Execution
paths:
  /#CancelMaintenanceWindowExecution:
    post:
      operationId: CancelMaintenanceWindowExecution
      summary: Cancel Maintenance Window Execution
      description: Stops a maintenance window execution that is already in progress and cancels any tasks in the window that haven't already starting running. Tasks already in progress will continue to completion.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CancelMaintenanceWindowExecutionResult'
        '400':
          description: DoesNotExistException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DoesNotExistException'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSSM.CancelMaintenanceWindowExecution
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CancelMaintenanceWindowExecutionRequest'
      tags:
      - Maintenance Window Execution
  /#DescribeMaintenanceWindowExecutions:
    post:
      operationId: DescribeMaintenanceWindowExecutions
      summary: Describe Maintenance Window Executions
      description: Lists the executions of a maintenance window. This includes information about when the maintenance window was scheduled to be active, and information about tasks registered and run with the maintenance window.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeMaintenanceWindowExecutionsResult'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSSM.DescribeMaintenanceWindowExecutions
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeMaintenanceWindowExecutionsRequest'
      tags:
      - Maintenance Window Execution
  /#GetMaintenanceWindowExecution:
    post:
      operationId: GetMaintenanceWindowExecution
      summary: Get Maintenance Window Execution
      description: Retrieves details about a specific a maintenance window execution.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetMaintenanceWindowExecutionResult'
        '400':
          description: DoesNotExistException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DoesNotExistException'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSSM.GetMaintenanceWindowExecution
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetMaintenanceWindowExecutionRequest'
      tags:
      - Maintenance Window Execution
components:
  schemas:
    CancelMaintenanceWindowExecutionRequest:
      type: object
      properties:
        WindowExecutionId:
          type: string
          description: The ID of the maintenance window execution to stop.
      required:
      - WindowExecutionId
    DescribeMaintenanceWindowExecutionsRequest:
      type: object
      properties:
        WindowId:
          type: string
          description: The ID of the maintenance window whose executions should be retrieved.
        Filters:
          type: array
          items:
            $ref: '#/components/schemas/MaintenanceWindowFilter'
          description: 'Each entry in the array is a structure containing: Key. A string between 1 and 128 characters. Supported keys include ExecutedBefore and ExecutedAfter. Values. An array of strings, each between 1 and 256 characters. Supported values are date/time strings in a valid ISO 8601 date/time format, such as 2024-11-04T05:00:00Z.'
        MaxResults:
          type: integer
          description: The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
        NextToken:
          type: string
          description: The token for the next set of items to return. (You received this token from a previous call.)
      required:
      - WindowId
    DescribeMaintenanceWindowExecutionsResult:
      type: object
      properties:
        WindowExecutions:
          type: array
          items:
            $ref: '#/components/schemas/MaintenanceWindowExecution'
          description: Information about the maintenance window executions.
        NextToken:
          type: string
          description: The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
    MaintenanceWindowFilter:
      type: object
      properties:
        Key:
          type: string
          description: The name of the filter.
        Values:
          type: array
          items:
            type: string
          description: The filter values.
    GetMaintenanceWindowExecutionRequest:
      type: object
      properties:
        WindowExecutionId:
          type: string
          description: The ID of the maintenance window execution that includes the task.
      required:
      - WindowExecutionId
    MaintenanceWindowExecution:
      type: object
      properties:
        WindowId:
          type: string
          description: The ID of the maintenance window.
        WindowExecutionId:
          type: string
          description: The ID of the maintenance window execution.
        Status:
          type: string
          enum:
          - PENDING
          - IN_PROGRESS
          - SUCCESS
          - FAILED
          - TIMED_OUT
          - CANCELLING
          - CANCELLED
          - SKIPPED_OVERLAPPING
          description: The status of the execution.
        StatusDetails:
          type: string
          description: The details explaining the status. Not available for all status values.
        StartTime:
          type: string
          format: date-time
          description: The time the execution started.
        EndTime:
          type: string
          format: date-time
          description: The time the execution finished.
    GetMaintenanceWindowExecutionResult:
      type: object
      properties:
        WindowExecutionId:
          type: string
          description: The ID of the maintenance window execution.
        TaskIds:
          type: array
          items:
            type: string
          description: The ID of the task executions from the maintenance window execution.
        Status:
          type: string
          enum:
          - PENDING
          - IN_PROGRESS
          - SUCCESS
          - FAILED
          - TIMED_OUT
          - CANCELLING
          - CANCELLED
          - SKIPPED_OVERLAPPING
          description: The status of the maintenance window execution.
        StatusDetails:
          type: string
          description: The details explaining the status. Not available for all status values.
        StartTime:
          type: string
          format: date-time
          description: The time the maintenance window started running.
        EndTime:
          type: string
          format: date-time
          description: The time the maintenance window finished running.
    InternalServerError:
      type: object
      properties:
        Message:
          type: string
    CancelMaintenanceWindowExecutionResult:
      type: object
      properties:
        WindowExecutionId:
          type: string
          description: The ID of the maintenance window execution that has been stopped.
    DoesNotExistException:
      type: object
      properties:
        Message:
          type: string
  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: ssm
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/ssm/service/2014-11-06/ssm-2014-11-06.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)