File Coverage

blib/lib/Paws/EC2/DescribeScheduledInstanceAvailability.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::DescribeScheduledInstanceAvailability;
3 1     1   540 use Moose;
  1         3  
  1         7  
4             has DryRun => (is => 'ro', isa => 'Bool');
5             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6             has FirstSlotStartTimeRange => (is => 'ro', isa => 'Paws::EC2::SlotDateTimeRangeRequest', required => 1);
7             has MaxResults => (is => 'ro', isa => 'Int');
8             has MaxSlotDurationInHours => (is => 'ro', isa => 'Int');
9             has MinSlotDurationInHours => (is => 'ro', isa => 'Int');
10             has NextToken => (is => 'ro', isa => 'Str');
11             has Recurrence => (is => 'ro', isa => 'Paws::EC2::ScheduledInstanceRecurrenceRequest', required => 1);
12              
13 1     1   6215 use MooseX::ClassAttribute;
  1         3  
  1         8  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeScheduledInstanceAvailability');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeScheduledInstanceAvailabilityResult');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::EC2::DescribeScheduledInstanceAvailability - Arguments for method DescribeScheduledInstanceAvailability on Paws::EC2
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method DescribeScheduledInstanceAvailability on the
29             Amazon Elastic Compute Cloud service. Use the attributes of this class
30             as arguments to method DescribeScheduledInstanceAvailability.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeScheduledInstanceAvailability.
33              
34             As an example:
35              
36             $service_obj->DescribeScheduledInstanceAvailability(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 DryRun => Bool
44              
45             Checks whether you have the required permissions for the action,
46             without actually making the request, and provides an error response. If
47             you have the required permissions, the error response is
48             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
49              
50              
51              
52             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
53              
54             One or more filters.
55              
56             =over
57              
58             =item *
59              
60             C<availability-zone> - The Availability Zone (for example,
61             C<us-west-2a>).
62              
63             =item *
64              
65             C<instance-type> - The instance type (for example, C<c4.large>).
66              
67             =item *
68              
69             C<network-platform> - The network platform (C<EC2-Classic> or
70             C<EC2-VPC>).
71              
72             =item *
73              
74             C<platform> - The platform (C<Linux/UNIX> or C<Windows>).
75              
76             =back
77              
78              
79              
80              
81             =head2 B<REQUIRED> FirstSlotStartTimeRange => L<Paws::EC2::SlotDateTimeRangeRequest>
82              
83             The time period for the first schedule to start.
84              
85              
86              
87             =head2 MaxResults => Int
88              
89             The maximum number of results to return in a single call. This value
90             can be between 5 and 300. The default value is 300. To retrieve the
91             remaining results, make another call with the returned C<NextToken>
92             value.
93              
94              
95              
96             =head2 MaxSlotDurationInHours => Int
97              
98             The maximum available duration, in hours. This value must be greater
99             than C<MinSlotDurationInHours> and less than 1,720.
100              
101              
102              
103             =head2 MinSlotDurationInHours => Int
104              
105             The minimum available duration, in hours. The minimum required duration
106             is 1,200 hours per year. For example, the minimum daily schedule is 4
107             hours, the minimum weekly schedule is 24 hours, and the minimum monthly
108             schedule is 100 hours.
109              
110              
111              
112             =head2 NextToken => Str
113              
114             The token for the next set of results.
115              
116              
117              
118             =head2 B<REQUIRED> Recurrence => L<Paws::EC2::ScheduledInstanceRecurrenceRequest>
119              
120             The schedule recurrence.
121              
122              
123              
124              
125             =head1 SEE ALSO
126              
127             This class forms part of L<Paws>, documenting arguments for method DescribeScheduledInstanceAvailability in L<Paws::EC2>
128              
129             =head1 BUGS and CONTRIBUTIONS
130              
131             The source code is located here: https://github.com/pplu/aws-sdk-perl
132              
133             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
134              
135             =cut
136