Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . ssm ]

get-maintenance-window-execution-task-invocation

Description

Retrieves a task invocation. A task invocation is a specific task executing on a specific target. Maintenance Windows report status for all invocations.

See also: AWS API Documentation

Synopsis

  get-maintenance-window-execution-task-invocation
--window-execution-id <value>
--task-id <value>
--invocation-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--window-execution-id (string)

The ID of the Maintenance Window execution for which the task is a part.

--task-id (string)

The ID of the specific task in the Maintenance Window task that should be retrieved.

--invocation-id (string)

The invocation ID to retrieve.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Output

WindowExecutionId -> (string)

The Maintenance Window execution ID.

TaskExecutionId -> (string)

The task execution ID.

InvocationId -> (string)

The invocation ID.

ExecutionId -> (string)

The execution ID.

TaskType -> (string)

Retrieves the task type for a Maintenance Window. Task types include the following: LAMBDA, STEP_FUNCTION, AUTOMATION, RUN_COMMAND.

Parameters -> (string)

The parameters used at the time that the task executed.

Status -> (string)

The task status for an invocation.

StatusDetails -> (string)

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

StartTime -> (timestamp)

The time that the task started executing on the target.

EndTime -> (timestamp)

The time that the task finished executing on the target.

OwnerInformation -> (string)

User-provided value to be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.

WindowTargetId -> (string)

The Maintenance Window target ID.