Skip to content

/AWS1/CL_SSM=>DESCRIBEINSTANCEPATCHES()

About DescribeInstancePatches

Retrieves information about the patches on the specified managed node and their state relative to the patch baseline being used for the node.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEID TYPE /AWS1/SSMINSTANCEID /AWS1/SSMINSTANCEID

The ID of the managed node whose patch state information should be retrieved.

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_SSMPATCHORCHESTRATO00=>TT_PATCHORCHESTRATORFILTERLIST TT_PATCHORCHESTRATORFILTERLIST

Each element in the array is a structure containing a key-value pair.

Supported keys for DescribeInstancePatchesinclude the following:

  • Classification

    Sample values: Security | SecurityUpdates

  • KBId

    Sample values: KB4480056 | java-1.7.0-openjdk.x86_64

  • Severity

    Sample values: Important | Medium | Low

  • State

    Sample values: Installed | InstalledOther | InstalledPendingReboot

    For lists of all State values, see Patch compliance state values in the Amazon Web Services Systems Manager User Guide.

IV_NEXTTOKEN TYPE /AWS1/SSMNEXTTOKEN /AWS1/SSMNEXTTOKEN

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

IV_MAXRESULTS TYPE /AWS1/SSMPATCHCPLNCMAXRESULTS /AWS1/SSMPATCHCPLNCMAXRESULTS

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMDSCINSTPATCHESRS /AWS1/CL_SSMDSCINSTPATCHESRS