Amazon Migration Hub Migration Hub Home Region Control API

The Migration Hub Home Region Control API from Amazon Migration Hub — 3 operation(s) for migration hub home region control.

GitHub OpenAPI

Operations 3

POST /#CreateHomeRegionControl Create Home Region Control #
POST /#DeleteHomeRegionControl Delete Home Region Control #
POST /#DescribeHomeRegionControls Describe Home Region Controls #

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-home-region-control-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-migration-hub-home-region-control-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Migration Hub Home Region Control 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-config.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateHomeRegionControl:
    post:
      operationId: CreateHomeRegionControl
      summary: Create Home Region Control
      description: This API sets up the home region for the calling account only.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateHomeRegionControlResult'
        '400':
          description: AccessDeniedException; DryRunOperation; InvalidInputException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerError; ServiceUnavailableException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/MigrationhubConfigThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSMigrationHubMultiAccountService.CreateHomeRegionControl
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateHomeRegionControlRequest'
      tags:
      - Home Region Control
  /#DeleteHomeRegionControl:
    post:
      operationId: DeleteHomeRegionControl
      summary: Delete Home Region Control
      description: This operation deletes the home region configuration for the calling account. The operation does not delete
        discovery or migration tracking data in the home region.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteHomeRegionControlResult'
        '400':
          description: AccessDeniedException; InvalidInputException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerError; ServiceUnavailableException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/MigrationhubConfigThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSMigrationHubMultiAccountService.DeleteHomeRegionControl
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteHomeRegionControlRequest'
      tags:
      - Home Region Control
  /#DescribeHomeRegionControls:
    post:
      operationId: DescribeHomeRegionControls
      summary: Describe Home Region Controls
      description: This API permits filtering on the ControlId and HomeRegion fields.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeHomeRegionControlsResult'
        '400':
          description: AccessDeniedException; InvalidInputException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerError; ServiceUnavailableException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/MigrationhubConfigThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSMigrationHubMultiAccountService.DescribeHomeRegionControls
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeHomeRegionControlsRequest'
      tags:
      - Home Region Control
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: mgh
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    CreateHomeRegionControlRequest:
      type: object
      properties:
        HomeRegion:
          type: string
          description: The name of the home region of the calling account.
        Target:
          $ref: '#/components/schemas/Target'
        DryRun:
          type: boolean
          description: Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller
            has permission to make the call.
      required:
      - HomeRegion
      - Target
    CreateHomeRegionControlResult:
      type: object
      properties:
        HomeRegionControl:
          $ref: '#/components/schemas/HomeRegionControl'
    DeleteHomeRegionControlRequest:
      type: object
      properties:
        ControlId:
          type: string
          description: A unique identifier that's generated for each home region control. It's always a string that begins
            with "hrc-" followed by 12 lowercase letters and numbers.
      required:
      - ControlId
    DeleteHomeRegionControlResult:
      type: object
      properties: {}
    DescribeHomeRegionControlsRequest:
      type: object
      properties:
        ControlId:
          type: string
          description: The ControlID is a unique identifier string of your HomeRegionControl object.
        HomeRegion:
          type: string
          description: The name of the home region you'd like to view.
        Target:
          $ref: '#/components/schemas/Target'
        MaxResults:
          type: integer
          description: The maximum number of filtering results to display per page.
        NextToken:
          type: string
          description: If a NextToken was returned by a previous call, more results are available. To retrieve the next page
            of results, make the call again using the returned token in NextToken.
    DescribeHomeRegionControlsResult:
      type: object
      properties:
        HomeRegionControls:
          type: array
          items:
            $ref: '#/components/schemas/HomeRegionControl'
          description: An array that contains your HomeRegionControl objects.
        NextToken:
          type: string
          description: If a NextToken was returned by a previous call, more results are available. To retrieve the next page
            of results, make the call again using the returned token in NextToken.
    HomeRegionControl:
      type: object
      properties:
        ControlId:
          type: string
          description: A unique identifier that's generated for each home region control. It's always a string that begins
            with "hrc-" followed by 12 lowercase letters and numbers.
        HomeRegion:
          type: string
          description: The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid
            home regions.
        Target:
          $ref: '#/components/schemas/Target'
        RequestedTime:
          type: string
          format: date-time
          description: A timestamp representing the time when the customer called CreateHomeregionControl and set the home
            region for the account.
    InternalServerError:
      type: object
      properties:
        Message:
          type: string
    MigrationhubConfigThrottlingException:
      type: object
      properties:
        Message:
          type: string
        RetryAfterSeconds:
          type: integer
          description: The number of seconds the caller should wait before retrying.
      required:
      - Message
    Target:
      type: object
      properties:
        Type:
          type: string
          enum:
          - ACCOUNT
          description: The target type is always an ACCOUNT.
        Id:
          type: string
          description: The TargetID is a 12-character identifier of the ACCOUNT for which the control was created. (This must
            be the current account.)
      required:
      - Type
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/migrationhub-config/service/2019-06-30/migrationhub-config-2019-06-30.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)