Menu
AWS Systems Manager
API Reference (API Version 2014-11-06)

DescribePatchGroupState

Returns high-level aggregated patch compliance state for a patch group.

Request Syntax

{ "PatchGroup": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

PatchGroup

The name of the patch group whose patch snapshot should be retrieved.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Required: Yes

Response Syntax

{ "Instances": number, "InstancesWithFailedPatches": number, "InstancesWithInstalledOtherPatches": number, "InstancesWithInstalledPatches": number, "InstancesWithMissingPatches": number, "InstancesWithNotApplicablePatches": number }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Instances

The number of instances in the patch group.

Type: Integer

InstancesWithFailedPatches

The number of instances with patches from the patch baseline that failed to install.

Type: Integer

InstancesWithInstalledOtherPatches

The number of instances with patches installed that aren't defined in the patch baseline.

Type: Integer

InstancesWithInstalledPatches

The number of instances with installed patches.

Type: Integer

InstancesWithMissingPatches

The number of instances with missing patches from the patch baseline.

Type: Integer

InstancesWithNotApplicablePatches

The number of instances with patches that aren't applicable.

Type: Integer

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerError

An error occurred on the server side.

HTTP Status Code: 400

InvalidNextToken

The specified token is not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: