start_execution_preview
async
¶
start_execution_preview(
document_name: DocumentName,
*,
config_overrides: Optional[AsyncSSMClientConfig] = 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/async_ssm.py
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 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 | |