Skip to content

/AWS1/CL_SSM=>DESCRIBEINSTANCEINFORMATION()

About DescribeInstanceInformation

Provides information about one or more of your managed nodes, including the operating system platform, SSM Agent version, association status, and IP address. This operation does not return information for nodes that are either Stopped or Terminated.

If you specify one or more node IDs, the operation returns information for those managed nodes. If you don't specify node IDs, it returns information for all your managed nodes. If you specify a node ID that isn't valid or a node that you don't own, you receive an error.

The IamRole field returned for this API operation is the Identity and Access Management (IAM) role assigned to on-premises managed nodes. This operation does not return the IAM role for EC2 instances.

Method Signature

IMPORTING

Optional arguments:

IT_INSTINFORMATIONFILTERLIST TYPE /AWS1/CL_SSMINSTINFMTIONFILT=>TT_INSTINFORMATIONFILTERLIST TT_INSTINFORMATIONFILTERLIST

This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes.

Attempting to use InstanceInformationFilterList and Filters leads to an exception error.

IT_FILTERS TYPE /AWS1/CL_SSMINSTINFMTIONSTRF00=>TT_INSTINFORMATIONSTRFILTLIST TT_INSTINFORMATIONSTRFILTLIST

One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters data type instead of InstanceInformationFilterList, which is deprecated.

IV_MAXRESULTS TYPE /AWS1/SSMMAXRSLTSEC2COMPATIBLE /AWS1/SSMMAXRSLTSEC2COMPATIBLE

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. The default value is 10 items.

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.)

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMDSCINSTINFMTIONRS /AWS1/CL_SSMDSCINSTINFMTIONRS