licensemanager_update_license_specifications_for_resource: Adds or removes the specified license configurations for the...

Description Usage Arguments Value Request syntax

View source: R/licensemanager_operations.R

Description

Adds or removes the specified license configurations for the specified AWS resource.

You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and AWS CloudFormation templates, as they send license configurations to the operation that creates the resource.

Usage

1
2
licensemanager_update_license_specifications_for_resource(ResourceArn,
  AddLicenseSpecifications, RemoveLicenseSpecifications)

Arguments

ResourceArn

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

AddLicenseSpecifications

ARNs of the license configurations to add.

RemoveLicenseSpecifications

ARNs of the license configurations to remove.

Value

An empty list.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
svc$update_license_specifications_for_resource(
  ResourceArn = "string",
  AddLicenseSpecifications = list(
    list(
      LicenseConfigurationArn = "string",
      AmiAssociationScope = "string"
    )
  ),
  RemoveLicenseSpecifications = list(
    list(
      LicenseConfigurationArn = "string",
      AmiAssociationScope = "string"
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.