File Coverage

blib/lib/Paws/AppStream/CreateFleet.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::AppStream::CreateFleet;
3 1     1   491 use Moose;
  1         4  
  1         10  
4             has ComputeCapacity => (is => 'ro', isa => 'Paws::AppStream::ComputeCapacity', required => 1);
5             has Description => (is => 'ro', isa => 'Str');
6             has DisconnectTimeoutInSeconds => (is => 'ro', isa => 'Int');
7             has DisplayName => (is => 'ro', isa => 'Str');
8             has DomainJoinInfo => (is => 'ro', isa => 'Paws::AppStream::DomainJoinInfo');
9             has EnableDefaultInternetAccess => (is => 'ro', isa => 'Bool');
10             has FleetType => (is => 'ro', isa => 'Str');
11             has ImageName => (is => 'ro', isa => 'Str', required => 1);
12             has InstanceType => (is => 'ro', isa => 'Str', required => 1);
13             has MaxUserDurationInSeconds => (is => 'ro', isa => 'Int');
14             has Name => (is => 'ro', isa => 'Str', required => 1);
15             has VpcConfig => (is => 'ro', isa => 'Paws::AppStream::VpcConfig');
16              
17 1     1   6645 use MooseX::ClassAttribute;
  1         3  
  1         10  
18              
19             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateFleet');
20             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppStream::CreateFleetResult');
21             class_has _result_key => (isa => 'Str', is => 'ro');
22             1;
23              
24             ### main pod documentation begin ###
25              
26             =head1 NAME
27              
28             Paws::AppStream::CreateFleet - Arguments for method CreateFleet on Paws::AppStream
29              
30             =head1 DESCRIPTION
31              
32             This class represents the parameters used for calling the method CreateFleet on the
33             Amazon AppStream service. Use the attributes of this class
34             as arguments to method CreateFleet.
35              
36             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFleet.
37              
38             As an example:
39              
40             $service_obj->CreateFleet(Att1 => $value1, Att2 => $value2, ...);
41              
42             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.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 B<REQUIRED> ComputeCapacity => L<Paws::AppStream::ComputeCapacity>
48              
49             The desired capacity for the fleet.
50              
51              
52              
53             =head2 Description => Str
54              
55             The description displayed to end users.
56              
57              
58              
59             =head2 DisconnectTimeoutInSeconds => Int
60              
61             The time after disconnection when a session is considered to have
62             ended, in seconds. If a user who was disconnected reconnects within
63             this time interval, the user is connected to their previous session.
64             Specify a value between 60 and 57600.
65              
66              
67              
68             =head2 DisplayName => Str
69              
70             The fleet name displayed to end users.
71              
72              
73              
74             =head2 DomainJoinInfo => L<Paws::AppStream::DomainJoinInfo>
75              
76             The information needed for streaming instances to join a domain.
77              
78              
79              
80             =head2 EnableDefaultInternetAccess => Bool
81              
82             Enables or disables default internet access for the fleet.
83              
84              
85              
86             =head2 FleetType => Str
87              
88              
89              
90             Valid values are: C<"ALWAYS_ON">, C<"ON_DEMAND">
91              
92             =head2 B<REQUIRED> ImageName => Str
93              
94             The name of the image used by the fleet.
95              
96              
97              
98             =head2 B<REQUIRED> InstanceType => Str
99              
100             The instance type to use when launching fleet instances. The following
101             instance types are available:
102              
103             =over
104              
105             =item *
106              
107             stream.standard.medium
108              
109             =item *
110              
111             stream.standard.large
112              
113             =item *
114              
115             stream.compute.large
116              
117             =item *
118              
119             stream.compute.xlarge
120              
121             =item *
122              
123             stream.compute.2xlarge
124              
125             =item *
126              
127             stream.compute.4xlarge
128              
129             =item *
130              
131             stream.compute.8xlarge
132              
133             =item *
134              
135             stream.memory.large
136              
137             =item *
138              
139             stream.memory.xlarge
140              
141             =item *
142              
143             stream.memory.2xlarge
144              
145             =item *
146              
147             stream.memory.4xlarge
148              
149             =item *
150              
151             stream.memory.8xlarge
152              
153             =item *
154              
155             stream.graphics-design.large
156              
157             =item *
158              
159             stream.graphics-design.xlarge
160              
161             =item *
162              
163             stream.graphics-design.2xlarge
164              
165             =item *
166              
167             stream.graphics-design.4xlarge
168              
169             =item *
170              
171             stream.graphics-desktop.2xlarge
172              
173             =item *
174              
175             stream.graphics-pro.4xlarge
176              
177             =item *
178              
179             stream.graphics-pro.8xlarge
180              
181             =item *
182              
183             stream.graphics-pro.16xlarge
184              
185             =back
186              
187              
188              
189              
190             =head2 MaxUserDurationInSeconds => Int
191              
192             The maximum time that a streaming session can run, in seconds. Specify
193             a value between 600 and 57600.
194              
195              
196              
197             =head2 B<REQUIRED> Name => Str
198              
199             A unique name for the fleet.
200              
201              
202              
203             =head2 VpcConfig => L<Paws::AppStream::VpcConfig>
204              
205             The VPC configuration for the fleet.
206              
207              
208              
209              
210             =head1 SEE ALSO
211              
212             This class forms part of L<Paws>, documenting arguments for method CreateFleet in L<Paws::AppStream>
213              
214             =head1 BUGS and CONTRIBUTIONS
215              
216             The source code is located here: https://github.com/pplu/aws-sdk-perl
217              
218             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
219              
220             =cut
221