File Coverage

blib/lib/Paws/Health/EntityFilter.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::Health::EntityFilter;
2 1     1   640 use Moose;
  1         5  
  1         9  
3             has EntityArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'entityArns', traits => ['NameInRequest']);
4             has EntityValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'entityValues', traits => ['NameInRequest']);
5             has EventArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'eventArns', traits => ['NameInRequest'], required => 1);
6             has LastUpdatedTimes => (is => 'ro', isa => 'ArrayRef[Paws::Health::DateTimeRange]', request_name => 'lastUpdatedTimes', traits => ['NameInRequest']);
7             has StatusCodes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'statusCodes', traits => ['NameInRequest']);
8             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Health::TagSet]', request_name => 'tags', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Health::EntityFilter
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::Health::EntityFilter object:
27              
28             $service_obj->Method(Att1 => { EntityArns => $value, ..., Tags => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::Health::EntityFilter object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->EntityArns
36              
37             =head1 DESCRIPTION
38              
39             The values to use to filter results from the DescribeAffectedEntities
40             operation.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 EntityArns => ArrayRef[Str|Undef]
46              
47             A list of entity ARNs (unique identifiers).
48              
49              
50             =head2 EntityValues => ArrayRef[Str|Undef]
51              
52             A list of IDs for affected entities.
53              
54              
55             =head2 B<REQUIRED> EventArns => ArrayRef[Str|Undef]
56              
57             A list of event ARNs (unique identifiers). For example:
58             C<"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331",
59             "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz">
60              
61              
62             =head2 LastUpdatedTimes => ArrayRef[L<Paws::Health::DateTimeRange>]
63              
64             A list of the most recent dates and times that the entity was updated.
65              
66              
67             =head2 StatusCodes => ArrayRef[Str|Undef]
68              
69             A list of entity status codes (C<IMPAIRED>, C<UNIMPAIRED>, or
70             C<UNKNOWN>).
71              
72              
73             =head2 Tags => ArrayRef[L<Paws::Health::TagSet>]
74              
75             A map of entity tags attached to the affected entity.
76              
77              
78              
79             =head1 SEE ALSO
80              
81             This class forms part of L<Paws>, describing an object used in L<Paws::Health>
82              
83             =head1 BUGS and CONTRIBUTIONS
84              
85             The source code is located here: https://github.com/pplu/aws-sdk-perl
86              
87             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
88              
89             =cut
90