Skip to content

List Associations For License Configuration

licensemanager_list_associations_for_license_configuration R Documentation

Lists the resource associations for the specified license configuration

Description

Lists the resource associations for the specified license configuration.

Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).

Usage

licensemanager_list_associations_for_license_configuration(
  LicenseConfigurationArn, MaxResults, NextToken)

Arguments

LicenseConfigurationArn

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

MaxResults

Maximum number of results to return in a single call.

NextToken

Token for the next set of results.

Value

A list with the following syntax:

list(
  LicenseConfigurationAssociations = list(
    list(
      ResourceArn = "string",
      ResourceType = "EC2_INSTANCE"|"EC2_HOST"|"EC2_AMI"|"RDS"|"SYSTEMS_MANAGER_MANAGED_INSTANCE",
      ResourceOwnerId = "string",
      AssociationTime = as.POSIXct(
        "2015-01-01"
      ),
      AmiAssociationScope = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_associations_for_license_configuration(
  LicenseConfigurationArn = "string",
  MaxResults = 123,
  NextToken = "string"
)