blib/lib/Paws/Health/OrganizationEventDetailsErrorItem.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Health::OrganizationEventDetailsErrorItem;
3 use Moose;
4 has AwsAccountId => (is => 'ro', isa => 'Str', request_name => 'awsAccountId', traits => ['NameInRequest']);
5 has ErrorMessage => (is => 'ro', isa => 'Str', request_name => 'errorMessage', traits => ['NameInRequest']);
6 has ErrorName => (is => 'ro', isa => 'Str', request_name => 'errorName', traits => ['NameInRequest']);
7 has EventArn => (is => 'ro', isa => 'Str', request_name => 'eventArn', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Health::OrganizationEventDetailsErrorItem
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::OrganizationEventDetailsErrorItem object:
27  
28 $service_obj->Method(Att1 => { AwsAccountId => $value, ..., EventArn => $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::OrganizationEventDetailsErrorItem object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->AwsAccountId
36  
37 =head1 DESCRIPTION
38  
39 Error information returned when a DescribeEventDetailsForOrganization
40 (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html)
41 operation can't find a specified event.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 AwsAccountId => Str
47  
48 Error information returned when a DescribeEventDetailsForOrganization
49 (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html)
50 operation can't find a specified event.
51  
52  
53 =head2 ErrorMessage => Str
54  
55 A message that describes the error.
56  
57 If you call the C<DescribeEventDetailsForOrganization> operation and
58 receive one of the following errors, follow the recommendations in the
59 message:
60  
61 =over
62  
63 =item *
64  
65 We couldn't find a public event that matches your request. To find an
66 event that is account specific, you must enter an AWS account ID in the
67 request.
68  
69 =item *
70  
71 We couldn't find an account specific event for the specified AWS
72 account. To find an event that is public, you must enter a null value
73 for the AWS account ID in the request.
74  
75 =item *
76  
77 Your AWS account doesn't include the AWS Support plan required to use
78 the AWS Health API. You must have either a Business or Enterprise
79 Support plan.
80  
81 =back
82  
83  
84  
85 =head2 ErrorName => Str
86  
87 The name of the error.
88  
89  
90 =head2 EventArn => Str
91  
92 The unique identifier for the event. The event ARN has the
93 C<arn:aws:health:I<event-region>::event/I<SERVICE>/I<EVENT_TYPE_CODE>/I<EVENT_TYPE_PLUS_ID>
94 > format.
95  
96 For example, an event ARN might look like the following:
97  
98 C<arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456>
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, describing an object used in L<Paws::Health>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113