Amazon Mainframe Modernization Mainframe Modernization Operations API

The Mainframe Modernization Operations API from Amazon Mainframe Modernization — 4 operation(s) for mainframe modernization operations.

GitHub OpenAPI

Operations 4

POST /applications/{applicationId}/dataset-export-task Create Data Set Export Task #
GET /applications/{applicationId}/dataset-export-tasks/{taskId} Get Data Set Export Task #
GET /applications/{applicationId}/dataset-export-tasks List Data Set Export History #
GET /applications/{applicationId}/batch-job-executions/{executionId}/steps List Batch Job Restart Points #

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-mainframe-modernization:amazon-mainframe-modernization-operations-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-mainframe-modernization-operations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWSMainframeModernization Operations API
  version: '2021-04-28'
  description: Generated from AWS's published Smithy model for AWSMainframeModernization. 4 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://m2.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /applications/{applicationId}/dataset-export-task:
    post:
      operationId: CreateDataSetExportTask
      summary: Create Data Set Export Task
      description: Starts a data set export task for a specific application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDataSetExportTaskResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the application for which you want to export data sets.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                exportConfig:
                  $ref: '#/components/schemas/DataSetExportConfig'
                clientToken:
                  type: string
                  description: Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create
                    a data set export. The service generates the clientToken when the API call is triggered. The token expires
                    after one hour, so if you retry the API within this timeframe with the same clientToken, you will get
                    the same response. The service also handles deleting the clientToken after it expires.
                kmsKeyId:
                  type: string
                  description: The identifier of a customer managed key.
              required:
              - exportConfig
      tags:
      - Operations
  /applications/{applicationId}/dataset-export-tasks/{taskId}:
    get:
      operationId: GetDataSetExportTask
      summary: Get Data Set Export Task
      description: Gets the status of a data set import task initiated with the CreateDataSetExportTask operation.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDataSetExportTaskResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The application identifier.
      - name: taskId
        in: path
        required: true
        schema:
          type: string
        description: The task identifier returned by the CreateDataSetExportTask operation.
      tags:
      - Operations
  /applications/{applicationId}/dataset-export-tasks:
    get:
      operationId: ListDataSetExportHistory
      summary: List Data Set Export History
      description: Lists the data set exports for the specified application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDataSetExportHistoryResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: A pagination token returned from a previous call to this operation. This specifies the next item to return.
          To return to the beginning of the list, exclude this parameter.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of objects to return.
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the application.
      tags:
      - Operations
  /applications/{applicationId}/batch-job-executions/{executionId}/steps:
    get:
      operationId: ListBatchJobRestartPoints
      summary: List Batch Job Restart Points
      description: Lists all the job steps for a JCL file to restart a batch job. This is only applicable for Micro Focus
        engine with versions 8.0.6 and above.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBatchJobRestartPointsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the application.
      - name: executionId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the batch job execution.
      - name: authSecretsManagerArn
        in: query
        schema:
          type: string
        description: The Amazon Web Services Secrets Manager containing user's credentials for authentication and authorization
          for List Batch Job Restart Points operation.
      tags:
      - Operations
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: m2
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ConflictException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the conflicting resource.
        resourceType:
          type: string
          description: The type of the conflicting resource.
      required:
      - message
    CreateDataSetExportTaskResponse:
      type: object
      properties:
        taskId:
          type: string
          description: The task identifier. This operation is asynchronous. Use this identifier with the GetDataSetExportTask
            operation to obtain the status of this task.
      required:
      - taskId
    DataSetExportConfig:
      type: object
      properties:
        s3Location:
          type: string
          description: The Amazon S3 location of the data sets.
        dataSets:
          type: array
          items:
            $ref: '#/components/schemas/DataSetExportItem'
          description: The data sets.
      description: Exactly one member is set.
    DataSetExportItem:
      type: object
      properties:
        datasetName:
          type: string
          description: The data set.
        externalLocation:
          $ref: '#/components/schemas/ExternalLocation'
      required:
      - datasetName
      - externalLocation
    DataSetExportSummary:
      type: object
      properties:
        total:
          type: integer
          description: The total number of data set exports.
        succeeded:
          type: integer
          description: The number of data set exports that have succeeded.
        failed:
          type: integer
          description: The number of data set exports that have failed.
        pending:
          type: integer
          description: The number of data set exports that are pending.
        inProgress:
          type: integer
          description: The number of data set exports that are in progress.
      required:
      - total
      - succeeded
      - failed
      - pending
      - inProgress
    DataSetExportTask:
      type: object
      properties:
        taskId:
          type: string
          description: The identifier of the data set export task.
        status:
          type: string
          description: The status of the data set export task.
        summary:
          $ref: '#/components/schemas/DataSetExportSummary'
        statusReason:
          type: string
          description: If dataset exports failed, the failure reason will show here.
      required:
      - taskId
      - status
      - summary
    ExternalLocation:
      type: object
      properties:
        s3Location:
          type: string
          description: The URI of the Amazon S3 bucket.
      description: Exactly one member is set.
    GetDataSetExportTaskResponse:
      type: object
      properties:
        taskId:
          type: string
          description: The task identifier.
        status:
          type: string
          description: The status of the task.
        summary:
          $ref: '#/components/schemas/DataSetExportSummary'
        statusReason:
          type: string
          description: If dataset export failed, the failure reason will show here.
        kmsKeyArn:
          type: string
          description: The identifier of a customer managed key used for exported data set encryption.
      required:
      - taskId
      - status
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the request.
      required:
      - message
    JobStep:
      type: object
      properties:
        stepNumber:
          type: integer
          description: The number of a step.
        stepName:
          type: string
          description: The name of a step.
        procStepNumber:
          type: integer
          description: The number of a procedure step.
        procStepName:
          type: string
          description: The name of a procedure step.
        stepCondCode:
          type: string
          description: The condition code of a step.
        stepRestartable:
          type: boolean
          description: Specifies if a step can be restarted or not.
        stepCheckpoint:
          type: integer
          description: A registered step-level checkpoint identifier that can be used for restarting an Amazon Web Services
            Blu Age application batch job.
        stepCheckpointStatus:
          type: string
          description: The step-level checkpoint status for an Amazon Web Services Blu Age application batch job.
        stepCheckpointTime:
          type: string
          format: date-time
          description: The step-level checkpoint status for an Amazon Web Services Blu Age application batch job.
    ListBatchJobRestartPointsResponse:
      type: object
      properties:
        batchJobSteps:
          type: array
          items:
            $ref: '#/components/schemas/JobStep'
          description: Returns all the batch job steps and related information for a batch job that previously ran.
    ListDataSetExportHistoryResponse:
      type: object
      properties:
        dataSetExportTasks:
          type: array
          items:
            $ref: '#/components/schemas/DataSetExportTask'
          description: The data set export tasks.
        nextToken:
          type: string
          description: If there are more items to return, this contains a token that is passed to a subsequent call to this
            operation to retrieve the next set of items.
      required:
      - dataSetExportTasks
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the missing resource.
        resourceType:
          type: string
          description: The type of the missing resource.
      required:
      - message
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the resource that is exceeding the quota limit.
        resourceType:
          type: string
          description: The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
        serviceCode:
          type: string
          description: A code that identifies the service that the exceeded quota belongs to.
        quotaCode:
          type: string
          description: The identifier of the exceeded quota.
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The identifier of the service that the throttled request was made to.
        quotaCode:
          type: string
          description: The identifier of the throttled request.
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the request.
      required:
      - message
    ValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          description: The reason why it failed service validation.
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The list of fields that failed service validation.
      required:
      - message
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the exception field.
        message:
          type: string
          description: The message of the exception field.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/m2/service/2021-04-28/m2-2021-04-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)