Skip to content

/AWS1/CL_LIC=>CREATEGRANT()

About CreateGrant

Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.

Method Signature

IMPORTING

Required arguments:

IV_CLIENTTOKEN TYPE /AWS1/LICCLIENTTOKEN /AWS1/LICCLIENTTOKEN

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

IV_GRANTNAME TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Grant name.

IV_LICENSEARN TYPE /AWS1/LICARN /AWS1/LICARN

Amazon Resource Name (ARN) of the license.

IT_PRINCIPALS TYPE /AWS1/CL_LICPRINCIPALARNLIST_W=>TT_PRINCIPALARNLIST TT_PRINCIPALARNLIST

The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):

  • An Amazon Web Services account, which includes only the account specified.

  • An organizational unit (OU), which includes all accounts in the OU.

  • An organization, which will include all accounts across your organization.

IV_HOMEREGION TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Home Region of the grant.

IT_ALLOWEDOPERATIONS TYPE /AWS1/CL_LICALLOWEDOPLIST_W=>TT_ALLOWEDOPERATIONLIST TT_ALLOWEDOPERATIONLIST

Allowed operations for the grant.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LICCREATEGRANTRSP /AWS1/CL_LICCREATEGRANTRSP