Skip to content

Describe Maintenance Windows For Target

ssm_describe_maintenance_windows_for_target R Documentation

Retrieves information about the maintenance window targets or tasks that a managed node is associated with

Description

Retrieves information about the maintenance window targets or tasks that a managed node is associated with.

Usage

ssm_describe_maintenance_windows_for_target(Targets, ResourceType,
  MaxResults, NextToken)

Arguments

Targets

[required] The managed node ID or key-value pair to retrieve information about.

ResourceType

[required] The type of resource you want to retrieve information about. For example, INSTANCE.

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(
  WindowIdentities = list(
    list(
      WindowId = "string",
      Name = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_maintenance_windows_for_target(
  Targets = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  ResourceType = "INSTANCE"|"RESOURCE_GROUP",
  MaxResults = 123,
  NextToken = "string"
)