@aws-sdk/client-workspaces 3.835.0 → 3.838.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.
package/dist-cjs/index.js CHANGED
@@ -27,6 +27,7 @@ __export(index_exports, {
27
27
  AGAPreferredProtocolForWorkSpace: () => AGAPreferredProtocolForWorkSpace,
28
28
  AcceptAccountLinkInvitationCommand: () => AcceptAccountLinkInvitationCommand,
29
29
  AccessDeniedException: () => AccessDeniedException,
30
+ AccessEndpointType: () => AccessEndpointType,
30
31
  AccessPropertyValue: () => AccessPropertyValue,
31
32
  AccountLinkStatusEnum: () => AccountLinkStatusEnum,
32
33
  Application: () => Application,
@@ -116,6 +117,8 @@ __export(index_exports, {
116
117
  ImportWorkspaceImageCommand: () => ImportWorkspaceImageCommand,
117
118
  IncompatibleApplicationsException: () => IncompatibleApplicationsException,
118
119
  InternalServerException: () => InternalServerException,
120
+ InternetFallbackProtocol: () => InternetFallbackProtocol,
121
+ InvalidParameterCombinationException: () => InvalidParameterCombinationException,
119
122
  InvalidParameterValuesException: () => InvalidParameterValuesException,
120
123
  InvalidResourceStateException: () => InvalidResourceStateException,
121
124
  ListAccountLinksCommand: () => ListAccountLinksCommand,
@@ -485,6 +488,12 @@ var ValidationException = class _ValidationException extends WorkSpacesServiceEx
485
488
  Object.setPrototypeOf(this, _ValidationException.prototype);
486
489
  }
487
490
  };
491
+ var AccessEndpointType = {
492
+ STREAMING_WSP: "STREAMING_WSP"
493
+ };
494
+ var InternetFallbackProtocol = {
495
+ PCOIP: "PCOIP"
496
+ };
488
497
  var AccessPropertyValue = {
489
498
  ALLOW: "ALLOW",
490
499
  DENY: "DENY"
@@ -1159,6 +1168,24 @@ var WorkspaceImageIngestionProcess = {
1159
1168
  BYOL_REGULAR_BYOP: "BYOL_REGULAR_BYOP",
1160
1169
  BYOL_REGULAR_WSP: "BYOL_REGULAR_WSP"
1161
1170
  };
1171
+ var InvalidParameterCombinationException = class _InvalidParameterCombinationException extends WorkSpacesServiceException {
1172
+ static {
1173
+ __name(this, "InvalidParameterCombinationException");
1174
+ }
1175
+ name = "InvalidParameterCombinationException";
1176
+ $fault = "client";
1177
+ /**
1178
+ * @internal
1179
+ */
1180
+ constructor(opts) {
1181
+ super({
1182
+ name: "InvalidParameterCombinationException",
1183
+ $fault: "client",
1184
+ ...opts
1185
+ });
1186
+ Object.setPrototypeOf(this, _InvalidParameterCombinationException.prototype);
1187
+ }
1188
+ };
1162
1189
  var OperationInProgressException = class _OperationInProgressException extends WorkSpacesServiceException {
1163
1190
  static {
1164
1191
  __name(this, "OperationInProgressException");
@@ -1195,12 +1222,12 @@ var UnsupportedWorkspaceConfigurationException = class _UnsupportedWorkspaceConf
1195
1222
  Object.setPrototypeOf(this, _UnsupportedWorkspaceConfigurationException.prototype);
1196
1223
  }
1197
1224
  };
1225
+
1226
+ // src/models/models_1.ts
1198
1227
  var TargetWorkspaceState = {
1199
1228
  ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE",
1200
1229
  AVAILABLE: "AVAILABLE"
1201
1230
  };
1202
-
1203
- // src/models/models_1.ts
1204
1231
  var UnsupportedNetworkConfigurationException = class _UnsupportedNetworkConfigurationException extends WorkSpacesServiceException {
1205
1232
  static {
1206
1233
  __name(this, "UnsupportedNetworkConfigurationException");
@@ -2994,6 +3021,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2994
3021
  case "OperationInProgressException":
2995
3022
  case "com.amazonaws.workspaces#OperationInProgressException":
2996
3023
  throw await de_OperationInProgressExceptionRes(parsedOutput, context);
3024
+ case "InvalidParameterCombinationException":
3025
+ case "com.amazonaws.workspaces#InvalidParameterCombinationException":
3026
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2997
3027
  case "UnsupportedWorkspaceConfigurationException":
2998
3028
  case "com.amazonaws.workspaces#UnsupportedWorkspaceConfigurationException":
2999
3029
  throw await de_UnsupportedWorkspaceConfigurationExceptionRes(parsedOutput, context);
@@ -3066,6 +3096,15 @@ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
3066
3096
  });
3067
3097
  return (0, import_smithy_client.decorateServiceException)(exception, body);
3068
3098
  }, "de_InternalServerExceptionRes");
3099
+ var de_InvalidParameterCombinationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3100
+ const body = parsedOutput.body;
3101
+ const deserialized = (0, import_smithy_client._json)(body);
3102
+ const exception = new InvalidParameterCombinationException({
3103
+ $metadata: deserializeMetadata(parsedOutput),
3104
+ ...deserialized
3105
+ });
3106
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3107
+ }, "de_InvalidParameterCombinationExceptionRes");
3069
3108
  var de_InvalidParameterValuesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3070
3109
  const body = parsedOutput.body;
3071
3110
  const deserialized = (0, import_smithy_client._json)(body);
@@ -5227,6 +5266,8 @@ var paginateListAccountLinks = (0, import_core.createPaginator)(WorkSpacesClient
5227
5266
  InternalServerException,
5228
5267
  ResourceNotFoundException,
5229
5268
  ValidationException,
5269
+ AccessEndpointType,
5270
+ InternetFallbackProtocol,
5230
5271
  AccessPropertyValue,
5231
5272
  DedicatedTenancySupportResultEnum,
5232
5273
  DedicatedTenancyModificationStateEnum,
@@ -5305,6 +5346,7 @@ var paginateListAccountLinks = (0, import_core.createPaginator)(WorkSpacesClient
5305
5346
  DescribeWorkspacesPoolsFilterOperator,
5306
5347
  SessionConnectionState,
5307
5348
  WorkspaceImageIngestionProcess,
5349
+ InvalidParameterCombinationException,
5308
5350
  OperationInProgressException,
5309
5351
  UnsupportedWorkspaceConfigurationException,
5310
5352
  TargetWorkspaceState,
@@ -68,6 +68,12 @@ export class ValidationException extends __BaseException {
68
68
  Object.setPrototypeOf(this, ValidationException.prototype);
69
69
  }
70
70
  }
71
+ export const AccessEndpointType = {
72
+ STREAMING_WSP: "STREAMING_WSP",
73
+ };
74
+ export const InternetFallbackProtocol = {
75
+ PCOIP: "PCOIP",
76
+ };
71
77
  export const AccessPropertyValue = {
72
78
  ALLOW: "ALLOW",
73
79
  DENY: "DENY",
@@ -652,6 +658,18 @@ export const WorkspaceImageIngestionProcess = {
652
658
  BYOL_REGULAR_BYOP: "BYOL_REGULAR_BYOP",
653
659
  BYOL_REGULAR_WSP: "BYOL_REGULAR_WSP",
654
660
  };
661
+ export class InvalidParameterCombinationException extends __BaseException {
662
+ name = "InvalidParameterCombinationException";
663
+ $fault = "client";
664
+ constructor(opts) {
665
+ super({
666
+ name: "InvalidParameterCombinationException",
667
+ $fault: "client",
668
+ ...opts,
669
+ });
670
+ Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
671
+ }
672
+ }
655
673
  export class OperationInProgressException extends __BaseException {
656
674
  name = "OperationInProgressException";
657
675
  $fault = "client";
@@ -676,7 +694,3 @@ export class UnsupportedWorkspaceConfigurationException extends __BaseException
676
694
  Object.setPrototypeOf(this, UnsupportedWorkspaceConfigurationException.prototype);
677
695
  }
678
696
  }
679
- export const TargetWorkspaceState = {
680
- ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE",
681
- AVAILABLE: "AVAILABLE",
682
- };
@@ -1,4 +1,8 @@
1
1
  import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
2
+ export const TargetWorkspaceState = {
3
+ ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE",
4
+ AVAILABLE: "AVAILABLE",
5
+ };
2
6
  export class UnsupportedNetworkConfigurationException extends __BaseException {
3
7
  name = "UnsupportedNetworkConfigurationException";
4
8
  $fault = "client";
@@ -1,7 +1,7 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
- import { AccessDeniedException, ApplicationNotSupportedException, ComputeNotCompatibleException, ConflictException, IncompatibleApplicationsException, InternalServerException, InvalidParameterValuesException, InvalidResourceStateException, OperatingSystemNotCompatibleException, OperationInProgressException, OperationNotSupportedException, ResourceAlreadyExistsException, ResourceAssociatedException, ResourceCreationFailedException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, UnsupportedWorkspaceConfigurationException, ValidationException, } from "../models/models_0";
4
+ import { AccessDeniedException, ApplicationNotSupportedException, ComputeNotCompatibleException, ConflictException, IncompatibleApplicationsException, InternalServerException, InvalidParameterCombinationException, InvalidParameterValuesException, InvalidResourceStateException, OperatingSystemNotCompatibleException, OperationInProgressException, OperationNotSupportedException, ResourceAlreadyExistsException, ResourceAssociatedException, ResourceCreationFailedException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, UnsupportedWorkspaceConfigurationException, ValidationException, } from "../models/models_0";
5
5
  import { UnsupportedNetworkConfigurationException, WorkspacesDefaultRoleNotFoundException, } from "../models/models_1";
6
6
  import { WorkSpacesServiceException as __BaseException } from "../models/WorkSpacesServiceException";
7
7
  export const se_AcceptAccountLinkInvitationCommand = async (input, context) => {
@@ -1759,6 +1759,9 @@ const de_CommandError = async (output, context) => {
1759
1759
  case "OperationInProgressException":
1760
1760
  case "com.amazonaws.workspaces#OperationInProgressException":
1761
1761
  throw await de_OperationInProgressExceptionRes(parsedOutput, context);
1762
+ case "InvalidParameterCombinationException":
1763
+ case "com.amazonaws.workspaces#InvalidParameterCombinationException":
1764
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1762
1765
  case "UnsupportedWorkspaceConfigurationException":
1763
1766
  case "com.amazonaws.workspaces#UnsupportedWorkspaceConfigurationException":
1764
1767
  throw await de_UnsupportedWorkspaceConfigurationExceptionRes(parsedOutput, context);
@@ -1831,6 +1834,15 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1831
1834
  });
1832
1835
  return __decorateServiceException(exception, body);
1833
1836
  };
1837
+ const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
1838
+ const body = parsedOutput.body;
1839
+ const deserialized = _json(body);
1840
+ const exception = new InvalidParameterCombinationException({
1841
+ $metadata: deserializeMetadata(parsedOutput),
1842
+ ...deserialized,
1843
+ });
1844
+ return __decorateServiceException(exception, body);
1845
+ };
1834
1846
  const de_InvalidParameterValuesExceptionRes = async (parsedOutput, context) => {
1835
1847
  const body = parsedOutput.body;
1836
1848
  const deserialized = _json(body);
@@ -93,6 +93,17 @@ declare const DescribeWorkspaceDirectoriesCommand_base: {
93
93
  * // DeviceTypeZeroClient: "ALLOW" || "DENY",
94
94
  * // DeviceTypeLinux: "ALLOW" || "DENY",
95
95
  * // DeviceTypeWorkSpacesThinClient: "ALLOW" || "DENY",
96
+ * // AccessEndpointConfig: { // AccessEndpointConfig
97
+ * // AccessEndpoints: [ // AccessEndpointList // required
98
+ * // { // AccessEndpoint
99
+ * // AccessEndpointType: "STREAMING_WSP",
100
+ * // VpcEndpointId: "STRING_VALUE",
101
+ * // },
102
+ * // ],
103
+ * // InternetFallbackProtocols: [ // InternetFallbackProtocolList
104
+ * // "PCOIP",
105
+ * // ],
106
+ * // },
96
107
  * // },
97
108
  * // Tenancy: "DEDICATED" || "SHARED",
98
109
  * // SelfservicePermissions: { // SelfservicePermissions
@@ -48,6 +48,17 @@ declare const ModifyWorkspaceAccessPropertiesCommand_base: {
48
48
  * DeviceTypeZeroClient: "ALLOW" || "DENY",
49
49
  * DeviceTypeLinux: "ALLOW" || "DENY",
50
50
  * DeviceTypeWorkSpacesThinClient: "ALLOW" || "DENY",
51
+ * AccessEndpointConfig: { // AccessEndpointConfig
52
+ * AccessEndpoints: [ // AccessEndpointList // required
53
+ * { // AccessEndpoint
54
+ * AccessEndpointType: "STREAMING_WSP",
55
+ * VpcEndpointId: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * InternetFallbackProtocols: [ // InternetFallbackProtocolList
59
+ * "PCOIP",
60
+ * ],
61
+ * },
51
62
  * },
52
63
  * };
53
64
  * const command = new ModifyWorkspaceAccessPropertiesCommand(input);
@@ -65,6 +76,15 @@ declare const ModifyWorkspaceAccessPropertiesCommand_base: {
65
76
  * @throws {@link AccessDeniedException} (client fault)
66
77
  * <p>The user is not authorized to access a resource.</p>
67
78
  *
79
+ * @throws {@link InvalidParameterCombinationException} (client fault)
80
+ * <p>Two or more of the selected parameter values cannot be used together.</p>
81
+ *
82
+ * @throws {@link InvalidParameterValuesException} (client fault)
83
+ * <p>One or more parameter values are not valid.</p>
84
+ *
85
+ * @throws {@link OperationNotSupportedException} (client fault)
86
+ * <p>This operation is not supported.</p>
87
+ *
68
88
  * @throws {@link ResourceNotFoundException} (client fault)
69
89
  * <p>The resource could not be found.</p>
70
90
  *
@@ -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 { ModifyWorkspaceStateRequest, ModifyWorkspaceStateResult } from "../models/models_0";
3
+ import { ModifyWorkspaceStateRequest, ModifyWorkspaceStateResult } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
5
5
  /**
6
6
  * @public
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RebootWorkspacesRequest } from "../models/models_0";
4
- import { RebootWorkspacesResult } from "../models/models_1";
3
+ import { RebootWorkspacesRequest, RebootWorkspacesResult } from "../models/models_1";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
6
5
  /**
7
6
  * @public
@@ -132,6 +132,60 @@ export declare class ValidationException extends __BaseException {
132
132
  */
133
133
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
134
134
  }
135
+ /**
136
+ * @public
137
+ * @enum
138
+ */
139
+ export declare const AccessEndpointType: {
140
+ readonly STREAMING_WSP: "STREAMING_WSP";
141
+ };
142
+ /**
143
+ * @public
144
+ */
145
+ export type AccessEndpointType = (typeof AccessEndpointType)[keyof typeof AccessEndpointType];
146
+ /**
147
+ * <p>Describes the access type and endpoint for a WorkSpace.</p>
148
+ * @public
149
+ */
150
+ export interface AccessEndpoint {
151
+ /**
152
+ * <p>Indicates the type of access endpoint.</p>
153
+ * @public
154
+ */
155
+ AccessEndpointType?: AccessEndpointType | undefined;
156
+ /**
157
+ * <p>Indicates the VPC endpoint to use for access.</p>
158
+ * @public
159
+ */
160
+ VpcEndpointId?: string | undefined;
161
+ }
162
+ /**
163
+ * @public
164
+ * @enum
165
+ */
166
+ export declare const InternetFallbackProtocol: {
167
+ readonly PCOIP: "PCOIP";
168
+ };
169
+ /**
170
+ * @public
171
+ */
172
+ export type InternetFallbackProtocol = (typeof InternetFallbackProtocol)[keyof typeof InternetFallbackProtocol];
173
+ /**
174
+ * <p>Describes the access endpoint configuration for a WorkSpace.</p>
175
+ * @public
176
+ */
177
+ export interface AccessEndpointConfig {
178
+ /**
179
+ * <p>Indicates a list of access endpoints associated with this directory.</p>
180
+ * @public
181
+ */
182
+ AccessEndpoints: AccessEndpoint[] | undefined;
183
+ /**
184
+ * <p>Indicates a list of protocols that fallback to using the public Internet when streaming over a VPC endpoint is not available.</p>
185
+ * @public
186
+ */
187
+ InternetFallbackProtocols?: InternetFallbackProtocol[] | undefined;
188
+ }
135
189
  /**
136
190
  * @public
137
191
  * @enum
@@ -4287,6 +4341,11 @@ export interface WorkspaceAccessProperties {
4287
4341
  * @public
4288
4342
  */
4289
4343
  DeviceTypeWorkSpacesThinClient?: AccessPropertyValue | undefined;
4344
+ /**
4345
+ * <p>Specifies the configuration for accessing the WorkSpace.</p>
4346
+ * @public
4347
+ */
4348
+ AccessEndpointConfig?: AccessEndpointConfig | undefined;
4290
4349
  }
4291
4350
  /**
4292
4351
  * @public
@@ -5492,6 +5551,18 @@ export interface ImportWorkspaceImageResult {
5492
5551
  */
5493
5552
  ImageId?: string | undefined;
5494
5553
  }
5554
+ /**
5555
+ * <p>Two or more of the selected parameter values cannot be used together.</p>
5556
+ * @public
5557
+ */
5558
+ export declare class InvalidParameterCombinationException extends __BaseException {
5559
+ readonly name: "InvalidParameterCombinationException";
5560
+ readonly $fault: "client";
5561
+ /**
5562
+ * @internal
5563
+ */
5564
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
5565
+ }
5495
5566
  /**
5496
5567
  * @public
5497
5568
  */
@@ -5912,56 +5983,3 @@ export declare class UnsupportedWorkspaceConfigurationException extends __BaseEx
5912
5983
  */
5913
5984
  constructor(opts: __ExceptionOptionType<UnsupportedWorkspaceConfigurationException, __BaseException>);
5914
5985
  }
5915
- /**
5916
- * @public
5917
- * @enum
5918
- */
5919
- export declare const TargetWorkspaceState: {
5920
- readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
5921
- readonly AVAILABLE: "AVAILABLE";
5922
- };
5923
- /**
5924
- * @public
5925
- */
5926
- export type TargetWorkspaceState = (typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
5927
- /**
5928
- * @public
5929
- */
5930
- export interface ModifyWorkspaceStateRequest {
5931
- /**
5932
- * <p>The identifier of the WorkSpace.</p>
5933
- * @public
5934
- */
5935
- WorkspaceId: string | undefined;
5936
- /**
5937
- * <p>The WorkSpace state.</p>
5938
- * @public
5939
- */
5940
- WorkspaceState: TargetWorkspaceState | undefined;
5941
- }
5942
- /**
5943
- * @public
5944
- */
5945
- export interface ModifyWorkspaceStateResult {
5946
- }
5947
- /**
5948
- * <p>Describes the information used to reboot a WorkSpace.</p>
5949
- * @public
5950
- */
5951
- export interface RebootRequest {
5952
- /**
5953
- * <p>The identifier of the WorkSpace.</p>
5954
- * @public
5955
- */
5956
- WorkspaceId: string | undefined;
5957
- }
5958
- /**
5959
- * @public
5960
- */
5961
- export interface RebootWorkspacesRequest {
5962
- /**
5963
- * <p>The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.</p>
5964
- * @public
5965
- */
5966
- RebootWorkspaceRequests: RebootRequest[] | undefined;
5967
- }
@@ -1,6 +1,59 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AccountLink, ActiveDirectoryConfig, ApplicationSettingsRequest, Capacity, ConnectionAliasPermission, FailedWorkspaceChangeRequest, IpRuleItem, MicrosoftEntraConfig, PoolsRunningMode, Tag, Tenancy, TimeoutSettings, UserIdentityType, WorkspaceDirectoryState, WorkspacesPool, WorkspaceType } from "./models_0";
3
3
  import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
4
+ /**
5
+ * @public
6
+ * @enum
7
+ */
8
+ export declare const TargetWorkspaceState: {
9
+ readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
10
+ readonly AVAILABLE: "AVAILABLE";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type TargetWorkspaceState = (typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
16
+ /**
17
+ * @public
18
+ */
19
+ export interface ModifyWorkspaceStateRequest {
20
+ /**
21
+ * <p>The identifier of the WorkSpace.</p>
22
+ * @public
23
+ */
24
+ WorkspaceId: string | undefined;
25
+ /**
26
+ * <p>The WorkSpace state.</p>
27
+ * @public
28
+ */
29
+ WorkspaceState: TargetWorkspaceState | undefined;
30
+ }
31
+ /**
32
+ * @public
33
+ */
34
+ export interface ModifyWorkspaceStateResult {
35
+ }
36
+ /**
37
+ * <p>Describes the information used to reboot a WorkSpace.</p>
38
+ * @public
39
+ */
40
+ export interface RebootRequest {
41
+ /**
42
+ * <p>The identifier of the WorkSpace.</p>
43
+ * @public
44
+ */
45
+ WorkspaceId: string | undefined;
46
+ }
47
+ /**
48
+ * @public
49
+ */
50
+ export interface RebootWorkspacesRequest {
51
+ /**
52
+ * <p>The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.</p>
53
+ * @public
54
+ */
55
+ RebootWorkspaceRequests: RebootRequest[] | undefined;
56
+ }
4
57
  /**
5
58
  * @public
6
59
  */
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ModifyWorkspaceStateRequest,
5
5
  ModifyWorkspaceStateResult,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -1,7 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RebootWorkspacesRequest } from "../models/models_0";
4
- import { RebootWorkspacesResult } from "../models/models_1";
3
+ import {
4
+ RebootWorkspacesRequest,
5
+ RebootWorkspacesResult,
6
+ } from "../models/models_1";
5
7
  import {
6
8
  ServiceInputTypes,
7
9
  ServiceOutputTypes,
@@ -56,6 +56,24 @@ export declare class ValidationException extends __BaseException {
56
56
  opts: __ExceptionOptionType<ValidationException, __BaseException>
57
57
  );
58
58
  }
59
+ export declare const AccessEndpointType: {
60
+ readonly STREAMING_WSP: "STREAMING_WSP";
61
+ };
62
+ export type AccessEndpointType =
63
+ (typeof AccessEndpointType)[keyof typeof AccessEndpointType];
64
+ export interface AccessEndpoint {
65
+ AccessEndpointType?: AccessEndpointType | undefined;
66
+ VpcEndpointId?: string | undefined;
67
+ }
68
+ export declare const InternetFallbackProtocol: {
69
+ readonly PCOIP: "PCOIP";
70
+ };
71
+ export type InternetFallbackProtocol =
72
+ (typeof InternetFallbackProtocol)[keyof typeof InternetFallbackProtocol];
73
+ export interface AccessEndpointConfig {
74
+ AccessEndpoints: AccessEndpoint[] | undefined;
75
+ InternetFallbackProtocols?: InternetFallbackProtocol[] | undefined;
76
+ }
59
77
  export declare const AccessPropertyValue: {
60
78
  readonly ALLOW: "ALLOW";
61
79
  readonly DENY: "DENY";
@@ -1290,6 +1308,7 @@ export interface WorkspaceAccessProperties {
1290
1308
  DeviceTypeZeroClient?: AccessPropertyValue | undefined;
1291
1309
  DeviceTypeLinux?: AccessPropertyValue | undefined;
1292
1310
  DeviceTypeWorkSpacesThinClient?: AccessPropertyValue | undefined;
1311
+ AccessEndpointConfig?: AccessEndpointConfig | undefined;
1293
1312
  }
1294
1313
  export declare const WorkspaceType: {
1295
1314
  readonly PERSONAL: "PERSONAL";
@@ -1605,6 +1624,16 @@ export interface ImportWorkspaceImageRequest {
1605
1624
  export interface ImportWorkspaceImageResult {
1606
1625
  ImageId?: string | undefined;
1607
1626
  }
1627
+ export declare class InvalidParameterCombinationException extends __BaseException {
1628
+ readonly name: "InvalidParameterCombinationException";
1629
+ readonly $fault: "client";
1630
+ constructor(
1631
+ opts: __ExceptionOptionType<
1632
+ InvalidParameterCombinationException,
1633
+ __BaseException
1634
+ >
1635
+ );
1636
+ }
1608
1637
  export interface ListAccountLinksRequest {
1609
1638
  LinkStatusFilter?: AccountLinkStatusEnum[] | undefined;
1610
1639
  NextToken?: string | undefined;
@@ -1709,20 +1738,3 @@ export declare class UnsupportedWorkspaceConfigurationException extends __BaseEx
1709
1738
  >
1710
1739
  );
1711
1740
  }
1712
- export declare const TargetWorkspaceState: {
1713
- readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
1714
- readonly AVAILABLE: "AVAILABLE";
1715
- };
1716
- export type TargetWorkspaceState =
1717
- (typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
1718
- export interface ModifyWorkspaceStateRequest {
1719
- WorkspaceId: string | undefined;
1720
- WorkspaceState: TargetWorkspaceState | undefined;
1721
- }
1722
- export interface ModifyWorkspaceStateResult {}
1723
- export interface RebootRequest {
1724
- WorkspaceId: string | undefined;
1725
- }
1726
- export interface RebootWorkspacesRequest {
1727
- RebootWorkspaceRequests: RebootRequest[] | undefined;
1728
- }
@@ -18,6 +18,23 @@ import {
18
18
  WorkspaceType,
19
19
  } from "./models_0";
20
20
  import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
21
+ export declare const TargetWorkspaceState: {
22
+ readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
23
+ readonly AVAILABLE: "AVAILABLE";
24
+ };
25
+ export type TargetWorkspaceState =
26
+ (typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
27
+ export interface ModifyWorkspaceStateRequest {
28
+ WorkspaceId: string | undefined;
29
+ WorkspaceState: TargetWorkspaceState | undefined;
30
+ }
31
+ export interface ModifyWorkspaceStateResult {}
32
+ export interface RebootRequest {
33
+ WorkspaceId: string | undefined;
34
+ }
35
+ export interface RebootWorkspacesRequest {
36
+ RebootWorkspaceRequests: RebootRequest[] | undefined;
37
+ }
21
38
  export interface RebootWorkspacesResult {
22
39
  FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
23
40
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces",
3
3
  "description": "AWS SDK for JavaScript Workspaces Client for Node.js, Browser and React Native",
4
- "version": "3.835.0",
4
+ "version": "3.838.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces",