licensemanager_create_grant: Creates a grant for the specified license

Description Usage Arguments Value Request syntax

View source: R/licensemanager_operations.R

Description

Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.

Usage

1
2
licensemanager_create_grant(ClientToken, GrantName, LicenseArn,
  Principals, HomeRegion, AllowedOperations)

Arguments

ClientToken

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

GrantName

[required] Grant name.

LicenseArn

[required] Amazon Resource Name (ARN) of the license.

Principals

[required] The grant principals.

HomeRegion

[required] Home Region of the grant.

AllowedOperations

[required] Allowed operations for the grant.

Value

A list with the following syntax:

1
2
3
4
5
list(
  GrantArn = "string",
  Status = "PENDING_WORKFLOW"|"PENDING_ACCEPT"|"REJECTED"|"ACTIVE"|"FAILED_WORKFLOW"|"DELETED"|"PENDING_DELETE"|"DISABLED",
  Version = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
svc$create_grant(
  ClientToken = "string",
  GrantName = "string",
  LicenseArn = "string",
  Principals = list(
    "string"
  ),
  HomeRegion = "string",
  AllowedOperations = list(
    "CreateGrant"|"CheckoutLicense"|"CheckoutBorrowLicense"|"CheckInLicense"|"ExtendConsumptionLicense"|"ListPurchasedLicenses"|"CreateToken"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.