CmdID

CmdID / aws / aws ssm

aws ssm describe-association-execution-targets

Views information about a specific execution of a specific association. AWS CLI reference

1 example 5 options 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 get details of an association execution

The following describe-association-execution-targets example describes the specified association execution.

aws ssm describe-association-execution-targets --association-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --execution-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"Identify
--association-idThe association ID that includes the execution for which you want to view details.
--execution-idThe execution ID for which you want to view details.
Its output
{
    "AssociationExecutionTargets": [
        {
            "AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "AssociationVersion": "1",
            "ExecutionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "ResourceId": "i-1234567890abcdef0",
            "ResourceType": "ManagedInstance",
            "Status": "Success",
            "DetailedStatus": "Success",
            "LastExecutionDate": 1550505538.497,
            "OutputSource": {
                "OutputSourceId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "OutputSourceType": "RunCommand"
            }
        }
    ]
}

For more information, see Viewing association histories in the AWS Systems Manager User Guide.

Options

5 in the AWS CLI reference
--association-idThe association ID that includes the execution for which you want to view details.
--execution-idThe execution ID for which you want to view details.
--filtersFilters for the request.
--max-resultsThe maximum number of items to return for this call.
--next-tokenA token to start the list.