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
10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 | |