Skip to content

/AWS1/CL_SSM=>LISTASSOCIATIONS()

About ListAssociations

Returns all State Manager associations in the current Amazon Web Services account and Amazon Web Services Region. You can limit the results to a specific State Manager association document or managed node by specifying a filter. State Manager is a capability of Amazon Web Services Systems Manager.

Method Signature

IMPORTING

Optional arguments:

IT_ASSOCIATIONFILTERLIST TYPE /AWS1/CL_SSMASSOCIATIONFILTER=>TT_ASSOCIATIONFILTERLIST TT_ASSOCIATIONFILTERLIST

One or more filters. Use a filter to return a more specific list of results.

Filtering associations using the InstanceID attribute only returns legacy associations created using the InstanceID attribute. Associations targeting the managed node that are part of the Target Attributes ResourceGroup or Tags aren't returned.

IV_MAXRESULTS TYPE /AWS1/SSMMAXRESULTS /AWS1/SSMMAXRESULTS

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.

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_SSMLISTASSOCIATIONSRS /AWS1/CL_SSMLISTASSOCIATIONSRS