File Coverage

blib/lib/Paws/EC2/DescribeScheduledInstances.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::DescribeScheduledInstances;
3 1     1   938 use Moose;
  1         5  
  1         14  
4             has DryRun => (is => 'ro', isa => 'Bool');
5             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6             has MaxResults => (is => 'ro', isa => 'Int');
7             has NextToken => (is => 'ro', isa => 'Str');
8             has ScheduledInstanceIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ScheduledInstanceId' );
9             has SlotStartTimeRange => (is => 'ro', isa => 'Paws::EC2::SlotStartTimeRangeRequest');
10              
11 1     1   9403 use MooseX::ClassAttribute;
  1         5  
  1         14  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeScheduledInstances');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeScheduledInstancesResult');
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::DescribeScheduledInstances - Arguments for method DescribeScheduledInstances on Paws::EC2
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method DescribeScheduledInstances on the
27             Amazon Elastic Compute Cloud service. Use the attributes of this class
28             as arguments to method DescribeScheduledInstances.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeScheduledInstances.
31              
32             As an example:
33              
34             $service_obj->DescribeScheduledInstances(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 Filters => ArrayRef[L<Paws::EC2::Filter>]
51              
52             One or more filters.
53              
54             =over
55              
56             =item *
57              
58             C<availability-zone> - The Availability Zone (for example,
59             C<us-west-2a>).
60              
61             =item *
62              
63             C<instance-type> - The instance type (for example, C<c4.large>).
64              
65             =item *
66              
67             C<network-platform> - The network platform (C<EC2-Classic> or
68             C<EC2-VPC>).
69              
70             =item *
71              
72             C<platform> - The platform (C<Linux/UNIX> or C<Windows>).
73              
74             =back
75              
76              
77              
78              
79             =head2 MaxResults => Int
80              
81             The maximum number of results to return in a single call. This value
82             can be between 5 and 300. The default value is 100. To retrieve the
83             remaining results, make another call with the returned C<NextToken>
84             value.
85              
86              
87              
88             =head2 NextToken => Str
89              
90             The token for the next set of results.
91              
92              
93              
94             =head2 ScheduledInstanceIds => ArrayRef[Str|Undef]
95              
96             One or more Scheduled Instance IDs.
97              
98              
99              
100             =head2 SlotStartTimeRange => L<Paws::EC2::SlotStartTimeRangeRequest>
101              
102             The time period for the first schedule to start.
103              
104              
105              
106              
107             =head1 SEE ALSO
108              
109             This class forms part of L<Paws>, documenting arguments for method DescribeScheduledInstances in L<Paws::EC2>
110              
111             =head1 BUGS and CONTRIBUTIONS
112              
113             The source code is located here: https://github.com/pplu/aws-sdk-perl
114              
115             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
116              
117             =cut
118