licensemanager_list_usage_for_license_configuration: Lists all license usage records for a license configuration,...

Description Usage Arguments Value Request syntax

View source: R/licensemanager_operations.R

Description

Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.

Usage

1
2
licensemanager_list_usage_for_license_configuration(
  LicenseConfigurationArn, MaxResults, NextToken, Filters)

Arguments

LicenseConfigurationArn

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

MaxResults

Maximum number of results to return in a single call.

NextToken

Token for the next set of results.

Filters

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

  • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

  • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

  • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
list(
  LicenseConfigurationUsageList = list(
    list(
      ResourceArn = "string",
      ResourceType = "EC2_INSTANCE"|"EC2_HOST"|"EC2_AMI"|"RDS"|"SYSTEMS_MANAGER_MANAGED_INSTANCE",
      ResourceStatus = "string",
      ResourceOwnerId = "string",
      AssociationTime = as.POSIXct(
        "2015-01-01"
      ),
      ConsumedLicenses = 123
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
svc$list_usage_for_license_configuration(
  LicenseConfigurationArn = "string",
  MaxResults = 123,
  NextToken = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  )
)

paws.management documentation built on March 8, 2021, 1:07 a.m.