Skip to content

/AWS1/CL_RAM=>GETPERMISSION()

About GetPermission

Retrieves the contents of a managed permission in JSON format.

Method Signature

IMPORTING

Required arguments:

IV_PERMISSIONARN TYPE /AWS1/RAMSTRING /AWS1/RAMSTRING

Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.

Optional arguments:

IV_PERMISSIONVERSION TYPE /AWS1/RAMINTEGER /AWS1/RAMINTEGER

Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.

To see the list of available versions, use ListPermissionVersions.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RAMGETPERMRESPONSE /AWS1/CL_RAMGETPERMRESPONSE