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   524 use Moose;
  1         3  
  1         8  
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 EnableDefaultInternetAccess => (is => 'ro', isa => 'Bool');
9             has ImageName => (is => 'ro', isa => 'Str', required => 1);
10             has InstanceType => (is => 'ro', isa => 'Str', required => 1);
11             has MaxUserDurationInSeconds => (is => 'ro', isa => 'Int');
12             has Name => (is => 'ro', isa => 'Str', required => 1);
13             has VpcConfig => (is => 'ro', isa => 'Paws::AppStream::VpcConfig');
14              
15 1     1   6354 use MooseX::ClassAttribute;
  1         2  
  1         9  
16              
17             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateFleet');
18             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppStream::CreateFleetResult');
19             class_has _result_key => (isa => 'Str', is => 'ro');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::AppStream::CreateFleet - Arguments for method CreateFleet on Paws::AppStream
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method CreateFleet on the
31             Amazon AppStream service. Use the attributes of this class
32             as arguments to method CreateFleet.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFleet.
35              
36             As an example:
37              
38             $service_obj->CreateFleet(Att1 => $value1, Att2 => $value2, ...);
39              
40             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.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> ComputeCapacity => L<Paws::AppStream::ComputeCapacity>
46              
47             The parameters for the capacity allocated to the fleet.
48              
49              
50              
51             =head2 Description => Str
52              
53             The description of the fleet.
54              
55              
56              
57             =head2 DisconnectTimeoutInSeconds => Int
58              
59             The time after disconnection when a session is considered to have
60             ended. If a user who got disconnected reconnects within this timeout
61             interval, the user is connected back to their previous session. The
62             input can be any numeric value in seconds between 60 and 57600.
63              
64              
65              
66             =head2 DisplayName => Str
67              
68             The display name of the fleet.
69              
70              
71              
72             =head2 EnableDefaultInternetAccess => Bool
73              
74             Enables or disables default Internet access for the fleet.
75              
76              
77              
78             =head2 B<REQUIRED> ImageName => Str
79              
80             Unique name of the image used by the fleet.
81              
82              
83              
84             =head2 B<REQUIRED> InstanceType => Str
85              
86             The instance type of compute resources for the fleet. Fleet instances
87             are launched from this instance type.
88              
89              
90              
91             =head2 MaxUserDurationInSeconds => Int
92              
93             The maximum time for which a streaming session can run. The input can
94             be any numeric value in seconds between 600 and 57600.
95              
96              
97              
98             =head2 B<REQUIRED> Name => Str
99              
100             A unique identifier for the fleet.
101              
102              
103              
104             =head2 VpcConfig => L<Paws::AppStream::VpcConfig>
105              
106             The VPC configuration for the fleet.
107              
108              
109              
110              
111             =head1 SEE ALSO
112              
113             This class forms part of L<Paws>, documenting arguments for method CreateFleet in L<Paws::AppStream>
114              
115             =head1 BUGS and CONTRIBUTIONS
116              
117             The source code is located here: https://github.com/pplu/aws-sdk-perl
118              
119             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
120              
121             =cut
122