@aws-sdk/client-workspaces-instances 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.
- package/dist-cjs/index.js +100 -99
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +99 -0
- package/dist-es/models/errors.js +131 -0
- package/dist-es/models/models_0.js +1 -230
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +259 -0
- package/dist-types/models/errors.d.ts +197 -0
- package/dist-types/models/models_0.d.ts +1 -454
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +137 -0
- package/dist-types/ts3.4/models/errors.d.ts +76 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -211
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -129,10 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends WorkspacesInst
|
|
|
129
129
|
this.Message = opts.Message;
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const AmdSevSnpEnum = {
|
|
133
|
-
DISABLED: "disabled",
|
|
134
|
-
ENABLED: "enabled",
|
|
135
|
-
};
|
|
136
132
|
let ConflictException$1 = class ConflictException extends WorkspacesInstancesServiceException$1 {
|
|
137
133
|
name = "ConflictException";
|
|
138
134
|
$fault = "client";
|
|
@@ -209,14 +205,6 @@ let ThrottlingException$1 = class ThrottlingException extends WorkspacesInstance
|
|
|
209
205
|
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
210
206
|
}
|
|
211
207
|
};
|
|
212
|
-
const ValidationExceptionReason = {
|
|
213
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
214
|
-
DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE",
|
|
215
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
216
|
-
OTHER: "OTHER",
|
|
217
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
218
|
-
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
219
|
-
};
|
|
220
208
|
let ValidationException$1 = class ValidationException extends WorkspacesInstancesServiceException$1 {
|
|
221
209
|
name = "ValidationException";
|
|
222
210
|
$fault = "client";
|
|
@@ -235,39 +223,6 @@ let ValidationException$1 = class ValidationException extends WorkspacesInstance
|
|
|
235
223
|
this.FieldList = opts.FieldList;
|
|
236
224
|
}
|
|
237
225
|
};
|
|
238
|
-
const AutoRecoveryEnum = {
|
|
239
|
-
DEFAULT: "default",
|
|
240
|
-
DISABLED: "disabled",
|
|
241
|
-
};
|
|
242
|
-
const BandwidthWeightingEnum = {
|
|
243
|
-
DEFAULT: "default",
|
|
244
|
-
EBS_1: "ebs-1",
|
|
245
|
-
VPC_1: "vpc-1",
|
|
246
|
-
};
|
|
247
|
-
const VolumeTypeEnum = {
|
|
248
|
-
GP2: "gp2",
|
|
249
|
-
GP3: "gp3",
|
|
250
|
-
IO1: "io1",
|
|
251
|
-
IO2: "io2",
|
|
252
|
-
SC1: "sc1",
|
|
253
|
-
ST1: "st1",
|
|
254
|
-
STANDARD: "standard",
|
|
255
|
-
};
|
|
256
|
-
const CapacityReservationPreferenceEnum = {
|
|
257
|
-
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
258
|
-
NONE: "none",
|
|
259
|
-
OPEN: "open",
|
|
260
|
-
};
|
|
261
|
-
const CpuCreditsEnum = {
|
|
262
|
-
STANDARD: "standard",
|
|
263
|
-
UNLIMITED: "unlimited",
|
|
264
|
-
};
|
|
265
|
-
const ResourceTypeEnum = {
|
|
266
|
-
INSTANCE: "instance",
|
|
267
|
-
NETWORK_INTERFACE: "network-interface",
|
|
268
|
-
SPOT_INSTANCES_REQUEST: "spot-instances-request",
|
|
269
|
-
VOLUME: "volume",
|
|
270
|
-
};
|
|
271
226
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends WorkspacesInstancesServiceException$1 {
|
|
272
227
|
name = "ServiceQuotaExceededException";
|
|
273
228
|
$fault = "client";
|
|
@@ -290,60 +245,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
290
245
|
this.QuotaCode = opts.QuotaCode;
|
|
291
246
|
}
|
|
292
247
|
};
|
|
293
|
-
const MarketTypeEnum = {
|
|
294
|
-
CAPACITY_BLOCK: "capacity-block",
|
|
295
|
-
SPOT: "spot",
|
|
296
|
-
};
|
|
297
|
-
const InstanceInterruptionBehaviorEnum = {
|
|
298
|
-
HIBERNATE: "hibernate",
|
|
299
|
-
STOP: "stop",
|
|
300
|
-
};
|
|
301
|
-
const SpotInstanceTypeEnum = {
|
|
302
|
-
ONE_TIME: "one-time",
|
|
303
|
-
PERSISTENT: "persistent",
|
|
304
|
-
};
|
|
305
|
-
const HttpEndpointEnum = {
|
|
306
|
-
DISABLED: "disabled",
|
|
307
|
-
ENABLED: "enabled",
|
|
308
|
-
};
|
|
309
|
-
const HttpProtocolIpv6Enum = {
|
|
310
|
-
DISABLED: "disabled",
|
|
311
|
-
ENABLED: "enabled",
|
|
312
|
-
};
|
|
313
|
-
const HttpTokensEnum = {
|
|
314
|
-
OPTIONAL: "optional",
|
|
315
|
-
REQUIRED: "required",
|
|
316
|
-
};
|
|
317
|
-
const InstanceMetadataTagsEnum = {
|
|
318
|
-
DISABLED: "disabled",
|
|
319
|
-
ENABLED: "enabled",
|
|
320
|
-
};
|
|
321
|
-
const InterfaceTypeEnum = {
|
|
322
|
-
EFA: "efa",
|
|
323
|
-
EFA_ONLY: "efa-only",
|
|
324
|
-
INTERFACE: "interface",
|
|
325
|
-
};
|
|
326
|
-
const TenancyEnum = {
|
|
327
|
-
DEDICATED: "dedicated",
|
|
328
|
-
DEFAULT: "default",
|
|
329
|
-
HOST: "host",
|
|
330
|
-
};
|
|
331
|
-
const HostnameTypeEnum = {
|
|
332
|
-
IP_NAME: "ip-name",
|
|
333
|
-
RESOURCE_NAME: "resource-name",
|
|
334
|
-
};
|
|
335
|
-
const DisassociateModeEnum = {
|
|
336
|
-
FORCE: "FORCE",
|
|
337
|
-
NO_FORCE: "NO_FORCE",
|
|
338
|
-
};
|
|
339
|
-
const ProvisionStateEnum = {
|
|
340
|
-
ALLOCATED: "ALLOCATED",
|
|
341
|
-
ALLOCATING: "ALLOCATING",
|
|
342
|
-
DEALLOCATED: "DEALLOCATED",
|
|
343
|
-
DEALLOCATING: "DEALLOCATING",
|
|
344
|
-
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
345
|
-
ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
|
|
346
|
-
};
|
|
347
248
|
|
|
348
249
|
const _A = "Arn";
|
|
349
250
|
const _ACIA = "AssociateCarrierIpAddress";
|
|
@@ -1282,6 +1183,106 @@ const paginateListRegions = core.createPaginator(WorkspacesInstancesClient, List
|
|
|
1282
1183
|
|
|
1283
1184
|
const paginateListWorkspaceInstances = core.createPaginator(WorkspacesInstancesClient, ListWorkspaceInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1284
1185
|
|
|
1186
|
+
const AmdSevSnpEnum = {
|
|
1187
|
+
DISABLED: "disabled",
|
|
1188
|
+
ENABLED: "enabled",
|
|
1189
|
+
};
|
|
1190
|
+
const ValidationExceptionReason = {
|
|
1191
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
1192
|
+
DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE",
|
|
1193
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
1194
|
+
OTHER: "OTHER",
|
|
1195
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
1196
|
+
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
1197
|
+
};
|
|
1198
|
+
const AutoRecoveryEnum = {
|
|
1199
|
+
DEFAULT: "default",
|
|
1200
|
+
DISABLED: "disabled",
|
|
1201
|
+
};
|
|
1202
|
+
const BandwidthWeightingEnum = {
|
|
1203
|
+
DEFAULT: "default",
|
|
1204
|
+
EBS_1: "ebs-1",
|
|
1205
|
+
VPC_1: "vpc-1",
|
|
1206
|
+
};
|
|
1207
|
+
const VolumeTypeEnum = {
|
|
1208
|
+
GP2: "gp2",
|
|
1209
|
+
GP3: "gp3",
|
|
1210
|
+
IO1: "io1",
|
|
1211
|
+
IO2: "io2",
|
|
1212
|
+
SC1: "sc1",
|
|
1213
|
+
ST1: "st1",
|
|
1214
|
+
STANDARD: "standard",
|
|
1215
|
+
};
|
|
1216
|
+
const CapacityReservationPreferenceEnum = {
|
|
1217
|
+
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
1218
|
+
NONE: "none",
|
|
1219
|
+
OPEN: "open",
|
|
1220
|
+
};
|
|
1221
|
+
const CpuCreditsEnum = {
|
|
1222
|
+
STANDARD: "standard",
|
|
1223
|
+
UNLIMITED: "unlimited",
|
|
1224
|
+
};
|
|
1225
|
+
const ResourceTypeEnum = {
|
|
1226
|
+
INSTANCE: "instance",
|
|
1227
|
+
NETWORK_INTERFACE: "network-interface",
|
|
1228
|
+
SPOT_INSTANCES_REQUEST: "spot-instances-request",
|
|
1229
|
+
VOLUME: "volume",
|
|
1230
|
+
};
|
|
1231
|
+
const MarketTypeEnum = {
|
|
1232
|
+
CAPACITY_BLOCK: "capacity-block",
|
|
1233
|
+
SPOT: "spot",
|
|
1234
|
+
};
|
|
1235
|
+
const InstanceInterruptionBehaviorEnum = {
|
|
1236
|
+
HIBERNATE: "hibernate",
|
|
1237
|
+
STOP: "stop",
|
|
1238
|
+
};
|
|
1239
|
+
const SpotInstanceTypeEnum = {
|
|
1240
|
+
ONE_TIME: "one-time",
|
|
1241
|
+
PERSISTENT: "persistent",
|
|
1242
|
+
};
|
|
1243
|
+
const HttpEndpointEnum = {
|
|
1244
|
+
DISABLED: "disabled",
|
|
1245
|
+
ENABLED: "enabled",
|
|
1246
|
+
};
|
|
1247
|
+
const HttpProtocolIpv6Enum = {
|
|
1248
|
+
DISABLED: "disabled",
|
|
1249
|
+
ENABLED: "enabled",
|
|
1250
|
+
};
|
|
1251
|
+
const HttpTokensEnum = {
|
|
1252
|
+
OPTIONAL: "optional",
|
|
1253
|
+
REQUIRED: "required",
|
|
1254
|
+
};
|
|
1255
|
+
const InstanceMetadataTagsEnum = {
|
|
1256
|
+
DISABLED: "disabled",
|
|
1257
|
+
ENABLED: "enabled",
|
|
1258
|
+
};
|
|
1259
|
+
const InterfaceTypeEnum = {
|
|
1260
|
+
EFA: "efa",
|
|
1261
|
+
EFA_ONLY: "efa-only",
|
|
1262
|
+
INTERFACE: "interface",
|
|
1263
|
+
};
|
|
1264
|
+
const TenancyEnum = {
|
|
1265
|
+
DEDICATED: "dedicated",
|
|
1266
|
+
DEFAULT: "default",
|
|
1267
|
+
HOST: "host",
|
|
1268
|
+
};
|
|
1269
|
+
const HostnameTypeEnum = {
|
|
1270
|
+
IP_NAME: "ip-name",
|
|
1271
|
+
RESOURCE_NAME: "resource-name",
|
|
1272
|
+
};
|
|
1273
|
+
const DisassociateModeEnum = {
|
|
1274
|
+
FORCE: "FORCE",
|
|
1275
|
+
NO_FORCE: "NO_FORCE",
|
|
1276
|
+
};
|
|
1277
|
+
const ProvisionStateEnum = {
|
|
1278
|
+
ALLOCATED: "ALLOCATED",
|
|
1279
|
+
ALLOCATING: "ALLOCATING",
|
|
1280
|
+
DEALLOCATED: "DEALLOCATED",
|
|
1281
|
+
DEALLOCATING: "DEALLOCATING",
|
|
1282
|
+
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
1283
|
+
ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
|
|
1284
|
+
};
|
|
1285
|
+
|
|
1285
1286
|
Object.defineProperty(exports, "$Command", {
|
|
1286
1287
|
enumerable: true,
|
|
1287
1288
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./WorkspacesInstancesClient";
|
|
|
2
2
|
export * from "./WorkspacesInstances";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { WorkspacesInstancesServiceException } from "./models/WorkspacesInstancesServiceException";
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export const AmdSevSnpEnum = {
|
|
2
|
+
DISABLED: "disabled",
|
|
3
|
+
ENABLED: "enabled",
|
|
4
|
+
};
|
|
5
|
+
export const ValidationExceptionReason = {
|
|
6
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
7
|
+
DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE",
|
|
8
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
9
|
+
OTHER: "OTHER",
|
|
10
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
11
|
+
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
12
|
+
};
|
|
13
|
+
export const AutoRecoveryEnum = {
|
|
14
|
+
DEFAULT: "default",
|
|
15
|
+
DISABLED: "disabled",
|
|
16
|
+
};
|
|
17
|
+
export const BandwidthWeightingEnum = {
|
|
18
|
+
DEFAULT: "default",
|
|
19
|
+
EBS_1: "ebs-1",
|
|
20
|
+
VPC_1: "vpc-1",
|
|
21
|
+
};
|
|
22
|
+
export const VolumeTypeEnum = {
|
|
23
|
+
GP2: "gp2",
|
|
24
|
+
GP3: "gp3",
|
|
25
|
+
IO1: "io1",
|
|
26
|
+
IO2: "io2",
|
|
27
|
+
SC1: "sc1",
|
|
28
|
+
ST1: "st1",
|
|
29
|
+
STANDARD: "standard",
|
|
30
|
+
};
|
|
31
|
+
export const CapacityReservationPreferenceEnum = {
|
|
32
|
+
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
33
|
+
NONE: "none",
|
|
34
|
+
OPEN: "open",
|
|
35
|
+
};
|
|
36
|
+
export const CpuCreditsEnum = {
|
|
37
|
+
STANDARD: "standard",
|
|
38
|
+
UNLIMITED: "unlimited",
|
|
39
|
+
};
|
|
40
|
+
export const ResourceTypeEnum = {
|
|
41
|
+
INSTANCE: "instance",
|
|
42
|
+
NETWORK_INTERFACE: "network-interface",
|
|
43
|
+
SPOT_INSTANCES_REQUEST: "spot-instances-request",
|
|
44
|
+
VOLUME: "volume",
|
|
45
|
+
};
|
|
46
|
+
export const MarketTypeEnum = {
|
|
47
|
+
CAPACITY_BLOCK: "capacity-block",
|
|
48
|
+
SPOT: "spot",
|
|
49
|
+
};
|
|
50
|
+
export const InstanceInterruptionBehaviorEnum = {
|
|
51
|
+
HIBERNATE: "hibernate",
|
|
52
|
+
STOP: "stop",
|
|
53
|
+
};
|
|
54
|
+
export const SpotInstanceTypeEnum = {
|
|
55
|
+
ONE_TIME: "one-time",
|
|
56
|
+
PERSISTENT: "persistent",
|
|
57
|
+
};
|
|
58
|
+
export const HttpEndpointEnum = {
|
|
59
|
+
DISABLED: "disabled",
|
|
60
|
+
ENABLED: "enabled",
|
|
61
|
+
};
|
|
62
|
+
export const HttpProtocolIpv6Enum = {
|
|
63
|
+
DISABLED: "disabled",
|
|
64
|
+
ENABLED: "enabled",
|
|
65
|
+
};
|
|
66
|
+
export const HttpTokensEnum = {
|
|
67
|
+
OPTIONAL: "optional",
|
|
68
|
+
REQUIRED: "required",
|
|
69
|
+
};
|
|
70
|
+
export const InstanceMetadataTagsEnum = {
|
|
71
|
+
DISABLED: "disabled",
|
|
72
|
+
ENABLED: "enabled",
|
|
73
|
+
};
|
|
74
|
+
export const InterfaceTypeEnum = {
|
|
75
|
+
EFA: "efa",
|
|
76
|
+
EFA_ONLY: "efa-only",
|
|
77
|
+
INTERFACE: "interface",
|
|
78
|
+
};
|
|
79
|
+
export const TenancyEnum = {
|
|
80
|
+
DEDICATED: "dedicated",
|
|
81
|
+
DEFAULT: "default",
|
|
82
|
+
HOST: "host",
|
|
83
|
+
};
|
|
84
|
+
export const HostnameTypeEnum = {
|
|
85
|
+
IP_NAME: "ip-name",
|
|
86
|
+
RESOURCE_NAME: "resource-name",
|
|
87
|
+
};
|
|
88
|
+
export const DisassociateModeEnum = {
|
|
89
|
+
FORCE: "FORCE",
|
|
90
|
+
NO_FORCE: "NO_FORCE",
|
|
91
|
+
};
|
|
92
|
+
export const ProvisionStateEnum = {
|
|
93
|
+
ALLOCATED: "ALLOCATED",
|
|
94
|
+
ALLOCATING: "ALLOCATING",
|
|
95
|
+
DEALLOCATED: "DEALLOCATED",
|
|
96
|
+
DEALLOCATING: "DEALLOCATING",
|
|
97
|
+
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
98
|
+
ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
|
|
99
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { WorkspacesInstancesServiceException as __BaseException } from "./WorkspacesInstancesServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
ResourceId;
|
|
21
|
+
ResourceType;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "ConflictException",
|
|
25
|
+
$fault: "client",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
+
this.Message = opts.Message;
|
|
30
|
+
this.ResourceId = opts.ResourceId;
|
|
31
|
+
this.ResourceType = opts.ResourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class InternalServerException extends __BaseException {
|
|
35
|
+
name = "InternalServerException";
|
|
36
|
+
$fault = "server";
|
|
37
|
+
$retryable = {};
|
|
38
|
+
Message;
|
|
39
|
+
RetryAfterSeconds;
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "InternalServerException",
|
|
43
|
+
$fault: "server",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
52
|
+
name = "ResourceNotFoundException";
|
|
53
|
+
$fault = "client";
|
|
54
|
+
Message;
|
|
55
|
+
ResourceId;
|
|
56
|
+
ResourceType;
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ResourceNotFoundException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
64
|
+
this.Message = opts.Message;
|
|
65
|
+
this.ResourceId = opts.ResourceId;
|
|
66
|
+
this.ResourceType = opts.ResourceType;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
export class ThrottlingException extends __BaseException {
|
|
70
|
+
name = "ThrottlingException";
|
|
71
|
+
$fault = "client";
|
|
72
|
+
$retryable = {
|
|
73
|
+
throttling: true,
|
|
74
|
+
};
|
|
75
|
+
Message;
|
|
76
|
+
ServiceCode;
|
|
77
|
+
QuotaCode;
|
|
78
|
+
RetryAfterSeconds;
|
|
79
|
+
constructor(opts) {
|
|
80
|
+
super({
|
|
81
|
+
name: "ThrottlingException",
|
|
82
|
+
$fault: "client",
|
|
83
|
+
...opts,
|
|
84
|
+
});
|
|
85
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
86
|
+
this.Message = opts.Message;
|
|
87
|
+
this.ServiceCode = opts.ServiceCode;
|
|
88
|
+
this.QuotaCode = opts.QuotaCode;
|
|
89
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export class ValidationException extends __BaseException {
|
|
93
|
+
name = "ValidationException";
|
|
94
|
+
$fault = "client";
|
|
95
|
+
Message;
|
|
96
|
+
Reason;
|
|
97
|
+
FieldList;
|
|
98
|
+
constructor(opts) {
|
|
99
|
+
super({
|
|
100
|
+
name: "ValidationException",
|
|
101
|
+
$fault: "client",
|
|
102
|
+
...opts,
|
|
103
|
+
});
|
|
104
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
105
|
+
this.Message = opts.Message;
|
|
106
|
+
this.Reason = opts.Reason;
|
|
107
|
+
this.FieldList = opts.FieldList;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
111
|
+
name = "ServiceQuotaExceededException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
Message;
|
|
114
|
+
ResourceId;
|
|
115
|
+
ResourceType;
|
|
116
|
+
ServiceCode;
|
|
117
|
+
QuotaCode;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "ServiceQuotaExceededException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
125
|
+
this.Message = opts.Message;
|
|
126
|
+
this.ResourceId = opts.ResourceId;
|
|
127
|
+
this.ResourceType = opts.ResourceType;
|
|
128
|
+
this.ServiceCode = opts.ServiceCode;
|
|
129
|
+
this.QuotaCode = opts.QuotaCode;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -1,230 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const AmdSevSnpEnum = {
|
|
17
|
-
DISABLED: "disabled",
|
|
18
|
-
ENABLED: "enabled",
|
|
19
|
-
};
|
|
20
|
-
export class ConflictException extends __BaseException {
|
|
21
|
-
name = "ConflictException";
|
|
22
|
-
$fault = "client";
|
|
23
|
-
Message;
|
|
24
|
-
ResourceId;
|
|
25
|
-
ResourceType;
|
|
26
|
-
constructor(opts) {
|
|
27
|
-
super({
|
|
28
|
-
name: "ConflictException",
|
|
29
|
-
$fault: "client",
|
|
30
|
-
...opts,
|
|
31
|
-
});
|
|
32
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
33
|
-
this.Message = opts.Message;
|
|
34
|
-
this.ResourceId = opts.ResourceId;
|
|
35
|
-
this.ResourceType = opts.ResourceType;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class InternalServerException extends __BaseException {
|
|
39
|
-
name = "InternalServerException";
|
|
40
|
-
$fault = "server";
|
|
41
|
-
$retryable = {};
|
|
42
|
-
Message;
|
|
43
|
-
RetryAfterSeconds;
|
|
44
|
-
constructor(opts) {
|
|
45
|
-
super({
|
|
46
|
-
name: "InternalServerException",
|
|
47
|
-
$fault: "server",
|
|
48
|
-
...opts,
|
|
49
|
-
});
|
|
50
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
51
|
-
this.Message = opts.Message;
|
|
52
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
56
|
-
name = "ResourceNotFoundException";
|
|
57
|
-
$fault = "client";
|
|
58
|
-
Message;
|
|
59
|
-
ResourceId;
|
|
60
|
-
ResourceType;
|
|
61
|
-
constructor(opts) {
|
|
62
|
-
super({
|
|
63
|
-
name: "ResourceNotFoundException",
|
|
64
|
-
$fault: "client",
|
|
65
|
-
...opts,
|
|
66
|
-
});
|
|
67
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
68
|
-
this.Message = opts.Message;
|
|
69
|
-
this.ResourceId = opts.ResourceId;
|
|
70
|
-
this.ResourceType = opts.ResourceType;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
export class ThrottlingException extends __BaseException {
|
|
74
|
-
name = "ThrottlingException";
|
|
75
|
-
$fault = "client";
|
|
76
|
-
$retryable = {
|
|
77
|
-
throttling: true,
|
|
78
|
-
};
|
|
79
|
-
Message;
|
|
80
|
-
ServiceCode;
|
|
81
|
-
QuotaCode;
|
|
82
|
-
RetryAfterSeconds;
|
|
83
|
-
constructor(opts) {
|
|
84
|
-
super({
|
|
85
|
-
name: "ThrottlingException",
|
|
86
|
-
$fault: "client",
|
|
87
|
-
...opts,
|
|
88
|
-
});
|
|
89
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
90
|
-
this.Message = opts.Message;
|
|
91
|
-
this.ServiceCode = opts.ServiceCode;
|
|
92
|
-
this.QuotaCode = opts.QuotaCode;
|
|
93
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
export const ValidationExceptionReason = {
|
|
97
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
98
|
-
DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE",
|
|
99
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
100
|
-
OTHER: "OTHER",
|
|
101
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
102
|
-
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
103
|
-
};
|
|
104
|
-
export class ValidationException extends __BaseException {
|
|
105
|
-
name = "ValidationException";
|
|
106
|
-
$fault = "client";
|
|
107
|
-
Message;
|
|
108
|
-
Reason;
|
|
109
|
-
FieldList;
|
|
110
|
-
constructor(opts) {
|
|
111
|
-
super({
|
|
112
|
-
name: "ValidationException",
|
|
113
|
-
$fault: "client",
|
|
114
|
-
...opts,
|
|
115
|
-
});
|
|
116
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
117
|
-
this.Message = opts.Message;
|
|
118
|
-
this.Reason = opts.Reason;
|
|
119
|
-
this.FieldList = opts.FieldList;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
export const AutoRecoveryEnum = {
|
|
123
|
-
DEFAULT: "default",
|
|
124
|
-
DISABLED: "disabled",
|
|
125
|
-
};
|
|
126
|
-
export const BandwidthWeightingEnum = {
|
|
127
|
-
DEFAULT: "default",
|
|
128
|
-
EBS_1: "ebs-1",
|
|
129
|
-
VPC_1: "vpc-1",
|
|
130
|
-
};
|
|
131
|
-
export const VolumeTypeEnum = {
|
|
132
|
-
GP2: "gp2",
|
|
133
|
-
GP3: "gp3",
|
|
134
|
-
IO1: "io1",
|
|
135
|
-
IO2: "io2",
|
|
136
|
-
SC1: "sc1",
|
|
137
|
-
ST1: "st1",
|
|
138
|
-
STANDARD: "standard",
|
|
139
|
-
};
|
|
140
|
-
export const CapacityReservationPreferenceEnum = {
|
|
141
|
-
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
142
|
-
NONE: "none",
|
|
143
|
-
OPEN: "open",
|
|
144
|
-
};
|
|
145
|
-
export const CpuCreditsEnum = {
|
|
146
|
-
STANDARD: "standard",
|
|
147
|
-
UNLIMITED: "unlimited",
|
|
148
|
-
};
|
|
149
|
-
export const ResourceTypeEnum = {
|
|
150
|
-
INSTANCE: "instance",
|
|
151
|
-
NETWORK_INTERFACE: "network-interface",
|
|
152
|
-
SPOT_INSTANCES_REQUEST: "spot-instances-request",
|
|
153
|
-
VOLUME: "volume",
|
|
154
|
-
};
|
|
155
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
156
|
-
name = "ServiceQuotaExceededException";
|
|
157
|
-
$fault = "client";
|
|
158
|
-
Message;
|
|
159
|
-
ResourceId;
|
|
160
|
-
ResourceType;
|
|
161
|
-
ServiceCode;
|
|
162
|
-
QuotaCode;
|
|
163
|
-
constructor(opts) {
|
|
164
|
-
super({
|
|
165
|
-
name: "ServiceQuotaExceededException",
|
|
166
|
-
$fault: "client",
|
|
167
|
-
...opts,
|
|
168
|
-
});
|
|
169
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
170
|
-
this.Message = opts.Message;
|
|
171
|
-
this.ResourceId = opts.ResourceId;
|
|
172
|
-
this.ResourceType = opts.ResourceType;
|
|
173
|
-
this.ServiceCode = opts.ServiceCode;
|
|
174
|
-
this.QuotaCode = opts.QuotaCode;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
export const MarketTypeEnum = {
|
|
178
|
-
CAPACITY_BLOCK: "capacity-block",
|
|
179
|
-
SPOT: "spot",
|
|
180
|
-
};
|
|
181
|
-
export const InstanceInterruptionBehaviorEnum = {
|
|
182
|
-
HIBERNATE: "hibernate",
|
|
183
|
-
STOP: "stop",
|
|
184
|
-
};
|
|
185
|
-
export const SpotInstanceTypeEnum = {
|
|
186
|
-
ONE_TIME: "one-time",
|
|
187
|
-
PERSISTENT: "persistent",
|
|
188
|
-
};
|
|
189
|
-
export const HttpEndpointEnum = {
|
|
190
|
-
DISABLED: "disabled",
|
|
191
|
-
ENABLED: "enabled",
|
|
192
|
-
};
|
|
193
|
-
export const HttpProtocolIpv6Enum = {
|
|
194
|
-
DISABLED: "disabled",
|
|
195
|
-
ENABLED: "enabled",
|
|
196
|
-
};
|
|
197
|
-
export const HttpTokensEnum = {
|
|
198
|
-
OPTIONAL: "optional",
|
|
199
|
-
REQUIRED: "required",
|
|
200
|
-
};
|
|
201
|
-
export const InstanceMetadataTagsEnum = {
|
|
202
|
-
DISABLED: "disabled",
|
|
203
|
-
ENABLED: "enabled",
|
|
204
|
-
};
|
|
205
|
-
export const InterfaceTypeEnum = {
|
|
206
|
-
EFA: "efa",
|
|
207
|
-
EFA_ONLY: "efa-only",
|
|
208
|
-
INTERFACE: "interface",
|
|
209
|
-
};
|
|
210
|
-
export const TenancyEnum = {
|
|
211
|
-
DEDICATED: "dedicated",
|
|
212
|
-
DEFAULT: "default",
|
|
213
|
-
HOST: "host",
|
|
214
|
-
};
|
|
215
|
-
export const HostnameTypeEnum = {
|
|
216
|
-
IP_NAME: "ip-name",
|
|
217
|
-
RESOURCE_NAME: "resource-name",
|
|
218
|
-
};
|
|
219
|
-
export const DisassociateModeEnum = {
|
|
220
|
-
FORCE: "FORCE",
|
|
221
|
-
NO_FORCE: "NO_FORCE",
|
|
222
|
-
};
|
|
223
|
-
export const ProvisionStateEnum = {
|
|
224
|
-
ALLOCATED: "ALLOCATED",
|
|
225
|
-
ALLOCATING: "ALLOCATING",
|
|
226
|
-
DEALLOCATED: "DEALLOCATED",
|
|
227
|
-
DEALLOCATING: "DEALLOCATING",
|
|
228
|
-
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
229
|
-
ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
|
|
230
|
-
};
|
|
1
|
+
export {};
|
|
@@ -234,7 +234,7 @@ const _s = "server";
|
|
|
234
234
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.workspacesinstances";
|
|
235
235
|
const n0 = "com.amazonaws.workspacesinstances";
|
|
236
236
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
237
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
237
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
238
238
|
import { WorkspacesInstancesServiceException as __WorkspacesInstancesServiceException } from "../models/WorkspacesInstancesServiceException";
|
|
239
239
|
export var ClientToken = [0, n0, _CT, 8, 0];
|
|
240
240
|
export var Ipv4Address = [0, n0, _IA, 8, 0];
|