create_workflow_step
async
¶
create_workflow_step(
name: MigrationWorkflowName,
step_group_id: StepGroupId,
workflow_id: MigrationWorkflowId,
step_action_type: StepActionType,
*,
config_overrides: Optional[AsyncMigrationHubOrchestratorClientConfig] = 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/async_migration_hub_orchestrator.py
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 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 | |