Skip to content

Describe Maintenance Window Targets

ssm_describe_maintenance_window_targets R Documentation

Lists the targets registered with the maintenance window

Description

Lists the targets registered with the maintenance window.

Usage

ssm_describe_maintenance_window_targets(WindowId, Filters, MaxResults,
  NextToken)

Arguments

WindowId

[required] The ID of the maintenance window whose targets should be retrieved.

Filters

Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type, WindowTargetId, and OwnerInformation.

MaxResults

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

NextToken

The token for the next set of items to return. (You received this token from a previous call.)

Value

A list with the following syntax:

list(
  Targets = list(
    list(
      WindowId = "string",
      WindowTargetId = "string",
      ResourceType = "INSTANCE"|"RESOURCE_GROUP",
      Targets = list(
        list(
          Key = "string",
          Values = list(
            "string"
          )
        )
      ),
      OwnerInformation = "string",
      Name = "string",
      Description = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_maintenance_window_targets(
  WindowId = "string",
  Filters = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)