v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

Retrieves information about a specific task running on a specific target.

post/#X-Amz-Target=AmazonSSM.GetMaintenanceWindowExecutionTaskInvocation

Headers

X-Amz-Target'AmazonSSM.GetMaintenanceWindowExecutionTaskInvocation' required

Request body

WindowExecutionIdstring required

The ID of the maintenance window execution for which the task is a part.

TaskIdstring required

The ID of the specific task in the maintenance window task that should be retrieved.

InvocationIdstring required

The invocation ID to retrieve.

Response

Success

WindowExecutionIdstring

The maintenance window execution ID.

TaskExecutionIdstring

The task execution ID.

InvocationIdstring

The invocation ID.

ExecutionIdstring

The execution ID.

TaskType'RUN_COMMAND' | 'AUTOMATION' | 'STEP_FUNCTIONS' | 'LAMBDA'

Retrieves the task type for a maintenance window.

Parametersstring password

The parameters used at the time that the task ran.

Status'PENDING' | 'IN_PROGRESS' | 'SUCCESS' | 'FAILED' | 'TIMED_OUT' | 'CANCELLING' | 'CANCELLED' | 'SKIPPED_OVERLAPPING'

The task status for an invocation.

StatusDetailsstring

The details explaining the status. Details are only available for certain status values.

StartTimestring date-time

The time that the task started running on the target.

EndTimestring date-time

The time that the task finished running on the target.

OwnerInformationstring password

User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while running tasks for these targets in this maintenance window.

WindowTargetIdstring

The maintenance window target ID.