Skip to content

Describe Instance Patch States For Patch Group

ssm_describe_instance_patch_states_for_patch_group R Documentation

Retrieves the high-level patch state for the managed nodes in the specified patch group

Description

Retrieves the high-level patch state for the managed nodes in the specified patch group.

Usage

ssm_describe_instance_patch_states_for_patch_group(PatchGroup, Filters,
  NextToken, MaxResults)

Arguments

PatchGroup

[required] The name of the patch group for which the patch state information should be retrieved.

Filters

Each entry in the array is a structure containing:

  • Key (string between 1 and 200 characters)

  • Values (array containing a single string)

  • Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")

NextToken

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

MaxResults

The maximum number of patches to return (per page).

Value

A list with the following syntax:

list(
  InstancePatchStates = list(
    list(
      InstanceId = "string",
      PatchGroup = "string",
      BaselineId = "string",
      SnapshotId = "string",
      InstallOverrideList = "string",
      OwnerInformation = "string",
      InstalledCount = 123,
      InstalledOtherCount = 123,
      InstalledPendingRebootCount = 123,
      InstalledRejectedCount = 123,
      MissingCount = 123,
      FailedCount = 123,
      UnreportedNotApplicableCount = 123,
      NotApplicableCount = 123,
      OperationStartTime = as.POSIXct(
        "2015-01-01"
      ),
      OperationEndTime = as.POSIXct(
        "2015-01-01"
      ),
      Operation = "Scan"|"Install",
      LastNoRebootInstallOperationTime = as.POSIXct(
        "2015-01-01"
      ),
      RebootOption = "RebootIfNeeded"|"NoReboot",
      CriticalNonCompliantCount = 123,
      SecurityNonCompliantCount = 123,
      OtherNonCompliantCount = 123
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_instance_patch_states_for_patch_group(
  PatchGroup = "string",
  Filters = list(
    list(
      Key = "string",
      Values = list(
        "string"
      ),
      Type = "Equal"|"NotEqual"|"LessThan"|"GreaterThan"
    )
  ),
  NextToken = "string",
  MaxResults = 123
)