@aws-sdk/client-workspaces 3.934.0 → 3.935.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 +12 -12
  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,305 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
3
+ /**
4
+ * <p>The user is not authorized to access a resource.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The <code>TargetAccountId</code> is already linked or invited.</p>
17
+ * @public
18
+ */
19
+ export declare class ConflictException extends __BaseException {
20
+ readonly name: "ConflictException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Unexpected server error occured.</p>
29
+ * @public
30
+ */
31
+ export declare class InternalServerException extends __BaseException {
32
+ readonly name: "InternalServerException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The resource could not be found.</p>
41
+ * @public
42
+ */
43
+ export declare class ResourceNotFoundException extends __BaseException {
44
+ readonly name: "ResourceNotFoundException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * <p>The ID of the resource that could not be found.</p>
48
+ * @public
49
+ */
50
+ ResourceId?: string | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>You either haven't provided a <code>TargetAccountId</code> or
58
+ * are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
59
+ * @public
60
+ */
61
+ export declare class ValidationException extends __BaseException {
62
+ readonly name: "ValidationException";
63
+ readonly $fault: "client";
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>The specified application is not supported.</p>
71
+ * @public
72
+ */
73
+ export declare class ApplicationNotSupportedException extends __BaseException {
74
+ readonly name: "ApplicationNotSupportedException";
75
+ readonly $fault: "client";
76
+ /**
77
+ * @internal
78
+ */
79
+ constructor(opts: __ExceptionOptionType<ApplicationNotSupportedException, __BaseException>);
80
+ }
81
+ /**
82
+ * <p>One or more parameter values are not valid.</p>
83
+ * @public
84
+ */
85
+ export declare class InvalidParameterValuesException extends __BaseException {
86
+ readonly name: "InvalidParameterValuesException";
87
+ readonly $fault: "client";
88
+ /**
89
+ * @internal
90
+ */
91
+ constructor(opts: __ExceptionOptionType<InvalidParameterValuesException, __BaseException>);
92
+ }
93
+ /**
94
+ * <p>The state of the resource is not valid for this operation.</p>
95
+ * @public
96
+ */
97
+ export declare class InvalidResourceStateException extends __BaseException {
98
+ readonly name: "InvalidResourceStateException";
99
+ readonly $fault: "client";
100
+ /**
101
+ * @internal
102
+ */
103
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
104
+ }
105
+ /**
106
+ * <p>This operation is not supported.</p>
107
+ * @public
108
+ */
109
+ export declare class OperationNotSupportedException extends __BaseException {
110
+ readonly name: "OperationNotSupportedException";
111
+ readonly $fault: "client";
112
+ /**
113
+ * <p>The exception error reason.</p>
114
+ * @public
115
+ */
116
+ reason?: string | undefined;
117
+ /**
118
+ * @internal
119
+ */
120
+ constructor(opts: __ExceptionOptionType<OperationNotSupportedException, __BaseException>);
121
+ }
122
+ /**
123
+ * <p>The resource is associated with a directory.</p>
124
+ * @public
125
+ */
126
+ export declare class ResourceAssociatedException extends __BaseException {
127
+ readonly name: "ResourceAssociatedException";
128
+ readonly $fault: "client";
129
+ /**
130
+ * @internal
131
+ */
132
+ constructor(opts: __ExceptionOptionType<ResourceAssociatedException, __BaseException>);
133
+ }
134
+ /**
135
+ * <p>Your resource limits have been exceeded.</p>
136
+ * @public
137
+ */
138
+ export declare class ResourceLimitExceededException extends __BaseException {
139
+ readonly name: "ResourceLimitExceededException";
140
+ readonly $fault: "client";
141
+ /**
142
+ * @internal
143
+ */
144
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
145
+ }
146
+ /**
147
+ * <p>The compute type of the WorkSpace is not compatible with the application.</p>
148
+ * @public
149
+ */
150
+ export declare class ComputeNotCompatibleException extends __BaseException {
151
+ readonly name: "ComputeNotCompatibleException";
152
+ readonly $fault: "client";
153
+ /**
154
+ * @internal
155
+ */
156
+ constructor(opts: __ExceptionOptionType<ComputeNotCompatibleException, __BaseException>);
157
+ }
158
+ /**
159
+ * <p>The specified application is not compatible with the resource.</p>
160
+ * @public
161
+ */
162
+ export declare class IncompatibleApplicationsException extends __BaseException {
163
+ readonly name: "IncompatibleApplicationsException";
164
+ readonly $fault: "client";
165
+ /**
166
+ * @internal
167
+ */
168
+ constructor(opts: __ExceptionOptionType<IncompatibleApplicationsException, __BaseException>);
169
+ }
170
+ /**
171
+ * <p>The operating system of the WorkSpace is not compatible with the application.</p>
172
+ * @public
173
+ */
174
+ export declare class OperatingSystemNotCompatibleException extends __BaseException {
175
+ readonly name: "OperatingSystemNotCompatibleException";
176
+ readonly $fault: "client";
177
+ /**
178
+ * @internal
179
+ */
180
+ constructor(opts: __ExceptionOptionType<OperatingSystemNotCompatibleException, __BaseException>);
181
+ }
182
+ /**
183
+ * <p>The specified resource already exists.</p>
184
+ * @public
185
+ */
186
+ export declare class ResourceAlreadyExistsException extends __BaseException {
187
+ readonly name: "ResourceAlreadyExistsException";
188
+ readonly $fault: "client";
189
+ /**
190
+ * @internal
191
+ */
192
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
193
+ }
194
+ /**
195
+ * <p>The specified resource is currently in use.</p>
196
+ * @public
197
+ */
198
+ export declare class ResourceInUseException extends __BaseException {
199
+ readonly name: "ResourceInUseException";
200
+ readonly $fault: "client";
201
+ /**
202
+ * <p>The ID of the resource that is in use.</p>
203
+ * @public
204
+ */
205
+ ResourceId?: string | undefined;
206
+ /**
207
+ * @internal
208
+ */
209
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
210
+ }
211
+ /**
212
+ * <p>The specified resource is not available.</p>
213
+ * @public
214
+ */
215
+ export declare class ResourceUnavailableException extends __BaseException {
216
+ readonly name: "ResourceUnavailableException";
217
+ readonly $fault: "client";
218
+ /**
219
+ * <p>The identifier of the resource that is not available.</p>
220
+ * @public
221
+ */
222
+ ResourceId?: string | undefined;
223
+ /**
224
+ * @internal
225
+ */
226
+ constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
227
+ }
228
+ /**
229
+ * <p>The resource could not be created.</p>
230
+ * @public
231
+ */
232
+ export declare class ResourceCreationFailedException extends __BaseException {
233
+ readonly name: "ResourceCreationFailedException";
234
+ readonly $fault: "client";
235
+ /**
236
+ * @internal
237
+ */
238
+ constructor(opts: __ExceptionOptionType<ResourceCreationFailedException, __BaseException>);
239
+ }
240
+ /**
241
+ * <p>Two or more of the selected parameter values cannot be used together.</p>
242
+ * @public
243
+ */
244
+ export declare class InvalidParameterCombinationException extends __BaseException {
245
+ readonly name: "InvalidParameterCombinationException";
246
+ readonly $fault: "client";
247
+ /**
248
+ * @internal
249
+ */
250
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
251
+ }
252
+ /**
253
+ * <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p>
254
+ * @public
255
+ */
256
+ export declare class OperationInProgressException extends __BaseException {
257
+ readonly name: "OperationInProgressException";
258
+ readonly $fault: "client";
259
+ /**
260
+ * @internal
261
+ */
262
+ constructor(opts: __ExceptionOptionType<OperationInProgressException, __BaseException>);
263
+ }
264
+ /**
265
+ * <p>The configuration of this WorkSpace is not supported for this operation. For more information, see
266
+ * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html">Required
267
+ * Configuration and Service Components for WorkSpaces </a>.</p>
268
+ * @public
269
+ */
270
+ export declare class UnsupportedWorkspaceConfigurationException extends __BaseException {
271
+ readonly name: "UnsupportedWorkspaceConfigurationException";
272
+ readonly $fault: "client";
273
+ /**
274
+ * @internal
275
+ */
276
+ constructor(opts: __ExceptionOptionType<UnsupportedWorkspaceConfigurationException, __BaseException>);
277
+ }
278
+ /**
279
+ * <p>The configuration of this network is not supported for this operation, or your network configuration
280
+ * conflicts with the Amazon WorkSpaces management network IP range. For more information, see
281
+ * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-vpc.html">
282
+ * Configure a VPC for Amazon WorkSpaces</a>.</p>
283
+ * @public
284
+ */
285
+ export declare class UnsupportedNetworkConfigurationException extends __BaseException {
286
+ readonly name: "UnsupportedNetworkConfigurationException";
287
+ readonly $fault: "client";
288
+ /**
289
+ * @internal
290
+ */
291
+ constructor(opts: __ExceptionOptionType<UnsupportedNetworkConfigurationException, __BaseException>);
292
+ }
293
+ /**
294
+ * <p>The workspaces_DefaultRole role could not be found. If this is the first time you are registering a directory, you
295
+ * will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">Creating the workspaces_DefaultRole Role</a>.</p>
296
+ * @public
297
+ */
298
+ export declare class WorkspacesDefaultRoleNotFoundException extends __BaseException {
299
+ readonly name: "WorkspacesDefaultRoleNotFoundException";
300
+ readonly $fault: "client";
301
+ /**
302
+ * @internal
303
+ */
304
+ constructor(opts: __ExceptionOptionType<WorkspacesDefaultRoleNotFoundException, __BaseException>);
305
+ }