blib/lib/Paws/XRay/PutTelemetryRecords.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::XRay::PutTelemetryRecords;
3 use Moose;
4 has EC2InstanceId => (is => 'ro', isa => 'Str');
5 has Hostname => (is => 'ro', isa => 'Str');
6 has ResourceARN => (is => 'ro', isa => 'Str');
7 has TelemetryRecords => (is => 'ro', isa => 'ArrayRef[Paws::XRay::TelemetryRecord]', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutTelemetryRecords');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/TelemetryRecords');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::XRay::PutTelemetryRecordsResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::XRay::PutTelemetryRecords - Arguments for method PutTelemetryRecords on L<Paws::XRay>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method PutTelemetryRecords on the
26 L<AWS X-Ray|Paws::XRay> service. Use the attributes of this class
27 as arguments to method PutTelemetryRecords.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutTelemetryRecords.
30  
31 =head1 SYNOPSIS
32  
33 my $xray = Paws->service('XRay');
34 my $PutTelemetryRecordsResult = $xray->PutTelemetryRecords(
35 TelemetryRecords => [
36 {
37 Timestamp => '1970-01-01T01:00:00',
38 BackendConnectionErrors => {
39 ConnectionRefusedCount => 1, # OPTIONAL
40 HTTPCode4XXCount => 1, # OPTIONAL
41 HTTPCode5XXCount => 1, # OPTIONAL
42 OtherCount => 1, # OPTIONAL
43 TimeoutCount => 1, # OPTIONAL
44 UnknownHostCount => 1, # OPTIONAL
45 }, # OPTIONAL
46 SegmentsReceivedCount => 1, # OPTIONAL
47 SegmentsRejectedCount => 1, # OPTIONAL
48 SegmentsSentCount => 1, # OPTIONAL
49 SegmentsSpilloverCount => 1, # OPTIONAL
50 },
51 ...
52 ],
53 EC2InstanceId => 'MyEC2InstanceId', # OPTIONAL
54 Hostname => 'MyHostname', # OPTIONAL
55 ResourceARN => 'MyResourceARN', # OPTIONAL
56 );
57  
58 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/xray/PutTelemetryRecords>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 EC2InstanceId => Str
65  
66  
67  
68  
69  
70 =head2 Hostname => Str
71  
72  
73  
74  
75  
76 =head2 ResourceARN => Str
77  
78  
79  
80  
81  
82 =head2 B<REQUIRED> TelemetryRecords => ArrayRef[L<Paws::XRay::TelemetryRecord>]
83  
84  
85  
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, documenting arguments for method PutTelemetryRecords in L<Paws::XRay>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100