CmdID

CmdID / aws / aws ssm

aws ssm get-automation-execution

Get detailed information about a particular Automation execution. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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 a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify
--automation-execution-idThe unique identifier for an existing automation execution to examine.
Its output, shortened
{
    "AutomationExecution": {
        "AutomationExecutionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "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": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "OverriddenParameters": {}
            }
        ],
        "StepExecutionsTruncated": false,
        "Parameters": {
… 17 more lines

For more information, see Walkthrough: Patch a Linux AMI (AWS CLI) in the AWS Systems Manager User Guide.

Options

1 in the AWS CLI reference
--automation-execution-idThe unique identifier for an existing automation execution to examine.