aws-sdk-workspaces 1.47.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +323 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-workspaces.rb +2 -2
- data/lib/aws-sdk-workspaces/client.rb +263 -19
- data/lib/aws-sdk-workspaces/client_api.rb +71 -1
- data/lib/aws-sdk-workspaces/errors.rb +1 -1
- data/lib/aws-sdk-workspaces/resource.rb +1 -1
- data/lib/aws-sdk-workspaces/types.rb +242 -44
- metadata +8 -5
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.52.0
|
data/lib/aws-sdk-workspaces.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-workspaces/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::WorkSpaces
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.52.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -445,7 +445,28 @@ module Aws::WorkSpaces
|
|
445
445
|
end
|
446
446
|
|
447
447
|
# Copies the specified image from the specified Region to the current
|
448
|
-
# Region.
|
448
|
+
# Region. For more information about copying images, see [ Copy a Custom
|
449
|
+
# WorkSpaces Image][1].
|
450
|
+
#
|
451
|
+
# <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
|
452
|
+
# same Region.
|
453
|
+
#
|
454
|
+
# In the AWS GovCloud (US-West) Region, to copy images to and from other
|
455
|
+
# AWS Regions, contact AWS Support.
|
456
|
+
#
|
457
|
+
# </note>
|
458
|
+
#
|
459
|
+
# Before copying a shared image, be sure to verify that it has been
|
460
|
+
# shared from the correct AWS account. To determine if an image has been
|
461
|
+
# shared and to see the AWS account ID that owns an image, use the
|
462
|
+
# [DescribeWorkSpaceImages][2] and
|
463
|
+
# [DescribeWorkspaceImagePermissions][3] API operations.
|
464
|
+
#
|
465
|
+
#
|
466
|
+
#
|
467
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/copy-custom-image.html
|
468
|
+
# [2]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html
|
469
|
+
# [3]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImagePermissions.html
|
449
470
|
#
|
450
471
|
# @option params [required, String] :name
|
451
472
|
# The name of the image.
|
@@ -616,9 +637,7 @@ module Aws::WorkSpaces
|
|
616
637
|
# IP access control groups, and connection aliases.
|
617
638
|
#
|
618
639
|
# @option params [required, Array<Types::Tag>] :tags
|
619
|
-
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
620
|
-
# you want to add new tags to a set of existing tags, you must submit
|
621
|
-
# all of the existing tags along with the new ones.
|
640
|
+
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
622
641
|
#
|
623
642
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
624
643
|
#
|
@@ -643,6 +662,90 @@ module Aws::WorkSpaces
|
|
643
662
|
req.send_request(options)
|
644
663
|
end
|
645
664
|
|
665
|
+
# Creates the specified WorkSpace bundle. For more information about
|
666
|
+
# creating WorkSpace bundles, see [ Create a Custom WorkSpaces Image and
|
667
|
+
# Bundle][1].
|
668
|
+
#
|
669
|
+
#
|
670
|
+
#
|
671
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.html
|
672
|
+
#
|
673
|
+
# @option params [required, String] :bundle_name
|
674
|
+
# The name of the bundle.
|
675
|
+
#
|
676
|
+
# @option params [required, String] :bundle_description
|
677
|
+
# The description of the bundle.
|
678
|
+
#
|
679
|
+
# @option params [required, String] :image_id
|
680
|
+
# The identifier of the image that is used to create the bundle.
|
681
|
+
#
|
682
|
+
# @option params [required, Types::ComputeType] :compute_type
|
683
|
+
# Describes the compute type of the bundle.
|
684
|
+
#
|
685
|
+
# @option params [required, Types::UserStorage] :user_storage
|
686
|
+
# Describes the user volume for a WorkSpace bundle.
|
687
|
+
#
|
688
|
+
# @option params [Types::RootStorage] :root_storage
|
689
|
+
# Describes the root volume for a WorkSpace bundle.
|
690
|
+
#
|
691
|
+
# @option params [Array<Types::Tag>] :tags
|
692
|
+
# The tags associated with the bundle.
|
693
|
+
#
|
694
|
+
# <note markdown="1"> To add tags at the same time that you're creating the bundle, you
|
695
|
+
# must create an IAM policy that grants your IAM user permissions to use
|
696
|
+
# `workspaces:CreateTags`.
|
697
|
+
#
|
698
|
+
# </note>
|
699
|
+
#
|
700
|
+
# @return [Types::CreateWorkspaceBundleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
701
|
+
#
|
702
|
+
# * {Types::CreateWorkspaceBundleResult#workspace_bundle #workspace_bundle} => Types::WorkspaceBundle
|
703
|
+
#
|
704
|
+
# @example Request syntax with placeholder values
|
705
|
+
#
|
706
|
+
# resp = client.create_workspace_bundle({
|
707
|
+
# bundle_name: "WorkspaceBundleName", # required
|
708
|
+
# bundle_description: "WorkspaceBundleDescription", # required
|
709
|
+
# image_id: "WorkspaceImageId", # required
|
710
|
+
# compute_type: { # required
|
711
|
+
# name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO
|
712
|
+
# },
|
713
|
+
# user_storage: { # required
|
714
|
+
# capacity: "NonEmptyString",
|
715
|
+
# },
|
716
|
+
# root_storage: {
|
717
|
+
# capacity: "NonEmptyString",
|
718
|
+
# },
|
719
|
+
# tags: [
|
720
|
+
# {
|
721
|
+
# key: "TagKey", # required
|
722
|
+
# value: "TagValue",
|
723
|
+
# },
|
724
|
+
# ],
|
725
|
+
# })
|
726
|
+
#
|
727
|
+
# @example Response structure
|
728
|
+
#
|
729
|
+
# resp.workspace_bundle.bundle_id #=> String
|
730
|
+
# resp.workspace_bundle.name #=> String
|
731
|
+
# resp.workspace_bundle.owner #=> String
|
732
|
+
# resp.workspace_bundle.description #=> String
|
733
|
+
# resp.workspace_bundle.image_id #=> String
|
734
|
+
# resp.workspace_bundle.root_storage.capacity #=> String
|
735
|
+
# resp.workspace_bundle.user_storage.capacity #=> String
|
736
|
+
# resp.workspace_bundle.compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO"
|
737
|
+
# resp.workspace_bundle.last_updated_time #=> Time
|
738
|
+
# resp.workspace_bundle.creation_time #=> Time
|
739
|
+
#
|
740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundle AWS API Documentation
|
741
|
+
#
|
742
|
+
# @overload create_workspace_bundle(params = {})
|
743
|
+
# @param [Hash] params ({})
|
744
|
+
def create_workspace_bundle(params = {}, options = {})
|
745
|
+
req = build_request(:create_workspace_bundle, params)
|
746
|
+
req.send_request(options)
|
747
|
+
end
|
748
|
+
|
646
749
|
# Creates one or more WorkSpaces.
|
647
750
|
#
|
648
751
|
# This operation is asynchronous and returns before the WorkSpaces are
|
@@ -831,6 +934,34 @@ module Aws::WorkSpaces
|
|
831
934
|
req.send_request(options)
|
832
935
|
end
|
833
936
|
|
937
|
+
# Deletes the specified WorkSpace bundle. For more information about
|
938
|
+
# deleting WorkSpace bundles, see [ Delete a Custom WorkSpaces Bundle or
|
939
|
+
# Image][1].
|
940
|
+
#
|
941
|
+
#
|
942
|
+
#
|
943
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/delete_bundle.html
|
944
|
+
#
|
945
|
+
# @option params [String] :bundle_id
|
946
|
+
# The identifier of the bundle.
|
947
|
+
#
|
948
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
949
|
+
#
|
950
|
+
# @example Request syntax with placeholder values
|
951
|
+
#
|
952
|
+
# resp = client.delete_workspace_bundle({
|
953
|
+
# bundle_id: "BundleId",
|
954
|
+
# })
|
955
|
+
#
|
956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundle AWS API Documentation
|
957
|
+
#
|
958
|
+
# @overload delete_workspace_bundle(params = {})
|
959
|
+
# @param [Hash] params ({})
|
960
|
+
def delete_workspace_bundle(params = {}, options = {})
|
961
|
+
req = build_request(:delete_workspace_bundle, params)
|
962
|
+
req.send_request(options)
|
963
|
+
end
|
964
|
+
|
834
965
|
# Deletes the specified image from your account. To delete an image, you
|
835
966
|
# must first delete any bundles that are associated with the image and
|
836
967
|
# unshare the image if it is shared with other accounts.
|
@@ -860,6 +991,25 @@ module Aws::WorkSpaces
|
|
860
991
|
# WorkSpaces are registered to this directory, you must remove them
|
861
992
|
# before you can deregister the directory.
|
862
993
|
#
|
994
|
+
# <note markdown="1"> Simple AD and AD Connector are made available to you free of charge to
|
995
|
+
# use with WorkSpaces. If there are no WorkSpaces being used with your
|
996
|
+
# Simple AD or AD Connector directory for 30 consecutive days, this
|
997
|
+
# directory will be automatically deregistered for use with Amazon
|
998
|
+
# WorkSpaces, and you will be charged for this directory as per the [AWS
|
999
|
+
# Directory Services pricing terms][1].
|
1000
|
+
#
|
1001
|
+
# To delete empty directories, see [ Delete the Directory for Your
|
1002
|
+
# WorkSpaces][2]. If you delete your Simple AD or AD Connector
|
1003
|
+
# directory, you can always create a new one when you want to start
|
1004
|
+
# using WorkSpaces again.
|
1005
|
+
#
|
1006
|
+
# </note>
|
1007
|
+
#
|
1008
|
+
#
|
1009
|
+
#
|
1010
|
+
# [1]: http://aws.amazon.com/directoryservice/pricing/
|
1011
|
+
# [2]: https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html
|
1012
|
+
#
|
863
1013
|
# @option params [required, String] :directory_id
|
864
1014
|
# The identifier of the directory. If any WorkSpaces are registered to
|
865
1015
|
# this directory, you must remove them before you deregister the
|
@@ -1172,8 +1322,8 @@ module Aws::WorkSpaces
|
|
1172
1322
|
# The owner of the bundles. You cannot combine this parameter with any
|
1173
1323
|
# other filter.
|
1174
1324
|
#
|
1175
|
-
#
|
1176
|
-
#
|
1325
|
+
# To describe the bundles provided by AWS, specify `AMAZON`. To describe
|
1326
|
+
# the bundles that belong to your account, don't specify a value.
|
1177
1327
|
#
|
1178
1328
|
# @option params [String] :next_token
|
1179
1329
|
# The token for the next set of results. (You received this token from a
|
@@ -1206,6 +1356,7 @@ module Aws::WorkSpaces
|
|
1206
1356
|
# resp.bundles[0].user_storage.capacity #=> String
|
1207
1357
|
# resp.bundles[0].compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO"
|
1208
1358
|
# resp.bundles[0].last_updated_time #=> Time
|
1359
|
+
# resp.bundles[0].creation_time #=> Time
|
1209
1360
|
# resp.next_token #=> String
|
1210
1361
|
#
|
1211
1362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles AWS API Documentation
|
@@ -1628,9 +1779,15 @@ module Aws::WorkSpaces
|
|
1628
1779
|
# The identifier of the EC2 image.
|
1629
1780
|
#
|
1630
1781
|
# @option params [required, String] :ingestion_process
|
1631
|
-
# The ingestion process to be used when importing the image
|
1632
|
-
#
|
1633
|
-
#
|
1782
|
+
# The ingestion process to be used when importing the image, depending
|
1783
|
+
# on which protocol you want to use for your BYOL Workspace image,
|
1784
|
+
# either PCoIP or WorkSpaces Streaming Protocol (WSP). To use WSP,
|
1785
|
+
# specify a value that ends in `_WSP`. To use PCoIP, specify a value
|
1786
|
+
# that does not end in `_WSP`.
|
1787
|
+
#
|
1788
|
+
# For non-GPU-enabled bundles (bundles other than Graphics or
|
1789
|
+
# GraphicsPro), specify `BYOL_REGULAR` or `BYOL_REGULAR_WSP`, depending
|
1790
|
+
# on the protocol.
|
1634
1791
|
#
|
1635
1792
|
# @option params [required, String] :image_name
|
1636
1793
|
# The name of the WorkSpace image.
|
@@ -1664,7 +1821,7 @@ module Aws::WorkSpaces
|
|
1664
1821
|
#
|
1665
1822
|
# resp = client.import_workspace_image({
|
1666
1823
|
# ec2_image_id: "Ec2ImageId", # required
|
1667
|
-
# ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO
|
1824
|
+
# ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO, BYOL_REGULAR_WSP
|
1668
1825
|
# image_name: "WorkspaceImageName", # required
|
1669
1826
|
# image_description: "WorkspaceImageDescription", # required
|
1670
1827
|
# tags: [
|
@@ -1693,6 +1850,10 @@ module Aws::WorkSpaces
|
|
1693
1850
|
# that you can use for the network management interface when you enable
|
1694
1851
|
# Bring Your Own License (BYOL).
|
1695
1852
|
#
|
1853
|
+
# This operation can be run only by AWS accounts that are enabled for
|
1854
|
+
# BYOL. If your account isn't enabled for BYOL, you'll receive an
|
1855
|
+
# `AccessDeniedException` error.
|
1856
|
+
#
|
1696
1857
|
# The management network interface is connected to a secure Amazon
|
1697
1858
|
# WorkSpaces management network. It is used for interactive streaming of
|
1698
1859
|
# the WorkSpace desktop to Amazon WorkSpaces clients, and to allow
|
@@ -2340,12 +2501,37 @@ module Aws::WorkSpaces
|
|
2340
2501
|
#
|
2341
2502
|
# Terminating a WorkSpace is a permanent action and cannot be undone.
|
2342
2503
|
# The user's data is destroyed. If you need to archive any user data,
|
2343
|
-
# contact
|
2504
|
+
# contact AWS Support before terminating the WorkSpace.
|
2344
2505
|
#
|
2345
2506
|
# You can terminate a WorkSpace that is in any state except `SUSPENDED`.
|
2346
2507
|
#
|
2347
2508
|
# This operation is asynchronous and returns before the WorkSpaces have
|
2348
|
-
# been completely terminated.
|
2509
|
+
# been completely terminated. After a WorkSpace is terminated, the
|
2510
|
+
# `TERMINATED` state is returned only briefly before the WorkSpace
|
2511
|
+
# directory metadata is cleaned up, so this state is rarely returned. To
|
2512
|
+
# confirm that a WorkSpace is terminated, check for the WorkSpace ID by
|
2513
|
+
# using [ DescribeWorkSpaces][1]. If the WorkSpace ID isn't returned,
|
2514
|
+
# then the WorkSpace has been successfully terminated.
|
2515
|
+
#
|
2516
|
+
# <note markdown="1"> Simple AD and AD Connector are made available to you free of charge to
|
2517
|
+
# use with WorkSpaces. If there are no WorkSpaces being used with your
|
2518
|
+
# Simple AD or AD Connector directory for 30 consecutive days, this
|
2519
|
+
# directory will be automatically deregistered for use with Amazon
|
2520
|
+
# WorkSpaces, and you will be charged for this directory as per the [AWS
|
2521
|
+
# Directory Services pricing terms][2].
|
2522
|
+
#
|
2523
|
+
# To delete empty directories, see [ Delete the Directory for Your
|
2524
|
+
# WorkSpaces][3]. If you delete your Simple AD or AD Connector
|
2525
|
+
# directory, you can always create a new one when you want to start
|
2526
|
+
# using WorkSpaces again.
|
2527
|
+
#
|
2528
|
+
# </note>
|
2529
|
+
#
|
2530
|
+
#
|
2531
|
+
#
|
2532
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html
|
2533
|
+
# [2]: http://aws.amazon.com/directoryservice/pricing/
|
2534
|
+
# [3]: https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html
|
2349
2535
|
#
|
2350
2536
|
# @option params [required, Array<Types::TerminateRequest>] :terminate_workspace_requests
|
2351
2537
|
# The WorkSpaces to terminate. You can specify up to 25 WorkSpaces.
|
@@ -2467,11 +2653,62 @@ module Aws::WorkSpaces
|
|
2467
2653
|
req.send_request(options)
|
2468
2654
|
end
|
2469
2655
|
|
2470
|
-
#
|
2471
|
-
#
|
2472
|
-
#
|
2473
|
-
#
|
2474
|
-
#
|
2656
|
+
# Updates a WorkSpace bundle with a new image. For more information
|
2657
|
+
# about updating WorkSpace bundles, see [ Update a Custom WorkSpaces
|
2658
|
+
# Bundle][1].
|
2659
|
+
#
|
2660
|
+
# Existing WorkSpaces aren't automatically updated when you update the
|
2661
|
+
# bundle that they're based on. To update existing WorkSpaces that are
|
2662
|
+
# based on a bundle that you've updated, you must either rebuild the
|
2663
|
+
# WorkSpaces or delete and recreate them.
|
2664
|
+
#
|
2665
|
+
#
|
2666
|
+
#
|
2667
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html
|
2668
|
+
#
|
2669
|
+
# @option params [String] :bundle_id
|
2670
|
+
# The identifier of the bundle.
|
2671
|
+
#
|
2672
|
+
# @option params [String] :image_id
|
2673
|
+
# The identifier of the image.
|
2674
|
+
#
|
2675
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2676
|
+
#
|
2677
|
+
# @example Request syntax with placeholder values
|
2678
|
+
#
|
2679
|
+
# resp = client.update_workspace_bundle({
|
2680
|
+
# bundle_id: "BundleId",
|
2681
|
+
# image_id: "WorkspaceImageId",
|
2682
|
+
# })
|
2683
|
+
#
|
2684
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundle AWS API Documentation
|
2685
|
+
#
|
2686
|
+
# @overload update_workspace_bundle(params = {})
|
2687
|
+
# @param [Hash] params ({})
|
2688
|
+
def update_workspace_bundle(params = {}, options = {})
|
2689
|
+
req = build_request(:update_workspace_bundle, params)
|
2690
|
+
req.send_request(options)
|
2691
|
+
end
|
2692
|
+
|
2693
|
+
# Shares or unshares an image with one account in the same AWS Region by
|
2694
|
+
# specifying whether that account has permission to copy the image. If
|
2695
|
+
# the copy image permission is granted, the image is shared with that
|
2696
|
+
# account. If the copy image permission is revoked, the image is
|
2697
|
+
# unshared with the account.
|
2698
|
+
#
|
2699
|
+
# After an image has been shared, the recipient account can copy the
|
2700
|
+
# image to other AWS Regions as needed.
|
2701
|
+
#
|
2702
|
+
# <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
|
2703
|
+
# same Region.
|
2704
|
+
#
|
2705
|
+
# In the AWS GovCloud (US-West) Region, to copy images to and from other
|
2706
|
+
# AWS Regions, contact AWS Support.
|
2707
|
+
#
|
2708
|
+
# </note>
|
2709
|
+
#
|
2710
|
+
# For more information about sharing images, see [ Share or Unshare a
|
2711
|
+
# Custom WorkSpaces Image][1].
|
2475
2712
|
#
|
2476
2713
|
# <note markdown="1"> * To delete an image that has been shared, you must unshare the image
|
2477
2714
|
# before you delete it.
|
@@ -2483,6 +2720,10 @@ module Aws::WorkSpaces
|
|
2483
2720
|
#
|
2484
2721
|
# </note>
|
2485
2722
|
#
|
2723
|
+
#
|
2724
|
+
#
|
2725
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html
|
2726
|
+
#
|
2486
2727
|
# @option params [required, String] :image_id
|
2487
2728
|
# The identifier of the image.
|
2488
2729
|
#
|
@@ -2493,6 +2734,9 @@ module Aws::WorkSpaces
|
|
2493
2734
|
# @option params [required, String] :shared_account_id
|
2494
2735
|
# The identifier of the AWS account to share or unshare the image with.
|
2495
2736
|
#
|
2737
|
+
# Before sharing the image, confirm that you are sharing to the correct
|
2738
|
+
# AWS account ID.
|
2739
|
+
#
|
2496
2740
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2497
2741
|
#
|
2498
2742
|
# @example Request syntax with placeholder values
|
@@ -2525,7 +2769,7 @@ module Aws::WorkSpaces
|
|
2525
2769
|
params: params,
|
2526
2770
|
config: config)
|
2527
2771
|
context[:gem_name] = 'aws-sdk-workspaces'
|
2528
|
-
context[:gem_version] = '1.
|
2772
|
+
context[:gem_version] = '1.52.0'
|
2529
2773
|
Seahorse::Client::Request.new(handlers, context)
|
2530
2774
|
end
|
2531
2775
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -60,6 +60,8 @@ module Aws::WorkSpaces
|
|
60
60
|
CreateIpGroupResult = Shapes::StructureShape.new(name: 'CreateIpGroupResult')
|
61
61
|
CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
|
62
62
|
CreateTagsResult = Shapes::StructureShape.new(name: 'CreateTagsResult')
|
63
|
+
CreateWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceBundleRequest')
|
64
|
+
CreateWorkspaceBundleResult = Shapes::StructureShape.new(name: 'CreateWorkspaceBundleResult')
|
63
65
|
CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
|
64
66
|
CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
|
65
67
|
DedicatedTenancyCidrRangeList = Shapes::ListShape.new(name: 'DedicatedTenancyCidrRangeList')
|
@@ -75,6 +77,8 @@ module Aws::WorkSpaces
|
|
75
77
|
DeleteIpGroupResult = Shapes::StructureShape.new(name: 'DeleteIpGroupResult')
|
76
78
|
DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
|
77
79
|
DeleteTagsResult = Shapes::StructureShape.new(name: 'DeleteTagsResult')
|
80
|
+
DeleteWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceBundleRequest')
|
81
|
+
DeleteWorkspaceBundleResult = Shapes::StructureShape.new(name: 'DeleteWorkspaceBundleResult')
|
78
82
|
DeleteWorkspaceImageRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageRequest')
|
79
83
|
DeleteWorkspaceImageResult = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageResult')
|
80
84
|
DeregisterWorkspaceDirectoryRequest = Shapes::StructureShape.new(name: 'DeregisterWorkspaceDirectoryRequest')
|
@@ -236,6 +240,8 @@ module Aws::WorkSpaces
|
|
236
240
|
UpdateConnectionAliasPermissionResult = Shapes::StructureShape.new(name: 'UpdateConnectionAliasPermissionResult')
|
237
241
|
UpdateRulesOfIpGroupRequest = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupRequest')
|
238
242
|
UpdateRulesOfIpGroupResult = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupResult')
|
243
|
+
UpdateWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceBundleRequest')
|
244
|
+
UpdateWorkspaceBundleResult = Shapes::StructureShape.new(name: 'UpdateWorkspaceBundleResult')
|
239
245
|
UpdateWorkspaceImagePermissionRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceImagePermissionRequest')
|
240
246
|
UpdateWorkspaceImagePermissionResult = Shapes::StructureShape.new(name: 'UpdateWorkspaceImagePermissionResult')
|
241
247
|
UserName = Shapes::StringShape.new(name: 'UserName')
|
@@ -245,6 +251,8 @@ module Aws::WorkSpaces
|
|
245
251
|
Workspace = Shapes::StructureShape.new(name: 'Workspace')
|
246
252
|
WorkspaceAccessProperties = Shapes::StructureShape.new(name: 'WorkspaceAccessProperties')
|
247
253
|
WorkspaceBundle = Shapes::StructureShape.new(name: 'WorkspaceBundle')
|
254
|
+
WorkspaceBundleDescription = Shapes::StringShape.new(name: 'WorkspaceBundleDescription')
|
255
|
+
WorkspaceBundleName = Shapes::StringShape.new(name: 'WorkspaceBundleName')
|
248
256
|
WorkspaceConnectionStatus = Shapes::StructureShape.new(name: 'WorkspaceConnectionStatus')
|
249
257
|
WorkspaceConnectionStatusList = Shapes::ListShape.new(name: 'WorkspaceConnectionStatusList')
|
250
258
|
WorkspaceCreationProperties = Shapes::StructureShape.new(name: 'WorkspaceCreationProperties')
|
@@ -380,6 +388,18 @@ module Aws::WorkSpaces
|
|
380
388
|
|
381
389
|
CreateTagsResult.struct_class = Types::CreateTagsResult
|
382
390
|
|
391
|
+
CreateWorkspaceBundleRequest.add_member(:bundle_name, Shapes::ShapeRef.new(shape: WorkspaceBundleName, required: true, location_name: "BundleName"))
|
392
|
+
CreateWorkspaceBundleRequest.add_member(:bundle_description, Shapes::ShapeRef.new(shape: WorkspaceBundleDescription, required: true, location_name: "BundleDescription"))
|
393
|
+
CreateWorkspaceBundleRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
|
394
|
+
CreateWorkspaceBundleRequest.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "ComputeType"))
|
395
|
+
CreateWorkspaceBundleRequest.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, required: true, location_name: "UserStorage"))
|
396
|
+
CreateWorkspaceBundleRequest.add_member(:root_storage, Shapes::ShapeRef.new(shape: RootStorage, location_name: "RootStorage"))
|
397
|
+
CreateWorkspaceBundleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
398
|
+
CreateWorkspaceBundleRequest.struct_class = Types::CreateWorkspaceBundleRequest
|
399
|
+
|
400
|
+
CreateWorkspaceBundleResult.add_member(:workspace_bundle, Shapes::ShapeRef.new(shape: WorkspaceBundle, location_name: "WorkspaceBundle"))
|
401
|
+
CreateWorkspaceBundleResult.struct_class = Types::CreateWorkspaceBundleResult
|
402
|
+
|
383
403
|
CreateWorkspacesRequest.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceRequestList, required: true, location_name: "Workspaces"))
|
384
404
|
CreateWorkspacesRequest.struct_class = Types::CreateWorkspacesRequest
|
385
405
|
|
@@ -413,6 +433,11 @@ module Aws::WorkSpaces
|
|
413
433
|
|
414
434
|
DeleteTagsResult.struct_class = Types::DeleteTagsResult
|
415
435
|
|
436
|
+
DeleteWorkspaceBundleRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
|
437
|
+
DeleteWorkspaceBundleRequest.struct_class = Types::DeleteWorkspaceBundleRequest
|
438
|
+
|
439
|
+
DeleteWorkspaceBundleResult.struct_class = Types::DeleteWorkspaceBundleResult
|
440
|
+
|
416
441
|
DeleteWorkspaceImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
|
417
442
|
DeleteWorkspaceImageRequest.struct_class = Types::DeleteWorkspaceImageRequest
|
418
443
|
|
@@ -828,6 +853,12 @@ module Aws::WorkSpaces
|
|
828
853
|
|
829
854
|
UpdateRulesOfIpGroupResult.struct_class = Types::UpdateRulesOfIpGroupResult
|
830
855
|
|
856
|
+
UpdateWorkspaceBundleRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
|
857
|
+
UpdateWorkspaceBundleRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
|
858
|
+
UpdateWorkspaceBundleRequest.struct_class = Types::UpdateWorkspaceBundleRequest
|
859
|
+
|
860
|
+
UpdateWorkspaceBundleResult.struct_class = Types::UpdateWorkspaceBundleResult
|
861
|
+
|
831
862
|
UpdateWorkspaceImagePermissionRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
|
832
863
|
UpdateWorkspaceImagePermissionRequest.add_member(:allow_copy_image, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "AllowCopyImage"))
|
833
864
|
UpdateWorkspaceImagePermissionRequest.add_member(:shared_account_id, Shapes::ShapeRef.new(shape: AwsAccount, required: true, location_name: "SharedAccountId"))
|
@@ -873,6 +904,7 @@ module Aws::WorkSpaces
|
|
873
904
|
WorkspaceBundle.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, location_name: "UserStorage"))
|
874
905
|
WorkspaceBundle.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
|
875
906
|
WorkspaceBundle.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
|
907
|
+
WorkspaceBundle.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
876
908
|
WorkspaceBundle.struct_class = Types::WorkspaceBundle
|
877
909
|
|
878
910
|
WorkspaceConnectionStatus.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
|
@@ -1071,6 +1103,20 @@ module Aws::WorkSpaces
|
|
1071
1103
|
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1072
1104
|
end)
|
1073
1105
|
|
1106
|
+
api.add_operation(:create_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
|
1107
|
+
o.name = "CreateWorkspaceBundle"
|
1108
|
+
o.http_method = "POST"
|
1109
|
+
o.http_request_uri = "/"
|
1110
|
+
o.input = Shapes::ShapeRef.new(shape: CreateWorkspaceBundleRequest)
|
1111
|
+
o.output = Shapes::ShapeRef.new(shape: CreateWorkspaceBundleResult)
|
1112
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1113
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1114
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1115
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1116
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1117
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1118
|
+
end)
|
1119
|
+
|
1074
1120
|
api.add_operation(:create_workspaces, Seahorse::Model::Operation.new.tap do |o|
|
1075
1121
|
o.name = "CreateWorkspaces"
|
1076
1122
|
o.http_method = "POST"
|
@@ -1117,6 +1163,18 @@ module Aws::WorkSpaces
|
|
1117
1163
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1118
1164
|
end)
|
1119
1165
|
|
1166
|
+
api.add_operation(:delete_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
|
1167
|
+
o.name = "DeleteWorkspaceBundle"
|
1168
|
+
o.http_method = "POST"
|
1169
|
+
o.http_request_uri = "/"
|
1170
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceBundleRequest)
|
1171
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceBundleResult)
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1174
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAssociatedException)
|
1175
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1176
|
+
end)
|
1177
|
+
|
1120
1178
|
api.add_operation(:delete_workspace_image, Seahorse::Model::Operation.new.tap do |o|
|
1121
1179
|
o.name = "DeleteWorkspaceImage"
|
1122
1180
|
o.http_method = "POST"
|
@@ -1549,6 +1607,18 @@ module Aws::WorkSpaces
|
|
1549
1607
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1550
1608
|
end)
|
1551
1609
|
|
1610
|
+
api.add_operation(:update_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
|
1611
|
+
o.name = "UpdateWorkspaceBundle"
|
1612
|
+
o.http_method = "POST"
|
1613
|
+
o.http_request_uri = "/"
|
1614
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateWorkspaceBundleRequest)
|
1615
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateWorkspaceBundleResult)
|
1616
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1617
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1618
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1619
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1620
|
+
end)
|
1621
|
+
|
1552
1622
|
api.add_operation(:update_workspace_image_permission, Seahorse::Model::Operation.new.tap do |o|
|
1553
1623
|
o.name = "UpdateWorkspaceImagePermission"
|
1554
1624
|
o.http_method = "POST"
|