File Coverage

blib/lib/Paws/EC2/PurchaseHostReservationResult.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::PurchaseHostReservationResult;
3 1     1   366 use Moose;
  1         2  
  1         7  
4             has ClientToken => (is => 'ro', isa => 'Str', request_name => 'clientToken', traits => ['NameInRequest',]);
5             has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest',]);
6             has Purchase => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Purchase]', request_name => 'purchase', traits => ['NameInRequest',]);
7             has TotalHourlyPrice => (is => 'ro', isa => 'Str', request_name => 'totalHourlyPrice', traits => ['NameInRequest',]);
8             has TotalUpfrontPrice => (is => 'ro', isa => 'Str', request_name => 'totalUpfrontPrice', traits => ['NameInRequest',]);
9              
10             has _request_id => (is => 'ro', isa => 'Str');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::EC2::PurchaseHostReservationResult
18              
19             =head1 ATTRIBUTES
20              
21              
22             =head2 ClientToken => Str
23              
24             Unique, case-sensitive identifier you provide to ensure idempotency of
25             the request. For more information, see How to Ensure Idempotency in the
26             I<Amazon Elastic Compute Cloud User Guide>
27              
28              
29             =head2 CurrencyCode => Str
30              
31             The currency in which the C<totalUpfrontPrice> and C<totalHourlyPrice>
32             amounts are specified. At this time, the only supported currency is
33             C<USD>.
34              
35             Valid values are: C<"USD">
36             =head2 Purchase => ArrayRef[L<Paws::EC2::Purchase>]
37              
38             Describes the details of the purchase.
39              
40              
41             =head2 TotalHourlyPrice => Str
42              
43             The total hourly price of the reservation calculated per hour.
44              
45              
46             =head2 TotalUpfrontPrice => Str
47              
48             The total amount that will be charged to your account when you purchase
49             the reservation.
50              
51              
52             =head2 _request_id => Str
53              
54              
55             =cut
56