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
Examples
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
--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.