NAME

Paws::LicenseManager - Perl Interface to AWS AWS License Manager

SYNOPSIS

  use Paws;

  my $obj = Paws->service('LicenseManager');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

AWS License Manager

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 (http://aws.amazon.com/tools/#SDKs).

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01

METHODS

CreateLicenseConfiguration

LicenseCountingType => Str
Name => Str
[Description => Str]
[LicenseCount => Int]
[LicenseCountHardLimit => Bool]
[LicenseRules => ArrayRef[Str|Undef]]
[Tags => ArrayRef[Paws::LicenseManager::Tag]]

Each argument is described in detail in: Paws::LicenseManager::CreateLicenseConfiguration

Returns: a Paws::LicenseManager::CreateLicenseConfigurationResponse instance

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

LicenseConfigurationArn => Str

Each argument is described in detail in: Paws::LicenseManager::DeleteLicenseConfiguration

Returns: a Paws::LicenseManager::DeleteLicenseConfigurationResponse instance

Deletes an existing license configuration. This action fails if the configuration is in use.

GetLicenseConfiguration

LicenseConfigurationArn => Str

Each argument is described in detail in: Paws::LicenseManager::GetLicenseConfiguration

Returns: a Paws::LicenseManager::GetLicenseConfigurationResponse instance

Returns a detailed description of a license configuration.

GetServiceSettings

Each argument is described in detail in: Paws::LicenseManager::GetServiceSettings

Returns: a Paws::LicenseManager::GetServiceSettingsResponse instance

Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.

ListAssociationsForLicenseConfiguration

LicenseConfigurationArn => Str
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::LicenseManager::ListAssociationsForLicenseConfiguration

Returns: a Paws::LicenseManager::ListAssociationsForLicenseConfigurationResponse instance

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

[Filters => ArrayRef[Paws::LicenseManager::Filter]]
[LicenseConfigurationArns => ArrayRef[Str|Undef]]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::LicenseManager::ListLicenseConfigurations

Returns: a Paws::LicenseManager::ListLicenseConfigurationsResponse instance

Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.

ListLicenseSpecificationsForResource

ResourceArn => Str
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::LicenseManager::ListLicenseSpecificationsForResource

Returns: a Paws::LicenseManager::ListLicenseSpecificationsForResourceResponse instance

Returns the license configuration for a resource.

ListResourceInventory

[Filters => ArrayRef[Paws::LicenseManager::InventoryFilter]]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::LicenseManager::ListResourceInventory

Returns: a Paws::LicenseManager::ListResourceInventoryResponse instance

Returns a detailed list of resources.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::LicenseManager::ListTagsForResource

Returns: a Paws::LicenseManager::ListTagsForResourceResponse instance

Lists tags attached to a resource.

ListUsageForLicenseConfiguration

LicenseConfigurationArn => Str
[Filters => ArrayRef[Paws::LicenseManager::Filter]]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::LicenseManager::ListUsageForLicenseConfiguration

Returns: a Paws::LicenseManager::ListUsageForLicenseConfigurationResponse instance

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.

TagResource

ResourceArn => Str
Tags => ArrayRef[Paws::LicenseManager::Tag]

Each argument is described in detail in: Paws::LicenseManager::TagResource

Returns: a Paws::LicenseManager::TagResourceResponse instance

Attach one of more tags to any resource.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::LicenseManager::UntagResource

Returns: a Paws::LicenseManager::UntagResourceResponse instance

Remove tags from a resource.

UpdateLicenseConfiguration

LicenseConfigurationArn => Str
[Description => Str]
[LicenseConfigurationStatus => Str]
[LicenseCount => Int]
[LicenseCountHardLimit => Bool]
[LicenseRules => ArrayRef[Str|Undef]]
[Name => Str]

Each argument is described in detail in: Paws::LicenseManager::UpdateLicenseConfiguration

Returns: a Paws::LicenseManager::UpdateLicenseConfigurationResponse instance

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

ResourceArn => Str
[AddLicenseSpecifications => ArrayRef[Paws::LicenseManager::LicenseSpecification]]
[RemoveLicenseSpecifications => ArrayRef[Paws::LicenseManager::LicenseSpecification]]

Each argument is described in detail in: Paws::LicenseManager::UpdateLicenseSpecificationsForResource

Returns: a Paws::LicenseManager::UpdateLicenseSpecificationsForResourceResponse instance

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.

UpdateServiceSettings

[EnableCrossAccountsDiscovery => Bool]
[OrganizationConfiguration => Paws::LicenseManager::OrganizationConfiguration]
[S3BucketArn => Str]
[SnsTopicArn => Str]

Each argument is described in detail in: Paws::LicenseManager::UpdateServiceSettings

Returns: a Paws::LicenseManager::UpdateServiceSettingsResponse instance

Updates License Manager service settings.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

ListAllAssociationsForLicenseConfiguration(sub { },LicenseConfigurationArn => Str, [MaxResults => Int, NextToken => Str])

ListAllAssociationsForLicenseConfiguration(LicenseConfigurationArn => Str, [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - LicenseConfigurationAssociations, passing the object as the first parameter, and the string 'LicenseConfigurationAssociations' as the second parameter 

If not, it will return a a Paws::LicenseManager::ListAssociationsForLicenseConfigurationResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllLicenseConfigurations(sub { },[Filters => ArrayRef[Paws::LicenseManager::Filter], LicenseConfigurationArns => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])

ListAllLicenseConfigurations([Filters => ArrayRef[Paws::LicenseManager::Filter], LicenseConfigurationArns => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - LicenseConfigurations, passing the object as the first parameter, and the string 'LicenseConfigurations' as the second parameter 

If not, it will return a a Paws::LicenseManager::ListLicenseConfigurationsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllLicenseSpecificationsForResource(sub { },ResourceArn => Str, [MaxResults => Int, NextToken => Str])

ListAllLicenseSpecificationsForResource(ResourceArn => Str, [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - LicenseSpecifications, passing the object as the first parameter, and the string 'LicenseSpecifications' as the second parameter 

If not, it will return a a Paws::LicenseManager::ListLicenseSpecificationsForResourceResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllResourceInventory(sub { },[Filters => ArrayRef[Paws::LicenseManager::InventoryFilter], MaxResults => Int, NextToken => Str])

ListAllResourceInventory([Filters => ArrayRef[Paws::LicenseManager::InventoryFilter], MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - ResourceInventoryList, passing the object as the first parameter, and the string 'ResourceInventoryList' as the second parameter 

If not, it will return a a Paws::LicenseManager::ListResourceInventoryResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllUsageForLicenseConfiguration(sub { },LicenseConfigurationArn => Str, [Filters => ArrayRef[Paws::LicenseManager::Filter], MaxResults => Int, NextToken => Str])

ListAllUsageForLicenseConfiguration(LicenseConfigurationArn => Str, [Filters => ArrayRef[Paws::LicenseManager::Filter], MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - LicenseConfigurationUsageList, passing the object as the first parameter, and the string 'LicenseConfigurationUsageList' as the second parameter 

If not, it will return a a Paws::LicenseManager::ListUsageForLicenseConfigurationResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues