@aws-sdk/client-workspaces 3.600.0 → 3.607.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.
Files changed (77) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +536 -1
  3. package/dist-es/WorkSpaces.js +18 -0
  4. package/dist-es/commands/CreateWorkspacesPoolCommand.js +24 -0
  5. package/dist-es/commands/DescribeWorkspacesPoolSessionsCommand.js +24 -0
  6. package/dist-es/commands/DescribeWorkspacesPoolsCommand.js +24 -0
  7. package/dist-es/commands/ModifyStreamingPropertiesCommand.js +24 -0
  8. package/dist-es/commands/StartWorkspacesPoolCommand.js +24 -0
  9. package/dist-es/commands/StopWorkspacesPoolCommand.js +24 -0
  10. package/dist-es/commands/TerminateWorkspacesPoolCommand.js +24 -0
  11. package/dist-es/commands/TerminateWorkspacesPoolSessionCommand.js +24 -0
  12. package/dist-es/commands/UpdateWorkspacesPoolCommand.js +24 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/index.js +1 -0
  15. package/dist-es/models/models_0.js +102 -0
  16. package/dist-es/models/models_1.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +238 -0
  18. package/dist-types/WorkSpaces.d.ts +65 -0
  19. package/dist-types/WorkSpacesClient.d.ts +11 -2
  20. package/dist-types/commands/CreateWorkspacesCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateWorkspacesPoolCommand.d.ts +130 -0
  22. package/dist-types/commands/DescribeApplicationsCommand.d.ts +2 -2
  23. package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +30 -1
  24. package/dist-types/commands/DescribeWorkspacesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +88 -0
  26. package/dist-types/commands/DescribeWorkspacesPoolsCommand.d.ts +116 -0
  27. package/dist-types/commands/DisassociateIpGroupsCommand.d.ts +3 -0
  28. package/dist-types/commands/ModifyClientPropertiesCommand.d.ts +3 -0
  29. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +3 -0
  30. package/dist-types/commands/ModifyStreamingPropertiesCommand.d.ts +86 -0
  31. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -0
  32. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  33. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +18 -4
  34. package/dist-types/commands/StartWorkspacesCommand.d.ts +1 -1
  35. package/dist-types/commands/StartWorkspacesPoolCommand.d.ts +81 -0
  36. package/dist-types/commands/StopWorkspacesCommand.d.ts +1 -1
  37. package/dist-types/commands/StopWorkspacesPoolCommand.d.ts +75 -0
  38. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +1 -1
  39. package/dist-types/commands/TerminateWorkspacesPoolCommand.d.ts +73 -0
  40. package/dist-types/commands/TerminateWorkspacesPoolSessionCommand.d.ts +73 -0
  41. package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateWorkspacesPoolCommand.d.ts +127 -0
  47. package/dist-types/commands/index.d.ts +9 -0
  48. package/dist-types/models/index.d.ts +1 -0
  49. package/dist-types/models/models_0.d.ts +855 -253
  50. package/dist-types/models/models_1.d.ts +324 -0
  51. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  52. package/dist-types/ts3.4/WorkSpaces.d.ts +155 -0
  53. package/dist-types/ts3.4/WorkSpacesClient.d.ts +56 -2
  54. package/dist-types/ts3.4/commands/CreateWorkspacesPoolCommand.d.ts +40 -0
  55. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +40 -0
  56. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolsCommand.d.ts +40 -0
  57. package/dist-types/ts3.4/commands/ModifyStreamingPropertiesCommand.d.ts +40 -0
  58. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/StartWorkspacesPoolCommand.d.ts +40 -0
  61. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/StopWorkspacesPoolCommand.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolCommand.d.ts +40 -0
  65. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolSessionCommand.d.ts +40 -0
  66. package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdateWorkspacesPoolCommand.d.ts +40 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  73. package/dist-types/ts3.4/models/index.d.ts +1 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +267 -58
  75. package/dist-types/ts3.4/models/models_1.d.ts +92 -0
  76. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  77. package/package.json +3 -3
@@ -0,0 +1,130 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateWorkspacesPoolRequest, CreateWorkspacesPoolResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateWorkspacesPoolCommand}.
14
+ */
15
+ export interface CreateWorkspacesPoolCommandInput extends CreateWorkspacesPoolRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateWorkspacesPoolCommand}.
21
+ */
22
+ export interface CreateWorkspacesPoolCommandOutput extends CreateWorkspacesPoolResult, __MetadataBearer {
23
+ }
24
+ declare const CreateWorkspacesPoolCommand_base: {
25
+ new (input: CreateWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkspacesPoolCommandInput, CreateWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkspacesPoolCommandInput, CreateWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a pool of WorkSpaces.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesClient, CreateWorkspacesPoolCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
35
+ * // const { WorkSpacesClient, CreateWorkspacesPoolCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // CreateWorkspacesPoolRequest
38
+ * PoolName: "STRING_VALUE", // required
39
+ * Description: "STRING_VALUE", // required
40
+ * BundleId: "STRING_VALUE", // required
41
+ * DirectoryId: "STRING_VALUE", // required
42
+ * Capacity: { // Capacity
43
+ * DesiredUserSessions: Number("int"), // required
44
+ * },
45
+ * Tags: [ // TagList
46
+ * { // Tag
47
+ * Key: "STRING_VALUE", // required
48
+ * Value: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * ApplicationSettings: { // ApplicationSettingsRequest
52
+ * Status: "DISABLED" || "ENABLED", // required
53
+ * SettingsGroup: "STRING_VALUE",
54
+ * },
55
+ * TimeoutSettings: { // TimeoutSettings
56
+ * DisconnectTimeoutInSeconds: Number("int"),
57
+ * IdleDisconnectTimeoutInSeconds: Number("int"),
58
+ * MaxUserDurationInSeconds: Number("int"),
59
+ * },
60
+ * };
61
+ * const command = new CreateWorkspacesPoolCommand(input);
62
+ * const response = await client.send(command);
63
+ * // { // CreateWorkspacesPoolResult
64
+ * // WorkspacesPool: { // WorkspacesPool
65
+ * // PoolId: "STRING_VALUE", // required
66
+ * // PoolArn: "STRING_VALUE", // required
67
+ * // CapacityStatus: { // CapacityStatus
68
+ * // AvailableUserSessions: Number("int"), // required
69
+ * // DesiredUserSessions: Number("int"), // required
70
+ * // ActualUserSessions: Number("int"), // required
71
+ * // ActiveUserSessions: Number("int"), // required
72
+ * // },
73
+ * // PoolName: "STRING_VALUE", // required
74
+ * // Description: "STRING_VALUE",
75
+ * // State: "CREATING" || "DELETING" || "RUNNING" || "STARTING" || "STOPPED" || "STOPPING" || "UPDATING", // required
76
+ * // CreatedAt: new Date("TIMESTAMP"), // required
77
+ * // BundleId: "STRING_VALUE", // required
78
+ * // DirectoryId: "STRING_VALUE", // required
79
+ * // Errors: [ // WorkspacesPoolErrors
80
+ * // { // WorkspacesPoolError
81
+ * // ErrorCode: "IAM_SERVICE_ROLE_IS_MISSING" || "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" || "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" || "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" || "NETWORK_INTERFACE_LIMIT_EXCEEDED" || "INTERNAL_SERVICE_ERROR" || "MACHINE_ROLE_IS_MISSING" || "STS_DISABLED_IN_REGION" || "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" || "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" || "SUBNET_NOT_FOUND" || "IMAGE_NOT_FOUND" || "INVALID_SUBNET_CONFIGURATION" || "SECURITY_GROUPS_NOT_FOUND" || "IGW_NOT_ATTACHED" || "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" || "WORKSPACES_POOL_STOPPED" || "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE" || "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" || "DOMAIN_JOIN_ERROR_ACCESS_DENIED" || "DOMAIN_JOIN_ERROR_LOGON_FAILURE" || "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" || "DOMAIN_JOIN_ERROR_MORE_DATA" || "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" || "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" || "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" || "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" || "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" || "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" || "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" || "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING" || "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE" || "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID" || "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND" || "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND" || "DOMAIN_JOIN_ERROR_SECRET_INVALID" || "BUNDLE_NOT_FOUND" || "DIRECTORY_NOT_FOUND" || "INSUFFICIENT_PERMISSIONS_ERROR" || "DEFAULT_OU_IS_MISSING",
82
+ * // ErrorMessage: "STRING_VALUE",
83
+ * // },
84
+ * // ],
85
+ * // ApplicationSettings: { // ApplicationSettingsResponse
86
+ * // Status: "DISABLED" || "ENABLED", // required
87
+ * // SettingsGroup: "STRING_VALUE",
88
+ * // S3BucketName: "STRING_VALUE",
89
+ * // },
90
+ * // TimeoutSettings: { // TimeoutSettings
91
+ * // DisconnectTimeoutInSeconds: Number("int"),
92
+ * // IdleDisconnectTimeoutInSeconds: Number("int"),
93
+ * // MaxUserDurationInSeconds: Number("int"),
94
+ * // },
95
+ * // },
96
+ * // };
97
+ *
98
+ * ```
99
+ *
100
+ * @param CreateWorkspacesPoolCommandInput - {@link CreateWorkspacesPoolCommandInput}
101
+ * @returns {@link CreateWorkspacesPoolCommandOutput}
102
+ * @see {@link CreateWorkspacesPoolCommandInput} for command's `input` shape.
103
+ * @see {@link CreateWorkspacesPoolCommandOutput} for command's `response` shape.
104
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
105
+ *
106
+ * @throws {@link AccessDeniedException} (client fault)
107
+ * <p>The user is not authorized to access a resource.</p>
108
+ *
109
+ * @throws {@link InvalidParameterValuesException} (client fault)
110
+ * <p>One or more parameter values are not valid.</p>
111
+ *
112
+ * @throws {@link OperationNotSupportedException} (client fault)
113
+ * <p>This operation is not supported.</p>
114
+ *
115
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
116
+ * <p>The specified resource already exists.</p>
117
+ *
118
+ * @throws {@link ResourceLimitExceededException} (client fault)
119
+ * <p>Your resource limits have been exceeded.</p>
120
+ *
121
+ * @throws {@link ResourceNotFoundException} (client fault)
122
+ * <p>The resource could not be found.</p>
123
+ *
124
+ * @throws {@link WorkSpacesServiceException}
125
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
126
+ *
127
+ * @public
128
+ */
129
+ export declare class CreateWorkspacesPoolCommand extends CreateWorkspacesPoolCommand_base {
130
+ }
@@ -43,7 +43,7 @@ declare const DescribeApplicationsCommand_base: {
43
43
  * ],
44
44
  * LicenseType: "LICENSED" || "UNLICENSED",
45
45
  * OperatingSystemNames: [ // OperatingSystemNameList
46
- * "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
46
+ * "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8",
47
47
  * ],
48
48
  * Owner: "STRING_VALUE",
49
49
  * MaxResults: Number("int"),
@@ -65,7 +65,7 @@ declare const DescribeApplicationsCommand_base: {
65
65
  * // "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN",
66
66
  * // ],
67
67
  * // SupportedOperatingSystemNames: [ // OperatingSystemNameList
68
- * // "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
68
+ * // "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8",
69
69
  * // ],
70
70
  * // },
71
71
  * // ],
@@ -38,6 +38,9 @@ declare const DescribeWorkspaceDirectoriesCommand_base: {
38
38
  * DirectoryIds: [ // DirectoryIdList
39
39
  * "STRING_VALUE",
40
40
  * ],
41
+ * WorkspaceDirectoryNames: [ // WorkspaceDirectoryNameList
42
+ * "STRING_VALUE",
43
+ * ],
41
44
  * Limit: Number("int"),
42
45
  * NextToken: "STRING_VALUE",
43
46
  * };
@@ -58,7 +61,7 @@ declare const DescribeWorkspaceDirectoriesCommand_base: {
58
61
  * // ],
59
62
  * // CustomerUserName: "STRING_VALUE",
60
63
  * // IamRoleId: "STRING_VALUE",
61
- * // DirectoryType: "SIMPLE_AD" || "AD_CONNECTOR",
64
+ * // DirectoryType: "SIMPLE_AD" || "AD_CONNECTOR" || "CUSTOMER_MANAGED",
62
65
  * // WorkspaceSecurityGroupId: "STRING_VALUE",
63
66
  * // State: "REGISTERING" || "REGISTERED" || "DEREGISTERING" || "DEREGISTERED" || "ERROR",
64
67
  * // WorkspaceCreationProperties: { // DefaultWorkspaceCreationProperties
@@ -68,6 +71,7 @@ declare const DescribeWorkspaceDirectoriesCommand_base: {
68
71
  * // CustomSecurityGroupId: "STRING_VALUE",
69
72
  * // UserEnabledAsLocalAdministrator: true || false,
70
73
  * // EnableMaintenanceMode: true || false,
74
+ * // InstanceIamRoleArn: "STRING_VALUE",
71
75
  * // },
72
76
  * // ipGroupIds: [ // IpGroupIdList
73
77
  * // "STRING_VALUE",
@@ -99,6 +103,31 @@ declare const DescribeWorkspaceDirectoriesCommand_base: {
99
103
  * // Status: "DISABLED" || "ENABLED",
100
104
  * // CertificateAuthorityArn: "STRING_VALUE",
101
105
  * // },
106
+ * // WorkspaceDirectoryName: "STRING_VALUE",
107
+ * // WorkspaceDirectoryDescription: "STRING_VALUE",
108
+ * // UserIdentityType: "CUSTOMER_MANAGED" || "AWS_DIRECTORY_SERVICE",
109
+ * // WorkspaceType: "PERSONAL" || "POOLS",
110
+ * // ActiveDirectoryConfig: { // ActiveDirectoryConfig
111
+ * // DomainName: "STRING_VALUE", // required
112
+ * // ServiceAccountSecretArn: "STRING_VALUE", // required
113
+ * // },
114
+ * // StreamingProperties: { // StreamingProperties
115
+ * // StreamingExperiencePreferredProtocol: "TCP" || "UDP",
116
+ * // UserSettings: [ // UserSettings
117
+ * // { // UserSetting
118
+ * // Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "PRINTING_TO_LOCAL_DEVICE" || "SMART_CARD", // required
119
+ * // Permission: "ENABLED" || "DISABLED", // required
120
+ * // MaximumLength: Number("int"),
121
+ * // },
122
+ * // ],
123
+ * // StorageConnectors: [ // StorageConnectors
124
+ * // { // StorageConnector
125
+ * // ConnectorType: "HOME_FOLDER", // required
126
+ * // Status: "ENABLED" || "DISABLED", // required
127
+ * // },
128
+ * // ],
129
+ * // },
130
+ * // ErrorMessage: "STRING_VALUE",
102
131
  * // },
103
132
  * // ],
104
133
  * // NextToken: "STRING_VALUE",
@@ -75,7 +75,7 @@ declare const DescribeWorkspacesCommand_base: {
75
75
  * // Protocols: [ // ProtocolList
76
76
  * // "PCOIP" || "WSP",
77
77
  * // ],
78
- * // OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
78
+ * // OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8",
79
79
  * // },
80
80
  * // ModificationStates: [ // ModificationStateList
81
81
  * // { // ModificationState
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DescribeWorkspacesPoolSessionsRequest, DescribeWorkspacesPoolSessionsResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeWorkspacesPoolSessionsCommand}.
14
+ */
15
+ export interface DescribeWorkspacesPoolSessionsCommandInput extends DescribeWorkspacesPoolSessionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeWorkspacesPoolSessionsCommand}.
21
+ */
22
+ export interface DescribeWorkspacesPoolSessionsCommandOutput extends DescribeWorkspacesPoolSessionsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeWorkspacesPoolSessionsCommand_base: {
25
+ new (input: DescribeWorkspacesPoolSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeWorkspacesPoolSessionsCommandInput, DescribeWorkspacesPoolSessionsCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeWorkspacesPoolSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeWorkspacesPoolSessionsCommandInput, DescribeWorkspacesPoolSessionsCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list that describes the streaming sessions for a specified pool.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesClient, DescribeWorkspacesPoolSessionsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
35
+ * // const { WorkSpacesClient, DescribeWorkspacesPoolSessionsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // DescribeWorkspacesPoolSessionsRequest
38
+ * PoolId: "STRING_VALUE", // required
39
+ * UserId: "STRING_VALUE",
40
+ * Limit: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new DescribeWorkspacesPoolSessionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DescribeWorkspacesPoolSessionsResult
46
+ * // Sessions: [ // WorkspacesPoolSessions
47
+ * // { // WorkspacesPoolSession
48
+ * // AuthenticationType: "SAML",
49
+ * // ConnectionState: "CONNECTED" || "NOT_CONNECTED",
50
+ * // SessionId: "STRING_VALUE", // required
51
+ * // InstanceId: "STRING_VALUE",
52
+ * // PoolId: "STRING_VALUE", // required
53
+ * // ExpirationTime: new Date("TIMESTAMP"),
54
+ * // NetworkAccessConfiguration: { // NetworkAccessConfiguration
55
+ * // EniPrivateIpAddress: "STRING_VALUE",
56
+ * // EniId: "STRING_VALUE",
57
+ * // },
58
+ * // StartTime: new Date("TIMESTAMP"),
59
+ * // UserId: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // NextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param DescribeWorkspacesPoolSessionsCommandInput - {@link DescribeWorkspacesPoolSessionsCommandInput}
68
+ * @returns {@link DescribeWorkspacesPoolSessionsCommandOutput}
69
+ * @see {@link DescribeWorkspacesPoolSessionsCommandInput} for command's `input` shape.
70
+ * @see {@link DescribeWorkspacesPoolSessionsCommandOutput} for command's `response` shape.
71
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>The user is not authorized to access a resource.</p>
75
+ *
76
+ * @throws {@link InvalidParameterValuesException} (client fault)
77
+ * <p>One or more parameter values are not valid.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The resource could not be found.</p>
81
+ *
82
+ * @throws {@link WorkSpacesServiceException}
83
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class DescribeWorkspacesPoolSessionsCommand extends DescribeWorkspacesPoolSessionsCommand_base {
88
+ }
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DescribeWorkspacesPoolsRequest, DescribeWorkspacesPoolsResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeWorkspacesPoolsCommand}.
14
+ */
15
+ export interface DescribeWorkspacesPoolsCommandInput extends DescribeWorkspacesPoolsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeWorkspacesPoolsCommand}.
21
+ */
22
+ export interface DescribeWorkspacesPoolsCommandOutput extends DescribeWorkspacesPoolsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeWorkspacesPoolsCommand_base: {
25
+ new (input: DescribeWorkspacesPoolsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeWorkspacesPoolsCommandInput, DescribeWorkspacesPoolsCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeWorkspacesPoolsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeWorkspacesPoolsCommandInput, DescribeWorkspacesPoolsCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes the specified WorkSpaces Pools.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesClient, DescribeWorkspacesPoolsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
35
+ * // const { WorkSpacesClient, DescribeWorkspacesPoolsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // DescribeWorkspacesPoolsRequest
38
+ * PoolIds: [ // WorkspacesPoolIds
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * Filters: [ // DescribeWorkspacesPoolsFilters
42
+ * { // DescribeWorkspacesPoolsFilter
43
+ * Name: "PoolName", // required
44
+ * Values: [ // DescribeWorkspacesPoolsFilterValues // required
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * Operator: "EQUALS" || "NOTEQUALS" || "CONTAINS" || "NOTCONTAINS", // required
48
+ * },
49
+ * ],
50
+ * Limit: Number("int"),
51
+ * NextToken: "STRING_VALUE",
52
+ * };
53
+ * const command = new DescribeWorkspacesPoolsCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // DescribeWorkspacesPoolsResult
56
+ * // WorkspacesPools: [ // WorkspacesPools
57
+ * // { // WorkspacesPool
58
+ * // PoolId: "STRING_VALUE", // required
59
+ * // PoolArn: "STRING_VALUE", // required
60
+ * // CapacityStatus: { // CapacityStatus
61
+ * // AvailableUserSessions: Number("int"), // required
62
+ * // DesiredUserSessions: Number("int"), // required
63
+ * // ActualUserSessions: Number("int"), // required
64
+ * // ActiveUserSessions: Number("int"), // required
65
+ * // },
66
+ * // PoolName: "STRING_VALUE", // required
67
+ * // Description: "STRING_VALUE",
68
+ * // State: "CREATING" || "DELETING" || "RUNNING" || "STARTING" || "STOPPED" || "STOPPING" || "UPDATING", // required
69
+ * // CreatedAt: new Date("TIMESTAMP"), // required
70
+ * // BundleId: "STRING_VALUE", // required
71
+ * // DirectoryId: "STRING_VALUE", // required
72
+ * // Errors: [ // WorkspacesPoolErrors
73
+ * // { // WorkspacesPoolError
74
+ * // ErrorCode: "IAM_SERVICE_ROLE_IS_MISSING" || "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" || "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" || "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" || "NETWORK_INTERFACE_LIMIT_EXCEEDED" || "INTERNAL_SERVICE_ERROR" || "MACHINE_ROLE_IS_MISSING" || "STS_DISABLED_IN_REGION" || "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" || "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" || "SUBNET_NOT_FOUND" || "IMAGE_NOT_FOUND" || "INVALID_SUBNET_CONFIGURATION" || "SECURITY_GROUPS_NOT_FOUND" || "IGW_NOT_ATTACHED" || "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" || "WORKSPACES_POOL_STOPPED" || "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE" || "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" || "DOMAIN_JOIN_ERROR_ACCESS_DENIED" || "DOMAIN_JOIN_ERROR_LOGON_FAILURE" || "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" || "DOMAIN_JOIN_ERROR_MORE_DATA" || "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" || "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" || "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" || "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" || "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" || "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" || "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" || "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING" || "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE" || "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID" || "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND" || "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND" || "DOMAIN_JOIN_ERROR_SECRET_INVALID" || "BUNDLE_NOT_FOUND" || "DIRECTORY_NOT_FOUND" || "INSUFFICIENT_PERMISSIONS_ERROR" || "DEFAULT_OU_IS_MISSING",
75
+ * // ErrorMessage: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // ApplicationSettings: { // ApplicationSettingsResponse
79
+ * // Status: "DISABLED" || "ENABLED", // required
80
+ * // SettingsGroup: "STRING_VALUE",
81
+ * // S3BucketName: "STRING_VALUE",
82
+ * // },
83
+ * // TimeoutSettings: { // TimeoutSettings
84
+ * // DisconnectTimeoutInSeconds: Number("int"),
85
+ * // IdleDisconnectTimeoutInSeconds: Number("int"),
86
+ * // MaxUserDurationInSeconds: Number("int"),
87
+ * // },
88
+ * // },
89
+ * // ],
90
+ * // NextToken: "STRING_VALUE",
91
+ * // };
92
+ *
93
+ * ```
94
+ *
95
+ * @param DescribeWorkspacesPoolsCommandInput - {@link DescribeWorkspacesPoolsCommandInput}
96
+ * @returns {@link DescribeWorkspacesPoolsCommandOutput}
97
+ * @see {@link DescribeWorkspacesPoolsCommandInput} for command's `input` shape.
98
+ * @see {@link DescribeWorkspacesPoolsCommandOutput} for command's `response` shape.
99
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
100
+ *
101
+ * @throws {@link AccessDeniedException} (client fault)
102
+ * <p>The user is not authorized to access a resource.</p>
103
+ *
104
+ * @throws {@link InvalidParameterValuesException} (client fault)
105
+ * <p>One or more parameter values are not valid.</p>
106
+ *
107
+ * @throws {@link ResourceNotFoundException} (client fault)
108
+ * <p>The resource could not be found.</p>
109
+ *
110
+ * @throws {@link WorkSpacesServiceException}
111
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
112
+ *
113
+ * @public
114
+ */
115
+ export declare class DescribeWorkspacesPoolsCommand extends DescribeWorkspacesPoolsCommand_base {
116
+ }
@@ -61,6 +61,9 @@ declare const DisassociateIpGroupsCommand_base: {
61
61
  * @throws {@link InvalidResourceStateException} (client fault)
62
62
  * <p>The state of the resource is not valid for this operation.</p>
63
63
  *
64
+ * @throws {@link OperationNotSupportedException} (client fault)
65
+ * <p>This operation is not supported.</p>
66
+ *
64
67
  * @throws {@link ResourceNotFoundException} (client fault)
65
68
  * <p>The resource could not be found.</p>
66
69
  *
@@ -59,6 +59,9 @@ declare const ModifyClientPropertiesCommand_base: {
59
59
  * @throws {@link InvalidParameterValuesException} (client fault)
60
60
  * <p>One or more parameter values are not valid.</p>
61
61
  *
62
+ * @throws {@link OperationNotSupportedException} (client fault)
63
+ * <p>This operation is not supported.</p>
64
+ *
62
65
  * @throws {@link ResourceNotFoundException} (client fault)
63
66
  * <p>The resource could not be found.</p>
64
67
  *
@@ -63,6 +63,9 @@ declare const ModifySelfservicePermissionsCommand_base: {
63
63
  * @throws {@link InvalidParameterValuesException} (client fault)
64
64
  * <p>One or more parameter values are not valid.</p>
65
65
  *
66
+ * @throws {@link OperationNotSupportedException} (client fault)
67
+ * <p>This operation is not supported.</p>
68
+ *
66
69
  * @throws {@link ResourceNotFoundException} (client fault)
67
70
  * <p>The resource could not be found.</p>
68
71
  *
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ModifyStreamingPropertiesRequest, ModifyStreamingPropertiesResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyStreamingPropertiesCommand}.
14
+ */
15
+ export interface ModifyStreamingPropertiesCommandInput extends ModifyStreamingPropertiesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyStreamingPropertiesCommand}.
21
+ */
22
+ export interface ModifyStreamingPropertiesCommandOutput extends ModifyStreamingPropertiesResult, __MetadataBearer {
23
+ }
24
+ declare const ModifyStreamingPropertiesCommand_base: {
25
+ new (input: ModifyStreamingPropertiesCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyStreamingPropertiesCommandInput, ModifyStreamingPropertiesCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyStreamingPropertiesCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyStreamingPropertiesCommandInput, ModifyStreamingPropertiesCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the specified streaming properties.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesClient, ModifyStreamingPropertiesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
35
+ * // const { WorkSpacesClient, ModifyStreamingPropertiesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // ModifyStreamingPropertiesRequest
38
+ * ResourceId: "STRING_VALUE", // required
39
+ * StreamingProperties: { // StreamingProperties
40
+ * StreamingExperiencePreferredProtocol: "TCP" || "UDP",
41
+ * UserSettings: [ // UserSettings
42
+ * { // UserSetting
43
+ * Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "PRINTING_TO_LOCAL_DEVICE" || "SMART_CARD", // required
44
+ * Permission: "ENABLED" || "DISABLED", // required
45
+ * MaximumLength: Number("int"),
46
+ * },
47
+ * ],
48
+ * StorageConnectors: [ // StorageConnectors
49
+ * { // StorageConnector
50
+ * ConnectorType: "HOME_FOLDER", // required
51
+ * Status: "ENABLED" || "DISABLED", // required
52
+ * },
53
+ * ],
54
+ * },
55
+ * };
56
+ * const command = new ModifyStreamingPropertiesCommand(input);
57
+ * const response = await client.send(command);
58
+ * // {};
59
+ *
60
+ * ```
61
+ *
62
+ * @param ModifyStreamingPropertiesCommandInput - {@link ModifyStreamingPropertiesCommandInput}
63
+ * @returns {@link ModifyStreamingPropertiesCommandOutput}
64
+ * @see {@link ModifyStreamingPropertiesCommandInput} for command's `input` shape.
65
+ * @see {@link ModifyStreamingPropertiesCommandOutput} for command's `response` shape.
66
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>The user is not authorized to access a resource.</p>
70
+ *
71
+ * @throws {@link InvalidParameterValuesException} (client fault)
72
+ * <p>One or more parameter values are not valid.</p>
73
+ *
74
+ * @throws {@link OperationNotSupportedException} (client fault)
75
+ * <p>This operation is not supported.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The resource could not be found.</p>
79
+ *
80
+ * @throws {@link WorkSpacesServiceException}
81
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ModifyStreamingPropertiesCommand extends ModifyStreamingPropertiesCommand_base {
86
+ }
@@ -43,6 +43,7 @@ declare const ModifyWorkspaceCreationPropertiesCommand_base: {
43
43
  * CustomSecurityGroupId: "STRING_VALUE",
44
44
  * UserEnabledAsLocalAdministrator: true || false,
45
45
  * EnableMaintenanceMode: true || false,
46
+ * InstanceIamRoleArn: "STRING_VALUE",
46
47
  * },
47
48
  * };
48
49
  * const command = new ModifyWorkspaceCreationPropertiesCommand(input);
@@ -53,7 +53,7 @@ declare const ModifyWorkspacePropertiesCommand_base: {
53
53
  * Protocols: [ // ProtocolList
54
54
  * "PCOIP" || "WSP",
55
55
  * ],
56
- * OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
56
+ * OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8",
57
57
  * },
58
58
  * DataReplication: "NO_REPLICATION" || "PRIMARY_AS_SOURCE",
59
59
  * };
@@ -23,7 +23,7 @@ export interface RegisterWorkspaceDirectoryCommandOutput extends RegisterWorkspa
23
23
  }
24
24
  declare const RegisterWorkspaceDirectoryCommand_base: {
25
25
  new (input: RegisterWorkspaceDirectoryCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: RegisterWorkspaceDirectoryCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [RegisterWorkspaceDirectoryCommandInput]): import("@smithy/smithy-client").CommandImpl<RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -39,11 +39,11 @@ declare const RegisterWorkspaceDirectoryCommand_base: {
39
39
  * // const { WorkSpacesClient, RegisterWorkspaceDirectoryCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
40
40
  * const client = new WorkSpacesClient(config);
41
41
  * const input = { // RegisterWorkspaceDirectoryRequest
42
- * DirectoryId: "STRING_VALUE", // required
42
+ * DirectoryId: "STRING_VALUE",
43
43
  * SubnetIds: [ // SubnetIds
44
44
  * "STRING_VALUE",
45
45
  * ],
46
- * EnableWorkDocs: true || false, // required
46
+ * EnableWorkDocs: true || false,
47
47
  * EnableSelfService: true || false,
48
48
  * Tenancy: "DEDICATED" || "SHARED",
49
49
  * Tags: [ // TagList
@@ -52,10 +52,21 @@ declare const RegisterWorkspaceDirectoryCommand_base: {
52
52
  * Value: "STRING_VALUE",
53
53
  * },
54
54
  * ],
55
+ * WorkspaceDirectoryName: "STRING_VALUE",
56
+ * WorkspaceDirectoryDescription: "STRING_VALUE",
57
+ * UserIdentityType: "CUSTOMER_MANAGED" || "AWS_DIRECTORY_SERVICE",
58
+ * WorkspaceType: "PERSONAL" || "POOLS",
59
+ * ActiveDirectoryConfig: { // ActiveDirectoryConfig
60
+ * DomainName: "STRING_VALUE", // required
61
+ * ServiceAccountSecretArn: "STRING_VALUE", // required
62
+ * },
55
63
  * };
56
64
  * const command = new RegisterWorkspaceDirectoryCommand(input);
57
65
  * const response = await client.send(command);
58
- * // {};
66
+ * // { // RegisterWorkspaceDirectoryResult
67
+ * // DirectoryId: "STRING_VALUE",
68
+ * // State: "REGISTERING" || "REGISTERED" || "DEREGISTERING" || "DEREGISTERED" || "ERROR",
69
+ * // };
59
70
  *
60
71
  * ```
61
72
  *
@@ -77,6 +88,9 @@ declare const RegisterWorkspaceDirectoryCommand_base: {
77
88
  * @throws {@link OperationNotSupportedException} (client fault)
78
89
  * <p>This operation is not supported.</p>
79
90
  *
91
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
92
+ * <p>The specified resource already exists.</p>
93
+ *
80
94
  * @throws {@link ResourceLimitExceededException} (client fault)
81
95
  * <p>Your resource limits have been exceeded.</p>
82
96
  *
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StartWorkspacesRequest, StartWorkspacesResult } from "../models/models_0";
3
+ import { StartWorkspacesRequest, StartWorkspacesResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public