Class: AWS.LicenseManager
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.LicenseManager
- Identifier:
- licensemanager
- API Version:
- 2018-08-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
This is the AWS License Manager API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types for License Manager. The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.
Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see AWS SDKs.
Sending a Request Using LicenseManager
var licensemanager = new AWS.LicenseManager();
licensemanager.createLicenseConfiguration(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the LicenseManager object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var licensemanager = new AWS.LicenseManager({apiVersion: '2018-08-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the licensemanager service identifier:
AWS.config.apiVersions = {
licensemanager: '2018-08-01',
// other service API versions
};
var licensemanager = new AWS.LicenseManager();
Constructor Summary
-
new AWS.LicenseManager(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
createLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Creates a new license configuration object.
-
deleteLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes an existing license configuration.
-
getLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Returns a detailed description of a license configuration.
-
getServiceSettings(params = {}, callback) ⇒ AWS.Request
Gets License Manager settings for a region.
-
listAssociationsForLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Lists the resource associations for a license configuration.
-
listLicenseConfigurations(params = {}, callback) ⇒ AWS.Request
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
-
listLicenseSpecificationsForResource(params = {}, callback) ⇒ AWS.Request
Returns the license configuration for a resource.
-
listResourceInventory(params = {}, callback) ⇒ AWS.Request
Returns a detailed list of resources.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists tags attached to a resource.
-
listUsageForLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Attach one of more tags to any resource.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Remove tags from a resource.
-
updateLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Modifies the attributes of an existing license configuration object.
-
updateLicenseSpecificationsForResource(params = {}, callback) ⇒ AWS.Request
Adds or removes license configurations for a specified AWS resource.
-
updateServiceSettings(params = {}, callback) ⇒ AWS.Request
Updates License Manager service settings.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
createLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Creates a new license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or VCPU), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.
deleteLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes an existing license configuration. This action fails if the configuration is in use.
getLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Returns a detailed description of a license configuration.
getServiceSettings(params = {}, callback) ⇒ AWS.Request
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
listAssociationsForLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Lists the resource associations for a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.
listLicenseConfigurations(params = {}, callback) ⇒ AWS.Request
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
listLicenseSpecificationsForResource(params = {}, callback) ⇒ AWS.Request
Returns the license configuration for a resource.
listUsageForLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
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.
updateLicenseConfiguration(params = {}, callback) ⇒ AWS.Request
Modifies the attributes of an existing license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), the number of licenses purchased and used.
updateLicenseSpecificationsForResource(params = {}, callback) ⇒ AWS.Request
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
.