Skip to content

/AWS1/CL_SSM=>GETRESOURCEPOLICIES()

About GetResourcePolicies

Returns an array of the Policy object.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/SSMRESOURCEARNSTRING /AWS1/SSMRESOURCEARNSTRING

Amazon Resource Name (ARN) of the resource to which the policies are attached.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/SSMSTRING /AWS1/SSMSTRING

A token to start the list. Use this token to get the next set of results.

IV_MAXRESULTS TYPE /AWS1/SSMRESOURCEPLYMAXRSLTS /AWS1/SSMRESOURCEPLYMAXRSLTS

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMGETRESOURCEPOLRSP /AWS1/CL_SSMGETRESOURCEPOLRSP