Amazon Migration Hub Migration Hub Workflowstep API
The Migration Hub Workflowstep API from Amazon Migration Hub — 2 operation(s) for migration hub workflowstep.
The Migration Hub Workflowstep API from Amazon Migration Hub — 2 operation(s) for migration hub workflowstep.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-migration-hub:amazon-migration-hub-workflowstep-api"
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.
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: 3.1.0
info:
title: AWS Migration Hub Workflowstep API
version: '2017-05-31'
description: Generated from AWS's published Smithy model for AWS Migration Hub. 5 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:
/workflowstep:
post:
operationId: CreateWorkflowStep
summary: Create Workflow Step
description: Create a step in the migration workflow.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWorkflowStepResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/MigrationhubOrchestratorAccessDeniedException'
'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:
type: object
properties:
name:
type: string
description: The name of the step.
stepGroupId:
type: string
description: The ID of the step group.
workflowId:
type: string
description: The ID of the migration workflow.
stepActionType:
type: string
description: The action type of the step. You must run and update the status of a manual step for the workflow
to continue after the completion of the step.
description:
type: string
description: The description of the step.
workflowStepAutomationConfiguration:
$ref: '#/components/schemas/WorkflowStepAutomationConfiguration'
stepTarget:
type: array
items:
type: string
description: The servers on which a step will be run.
outputs:
type: array
items:
$ref: '#/components/schemas/WorkflowStepOutput'
description: The key value pairs added for the expected output.
previous:
type: array
items:
type: string
description: The previous step.
next:
type: array
items:
type: string
description: The next step.
required:
- name
- stepGroupId
- workflowId
- stepActionType
tags:
- Workflowstep
/workflowstep/{id}:
get:
operationId: GetWorkflowStep
summary: Get Workflow Step
description: Get a step in the migration workflow.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetWorkflowStepResponse'
'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'
parameters:
- name: workflowId
in: query
required: true
schema:
type: string
description: The ID of the migration workflow.
- name: stepGroupId
in: query
required: true
schema:
type: string
description: The ID of the step group.
- name: id
in: path
required: true
schema:
type: string
description: The ID of the step.
tags:
- Workflowstep
post:
operationId: UpdateWorkflowStep
summary: Update Workflow Step
description: Update a step in a migration workflow.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateWorkflowStepResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/MigrationhubOrchestratorAccessDeniedException'
'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'
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The ID of the step.
requestBody:
content:
application/json:
schema:
type: object
properties:
stepGroupId:
type: string
description: The ID of the step group.
workflowId:
type: string
description: The ID of the migration workflow.
name:
type: string
description: The name of the step.
description:
type: string
description: The description of the step.
stepActionType:
type: string
description: The action type of the step. You must run and update the status of a manual step for the workflow
to continue after the completion of the step.
workflowStepAutomationConfiguration:
$ref: '#/components/schemas/WorkflowStepAutomationConfiguration'
stepTarget:
type: array
items:
type: string
description: The servers on which a step will be run.
outputs:
type: array
items:
$ref: '#/components/schemas/WorkflowStepOutput'
description: The outputs of a step.
previous:
type: array
items:
type: string
description: The previous step.
next:
type: array
items:
type: string
description: The next step.
status:
type: string
description: The status of the step.
required:
- stepGroupId
- workflowId
tags:
- Workflowstep
delete:
operationId: DeleteWorkflowStep
summary: Delete Workflow Step
description: Delete a step in a migration workflow. Pause the workflow to delete a running step.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteWorkflowStepResponse'
'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'
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The ID of the step you want to delete.
- name: stepGroupId
in: query
required: true
schema:
type: string
description: The ID of the step group that contains the step you want to delete.
- name: workflowId
in: query
required: true
schema:
type: string
description: The ID of the migration workflow.
tags:
- Workflowstep
/workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps:
get:
operationId: ListWorkflowSteps
summary: List Workflow Steps
description: List the steps in a workflow.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ListWorkflowStepsResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/MigrationhubOrchestratorAccessDeniedException'
'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'
parameters:
- name: nextToken
in: query
schema:
type: string
description: The pagination token.
- name: maxResults
in: query
schema:
type: integer
description: The maximum number of results that can be returned.
- name: workflowId
in: path
required: true
schema:
type: string
description: The ID of the migration workflow.
- name: stepGroupId
in: path
required: true
schema:
type: string
description: The ID of the step group.
tags:
- Workflowstep
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:
CreateWorkflowStepResponse:
type: object
properties:
id:
type: string
description: The ID of the step.
stepGroupId:
type: string
description: The ID of the step group.
workflowId:
type: string
description: The ID of the migration workflow.
name:
type: string
description: The name of the step.
DeleteWorkflowStepResponse:
type: object
properties: {}
GetWorkflowStepResponse:
type: object
properties:
name:
type: string
description: The name of the step.
stepGroupId:
type: string
description: The ID of the step group.
workflowId:
type: string
description: The ID of the migration workflow.
stepId:
type: string
description: The ID of the step.
description:
type: string
description: The description of the step.
stepActionType:
type: string
description: The action type of the step. You must run and update the status of a manual step for the workflow to
continue after the completion of the step.
owner:
type: string
description: The owner of the step.
workflowStepAutomationConfiguration:
$ref: '#/components/schemas/WorkflowStepAutomationConfiguration'
stepTarget:
type: array
items:
type: string
description: The servers on which a step will be run.
outputs:
type: array
items:
$ref: '#/components/schemas/WorkflowStepOutput'
description: The outputs of the step.
previous:
type: array
items:
type: string
description: The previous step.
next:
type: array
items:
type: string
description: The next step.
status:
type: string
description: The status of the step.
statusMessage:
type: string
description: The status message of the migration workflow.
scriptOutputLocation:
type: string
description: The output location of the script.
creationTime:
type: string
description: The time at which the step was created.
lastStartTime:
type: string
description: The time at which the workflow was last started.
endTime:
type: string
description: The time at which the step ended.
noOfSrvCompleted:
type: integer
description: The number of servers that have been migrated.
noOfSrvFailed:
type: integer
description: The number of servers that have failed to migrate.
totalNoOfSrv:
type: integer
description: The total number of servers that have been migrated.
ListWorkflowStepsResponse:
type: object
properties:
nextToken:
type: string
description: The pagination token.
workflowStepsSummary:
type: array
items:
$ref: '#/components/schemas/WorkflowStepSummary'
description: The summary of steps in a migration workflow.
required:
- workflowStepsSummary
MigrationhubOrchestratorAccessDeniedException:
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
PlatformCommand:
type: object
properties:
linux:
type: string
description: Command for Linux.
windows:
type: string
description: Command for Windows.
PlatformScriptKey:
type: object
properties:
linux:
type: string
description: The script location for Linux.
windows:
type: string
description: The script location for Windows.
UpdateWorkflowStepResponse:
type: object
properties:
id:
type: string
description: The ID of the step.
stepGroupId:
type: string
description: The ID of the step group.
workflowId:
type: string
description: The ID of the migration workflow.
name:
type: string
description: The name of the step.
WorkflowStepAutomationConfiguration:
type: object
properties:
scriptLocationS3Bucket:
type: string
description: The Amazon S3 bucket where the script is located.
scriptLocationS3Key:
$ref: '#/components/schemas/PlatformScriptKey'
command:
$ref: '#/components/schemas/PlatformCommand'
runEnvironment:
type: string
description: The source or target environment.
targetType:
type: string
description: The servers on which to run the script.
WorkflowStepOutput:
type: object
properties:
name:
type: string
description: The name of the step.
dataType:
type: string
description: The data type of the output.
required:
type: boolean
description: Determine if an output is required from a step.
value:
$ref: '#/components/schemas/WorkflowStepOutputUnion'
WorkflowStepOutputUnion:
type: object
properties:
integerValue:
type: integer
description: The integer value.
stringValue:
type: string
description: The string value.
listOfStringValue:
type: array
items:
type: string
description: The list of string value.
description: Exactly one member is set.
WorkflowStepSummary:
type: object
properties:
stepId:
type: string
description: The ID of the step.
name:
type: string
description: The name of the step.
stepActionType:
type: string
description: The action type of the step. You must run and update the status of a manual step for the workflow to
continue after the completion of the step.
owner:
type: string
description: The owner of the step.
previous:
type: array
items:
type: string
description: The previous step.
next:
type: array
items:
type: string
description: The next step.
status:
type: string
description: The status of the step.
statusMessage:
type: string
description: The status message of the migration workflow.
noOfSrvCompleted:
type: integer
description: The number of servers that have been migrated.
noOfSrvFailed:
type: integer
description: The number of servers that have failed to migrate.
totalNoOfSrv:
type: integer
description: The total number of servers that have been migrated.
description:
type: string
description: The description of the step.
scriptLocation:
type: string
description: The location of the script.
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)