File Coverage

blib/lib/Paws/EC2/ReservedInstancesListing.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             package Paws::EC2::ReservedInstancesListing;
2 1     1   646 use Moose;
  1     1   5  
  1         11  
  1         768  
  1         4  
  1         13  
3             has ClientToken => (is => 'ro', isa => 'Str', request_name => 'clientToken', traits => ['NameInRequest']);
4             has CreateDate => (is => 'ro', isa => 'Str', request_name => 'createDate', traits => ['NameInRequest']);
5             has InstanceCounts => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceCount]', request_name => 'instanceCounts', traits => ['NameInRequest']);
6             has PriceSchedules => (is => 'ro', isa => 'ArrayRef[Paws::EC2::PriceSchedule]', request_name => 'priceSchedules', traits => ['NameInRequest']);
7             has ReservedInstancesId => (is => 'ro', isa => 'Str', request_name => 'reservedInstancesId', traits => ['NameInRequest']);
8             has ReservedInstancesListingId => (is => 'ro', isa => 'Str', request_name => 'reservedInstancesListingId', traits => ['NameInRequest']);
9             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10             has StatusMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest']);
11             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
12             has UpdateDate => (is => 'ro', isa => 'Str', request_name => 'updateDate', traits => ['NameInRequest']);
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::EC2::ReservedInstancesListing
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::EC2::ReservedInstancesListing object:
31              
32             $service_obj->Method(Att1 => { ClientToken => $value, ..., UpdateDate => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ReservedInstancesListing object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->ClientToken
40              
41             =head1 DESCRIPTION
42              
43             This class has no description
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 ClientToken => Str
49              
50             A unique, case-sensitive key supplied by the client to ensure that the
51             request is idempotent. For more information, see Ensuring Idempotency.
52              
53              
54             =head2 CreateDate => Str
55              
56             The time the listing was created.
57              
58              
59             =head2 InstanceCounts => ArrayRef[L<Paws::EC2::InstanceCount>]
60              
61             The number of instances in this state.
62              
63              
64             =head2 PriceSchedules => ArrayRef[L<Paws::EC2::PriceSchedule>]
65              
66             The price of the Reserved Instance listing.
67              
68              
69             =head2 ReservedInstancesId => Str
70              
71             The ID of the Reserved Instance.
72              
73              
74             =head2 ReservedInstancesListingId => Str
75              
76             The ID of the Reserved Instance listing.
77              
78              
79             =head2 Status => Str
80              
81             The status of the Reserved Instance listing.
82              
83              
84             =head2 StatusMessage => Str
85              
86             The reason for the current status of the Reserved Instance listing. The
87             response can be blank.
88              
89              
90             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
91              
92             Any tags assigned to the resource.
93              
94              
95             =head2 UpdateDate => Str
96              
97             The last modified timestamp of the listing.
98              
99              
100              
101             =head1 SEE ALSO
102              
103             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
104              
105             =head1 BUGS and CONTRIBUTIONS
106              
107             The source code is located here: https://github.com/pplu/aws-sdk-perl
108              
109             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
110              
111             =cut