v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1450227196.3 KB

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 <a href="https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html">Granted licenses in License Manager</a> in the <i>License Manager User Guide</i>.

post/#X-Amz-Target=AWSLicenseManager.CreateGrant

Headers

X-Amz-Target'AWSLicenseManager.CreateGrant' required

Request body

ClientTokenstring required

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

GrantNamestring required

Grant name.

LicenseArnstring required

Amazon Resource Name (ARN) of the license.

PrincipalsArn[] required
<p>The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):</p> <ul> <li> <p>An Amazon Web Services account, which includes only the account specified.</p> </li> </ul> <ul> <li> <p>An organizational unit (OU), which includes all accounts in the OU.</p> </li> </ul> <ul> <li> <p>An organization, which will include all accounts across your organization.</p> </li> </ul>
HomeRegionstring required

Home Region of the grant.

AllowedOperationsAllowedOperation[] required

Allowed operations for the grant.

Response

Success

GrantArnstring

Grant ARN.

Status'PENDING_WORKFLOW' | 'PENDING_ACCEPT' | 'REJECTED' | 'ACTIVE' | 'FAILED_WORKFLOW' | 'DELETED' | 'PENDING_DELETE' | 'DISABLED' | 'WORKFLOW_COMPLETED'

Grant status.

Versionstring

Grant version.