Skip to content

Creates a new version of the specified grant

Description

Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.

Usage

licensemanager_create_grant_version(ClientToken, GrantArn, GrantName,
  AllowedOperations, Status, StatusReason, SourceVersion, Options)

Arguments

  • ClientToken

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

  • GrantArn

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

  • GrantName

    Grant name.

  • AllowedOperations

    Allowed operations for the grant.

  • Status

    Grant status.

  • StatusReason

    Grant status reason.

  • SourceVersion

    Current version of the grant.

  • Options

    The options specified for the grant.

Value

A list with the following syntax:

list(
  GrantArn = "string",
  Status = "PENDING_WORKFLOW"|"PENDING_ACCEPT"|"REJECTED"|"ACTIVE"|"FAILED_WORKFLOW"|"DELETED"|"PENDING_DELETE"|"DISABLED"|"WORKFLOW_COMPLETED",
  Version = "string"
)

Request syntax

svc$create_grant_version(
  ClientToken = "string",
  GrantArn = "string",
  GrantName = "string",
  AllowedOperations = list(
    "CreateGrant"|"CheckoutLicense"|"CheckoutBorrowLicense"|"CheckInLicense"|"ExtendConsumptionLicense"|"ListPurchasedLicenses"|"CreateToken"
  ),
  Status = "PENDING_WORKFLOW"|"PENDING_ACCEPT"|"REJECTED"|"ACTIVE"|"FAILED_WORKFLOW"|"DELETED"|"PENDING_DELETE"|"DISABLED"|"WORKFLOW_COMPLETED",
  StatusReason = "string",
  SourceVersion = "string",
  Options = list(
    ActivationOverrideBehavior = "DISTRIBUTED_GRANTS_ONLY"|"ALL_GRANTS_PERMITTED_BY_ISSUER"
  )
)