blib/lib/Paws/FMS/ViolationDetail.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::FMS::ViolationDetail;
3 use Moose;
4 has MemberAccount => (is => 'ro', isa => 'Str', required => 1);
5 has PolicyId => (is => 'ro', isa => 'Str', required => 1);
6 has ResourceDescription => (is => 'ro', isa => 'Str');
7 has ResourceId => (is => 'ro', isa => 'Str', required => 1);
8 has ResourceTags => (is => 'ro', isa => 'ArrayRef[Paws::FMS::Tag]');
9 has ResourceType => (is => 'ro', isa => 'Str', required => 1);
10 has ResourceViolations => (is => 'ro', isa => 'ArrayRef[Paws::FMS::ResourceViolation]', required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::FMS::ViolationDetail
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::FMS::ViolationDetail object:
30  
31 $service_obj->Method(Att1 => { MemberAccount => $value, ..., ResourceViolations => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::FMS::ViolationDetail object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->MemberAccount
39  
40 =head1 DESCRIPTION
41  
42 Violations for a resource based on the specified AWS Firewall Manager
43 policy and AWS account.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 B<REQUIRED> MemberAccount => Str
49  
50 The AWS account that the violation details were requested for.
51  
52  
53 =head2 B<REQUIRED> PolicyId => Str
54  
55 The ID of the AWS Firewall Manager policy that the violation details
56 were requested for.
57  
58  
59 =head2 ResourceDescription => Str
60  
61 Brief description for the requested resource.
62  
63  
64 =head2 B<REQUIRED> ResourceId => Str
65  
66 The resource ID that the violation details were requested for.
67  
68  
69 =head2 ResourceTags => ArrayRef[L<Paws::FMS::Tag>]
70  
71 The C<ResourceTag> objects associated with the resource.
72  
73  
74 =head2 B<REQUIRED> ResourceType => Str
75  
76 The resource type that the violation details were requested for.
77  
78  
79 =head2 B<REQUIRED> ResourceViolations => ArrayRef[L<Paws::FMS::ResourceViolation>]
80  
81 List of violations for the requested resource.
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, describing an object used in L<Paws::FMS>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96