Amazon Application Migration Service Lifecycle Hooks API

Lifecycle action hooks for automated workflows

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

POST /ListTemplateActions List Template Actions #
POST /ListSourceServerActions List Source Server Actions #

Specifications

Examples

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-application-migration-service:amazon-application-migration-service-lifecycle-hooks-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-application-migration-service-lifecycle-hooks-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Application Migration Service Lifecycle Hooks API
  version: '2020-02-26'
  description: Generated from AWS's published Smithy model for Application Migration Service. 2 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://mgn.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /ListTemplateActions:
    post:
      operationId: ListTemplateActions
      summary: List Template Actions
      description: List template post migration custom actions.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTemplateActionsResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: UninitializedAccountException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UninitializedAccountException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                launchConfigurationTemplateID:
                  type: string
                  description: Launch configuration template ID.
                filters:
                  $ref: '#/components/schemas/TemplateActionsRequestFilters'
                maxResults:
                  type: integer
                  description: Maximum amount of items to return when listing template post migration custom actions.
                nextToken:
                  type: string
                  description: Next token to use when listing template post migration custom actions.
              required:
              - launchConfigurationTemplateID
      tags:
      - Lifecycle Hooks
  /ListSourceServerActions:
    post:
      operationId: ListSourceServerActions
      summary: List Source Server Actions
      description: List source server post migration custom actions.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSourceServerActionsResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: UninitializedAccountException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UninitializedAccountException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                sourceServerID:
                  type: string
                  description: Source server ID.
                filters:
                  $ref: '#/components/schemas/SourceServerActionsRequestFilters'
                maxResults:
                  type: integer
                  description: Maximum amount of items to return when listing source server post migration custom actions.
                nextToken:
                  type: string
                  description: Next token to use when listing source server post migration custom actions.
                accountID:
                  type: string
                  description: Account ID to return when listing source server post migration custom actions.
              required:
              - sourceServerID
      tags:
      - Lifecycle Hooks
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: mgn
  schemas:
    ListSourceServerActionsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/SourceServerActionDocument'
          description: List of source server post migration custom actions.
        nextToken:
          type: string
          description: Next token returned when listing source server post migration custom actions.
    ListTemplateActionsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/TemplateActionDocument'
          description: List of template post migration custom actions.
        nextToken:
          type: string
          description: Next token returned when listing template post migration custom actions.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
        resourceId:
          type: string
          description: Resource ID not found error.
        resourceType:
          type: string
          description: Resource type not found error.
    SourceServerActionDocument:
      type: object
      properties:
        actionID:
          type: string
          description: Source server post migration custom action ID.
        actionName:
          type: string
          description: Source server post migration custom action name.
        documentIdentifier:
          type: string
          description: Source server post migration custom action document identifier.
        order:
          type: integer
          description: Source server post migration custom action order.
        documentVersion:
          type: string
          description: Source server post migration custom action document version.
        active:
          type: boolean
          description: Source server post migration custom action active status.
        timeoutSeconds:
          type: integer
          description: Source server post migration custom action timeout in seconds.
        mustSucceedForCutover:
          type: boolean
          description: Source server post migration custom action must succeed for cutover.
        parameters:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/SsmParameterStoreParameter'
          description: Source server post migration custom action parameters.
        externalParameters:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SsmExternalParameter'
          description: Source server post migration custom action external parameters.
        description:
          type: string
          description: Source server post migration custom action description.
        category:
          type: string
          description: Source server post migration custom action category.
    SourceServerActionsRequestFilters:
      type: object
      properties:
        actionIDs:
          type: array
          items:
            type: string
          description: Action IDs to filter source server post migration custom actions by.
    SsmExternalParameter:
      type: object
      properties:
        dynamicPath:
          type: string
          description: AWS Systems Manager Document external parameters dynamic path.
      description: Exactly one member is set.
    SsmParameterStoreParameter:
      type: object
      properties:
        parameterType:
          type: string
          description: AWS Systems Manager Parameter Store parameter type.
        parameterName:
          type: string
          description: AWS Systems Manager Parameter Store parameter name.
      required:
      - parameterType
      - parameterName
    TemplateActionDocument:
      type: object
      properties:
        actionID:
          type: string
          description: Template post migration custom action ID.
        actionName:
          type: string
          description: Template post migration custom action name.
        documentIdentifier:
          type: string
          description: Template post migration custom action document identifier.
        order:
          type: integer
          description: Template post migration custom action order.
        documentVersion:
          type: string
          description: Template post migration custom action document version.
        active:
          type: boolean
          description: Template post migration custom action active status.
        timeoutSeconds:
          type: integer
          description: Template post migration custom action timeout in seconds.
        mustSucceedForCutover:
          type: boolean
          description: Template post migration custom action must succeed for cutover.
        parameters:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/SsmParameterStoreParameter'
          description: Template post migration custom action parameters.
        operatingSystem:
          type: string
          description: Operating system eligible for this template post migration custom action.
        externalParameters:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SsmExternalParameter'
          description: Template post migration custom action external parameters.
        description:
          type: string
          description: Template post migration custom action description.
        category:
          type: string
          description: Template post migration custom action category.
    TemplateActionsRequestFilters:
      type: object
      properties:
        actionIDs:
          type: array
          items:
            type: string
          description: Action IDs to filter template post migration custom actions by.
    UninitializedAccountException:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/mgn/service/2020-02-26/mgn-2020-02-26.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)