blib/lib/Paws/Inspector/AssetAttributes.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Inspector::AssetAttributes;
3 use Moose;
4 has AgentId => (is => 'ro', isa => 'Str', request_name => 'agentId', traits => ['NameInRequest']);
5 has AmiId => (is => 'ro', isa => 'Str', request_name => 'amiId', traits => ['NameInRequest']);
6 has AutoScalingGroup => (is => 'ro', isa => 'Str', request_name => 'autoScalingGroup', traits => ['NameInRequest']);
7 has Hostname => (is => 'ro', isa => 'Str', request_name => 'hostname', traits => ['NameInRequest']);
8 has Ipv4Addresses => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'ipv4Addresses', traits => ['NameInRequest']);
9 has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::NetworkInterface]', request_name => 'networkInterfaces', traits => ['NameInRequest']);
10 has SchemaVersion => (is => 'ro', isa => 'Int', request_name => 'schemaVersion', traits => ['NameInRequest'], required => 1);
11 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::Tag]', request_name => 'tags', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Inspector::AssetAttributes
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::Inspector::AssetAttributes object:
31  
32 $service_obj->Method(Att1 => { AgentId => $value, ..., Tags => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::Inspector::AssetAttributes object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AgentId
40  
41 =head1 DESCRIPTION
42  
43 A collection of attributes of the host from which the finding is
44 generated.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 AgentId => Str
50  
51 The ID of the agent that is installed on the EC2 instance where the
52 finding is generated.
53  
54  
55 =head2 AmiId => Str
56  
57 The ID of the Amazon Machine Image (AMI) that is installed on the EC2
58 instance where the finding is generated.
59  
60  
61 =head2 AutoScalingGroup => Str
62  
63 The Auto Scaling group of the EC2 instance where the finding is
64 generated.
65  
66  
67 =head2 Hostname => Str
68  
69 The hostname of the EC2 instance where the finding is generated.
70  
71  
72 =head2 Ipv4Addresses => ArrayRef[Str|Undef]
73  
74 The list of IP v4 addresses of the EC2 instance where the finding is
75 generated.
76  
77  
78 =head2 NetworkInterfaces => ArrayRef[L<Paws::Inspector::NetworkInterface>]
79  
80 An array of the network interfaces interacting with the EC2 instance
81 where the finding is generated.
82  
83  
84 =head2 B<REQUIRED> SchemaVersion => Int
85  
86 The schema version of this data type.
87  
88  
89 =head2 Tags => ArrayRef[L<Paws::Inspector::Tag>]
90  
91 The tags related to the EC2 instance where the finding is generated.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106