update_workflow
async
¶
update_workflow(
id: MigrationWorkflowId,
*,
config_overrides: Optional[AsyncMigrationHubOrchestratorClientConfig] = None,
name: Optional[str] = None,
description: Optional[str] = None,
input_parameters: Optional[StepInputParameters] = None,
step_targets: Optional[StringList] = None,
) -> UpdateMigrationWorkflowResponse
Update a migration workflow.
Parameters:
-
id(MigrationWorkflowId) –The ID of the migration workflow.
-
name(Optional[str], default:None) –The name of the migration workflow.
-
description(Optional[str], default:None) –The description of the migration workflow.
-
input_parameters(Optional[StepInputParameters], default:None) –The input parameters required to update a migration workflow.
-
step_targets(Optional[StringList], default:None) –The servers on which a step will be run.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An internal error has occurred.
-
ResourceNotFoundException–The resource is not available.
-
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
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 | |