https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/ssm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/ssm/get-automation-execution.rst
**To display details about an automation execution**

The following ``get-automation-execution`` example displays detailed information about an Automation execution. ::

    aws ssm get-automation-execution \
        --automation-execution-id 73c8eef8-f4ee-4a05-820c-e354fEXAMPLE

Output::

    {
        "AutomationExecution": {
            "AutomationExecutionId": "73c8eef8-f4ee-4a05-820c-e354fEXAMPLE",
            "DocumentName": "AWS-StartEC2Instance",
            "DocumentVersion": "1",
            "ExecutionStartTime": 1583737233.748,
            "ExecutionEndTime": 1583737234.719,
            "AutomationExecutionStatus": "Success",
            "StepExecutions": [
                {
                    "StepName": "startInstances",
                    "Action": "aws:changeInstanceState",
                    "ExecutionStartTime": 1583737234.134,
                    "ExecutionEndTime": 1583737234.672,
                    "StepStatus": "Success",
                    "Inputs": {
                        "DesiredState": "\"running\"",
                        "InstanceIds": "[\"i-0cb99161f6EXAMPLE\"]"
                    },
                    "Outputs": {
                        "InstanceStates": [
                            "running"
                        ]
                    },
                    "StepExecutionId": "95e70479-cf20-4d80-8018-7e4e2EXAMPLE",
                    "OverriddenParameters": {}
                }
            ],
            "StepExecutionsTruncated": false,
            "Parameters": {
                "AutomationAssumeRole": [
                    ""
                ],
                "InstanceId": [
                    "i-0cb99161f6EXAMPLE"
                ]
            },
            "Outputs": {},
            "Mode": "Auto",
            "ExecutedBy": "arn:aws:sts::29884EXAMPLE:assumed-role/mw_service_role/OrchestrationService",
            "Targets": [],
            "ResolvedTargets": {
                "ParameterValues": [],
                "Truncated": false
            }
        }
    }

For more information, see `Walkthrough: Patch a Linux AMI (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-walk-patch-linux-ami-cli.html>`__ in the *AWS Systems Manager User Guide*.

https://t.me/RX1948 - 2025