create_workflow_step
¶
create_workflow_step(
name: MigrationWorkflowName,
step_group_id: StepGroupId,
workflow_id: MigrationWorkflowId,
step_action_type: StepActionType,
*,
config_overrides: Optional[MigrationHubOrchestratorClientConfig] = None,
description: Optional[MigrationWorkflowDescription] = None,
workflow_step_automation_configuration: Optional[
WorkflowStepAutomationConfiguration
] = None,
step_target: Optional[StringList] = None,
outputs: Optional[WorkflowStepOutputList] = None,
previous: Optional[StringList] = None,
next: Optional[StringList] = None,
) -> CreateWorkflowStepResponse
Create a step in the migration workflow.
Parameters:
-
name(MigrationWorkflowName) –The name of the step.
-
step_group_id(StepGroupId) –The ID of the step group.
-
workflow_id(MigrationWorkflowId) –The ID of the migration workflow.
-
step_action_type(StepActionType) –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(Optional[MigrationWorkflowDescription], default:None) –The description of the step.
-
workflow_step_automation_configuration(Optional[WorkflowStepAutomationConfiguration], default:None) –The custom script to run tests on source or target environments.
-
step_target(Optional[StringList], default:None) –The servers on which a step will be run.
-
outputs(Optional[WorkflowStepOutputList], default:None) –The key value pairs added for the expected output.
-
previous(Optional[StringList], default:None) –The previous step.
-
next(Optional[StringList], default:None) –The next step.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An internal error has occurred.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_migrationhuborchestrator/_services/migration_hub_orchestrator.py
1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 | |