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