@aws-sdk/client-workspaces 3.598.0 → 3.606.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 (73) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +535 -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 +101 -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/CreateWorkspacesPoolCommand.d.ts +130 -0
  21. package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +30 -1
  22. package/dist-types/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +88 -0
  23. package/dist-types/commands/DescribeWorkspacesPoolsCommand.d.ts +116 -0
  24. package/dist-types/commands/DisassociateIpGroupsCommand.d.ts +3 -0
  25. package/dist-types/commands/ModifyClientPropertiesCommand.d.ts +3 -0
  26. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +3 -0
  27. package/dist-types/commands/ModifyStreamingPropertiesCommand.d.ts +86 -0
  28. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -0
  29. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +18 -4
  30. package/dist-types/commands/StartWorkspacesCommand.d.ts +1 -1
  31. package/dist-types/commands/StartWorkspacesPoolCommand.d.ts +81 -0
  32. package/dist-types/commands/StopWorkspacesCommand.d.ts +1 -1
  33. package/dist-types/commands/StopWorkspacesPoolCommand.d.ts +75 -0
  34. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +1 -1
  35. package/dist-types/commands/TerminateWorkspacesPoolCommand.d.ts +73 -0
  36. package/dist-types/commands/TerminateWorkspacesPoolSessionCommand.d.ts +73 -0
  37. package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateWorkspacesPoolCommand.d.ts +127 -0
  43. package/dist-types/commands/index.d.ts +9 -0
  44. package/dist-types/models/index.d.ts +1 -0
  45. package/dist-types/models/models_0.d.ts +854 -253
  46. package/dist-types/models/models_1.d.ts +324 -0
  47. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  48. package/dist-types/ts3.4/WorkSpaces.d.ts +155 -0
  49. package/dist-types/ts3.4/WorkSpacesClient.d.ts +56 -2
  50. package/dist-types/ts3.4/commands/CreateWorkspacesPoolCommand.d.ts +40 -0
  51. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +40 -0
  52. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolsCommand.d.ts +40 -0
  53. package/dist-types/ts3.4/commands/ModifyStreamingPropertiesCommand.d.ts +40 -0
  54. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/StartWorkspacesPoolCommand.d.ts +40 -0
  57. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/StopWorkspacesPoolCommand.d.ts +40 -0
  59. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolCommand.d.ts +40 -0
  61. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolSessionCommand.d.ts +40 -0
  62. package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateWorkspacesPoolCommand.d.ts +40 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  69. package/dist-types/ts3.4/models/index.d.ts +1 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +266 -58
  71. package/dist-types/ts3.4/models/models_1.d.ts +92 -0
  72. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  73. package/package.json +4 -4
@@ -0,0 +1,81 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { StartWorkspacesPoolRequest, StartWorkspacesPoolResult } from "../models/models_1";
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 StartWorkspacesPoolCommand}.
14
+ */
15
+ export interface StartWorkspacesPoolCommandInput extends StartWorkspacesPoolRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartWorkspacesPoolCommand}.
21
+ */
22
+ export interface StartWorkspacesPoolCommandOutput extends StartWorkspacesPoolResult, __MetadataBearer {
23
+ }
24
+ declare const StartWorkspacesPoolCommand_base: {
25
+ new (input: StartWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<StartWorkspacesPoolCommandInput, StartWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StartWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<StartWorkspacesPoolCommandInput, StartWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts the specified WorkSpaces pool.</p>
31
+ * <p>You cannot start a WorkSpace pool unless it has a running mode of
32
+ * <code>AutoStop</code> and a state of <code>STOPPED</code>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WorkSpacesClient, StartWorkspacesPoolCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
37
+ * // const { WorkSpacesClient, StartWorkspacesPoolCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
38
+ * const client = new WorkSpacesClient(config);
39
+ * const input = { // StartWorkspacesPoolRequest
40
+ * PoolId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new StartWorkspacesPoolCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param StartWorkspacesPoolCommandInput - {@link StartWorkspacesPoolCommandInput}
49
+ * @returns {@link StartWorkspacesPoolCommandOutput}
50
+ * @see {@link StartWorkspacesPoolCommandInput} for command's `input` shape.
51
+ * @see {@link StartWorkspacesPoolCommandOutput} for command's `response` shape.
52
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The user is not authorized to access a resource.</p>
56
+ *
57
+ * @throws {@link InvalidParameterValuesException} (client fault)
58
+ * <p>One or more parameter values are not valid.</p>
59
+ *
60
+ * @throws {@link InvalidResourceStateException} (client fault)
61
+ * <p>The state of the resource is not valid for this operation.</p>
62
+ *
63
+ * @throws {@link OperationInProgressException} (client fault)
64
+ * <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p>
65
+ *
66
+ * @throws {@link OperationNotSupportedException} (client fault)
67
+ * <p>This operation is not supported.</p>
68
+ *
69
+ * @throws {@link ResourceLimitExceededException} (client fault)
70
+ * <p>Your resource limits have been exceeded.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The resource could not be found.</p>
74
+ *
75
+ * @throws {@link WorkSpacesServiceException}
76
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class StartWorkspacesPoolCommand extends StartWorkspacesPoolCommand_base {
81
+ }
@@ -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 { StopWorkspacesRequest, StopWorkspacesResult } from "../models/models_0";
3
+ import { StopWorkspacesRequest, StopWorkspacesResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,75 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { StopWorkspacesPoolRequest, StopWorkspacesPoolResult } from "../models/models_1";
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 StopWorkspacesPoolCommand}.
14
+ */
15
+ export interface StopWorkspacesPoolCommandInput extends StopWorkspacesPoolRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopWorkspacesPoolCommand}.
21
+ */
22
+ export interface StopWorkspacesPoolCommandOutput extends StopWorkspacesPoolResult, __MetadataBearer {
23
+ }
24
+ declare const StopWorkspacesPoolCommand_base: {
25
+ new (input: StopWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<StopWorkspacesPoolCommandInput, StopWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StopWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<StopWorkspacesPoolCommandInput, StopWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops the specifiedWorkSpaces pool.</p>
31
+ * <p>You cannot stop a WorkSpace pool unless it has a running mode of <code>AutoStop</code>
32
+ * and a state of <code>AVAILABLE</code>, <code>IMPAIRED</code>, <code>UNHEALTHY</code>, or <code>ERROR</code>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WorkSpacesClient, StopWorkspacesPoolCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
37
+ * // const { WorkSpacesClient, StopWorkspacesPoolCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
38
+ * const client = new WorkSpacesClient(config);
39
+ * const input = { // StopWorkspacesPoolRequest
40
+ * PoolId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new StopWorkspacesPoolCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param StopWorkspacesPoolCommandInput - {@link StopWorkspacesPoolCommandInput}
49
+ * @returns {@link StopWorkspacesPoolCommandOutput}
50
+ * @see {@link StopWorkspacesPoolCommandInput} for command's `input` shape.
51
+ * @see {@link StopWorkspacesPoolCommandOutput} for command's `response` shape.
52
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The user is not authorized to access a resource.</p>
56
+ *
57
+ * @throws {@link InvalidParameterValuesException} (client fault)
58
+ * <p>One or more parameter values are not valid.</p>
59
+ *
60
+ * @throws {@link InvalidResourceStateException} (client fault)
61
+ * <p>The state of the resource is not valid for this operation.</p>
62
+ *
63
+ * @throws {@link OperationInProgressException} (client fault)
64
+ * <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The resource could not be found.</p>
68
+ *
69
+ * @throws {@link WorkSpacesServiceException}
70
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
71
+ *
72
+ * @public
73
+ */
74
+ export declare class StopWorkspacesPoolCommand extends StopWorkspacesPoolCommand_base {
75
+ }
@@ -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 { TerminateWorkspacesRequest, TerminateWorkspacesResult } from "../models/models_0";
3
+ import { TerminateWorkspacesRequest, TerminateWorkspacesResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,73 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TerminateWorkspacesPoolRequest, TerminateWorkspacesPoolResult } from "../models/models_1";
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 TerminateWorkspacesPoolCommand}.
14
+ */
15
+ export interface TerminateWorkspacesPoolCommandInput extends TerminateWorkspacesPoolRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TerminateWorkspacesPoolCommand}.
21
+ */
22
+ export interface TerminateWorkspacesPoolCommandOutput extends TerminateWorkspacesPoolResult, __MetadataBearer {
23
+ }
24
+ declare const TerminateWorkspacesPoolCommand_base: {
25
+ new (input: TerminateWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateWorkspacesPoolCommandInput, TerminateWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TerminateWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateWorkspacesPoolCommandInput, TerminateWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Terminates the specified WorkSpaces 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, TerminateWorkspacesPoolCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
35
+ * // const { WorkSpacesClient, TerminateWorkspacesPoolCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // TerminateWorkspacesPoolRequest
38
+ * PoolId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new TerminateWorkspacesPoolCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param TerminateWorkspacesPoolCommandInput - {@link TerminateWorkspacesPoolCommandInput}
47
+ * @returns {@link TerminateWorkspacesPoolCommandOutput}
48
+ * @see {@link TerminateWorkspacesPoolCommandInput} for command's `input` shape.
49
+ * @see {@link TerminateWorkspacesPoolCommandOutput} for command's `response` shape.
50
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>The user is not authorized to access a resource.</p>
54
+ *
55
+ * @throws {@link InvalidParameterValuesException} (client fault)
56
+ * <p>One or more parameter values are not valid.</p>
57
+ *
58
+ * @throws {@link InvalidResourceStateException} (client fault)
59
+ * <p>The state of the resource is not valid for this operation.</p>
60
+ *
61
+ * @throws {@link OperationInProgressException} (client fault)
62
+ * <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The resource could not be found.</p>
66
+ *
67
+ * @throws {@link WorkSpacesServiceException}
68
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class TerminateWorkspacesPoolCommand extends TerminateWorkspacesPoolCommand_base {
73
+ }
@@ -0,0 +1,73 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TerminateWorkspacesPoolSessionRequest, TerminateWorkspacesPoolSessionResult } from "../models/models_1";
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 TerminateWorkspacesPoolSessionCommand}.
14
+ */
15
+ export interface TerminateWorkspacesPoolSessionCommandInput extends TerminateWorkspacesPoolSessionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TerminateWorkspacesPoolSessionCommand}.
21
+ */
22
+ export interface TerminateWorkspacesPoolSessionCommandOutput extends TerminateWorkspacesPoolSessionResult, __MetadataBearer {
23
+ }
24
+ declare const TerminateWorkspacesPoolSessionCommand_base: {
25
+ new (input: TerminateWorkspacesPoolSessionCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateWorkspacesPoolSessionCommandInput, TerminateWorkspacesPoolSessionCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TerminateWorkspacesPoolSessionCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateWorkspacesPoolSessionCommandInput, TerminateWorkspacesPoolSessionCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Terminates the WorkSpaces pool session.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesClient, TerminateWorkspacesPoolSessionCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
35
+ * // const { WorkSpacesClient, TerminateWorkspacesPoolSessionCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // TerminateWorkspacesPoolSessionRequest
38
+ * SessionId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new TerminateWorkspacesPoolSessionCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param TerminateWorkspacesPoolSessionCommandInput - {@link TerminateWorkspacesPoolSessionCommandInput}
47
+ * @returns {@link TerminateWorkspacesPoolSessionCommandOutput}
48
+ * @see {@link TerminateWorkspacesPoolSessionCommandInput} for command's `input` shape.
49
+ * @see {@link TerminateWorkspacesPoolSessionCommandOutput} for command's `response` shape.
50
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>The user is not authorized to access a resource.</p>
54
+ *
55
+ * @throws {@link InvalidParameterValuesException} (client fault)
56
+ * <p>One or more parameter values are not valid.</p>
57
+ *
58
+ * @throws {@link OperationInProgressException} (client fault)
59
+ * <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p>
60
+ *
61
+ * @throws {@link OperationNotSupportedException} (client fault)
62
+ * <p>This operation is not supported.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The resource could not be found.</p>
66
+ *
67
+ * @throws {@link WorkSpacesServiceException}
68
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class TerminateWorkspacesPoolSessionCommand extends TerminateWorkspacesPoolSessionCommand_base {
73
+ }
@@ -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 { UpdateConnectClientAddInRequest, UpdateConnectClientAddInResult } from "../models/models_0";
3
+ import { UpdateConnectClientAddInRequest, UpdateConnectClientAddInResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -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 { UpdateConnectionAliasPermissionRequest, UpdateConnectionAliasPermissionResult } from "../models/models_0";
3
+ import { UpdateConnectionAliasPermissionRequest, UpdateConnectionAliasPermissionResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -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 { UpdateRulesOfIpGroupRequest, UpdateRulesOfIpGroupResult } from "../models/models_0";
3
+ import { UpdateRulesOfIpGroupRequest, UpdateRulesOfIpGroupResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -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 { UpdateWorkspaceBundleRequest, UpdateWorkspaceBundleResult } from "../models/models_0";
3
+ import { UpdateWorkspaceBundleRequest, UpdateWorkspaceBundleResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -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 { UpdateWorkspaceImagePermissionRequest, UpdateWorkspaceImagePermissionResult } from "../models/models_0";
3
+ import { UpdateWorkspaceImagePermissionRequest, UpdateWorkspaceImagePermissionResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateWorkspacesPoolRequest, UpdateWorkspacesPoolResult } from "../models/models_1";
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 UpdateWorkspacesPoolCommand}.
14
+ */
15
+ export interface UpdateWorkspacesPoolCommandInput extends UpdateWorkspacesPoolRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateWorkspacesPoolCommand}.
21
+ */
22
+ export interface UpdateWorkspacesPoolCommandOutput extends UpdateWorkspacesPoolResult, __MetadataBearer {
23
+ }
24
+ declare const UpdateWorkspacesPoolCommand_base: {
25
+ new (input: UpdateWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkspacesPoolCommandInput, UpdateWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateWorkspacesPoolCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkspacesPoolCommandInput, UpdateWorkspacesPoolCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the specified WorkSpaces 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, UpdateWorkspacesPoolCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
35
+ * // const { WorkSpacesClient, UpdateWorkspacesPoolCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // UpdateWorkspacesPoolRequest
38
+ * PoolId: "STRING_VALUE", // required
39
+ * Description: "STRING_VALUE",
40
+ * BundleId: "STRING_VALUE",
41
+ * DirectoryId: "STRING_VALUE",
42
+ * Capacity: { // Capacity
43
+ * DesiredUserSessions: Number("int"), // required
44
+ * },
45
+ * ApplicationSettings: { // ApplicationSettingsRequest
46
+ * Status: "DISABLED" || "ENABLED", // required
47
+ * SettingsGroup: "STRING_VALUE",
48
+ * },
49
+ * TimeoutSettings: { // TimeoutSettings
50
+ * DisconnectTimeoutInSeconds: Number("int"),
51
+ * IdleDisconnectTimeoutInSeconds: Number("int"),
52
+ * MaxUserDurationInSeconds: Number("int"),
53
+ * },
54
+ * };
55
+ * const command = new UpdateWorkspacesPoolCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // UpdateWorkspacesPoolResult
58
+ * // WorkspacesPool: { // WorkspacesPool
59
+ * // PoolId: "STRING_VALUE", // required
60
+ * // PoolArn: "STRING_VALUE", // required
61
+ * // CapacityStatus: { // CapacityStatus
62
+ * // AvailableUserSessions: Number("int"), // required
63
+ * // DesiredUserSessions: Number("int"), // required
64
+ * // ActualUserSessions: Number("int"), // required
65
+ * // ActiveUserSessions: Number("int"), // required
66
+ * // },
67
+ * // PoolName: "STRING_VALUE", // required
68
+ * // Description: "STRING_VALUE",
69
+ * // State: "CREATING" || "DELETING" || "RUNNING" || "STARTING" || "STOPPED" || "STOPPING" || "UPDATING", // required
70
+ * // CreatedAt: new Date("TIMESTAMP"), // required
71
+ * // BundleId: "STRING_VALUE", // required
72
+ * // DirectoryId: "STRING_VALUE", // required
73
+ * // Errors: [ // WorkspacesPoolErrors
74
+ * // { // WorkspacesPoolError
75
+ * // 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",
76
+ * // ErrorMessage: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // ApplicationSettings: { // ApplicationSettingsResponse
80
+ * // Status: "DISABLED" || "ENABLED", // required
81
+ * // SettingsGroup: "STRING_VALUE",
82
+ * // S3BucketName: "STRING_VALUE",
83
+ * // },
84
+ * // TimeoutSettings: { // TimeoutSettings
85
+ * // DisconnectTimeoutInSeconds: Number("int"),
86
+ * // IdleDisconnectTimeoutInSeconds: Number("int"),
87
+ * // MaxUserDurationInSeconds: Number("int"),
88
+ * // },
89
+ * // },
90
+ * // };
91
+ *
92
+ * ```
93
+ *
94
+ * @param UpdateWorkspacesPoolCommandInput - {@link UpdateWorkspacesPoolCommandInput}
95
+ * @returns {@link UpdateWorkspacesPoolCommandOutput}
96
+ * @see {@link UpdateWorkspacesPoolCommandInput} for command's `input` shape.
97
+ * @see {@link UpdateWorkspacesPoolCommandOutput} for command's `response` shape.
98
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
99
+ *
100
+ * @throws {@link AccessDeniedException} (client fault)
101
+ * <p>The user is not authorized to access a resource.</p>
102
+ *
103
+ * @throws {@link InvalidParameterValuesException} (client fault)
104
+ * <p>One or more parameter values are not valid.</p>
105
+ *
106
+ * @throws {@link InvalidResourceStateException} (client fault)
107
+ * <p>The state of the resource is not valid for this operation.</p>
108
+ *
109
+ * @throws {@link OperationInProgressException} (client fault)
110
+ * <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p>
111
+ *
112
+ * @throws {@link OperationNotSupportedException} (client fault)
113
+ * <p>This operation is not supported.</p>
114
+ *
115
+ * @throws {@link ResourceLimitExceededException} (client fault)
116
+ * <p>Your resource limits have been exceeded.</p>
117
+ *
118
+ * @throws {@link ResourceNotFoundException} (client fault)
119
+ * <p>The resource could not be found.</p>
120
+ *
121
+ * @throws {@link WorkSpacesServiceException}
122
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
123
+ *
124
+ * @public
125
+ */
126
+ export declare class UpdateWorkspacesPoolCommand extends UpdateWorkspacesPoolCommand_base {
127
+ }
@@ -14,6 +14,7 @@ export * from "./CreateUpdatedWorkspaceImageCommand";
14
14
  export * from "./CreateWorkspaceBundleCommand";
15
15
  export * from "./CreateWorkspaceImageCommand";
16
16
  export * from "./CreateWorkspacesCommand";
17
+ export * from "./CreateWorkspacesPoolCommand";
17
18
  export * from "./DeleteAccountLinkInvitationCommand";
18
19
  export * from "./DeleteClientBrandingCommand";
19
20
  export * from "./DeleteConnectClientAddInCommand";
@@ -45,6 +46,8 @@ export * from "./DescribeWorkspaceImagesCommand";
45
46
  export * from "./DescribeWorkspaceSnapshotsCommand";
46
47
  export * from "./DescribeWorkspacesCommand";
47
48
  export * from "./DescribeWorkspacesConnectionStatusCommand";
49
+ export * from "./DescribeWorkspacesPoolSessionsCommand";
50
+ export * from "./DescribeWorkspacesPoolsCommand";
48
51
  export * from "./DisassociateConnectionAliasCommand";
49
52
  export * from "./DisassociateIpGroupsCommand";
50
53
  export * from "./DisassociateWorkspaceApplicationCommand";
@@ -59,6 +62,7 @@ export * from "./ModifyCertificateBasedAuthPropertiesCommand";
59
62
  export * from "./ModifyClientPropertiesCommand";
60
63
  export * from "./ModifySamlPropertiesCommand";
61
64
  export * from "./ModifySelfservicePermissionsCommand";
65
+ export * from "./ModifyStreamingPropertiesCommand";
62
66
  export * from "./ModifyWorkspaceAccessPropertiesCommand";
63
67
  export * from "./ModifyWorkspaceCreationPropertiesCommand";
64
68
  export * from "./ModifyWorkspacePropertiesCommand";
@@ -70,10 +74,15 @@ export * from "./RejectAccountLinkInvitationCommand";
70
74
  export * from "./RestoreWorkspaceCommand";
71
75
  export * from "./RevokeIpRulesCommand";
72
76
  export * from "./StartWorkspacesCommand";
77
+ export * from "./StartWorkspacesPoolCommand";
73
78
  export * from "./StopWorkspacesCommand";
79
+ export * from "./StopWorkspacesPoolCommand";
74
80
  export * from "./TerminateWorkspacesCommand";
81
+ export * from "./TerminateWorkspacesPoolCommand";
82
+ export * from "./TerminateWorkspacesPoolSessionCommand";
75
83
  export * from "./UpdateConnectClientAddInCommand";
76
84
  export * from "./UpdateConnectionAliasPermissionCommand";
77
85
  export * from "./UpdateRulesOfIpGroupCommand";
78
86
  export * from "./UpdateWorkspaceBundleCommand";
79
87
  export * from "./UpdateWorkspaceImagePermissionCommand";
88
+ export * from "./UpdateWorkspacesPoolCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";