File Coverage

blib/lib/Paws/Health/AffectedEntity.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::AffectedEntity;
2 1     1   529 use Moose;
  1         2  
  1         10  
3             has AwsAccountId => (is => 'ro', isa => 'Str', request_name => 'awsAccountId', traits => ['NameInRequest']);
4             has EntityArn => (is => 'ro', isa => 'Str', request_name => 'entityArn', traits => ['NameInRequest']);
5             has EntityValue => (is => 'ro', isa => 'Str', request_name => 'entityValue', traits => ['NameInRequest']);
6             has EventArn => (is => 'ro', isa => 'Str', request_name => 'eventArn', traits => ['NameInRequest']);
7             has LastUpdatedTime => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedTime', traits => ['NameInRequest']);
8             has StatusCode => (is => 'ro', isa => 'Str', request_name => 'statusCode', traits => ['NameInRequest']);
9             has Tags => (is => 'ro', isa => 'Paws::Health::TagSet', request_name => 'tags', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Health::AffectedEntity
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::Health::AffectedEntity object:
28              
29             $service_obj->Method(Att1 => { AwsAccountId => $value, ..., Tags => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::Health::AffectedEntity object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AwsAccountId
37              
38             =head1 DESCRIPTION
39              
40             Information about an entity that is affected by a Health event.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AwsAccountId => Str
46              
47             The 12-digit AWS account number that contains the affected entity.
48              
49              
50             =head2 EntityArn => Str
51              
52             The unique identifier for the entity. Format:
53             C<arn:aws:health:I<entity-region>:I<aws-account>:entity/I<entity-id> >.
54             Example:
55             C<arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K>
56              
57              
58             =head2 EntityValue => Str
59              
60             The ID of the affected entity.
61              
62              
63             =head2 EventArn => Str
64              
65             The unique identifier for the event. Format:
66             C<arn:aws:health:I<event-region>::event/I<EVENT_TYPE_PLUS_ID> >.
67             Example: C<arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331>
68              
69              
70             =head2 LastUpdatedTime => Str
71              
72             The most recent time that the entity was updated.
73              
74              
75             =head2 StatusCode => Str
76              
77             The most recent status of the entity affected by the event. The
78             possible values are C<IMPAIRED>, C<UNIMPAIRED>, and C<UNKNOWN>.
79              
80              
81             =head2 Tags => L<Paws::Health::TagSet>
82              
83             A map of entity tags attached to the affected entity.
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, describing an object used in L<Paws::Health>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98