blib/lib/Paws/LicenseManager/ListResourceInventory.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LicenseManager::ListResourceInventory;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::InventoryFilter]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListResourceInventory');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LicenseManager::ListResourceInventoryResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::LicenseManager::ListResourceInventory - Arguments for method ListResourceInventory on L<Paws::LicenseManager>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ListResourceInventory on the
24 L<AWS License Manager|Paws::LicenseManager> service. Use the attributes of this class
25 as arguments to method ListResourceInventory.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResourceInventory.
28  
29 =head1 SYNOPSIS
30  
31 my $license-manager = Paws->service('LicenseManager');
32 my $ListResourceInventoryResponse =
33 $license -manager->ListResourceInventory(
34 Filters => [
35 {
36 Condition =>
37 'EQUALS', # values: EQUALS, NOT_EQUALS, BEGINS_WITH, CONTAINS
38 Name => 'MyString',
39 Value => 'MyString',
40 },
41 ...
42 ], # OPTIONAL
43 MaxResults => 1, # OPTIONAL
44 NextToken => 'MyString', # OPTIONAL
45 );
46  
47 # Results:
48 my $NextToken = $ListResourceInventoryResponse->NextToken;
49 my $ResourceInventoryList =
50 $ListResourceInventoryResponse->ResourceInventoryList;
51  
52 # Returns a L<Paws::LicenseManager::ListResourceInventoryResponse> 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/ListResourceInventory>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 Filters => ArrayRef[L<Paws::LicenseManager::InventoryFilter>]
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<account_id> - The ID of the AWS account that owns the resource.
70 Logical operators are C<EQUALS> | C<NOT_EQUALS>.
71  
72 =item *
73  
74 C<application_name> - The name of the application. Logical operators
75 are C<EQUALS> | C<BEGINS_WITH>.
76  
77 =item *
78  
79 C<license_included> - The type of license included. Logical operators
80 are C<EQUALS> | C<NOT_EQUALS>. Possible values are
81 C<sql-server-enterprise> | C<sql-server-standard> | C<sql-server-web> |
82 C<windows-server-datacenter>.
83  
84 =item *
85  
86 C<platform> - The platform of the resource. Logical operators are
87 C<EQUALS> | C<BEGINS_WITH>.
88  
89 =item *
90  
91 C<resource_id> - The ID of the resource. Logical operators are
92 C<EQUALS> | C<NOT_EQUALS>.
93  
94 =item *
95  
96 C<tag:E<lt>keyE<gt>> - The key/value combination of a tag assigned to
97 the resource. Logical operators are C<EQUALS> (single account) or
98 C<EQUALS> | C<NOT_EQUALS> (cross account).
99  
100 =back
101  
102  
103  
104  
105 =head2 MaxResults => Int
106  
107 Maximum number of results to return in a single call.
108  
109  
110  
111 =head2 NextToken => Str
112  
113 Token for the next set of results.
114  
115  
116  
117  
118 =head1 SEE ALSO
119  
120 This class forms part of L<Paws>, documenting arguments for method ListResourceInventory in L<Paws::LicenseManager>
121  
122 =head1 BUGS and CONTRIBUTIONS
123  
124 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
125  
126 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
127  
128 =cut
129