The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

AWS License Manager makes it easier to manage licenses from software vendors across multiple AWS accounts and on-premises servers.

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]]
[ProductInformationList => ArrayRef[Paws::LicenseManager::ProductInformation]]
[Tags => ArrayRef[Paws::LicenseManager::Tag]]

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

Returns: a Paws::LicenseManager::CreateLicenseConfigurationResponse instance

Creates a license configuration.

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), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and 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 the specified license configuration.

You cannot delete a license configuration that is in use.

GetLicenseConfiguration

LicenseConfigurationArn => Str

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

Returns: a Paws::LicenseManager::GetLicenseConfigurationResponse instance

Gets detailed information about the specified license configuration.

GetServiceSettings

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

Returns: a Paws::LicenseManager::GetServiceSettingsResponse instance

Gets the License Manager settings for the current Region.

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 the specified license configuration.

Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).

ListFailuresForLicenseConfigurationOperations

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

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

Returns: a Paws::LicenseManager::ListFailuresForLicenseConfigurationOperationsResponse instance

Lists the license configuration operations that failed.

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 the license configurations for your account.

ListLicenseSpecificationsForResource

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

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

Returns: a Paws::LicenseManager::ListLicenseSpecificationsForResourceResponse instance

Describes the license configurations for the specified 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

Lists resources managed using Systems Manager inventory.

ListTagsForResource

ResourceArn => Str

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

Returns: a Paws::LicenseManager::ListTagsForResourceResponse instance

Lists the tags for the specified license configuration.

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

Adds the specified tags to the specified license configuration.

UntagResource

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

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

Returns: a Paws::LicenseManager::UntagResourceResponse instance

Removes the specified tags from the specified license configuration.

UpdateLicenseConfiguration

LicenseConfigurationArn => Str
[Description => Str]
[LicenseConfigurationStatus => Str]
[LicenseCount => Int]
[LicenseCountHardLimit => Bool]
[LicenseRules => ArrayRef[Str|Undef]]
[Name => Str]
[ProductInformationList => ArrayRef[Paws::LicenseManager::ProductInformation]]

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

Returns: a Paws::LicenseManager::UpdateLicenseConfigurationResponse instance

Modifies the attributes of an existing license configuration.

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), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and 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 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.

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 settings for the current Region.

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