Amazon Migration Hub Migration Hub Template API

The Migration Hub Template API from Amazon Migration Hub — 2 operation(s) for migration hub template.

GitHub OpenAPI

Operations 3

POST /template Create Template #
POST /template/{id} Update Template #
DELETE /template/{id} Delete Template #

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-migration-hub:amazon-migration-hub-template-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-migration-hub-template-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Migration Hub Template API
  version: '2017-05-31'
  description: Generated from AWS's published Smithy model for AWS Migration Hub. 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://migrationhub-orchestrator.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /template:
    post:
      operationId: CreateTemplate
      summary: Create Template
      description: Creates a migration workflow template.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTemplateResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorAccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorInternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTemplateRequest'
      tags:
      - Template
  /template/{id}:
    post:
      operationId: UpdateTemplate
      summary: Update Template
      description: Updates a migration workflow template.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateTemplateResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorAccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTemplateRequest'
      tags:
      - Template
    delete:
      operationId: DeleteTemplate
      summary: Delete Template
      description: Deletes a migration workflow template.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTemplateResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorAccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationhubOrchestratorValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteTemplateRequest'
      tags:
      - Template
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: migrationhub-orchestrator
  schemas:
    CreateTemplateRequest:
      type: object
      properties:
        templateName:
          type: string
          description: The name of the migration workflow template.
        templateDescription:
          type: string
          description: A description of the migration workflow template.
        templateSource:
          $ref: '#/components/schemas/TemplateSource'
        clientToken:
          type: string
          description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For
            more information, see Idempotency in the Smithy documentation.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags to add to the migration workflow template.
      required:
      - templateName
      - templateSource
    CreateTemplateResponse:
      type: object
      properties:
        templateId:
          type: string
          description: The ID of the migration workflow template.
        templateArn:
          type: string
          description: The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub
            Orchestrator template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For
            more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags added to the migration workflow template.
    DeleteTemplateRequest:
      type: object
      properties:
        id:
          type: string
          description: The ID of the request to delete a migration workflow template.
      required:
      - id
    DeleteTemplateResponse:
      type: object
      properties: {}
    MigrationhubOrchestratorAccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    MigrationhubOrchestratorConflictException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    MigrationhubOrchestratorInternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    MigrationhubOrchestratorResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    MigrationhubOrchestratorThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    MigrationhubOrchestratorValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    TemplateSource:
      type: object
      properties:
        workflowId:
          type: string
          description: The ID of the workflow from the source migration workflow template.
      description: Exactly one member is set.
    UpdateTemplateRequest:
      type: object
      properties:
        id:
          type: string
          description: The ID of the request to update a migration workflow template.
        templateName:
          type: string
          description: The name of the migration workflow template to update.
        templateDescription:
          type: string
          description: The description of the migration workflow template to update.
        clientToken:
          type: string
          description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      required:
      - id
    UpdateTemplateResponse:
      type: object
      properties:
        templateId:
          type: string
          description: The ID of the migration workflow template being updated.
        templateArn:
          type: string
          description: The ARN of the migration workflow template being updated. The format for an Migration Hub Orchestrator
            template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For more information
            about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags added to the migration workflow template.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/migrationhuborchestrator/service/2021-08-28/migrationhuborchestrator-2021-08-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)