Skip to content

Lists grants that are received

Description

Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.

Usage

licensemanager_list_received_grants(GrantArns, Filters, NextToken,
  MaxResults)

Arguments

  • GrantArns

    Amazon Resource Names (ARNs) of the grants.

  • Filters

    Filters to scope the results. The following filters are supported:

    • ProductSKU
    • LicenseIssuerName
    • LicenseArn
    • GrantStatus
    • GranterAccountId
  • NextToken

    Token for the next set of results.

  • MaxResults

    Maximum number of results to return in a single call.

Value

A list with the following syntax:

list(
  Grants = list(
    list(
      GrantArn = "string",
      GrantName = "string",
      ParentArn = "string",
      LicenseArn = "string",
      GranteePrincipalArn = "string",
      HomeRegion = "string",
      GrantStatus = "PENDING_WORKFLOW"|"PENDING_ACCEPT"|"REJECTED"|"ACTIVE"|"FAILED_WORKFLOW"|"DELETED"|"PENDING_DELETE"|"DISABLED"|"WORKFLOW_COMPLETED",
      StatusReason = "string",
      Version = "string",
      GrantedOperations = list(
        "CreateGrant"|"CheckoutLicense"|"CheckoutBorrowLicense"|"CheckInLicense"|"ExtendConsumptionLicense"|"ListPurchasedLicenses"|"CreateToken"
      ),
      Options = list(
        ActivationOverrideBehavior = "DISTRIBUTED_GRANTS_ONLY"|"ALL_GRANTS_PERMITTED_BY_ISSUER"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_received_grants(
  GrantArns = list(
    "string"
  ),
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  NextToken = "string",
  MaxResults = 123
)