aws ssm describe-maintenance-window-execution-task-invocations
Retrieves the individual task executions (one per target) for a particular task run as part of a maintenance window execution. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To get the specific task invocations performed for a maintenance window task execution
The following describe-maintenance-window-execution-task-invocations example lists the invocations for the specified task executed as part of the specified maintenance window execution.
aws ssm describe-maintenance-window-execution-task-invocations --window-execution-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --task-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"Identify--window-execution-idThe ID of the maintenance window execution the task is part of.--task-idThe ID of the specific task in the maintenance window task that should be retrieved.Its output
{
"WindowExecutionTaskInvocationIdentities": [
{
"Status": "SUCCESS",
"Parameters": "{\"documentName\":\"AWS-RunShellScript\",\"instanceIds\":[\"i-0000293ffd8c57862\"],\"parameters\":{\"commands\":[\"df\"]},\"maxConcurrency\":\"1\",\"maxErrors\":\"1\"}",
"InvocationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
"StartTime": 1487692834.723,
"EndTime": 1487692834.871,
"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 task invocations.--max-resultsThe maximum number of items to return for this call.--next-tokenThe token for the next set of items to return.--task-idThe ID of the specific task in the maintenance window task that should be retrieved.--window-execution-idThe ID of the maintenance window execution the task is part of.