aws-sdk-workspaces 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-workspaces.rb +1 -1
- data/lib/aws-sdk-workspaces/client.rb +101 -117
- data/lib/aws-sdk-workspaces/client_api.rb +21 -0
- data/lib/aws-sdk-workspaces/types.rb +216 -204
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4b9cc6286c79d697c9fdb707cba5dc3319dc8c7
|
4
|
+
data.tar.gz: 9823cec5e3cf445e59ca0d9d0cd9ea267659759a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f299780abf42006b04f0565f08e304b6630e513cd41277654d49a32ea11ee553712b10eea26d1ed51561880451a02368dd7ed67385c98acdd867c8144265d7e4
|
7
|
+
data.tar.gz: 52bb4cfa42c9782c882e8bb3d2927bac6544821947cbdbc81bb059a87a6e2da9dde67920620bdbeaa256ad3cbff5d9c173ecff6fc8d0846ede3dd27c42b5d7bb
|
data/lib/aws-sdk-workspaces.rb
CHANGED
@@ -155,13 +155,13 @@ module Aws::WorkSpaces
|
|
155
155
|
|
156
156
|
# @!group API Operations
|
157
157
|
|
158
|
-
# Creates tags for
|
158
|
+
# Creates tags for the specified WorkSpace.
|
159
159
|
#
|
160
160
|
# @option params [required, String] :resource_id
|
161
|
-
# The
|
161
|
+
# The ID of the resource.
|
162
162
|
#
|
163
163
|
# @option params [required, Array<Types::Tag>] :tags
|
164
|
-
# The tags of
|
164
|
+
# The tags. Each resource can have a maximum of 50 tags.
|
165
165
|
#
|
166
166
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
167
167
|
#
|
@@ -188,13 +188,11 @@ module Aws::WorkSpaces
|
|
188
188
|
|
189
189
|
# Creates one or more WorkSpaces.
|
190
190
|
#
|
191
|
-
#
|
191
|
+
# This operation is asynchronous and returns before the WorkSpaces are
|
192
192
|
# created.
|
193
193
|
#
|
194
|
-
# </note>
|
195
|
-
#
|
196
194
|
# @option params [required, Array<Types::WorkspaceRequest>] :workspaces
|
197
|
-
#
|
195
|
+
# Information about the WorkSpaces to create.
|
198
196
|
#
|
199
197
|
# @return [Types::CreateWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
200
198
|
#
|
@@ -215,6 +213,9 @@ module Aws::WorkSpaces
|
|
215
213
|
# workspace_properties: {
|
216
214
|
# running_mode: "AUTO_STOP", # accepts AUTO_STOP, ALWAYS_ON
|
217
215
|
# running_mode_auto_stop_timeout_in_minutes: 1,
|
216
|
+
# root_volume_size_gib: 1,
|
217
|
+
# user_volume_size_gib: 1,
|
218
|
+
# compute_type_name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS
|
218
219
|
# },
|
219
220
|
# tags: [
|
220
221
|
# {
|
@@ -237,6 +238,9 @@ module Aws::WorkSpaces
|
|
237
238
|
# resp.failed_requests[0].workspace_request.root_volume_encryption_enabled #=> Boolean
|
238
239
|
# resp.failed_requests[0].workspace_request.workspace_properties.running_mode #=> String, one of "AUTO_STOP", "ALWAYS_ON"
|
239
240
|
# resp.failed_requests[0].workspace_request.workspace_properties.running_mode_auto_stop_timeout_in_minutes #=> Integer
|
241
|
+
# resp.failed_requests[0].workspace_request.workspace_properties.root_volume_size_gib #=> Integer
|
242
|
+
# resp.failed_requests[0].workspace_request.workspace_properties.user_volume_size_gib #=> Integer
|
243
|
+
# resp.failed_requests[0].workspace_request.workspace_properties.compute_type_name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS"
|
240
244
|
# resp.failed_requests[0].workspace_request.tags #=> Array
|
241
245
|
# resp.failed_requests[0].workspace_request.tags[0].key #=> String
|
242
246
|
# resp.failed_requests[0].workspace_request.tags[0].value #=> String
|
@@ -247,7 +251,7 @@ module Aws::WorkSpaces
|
|
247
251
|
# resp.pending_requests[0].directory_id #=> String
|
248
252
|
# resp.pending_requests[0].user_name #=> String
|
249
253
|
# resp.pending_requests[0].ip_address #=> String
|
250
|
-
# resp.pending_requests[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "STOPPING", "STOPPED", "ERROR"
|
254
|
+
# resp.pending_requests[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
|
251
255
|
# resp.pending_requests[0].bundle_id #=> String
|
252
256
|
# resp.pending_requests[0].subnet_id #=> String
|
253
257
|
# resp.pending_requests[0].error_message #=> String
|
@@ -258,6 +262,12 @@ module Aws::WorkSpaces
|
|
258
262
|
# resp.pending_requests[0].root_volume_encryption_enabled #=> Boolean
|
259
263
|
# resp.pending_requests[0].workspace_properties.running_mode #=> String, one of "AUTO_STOP", "ALWAYS_ON"
|
260
264
|
# resp.pending_requests[0].workspace_properties.running_mode_auto_stop_timeout_in_minutes #=> Integer
|
265
|
+
# resp.pending_requests[0].workspace_properties.root_volume_size_gib #=> Integer
|
266
|
+
# resp.pending_requests[0].workspace_properties.user_volume_size_gib #=> Integer
|
267
|
+
# resp.pending_requests[0].workspace_properties.compute_type_name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS"
|
268
|
+
# resp.pending_requests[0].modification_states #=> Array
|
269
|
+
# resp.pending_requests[0].modification_states[0].resource #=> String, one of "ROOT_VOLUME", "USER_VOLUME", "COMPUTE_TYPE"
|
270
|
+
# resp.pending_requests[0].modification_states[0].state #=> String, one of "UPDATE_INITIATED", "UPDATE_IN_PROGRESS"
|
261
271
|
#
|
262
272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces AWS API Documentation
|
263
273
|
#
|
@@ -268,13 +278,13 @@ module Aws::WorkSpaces
|
|
268
278
|
req.send_request(options)
|
269
279
|
end
|
270
280
|
|
271
|
-
# Deletes tags from a WorkSpace.
|
281
|
+
# Deletes the specified tags from a WorkSpace.
|
272
282
|
#
|
273
283
|
# @option params [required, String] :resource_id
|
274
|
-
# The
|
284
|
+
# The ID of the resource.
|
275
285
|
#
|
276
286
|
# @option params [required, Array<String>] :tag_keys
|
277
|
-
# The tag keys
|
287
|
+
# The tag keys.
|
278
288
|
#
|
279
289
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
280
290
|
#
|
@@ -294,10 +304,10 @@ module Aws::WorkSpaces
|
|
294
304
|
req.send_request(options)
|
295
305
|
end
|
296
306
|
|
297
|
-
# Describes tags for
|
307
|
+
# Describes the tags for the specified WorkSpace.
|
298
308
|
#
|
299
309
|
# @option params [required, String] :resource_id
|
300
|
-
# The
|
310
|
+
# The ID of the resource.
|
301
311
|
#
|
302
312
|
# @return [Types::DescribeTagsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
303
313
|
#
|
@@ -324,36 +334,25 @@ module Aws::WorkSpaces
|
|
324
334
|
req.send_request(options)
|
325
335
|
end
|
326
336
|
|
327
|
-
#
|
328
|
-
# your account in the specified region.
|
329
|
-
#
|
330
|
-
# You can filter the results with either the `BundleIds` parameter, or
|
331
|
-
# the `Owner` parameter, but not both.
|
337
|
+
# Describes the available WorkSpace bundles.
|
332
338
|
#
|
333
|
-
#
|
334
|
-
#
|
335
|
-
# `NextToken` response member contains a token that you pass in the next
|
336
|
-
# call to this operation to retrieve the next set of items.
|
339
|
+
# You can filter the results using either bundle ID or owner, but not
|
340
|
+
# both.
|
337
341
|
#
|
338
342
|
# @option params [Array<String>] :bundle_ids
|
339
|
-
#
|
340
|
-
#
|
341
|
-
# parameter.
|
343
|
+
# The IDs of the bundles. This parameter cannot be combined with any
|
344
|
+
# other filter.
|
342
345
|
#
|
343
346
|
# @option params [String] :owner
|
344
|
-
# The owner of the bundles
|
345
|
-
#
|
346
|
-
#
|
347
|
-
# This contains one of the following values:
|
348
|
-
#
|
349
|
-
# * null- Retrieves the bundles that belong to the account making the
|
350
|
-
# call.
|
347
|
+
# The owner of the bundles. This parameter cannot be combined with any
|
348
|
+
# other filter.
|
351
349
|
#
|
352
|
-
#
|
350
|
+
# Specify `AMAZON` to describe the bundles provided by AWS or null to
|
351
|
+
# describe the bundles that belong to your account.
|
353
352
|
#
|
354
353
|
# @option params [String] :next_token
|
355
|
-
# The
|
356
|
-
#
|
354
|
+
# The token for the next set of results. (You received this token from a
|
355
|
+
# previous call.)
|
357
356
|
#
|
358
357
|
# @return [Types::DescribeWorkspaceBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
359
358
|
#
|
@@ -375,8 +374,9 @@ module Aws::WorkSpaces
|
|
375
374
|
# resp.bundles[0].name #=> String
|
376
375
|
# resp.bundles[0].owner #=> String
|
377
376
|
# resp.bundles[0].description #=> String
|
377
|
+
# resp.bundles[0].root_storage.capacity #=> String
|
378
378
|
# resp.bundles[0].user_storage.capacity #=> String
|
379
|
-
# resp.bundles[0].compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE"
|
379
|
+
# resp.bundles[0].compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS"
|
380
380
|
# resp.next_token #=> String
|
381
381
|
#
|
382
382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles AWS API Documentation
|
@@ -388,23 +388,16 @@ module Aws::WorkSpaces
|
|
388
388
|
req.send_request(options)
|
389
389
|
end
|
390
390
|
|
391
|
-
#
|
392
|
-
#
|
393
|
-
# available to your account.
|
394
|
-
#
|
395
|
-
# This operation supports pagination with the use of the `NextToken`
|
396
|
-
# request and response parameters. If more results are available, the
|
397
|
-
# `NextToken` response member contains a token that you pass in the next
|
398
|
-
# call to this operation to retrieve the next set of items.
|
391
|
+
# Describes the available AWS Directory Service directories that are
|
392
|
+
# registered with Amazon WorkSpaces.
|
399
393
|
#
|
400
394
|
# @option params [Array<String>] :directory_ids
|
401
|
-
#
|
402
|
-
#
|
403
|
-
# retrieved.
|
395
|
+
# The identifiers of the directories. If the value is null, all
|
396
|
+
# directories are retrieved.
|
404
397
|
#
|
405
398
|
# @option params [String] :next_token
|
406
|
-
# The
|
407
|
-
#
|
399
|
+
# The token for the next set of results. (You received this token from a
|
400
|
+
# previous call.)
|
408
401
|
#
|
409
402
|
# @return [Types::DescribeWorkspaceDirectoriesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
410
403
|
#
|
@@ -450,46 +443,39 @@ module Aws::WorkSpaces
|
|
450
443
|
req.send_request(options)
|
451
444
|
end
|
452
445
|
|
453
|
-
#
|
454
|
-
#
|
455
|
-
# Only one of the filter parameters, such as `BundleId`, `DirectoryId`,
|
456
|
-
# or `WorkspaceIds`, can be specified at a time.
|
446
|
+
# Describes the specified WorkSpaces.
|
457
447
|
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
# `NextToken` response member contains a token that you pass in the next
|
461
|
-
# call to this operation to retrieve the next set of items.
|
448
|
+
# You can filter the results using bundle ID, directory ID, or owner,
|
449
|
+
# but you can specify only one filter at a time.
|
462
450
|
#
|
463
451
|
# @option params [Array<String>] :workspace_ids
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# any other filter parameter.
|
452
|
+
# The IDs of the WorkSpaces. This parameter cannot be combined with any
|
453
|
+
# other filter.
|
467
454
|
#
|
468
455
|
# Because the CreateWorkspaces operation is asynchronous, the identifier
|
469
456
|
# it returns is not immediately available. If you immediately call
|
470
457
|
# DescribeWorkspaces with this identifier, no information is returned.
|
471
458
|
#
|
472
459
|
# @option params [String] :directory_id
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
# filter parameter.
|
460
|
+
# The ID of the directory. In addition, you can optionally specify a
|
461
|
+
# specific directory user (see `UserName`). This parameter cannot be
|
462
|
+
# combined with any other filter.
|
477
463
|
#
|
478
464
|
# @option params [String] :user_name
|
479
|
-
#
|
480
|
-
#
|
465
|
+
# The name of the directory user. You must specify this parameter with
|
466
|
+
# `DirectoryId`.
|
481
467
|
#
|
482
468
|
# @option params [String] :bundle_id
|
483
|
-
# The
|
484
|
-
#
|
485
|
-
#
|
469
|
+
# The ID of the bundle. All WorkSpaces that are created from this bundle
|
470
|
+
# are retrieved. This parameter cannot be combined with any other
|
471
|
+
# filter.
|
486
472
|
#
|
487
473
|
# @option params [Integer] :limit
|
488
474
|
# The maximum number of items to return.
|
489
475
|
#
|
490
476
|
# @option params [String] :next_token
|
491
|
-
# The
|
492
|
-
#
|
477
|
+
# The token for the next set of results. (You received this token from a
|
478
|
+
# previous call.)
|
493
479
|
#
|
494
480
|
# @return [Types::DescribeWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
495
481
|
#
|
@@ -514,7 +500,7 @@ module Aws::WorkSpaces
|
|
514
500
|
# resp.workspaces[0].directory_id #=> String
|
515
501
|
# resp.workspaces[0].user_name #=> String
|
516
502
|
# resp.workspaces[0].ip_address #=> String
|
517
|
-
# resp.workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "STOPPING", "STOPPED", "ERROR"
|
503
|
+
# resp.workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
|
518
504
|
# resp.workspaces[0].bundle_id #=> String
|
519
505
|
# resp.workspaces[0].subnet_id #=> String
|
520
506
|
# resp.workspaces[0].error_message #=> String
|
@@ -525,6 +511,12 @@ module Aws::WorkSpaces
|
|
525
511
|
# resp.workspaces[0].root_volume_encryption_enabled #=> Boolean
|
526
512
|
# resp.workspaces[0].workspace_properties.running_mode #=> String, one of "AUTO_STOP", "ALWAYS_ON"
|
527
513
|
# resp.workspaces[0].workspace_properties.running_mode_auto_stop_timeout_in_minutes #=> Integer
|
514
|
+
# resp.workspaces[0].workspace_properties.root_volume_size_gib #=> Integer
|
515
|
+
# resp.workspaces[0].workspace_properties.user_volume_size_gib #=> Integer
|
516
|
+
# resp.workspaces[0].workspace_properties.compute_type_name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS"
|
517
|
+
# resp.workspaces[0].modification_states #=> Array
|
518
|
+
# resp.workspaces[0].modification_states[0].resource #=> String, one of "ROOT_VOLUME", "USER_VOLUME", "COMPUTE_TYPE"
|
519
|
+
# resp.workspaces[0].modification_states[0].state #=> String, one of "UPDATE_INITIATED", "UPDATE_IN_PROGRESS"
|
528
520
|
# resp.next_token #=> String
|
529
521
|
#
|
530
522
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces AWS API Documentation
|
@@ -536,13 +528,14 @@ module Aws::WorkSpaces
|
|
536
528
|
req.send_request(options)
|
537
529
|
end
|
538
530
|
|
539
|
-
# Describes the connection status of
|
531
|
+
# Describes the connection status of the specified WorkSpaces.
|
540
532
|
#
|
541
533
|
# @option params [Array<String>] :workspace_ids
|
542
|
-
#
|
534
|
+
# The identifiers of the WorkSpaces.
|
543
535
|
#
|
544
536
|
# @option params [String] :next_token
|
545
|
-
# The next
|
537
|
+
# The token for the next set of results. (You received this token from a
|
538
|
+
# previous call.)
|
546
539
|
#
|
547
540
|
# @return [Types::DescribeWorkspacesConnectionStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
548
541
|
#
|
@@ -574,14 +567,13 @@ module Aws::WorkSpaces
|
|
574
567
|
req.send_request(options)
|
575
568
|
end
|
576
569
|
|
577
|
-
# Modifies the WorkSpace properties
|
578
|
-
# AutoStop time.
|
570
|
+
# Modifies the specified WorkSpace properties.
|
579
571
|
#
|
580
572
|
# @option params [required, String] :workspace_id
|
581
573
|
# The ID of the WorkSpace.
|
582
574
|
#
|
583
575
|
# @option params [required, Types::WorkspaceProperties] :workspace_properties
|
584
|
-
# The
|
576
|
+
# The properties of the WorkSpace.
|
585
577
|
#
|
586
578
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
587
579
|
#
|
@@ -592,6 +584,9 @@ module Aws::WorkSpaces
|
|
592
584
|
# workspace_properties: { # required
|
593
585
|
# running_mode: "AUTO_STOP", # accepts AUTO_STOP, ALWAYS_ON
|
594
586
|
# running_mode_auto_stop_timeout_in_minutes: 1,
|
587
|
+
# root_volume_size_gib: 1,
|
588
|
+
# user_volume_size_gib: 1,
|
589
|
+
# compute_type_name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS
|
595
590
|
# },
|
596
591
|
# })
|
597
592
|
#
|
@@ -606,16 +601,14 @@ module Aws::WorkSpaces
|
|
606
601
|
|
607
602
|
# Reboots the specified WorkSpaces.
|
608
603
|
#
|
609
|
-
#
|
610
|
-
#
|
604
|
+
# You cannot reboot a WorkSpace unless its state is `AVAILABLE`,
|
605
|
+
# `IMPAIRED`, or `INOPERABLE`.
|
611
606
|
#
|
612
|
-
#
|
607
|
+
# This operation is asynchronous and returns before the WorkSpaces have
|
613
608
|
# rebooted.
|
614
609
|
#
|
615
|
-
# </note>
|
616
|
-
#
|
617
610
|
# @option params [required, Array<Types::RebootRequest>] :reboot_workspace_requests
|
618
|
-
#
|
611
|
+
# The WorkSpaces to reboot.
|
619
612
|
#
|
620
613
|
# @return [Types::RebootWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
621
614
|
#
|
@@ -649,31 +642,22 @@ module Aws::WorkSpaces
|
|
649
642
|
|
650
643
|
# Rebuilds the specified WorkSpaces.
|
651
644
|
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
# following to occur:
|
645
|
+
# You cannot rebuild a WorkSpace unless its state is `AVAILABLE` or
|
646
|
+
# `ERROR`.
|
655
647
|
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
659
|
-
# will be lost.
|
648
|
+
# Rebuilding a WorkSpace is a potentially destructive action that can
|
649
|
+
# result in the loss of data. For more information, see [Rebuild a
|
650
|
+
# WorkSpace][1].
|
660
651
|
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
# drive are overwritten. Automatic snapshots of the data drive are
|
664
|
-
# taken every 12 hours, so the snapshot can be as much as 12 hours
|
665
|
-
# old.
|
652
|
+
# This operation is asynchronous and returns before the WorkSpaces have
|
653
|
+
# been completely rebuilt.
|
666
654
|
#
|
667
|
-
# To be able to rebuild a WorkSpace, the WorkSpace must have a **State**
|
668
|
-
# of `AVAILABLE` or `ERROR`.
|
669
655
|
#
|
670
|
-
# <note markdown="1"> This operation is asynchronous and returns before the WorkSpaces have
|
671
|
-
# been completely rebuilt.
|
672
656
|
#
|
673
|
-
#
|
657
|
+
# [1]: http://docs.aws.amazon.com/workspaces/latest/adminguide/reset-workspace.html
|
674
658
|
#
|
675
659
|
# @option params [required, Array<Types::RebuildRequest>] :rebuild_workspace_requests
|
676
|
-
#
|
660
|
+
# The WorkSpaces to rebuild.
|
677
661
|
#
|
678
662
|
# @return [Types::RebuildWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
679
663
|
#
|
@@ -705,11 +689,13 @@ module Aws::WorkSpaces
|
|
705
689
|
req.send_request(options)
|
706
690
|
end
|
707
691
|
|
708
|
-
# Starts the specified WorkSpaces.
|
709
|
-
#
|
692
|
+
# Starts the specified WorkSpaces.
|
693
|
+
#
|
694
|
+
# You cannot start a WorkSpace unless it has a running mode of
|
695
|
+
# `AutoStop` and a state of `STOPPED`.
|
710
696
|
#
|
711
697
|
# @option params [required, Array<Types::StartRequest>] :start_workspace_requests
|
712
|
-
# The
|
698
|
+
# The WorkSpaces to start.
|
713
699
|
#
|
714
700
|
# @return [Types::StartWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
715
701
|
#
|
@@ -741,12 +727,13 @@ module Aws::WorkSpaces
|
|
741
727
|
req.send_request(options)
|
742
728
|
end
|
743
729
|
|
744
|
-
# Stops the specified WorkSpaces.
|
745
|
-
#
|
746
|
-
#
|
730
|
+
# Stops the specified WorkSpaces.
|
731
|
+
#
|
732
|
+
# You cannot stop a WorkSpace unless it has a running mode of `AutoStop`
|
733
|
+
# and a state of `AVAILABLE`, `IMPAIRED`, `UNHEALTHY`, or `ERROR`.
|
747
734
|
#
|
748
735
|
# @option params [required, Array<Types::StopRequest>] :stop_workspace_requests
|
749
|
-
# The
|
736
|
+
# The WorkSpaces to stop.
|
750
737
|
#
|
751
738
|
# @return [Types::StopWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
752
739
|
#
|
@@ -781,19 +768,16 @@ module Aws::WorkSpaces
|
|
781
768
|
# Terminates the specified WorkSpaces.
|
782
769
|
#
|
783
770
|
# Terminating a WorkSpace is a permanent action and cannot be undone.
|
784
|
-
# The user's data is
|
785
|
-
#
|
786
|
-
# terminating the WorkSpace.
|
771
|
+
# The user's data is destroyed. If you need to archive any user data,
|
772
|
+
# contact Amazon Web Services before terminating the WorkSpace.
|
787
773
|
#
|
788
774
|
# You can terminate a WorkSpace that is in any state except `SUSPENDED`.
|
789
775
|
#
|
790
|
-
#
|
776
|
+
# This operation is asynchronous and returns before the WorkSpaces have
|
791
777
|
# been completely terminated.
|
792
778
|
#
|
793
|
-
# </note>
|
794
|
-
#
|
795
779
|
# @option params [required, Array<Types::TerminateRequest>] :terminate_workspace_requests
|
796
|
-
#
|
780
|
+
# The WorkSpaces to terminate.
|
797
781
|
#
|
798
782
|
# @return [Types::TerminateWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
799
783
|
#
|
@@ -838,7 +822,7 @@ module Aws::WorkSpaces
|
|
838
822
|
params: params,
|
839
823
|
config: config)
|
840
824
|
context[:gem_name] = 'aws-sdk-workspaces'
|
841
|
-
context[:gem_version] = '1.
|
825
|
+
context[:gem_version] = '1.1.0'
|
842
826
|
Seahorse::Client::Request.new(handlers, context)
|
843
827
|
end
|
844
828
|
|