Learn R Programming

paws.management (version 0.1.4)

licensemanager_update_license_specifications_for_resource: Adds or removes license configurations for a specified AWS resource

Description

Adds or removes license configurations for a specified AWS resource. This operation currently supports updating the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are not managed from this operation as those resources send the license configurations directly to a resource creation operation, such as RunInstances.

Usage

licensemanager_update_license_specifications_for_resource(ResourceArn,
  AddLicenseSpecifications, RemoveLicenseSpecifications)

Arguments

ResourceArn

[required] ARN for an AWS server resource.

AddLicenseSpecifications

License configuration ARNs to be added to a resource.

RemoveLicenseSpecifications

License configuration ARNs to be removed from a resource.

Request syntax

svc$update_license_specifications_for_resource(
  ResourceArn = "string",
  AddLicenseSpecifications = list(
    list(
      LicenseConfigurationArn = "string"
    )
  ),
  RemoveLicenseSpecifications = list(
    list(
      LicenseConfigurationArn = "string"
    )
  )
)