File Coverage

blib/lib/Paws/Discovery/Filter.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Discovery::Filter;
2 1     1   525 use Moose;
  1         3  
  1         9  
3             has Condition => (is => 'ro', isa => 'Str', request_name => 'condition', traits => ['NameInRequest'], required => 1);
4             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
5             has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'item', request_name => 'values', traits => ['NameInRequest','NameInRequest'], required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Discovery::Filter
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::Discovery::Filter object:
24              
25             $service_obj->Method(Att1 => { Condition => $value, ..., Values => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::Discovery::Filter object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Condition
33              
34             =head1 DESCRIPTION
35              
36             A filter that can use conditional operators.
37              
38             For more information about filters, see Querying Discovered
39             Configuration Items.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> Condition => Str
45              
46             A conditional operator. The following operators are valid: EQUALS,
47             NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters,
48             the system utilizes all filters as though concatenated by I<AND>. If
49             you specify multiple values for a particular filter, the system
50             differentiates the values using I<OR>. Calling either
51             I<DescribeConfigurations> or I<ListConfigurations> returns attributes
52             of matching configuration items.
53              
54              
55             =head2 B<REQUIRED> Name => Str
56              
57             The name of the filter.
58              
59              
60             =head2 B<REQUIRED> Values => ArrayRef[Str|Undef]
61              
62             A string value on which to filter. For example, if you choose the
63             C<destinationServer.osVersion> filter name, you could specify C<Ubuntu>
64             for the value.
65              
66              
67              
68             =head1 SEE ALSO
69              
70             This class forms part of L<Paws>, describing an object used in L<Paws::Discovery>
71              
72             =head1 BUGS and CONTRIBUTIONS
73              
74             The source code is located here: https://github.com/pplu/aws-sdk-perl
75              
76             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
77              
78             =cut
79