Skip to content

Describe Instance Patch States

ssm_describe_instance_patch_states R Documentation

Retrieves the high-level patch state of one or more managed nodes

Description

Retrieves the high-level patch state of one or more managed nodes.

Usage

ssm_describe_instance_patch_states(InstanceIds, NextToken, MaxResults)

Arguments

InstanceIds

[required] The ID of the managed node for which patch state information should be retrieved.

NextToken

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

MaxResults

The maximum number of managed nodes 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(
  InstanceIds = list(
    "string"
  ),
  NextToken = "string",
  MaxResults = 123
)