start_execution_preview
¶
start_execution_preview(
document_name: DocumentName,
*,
config_overrides: Optional[SSMClientConfig] = None,
document_version: Optional[DocumentVersion] = None,
execution_inputs: Optional[ExecutionInputs] = None,
) -> StartExecutionPreviewResponse
Initiates the process of creating a preview showing the effects that running a specified Automation runbook would have on the targeted resources.
Parameters:
-
document_name(DocumentName) –The name of the Automation runbook to run. The result of the execution preview indicates what the impact would be of running this runbook.
-
document_version(Optional[DocumentVersion], default:None) –The version of the Automation runbook to run. The default value is
$DEFAULT. -
execution_inputs(Optional[ExecutionInputs], default:None) –Information about the inputs that can be specified for the preview operation.
Raises:
-
InternalServerError–An error occurred on the server side.
-
ValidationException–The request isn't valid. Verify that you entered valid contents for the command and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
StartExecutionPreview This example illustrates one usage of StartExecutionPreview
Source code in docs_src/capo_ssm/_services/ssm.py
10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 | |