The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::LicenseManager::ListUsageForLicenseConfiguration - Arguments for method ListUsageForLicenseConfiguration on Paws::LicenseManager

DESCRIPTION

This class represents the parameters used for calling the method ListUsageForLicenseConfiguration on the AWS License Manager service. Use the attributes of this class as arguments to method ListUsageForLicenseConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListUsageForLicenseConfiguration.

SYNOPSIS

    my $license-manager = Paws->service('LicenseManager');
    my $ListUsageForLicenseConfigurationResponse =
      $license -manager->ListUsageForLicenseConfiguration(
      LicenseConfigurationArn => 'MyString',
      Filters                 => [
        {
          Name   => 'MyFilterName',              # OPTIONAL
          Values => [ 'MyFilterValue', ... ],    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
      MaxResults => 1,             # OPTIONAL
      NextToken  => 'MyString',    # OPTIONAL
      );

    # Results:
    my $LicenseConfigurationUsageList =
      $ListUsageForLicenseConfigurationResponse->LicenseConfigurationUsageList;
    my $NextToken = $ListUsageForLicenseConfigurationResponse->NextToken;

# Returns a Paws::LicenseManager::ListUsageForLicenseConfigurationResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/license-manager/ListUsageForLicenseConfiguration

ATTRIBUTES

Filters => ArrayRef[Paws::LicenseManager::Filter]

Filters to scope the results. The following filters and logical operators are supported:

  • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

  • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

  • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

REQUIRED LicenseConfigurationArn => Str

Amazon Resource Name (ARN) of the license configuration.

MaxResults => Int

Maximum number of results to return in a single call.

NextToken => Str

Token for the next set of results.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListUsageForLicenseConfiguration in Paws::LicenseManager

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