blib/lib/Paws/WorkSpaces.pm untested

filter: Statementstmt 0.0% 0 / 334 Branchbran 0.0% 0 / 32 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 68 Podpod 0.0% 0 / 67 totaltotal 0.0% 0 / 501 CC 17 SCAR 15.8
CC
17
Cov
0%
DescribeAllAccountModifications
12.0
DescribeAllIpGroups
12.0
DescribeAllWorkspaceBundles
12.0
CRAP 4.9
1 package Paws::WorkSpaces;
2 use Moose;
3 sub service { 'workspaces' }
4 sub signing_name { 'workspaces' }
5 sub version { '2015-04-08' }
6 sub target_prefix { 'WorkspacesService' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub AssociateConnectionAlias {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::AssociateConnectionAlias', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub AssociateIpGroups {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::AssociateIpGroups', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub AuthorizeIpRules {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::AuthorizeIpRules', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub CopyWorkspaceImage {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::CopyWorkspaceImage', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub CreateConnectionAlias {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::CreateConnectionAlias', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub CreateIpGroup {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::CreateIpGroup', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub CreateTags {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::CreateTags', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub CreateWorkspaceBundle {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::CreateWorkspaceBundle', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub CreateWorkspaces {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::CreateWorkspaces', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub DeleteConnectionAlias {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DeleteConnectionAlias', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub DeleteIpGroup {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DeleteIpGroup', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub DeleteTags {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DeleteTags', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub DeleteWorkspaceBundle {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DeleteWorkspaceBundle', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub DeleteWorkspaceImage {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DeleteWorkspaceImage', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub DeregisterWorkspaceDirectory {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DeregisterWorkspaceDirectory', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub DescribeAccount {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeAccount', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub DescribeAccountModifications {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeAccountModifications', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub DescribeClientProperties {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeClientProperties', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub DescribeConnectionAliases {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeConnectionAliases', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub DescribeConnectionAliasPermissions {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeConnectionAliasPermissions', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub DescribeIpGroups {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeIpGroups', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub DescribeTags {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeTags', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub DescribeWorkspaceBundles {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeWorkspaceBundles', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub DescribeWorkspaceDirectories {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeWorkspaceDirectories', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub DescribeWorkspaceImagePermissions {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeWorkspaceImagePermissions', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub DescribeWorkspaceImages {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeWorkspaceImages', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148 sub DescribeWorkspaces {
149 my $self = shift;
150 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeWorkspaces', @_);
151 return $self->caller->do_call($self, $call_object);
152 }
153 sub DescribeWorkspacesConnectionStatus {
154 my $self = shift;
155 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeWorkspacesConnectionStatus', @_);
156 return $self->caller->do_call($self, $call_object);
157 }
158 sub DescribeWorkspaceSnapshots {
159 my $self = shift;
160 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DescribeWorkspaceSnapshots', @_);
161 return $self->caller->do_call($self, $call_object);
162 }
163 sub DisassociateConnectionAlias {
164 my $self = shift;
165 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DisassociateConnectionAlias', @_);
166 return $self->caller->do_call($self, $call_object);
167 }
168 sub DisassociateIpGroups {
169 my $self = shift;
170 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::DisassociateIpGroups', @_);
171 return $self->caller->do_call($self, $call_object);
172 }
173 sub ImportWorkspaceImage {
174 my $self = shift;
175 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ImportWorkspaceImage', @_);
176 return $self->caller->do_call($self, $call_object);
177 }
178 sub ListAvailableManagementCidrRanges {
179 my $self = shift;
180 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ListAvailableManagementCidrRanges', @_);
181 return $self->caller->do_call($self, $call_object);
182 }
183 sub MigrateWorkspace {
184 my $self = shift;
185 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::MigrateWorkspace', @_);
186 return $self->caller->do_call($self, $call_object);
187 }
188 sub ModifyAccount {
189 my $self = shift;
190 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ModifyAccount', @_);
191 return $self->caller->do_call($self, $call_object);
192 }
193 sub ModifyClientProperties {
194 my $self = shift;
195 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ModifyClientProperties', @_);
196 return $self->caller->do_call($self, $call_object);
197 }
198 sub ModifySelfservicePermissions {
199 my $self = shift;
200 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ModifySelfservicePermissions', @_);
201 return $self->caller->do_call($self, $call_object);
202 }
203 sub ModifyWorkspaceAccessProperties {
204 my $self = shift;
205 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ModifyWorkspaceAccessProperties', @_);
206 return $self->caller->do_call($self, $call_object);
207 }
208 sub ModifyWorkspaceCreationProperties {
209 my $self = shift;
210 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ModifyWorkspaceCreationProperties', @_);
211 return $self->caller->do_call($self, $call_object);
212 }
213 sub ModifyWorkspaceProperties {
214 my $self = shift;
215 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ModifyWorkspaceProperties', @_);
216 return $self->caller->do_call($self, $call_object);
217 }
218 sub ModifyWorkspaceState {
219 my $self = shift;
220 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::ModifyWorkspaceState', @_);
221 return $self->caller->do_call($self, $call_object);
222 }
223 sub RebootWorkspaces {
224 my $self = shift;
225 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::RebootWorkspaces', @_);
226 return $self->caller->do_call($self, $call_object);
227 }
228 sub RebuildWorkspaces {
229 my $self = shift;
230 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::RebuildWorkspaces', @_);
231 return $self->caller->do_call($self, $call_object);
232 }
233 sub RegisterWorkspaceDirectory {
234 my $self = shift;
235 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::RegisterWorkspaceDirectory', @_);
236 return $self->caller->do_call($self, $call_object);
237 }
238 sub RestoreWorkspace {
239 my $self = shift;
240 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::RestoreWorkspace', @_);
241 return $self->caller->do_call($self, $call_object);
242 }
243 sub RevokeIpRules {
244 my $self = shift;
245 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::RevokeIpRules', @_);
246 return $self->caller->do_call($self, $call_object);
247 }
248 sub StartWorkspaces {
249 my $self = shift;
250 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::StartWorkspaces', @_);
251 return $self->caller->do_call($self, $call_object);
252 }
253 sub StopWorkspaces {
254 my $self = shift;
255 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::StopWorkspaces', @_);
256 return $self->caller->do_call($self, $call_object);
257 }
258 sub TerminateWorkspaces {
259 my $self = shift;
260 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::TerminateWorkspaces', @_);
261 return $self->caller->do_call($self, $call_object);
262 }
263 sub UpdateConnectionAliasPermission {
264 my $self = shift;
265 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::UpdateConnectionAliasPermission', @_);
266 return $self->caller->do_call($self, $call_object);
267 }
268 sub UpdateRulesOfIpGroup {
269 my $self = shift;
270 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::UpdateRulesOfIpGroup', @_);
271 return $self->caller->do_call($self, $call_object);
272 }
273 sub UpdateWorkspaceBundle {
274 my $self = shift;
275 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::UpdateWorkspaceBundle', @_);
276 return $self->caller->do_call($self, $call_object);
277 }
278 sub UpdateWorkspaceImagePermission {
279 my $self = shift;
280 my $call_object = $self->new_with_coercions('Paws::WorkSpaces::UpdateWorkspaceImagePermission', @_);
281 return $self->caller->do_call($self, $call_object);
282 }
283
284 sub DescribeAllAccountModifications {
285 my $self = shift;
286  
287 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
288 my $result = $self->DescribeAccountModifications(@_);
289 my $next_result = $result;
290  
291 if (not defined $callback) {
292 while ($next_result->NextToken) {
293 $next_result = $self->DescribeAccountModifications(@_, NextToken => $next_result->NextToken);
294 push @{ $result->AccountModifications }, @{ $next_result->AccountModifications };
295 }
296 return $result;
297 } else {
298 while ($result->NextToken) {
299 $callback->($_ => 'AccountModifications') foreach (@{ $result->AccountModifications });
300 $result = $self->DescribeAccountModifications(@_, NextToken => $result->NextToken);
301 }
302 $callback->($_ => 'AccountModifications') foreach (@{ $result->AccountModifications });
303 }
304  
305 return undef
306 }
307 sub DescribeAllIpGroups {
308 my $self = shift;
309  
310 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
311 my $result = $self->DescribeIpGroups(@_);
312 my $next_result = $result;
313  
314 if (not defined $callback) {
315 while ($next_result->NextToken) {
316 $next_result = $self->DescribeIpGroups(@_, NextToken => $next_result->NextToken);
317 push @{ $result->Result }, @{ $next_result->Result };
318 }
319 return $result;
320 } else {
321 while ($result->NextToken) {
322 $callback->($_ => 'Result') foreach (@{ $result->Result });
323 $result = $self->DescribeIpGroups(@_, NextToken => $result->NextToken);
324 }
325 $callback->($_ => 'Result') foreach (@{ $result->Result });
326 }
327  
328 return undef
329 }
330 sub DescribeAllWorkspaceBundles {
331 my $self = shift;
332  
333 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
334 my $result = $self->DescribeWorkspaceBundles(@_);
335 my $next_result = $result;
336  
337 if (not defined $callback) {
338 while ($next_result->NextToken) {
339 $next_result = $self->DescribeWorkspaceBundles(@_, NextToken => $next_result->NextToken);
340 push @{ $result->Bundles }, @{ $next_result->Bundles };
341 }
342 return $result;
343 } else {
344 while ($result->NextToken) {
345 $callback->($_ => 'Bundles') foreach (@{ $result->Bundles });
346 $result = $self->DescribeWorkspaceBundles(@_, NextToken => $result->NextToken);
347 }
348 $callback->($_ => 'Bundles') foreach (@{ $result->Bundles });
349 }
350  
351 return undef
352 }
353 sub DescribeAllWorkspaceDirectories {
354 my $self = shift;
355  
356 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
357 my $result = $self->DescribeWorkspaceDirectories(@_);
358 my $next_result = $result;
359  
360 if (not defined $callback) {
361 while ($next_result->NextToken) {
362 $next_result = $self->DescribeWorkspaceDirectories(@_, NextToken => $next_result->NextToken);
363 push @{ $result->Directories }, @{ $next_result->Directories };
364 }
365 return $result;
366 } else {
367 while ($result->NextToken) {
368 $callback->($_ => 'Directories') foreach (@{ $result->Directories });
369 $result = $self->DescribeWorkspaceDirectories(@_, NextToken => $result->NextToken);
370 }
371 $callback->($_ => 'Directories') foreach (@{ $result->Directories });
372 }
373  
374 return undef
375 }
376 sub DescribeAllWorkspaceImages {
377 my $self = shift;
378  
379 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
380 my $result = $self->DescribeWorkspaceImages(@_);
381 my $next_result = $result;
382  
383 if (not defined $callback) {
384 while ($next_result->NextToken) {
385 $next_result = $self->DescribeWorkspaceImages(@_, NextToken => $next_result->NextToken);
386 push @{ $result->Images }, @{ $next_result->Images };
387 }
388 return $result;
389 } else {
390 while ($result->NextToken) {
391 $callback->($_ => 'Images') foreach (@{ $result->Images });
392 $result = $self->DescribeWorkspaceImages(@_, NextToken => $result->NextToken);
393 }
394 $callback->($_ => 'Images') foreach (@{ $result->Images });
395 }
396  
397 return undef
398 }
399 sub DescribeAllWorkspaces {
400 my $self = shift;
401  
402 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
403 my $result = $self->DescribeWorkspaces(@_);
404 my $next_result = $result;
405  
406 if (not defined $callback) {
407 while ($next_result->NextToken) {
408 $next_result = $self->DescribeWorkspaces(@_, NextToken => $next_result->NextToken);
409 push @{ $result->Workspaces }, @{ $next_result->Workspaces };
410 }
411 return $result;
412 } else {
413 while ($result->NextToken) {
414 $callback->($_ => 'Workspaces') foreach (@{ $result->Workspaces });
415 $result = $self->DescribeWorkspaces(@_, NextToken => $result->NextToken);
416 }
417 $callback->($_ => 'Workspaces') foreach (@{ $result->Workspaces });
418 }
419  
420 return undef
421 }
422 sub DescribeAllWorkspacesConnectionStatus {
423 my $self = shift;
424  
425 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
426 my $result = $self->DescribeWorkspacesConnectionStatus(@_);
427 my $next_result = $result;
428  
429 if (not defined $callback) {
430 while ($next_result->NextToken) {
431 $next_result = $self->DescribeWorkspacesConnectionStatus(@_, NextToken => $next_result->NextToken);
432 push @{ $result->WorkspacesConnectionStatus }, @{ $next_result->WorkspacesConnectionStatus };
433 }
434 return $result;
435 } else {
436 while ($result->NextToken) {
437 $callback->($_ => 'WorkspacesConnectionStatus') foreach (@{ $result->WorkspacesConnectionStatus });
438 $result = $self->DescribeWorkspacesConnectionStatus(@_, NextToken => $result->NextToken);
439 }
440 $callback->($_ => 'WorkspacesConnectionStatus') foreach (@{ $result->WorkspacesConnectionStatus });
441 }
442  
443 return undef
444 }
445 sub ListAllAvailableManagementCidrRanges {
446 my $self = shift;
447  
448 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
449 my $result = $self->ListAvailableManagementCidrRanges(@_);
450 my $next_result = $result;
451  
452 if (not defined $callback) {
453 while ($next_result->NextToken) {
454 $next_result = $self->ListAvailableManagementCidrRanges(@_, NextToken => $next_result->NextToken);
455 push @{ $result->ManagementCidrRanges }, @{ $next_result->ManagementCidrRanges };
456 }
457 return $result;
458 } else {
459 while ($result->NextToken) {
460 $callback->($_ => 'ManagementCidrRanges') foreach (@{ $result->ManagementCidrRanges });
461 $result = $self->ListAvailableManagementCidrRanges(@_, NextToken => $result->NextToken);
462 }
463 $callback->($_ => 'ManagementCidrRanges') foreach (@{ $result->ManagementCidrRanges });
464 }
465  
466 return undef
467 }
468  
469  
470 sub operations { qw/AssociateConnectionAlias AssociateIpGroups AuthorizeIpRules CopyWorkspaceImage CreateConnectionAlias CreateIpGroup CreateTags CreateWorkspaceBundle CreateWorkspaces DeleteConnectionAlias DeleteIpGroup DeleteTags DeleteWorkspaceBundle DeleteWorkspaceImage DeregisterWorkspaceDirectory DescribeAccount DescribeAccountModifications DescribeClientProperties DescribeConnectionAliases DescribeConnectionAliasPermissions DescribeIpGroups DescribeTags DescribeWorkspaceBundles DescribeWorkspaceDirectories DescribeWorkspaceImagePermissions DescribeWorkspaceImages DescribeWorkspaces DescribeWorkspacesConnectionStatus DescribeWorkspaceSnapshots DisassociateConnectionAlias DisassociateIpGroups ImportWorkspaceImage ListAvailableManagementCidrRanges MigrateWorkspace ModifyAccount ModifyClientProperties ModifySelfservicePermissions ModifyWorkspaceAccessProperties ModifyWorkspaceCreationProperties ModifyWorkspaceProperties ModifyWorkspaceState RebootWorkspaces RebuildWorkspaces RegisterWorkspaceDirectory RestoreWorkspace RevokeIpRules StartWorkspaces StopWorkspaces TerminateWorkspaces UpdateConnectionAliasPermission UpdateRulesOfIpGroup UpdateWorkspaceBundle UpdateWorkspaceImagePermission / }
471  
472 1;
473  
474 ### main pod documentation begin ###
475  
476 =head1 NAME
477  
478 Paws::WorkSpaces - Perl Interface to AWS Amazon WorkSpaces
479  
480 =head1 SYNOPSIS
481  
482 use Paws;
483  
484 my $obj = Paws->service('WorkSpaces');
485 my $res = $obj->Method(
486 Arg1 => $val1,
487 Arg2 => [ 'V1', 'V2' ],
488 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
489 # of the arguments type
490 Arg3 => { Att1 => 'Val1' },
491 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
492 # the constructor of the arguments type
493 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
494 );
495  
496 =head1 DESCRIPTION
497  
498 Amazon WorkSpaces Service
499  
500 Amazon WorkSpaces enables you to provision virtual, cloud-based
501 Microsoft Windows and Amazon Linux desktops for your users.
502  
503 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08>
504  
505  
506 =head1 METHODS
507  
508 =head2 AssociateConnectionAlias
509  
510 =over
511  
512 =item AliasId => Str
513  
514 =item ResourceId => Str
515  
516  
517 =back
518  
519 Each argument is described in detail in: L<Paws::WorkSpaces::AssociateConnectionAlias>
520  
521 Returns: a L<Paws::WorkSpaces::AssociateConnectionAliasResult> instance
522  
523 Associates the specified connection alias with the specified directory
524 to enable cross-Region redirection. For more information, see
525 Cross-Region Redirection for Amazon WorkSpaces
526 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).
527  
528 Before performing this operation, call DescribeConnectionAliases
529 (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html)
530 to make sure that the current state of the connection alias is
531 C<CREATED>.
532  
533  
534 =head2 AssociateIpGroups
535  
536 =over
537  
538 =item DirectoryId => Str
539  
540 =item GroupIds => ArrayRef[Str|Undef]
541  
542  
543 =back
544  
545 Each argument is described in detail in: L<Paws::WorkSpaces::AssociateIpGroups>
546  
547 Returns: a L<Paws::WorkSpaces::AssociateIpGroupsResult> instance
548  
549 Associates the specified IP access control group with the specified
550 directory.
551  
552  
553 =head2 AuthorizeIpRules
554  
555 =over
556  
557 =item GroupId => Str
558  
559 =item UserRules => ArrayRef[L<Paws::WorkSpaces::IpRuleItem>]
560  
561  
562 =back
563  
564 Each argument is described in detail in: L<Paws::WorkSpaces::AuthorizeIpRules>
565  
566 Returns: a L<Paws::WorkSpaces::AuthorizeIpRulesResult> instance
567  
568 Adds one or more rules to the specified IP access control group.
569  
570 This action gives users permission to access their WorkSpaces from the
571 CIDR address ranges specified in the rules.
572  
573  
574 =head2 CopyWorkspaceImage
575  
576 =over
577  
578 =item Name => Str
579  
580 =item SourceImageId => Str
581  
582 =item SourceRegion => Str
583  
584 =item [Description => Str]
585  
586 =item [Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]]
587  
588  
589 =back
590  
591 Each argument is described in detail in: L<Paws::WorkSpaces::CopyWorkspaceImage>
592  
593 Returns: a L<Paws::WorkSpaces::CopyWorkspaceImageResult> instance
594  
595 Copies the specified image from the specified Region to the current
596 Region. For more information about copying images, see Copy a Custom
597 WorkSpaces Image
598 (https://docs.aws.amazon.com/workspaces/latest/adminguide/copy-custom-image.html).
599  
600 In the China (Ningxia) Region, you can copy images only within the same
601 Region.
602  
603 In the AWS GovCloud (US-West) Region, to copy images to and from other
604 AWS Regions, contact AWS Support.
605  
606 Before copying a shared image, be sure to verify that it has been
607 shared from the correct AWS account. To determine if an image has been
608 shared and to see the AWS account ID that owns an image, use the
609 DescribeWorkSpaceImages
610 (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html)
611 and DescribeWorkspaceImagePermissions
612 (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImagePermissions.html)
613 API operations.
614  
615  
616 =head2 CreateConnectionAlias
617  
618 =over
619  
620 =item ConnectionString => Str
621  
622 =item [Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]]
623  
624  
625 =back
626  
627 Each argument is described in detail in: L<Paws::WorkSpaces::CreateConnectionAlias>
628  
629 Returns: a L<Paws::WorkSpaces::CreateConnectionAliasResult> instance
630  
631 Creates the specified connection alias for use with cross-Region
632 redirection. For more information, see Cross-Region Redirection for
633 Amazon WorkSpaces
634 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).
635  
636  
637 =head2 CreateIpGroup
638  
639 =over
640  
641 =item GroupName => Str
642  
643 =item [GroupDesc => Str]
644  
645 =item [Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]]
646  
647 =item [UserRules => ArrayRef[L<Paws::WorkSpaces::IpRuleItem>]]
648  
649  
650 =back
651  
652 Each argument is described in detail in: L<Paws::WorkSpaces::CreateIpGroup>
653  
654 Returns: a L<Paws::WorkSpaces::CreateIpGroupResult> instance
655  
656 Creates an IP access control group.
657  
658 An IP access control group provides you with the ability to control the
659 IP addresses from which users are allowed to access their WorkSpaces.
660 To specify the CIDR address ranges, add rules to your IP access control
661 group and then associate the group with your directory. You can add
662 rules when you create the group or at any time using AuthorizeIpRules.
663  
664 There is a default IP access control group associated with your
665 directory. If you don't associate an IP access control group with your
666 directory, the default group is used. The default group includes a
667 default rule that allows users to access their WorkSpaces from
668 anywhere. You cannot modify the default IP access control group for
669 your directory.
670  
671  
672 =head2 CreateTags
673  
674 =over
675  
676 =item ResourceId => Str
677  
678 =item Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]
679  
680  
681 =back
682  
683 Each argument is described in detail in: L<Paws::WorkSpaces::CreateTags>
684  
685 Returns: a L<Paws::WorkSpaces::CreateTagsResult> instance
686  
687 Creates the specified tags for the specified WorkSpaces resource.
688  
689  
690 =head2 CreateWorkspaceBundle
691  
692 =over
693  
694 =item BundleDescription => Str
695  
696 =item BundleName => Str
697  
698 =item ComputeType => L<Paws::WorkSpaces::ComputeType>
699  
700 =item ImageId => Str
701  
702 =item UserStorage => L<Paws::WorkSpaces::UserStorage>
703  
704 =item [RootStorage => L<Paws::WorkSpaces::RootStorage>]
705  
706 =item [Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]]
707  
708  
709 =back
710  
711 Each argument is described in detail in: L<Paws::WorkSpaces::CreateWorkspaceBundle>
712  
713 Returns: a L<Paws::WorkSpaces::CreateWorkspaceBundleResult> instance
714  
715 Creates the specified WorkSpace bundle. For more information about
716 creating WorkSpace bundles, see Create a Custom WorkSpaces Image and
717 Bundle
718 (https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.html).
719  
720  
721 =head2 CreateWorkspaces
722  
723 =over
724  
725 =item Workspaces => ArrayRef[L<Paws::WorkSpaces::WorkspaceRequest>]
726  
727  
728 =back
729  
730 Each argument is described in detail in: L<Paws::WorkSpaces::CreateWorkspaces>
731  
732 Returns: a L<Paws::WorkSpaces::CreateWorkspacesResult> instance
733  
734 Creates one or more WorkSpaces.
735  
736 This operation is asynchronous and returns before the WorkSpaces are
737 created.
738  
739  
740 =head2 DeleteConnectionAlias
741  
742 =over
743  
744 =item AliasId => Str
745  
746  
747 =back
748  
749 Each argument is described in detail in: L<Paws::WorkSpaces::DeleteConnectionAlias>
750  
751 Returns: a L<Paws::WorkSpaces::DeleteConnectionAliasResult> instance
752  
753 Deletes the specified connection alias. For more information, see
754 Cross-Region Redirection for Amazon WorkSpaces
755 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).
756  
757 B<If you will no longer be using a fully qualified domain name (FQDN)
758 as the registration code for your WorkSpaces users, you must take
759 certain precautions to prevent potential security issues.> For more
760 information, see Security Considerations if You Stop Using Cross-Region
761 Redirection
762 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html#cross-region-redirection-security-considerations).
763  
764 To delete a connection alias that has been shared, the shared account
765 must first disassociate the connection alias from any directories it
766 has been associated with. Then you must unshare the connection alias
767 from the account it has been shared with. You can delete a connection
768 alias only after it is no longer shared with any accounts or associated
769 with any directories.
770  
771  
772 =head2 DeleteIpGroup
773  
774 =over
775  
776 =item GroupId => Str
777  
778  
779 =back
780  
781 Each argument is described in detail in: L<Paws::WorkSpaces::DeleteIpGroup>
782  
783 Returns: a L<Paws::WorkSpaces::DeleteIpGroupResult> instance
784  
785 Deletes the specified IP access control group.
786  
787 You cannot delete an IP access control group that is associated with a
788 directory.
789  
790  
791 =head2 DeleteTags
792  
793 =over
794  
795 =item ResourceId => Str
796  
797 =item TagKeys => ArrayRef[Str|Undef]
798  
799  
800 =back
801  
802 Each argument is described in detail in: L<Paws::WorkSpaces::DeleteTags>
803  
804 Returns: a L<Paws::WorkSpaces::DeleteTagsResult> instance
805  
806 Deletes the specified tags from the specified WorkSpaces resource.
807  
808  
809 =head2 DeleteWorkspaceBundle
810  
811 =over
812  
813 =item [BundleId => Str]
814  
815  
816 =back
817  
818 Each argument is described in detail in: L<Paws::WorkSpaces::DeleteWorkspaceBundle>
819  
820 Returns: a L<Paws::WorkSpaces::DeleteWorkspaceBundleResult> instance
821  
822 Deletes the specified WorkSpace bundle. For more information about
823 deleting WorkSpace bundles, see Delete a Custom WorkSpaces Bundle or
824 Image
825 (https://docs.aws.amazon.com/workspaces/latest/adminguide/delete_bundle.html).
826  
827  
828 =head2 DeleteWorkspaceImage
829  
830 =over
831  
832 =item ImageId => Str
833  
834  
835 =back
836  
837 Each argument is described in detail in: L<Paws::WorkSpaces::DeleteWorkspaceImage>
838  
839 Returns: a L<Paws::WorkSpaces::DeleteWorkspaceImageResult> instance
840  
841 Deletes the specified image from your account. To delete an image, you
842 must first delete any bundles that are associated with the image and
843 unshare the image if it is shared with other accounts.
844  
845  
846 =head2 DeregisterWorkspaceDirectory
847  
848 =over
849  
850 =item DirectoryId => Str
851  
852  
853 =back
854  
855 Each argument is described in detail in: L<Paws::WorkSpaces::DeregisterWorkspaceDirectory>
856  
857 Returns: a L<Paws::WorkSpaces::DeregisterWorkspaceDirectoryResult> instance
858  
859 Deregisters the specified directory. This operation is asynchronous and
860 returns before the WorkSpace directory is deregistered. If any
861 WorkSpaces are registered to this directory, you must remove them
862 before you can deregister the directory.
863  
864 Simple AD and AD Connector are made available to you free of charge to
865 use with WorkSpaces. If there are no WorkSpaces being used with your
866 Simple AD or AD Connector directory for 30 consecutive days, this
867 directory will be automatically deregistered for use with Amazon
868 WorkSpaces, and you will be charged for this directory as per the AWS
869 Directory Services pricing terms
870 (http://aws.amazon.com/directoryservice/pricing/).
871  
872 To delete empty directories, see Delete the Directory for Your
873 WorkSpaces
874 (https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html).
875 If you delete your Simple AD or AD Connector directory, you can always
876 create a new one when you want to start using WorkSpaces again.
877  
878  
879 =head2 DescribeAccount
880  
881  
882  
883  
884  
885  
886 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeAccount>
887  
888 Returns: a L<Paws::WorkSpaces::DescribeAccountResult> instance
889  
890 Retrieves a list that describes the configuration of Bring Your Own
891 License (BYOL) for the specified account.
892  
893  
894 =head2 DescribeAccountModifications
895  
896 =over
897  
898 =item [NextToken => Str]
899  
900  
901 =back
902  
903 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeAccountModifications>
904  
905 Returns: a L<Paws::WorkSpaces::DescribeAccountModificationsResult> instance
906  
907 Retrieves a list that describes modifications to the configuration of
908 Bring Your Own License (BYOL) for the specified account.
909  
910  
911 =head2 DescribeClientProperties
912  
913 =over
914  
915 =item ResourceIds => ArrayRef[Str|Undef]
916  
917  
918 =back
919  
920 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeClientProperties>
921  
922 Returns: a L<Paws::WorkSpaces::DescribeClientPropertiesResult> instance
923  
924 Retrieves a list that describes one or more specified Amazon WorkSpaces
925 clients.
926  
927  
928 =head2 DescribeConnectionAliases
929  
930 =over
931  
932 =item [AliasIds => ArrayRef[Str|Undef]]
933  
934 =item [Limit => Int]
935  
936 =item [NextToken => Str]
937  
938 =item [ResourceId => Str]
939  
940  
941 =back
942  
943 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeConnectionAliases>
944  
945 Returns: a L<Paws::WorkSpaces::DescribeConnectionAliasesResult> instance
946  
947 Retrieves a list that describes the connection aliases used for
948 cross-Region redirection. For more information, see Cross-Region
949 Redirection for Amazon WorkSpaces
950 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).
951  
952  
953 =head2 DescribeConnectionAliasPermissions
954  
955 =over
956  
957 =item AliasId => Str
958  
959 =item [MaxResults => Int]
960  
961 =item [NextToken => Str]
962  
963  
964 =back
965  
966 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeConnectionAliasPermissions>
967  
968 Returns: a L<Paws::WorkSpaces::DescribeConnectionAliasPermissionsResult> instance
969  
970 Describes the permissions that the owner of a connection alias has
971 granted to another AWS account for the specified connection alias. For
972 more information, see Cross-Region Redirection for Amazon WorkSpaces
973 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).
974  
975  
976 =head2 DescribeIpGroups
977  
978 =over
979  
980 =item [GroupIds => ArrayRef[Str|Undef]]
981  
982 =item [MaxResults => Int]
983  
984 =item [NextToken => Str]
985  
986  
987 =back
988  
989 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeIpGroups>
990  
991 Returns: a L<Paws::WorkSpaces::DescribeIpGroupsResult> instance
992  
993 Describes one or more of your IP access control groups.
994  
995  
996 =head2 DescribeTags
997  
998 =over
999  
1000 =item ResourceId => Str
1001  
1002  
1003 =back
1004  
1005 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeTags>
1006  
1007 Returns: a L<Paws::WorkSpaces::DescribeTagsResult> instance
1008  
1009 Describes the specified tags for the specified WorkSpaces resource.
1010  
1011  
1012 =head2 DescribeWorkspaceBundles
1013  
1014 =over
1015  
1016 =item [BundleIds => ArrayRef[Str|Undef]]
1017  
1018 =item [NextToken => Str]
1019  
1020 =item [Owner => Str]
1021  
1022  
1023 =back
1024  
1025 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeWorkspaceBundles>
1026  
1027 Returns: a L<Paws::WorkSpaces::DescribeWorkspaceBundlesResult> instance
1028  
1029 Retrieves a list that describes the available WorkSpace bundles.
1030  
1031 You can filter the results using either bundle ID or owner, but not
1032 both.
1033  
1034  
1035 =head2 DescribeWorkspaceDirectories
1036  
1037 =over
1038  
1039 =item [DirectoryIds => ArrayRef[Str|Undef]]
1040  
1041 =item [Limit => Int]
1042  
1043 =item [NextToken => Str]
1044  
1045  
1046 =back
1047  
1048 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeWorkspaceDirectories>
1049  
1050 Returns: a L<Paws::WorkSpaces::DescribeWorkspaceDirectoriesResult> instance
1051  
1052 Describes the available directories that are registered with Amazon
1053 WorkSpaces.
1054  
1055  
1056 =head2 DescribeWorkspaceImagePermissions
1057  
1058 =over
1059  
1060 =item ImageId => Str
1061  
1062 =item [MaxResults => Int]
1063  
1064 =item [NextToken => Str]
1065  
1066  
1067 =back
1068  
1069 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeWorkspaceImagePermissions>
1070  
1071 Returns: a L<Paws::WorkSpaces::DescribeWorkspaceImagePermissionsResult> instance
1072  
1073 Describes the permissions that the owner of an image has granted to
1074 other AWS accounts for an image.
1075  
1076  
1077 =head2 DescribeWorkspaceImages
1078  
1079 =over
1080  
1081 =item [ImageIds => ArrayRef[Str|Undef]]
1082  
1083 =item [ImageType => Str]
1084  
1085 =item [MaxResults => Int]
1086  
1087 =item [NextToken => Str]
1088  
1089  
1090 =back
1091  
1092 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeWorkspaceImages>
1093  
1094 Returns: a L<Paws::WorkSpaces::DescribeWorkspaceImagesResult> instance
1095  
1096 Retrieves a list that describes one or more specified images, if the
1097 image identifiers are provided. Otherwise, all images in the account
1098 are described.
1099  
1100  
1101 =head2 DescribeWorkspaces
1102  
1103 =over
1104  
1105 =item [BundleId => Str]
1106  
1107 =item [DirectoryId => Str]
1108  
1109 =item [Limit => Int]
1110  
1111 =item [NextToken => Str]
1112  
1113 =item [UserName => Str]
1114  
1115 =item [WorkspaceIds => ArrayRef[Str|Undef]]
1116  
1117  
1118 =back
1119  
1120 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeWorkspaces>
1121  
1122 Returns: a L<Paws::WorkSpaces::DescribeWorkspacesResult> instance
1123  
1124 Describes the specified WorkSpaces.
1125  
1126 You can filter the results by using the bundle identifier, directory
1127 identifier, or owner, but you can specify only one filter at a time.
1128  
1129  
1130 =head2 DescribeWorkspacesConnectionStatus
1131  
1132 =over
1133  
1134 =item [NextToken => Str]
1135  
1136 =item [WorkspaceIds => ArrayRef[Str|Undef]]
1137  
1138  
1139 =back
1140  
1141 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeWorkspacesConnectionStatus>
1142  
1143 Returns: a L<Paws::WorkSpaces::DescribeWorkspacesConnectionStatusResult> instance
1144  
1145 Describes the connection status of the specified WorkSpaces.
1146  
1147  
1148 =head2 DescribeWorkspaceSnapshots
1149  
1150 =over
1151  
1152 =item WorkspaceId => Str
1153  
1154  
1155 =back
1156  
1157 Each argument is described in detail in: L<Paws::WorkSpaces::DescribeWorkspaceSnapshots>
1158  
1159 Returns: a L<Paws::WorkSpaces::DescribeWorkspaceSnapshotsResult> instance
1160  
1161 Describes the snapshots for the specified WorkSpace.
1162  
1163  
1164 =head2 DisassociateConnectionAlias
1165  
1166 =over
1167  
1168 =item AliasId => Str
1169  
1170  
1171 =back
1172  
1173 Each argument is described in detail in: L<Paws::WorkSpaces::DisassociateConnectionAlias>
1174  
1175 Returns: a L<Paws::WorkSpaces::DisassociateConnectionAliasResult> instance
1176  
1177 Disassociates a connection alias from a directory. Disassociating a
1178 connection alias disables cross-Region redirection between two
1179 directories in different AWS Regions. For more information, see
1180 Cross-Region Redirection for Amazon WorkSpaces
1181 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).
1182  
1183 Before performing this operation, call DescribeConnectionAliases
1184 (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html)
1185 to make sure that the current state of the connection alias is
1186 C<CREATED>.
1187  
1188  
1189 =head2 DisassociateIpGroups
1190  
1191 =over
1192  
1193 =item DirectoryId => Str
1194  
1195 =item GroupIds => ArrayRef[Str|Undef]
1196  
1197  
1198 =back
1199  
1200 Each argument is described in detail in: L<Paws::WorkSpaces::DisassociateIpGroups>
1201  
1202 Returns: a L<Paws::WorkSpaces::DisassociateIpGroupsResult> instance
1203  
1204 Disassociates the specified IP access control group from the specified
1205 directory.
1206  
1207  
1208 =head2 ImportWorkspaceImage
1209  
1210 =over
1211  
1212 =item Ec2ImageId => Str
1213  
1214 =item ImageDescription => Str
1215  
1216 =item ImageName => Str
1217  
1218 =item IngestionProcess => Str
1219  
1220 =item [Applications => ArrayRef[Str|Undef]]
1221  
1222 =item [Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]]
1223  
1224  
1225 =back
1226  
1227 Each argument is described in detail in: L<Paws::WorkSpaces::ImportWorkspaceImage>
1228  
1229 Returns: a L<Paws::WorkSpaces::ImportWorkspaceImageResult> instance
1230  
1231 Imports the specified Windows 10 Bring Your Own License (BYOL) image
1232 into Amazon WorkSpaces. The image must be an already licensed Amazon
1233 EC2 image that is in your AWS account, and you must own the image. For
1234 more information about creating BYOL images, see Bring Your Own Windows
1235 Desktop Licenses
1236 (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html).
1237  
1238  
1239 =head2 ListAvailableManagementCidrRanges
1240  
1241 =over
1242  
1243 =item ManagementCidrRangeConstraint => Str
1244  
1245 =item [MaxResults => Int]
1246  
1247 =item [NextToken => Str]
1248  
1249  
1250 =back
1251  
1252 Each argument is described in detail in: L<Paws::WorkSpaces::ListAvailableManagementCidrRanges>
1253  
1254 Returns: a L<Paws::WorkSpaces::ListAvailableManagementCidrRangesResult> instance
1255  
1256 Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks,
1257 that you can use for the network management interface when you enable
1258 Bring Your Own License (BYOL).
1259  
1260 This operation can be run only by AWS accounts that are enabled for
1261 BYOL. If your account isn't enabled for BYOL, you'll receive an
1262 C<AccessDeniedException> error.
1263  
1264 The management network interface is connected to a secure Amazon
1265 WorkSpaces management network. It is used for interactive streaming of
1266 the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon
1267 WorkSpaces to manage the WorkSpace.
1268  
1269  
1270 =head2 MigrateWorkspace
1271  
1272 =over
1273  
1274 =item BundleId => Str
1275  
1276 =item SourceWorkspaceId => Str
1277  
1278  
1279 =back
1280  
1281 Each argument is described in detail in: L<Paws::WorkSpaces::MigrateWorkspace>
1282  
1283 Returns: a L<Paws::WorkSpaces::MigrateWorkspaceResult> instance
1284  
1285 Migrates a WorkSpace from one operating system or bundle type to
1286 another, while retaining the data on the user volume.
1287  
1288 The migration process recreates the WorkSpace by using a new root
1289 volume from the target bundle image and the user volume from the last
1290 available snapshot of the original WorkSpace. During migration, the
1291 original C<D:\Users\%USERNAME%> user profile folder is renamed to
1292 C<D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated>. A new
1293 C<D:\Users\%USERNAME%\> folder is generated by the new OS. Certain
1294 files in the old user profile are moved to the new user profile.
1295  
1296 For available migration scenarios, details about what happens during
1297 migration, and best practices, see Migrate a WorkSpace
1298 (https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html).
1299  
1300  
1301 =head2 ModifyAccount
1302  
1303 =over
1304  
1305 =item [DedicatedTenancyManagementCidrRange => Str]
1306  
1307 =item [DedicatedTenancySupport => Str]
1308  
1309  
1310 =back
1311  
1312 Each argument is described in detail in: L<Paws::WorkSpaces::ModifyAccount>
1313  
1314 Returns: a L<Paws::WorkSpaces::ModifyAccountResult> instance
1315  
1316 Modifies the configuration of Bring Your Own License (BYOL) for the
1317 specified account.
1318  
1319  
1320 =head2 ModifyClientProperties
1321  
1322 =over
1323  
1324 =item ClientProperties => L<Paws::WorkSpaces::ClientProperties>
1325  
1326 =item ResourceId => Str
1327  
1328  
1329 =back
1330  
1331 Each argument is described in detail in: L<Paws::WorkSpaces::ModifyClientProperties>
1332  
1333 Returns: a L<Paws::WorkSpaces::ModifyClientPropertiesResult> instance
1334  
1335 Modifies the properties of the specified Amazon WorkSpaces clients.
1336  
1337  
1338 =head2 ModifySelfservicePermissions
1339  
1340 =over
1341  
1342 =item ResourceId => Str
1343  
1344 =item SelfservicePermissions => L<Paws::WorkSpaces::SelfservicePermissions>
1345  
1346  
1347 =back
1348  
1349 Each argument is described in detail in: L<Paws::WorkSpaces::ModifySelfservicePermissions>
1350  
1351 Returns: a L<Paws::WorkSpaces::ModifySelfservicePermissionsResult> instance
1352  
1353 Modifies the self-service WorkSpace management capabilities for your
1354 users. For more information, see Enable Self-Service WorkSpace
1355 Management Capabilities for Your Users
1356 (https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html).
1357  
1358  
1359 =head2 ModifyWorkspaceAccessProperties
1360  
1361 =over
1362  
1363 =item ResourceId => Str
1364  
1365 =item WorkspaceAccessProperties => L<Paws::WorkSpaces::WorkspaceAccessProperties>
1366  
1367  
1368 =back
1369  
1370 Each argument is described in detail in: L<Paws::WorkSpaces::ModifyWorkspaceAccessProperties>
1371  
1372 Returns: a L<Paws::WorkSpaces::ModifyWorkspaceAccessPropertiesResult> instance
1373  
1374 Specifies which devices and operating systems users can use to access
1375 their WorkSpaces. For more information, see Control Device Access
1376 (https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access).
1377  
1378  
1379 =head2 ModifyWorkspaceCreationProperties
1380  
1381 =over
1382  
1383 =item ResourceId => Str
1384  
1385 =item WorkspaceCreationProperties => L<Paws::WorkSpaces::WorkspaceCreationProperties>
1386  
1387  
1388 =back
1389  
1390 Each argument is described in detail in: L<Paws::WorkSpaces::ModifyWorkspaceCreationProperties>
1391  
1392 Returns: a L<Paws::WorkSpaces::ModifyWorkspaceCreationPropertiesResult> instance
1393  
1394 Modify the default properties used to create WorkSpaces.
1395  
1396  
1397 =head2 ModifyWorkspaceProperties
1398  
1399 =over
1400  
1401 =item WorkspaceId => Str
1402  
1403 =item WorkspaceProperties => L<Paws::WorkSpaces::WorkspaceProperties>
1404  
1405  
1406 =back
1407  
1408 Each argument is described in detail in: L<Paws::WorkSpaces::ModifyWorkspaceProperties>
1409  
1410 Returns: a L<Paws::WorkSpaces::ModifyWorkspacePropertiesResult> instance
1411  
1412 Modifies the specified WorkSpace properties. For important information
1413 about how to modify the size of the root and user volumes, see Modify a
1414 WorkSpace
1415 (https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html).
1416  
1417  
1418 =head2 ModifyWorkspaceState
1419  
1420 =over
1421  
1422 =item WorkspaceId => Str
1423  
1424 =item WorkspaceState => Str
1425  
1426  
1427 =back
1428  
1429 Each argument is described in detail in: L<Paws::WorkSpaces::ModifyWorkspaceState>
1430  
1431 Returns: a L<Paws::WorkSpaces::ModifyWorkspaceStateResult> instance
1432  
1433 Sets the state of the specified WorkSpace.
1434  
1435 To maintain a WorkSpace without being interrupted, set the WorkSpace
1436 state to C<ADMIN_MAINTENANCE>. WorkSpaces in this state do not respond
1437 to requests to reboot, stop, start, rebuild, or restore. An AutoStop
1438 WorkSpace in this state is not stopped. Users cannot log into a
1439 WorkSpace in the C<ADMIN_MAINTENANCE> state.
1440  
1441  
1442 =head2 RebootWorkspaces
1443  
1444 =over
1445  
1446 =item RebootWorkspaceRequests => ArrayRef[L<Paws::WorkSpaces::RebootRequest>]
1447  
1448  
1449 =back
1450  
1451 Each argument is described in detail in: L<Paws::WorkSpaces::RebootWorkspaces>
1452  
1453 Returns: a L<Paws::WorkSpaces::RebootWorkspacesResult> instance
1454  
1455 Reboots the specified WorkSpaces.
1456  
1457 You cannot reboot a WorkSpace unless its state is C<AVAILABLE> or
1458 C<UNHEALTHY>.
1459  
1460 This operation is asynchronous and returns before the WorkSpaces have
1461 rebooted.
1462  
1463  
1464 =head2 RebuildWorkspaces
1465  
1466 =over
1467  
1468 =item RebuildWorkspaceRequests => ArrayRef[L<Paws::WorkSpaces::RebuildRequest>]
1469  
1470  
1471 =back
1472  
1473 Each argument is described in detail in: L<Paws::WorkSpaces::RebuildWorkspaces>
1474  
1475 Returns: a L<Paws::WorkSpaces::RebuildWorkspacesResult> instance
1476  
1477 Rebuilds the specified WorkSpace.
1478  
1479 You cannot rebuild a WorkSpace unless its state is C<AVAILABLE>,
1480 C<ERROR>, C<UNHEALTHY>, C<STOPPED>, or C<REBOOTING>.
1481  
1482 Rebuilding a WorkSpace is a potentially destructive action that can
1483 result in the loss of data. For more information, see Rebuild a
1484 WorkSpace
1485 (https://docs.aws.amazon.com/workspaces/latest/adminguide/reset-workspace.html).
1486  
1487 This operation is asynchronous and returns before the WorkSpaces have
1488 been completely rebuilt.
1489  
1490  
1491 =head2 RegisterWorkspaceDirectory
1492  
1493 =over
1494  
1495 =item DirectoryId => Str
1496  
1497 =item EnableWorkDocs => Bool
1498  
1499 =item [EnableSelfService => Bool]
1500  
1501 =item [SubnetIds => ArrayRef[Str|Undef]]
1502  
1503 =item [Tags => ArrayRef[L<Paws::WorkSpaces::Tag>]]
1504  
1505 =item [Tenancy => Str]
1506  
1507  
1508 =back
1509  
1510 Each argument is described in detail in: L<Paws::WorkSpaces::RegisterWorkspaceDirectory>
1511  
1512 Returns: a L<Paws::WorkSpaces::RegisterWorkspaceDirectoryResult> instance
1513  
1514 Registers the specified directory. This operation is asynchronous and
1515 returns before the WorkSpace directory is registered. If this is the
1516 first time you are registering a directory, you will need to create the
1517 workspaces_DefaultRole role before you can register a directory. For
1518 more information, see Creating the workspaces_DefaultRole Role
1519 (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role).
1520  
1521  
1522 =head2 RestoreWorkspace
1523  
1524 =over
1525  
1526 =item WorkspaceId => Str
1527  
1528  
1529 =back
1530  
1531 Each argument is described in detail in: L<Paws::WorkSpaces::RestoreWorkspace>
1532  
1533 Returns: a L<Paws::WorkSpaces::RestoreWorkspaceResult> instance
1534  
1535 Restores the specified WorkSpace to its last known healthy state.
1536  
1537 You cannot restore a WorkSpace unless its state is C< AVAILABLE>,
1538 C<ERROR>, C<UNHEALTHY>, or C<STOPPED>.
1539  
1540 Restoring a WorkSpace is a potentially destructive action that can
1541 result in the loss of data. For more information, see Restore a
1542 WorkSpace
1543 (https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html).
1544  
1545 This operation is asynchronous and returns before the WorkSpace is
1546 completely restored.
1547  
1548  
1549 =head2 RevokeIpRules
1550  
1551 =over
1552  
1553 =item GroupId => Str
1554  
1555 =item UserRules => ArrayRef[Str|Undef]
1556  
1557  
1558 =back
1559  
1560 Each argument is described in detail in: L<Paws::WorkSpaces::RevokeIpRules>
1561  
1562 Returns: a L<Paws::WorkSpaces::RevokeIpRulesResult> instance
1563  
1564 Removes one or more rules from the specified IP access control group.
1565  
1566  
1567 =head2 StartWorkspaces
1568  
1569 =over
1570  
1571 =item StartWorkspaceRequests => ArrayRef[L<Paws::WorkSpaces::StartRequest>]
1572  
1573  
1574 =back
1575  
1576 Each argument is described in detail in: L<Paws::WorkSpaces::StartWorkspaces>
1577  
1578 Returns: a L<Paws::WorkSpaces::StartWorkspacesResult> instance
1579  
1580 Starts the specified WorkSpaces.
1581  
1582 You cannot start a WorkSpace unless it has a running mode of
1583 C<AutoStop> and a state of C<STOPPED>.
1584  
1585  
1586 =head2 StopWorkspaces
1587  
1588 =over
1589  
1590 =item StopWorkspaceRequests => ArrayRef[L<Paws::WorkSpaces::StopRequest>]
1591  
1592  
1593 =back
1594  
1595 Each argument is described in detail in: L<Paws::WorkSpaces::StopWorkspaces>
1596  
1597 Returns: a L<Paws::WorkSpaces::StopWorkspacesResult> instance
1598  
1599 Stops the specified WorkSpaces.
1600  
1601 You cannot stop a WorkSpace unless it has a running mode of C<AutoStop>
1602 and a state of C<AVAILABLE>, C<IMPAIRED>, C<UNHEALTHY>, or C<ERROR>.
1603  
1604  
1605 =head2 TerminateWorkspaces
1606  
1607 =over
1608  
1609 =item TerminateWorkspaceRequests => ArrayRef[L<Paws::WorkSpaces::TerminateRequest>]
1610  
1611  
1612 =back
1613  
1614 Each argument is described in detail in: L<Paws::WorkSpaces::TerminateWorkspaces>
1615  
1616 Returns: a L<Paws::WorkSpaces::TerminateWorkspacesResult> instance
1617  
1618 Terminates the specified WorkSpaces.
1619  
1620 Terminating a WorkSpace is a permanent action and cannot be undone. The
1621 user's data is destroyed. If you need to archive any user data, contact
1622 AWS Support before terminating the WorkSpace.
1623  
1624 You can terminate a WorkSpace that is in any state except C<SUSPENDED>.
1625  
1626 This operation is asynchronous and returns before the WorkSpaces have
1627 been completely terminated. After a WorkSpace is terminated, the
1628 C<TERMINATED> state is returned only briefly before the WorkSpace
1629 directory metadata is cleaned up, so this state is rarely returned. To
1630 confirm that a WorkSpace is terminated, check for the WorkSpace ID by
1631 using DescribeWorkSpaces
1632 (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html).
1633 If the WorkSpace ID isn't returned, then the WorkSpace has been
1634 successfully terminated.
1635  
1636 Simple AD and AD Connector are made available to you free of charge to
1637 use with WorkSpaces. If there are no WorkSpaces being used with your
1638 Simple AD or AD Connector directory for 30 consecutive days, this
1639 directory will be automatically deregistered for use with Amazon
1640 WorkSpaces, and you will be charged for this directory as per the AWS
1641 Directory Services pricing terms
1642 (http://aws.amazon.com/directoryservice/pricing/).
1643  
1644 To delete empty directories, see Delete the Directory for Your
1645 WorkSpaces
1646 (https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html).
1647 If you delete your Simple AD or AD Connector directory, you can always
1648 create a new one when you want to start using WorkSpaces again.
1649  
1650  
1651 =head2 UpdateConnectionAliasPermission
1652  
1653 =over
1654  
1655 =item AliasId => Str
1656  
1657 =item ConnectionAliasPermission => L<Paws::WorkSpaces::ConnectionAliasPermission>
1658  
1659  
1660 =back
1661  
1662 Each argument is described in detail in: L<Paws::WorkSpaces::UpdateConnectionAliasPermission>
1663  
1664 Returns: a L<Paws::WorkSpaces::UpdateConnectionAliasPermissionResult> instance
1665  
1666 Shares or unshares a connection alias with one account by specifying
1667 whether that account has permission to associate the connection alias
1668 with a directory. If the association permission is granted, the
1669 connection alias is shared with that account. If the association
1670 permission is revoked, the connection alias is unshared with the
1671 account. For more information, see Cross-Region Redirection for Amazon
1672 WorkSpaces
1673 (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html).
1674  
1675 =over
1676  
1677 =item *
1678  
1679 Before performing this operation, call DescribeConnectionAliases
1680 (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html)
1681 to make sure that the current state of the connection alias is
1682 C<CREATED>.
1683  
1684 =item *
1685  
1686 To delete a connection alias that has been shared, the shared account
1687 must first disassociate the connection alias from any directories it
1688 has been associated with. Then you must unshare the connection alias
1689 from the account it has been shared with. You can delete a connection
1690 alias only after it is no longer shared with any accounts or associated
1691 with any directories.
1692  
1693 =back
1694  
1695  
1696  
1697 =head2 UpdateRulesOfIpGroup
1698  
1699 =over
1700  
1701 =item GroupId => Str
1702  
1703 =item UserRules => ArrayRef[L<Paws::WorkSpaces::IpRuleItem>]
1704  
1705  
1706 =back
1707  
1708 Each argument is described in detail in: L<Paws::WorkSpaces::UpdateRulesOfIpGroup>
1709  
1710 Returns: a L<Paws::WorkSpaces::UpdateRulesOfIpGroupResult> instance
1711  
1712 Replaces the current rules of the specified IP access control group
1713 with the specified rules.
1714  
1715  
1716 =head2 UpdateWorkspaceBundle
1717  
1718 =over
1719  
1720 =item [BundleId => Str]
1721  
1722 =item [ImageId => Str]
1723  
1724  
1725 =back
1726  
1727 Each argument is described in detail in: L<Paws::WorkSpaces::UpdateWorkspaceBundle>
1728  
1729 Returns: a L<Paws::WorkSpaces::UpdateWorkspaceBundleResult> instance
1730  
1731 Updates a WorkSpace bundle with a new image. For more information about
1732 updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle
1733 (https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html).
1734  
1735 Existing WorkSpaces aren't automatically updated when you update the
1736 bundle that they're based on. To update existing WorkSpaces that are
1737 based on a bundle that you've updated, you must either rebuild the
1738 WorkSpaces or delete and recreate them.
1739  
1740  
1741 =head2 UpdateWorkspaceImagePermission
1742  
1743 =over
1744  
1745 =item AllowCopyImage => Bool
1746  
1747 =item ImageId => Str
1748  
1749 =item SharedAccountId => Str
1750  
1751  
1752 =back
1753  
1754 Each argument is described in detail in: L<Paws::WorkSpaces::UpdateWorkspaceImagePermission>
1755  
1756 Returns: a L<Paws::WorkSpaces::UpdateWorkspaceImagePermissionResult> instance
1757  
1758 Shares or unshares an image with one account in the same AWS Region by
1759 specifying whether that account has permission to copy the image. If
1760 the copy image permission is granted, the image is shared with that
1761 account. If the copy image permission is revoked, the image is unshared
1762 with the account.
1763  
1764 After an image has been shared, the recipient account can copy the
1765 image to other AWS Regions as needed.
1766  
1767 In the China (Ningxia) Region, you can copy images only within the same
1768 Region.
1769  
1770 In the AWS GovCloud (US-West) Region, to copy images to and from other
1771 AWS Regions, contact AWS Support.
1772  
1773 For more information about sharing images, see Share or Unshare a
1774 Custom WorkSpaces Image
1775 (https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html).
1776  
1777 =over
1778  
1779 =item *
1780  
1781 To delete an image that has been shared, you must unshare the image
1782 before you delete it.
1783  
1784 =item *
1785  
1786 Sharing Bring Your Own License (BYOL) images across AWS accounts isn't
1787 supported at this time in the AWS GovCloud (US-West) Region. To share
1788 BYOL images across accounts in the AWS GovCloud (US-West) Region,
1789 contact AWS Support.
1790  
1791 =back
1792  
1793  
1794  
1795  
1796  
1797 =head1 PAGINATORS
1798  
1799 Paginator methods are helpers that repetively call methods that return partial results
1800  
1801 =head2 DescribeAllAccountModifications(sub { },[NextToken => Str])
1802  
1803 =head2 DescribeAllAccountModifications([NextToken => Str])
1804  
1805  
1806 If passed a sub as first parameter, it will call the sub for each element found in :
1807  
1808 - AccountModifications, passing the object as the first parameter, and the string 'AccountModifications' as the second parameter
1809  
1810 If not, it will return a a L<Paws::WorkSpaces::DescribeAccountModificationsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1811  
1812  
1813 =head2 DescribeAllIpGroups(sub { },[GroupIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1814  
1815 =head2 DescribeAllIpGroups([GroupIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1816  
1817  
1818 If passed a sub as first parameter, it will call the sub for each element found in :
1819  
1820 - Result, passing the object as the first parameter, and the string 'Result' as the second parameter
1821  
1822 If not, it will return a a L<Paws::WorkSpaces::DescribeIpGroupsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1823  
1824  
1825 =head2 DescribeAllWorkspaceBundles(sub { },[BundleIds => ArrayRef[Str|Undef], NextToken => Str, Owner => Str])
1826  
1827 =head2 DescribeAllWorkspaceBundles([BundleIds => ArrayRef[Str|Undef], NextToken => Str, Owner => Str])
1828  
1829  
1830 If passed a sub as first parameter, it will call the sub for each element found in :
1831  
1832 - Bundles, passing the object as the first parameter, and the string 'Bundles' as the second parameter
1833  
1834 If not, it will return a a L<Paws::WorkSpaces::DescribeWorkspaceBundlesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1835  
1836  
1837 =head2 DescribeAllWorkspaceDirectories(sub { },[DirectoryIds => ArrayRef[Str|Undef], Limit => Int, NextToken => Str])
1838  
1839 =head2 DescribeAllWorkspaceDirectories([DirectoryIds => ArrayRef[Str|Undef], Limit => Int, NextToken => Str])
1840  
1841  
1842 If passed a sub as first parameter, it will call the sub for each element found in :
1843  
1844 - Directories, passing the object as the first parameter, and the string 'Directories' as the second parameter
1845  
1846 If not, it will return a a L<Paws::WorkSpaces::DescribeWorkspaceDirectoriesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1847  
1848  
1849 =head2 DescribeAllWorkspaceImages(sub { },[ImageIds => ArrayRef[Str|Undef], ImageType => Str, MaxResults => Int, NextToken => Str])
1850  
1851 =head2 DescribeAllWorkspaceImages([ImageIds => ArrayRef[Str|Undef], ImageType => Str, MaxResults => Int, NextToken => Str])
1852  
1853  
1854 If passed a sub as first parameter, it will call the sub for each element found in :
1855  
1856 - Images, passing the object as the first parameter, and the string 'Images' as the second parameter
1857  
1858 If not, it will return a a L<Paws::WorkSpaces::DescribeWorkspaceImagesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1859  
1860  
1861 =head2 DescribeAllWorkspaces(sub { },[BundleId => Str, DirectoryId => Str, Limit => Int, NextToken => Str, UserName => Str, WorkspaceIds => ArrayRef[Str|Undef]])
1862  
1863 =head2 DescribeAllWorkspaces([BundleId => Str, DirectoryId => Str, Limit => Int, NextToken => Str, UserName => Str, WorkspaceIds => ArrayRef[Str|Undef]])
1864  
1865  
1866 If passed a sub as first parameter, it will call the sub for each element found in :
1867  
1868 - Workspaces, passing the object as the first parameter, and the string 'Workspaces' as the second parameter
1869  
1870 If not, it will return a a L<Paws::WorkSpaces::DescribeWorkspacesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1871  
1872  
1873 =head2 DescribeAllWorkspacesConnectionStatus(sub { },[NextToken => Str, WorkspaceIds => ArrayRef[Str|Undef]])
1874  
1875 =head2 DescribeAllWorkspacesConnectionStatus([NextToken => Str, WorkspaceIds => ArrayRef[Str|Undef]])
1876  
1877  
1878 If passed a sub as first parameter, it will call the sub for each element found in :
1879  
1880 - WorkspacesConnectionStatus, passing the object as the first parameter, and the string 'WorkspacesConnectionStatus' as the second parameter
1881  
1882 If not, it will return a a L<Paws::WorkSpaces::DescribeWorkspacesConnectionStatusResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1883  
1884  
1885 =head2 ListAllAvailableManagementCidrRanges(sub { },ManagementCidrRangeConstraint => Str, [MaxResults => Int, NextToken => Str])
1886  
1887 =head2 ListAllAvailableManagementCidrRanges(ManagementCidrRangeConstraint => Str, [MaxResults => Int, NextToken => Str])
1888  
1889  
1890 If passed a sub as first parameter, it will call the sub for each element found in :
1891  
1892 - ManagementCidrRanges, passing the object as the first parameter, and the string 'ManagementCidrRanges' as the second parameter
1893  
1894 If not, it will return a a L<Paws::WorkSpaces::ListAvailableManagementCidrRangesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1895  
1896  
1897  
1898  
1899  
1900 =head1 SEE ALSO
1901  
1902 This service class forms part of L<Paws>
1903  
1904 =head1 BUGS and CONTRIBUTIONS
1905  
1906 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1907  
1908 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1909  
1910 =cut
1911