blib/lib/Paws/AccessAnalyzer/AnalyzedResource.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AccessAnalyzer::AnalyzedResource;
3 use Moose;
4 has Actions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'actions', traits => ['NameInRequest']);
5 has AnalyzedAt => (is => 'ro', isa => 'Str', request_name => 'analyzedAt', traits => ['NameInRequest'], required => 1);
6 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1);
7 has Error => (is => 'ro', isa => 'Str', request_name => 'error', traits => ['NameInRequest']);
8 has IsPublic => (is => 'ro', isa => 'Bool', request_name => 'isPublic', traits => ['NameInRequest'], required => 1);
9 has ResourceArn => (is => 'ro', isa => 'Str', request_name => 'resourceArn', traits => ['NameInRequest'], required => 1);
10 has ResourceOwnerAccount => (is => 'ro', isa => 'Str', request_name => 'resourceOwnerAccount', traits => ['NameInRequest'], required => 1);
11 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest'], required => 1);
12 has SharedVia => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'sharedVia', traits => ['NameInRequest']);
13 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
14 has UpdatedAt => (is => 'ro', isa => 'Str', request_name => 'updatedAt', traits => ['NameInRequest'], required => 1);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AccessAnalyzer::AnalyzedResource
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::AccessAnalyzer::AnalyzedResource object:
34  
35 $service_obj->Method(Att1 => { Actions => $value, ..., UpdatedAt => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::AccessAnalyzer::AnalyzedResource object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->Actions
43  
44 =head1 DESCRIPTION
45  
46 Contains details about the analyzed resource.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 Actions => ArrayRef[Str|Undef]
52  
53 The actions that an external principal is granted permission to use by
54 the policy that generated the finding.
55  
56  
57 =head2 B<REQUIRED> AnalyzedAt => Str
58  
59 The time at which the resource was analyzed.
60  
61  
62 =head2 B<REQUIRED> CreatedAt => Str
63  
64 The time at which the finding was created.
65  
66  
67 =head2 Error => Str
68  
69 An error message.
70  
71  
72 =head2 B<REQUIRED> IsPublic => Bool
73  
74 Indicates whether the policy that generated the finding grants public
75 access to the resource.
76  
77  
78 =head2 B<REQUIRED> ResourceArn => Str
79  
80 The ARN of the resource that was analyzed.
81  
82  
83 =head2 B<REQUIRED> ResourceOwnerAccount => Str
84  
85 The AWS account ID that owns the resource.
86  
87  
88 =head2 B<REQUIRED> ResourceType => Str
89  
90 The type of the resource that was analyzed.
91  
92  
93 =head2 SharedVia => ArrayRef[Str|Undef]
94  
95 Indicates how the access that generated the finding is granted. This is
96 populated for Amazon S3 bucket findings.
97  
98  
99 =head2 Status => Str
100  
101 The current status of the finding generated from the analyzed resource.
102  
103  
104 =head2 B<REQUIRED> UpdatedAt => Str
105  
106 The time at which the finding was updated.
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121