File Coverage

blib/lib/Paws/Discovery/AgentInfo.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::Discovery::AgentInfo;
2 1     1   451 use Moose;
  1         2  
  1         7  
3             has AgentId => (is => 'ro', isa => 'Str', request_name => 'agentId', traits => ['NameInRequest']);
4             has AgentNetworkInfoList => (is => 'ro', isa => 'ArrayRef[Paws::Discovery::AgentNetworkInfo]', request_name => 'agentNetworkInfoList', traits => ['NameInRequest']);
5             has AgentType => (is => 'ro', isa => 'Str', request_name => 'agentType', traits => ['NameInRequest']);
6             has CollectionStatus => (is => 'ro', isa => 'Str', request_name => 'collectionStatus', traits => ['NameInRequest']);
7             has ConnectorId => (is => 'ro', isa => 'Str', request_name => 'connectorId', traits => ['NameInRequest']);
8             has Health => (is => 'ro', isa => 'Str', request_name => 'health', traits => ['NameInRequest']);
9             has HostName => (is => 'ro', isa => 'Str', request_name => 'hostName', traits => ['NameInRequest']);
10             has LastHealthPingTime => (is => 'ro', isa => 'Str', request_name => 'lastHealthPingTime', traits => ['NameInRequest']);
11             has RegisteredTime => (is => 'ro', isa => 'Str', request_name => 'registeredTime', traits => ['NameInRequest']);
12             has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']);
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::Discovery::AgentInfo
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::Discovery::AgentInfo object:
31              
32             $service_obj->Method(Att1 => { AgentId => $value, ..., Version => $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::Discovery::AgentInfo object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->AgentId
40              
41             =head1 DESCRIPTION
42              
43             Information about agents or connectors associated with the
44             userE<rsquo>s AWS account. Information includes agent or connector IDs,
45             IP addresses, media access control (MAC) addresses, agent or connector
46             health, hostname where the agent or connector resides, and agent
47             version for each agent.
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 AgentId => Str
53              
54             The agent or connector ID.
55              
56              
57             =head2 AgentNetworkInfoList => ArrayRef[L<Paws::Discovery::AgentNetworkInfo>]
58              
59             Network details about the host where the agent or connector resides.
60              
61              
62             =head2 AgentType => Str
63              
64             Type of agent.
65              
66              
67             =head2 CollectionStatus => Str
68              
69             Status of the collection process for an agent or connector.
70              
71              
72             =head2 ConnectorId => Str
73              
74             The ID of the connector.
75              
76              
77             =head2 Health => Str
78              
79             The health of the agent or connector.
80              
81              
82             =head2 HostName => Str
83              
84             The name of the host where the agent or connector resides. The host can
85             be a server or virtual machine.
86              
87              
88             =head2 LastHealthPingTime => Str
89              
90             Time since agent or connector health was reported.
91              
92              
93             =head2 RegisteredTime => Str
94              
95             Agent's first registration timestamp in UTC.
96              
97              
98             =head2 Version => Str
99              
100             The agent or connector version.
101              
102              
103              
104             =head1 SEE ALSO
105              
106             This class forms part of L<Paws>, describing an object used in L<Paws::Discovery>
107              
108             =head1 BUGS and CONTRIBUTIONS
109              
110             The source code is located here: https://github.com/pplu/aws-sdk-perl
111              
112             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
113              
114             =cut
115