blib/lib/Paws/XRay/GetInsightImpactGraph.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::GetInsightImpactGraph;
3 use Moose;
4 has EndTime => (is => 'ro', isa => 'Str', required => 1);
5 has InsightId => (is => 'ro', isa => 'Str', required => 1);
6 has NextToken => (is => 'ro', isa => 'Str');
7 has StartTime => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetInsightImpactGraph');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/InsightImpactGraph');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::XRay::GetInsightImpactGraphResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::XRay::GetInsightImpactGraph - Arguments for method GetInsightImpactGraph on L<Paws::XRay>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method GetInsightImpactGraph on the
26 L<AWS X-Ray|Paws::XRay> service. Use the attributes of this class
27 as arguments to method GetInsightImpactGraph.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetInsightImpactGraph.
30  
31 =head1 SYNOPSIS
32  
33 my $xray = Paws->service('XRay');
34 my $GetInsightImpactGraphResult = $xray->GetInsightImpactGraph(
35 EndTime => '1970-01-01T01:00:00',
36 InsightId => 'MyInsightId',
37 StartTime => '1970-01-01T01:00:00',
38 NextToken => 'MyToken', # OPTIONAL
39 );
40  
41 # Results:
42 my $EndTime = $GetInsightImpactGraphResult->EndTime;
43 my $InsightId = $GetInsightImpactGraphResult->InsightId;
44 my $NextToken = $GetInsightImpactGraphResult->NextToken;
45 my $ServiceGraphEndTime = $GetInsightImpactGraphResult->ServiceGraphEndTime;
46 my $ServiceGraphStartTime =
47 $GetInsightImpactGraphResult->ServiceGraphStartTime;
48 my $Services = $GetInsightImpactGraphResult->Services;
49 my $StartTime = $GetInsightImpactGraphResult->StartTime;
50  
51 # Returns a L<Paws::XRay::GetInsightImpactGraphResult> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/xray/GetInsightImpactGraph>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> EndTime => Str
60  
61 The estimated end time of the insight, in Unix time seconds. The
62 EndTime is exclusive of the value provided. The time range between the
63 start time and end time can't be more than six hours.
64  
65  
66  
67 =head2 B<REQUIRED> InsightId => Str
68  
69 The insight's unique identifier. Use the GetInsightSummaries action to
70 retrieve an InsightId.
71  
72  
73  
74 =head2 NextToken => Str
75  
76 Specify the pagination token returned by a previous request to retrieve
77 the next page of results.
78  
79  
80  
81 =head2 B<REQUIRED> StartTime => Str
82  
83 The estimated start time of the insight, in Unix time seconds. The
84 StartTime is inclusive of the value provided and can't be more than 30
85 days old.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method GetInsightImpactGraph in L<Paws::XRay>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101