File Coverage

blib/lib/Paws/AppStream.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::AppStream;
2 1     1   10663 use Moose;
  1         3  
  1         11  
3             sub service { 'appstream2' }
4             sub version { '2016-12-01' }
5             sub target_prefix { 'PhotonAdminProxyService' }
6             sub json_version { "1.1" }
7             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8             has retry => (is => 'ro', isa => 'HashRef', default => sub {
9             { base => 'rand', type => 'exponential', growth_factor => 2 }
10             });
11             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12             ] });
13              
14             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse';
15              
16            
17             sub AssociateFleet {
18             my $self = shift;
19             my $call_object = $self->new_with_coercions('Paws::AppStream::AssociateFleet', @_);
20             return $self->caller->do_call($self, $call_object);
21             }
22             sub CreateDirectoryConfig {
23             my $self = shift;
24             my $call_object = $self->new_with_coercions('Paws::AppStream::CreateDirectoryConfig', @_);
25             return $self->caller->do_call($self, $call_object);
26             }
27             sub CreateFleet {
28             my $self = shift;
29             my $call_object = $self->new_with_coercions('Paws::AppStream::CreateFleet', @_);
30             return $self->caller->do_call($self, $call_object);
31             }
32             sub CreateImageBuilder {
33             my $self = shift;
34             my $call_object = $self->new_with_coercions('Paws::AppStream::CreateImageBuilder', @_);
35             return $self->caller->do_call($self, $call_object);
36             }
37             sub CreateImageBuilderStreamingURL {
38             my $self = shift;
39             my $call_object = $self->new_with_coercions('Paws::AppStream::CreateImageBuilderStreamingURL', @_);
40             return $self->caller->do_call($self, $call_object);
41             }
42             sub CreateStack {
43             my $self = shift;
44             my $call_object = $self->new_with_coercions('Paws::AppStream::CreateStack', @_);
45             return $self->caller->do_call($self, $call_object);
46             }
47             sub CreateStreamingURL {
48             my $self = shift;
49             my $call_object = $self->new_with_coercions('Paws::AppStream::CreateStreamingURL', @_);
50             return $self->caller->do_call($self, $call_object);
51             }
52             sub DeleteDirectoryConfig {
53             my $self = shift;
54             my $call_object = $self->new_with_coercions('Paws::AppStream::DeleteDirectoryConfig', @_);
55             return $self->caller->do_call($self, $call_object);
56             }
57             sub DeleteFleet {
58             my $self = shift;
59             my $call_object = $self->new_with_coercions('Paws::AppStream::DeleteFleet', @_);
60             return $self->caller->do_call($self, $call_object);
61             }
62             sub DeleteImage {
63             my $self = shift;
64             my $call_object = $self->new_with_coercions('Paws::AppStream::DeleteImage', @_);
65             return $self->caller->do_call($self, $call_object);
66             }
67             sub DeleteImageBuilder {
68             my $self = shift;
69             my $call_object = $self->new_with_coercions('Paws::AppStream::DeleteImageBuilder', @_);
70             return $self->caller->do_call($self, $call_object);
71             }
72             sub DeleteStack {
73             my $self = shift;
74             my $call_object = $self->new_with_coercions('Paws::AppStream::DeleteStack', @_);
75             return $self->caller->do_call($self, $call_object);
76             }
77             sub DescribeDirectoryConfigs {
78             my $self = shift;
79             my $call_object = $self->new_with_coercions('Paws::AppStream::DescribeDirectoryConfigs', @_);
80             return $self->caller->do_call($self, $call_object);
81             }
82             sub DescribeFleets {
83             my $self = shift;
84             my $call_object = $self->new_with_coercions('Paws::AppStream::DescribeFleets', @_);
85             return $self->caller->do_call($self, $call_object);
86             }
87             sub DescribeImageBuilders {
88             my $self = shift;
89             my $call_object = $self->new_with_coercions('Paws::AppStream::DescribeImageBuilders', @_);
90             return $self->caller->do_call($self, $call_object);
91             }
92             sub DescribeImages {
93             my $self = shift;
94             my $call_object = $self->new_with_coercions('Paws::AppStream::DescribeImages', @_);
95             return $self->caller->do_call($self, $call_object);
96             }
97             sub DescribeSessions {
98             my $self = shift;
99             my $call_object = $self->new_with_coercions('Paws::AppStream::DescribeSessions', @_);
100             return $self->caller->do_call($self, $call_object);
101             }
102             sub DescribeStacks {
103             my $self = shift;
104             my $call_object = $self->new_with_coercions('Paws::AppStream::DescribeStacks', @_);
105             return $self->caller->do_call($self, $call_object);
106             }
107             sub DisassociateFleet {
108             my $self = shift;
109             my $call_object = $self->new_with_coercions('Paws::AppStream::DisassociateFleet', @_);
110             return $self->caller->do_call($self, $call_object);
111             }
112             sub ExpireSession {
113             my $self = shift;
114             my $call_object = $self->new_with_coercions('Paws::AppStream::ExpireSession', @_);
115             return $self->caller->do_call($self, $call_object);
116             }
117             sub ListAssociatedFleets {
118             my $self = shift;
119             my $call_object = $self->new_with_coercions('Paws::AppStream::ListAssociatedFleets', @_);
120             return $self->caller->do_call($self, $call_object);
121             }
122             sub ListAssociatedStacks {
123             my $self = shift;
124             my $call_object = $self->new_with_coercions('Paws::AppStream::ListAssociatedStacks', @_);
125             return $self->caller->do_call($self, $call_object);
126             }
127             sub StartFleet {
128             my $self = shift;
129             my $call_object = $self->new_with_coercions('Paws::AppStream::StartFleet', @_);
130             return $self->caller->do_call($self, $call_object);
131             }
132             sub StartImageBuilder {
133             my $self = shift;
134             my $call_object = $self->new_with_coercions('Paws::AppStream::StartImageBuilder', @_);
135             return $self->caller->do_call($self, $call_object);
136             }
137             sub StopFleet {
138             my $self = shift;
139             my $call_object = $self->new_with_coercions('Paws::AppStream::StopFleet', @_);
140             return $self->caller->do_call($self, $call_object);
141             }
142             sub StopImageBuilder {
143             my $self = shift;
144             my $call_object = $self->new_with_coercions('Paws::AppStream::StopImageBuilder', @_);
145             return $self->caller->do_call($self, $call_object);
146             }
147             sub UpdateDirectoryConfig {
148             my $self = shift;
149             my $call_object = $self->new_with_coercions('Paws::AppStream::UpdateDirectoryConfig', @_);
150             return $self->caller->do_call($self, $call_object);
151             }
152             sub UpdateFleet {
153             my $self = shift;
154             my $call_object = $self->new_with_coercions('Paws::AppStream::UpdateFleet', @_);
155             return $self->caller->do_call($self, $call_object);
156             }
157             sub UpdateStack {
158             my $self = shift;
159             my $call_object = $self->new_with_coercions('Paws::AppStream::UpdateStack', @_);
160             return $self->caller->do_call($self, $call_object);
161             }
162            
163              
164              
165             sub operations { qw/AssociateFleet CreateDirectoryConfig CreateFleet CreateImageBuilder CreateImageBuilderStreamingURL CreateStack CreateStreamingURL DeleteDirectoryConfig DeleteFleet DeleteImage DeleteImageBuilder DeleteStack DescribeDirectoryConfigs DescribeFleets DescribeImageBuilders DescribeImages DescribeSessions DescribeStacks DisassociateFleet ExpireSession ListAssociatedFleets ListAssociatedStacks StartFleet StartImageBuilder StopFleet StopImageBuilder UpdateDirectoryConfig UpdateFleet UpdateStack / }
166              
167             1;
168              
169             ### main pod documentation begin ###
170              
171             =head1 NAME
172              
173             Paws::AppStream - Perl Interface to AWS Amazon AppStream
174              
175             =head1 SYNOPSIS
176              
177             use Paws;
178              
179             my $obj = Paws->service('AppStream');
180             my $res = $obj->Method(
181             Arg1 => $val1,
182             Arg2 => [ 'V1', 'V2' ],
183             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
184             # of the arguments type
185             Arg3 => { Att1 => 'Val1' },
186             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
187             # the constructor of the arguments type
188             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
189             );
190              
191             =head1 DESCRIPTION
192              
193             Amazon AppStream 2.0
194              
195             You can use Amazon AppStream 2.0 to stream desktop applications to any
196             device running a web browser, without rewriting them.
197              
198             =head1 METHODS
199              
200             =head2 AssociateFleet(FleetName => Str, StackName => Str)
201              
202             Each argument is described in detail in: L<Paws::AppStream::AssociateFleet>
203              
204             Returns: a L<Paws::AppStream::AssociateFleetResult> instance
205              
206             Associates the specified fleet with the specified stack.
207              
208              
209             =head2 CreateDirectoryConfig(DirectoryName => Str, OrganizationalUnitDistinguishedNames => ArrayRef[Str|Undef], ServiceAccountCredentials => L<Paws::AppStream::ServiceAccountCredentials>)
210              
211             Each argument is described in detail in: L<Paws::AppStream::CreateDirectoryConfig>
212              
213             Returns: a L<Paws::AppStream::CreateDirectoryConfigResult> instance
214              
215             Creates a directory configuration.
216              
217              
218             =head2 CreateFleet(ComputeCapacity => L<Paws::AppStream::ComputeCapacity>, ImageName => Str, InstanceType => Str, Name => Str, [Description => Str, DisconnectTimeoutInSeconds => Int, DisplayName => Str, DomainJoinInfo => L<Paws::AppStream::DomainJoinInfo>, EnableDefaultInternetAccess => Bool, FleetType => Str, MaxUserDurationInSeconds => Int, VpcConfig => L<Paws::AppStream::VpcConfig>])
219              
220             Each argument is described in detail in: L<Paws::AppStream::CreateFleet>
221              
222             Returns: a L<Paws::AppStream::CreateFleetResult> instance
223              
224             Creates a fleet.
225              
226              
227             =head2 CreateImageBuilder(ImageName => Str, InstanceType => Str, Name => Str, [Description => Str, DisplayName => Str, DomainJoinInfo => L<Paws::AppStream::DomainJoinInfo>, EnableDefaultInternetAccess => Bool, VpcConfig => L<Paws::AppStream::VpcConfig>])
228              
229             Each argument is described in detail in: L<Paws::AppStream::CreateImageBuilder>
230              
231             Returns: a L<Paws::AppStream::CreateImageBuilderResult> instance
232              
233            
234              
235              
236             =head2 CreateImageBuilderStreamingURL(Name => Str, [Validity => Int])
237              
238             Each argument is described in detail in: L<Paws::AppStream::CreateImageBuilderStreamingURL>
239              
240             Returns: a L<Paws::AppStream::CreateImageBuilderStreamingURLResult> instance
241              
242            
243              
244              
245             =head2 CreateStack(Name => Str, [Description => Str, DisplayName => Str, StorageConnectors => ArrayRef[L<Paws::AppStream::StorageConnector>]])
246              
247             Each argument is described in detail in: L<Paws::AppStream::CreateStack>
248              
249             Returns: a L<Paws::AppStream::CreateStackResult> instance
250              
251             Creates a stack.
252              
253              
254             =head2 CreateStreamingURL(FleetName => Str, StackName => Str, UserId => Str, [ApplicationId => Str, SessionContext => Str, Validity => Int])
255              
256             Each argument is described in detail in: L<Paws::AppStream::CreateStreamingURL>
257              
258             Returns: a L<Paws::AppStream::CreateStreamingURLResult> instance
259              
260             Creates a URL to start a streaming session for the specified user.
261              
262             By default, the URL is valid only for one minute from the time that it
263             is generated.
264              
265              
266             =head2 DeleteDirectoryConfig(DirectoryName => Str)
267              
268             Each argument is described in detail in: L<Paws::AppStream::DeleteDirectoryConfig>
269              
270             Returns: a L<Paws::AppStream::DeleteDirectoryConfigResult> instance
271              
272             Deletes the specified directory configuration.
273              
274              
275             =head2 DeleteFleet(Name => Str)
276              
277             Each argument is described in detail in: L<Paws::AppStream::DeleteFleet>
278              
279             Returns: a L<Paws::AppStream::DeleteFleetResult> instance
280              
281             Deletes the specified fleet.
282              
283              
284             =head2 DeleteImage(Name => Str)
285              
286             Each argument is described in detail in: L<Paws::AppStream::DeleteImage>
287              
288             Returns: a L<Paws::AppStream::DeleteImageResult> instance
289              
290            
291              
292              
293             =head2 DeleteImageBuilder(Name => Str)
294              
295             Each argument is described in detail in: L<Paws::AppStream::DeleteImageBuilder>
296              
297             Returns: a L<Paws::AppStream::DeleteImageBuilderResult> instance
298              
299            
300              
301              
302             =head2 DeleteStack(Name => Str)
303              
304             Each argument is described in detail in: L<Paws::AppStream::DeleteStack>
305              
306             Returns: a L<Paws::AppStream::DeleteStackResult> instance
307              
308             Deletes the specified stack. After this operation completes, the
309             environment can no longer be activated and any reservations made for
310             the stack are released.
311              
312              
313             =head2 DescribeDirectoryConfigs([DirectoryNames => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
314              
315             Each argument is described in detail in: L<Paws::AppStream::DescribeDirectoryConfigs>
316              
317             Returns: a L<Paws::AppStream::DescribeDirectoryConfigsResult> instance
318              
319             Describes the specified directory configurations.
320              
321              
322             =head2 DescribeFleets([Names => ArrayRef[Str|Undef], NextToken => Str])
323              
324             Each argument is described in detail in: L<Paws::AppStream::DescribeFleets>
325              
326             Returns: a L<Paws::AppStream::DescribeFleetsResult> instance
327              
328             Describes the specified fleets or all fleets in the account.
329              
330              
331             =head2 DescribeImageBuilders([MaxResults => Int, Names => ArrayRef[Str|Undef], NextToken => Str])
332              
333             Each argument is described in detail in: L<Paws::AppStream::DescribeImageBuilders>
334              
335             Returns: a L<Paws::AppStream::DescribeImageBuildersResult> instance
336              
337            
338              
339              
340             =head2 DescribeImages([Names => ArrayRef[Str|Undef]])
341              
342             Each argument is described in detail in: L<Paws::AppStream::DescribeImages>
343              
344             Returns: a L<Paws::AppStream::DescribeImagesResult> instance
345              
346             Describes the specified images or all images in the account.
347              
348              
349             =head2 DescribeSessions(FleetName => Str, StackName => Str, [AuthenticationType => Str, Limit => Int, NextToken => Str, UserId => Str])
350              
351             Each argument is described in detail in: L<Paws::AppStream::DescribeSessions>
352              
353             Returns: a L<Paws::AppStream::DescribeSessionsResult> instance
354              
355             Describes the streaming sessions for the specified stack and fleet. If
356             a user ID is provided, only the streaming sessions for only that user
357             are returned. If an authentication type is not provided, the default is
358             to authenticate users using a streaming URL.
359              
360              
361             =head2 DescribeStacks([Names => ArrayRef[Str|Undef], NextToken => Str])
362              
363             Each argument is described in detail in: L<Paws::AppStream::DescribeStacks>
364              
365             Returns: a L<Paws::AppStream::DescribeStacksResult> instance
366              
367             Describes the specified stacks or all stacks in the account.
368              
369              
370             =head2 DisassociateFleet(FleetName => Str, StackName => Str)
371              
372             Each argument is described in detail in: L<Paws::AppStream::DisassociateFleet>
373              
374             Returns: a L<Paws::AppStream::DisassociateFleetResult> instance
375              
376             Disassociates the specified fleet from the specified stack.
377              
378              
379             =head2 ExpireSession(SessionId => Str)
380              
381             Each argument is described in detail in: L<Paws::AppStream::ExpireSession>
382              
383             Returns: a L<Paws::AppStream::ExpireSessionResult> instance
384              
385             Stops the specified streaming session.
386              
387              
388             =head2 ListAssociatedFleets(StackName => Str, [NextToken => Str])
389              
390             Each argument is described in detail in: L<Paws::AppStream::ListAssociatedFleets>
391              
392             Returns: a L<Paws::AppStream::ListAssociatedFleetsResult> instance
393              
394             Lists the fleets associated with the specified stack.
395              
396              
397             =head2 ListAssociatedStacks(FleetName => Str, [NextToken => Str])
398              
399             Each argument is described in detail in: L<Paws::AppStream::ListAssociatedStacks>
400              
401             Returns: a L<Paws::AppStream::ListAssociatedStacksResult> instance
402              
403             Lists the stacks associated with the specified fleet.
404              
405              
406             =head2 StartFleet(Name => Str)
407              
408             Each argument is described in detail in: L<Paws::AppStream::StartFleet>
409              
410             Returns: a L<Paws::AppStream::StartFleetResult> instance
411              
412             Starts the specified fleet.
413              
414              
415             =head2 StartImageBuilder(Name => Str)
416              
417             Each argument is described in detail in: L<Paws::AppStream::StartImageBuilder>
418              
419             Returns: a L<Paws::AppStream::StartImageBuilderResult> instance
420              
421            
422              
423              
424             =head2 StopFleet(Name => Str)
425              
426             Each argument is described in detail in: L<Paws::AppStream::StopFleet>
427              
428             Returns: a L<Paws::AppStream::StopFleetResult> instance
429              
430             Stops the specified fleet.
431              
432              
433             =head2 StopImageBuilder(Name => Str)
434              
435             Each argument is described in detail in: L<Paws::AppStream::StopImageBuilder>
436              
437             Returns: a L<Paws::AppStream::StopImageBuilderResult> instance
438              
439            
440              
441              
442             =head2 UpdateDirectoryConfig(DirectoryName => Str, [OrganizationalUnitDistinguishedNames => ArrayRef[Str|Undef], ServiceAccountCredentials => L<Paws::AppStream::ServiceAccountCredentials>])
443              
444             Each argument is described in detail in: L<Paws::AppStream::UpdateDirectoryConfig>
445              
446             Returns: a L<Paws::AppStream::UpdateDirectoryConfigResult> instance
447              
448             Updates the specified directory configuration.
449              
450              
451             =head2 UpdateFleet(Name => Str, [AttributesToDelete => ArrayRef[Str|Undef], ComputeCapacity => L<Paws::AppStream::ComputeCapacity>, DeleteVpcConfig => Bool, Description => Str, DisconnectTimeoutInSeconds => Int, DisplayName => Str, DomainJoinInfo => L<Paws::AppStream::DomainJoinInfo>, EnableDefaultInternetAccess => Bool, ImageName => Str, InstanceType => Str, MaxUserDurationInSeconds => Int, VpcConfig => L<Paws::AppStream::VpcConfig>])
452              
453             Each argument is described in detail in: L<Paws::AppStream::UpdateFleet>
454              
455             Returns: a L<Paws::AppStream::UpdateFleetResult> instance
456              
457             Updates the specified fleet.
458              
459             If the fleet is in the C<STOPPED> state, you can update any attribute
460             except the fleet name. If the fleet is in the C<RUNNING> state, you can
461             update the C<DisplayName> and C<ComputeCapacity> attributes. If the
462             fleet is in the C<STARTING> or C<STOPPING> state, you can't update it.
463              
464              
465             =head2 UpdateStack(Name => Str, [DeleteStorageConnectors => Bool, Description => Str, DisplayName => Str, StorageConnectors => ArrayRef[L<Paws::AppStream::StorageConnector>]])
466              
467             Each argument is described in detail in: L<Paws::AppStream::UpdateStack>
468              
469             Returns: a L<Paws::AppStream::UpdateStackResult> instance
470              
471             Updates the specified stack.
472              
473              
474              
475              
476             =head1 PAGINATORS
477              
478             Paginator methods are helpers that repetively call methods that return partial results
479              
480              
481              
482              
483             =head1 SEE ALSO
484              
485             This service class forms part of L<Paws>
486              
487             =head1 BUGS and CONTRIBUTIONS
488              
489             The source code is located here: https://github.com/pplu/aws-sdk-perl
490              
491             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
492              
493             =cut
494