update_workflow_step
¶
update_workflow_step(
id: StepId,
step_group_id: StepGroupId,
workflow_id: MigrationWorkflowId,
*,
config_overrides: Optional[MigrationHubOrchestratorClientConfig] = None,
name: Optional[StepName] = None,
description: Optional[StepDescription] = None,
step_action_type: Optional[StepActionType] = 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,
status: Optional[StepStatus] = None,
) -> UpdateWorkflowStepResponse
Update a step in a migration workflow.
Parameters:
-
id(StepId) –The ID of the step.
-
step_group_id(StepGroupId) –The ID of the step group.
-
workflow_id(MigrationWorkflowId) –The ID of the migration workflow.
-
name(Optional[StepName], default:None) –The name of the step.
-
description(Optional[StepDescription], default:None) –The description of the step.
-
step_action_type(Optional[StepActionType], default:None) –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.
-
workflow_step_automation_configuration(Optional[WorkflowStepAutomationConfiguration], default:None) –The custom script to run tests on the source and target environments.
-
step_target(Optional[StringList], default:None) –The servers on which a step will be run.
-
outputs(Optional[WorkflowStepOutputList], default:None) –The outputs of a step.
-
previous(Optional[StringList], default:None) –The previous step.
-
next(Optional[StringList], default:None) –The next step.
-
status(Optional[StepStatus], default:None) –The status of the 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
1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 | |