File Coverage

blib/lib/Paws/EC2/DescribeSpotFleetRequestHistory.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::DescribeSpotFleetRequestHistory;
3 1     1   290 use Moose;
  1         3  
  1         6  
4             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5             has EventType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'eventType' );
6             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
7             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
8             has SpotFleetRequestId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'spotFleetRequestId' , required => 1);
9             has StartTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'startTime' , required => 1);
10              
11 1     1   5275 use MooseX::ClassAttribute;
  1         3  
  1         8  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeSpotFleetRequestHistory');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeSpotFleetRequestHistoryResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::EC2::DescribeSpotFleetRequestHistory - Arguments for method DescribeSpotFleetRequestHistory on Paws::EC2
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method DescribeSpotFleetRequestHistory on the
27             Amazon Elastic Compute Cloud service. Use the attributes of this class
28             as arguments to method DescribeSpotFleetRequestHistory.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeSpotFleetRequestHistory.
31              
32             As an example:
33              
34             $service_obj->DescribeSpotFleetRequestHistory(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 DryRun => Bool
42              
43             Checks whether you have the required permissions for the action,
44             without actually making the request, and provides an error response. If
45             you have the required permissions, the error response is
46             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
47              
48              
49              
50             =head2 EventType => Str
51              
52             The type of events to describe. By default, all events are described.
53              
54             Valid values are: C<"instanceChange">, C<"fleetRequestChange">, C<"error">
55              
56             =head2 MaxResults => Int
57              
58             The maximum number of results to return in a single call. Specify a
59             value between 1 and 1000. The default value is 1000. To retrieve the
60             remaining results, make another call with the returned C<NextToken>
61             value.
62              
63              
64              
65             =head2 NextToken => Str
66              
67             The token for the next set of results.
68              
69              
70              
71             =head2 B<REQUIRED> SpotFleetRequestId => Str
72              
73             The ID of the Spot fleet request.
74              
75              
76              
77             =head2 B<REQUIRED> StartTime => Str
78              
79             The starting date and time for the events, in UTC format (for example,
80             I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z).
81              
82              
83              
84              
85             =head1 SEE ALSO
86              
87             This class forms part of L<Paws>, documenting arguments for method DescribeSpotFleetRequestHistory in L<Paws::EC2>
88              
89             =head1 BUGS and CONTRIBUTIONS
90              
91             The source code is located here: https://github.com/pplu/aws-sdk-perl
92              
93             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
94              
95             =cut
96