« blib/lib/Paws/LicenseManager/ListTokensResponse.pm
↑ Summary
blib/lib/Paws/LicenseManager/ListUsageForLicenseConfigurationResponse.pm »
| 1 | |||
| 2 | package Paws::LicenseManager::ListUsageForLicenseConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::Filter]'); | ||
| 5 | has LicenseConfigurationArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListUsageForLicenseConfiguration'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LicenseManager::ListUsageForLicenseConfigurationResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::LicenseManager::ListUsageForLicenseConfiguration - Arguments for method ListUsageForLicenseConfiguration on L<Paws::LicenseManager> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method ListUsageForLicenseConfiguration on the | ||
| 25 | L<AWS License Manager|Paws::LicenseManager> service. Use the attributes of this class | ||
| 26 | as arguments to method ListUsageForLicenseConfiguration. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListUsageForLicenseConfiguration. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $license-manager = Paws->service('LicenseManager'); | ||
| 33 | my $ListUsageForLicenseConfigurationResponse = | ||
| 34 | $license -manager->ListUsageForLicenseConfiguration( | ||
| 35 | LicenseConfigurationArn => 'MyString', | ||
| 36 | Filters => [ | ||
| 37 | { | ||
| 38 | Name => 'MyFilterName', # OPTIONAL | ||
| 39 | Values => [ 'MyFilterValue', ... ], # OPTIONAL | ||
| 40 | }, | ||
| 41 | ... | ||
| 42 | ], # OPTIONAL | ||
| 43 | MaxResults => 1, # OPTIONAL | ||
| 44 | NextToken => 'MyString', # OPTIONAL | ||
| 45 | ); | ||
| 46 | |||
| 47 | # Results: | ||
| 48 | my $LicenseConfigurationUsageList = | ||
| 49 | $ListUsageForLicenseConfigurationResponse->LicenseConfigurationUsageList; | ||
| 50 | my $NextToken = $ListUsageForLicenseConfigurationResponse->NextToken; | ||
| 51 | |||
| 52 | # Returns a L<Paws::LicenseManager::ListUsageForLicenseConfigurationResponse> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/license-manager/ListUsageForLicenseConfiguration> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 Filters => ArrayRef[L<Paws::LicenseManager::Filter>] | ||
| 61 | |||
| 62 | Filters to scope the results. The following filters and logical | ||
| 63 | operators are supported: | ||
| 64 | |||
| 65 | =over | ||
| 66 | |||
| 67 | =item * | ||
| 68 | |||
| 69 | C<resourceArn> - The ARN of the license configuration resource. Logical | ||
| 70 | operators are C<EQUALS> | C<NOT_EQUALS>. | ||
| 71 | |||
| 72 | =item * | ||
| 73 | |||
| 74 | C<resourceType> - The resource type (C<EC2_INSTANCE> | C<EC2_HOST> | | ||
| 75 | C<EC2_AMI> | C<SYSTEMS_MANAGER_MANAGED_INSTANCE>). Logical operators | ||
| 76 | are C<EQUALS> | C<NOT_EQUALS>. | ||
| 77 | |||
| 78 | =item * | ||
| 79 | |||
| 80 | C<resourceAccount> - The ID of the account that owns the resource. | ||
| 81 | Logical operators are C<EQUALS> | C<NOT_EQUALS>. | ||
| 82 | |||
| 83 | =back | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 B<REQUIRED> LicenseConfigurationArn => Str | ||
| 89 | |||
| 90 | Amazon Resource Name (ARN) of the license configuration. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 MaxResults => Int | ||
| 95 | |||
| 96 | Maximum number of results to return in a single call. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head2 NextToken => Str | ||
| 101 | |||
| 102 | Token for the next set of results. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head1 SEE ALSO | ||
| 108 | |||
| 109 | This class forms part of L<Paws>, documenting arguments for method ListUsageForLicenseConfiguration in L<Paws::LicenseManager> | ||
| 110 | |||
| 111 | =head1 BUGS and CONTRIBUTIONS | ||
| 112 | |||
| 113 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 114 | |||
| 115 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 116 | |||
| 117 | =cut | ||
| 118 |