@aws-sdk/client-workspaces 3.934.0 → 3.936.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 (71) hide show
  1. package/dist-cjs/index.js +532 -532
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +461 -0
  4. package/dist-es/models/errors.js +285 -0
  5. package/dist-es/models/models_0.js +1 -706
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +1 -2
  8. package/dist-types/commands/ModifyStreamingPropertiesCommand.d.ts +1 -1
  9. package/dist-types/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +1 -1
  10. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -1
  11. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  12. package/dist-types/commands/ModifyWorkspaceStateCommand.d.ts +1 -1
  13. package/dist-types/commands/RebootWorkspacesCommand.d.ts +1 -1
  14. package/dist-types/commands/RebuildWorkspacesCommand.d.ts +1 -1
  15. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  16. package/dist-types/commands/RejectAccountLinkInvitationCommand.d.ts +1 -1
  17. package/dist-types/commands/RestoreWorkspaceCommand.d.ts +1 -1
  18. package/dist-types/commands/RevokeIpRulesCommand.d.ts +1 -1
  19. package/dist-types/commands/StartWorkspacesCommand.d.ts +1 -1
  20. package/dist-types/commands/StartWorkspacesPoolCommand.d.ts +1 -1
  21. package/dist-types/commands/StopWorkspacesCommand.d.ts +1 -1
  22. package/dist-types/commands/StopWorkspacesPoolCommand.d.ts +1 -1
  23. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +1 -1
  24. package/dist-types/commands/TerminateWorkspacesPoolCommand.d.ts +1 -1
  25. package/dist-types/commands/TerminateWorkspacesPoolSessionCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateWorkspacesPoolCommand.d.ts +1 -1
  32. package/dist-types/index.d.ts +3 -1
  33. package/dist-types/models/enums.d.ts +1053 -0
  34. package/dist-types/models/errors.d.ts +305 -0
  35. package/dist-types/models/models_0.d.ts +711 -1305
  36. package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +4 -2
  37. package/dist-types/ts3.4/commands/ModifyStreamingPropertiesCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/RejectAccountLinkInvitationCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/RevokeIpRulesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/StartWorkspacesPoolCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/StopWorkspacesPoolCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolSessionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateWorkspacesPoolCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/index.d.ts +3 -1
  62. package/dist-types/ts3.4/models/enums.d.ts +597 -0
  63. package/dist-types/ts3.4/models/errors.d.ts +192 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +247 -753
  65. package/package.json +19 -19
  66. package/dist-es/models/index.js +0 -2
  67. package/dist-es/models/models_1.js +0 -41
  68. package/dist-types/models/index.d.ts +0 -2
  69. package/dist-types/models/models_1.d.ts +0 -766
  70. package/dist-types/ts3.4/models/index.d.ts +0 -2
  71. package/dist-types/ts3.4/models/models_1.d.ts +0 -231
@@ -0,0 +1,285 @@
1
+ import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ConflictException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ConflictException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerException extends __BaseException {
27
+ name = "InternalServerException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "InternalServerException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, InternalServerException.prototype);
36
+ }
37
+ }
38
+ export class ResourceNotFoundException extends __BaseException {
39
+ name = "ResourceNotFoundException";
40
+ $fault = "client";
41
+ ResourceId;
42
+ constructor(opts) {
43
+ super({
44
+ name: "ResourceNotFoundException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
49
+ this.ResourceId = opts.ResourceId;
50
+ }
51
+ }
52
+ export class ValidationException extends __BaseException {
53
+ name = "ValidationException";
54
+ $fault = "client";
55
+ constructor(opts) {
56
+ super({
57
+ name: "ValidationException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, ValidationException.prototype);
62
+ }
63
+ }
64
+ export class ApplicationNotSupportedException extends __BaseException {
65
+ name = "ApplicationNotSupportedException";
66
+ $fault = "client";
67
+ constructor(opts) {
68
+ super({
69
+ name: "ApplicationNotSupportedException",
70
+ $fault: "client",
71
+ ...opts,
72
+ });
73
+ Object.setPrototypeOf(this, ApplicationNotSupportedException.prototype);
74
+ }
75
+ }
76
+ export class InvalidParameterValuesException extends __BaseException {
77
+ name = "InvalidParameterValuesException";
78
+ $fault = "client";
79
+ constructor(opts) {
80
+ super({
81
+ name: "InvalidParameterValuesException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ Object.setPrototypeOf(this, InvalidParameterValuesException.prototype);
86
+ }
87
+ }
88
+ export class InvalidResourceStateException extends __BaseException {
89
+ name = "InvalidResourceStateException";
90
+ $fault = "client";
91
+ constructor(opts) {
92
+ super({
93
+ name: "InvalidResourceStateException",
94
+ $fault: "client",
95
+ ...opts,
96
+ });
97
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
98
+ }
99
+ }
100
+ export class OperationNotSupportedException extends __BaseException {
101
+ name = "OperationNotSupportedException";
102
+ $fault = "client";
103
+ reason;
104
+ constructor(opts) {
105
+ super({
106
+ name: "OperationNotSupportedException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, OperationNotSupportedException.prototype);
111
+ this.reason = opts.reason;
112
+ }
113
+ }
114
+ export class ResourceAssociatedException extends __BaseException {
115
+ name = "ResourceAssociatedException";
116
+ $fault = "client";
117
+ constructor(opts) {
118
+ super({
119
+ name: "ResourceAssociatedException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ Object.setPrototypeOf(this, ResourceAssociatedException.prototype);
124
+ }
125
+ }
126
+ export class ResourceLimitExceededException extends __BaseException {
127
+ name = "ResourceLimitExceededException";
128
+ $fault = "client";
129
+ constructor(opts) {
130
+ super({
131
+ name: "ResourceLimitExceededException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
136
+ }
137
+ }
138
+ export class ComputeNotCompatibleException extends __BaseException {
139
+ name = "ComputeNotCompatibleException";
140
+ $fault = "client";
141
+ constructor(opts) {
142
+ super({
143
+ name: "ComputeNotCompatibleException",
144
+ $fault: "client",
145
+ ...opts,
146
+ });
147
+ Object.setPrototypeOf(this, ComputeNotCompatibleException.prototype);
148
+ }
149
+ }
150
+ export class IncompatibleApplicationsException extends __BaseException {
151
+ name = "IncompatibleApplicationsException";
152
+ $fault = "client";
153
+ constructor(opts) {
154
+ super({
155
+ name: "IncompatibleApplicationsException",
156
+ $fault: "client",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, IncompatibleApplicationsException.prototype);
160
+ }
161
+ }
162
+ export class OperatingSystemNotCompatibleException extends __BaseException {
163
+ name = "OperatingSystemNotCompatibleException";
164
+ $fault = "client";
165
+ constructor(opts) {
166
+ super({
167
+ name: "OperatingSystemNotCompatibleException",
168
+ $fault: "client",
169
+ ...opts,
170
+ });
171
+ Object.setPrototypeOf(this, OperatingSystemNotCompatibleException.prototype);
172
+ }
173
+ }
174
+ export class ResourceAlreadyExistsException extends __BaseException {
175
+ name = "ResourceAlreadyExistsException";
176
+ $fault = "client";
177
+ constructor(opts) {
178
+ super({
179
+ name: "ResourceAlreadyExistsException",
180
+ $fault: "client",
181
+ ...opts,
182
+ });
183
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
184
+ }
185
+ }
186
+ export class ResourceInUseException extends __BaseException {
187
+ name = "ResourceInUseException";
188
+ $fault = "client";
189
+ ResourceId;
190
+ constructor(opts) {
191
+ super({
192
+ name: "ResourceInUseException",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
197
+ this.ResourceId = opts.ResourceId;
198
+ }
199
+ }
200
+ export class ResourceUnavailableException extends __BaseException {
201
+ name = "ResourceUnavailableException";
202
+ $fault = "client";
203
+ ResourceId;
204
+ constructor(opts) {
205
+ super({
206
+ name: "ResourceUnavailableException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
211
+ this.ResourceId = opts.ResourceId;
212
+ }
213
+ }
214
+ export class ResourceCreationFailedException extends __BaseException {
215
+ name = "ResourceCreationFailedException";
216
+ $fault = "client";
217
+ constructor(opts) {
218
+ super({
219
+ name: "ResourceCreationFailedException",
220
+ $fault: "client",
221
+ ...opts,
222
+ });
223
+ Object.setPrototypeOf(this, ResourceCreationFailedException.prototype);
224
+ }
225
+ }
226
+ export class InvalidParameterCombinationException extends __BaseException {
227
+ name = "InvalidParameterCombinationException";
228
+ $fault = "client";
229
+ constructor(opts) {
230
+ super({
231
+ name: "InvalidParameterCombinationException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
236
+ }
237
+ }
238
+ export class OperationInProgressException extends __BaseException {
239
+ name = "OperationInProgressException";
240
+ $fault = "client";
241
+ constructor(opts) {
242
+ super({
243
+ name: "OperationInProgressException",
244
+ $fault: "client",
245
+ ...opts,
246
+ });
247
+ Object.setPrototypeOf(this, OperationInProgressException.prototype);
248
+ }
249
+ }
250
+ export class UnsupportedWorkspaceConfigurationException extends __BaseException {
251
+ name = "UnsupportedWorkspaceConfigurationException";
252
+ $fault = "client";
253
+ constructor(opts) {
254
+ super({
255
+ name: "UnsupportedWorkspaceConfigurationException",
256
+ $fault: "client",
257
+ ...opts,
258
+ });
259
+ Object.setPrototypeOf(this, UnsupportedWorkspaceConfigurationException.prototype);
260
+ }
261
+ }
262
+ export class UnsupportedNetworkConfigurationException extends __BaseException {
263
+ name = "UnsupportedNetworkConfigurationException";
264
+ $fault = "client";
265
+ constructor(opts) {
266
+ super({
267
+ name: "UnsupportedNetworkConfigurationException",
268
+ $fault: "client",
269
+ ...opts,
270
+ });
271
+ Object.setPrototypeOf(this, UnsupportedNetworkConfigurationException.prototype);
272
+ }
273
+ }
274
+ export class WorkspacesDefaultRoleNotFoundException extends __BaseException {
275
+ name = "WorkspacesDefaultRoleNotFoundException";
276
+ $fault = "client";
277
+ constructor(opts) {
278
+ super({
279
+ name: "WorkspacesDefaultRoleNotFoundException",
280
+ $fault: "client",
281
+ ...opts,
282
+ });
283
+ Object.setPrototypeOf(this, WorkspacesDefaultRoleNotFoundException.prototype);
284
+ }
285
+ }