ssm_describe_maintenance_windows_for_target: Retrieves information about the maintenance window targets or...

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

Retrieves information about the maintenance window targets or tasks that an instance is associated with.

Usage

1
2
ssm_describe_maintenance_windows_for_target(Targets, ResourceType,
  MaxResults, NextToken)

Arguments

Targets

[required] The instance 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:

1
2
3
4
5
6
7
8
9
list(
  WindowIdentities = list(
    list(
      WindowId = "string",
      Name = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
svc$describe_maintenance_windows_for_target(
  Targets = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  ResourceType = "INSTANCE"|"RESOURCE_GROUP",
  MaxResults = 123,
  NextToken = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.