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

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::XRay::GetTimeSeriesServiceStatistics;
3 use Moose;
4 has EndTime => (is => 'ro', isa => 'Str', required => 1);
5 has EntitySelectorExpression => (is => 'ro', isa => 'Str');
6 has ForecastStatistics => (is => 'ro', isa => 'Bool');
7 has GroupARN => (is => 'ro', isa => 'Str');
8 has GroupName => (is => 'ro', isa => 'Str');
9 has NextToken => (is => 'ro', isa => 'Str');
10 has Period => (is => 'ro', isa => 'Int');
11 has StartTime => (is => 'ro', isa => 'Str', required => 1);
12  
13 use MooseX::ClassAttribute;
14  
15 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetTimeSeriesServiceStatistics');
16 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/TimeSeriesServiceStatistics');
17 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
18 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::XRay::GetTimeSeriesServiceStatisticsResult');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::XRay::GetTimeSeriesServiceStatistics - Arguments for method GetTimeSeriesServiceStatistics on L<Paws::XRay>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method GetTimeSeriesServiceStatistics on the
30 L<AWS X-Ray|Paws::XRay> service. Use the attributes of this class
31 as arguments to method GetTimeSeriesServiceStatistics.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetTimeSeriesServiceStatistics.
34  
35 =head1 SYNOPSIS
36  
37 my $xray = Paws->service('XRay');
38 my $GetTimeSeriesServiceStatisticsResult =
39 $xray->GetTimeSeriesServiceStatistics(
40 EndTime => '1970-01-01T01:00:00',
41 StartTime => '1970-01-01T01:00:00',
42 EntitySelectorExpression => 'MyEntitySelectorExpression', # OPTIONAL
43 ForecastStatistics => 1, # OPTIONAL
44 GroupARN => 'MyGroupARN', # OPTIONAL
45 GroupName => 'MyGroupName', # OPTIONAL
46 NextToken => 'MyString', # OPTIONAL
47 Period => 1, # OPTIONAL
48 );
49  
50 # Results:
51 my $ContainsOldGroupVersions =
52 $GetTimeSeriesServiceStatisticsResult->ContainsOldGroupVersions;
53 my $NextToken = $GetTimeSeriesServiceStatisticsResult->NextToken;
54 my $TimeSeriesServiceStatistics =
55 $GetTimeSeriesServiceStatisticsResult->TimeSeriesServiceStatistics;
56  
57 # Returns a L<Paws::XRay::GetTimeSeriesServiceStatisticsResult> object.
58  
59 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.
60 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/xray/GetTimeSeriesServiceStatistics>
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 B<REQUIRED> EndTime => Str
66  
67 The end of the time frame for which to aggregate statistics.
68  
69  
70  
71 =head2 EntitySelectorExpression => Str
72  
73 A filter expression defining entities that will be aggregated for
74 statistics. Supports ID, service, and edge functions. If no selector
75 expression is specified, edge statistics are returned.
76  
77  
78  
79 =head2 ForecastStatistics => Bool
80  
81 The forecasted high and low fault count values. Forecast enabled
82 requests require the EntitySelectorExpression ID be provided.
83  
84  
85  
86 =head2 GroupARN => Str
87  
88 The Amazon Resource Name (ARN) of the group for which to pull
89 statistics from.
90  
91  
92  
93 =head2 GroupName => Str
94  
95 The case-sensitive name of the group for which to pull statistics from.
96  
97  
98  
99 =head2 NextToken => Str
100  
101 Pagination token.
102  
103  
104  
105 =head2 Period => Int
106  
107 Aggregation period in seconds.
108  
109  
110  
111 =head2 B<REQUIRED> StartTime => Str
112  
113 The start of the time frame for which to aggregate statistics.
114  
115  
116  
117  
118 =head1 SEE ALSO
119  
120 This class forms part of L<Paws>, documenting arguments for method GetTimeSeriesServiceStatistics in L<Paws::XRay>
121  
122 =head1 BUGS and CONTRIBUTIONS
123  
124 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
125  
126 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
127  
128 =cut
129