update_launch_configuration_template
async
¶
update_launch_configuration_template(
launch_configuration_template_id: LaunchConfigurationTemplateID,
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
launch_disposition: Optional[LaunchDisposition] = None,
target_instance_type_right_sizing_method: Optional[
TargetInstanceTypeRightSizingMethod
] = None,
copy_private_ip: Optional[bool] = None,
copy_tags: Optional[bool] = None,
licensing: Optional[Licensing] = None,
export_bucket_arn: Optional[ARN] = None,
post_launch_enabled: Optional[bool] = None,
launch_into_source_instance: Optional[bool] = None,
recovery_mode: Optional[RecoveryMode] = None,
) -> UpdateLaunchConfigurationTemplateResponse
Updates an existing Launch Configuration Template by ID.
Parameters:
-
launch_configuration_template_id(LaunchConfigurationTemplateID) –Launch Configuration Template ID.
-
launch_disposition(Optional[LaunchDisposition], default:None) –Launch disposition.
-
target_instance_type_right_sizing_method(Optional[TargetInstanceTypeRightSizingMethod], default:None) –Target instance type right-sizing method.
-
copy_private_ip(Optional[bool], default:None) –Copy private IP.
-
copy_tags(Optional[bool], default:None) –Copy tags.
-
licensing(Optional[Licensing], default:None) –Licensing.
-
export_bucket_arn(Optional[ARN], default:None) –S3 bucket ARN to export Source Network templates.
-
post_launch_enabled(Optional[bool], default:None) –Whether we want to activate post-launch actions.
-
launch_into_source_instance(Optional[bool], default:None) –DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
-
recovery_mode(Optional[RecoveryMode], default:None) –Recovery mode.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource for this operation was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 | |