Skip to content

Get Maintenance Window Execution Task

ssm_get_maintenance_window_execution_task R Documentation

Retrieves the details about a specific task run as part of a maintenance window execution

Description

Retrieves the details about a specific task run as part of a maintenance window execution.

Usage

ssm_get_maintenance_window_execution_task(WindowExecutionId, TaskId)

Arguments

WindowExecutionId

[required] The ID of the maintenance window execution that includes the task.

TaskId

[required] The ID of the specific task execution in the maintenance window task that should be retrieved.

Value

A list with the following syntax:

list(
  WindowExecutionId = "string",
  TaskExecutionId = "string",
  TaskArn = "string",
  ServiceRole = "string",
  Type = "RUN_COMMAND"|"AUTOMATION"|"STEP_FUNCTIONS"|"LAMBDA",
  TaskParameters = list(
    list(
      list(
        Values = list(
          "string"
        )
      )
    )
  ),
  Priority = 123,
  MaxConcurrency = "string",
  MaxErrors = "string",
  Status = "PENDING"|"IN_PROGRESS"|"SUCCESS"|"FAILED"|"TIMED_OUT"|"CANCELLING"|"CANCELLED"|"SKIPPED_OVERLAPPING",
  StatusDetails = "string",
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  AlarmConfiguration = list(
    IgnorePollAlarmFailure = TRUE|FALSE,
    Alarms = list(
      list(
        Name = "string"
      )
    )
  ),
  TriggeredAlarms = list(
    list(
      Name = "string",
      State = "UNKNOWN"|"ALARM"
    )
  )
)

Request syntax

svc$get_maintenance_window_execution_task(
  WindowExecutionId = "string",
  TaskId = "string"
)