File Coverage

blib/lib/Paws/Inspector/AssetAttributes.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::Inspector::AssetAttributes;
2 1     1   681 use Moose;
  1         3  
  1         10  
3             has AgentId => (is => 'ro', isa => 'Str', request_name => 'agentId', traits => ['NameInRequest']);
4             has AmiId => (is => 'ro', isa => 'Str', request_name => 'amiId', traits => ['NameInRequest']);
5             has AutoScalingGroup => (is => 'ro', isa => 'Str', request_name => 'autoScalingGroup', traits => ['NameInRequest']);
6             has Hostname => (is => 'ro', isa => 'Str', request_name => 'hostname', traits => ['NameInRequest']);
7             has Ipv4Addresses => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'ipv4Addresses', traits => ['NameInRequest']);
8             has SchemaVersion => (is => 'ro', isa => 'Int', request_name => 'schemaVersion', traits => ['NameInRequest'], required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Inspector::AssetAttributes
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::Inspector::AssetAttributes object:
27              
28             $service_obj->Method(Att1 => { AgentId => $value, ..., SchemaVersion => $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::Inspector::AssetAttributes object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->AgentId
36              
37             =head1 DESCRIPTION
38              
39             A collection of attributes of the host from which the finding is
40             generated.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AgentId => Str
46              
47             The ID of the agent that is installed on the EC2 instance where the
48             finding is generated.
49              
50              
51             =head2 AmiId => Str
52              
53             The ID of the Amazon Machine Image (AMI) that is installed on the EC2
54             instance where the finding is generated.
55              
56              
57             =head2 AutoScalingGroup => Str
58              
59             The Auto Scaling group of the EC2 instance where the finding is
60             generated.
61              
62              
63             =head2 Hostname => Str
64              
65             The hostname of the EC2 instance where the finding is generated.
66              
67              
68             =head2 Ipv4Addresses => ArrayRef[Str|Undef]
69              
70             The list of IP v4 addresses of the EC2 instance where the finding is
71             generated.
72              
73              
74             =head2 B<REQUIRED> SchemaVersion => Int
75              
76             The schema version of this data type.
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91