File Coverage

blib/lib/Paws/EC2/SpotFleetRequestConfig.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             package Paws::EC2::SpotFleetRequestConfig;
2 1     1   599 use Moose;
  1         5  
  1         11  
3             has ActivityStatus => (is => 'ro', isa => 'Str', request_name => 'activityStatus', traits => ['NameInRequest']);
4             has CreateTime => (is => 'ro', isa => 'Str', request_name => 'createTime', traits => ['NameInRequest'], required => 1);
5             has SpotFleetRequestConfig => (is => 'ro', isa => 'Paws::EC2::SpotFleetRequestConfigData', request_name => 'spotFleetRequestConfig', traits => ['NameInRequest'], required => 1);
6             has SpotFleetRequestId => (is => 'ro', isa => 'Str', request_name => 'spotFleetRequestId', traits => ['NameInRequest'], required => 1);
7             has SpotFleetRequestState => (is => 'ro', isa => 'Str', request_name => 'spotFleetRequestState', traits => ['NameInRequest'], required => 1);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::EC2::SpotFleetRequestConfig
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::EC2::SpotFleetRequestConfig object:
26              
27             $service_obj->Method(Att1 => { ActivityStatus => $value, ..., SpotFleetRequestState => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotFleetRequestConfig object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->ActivityStatus
35              
36             =head1 DESCRIPTION
37              
38             This class has no description
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 ActivityStatus => Str
44              
45             The progress of the Spot fleet request. If there is an error, the
46             status is C<error>. After all bids are placed, the status is
47             C<pending_fulfillment>. If the size of the fleet is equal to or greater
48             than its target capacity, the status is C<fulfilled>. If the size of
49             the fleet is decreased, the status is C<pending_termination> while Spot
50             instances are terminating.
51              
52              
53             =head2 B<REQUIRED> CreateTime => Str
54              
55             The creation date and time of the request.
56              
57              
58             =head2 B<REQUIRED> SpotFleetRequestConfig => L<Paws::EC2::SpotFleetRequestConfigData>
59              
60             Information about the configuration of the Spot fleet request.
61              
62              
63             =head2 B<REQUIRED> SpotFleetRequestId => Str
64              
65             The ID of the Spot fleet request.
66              
67              
68             =head2 B<REQUIRED> SpotFleetRequestState => Str
69              
70             The state of the Spot fleet request.
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut