aws ssm describe-maintenance-window-execution-tasks
For a given maintenance window execution, lists the tasks that were run. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To list all tasks associated with a maintenance window execution
The following describe-maintenance-window-execution-tasks example lists the tasks associated with the specified maintenance window execution.
aws ssm describe-maintenance-window-execution-tasks --window-execution-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify--window-execution-idThe ID of the maintenance window execution whose task executions should be retrieved.Its output
{
"WindowExecutionTaskIdentities": [
{
"Status": "SUCCESS",
"TaskArn": "AWS-RunShellScript",
"StartTime": 1487692834.684,
"TaskType": "RUN_COMMAND",
"EndTime": 1487692835.005,
"WindowExecutionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"TaskExecutionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
}
]
}For more information, see View Information About Tasks and Task Executions (AWS CLI) in the AWS Systems Manager User Guide.
Options
--filtersOptional filters used to scope down the returned tasks.--max-resultsThe maximum number of items to return for this call.--next-tokenThe token for the next set of items to return.--window-execution-idThe ID of the maintenance window execution whose task executions should be retrieved.