File Coverage

blib/lib/Paws/XRay/Service.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::XRay::Service;
2 1     1   291 use Moose;
  1         2  
  1         7  
3             has AccountId => (is => 'ro', isa => 'Str');
4             has DurationHistogram => (is => 'ro', isa => 'ArrayRef[Paws::XRay::HistogramEntry]');
5             has Edges => (is => 'ro', isa => 'ArrayRef[Paws::XRay::Edge]');
6             has EndTime => (is => 'ro', isa => 'Str');
7             has Name => (is => 'ro', isa => 'Str');
8             has Names => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9             has ReferenceId => (is => 'ro', isa => 'Int');
10             has ResponseTimeHistogram => (is => 'ro', isa => 'ArrayRef[Paws::XRay::HistogramEntry]');
11             has Root => (is => 'ro', isa => 'Bool');
12             has StartTime => (is => 'ro', isa => 'Str');
13             has State => (is => 'ro', isa => 'Str');
14             has SummaryStatistics => (is => 'ro', isa => 'Paws::XRay::ServiceStatistics');
15             has Type => (is => 'ro', isa => 'Str');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::XRay::Service
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::XRay::Service object:
34              
35             $service_obj->Method(Att1 => { AccountId => $value, ..., Type => $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::XRay::Service object:
40              
41             $result = $service_obj->Method(...);
42             $result->Att1->AccountId
43              
44             =head1 DESCRIPTION
45              
46             Information about an application that processed requests, users that
47             made requests, or downstream services, resources and applications that
48             an application used.
49              
50             =head1 ATTRIBUTES
51              
52              
53             =head2 AccountId => Str
54              
55             Identifier of the AWS account in which the service runs.
56              
57              
58             =head2 DurationHistogram => ArrayRef[L<Paws::XRay::HistogramEntry>]
59              
60             A histogram that maps the spread of service durations.
61              
62              
63             =head2 Edges => ArrayRef[L<Paws::XRay::Edge>]
64              
65             Connections to downstream services.
66              
67              
68             =head2 EndTime => Str
69              
70             The end time of the last segment that the service generated.
71              
72              
73             =head2 Name => Str
74              
75             The canonical name of the service.
76              
77              
78             =head2 Names => ArrayRef[Str|Undef]
79              
80             A list of names for the service, including the canonical name.
81              
82              
83             =head2 ReferenceId => Int
84              
85             Identifier for the service. Unique within the service map.
86              
87              
88             =head2 ResponseTimeHistogram => ArrayRef[L<Paws::XRay::HistogramEntry>]
89              
90             A histogram that maps the spread of service response times.
91              
92              
93             =head2 Root => Bool
94              
95             Indicates that the service was the first service to process a request.
96              
97              
98             =head2 StartTime => Str
99              
100             The start time of the first segment that the service generated.
101              
102              
103             =head2 State => Str
104              
105             The service's state.
106              
107              
108             =head2 SummaryStatistics => L<Paws::XRay::ServiceStatistics>
109              
110             Aggregated statistics for the service.
111              
112              
113             =head2 Type => Str
114              
115             The type of service.
116              
117             =over
118              
119             =item *
120              
121             AWS Resource - The type of an AWS resource. For example,
122             C<AWS::EC2::Instance> for a application running on Amazon EC2 or
123             C<AWS::DynamoDB::Table> for an Amazon DynamoDB table that the
124             application used.
125              
126             =item *
127              
128             AWS Service - The type of an AWS service. For example, C<AWS::DynamoDB>
129             for downstream calls to Amazon DynamoDB that didn't target a specific
130             table.
131              
132             =item *
133              
134             C<client> - Represents the clients that sent requests to a root
135             service.
136              
137             =item *
138              
139             C<remote> - A downstream service of indeterminate type.
140              
141             =back
142              
143              
144              
145              
146             =head1 SEE ALSO
147              
148             This class forms part of L<Paws>, describing an object used in L<Paws::XRay>
149              
150             =head1 BUGS and CONTRIBUTIONS
151              
152             The source code is located here: https://github.com/pplu/aws-sdk-perl
153              
154             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
155              
156             =cut
157