aws-sdk-workspaces 1.30.0 → 1.31.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 +244 -9
- data/lib/aws-sdk-workspaces/client_api.rb +145 -0
- data/lib/aws-sdk-workspaces/errors.rb +32 -0
- data/lib/aws-sdk-workspaces/types.rb +508 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cc1c03218ee6a991cfa3ed1d9bdecc638876928
|
4
|
+
data.tar.gz: d9e587a8ee16b9250fa41ba73e5d41cf4b688509
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85d6e228c00c985664055012437509c37262938325098a7f4ed11e4e3a878f3e480108dda8f91b2ea433baf1e527fbf80884a382f9e752d93734c701084c4339
|
7
|
+
data.tar.gz: 365dbed2ee48a858439a337c592cb5ca1b1673904fa56a28dbfe6af400a24dfcd4e91686cbe128c2577aeab8512019e89d8d8ef845aa7c776099ef4d7b0f9ff8
|
data/lib/aws-sdk-workspaces.rb
CHANGED
@@ -641,8 +641,36 @@ module Aws::WorkSpaces
|
|
641
641
|
req.send_request(options)
|
642
642
|
end
|
643
643
|
|
644
|
-
#
|
645
|
-
#
|
644
|
+
# Deregisters the specified directory. This operation is asynchronous
|
645
|
+
# and returns before the WorkSpace directory is deregistered. If any
|
646
|
+
# WorkSpaces are registered to this directory, you must remove them
|
647
|
+
# before you can deregister the directory.
|
648
|
+
#
|
649
|
+
# @option params [required, String] :directory_id
|
650
|
+
# The identifier of the directory. If any WorkSpaces are registered to
|
651
|
+
# this directory, you must remove them before you deregister the
|
652
|
+
# directory, or you will receive an OperationNotSupportedException
|
653
|
+
# error.
|
654
|
+
#
|
655
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
656
|
+
#
|
657
|
+
# @example Request syntax with placeholder values
|
658
|
+
#
|
659
|
+
# resp = client.deregister_workspace_directory({
|
660
|
+
# directory_id: "DirectoryId", # required
|
661
|
+
# })
|
662
|
+
#
|
663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeregisterWorkspaceDirectory AWS API Documentation
|
664
|
+
#
|
665
|
+
# @overload deregister_workspace_directory(params = {})
|
666
|
+
# @param [Hash] params ({})
|
667
|
+
def deregister_workspace_directory(params = {}, options = {})
|
668
|
+
req = build_request(:deregister_workspace_directory, params)
|
669
|
+
req.send_request(options)
|
670
|
+
end
|
671
|
+
|
672
|
+
# Retrieves a list that describes the configuration of Bring Your Own
|
673
|
+
# License (BYOL) for the specified account.
|
646
674
|
#
|
647
675
|
# @return [Types::DescribeAccountResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
648
676
|
#
|
@@ -664,7 +692,7 @@ module Aws::WorkSpaces
|
|
664
692
|
end
|
665
693
|
|
666
694
|
# Retrieves a list that describes modifications to the configuration of
|
667
|
-
#
|
695
|
+
# Bring Your Own License (BYOL) for the specified account.
|
668
696
|
#
|
669
697
|
# @option params [String] :next_token
|
670
698
|
# If you received a `NextToken` from a previous call that was paginated,
|
@@ -863,13 +891,16 @@ module Aws::WorkSpaces
|
|
863
891
|
req.send_request(options)
|
864
892
|
end
|
865
893
|
|
866
|
-
# Describes the available
|
867
|
-
#
|
894
|
+
# Describes the available directories that are registered with Amazon
|
895
|
+
# WorkSpaces.
|
868
896
|
#
|
869
897
|
# @option params [Array<String>] :directory_ids
|
870
898
|
# The identifiers of the directories. If the value is null, all
|
871
899
|
# directories are retrieved.
|
872
900
|
#
|
901
|
+
# @option params [Integer] :limit
|
902
|
+
# The maximum number of directories to return.
|
903
|
+
#
|
873
904
|
# @option params [String] :next_token
|
874
905
|
# If you received a `NextToken` from a previous call that was paginated,
|
875
906
|
# provide this token to receive the next set of results.
|
@@ -883,6 +914,7 @@ module Aws::WorkSpaces
|
|
883
914
|
#
|
884
915
|
# resp = client.describe_workspace_directories({
|
885
916
|
# directory_ids: ["DirectoryId"],
|
917
|
+
# limit: 1,
|
886
918
|
# next_token: "PaginationToken",
|
887
919
|
# })
|
888
920
|
#
|
@@ -907,8 +939,22 @@ module Aws::WorkSpaces
|
|
907
939
|
# resp.directories[0].workspace_creation_properties.default_ou #=> String
|
908
940
|
# resp.directories[0].workspace_creation_properties.custom_security_group_id #=> String
|
909
941
|
# resp.directories[0].workspace_creation_properties.user_enabled_as_local_administrator #=> Boolean
|
942
|
+
# resp.directories[0].workspace_creation_properties.enable_maintenance_mode #=> Boolean
|
910
943
|
# resp.directories[0].ip_group_ids #=> Array
|
911
944
|
# resp.directories[0].ip_group_ids[0] #=> String
|
945
|
+
# resp.directories[0].workspace_access_properties.device_type_windows #=> String, one of "ALLOW", "DENY"
|
946
|
+
# resp.directories[0].workspace_access_properties.device_type_osx #=> String, one of "ALLOW", "DENY"
|
947
|
+
# resp.directories[0].workspace_access_properties.device_type_web #=> String, one of "ALLOW", "DENY"
|
948
|
+
# resp.directories[0].workspace_access_properties.device_type_ios #=> String, one of "ALLOW", "DENY"
|
949
|
+
# resp.directories[0].workspace_access_properties.device_type_android #=> String, one of "ALLOW", "DENY"
|
950
|
+
# resp.directories[0].workspace_access_properties.device_type_chrome_os #=> String, one of "ALLOW", "DENY"
|
951
|
+
# resp.directories[0].workspace_access_properties.device_type_zero_client #=> String, one of "ALLOW", "DENY"
|
952
|
+
# resp.directories[0].tenancy #=> String, one of "DEDICATED", "SHARED"
|
953
|
+
# resp.directories[0].selfservice_permissions.restart_workspace #=> String, one of "ENABLED", "DISABLED"
|
954
|
+
# resp.directories[0].selfservice_permissions.increase_volume_size #=> String, one of "ENABLED", "DISABLED"
|
955
|
+
# resp.directories[0].selfservice_permissions.change_compute_type #=> String, one of "ENABLED", "DISABLED"
|
956
|
+
# resp.directories[0].selfservice_permissions.switch_running_mode #=> String, one of "ENABLED", "DISABLED"
|
957
|
+
# resp.directories[0].selfservice_permissions.rebuild_workspace #=> String, one of "ENABLED", "DISABLED"
|
912
958
|
# resp.next_token #=> String
|
913
959
|
#
|
914
960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories AWS API Documentation
|
@@ -1153,7 +1199,7 @@ module Aws::WorkSpaces
|
|
1153
1199
|
req.send_request(options)
|
1154
1200
|
end
|
1155
1201
|
|
1156
|
-
# Imports the specified Windows 7 or Windows 10
|
1202
|
+
# Imports the specified Windows 7 or Windows 10 Bring Your Own License
|
1157
1203
|
# (BYOL) image into Amazon WorkSpaces. The image must be an already
|
1158
1204
|
# licensed EC2 image that is in your AWS account, and you must own the
|
1159
1205
|
# image.
|
@@ -1207,7 +1253,7 @@ module Aws::WorkSpaces
|
|
1207
1253
|
|
1208
1254
|
# Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks,
|
1209
1255
|
# that you can use for the network management interface when you enable
|
1210
|
-
#
|
1256
|
+
# Bring Your Own License (BYOL).
|
1211
1257
|
#
|
1212
1258
|
# The management network interface is connected to a secure Amazon
|
1213
1259
|
# WorkSpaces management network. It is used for interactive streaming of
|
@@ -1254,7 +1300,7 @@ module Aws::WorkSpaces
|
|
1254
1300
|
req.send_request(options)
|
1255
1301
|
end
|
1256
1302
|
|
1257
|
-
# Modifies the configuration of
|
1303
|
+
# Modifies the configuration of Bring Your Own License (BYOL) for the
|
1258
1304
|
# specified account.
|
1259
1305
|
#
|
1260
1306
|
# @option params [String] :dedicated_tenancy_support
|
@@ -1314,6 +1360,117 @@ module Aws::WorkSpaces
|
|
1314
1360
|
req.send_request(options)
|
1315
1361
|
end
|
1316
1362
|
|
1363
|
+
# Modifies the self-service WorkSpace management capabilities for your
|
1364
|
+
# users. For more information, see [Enable Self-Service WorkSpace
|
1365
|
+
# Management Capabilities for Your Users][1].
|
1366
|
+
#
|
1367
|
+
#
|
1368
|
+
#
|
1369
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html
|
1370
|
+
#
|
1371
|
+
# @option params [required, String] :resource_id
|
1372
|
+
# The identifier of the directory.
|
1373
|
+
#
|
1374
|
+
# @option params [required, Types::SelfservicePermissions] :selfservice_permissions
|
1375
|
+
# The permissions to enable or disable self-service capabilities.
|
1376
|
+
#
|
1377
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1378
|
+
#
|
1379
|
+
# @example Request syntax with placeholder values
|
1380
|
+
#
|
1381
|
+
# resp = client.modify_selfservice_permissions({
|
1382
|
+
# resource_id: "DirectoryId", # required
|
1383
|
+
# selfservice_permissions: { # required
|
1384
|
+
# restart_workspace: "ENABLED", # accepts ENABLED, DISABLED
|
1385
|
+
# increase_volume_size: "ENABLED", # accepts ENABLED, DISABLED
|
1386
|
+
# change_compute_type: "ENABLED", # accepts ENABLED, DISABLED
|
1387
|
+
# switch_running_mode: "ENABLED", # accepts ENABLED, DISABLED
|
1388
|
+
# rebuild_workspace: "ENABLED", # accepts ENABLED, DISABLED
|
1389
|
+
# },
|
1390
|
+
# })
|
1391
|
+
#
|
1392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySelfservicePermissions AWS API Documentation
|
1393
|
+
#
|
1394
|
+
# @overload modify_selfservice_permissions(params = {})
|
1395
|
+
# @param [Hash] params ({})
|
1396
|
+
def modify_selfservice_permissions(params = {}, options = {})
|
1397
|
+
req = build_request(:modify_selfservice_permissions, params)
|
1398
|
+
req.send_request(options)
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# Specifies which devices and operating systems users can use to access
|
1402
|
+
# their Workspaces. For more information, see [ Control Device
|
1403
|
+
# Access][1].
|
1404
|
+
#
|
1405
|
+
#
|
1406
|
+
#
|
1407
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access
|
1408
|
+
#
|
1409
|
+
# @option params [required, String] :resource_id
|
1410
|
+
# The identifier of the directory.
|
1411
|
+
#
|
1412
|
+
# @option params [required, Types::WorkspaceAccessProperties] :workspace_access_properties
|
1413
|
+
# The device types and operating systems to enable or disable for
|
1414
|
+
# access.
|
1415
|
+
#
|
1416
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1417
|
+
#
|
1418
|
+
# @example Request syntax with placeholder values
|
1419
|
+
#
|
1420
|
+
# resp = client.modify_workspace_access_properties({
|
1421
|
+
# resource_id: "DirectoryId", # required
|
1422
|
+
# workspace_access_properties: { # required
|
1423
|
+
# device_type_windows: "ALLOW", # accepts ALLOW, DENY
|
1424
|
+
# device_type_osx: "ALLOW", # accepts ALLOW, DENY
|
1425
|
+
# device_type_web: "ALLOW", # accepts ALLOW, DENY
|
1426
|
+
# device_type_ios: "ALLOW", # accepts ALLOW, DENY
|
1427
|
+
# device_type_android: "ALLOW", # accepts ALLOW, DENY
|
1428
|
+
# device_type_chrome_os: "ALLOW", # accepts ALLOW, DENY
|
1429
|
+
# device_type_zero_client: "ALLOW", # accepts ALLOW, DENY
|
1430
|
+
# },
|
1431
|
+
# })
|
1432
|
+
#
|
1433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties AWS API Documentation
|
1434
|
+
#
|
1435
|
+
# @overload modify_workspace_access_properties(params = {})
|
1436
|
+
# @param [Hash] params ({})
|
1437
|
+
def modify_workspace_access_properties(params = {}, options = {})
|
1438
|
+
req = build_request(:modify_workspace_access_properties, params)
|
1439
|
+
req.send_request(options)
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# Modify the default properties used to create WorkSpaces.
|
1443
|
+
#
|
1444
|
+
# @option params [required, String] :resource_id
|
1445
|
+
# The identifier of the directory.
|
1446
|
+
#
|
1447
|
+
# @option params [required, Types::WorkspaceCreationProperties] :workspace_creation_properties
|
1448
|
+
# The default properties for creating WorkSpaces.
|
1449
|
+
#
|
1450
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1451
|
+
#
|
1452
|
+
# @example Request syntax with placeholder values
|
1453
|
+
#
|
1454
|
+
# resp = client.modify_workspace_creation_properties({
|
1455
|
+
# resource_id: "DirectoryId", # required
|
1456
|
+
# workspace_creation_properties: { # required
|
1457
|
+
# enable_internet_access: false,
|
1458
|
+
# default_ou: "DefaultOu",
|
1459
|
+
# custom_security_group_id: "SecurityGroupId",
|
1460
|
+
# user_enabled_as_local_administrator: false,
|
1461
|
+
# enable_maintenance_mode: false,
|
1462
|
+
# },
|
1463
|
+
# })
|
1464
|
+
#
|
1465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceCreationProperties AWS API Documentation
|
1466
|
+
#
|
1467
|
+
# @overload modify_workspace_creation_properties(params = {})
|
1468
|
+
# @param [Hash] params ({})
|
1469
|
+
def modify_workspace_creation_properties(params = {}, options = {})
|
1470
|
+
req = build_request(:modify_workspace_creation_properties, params)
|
1471
|
+
req.send_request(options)
|
1472
|
+
end
|
1473
|
+
|
1317
1474
|
# Modifies the specified WorkSpace properties.
|
1318
1475
|
#
|
1319
1476
|
# @option params [required, String] :workspace_id
|
@@ -1468,6 +1625,84 @@ module Aws::WorkSpaces
|
|
1468
1625
|
req.send_request(options)
|
1469
1626
|
end
|
1470
1627
|
|
1628
|
+
# Registers the specified directory. This operation is asynchronous and
|
1629
|
+
# returns before the WorkSpace directory is registered. If this is the
|
1630
|
+
# first time you are registering a directory, you will need to create
|
1631
|
+
# the workspaces\_DefaultRole role before you can register a directory.
|
1632
|
+
# For more information, see [ Creating the workspaces\_DefaultRole
|
1633
|
+
# Role][1].
|
1634
|
+
#
|
1635
|
+
#
|
1636
|
+
#
|
1637
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role
|
1638
|
+
#
|
1639
|
+
# @option params [required, String] :directory_id
|
1640
|
+
# The identifier of the directory. You cannot register a directory if it
|
1641
|
+
# does not have a status of Active. If the directory does not have a
|
1642
|
+
# status of Active, you will receive an InvalidResourceStateException
|
1643
|
+
# error. If you have already registered the maximum number of
|
1644
|
+
# directories that you can register with Amazon WorkSpaces, you will
|
1645
|
+
# receive a ResourceLimitExceededException error. Deregister directories
|
1646
|
+
# that you are not using for WorkSpaces, and try again.
|
1647
|
+
#
|
1648
|
+
# @option params [Array<String>] :subnet_ids
|
1649
|
+
# The identifiers of the subnets for your virtual private cloud (VPC).
|
1650
|
+
# Make sure that the subnets are in supported Availability Zones. The
|
1651
|
+
# subnets must also be in separate Availability Zones. If these
|
1652
|
+
# conditions are not met, you will receive an
|
1653
|
+
# OperationNotSupportedException error.
|
1654
|
+
#
|
1655
|
+
# @option params [required, Boolean] :enable_work_docs
|
1656
|
+
# Indicates whether Amazon WorkDocs is enabled or disabled. If you have
|
1657
|
+
# enabled this parameter and WorkDocs is not available in the Region,
|
1658
|
+
# you will receive an OperationNotSupportedException error. Set
|
1659
|
+
# `EnableWorkDocs` to disabled, and try again.
|
1660
|
+
#
|
1661
|
+
# @option params [Boolean] :enable_self_service
|
1662
|
+
# Indicates whether self-service capabilities are enabled or disabled.
|
1663
|
+
#
|
1664
|
+
# @option params [String] :tenancy
|
1665
|
+
# Indicates whether your WorkSpace directory is dedicated or shared. To
|
1666
|
+
# use Bring Your Own License (BYOL) images, this value must be set to
|
1667
|
+
# `DEDICATED` and your AWS account must be enabled for BYOL. If your
|
1668
|
+
# account has not been enabled for BYOL, you will receive an
|
1669
|
+
# InvalidParameterValuesException error. For more information about BYOL
|
1670
|
+
# images, see [Bring Your Own Windows Desktop Images][1].
|
1671
|
+
#
|
1672
|
+
#
|
1673
|
+
#
|
1674
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
|
1675
|
+
#
|
1676
|
+
# @option params [Array<Types::Tag>] :tags
|
1677
|
+
# The tags associated with the directory.
|
1678
|
+
#
|
1679
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1680
|
+
#
|
1681
|
+
# @example Request syntax with placeholder values
|
1682
|
+
#
|
1683
|
+
# resp = client.register_workspace_directory({
|
1684
|
+
# directory_id: "DirectoryId", # required
|
1685
|
+
# subnet_ids: ["SubnetId"],
|
1686
|
+
# enable_work_docs: false, # required
|
1687
|
+
# enable_self_service: false,
|
1688
|
+
# tenancy: "DEDICATED", # accepts DEDICATED, SHARED
|
1689
|
+
# tags: [
|
1690
|
+
# {
|
1691
|
+
# key: "TagKey", # required
|
1692
|
+
# value: "TagValue",
|
1693
|
+
# },
|
1694
|
+
# ],
|
1695
|
+
# })
|
1696
|
+
#
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RegisterWorkspaceDirectory AWS API Documentation
|
1698
|
+
#
|
1699
|
+
# @overload register_workspace_directory(params = {})
|
1700
|
+
# @param [Hash] params ({})
|
1701
|
+
def register_workspace_directory(params = {}, options = {})
|
1702
|
+
req = build_request(:register_workspace_directory, params)
|
1703
|
+
req.send_request(options)
|
1704
|
+
end
|
1705
|
+
|
1471
1706
|
# Restores the specified WorkSpace to its last known healthy state.
|
1472
1707
|
#
|
1473
1708
|
# You cannot restore a WorkSpace unless its state is ` AVAILABLE`,
|
@@ -1695,7 +1930,7 @@ module Aws::WorkSpaces
|
|
1695
1930
|
params: params,
|
1696
1931
|
config: config)
|
1697
1932
|
context[:gem_name] = 'aws-sdk-workspaces'
|
1698
|
-
context[:gem_version] = '1.
|
1933
|
+
context[:gem_version] = '1.31.0'
|
1699
1934
|
Seahorse::Client::Request.new(handlers, context)
|
1700
1935
|
end
|
1701
1936
|
|
@@ -13,6 +13,7 @@ module Aws::WorkSpaces
|
|
13
13
|
|
14
14
|
ARN = Shapes::StringShape.new(name: 'ARN')
|
15
15
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
16
|
+
AccessPropertyValue = Shapes::StringShape.new(name: 'AccessPropertyValue')
|
16
17
|
AccountModification = Shapes::StructureShape.new(name: 'AccountModification')
|
17
18
|
AccountModificationList = Shapes::ListShape.new(name: 'AccountModificationList')
|
18
19
|
Alias = Shapes::StringShape.new(name: 'Alias')
|
@@ -53,6 +54,8 @@ module Aws::WorkSpaces
|
|
53
54
|
DeleteTagsResult = Shapes::StructureShape.new(name: 'DeleteTagsResult')
|
54
55
|
DeleteWorkspaceImageRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageRequest')
|
55
56
|
DeleteWorkspaceImageResult = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageResult')
|
57
|
+
DeregisterWorkspaceDirectoryRequest = Shapes::StructureShape.new(name: 'DeregisterWorkspaceDirectoryRequest')
|
58
|
+
DeregisterWorkspaceDirectoryResult = Shapes::StructureShape.new(name: 'DeregisterWorkspaceDirectoryResult')
|
56
59
|
DescribeAccountModificationsRequest = Shapes::StructureShape.new(name: 'DescribeAccountModificationsRequest')
|
57
60
|
DescribeAccountModificationsResult = Shapes::StructureShape.new(name: 'DescribeAccountModificationsResult')
|
58
61
|
DescribeAccountRequest = Shapes::StructureShape.new(name: 'DescribeAccountRequest')
|
@@ -121,6 +124,12 @@ module Aws::WorkSpaces
|
|
121
124
|
ModifyAccountResult = Shapes::StructureShape.new(name: 'ModifyAccountResult')
|
122
125
|
ModifyClientPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyClientPropertiesRequest')
|
123
126
|
ModifyClientPropertiesResult = Shapes::StructureShape.new(name: 'ModifyClientPropertiesResult')
|
127
|
+
ModifySelfservicePermissionsRequest = Shapes::StructureShape.new(name: 'ModifySelfservicePermissionsRequest')
|
128
|
+
ModifySelfservicePermissionsResult = Shapes::StructureShape.new(name: 'ModifySelfservicePermissionsResult')
|
129
|
+
ModifyWorkspaceAccessPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspaceAccessPropertiesRequest')
|
130
|
+
ModifyWorkspaceAccessPropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspaceAccessPropertiesResult')
|
131
|
+
ModifyWorkspaceCreationPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspaceCreationPropertiesRequest')
|
132
|
+
ModifyWorkspaceCreationPropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspaceCreationPropertiesResult')
|
124
133
|
ModifyWorkspacePropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesRequest')
|
125
134
|
ModifyWorkspacePropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesResult')
|
126
135
|
ModifyWorkspaceStateRequest = Shapes::StructureShape.new(name: 'ModifyWorkspaceStateRequest')
|
@@ -141,6 +150,8 @@ module Aws::WorkSpaces
|
|
141
150
|
RebuildWorkspacesResult = Shapes::StructureShape.new(name: 'RebuildWorkspacesResult')
|
142
151
|
ReconnectEnum = Shapes::StringShape.new(name: 'ReconnectEnum')
|
143
152
|
Region = Shapes::StringShape.new(name: 'Region')
|
153
|
+
RegisterWorkspaceDirectoryRequest = Shapes::StructureShape.new(name: 'RegisterWorkspaceDirectoryRequest')
|
154
|
+
RegisterWorkspaceDirectoryResult = Shapes::StructureShape.new(name: 'RegisterWorkspaceDirectoryResult')
|
144
155
|
RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
|
145
156
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
146
157
|
ResourceAssociatedException = Shapes::StructureShape.new(name: 'ResourceAssociatedException')
|
@@ -158,6 +169,7 @@ module Aws::WorkSpaces
|
|
158
169
|
RunningMode = Shapes::StringShape.new(name: 'RunningMode')
|
159
170
|
RunningModeAutoStopTimeoutInMinutes = Shapes::IntegerShape.new(name: 'RunningModeAutoStopTimeoutInMinutes')
|
160
171
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
172
|
+
SelfservicePermissions = Shapes::StructureShape.new(name: 'SelfservicePermissions')
|
161
173
|
Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
|
162
174
|
SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
|
163
175
|
StartRequest = Shapes::StructureShape.new(name: 'StartRequest')
|
@@ -176,11 +188,13 @@ module Aws::WorkSpaces
|
|
176
188
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
177
189
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
178
190
|
TargetWorkspaceState = Shapes::StringShape.new(name: 'TargetWorkspaceState')
|
191
|
+
Tenancy = Shapes::StringShape.new(name: 'Tenancy')
|
179
192
|
TerminateRequest = Shapes::StructureShape.new(name: 'TerminateRequest')
|
180
193
|
TerminateWorkspaceRequests = Shapes::ListShape.new(name: 'TerminateWorkspaceRequests')
|
181
194
|
TerminateWorkspacesRequest = Shapes::StructureShape.new(name: 'TerminateWorkspacesRequest')
|
182
195
|
TerminateWorkspacesResult = Shapes::StructureShape.new(name: 'TerminateWorkspacesResult')
|
183
196
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
197
|
+
UnsupportedNetworkConfigurationException = Shapes::StructureShape.new(name: 'UnsupportedNetworkConfigurationException')
|
184
198
|
UnsupportedWorkspaceConfigurationException = Shapes::StructureShape.new(name: 'UnsupportedWorkspaceConfigurationException')
|
185
199
|
UpdateRulesOfIpGroupRequest = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupRequest')
|
186
200
|
UpdateRulesOfIpGroupResult = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupResult')
|
@@ -189,9 +203,11 @@ module Aws::WorkSpaces
|
|
189
203
|
UserVolumeSizeGib = Shapes::IntegerShape.new(name: 'UserVolumeSizeGib')
|
190
204
|
VolumeEncryptionKey = Shapes::StringShape.new(name: 'VolumeEncryptionKey')
|
191
205
|
Workspace = Shapes::StructureShape.new(name: 'Workspace')
|
206
|
+
WorkspaceAccessProperties = Shapes::StructureShape.new(name: 'WorkspaceAccessProperties')
|
192
207
|
WorkspaceBundle = Shapes::StructureShape.new(name: 'WorkspaceBundle')
|
193
208
|
WorkspaceConnectionStatus = Shapes::StructureShape.new(name: 'WorkspaceConnectionStatus')
|
194
209
|
WorkspaceConnectionStatusList = Shapes::ListShape.new(name: 'WorkspaceConnectionStatusList')
|
210
|
+
WorkspaceCreationProperties = Shapes::StructureShape.new(name: 'WorkspaceCreationProperties')
|
195
211
|
WorkspaceDirectory = Shapes::StructureShape.new(name: 'WorkspaceDirectory')
|
196
212
|
WorkspaceDirectoryState = Shapes::StringShape.new(name: 'WorkspaceDirectoryState')
|
197
213
|
WorkspaceDirectoryType = Shapes::StringShape.new(name: 'WorkspaceDirectoryType')
|
@@ -213,6 +229,7 @@ module Aws::WorkSpaces
|
|
213
229
|
WorkspaceRequest = Shapes::StructureShape.new(name: 'WorkspaceRequest')
|
214
230
|
WorkspaceRequestList = Shapes::ListShape.new(name: 'WorkspaceRequestList')
|
215
231
|
WorkspaceState = Shapes::StringShape.new(name: 'WorkspaceState')
|
232
|
+
WorkspacesDefaultRoleNotFoundException = Shapes::StructureShape.new(name: 'WorkspacesDefaultRoleNotFoundException')
|
216
233
|
WorkspacesIpGroup = Shapes::StructureShape.new(name: 'WorkspacesIpGroup')
|
217
234
|
WorkspacesIpGroupsList = Shapes::ListShape.new(name: 'WorkspacesIpGroupsList')
|
218
235
|
|
@@ -296,6 +313,7 @@ module Aws::WorkSpaces
|
|
296
313
|
DefaultWorkspaceCreationProperties.add_member(:default_ou, Shapes::ShapeRef.new(shape: DefaultOu, location_name: "DefaultOu"))
|
297
314
|
DefaultWorkspaceCreationProperties.add_member(:custom_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "CustomSecurityGroupId"))
|
298
315
|
DefaultWorkspaceCreationProperties.add_member(:user_enabled_as_local_administrator, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserEnabledAsLocalAdministrator"))
|
316
|
+
DefaultWorkspaceCreationProperties.add_member(:enable_maintenance_mode, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableMaintenanceMode"))
|
299
317
|
DefaultWorkspaceCreationProperties.struct_class = Types::DefaultWorkspaceCreationProperties
|
300
318
|
|
301
319
|
DeleteIpGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, required: true, location_name: "GroupId"))
|
@@ -314,6 +332,11 @@ module Aws::WorkSpaces
|
|
314
332
|
|
315
333
|
DeleteWorkspaceImageResult.struct_class = Types::DeleteWorkspaceImageResult
|
316
334
|
|
335
|
+
DeregisterWorkspaceDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
336
|
+
DeregisterWorkspaceDirectoryRequest.struct_class = Types::DeregisterWorkspaceDirectoryRequest
|
337
|
+
|
338
|
+
DeregisterWorkspaceDirectoryResult.struct_class = Types::DeregisterWorkspaceDirectoryResult
|
339
|
+
|
317
340
|
DescribeAccountModificationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
318
341
|
DescribeAccountModificationsRequest.struct_class = Types::DescribeAccountModificationsRequest
|
319
342
|
|
@@ -358,6 +381,7 @@ module Aws::WorkSpaces
|
|
358
381
|
DescribeWorkspaceBundlesResult.struct_class = Types::DescribeWorkspaceBundlesResult
|
359
382
|
|
360
383
|
DescribeWorkspaceDirectoriesRequest.add_member(:directory_ids, Shapes::ShapeRef.new(shape: DirectoryIdList, location_name: "DirectoryIds"))
|
384
|
+
DescribeWorkspaceDirectoriesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
|
361
385
|
DescribeWorkspaceDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
362
386
|
DescribeWorkspaceDirectoriesRequest.struct_class = Types::DescribeWorkspaceDirectoriesRequest
|
363
387
|
|
@@ -488,6 +512,24 @@ module Aws::WorkSpaces
|
|
488
512
|
|
489
513
|
ModifyClientPropertiesResult.struct_class = Types::ModifyClientPropertiesResult
|
490
514
|
|
515
|
+
ModifySelfservicePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
|
516
|
+
ModifySelfservicePermissionsRequest.add_member(:selfservice_permissions, Shapes::ShapeRef.new(shape: SelfservicePermissions, required: true, location_name: "SelfservicePermissions"))
|
517
|
+
ModifySelfservicePermissionsRequest.struct_class = Types::ModifySelfservicePermissionsRequest
|
518
|
+
|
519
|
+
ModifySelfservicePermissionsResult.struct_class = Types::ModifySelfservicePermissionsResult
|
520
|
+
|
521
|
+
ModifyWorkspaceAccessPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
|
522
|
+
ModifyWorkspaceAccessPropertiesRequest.add_member(:workspace_access_properties, Shapes::ShapeRef.new(shape: WorkspaceAccessProperties, required: true, location_name: "WorkspaceAccessProperties"))
|
523
|
+
ModifyWorkspaceAccessPropertiesRequest.struct_class = Types::ModifyWorkspaceAccessPropertiesRequest
|
524
|
+
|
525
|
+
ModifyWorkspaceAccessPropertiesResult.struct_class = Types::ModifyWorkspaceAccessPropertiesResult
|
526
|
+
|
527
|
+
ModifyWorkspaceCreationPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
|
528
|
+
ModifyWorkspaceCreationPropertiesRequest.add_member(:workspace_creation_properties, Shapes::ShapeRef.new(shape: WorkspaceCreationProperties, required: true, location_name: "WorkspaceCreationProperties"))
|
529
|
+
ModifyWorkspaceCreationPropertiesRequest.struct_class = Types::ModifyWorkspaceCreationPropertiesRequest
|
530
|
+
|
531
|
+
ModifyWorkspaceCreationPropertiesResult.struct_class = Types::ModifyWorkspaceCreationPropertiesResult
|
532
|
+
|
491
533
|
ModifyWorkspacePropertiesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
|
492
534
|
ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, required: true, location_name: "WorkspaceProperties"))
|
493
535
|
ModifyWorkspacePropertiesRequest.struct_class = Types::ModifyWorkspacePropertiesRequest
|
@@ -531,6 +573,16 @@ module Aws::WorkSpaces
|
|
531
573
|
RebuildWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebuildWorkspaceRequests, location_name: "FailedRequests"))
|
532
574
|
RebuildWorkspacesResult.struct_class = Types::RebuildWorkspacesResult
|
533
575
|
|
576
|
+
RegisterWorkspaceDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
577
|
+
RegisterWorkspaceDirectoryRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
|
578
|
+
RegisterWorkspaceDirectoryRequest.add_member(:enable_work_docs, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "EnableWorkDocs"))
|
579
|
+
RegisterWorkspaceDirectoryRequest.add_member(:enable_self_service, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableSelfService"))
|
580
|
+
RegisterWorkspaceDirectoryRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "Tenancy"))
|
581
|
+
RegisterWorkspaceDirectoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
582
|
+
RegisterWorkspaceDirectoryRequest.struct_class = Types::RegisterWorkspaceDirectoryRequest
|
583
|
+
|
584
|
+
RegisterWorkspaceDirectoryResult.struct_class = Types::RegisterWorkspaceDirectoryResult
|
585
|
+
|
534
586
|
ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
535
587
|
ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
|
536
588
|
|
@@ -567,6 +619,13 @@ module Aws::WorkSpaces
|
|
567
619
|
RootStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
|
568
620
|
RootStorage.struct_class = Types::RootStorage
|
569
621
|
|
622
|
+
SelfservicePermissions.add_member(:restart_workspace, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "RestartWorkspace"))
|
623
|
+
SelfservicePermissions.add_member(:increase_volume_size, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "IncreaseVolumeSize"))
|
624
|
+
SelfservicePermissions.add_member(:change_compute_type, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "ChangeComputeType"))
|
625
|
+
SelfservicePermissions.add_member(:switch_running_mode, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "SwitchRunningMode"))
|
626
|
+
SelfservicePermissions.add_member(:rebuild_workspace, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "RebuildWorkspace"))
|
627
|
+
SelfservicePermissions.struct_class = Types::SelfservicePermissions
|
628
|
+
|
570
629
|
Snapshot.add_member(:snapshot_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SnapshotTime"))
|
571
630
|
Snapshot.struct_class = Types::Snapshot
|
572
631
|
|
@@ -615,6 +674,9 @@ module Aws::WorkSpaces
|
|
615
674
|
TerminateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedTerminateWorkspaceRequests, location_name: "FailedRequests"))
|
616
675
|
TerminateWorkspacesResult.struct_class = Types::TerminateWorkspacesResult
|
617
676
|
|
677
|
+
UnsupportedNetworkConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
678
|
+
UnsupportedNetworkConfigurationException.struct_class = Types::UnsupportedNetworkConfigurationException
|
679
|
+
|
618
680
|
UnsupportedWorkspaceConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
619
681
|
UnsupportedWorkspaceConfigurationException.struct_class = Types::UnsupportedWorkspaceConfigurationException
|
620
682
|
|
@@ -644,6 +706,15 @@ module Aws::WorkSpaces
|
|
644
706
|
Workspace.add_member(:modification_states, Shapes::ShapeRef.new(shape: ModificationStateList, location_name: "ModificationStates"))
|
645
707
|
Workspace.struct_class = Types::Workspace
|
646
708
|
|
709
|
+
WorkspaceAccessProperties.add_member(:device_type_windows, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeWindows"))
|
710
|
+
WorkspaceAccessProperties.add_member(:device_type_osx, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeOsx"))
|
711
|
+
WorkspaceAccessProperties.add_member(:device_type_web, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeWeb"))
|
712
|
+
WorkspaceAccessProperties.add_member(:device_type_ios, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeIos"))
|
713
|
+
WorkspaceAccessProperties.add_member(:device_type_android, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeAndroid"))
|
714
|
+
WorkspaceAccessProperties.add_member(:device_type_chrome_os, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeChromeOs"))
|
715
|
+
WorkspaceAccessProperties.add_member(:device_type_zero_client, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeZeroClient"))
|
716
|
+
WorkspaceAccessProperties.struct_class = Types::WorkspaceAccessProperties
|
717
|
+
|
647
718
|
WorkspaceBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
|
648
719
|
WorkspaceBundle.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
649
720
|
WorkspaceBundle.add_member(:owner, Shapes::ShapeRef.new(shape: BundleOwner, location_name: "Owner"))
|
@@ -661,6 +732,13 @@ module Aws::WorkSpaces
|
|
661
732
|
|
662
733
|
WorkspaceConnectionStatusList.member = Shapes::ShapeRef.new(shape: WorkspaceConnectionStatus)
|
663
734
|
|
735
|
+
WorkspaceCreationProperties.add_member(:enable_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableInternetAccess"))
|
736
|
+
WorkspaceCreationProperties.add_member(:default_ou, Shapes::ShapeRef.new(shape: DefaultOu, location_name: "DefaultOu"))
|
737
|
+
WorkspaceCreationProperties.add_member(:custom_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "CustomSecurityGroupId"))
|
738
|
+
WorkspaceCreationProperties.add_member(:user_enabled_as_local_administrator, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserEnabledAsLocalAdministrator"))
|
739
|
+
WorkspaceCreationProperties.add_member(:enable_maintenance_mode, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableMaintenanceMode"))
|
740
|
+
WorkspaceCreationProperties.struct_class = Types::WorkspaceCreationProperties
|
741
|
+
|
664
742
|
WorkspaceDirectory.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
|
665
743
|
WorkspaceDirectory.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
|
666
744
|
WorkspaceDirectory.add_member(:directory_name, Shapes::ShapeRef.new(shape: DirectoryName, location_name: "DirectoryName"))
|
@@ -674,6 +752,9 @@ module Aws::WorkSpaces
|
|
674
752
|
WorkspaceDirectory.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceDirectoryState, location_name: "State"))
|
675
753
|
WorkspaceDirectory.add_member(:workspace_creation_properties, Shapes::ShapeRef.new(shape: DefaultWorkspaceCreationProperties, location_name: "WorkspaceCreationProperties"))
|
676
754
|
WorkspaceDirectory.add_member(:ip_group_ids, Shapes::ShapeRef.new(shape: IpGroupIdList, location_name: "ipGroupIds"))
|
755
|
+
WorkspaceDirectory.add_member(:workspace_access_properties, Shapes::ShapeRef.new(shape: WorkspaceAccessProperties, location_name: "WorkspaceAccessProperties"))
|
756
|
+
WorkspaceDirectory.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "Tenancy"))
|
757
|
+
WorkspaceDirectory.add_member(:selfservice_permissions, Shapes::ShapeRef.new(shape: SelfservicePermissions, location_name: "SelfservicePermissions"))
|
677
758
|
WorkspaceDirectory.struct_class = Types::WorkspaceDirectory
|
678
759
|
|
679
760
|
WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
|
@@ -713,6 +794,9 @@ module Aws::WorkSpaces
|
|
713
794
|
|
714
795
|
WorkspaceRequestList.member = Shapes::ShapeRef.new(shape: WorkspaceRequest)
|
715
796
|
|
797
|
+
WorkspacesDefaultRoleNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
798
|
+
WorkspacesDefaultRoleNotFoundException.struct_class = Types::WorkspacesDefaultRoleNotFoundException
|
799
|
+
|
716
800
|
WorkspacesIpGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, location_name: "groupId"))
|
717
801
|
WorkspacesIpGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: IpGroupName, location_name: "groupName"))
|
718
802
|
WorkspacesIpGroup.add_member(:group_desc, Shapes::ShapeRef.new(shape: IpGroupDesc, location_name: "groupDesc"))
|
@@ -848,6 +932,19 @@ module Aws::WorkSpaces
|
|
848
932
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
849
933
|
end)
|
850
934
|
|
935
|
+
api.add_operation(:deregister_workspace_directory, Seahorse::Model::Operation.new.tap do |o|
|
936
|
+
o.name = "DeregisterWorkspaceDirectory"
|
937
|
+
o.http_method = "POST"
|
938
|
+
o.http_request_uri = "/"
|
939
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterWorkspaceDirectoryRequest)
|
940
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterWorkspaceDirectoryResult)
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
943
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
946
|
+
end)
|
947
|
+
|
851
948
|
api.add_operation(:describe_account, Seahorse::Model::Operation.new.tap do |o|
|
852
949
|
o.name = "DescribeAccount"
|
853
950
|
o.http_method = "POST"
|
@@ -1029,6 +1126,38 @@ module Aws::WorkSpaces
|
|
1029
1126
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1030
1127
|
end)
|
1031
1128
|
|
1129
|
+
api.add_operation(:modify_selfservice_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1130
|
+
o.name = "ModifySelfservicePermissions"
|
1131
|
+
o.http_method = "POST"
|
1132
|
+
o.http_request_uri = "/"
|
1133
|
+
o.input = Shapes::ShapeRef.new(shape: ModifySelfservicePermissionsRequest)
|
1134
|
+
o.output = Shapes::ShapeRef.new(shape: ModifySelfservicePermissionsResult)
|
1135
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1136
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1137
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1138
|
+
end)
|
1139
|
+
|
1140
|
+
api.add_operation(:modify_workspace_access_properties, Seahorse::Model::Operation.new.tap do |o|
|
1141
|
+
o.name = "ModifyWorkspaceAccessProperties"
|
1142
|
+
o.http_method = "POST"
|
1143
|
+
o.http_request_uri = "/"
|
1144
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyWorkspaceAccessPropertiesRequest)
|
1145
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyWorkspaceAccessPropertiesResult)
|
1146
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1147
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1148
|
+
end)
|
1149
|
+
|
1150
|
+
api.add_operation(:modify_workspace_creation_properties, Seahorse::Model::Operation.new.tap do |o|
|
1151
|
+
o.name = "ModifyWorkspaceCreationProperties"
|
1152
|
+
o.http_method = "POST"
|
1153
|
+
o.http_request_uri = "/"
|
1154
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyWorkspaceCreationPropertiesRequest)
|
1155
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyWorkspaceCreationPropertiesResult)
|
1156
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1157
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1158
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1159
|
+
end)
|
1160
|
+
|
1032
1161
|
api.add_operation(:modify_workspace_properties, Seahorse::Model::Operation.new.tap do |o|
|
1033
1162
|
o.name = "ModifyWorkspaceProperties"
|
1034
1163
|
o.http_method = "POST"
|
@@ -1071,6 +1200,22 @@ module Aws::WorkSpaces
|
|
1071
1200
|
o.output = Shapes::ShapeRef.new(shape: RebuildWorkspacesResult)
|
1072
1201
|
end)
|
1073
1202
|
|
1203
|
+
api.add_operation(:register_workspace_directory, Seahorse::Model::Operation.new.tap do |o|
|
1204
|
+
o.name = "RegisterWorkspaceDirectory"
|
1205
|
+
o.http_method = "POST"
|
1206
|
+
o.http_request_uri = "/"
|
1207
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterWorkspaceDirectoryRequest)
|
1208
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterWorkspaceDirectoryResult)
|
1209
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1210
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1211
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1212
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: WorkspacesDefaultRoleNotFoundException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedNetworkConfigurationException)
|
1216
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
1217
|
+
end)
|
1218
|
+
|
1074
1219
|
api.add_operation(:restore_workspace, Seahorse::Model::Operation.new.tap do |o|
|
1075
1220
|
o.name = "RestoreWorkspace"
|
1076
1221
|
o.http_method = "POST"
|