@aws-sdk/client-snow-device-management 3.987.0 → 3.989.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var SnowDeviceManagementServiceException = require('./models/SnowDeviceManagementServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,556 +113,6 @@ class SnowDeviceManagementClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class SnowDeviceManagementServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, SnowDeviceManagementServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends SnowDeviceManagementServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class InternalServerException extends SnowDeviceManagementServiceException {
133
- name = "InternalServerException";
134
- $fault = "server";
135
- $retryable = {};
136
- constructor(opts) {
137
- super({
138
- name: "InternalServerException",
139
- $fault: "server",
140
- ...opts,
141
- });
142
- Object.setPrototypeOf(this, InternalServerException.prototype);
143
- }
144
- }
145
- class ResourceNotFoundException extends SnowDeviceManagementServiceException {
146
- name = "ResourceNotFoundException";
147
- $fault = "client";
148
- constructor(opts) {
149
- super({
150
- name: "ResourceNotFoundException",
151
- $fault: "client",
152
- ...opts,
153
- });
154
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
155
- }
156
- }
157
- class ThrottlingException extends SnowDeviceManagementServiceException {
158
- name = "ThrottlingException";
159
- $fault = "client";
160
- $retryable = {
161
- throttling: true,
162
- };
163
- constructor(opts) {
164
- super({
165
- name: "ThrottlingException",
166
- $fault: "client",
167
- ...opts,
168
- });
169
- Object.setPrototypeOf(this, ThrottlingException.prototype);
170
- }
171
- }
172
- class ValidationException extends SnowDeviceManagementServiceException {
173
- name = "ValidationException";
174
- $fault = "client";
175
- constructor(opts) {
176
- super({
177
- name: "ValidationException",
178
- $fault: "client",
179
- ...opts,
180
- });
181
- Object.setPrototypeOf(this, ValidationException.prototype);
182
- }
183
- }
184
- class ServiceQuotaExceededException extends SnowDeviceManagementServiceException {
185
- name = "ServiceQuotaExceededException";
186
- $fault = "client";
187
- constructor(opts) {
188
- super({
189
- name: "ServiceQuotaExceededException",
190
- $fault: "client",
191
- ...opts,
192
- });
193
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
194
- }
195
- }
196
-
197
- const _ADE = "AccessDeniedException";
198
- const _C = "Capacity";
199
- const _CL = "CapacityList";
200
- const _CO = "CpuOptions";
201
- const _CT = "CancelTask";
202
- const _CTI = "CancelTaskInput";
203
- const _CTIr = "CreateTaskInput";
204
- const _CTO = "CancelTaskOutput";
205
- const _CTOr = "CreateTaskOutput";
206
- const _CTr = "CreateTask";
207
- const _Co = "Command";
208
- const _DD = "DescribeDevice";
209
- const _DDEI = "DescribeDeviceEc2Input";
210
- const _DDEIe = "DescribeDeviceEc2Instances";
211
- const _DDEO = "DescribeDeviceEc2Output";
212
- const _DDI = "DescribeDeviceInput";
213
- const _DDO = "DescribeDeviceOutput";
214
- const _DE = "DescribeExecution";
215
- const _DEI = "DescribeExecutionInput";
216
- const _DEO = "DescribeExecutionOutput";
217
- const _DS = "DeviceSummary";
218
- const _DSL = "DeviceSummaryList";
219
- const _DT = "DescribeTask";
220
- const _DTI = "DescribeTaskInput";
221
- const _DTO = "DescribeTaskOutput";
222
- const _EIBD = "EbsInstanceBlockDevice";
223
- const _ES = "ExecutionSummary";
224
- const _ESL = "ExecutionSummaryList";
225
- const _I = "Instance";
226
- const _IBDM = "InstanceBlockDeviceMapping";
227
- const _IBDML = "InstanceBlockDeviceMappingList";
228
- const _IS = "InstanceState";
229
- const _ISE = "InternalServerException";
230
- const _ISL = "InstanceSummaryList";
231
- const _ISn = "InstanceSummary";
232
- const _LD = "ListDevices";
233
- const _LDI = "ListDevicesInput";
234
- const _LDO = "ListDevicesOutput";
235
- const _LDR = "ListDeviceResources";
236
- const _LDRI = "ListDeviceResourcesInput";
237
- const _LDRO = "ListDeviceResourcesOutput";
238
- const _LE = "ListExecutions";
239
- const _LEI = "ListExecutionsInput";
240
- const _LEO = "ListExecutionsOutput";
241
- const _LT = "ListTasks";
242
- const _LTFR = "ListTagsForResource";
243
- const _LTFRI = "ListTagsForResourceInput";
244
- const _LTFRO = "ListTagsForResourceOutput";
245
- const _LTI = "ListTasksInput";
246
- const _LTO = "ListTasksOutput";
247
- const _PNI = "PhysicalNetworkInterface";
248
- const _PNIL = "PhysicalNetworkInterfaceList";
249
- const _R = "Reboot";
250
- const _RNFE = "ResourceNotFoundException";
251
- const _RS = "ResourceSummary";
252
- const _RSL = "ResourceSummaryList";
253
- const _SGI = "SecurityGroupIdentifier";
254
- const _SGIL = "SecurityGroupIdentifierList";
255
- const _SI = "SoftwareInformation";
256
- const _SQEE = "ServiceQuotaExceededException";
257
- const _TE = "ThrottlingException";
258
- const _TR = "TagResource";
259
- const _TRI = "TagResourceInput";
260
- const _TS = "TaskSummary";
261
- const _TSL = "TaskSummaryList";
262
- const _U = "Unlock";
263
- const _UR = "UntagResource";
264
- const _URI = "UntagResourceInput";
265
- const _VE = "ValidationException";
266
- const _a = "available";
267
- const _aLI = "amiLaunchIndex";
268
- const _aT = "attachTime";
269
- const _aWJ = "associatedWithJob";
270
- const _ar = "arn";
271
- const _bDM = "blockDeviceMappings";
272
- const _c = "client";
273
- const _cA = "createdAt";
274
- const _cAo = "completedAt";
275
- const _cC = "coreCount";
276
- const _cO = "cpuOptions";
277
- const _cT = "clientToken";
278
- const _co = "command";
279
- const _cod = "code";
280
- const _d = "description";
281
- const _dC = "deviceCapacities";
282
- const _dG = "defaultGateway";
283
- const _dN = "deviceName";
284
- const _dOT = "deleteOnTermination";
285
- const _dS = "deviceState";
286
- const _dT = "deviceType";
287
- const _de = "devices";
288
- const _e = "error";
289
- const _eI = "executionId";
290
- const _eb = "ebs";
291
- const _ex = "executions";
292
- const _gI = "groupId";
293
- const _gN = "groupName";
294
- const _h = "http";
295
- const _hE = "httpError";
296
- const _hQ = "httpQuery";
297
- const _i = "instances";
298
- const _iA = "ipAddress";
299
- const _iAA = "ipAddressAssignment";
300
- const _iI = "instanceIds";
301
- const _iIm = "imageId";
302
- const _iIn = "instanceId";
303
- const _iS = "installState";
304
- const _iT = "instanceType";
305
- const _iV = "installedVersion";
306
- const _iVn = "installingVersion";
307
- const _id = "id";
308
- const _in = "instance";
309
- const _jI = "jobId";
310
- const _lROA = "lastReachedOutAt";
311
- const _lUA = "lastUpdatedAt";
312
- const _m = "message";
313
- const _mA = "macAddress";
314
- const _mDA = "managedDeviceArn";
315
- const _mDI = "managedDeviceId";
316
- const _mR = "maxResults";
317
- const _n = "name";
318
- const _nT = "nextToken";
319
- const _ne = "netmask";
320
- const _pCT = "physicalConnectorType";
321
- const _pIA = "privateIpAddress";
322
- const _pIAu = "publicIpAddress";
323
- const _pNI = "physicalNetworkInterfaces";
324
- const _pNII = "physicalNetworkInterfaceId";
325
- const _r = "resources";
326
- const _rA = "resourceArn";
327
- const _rDN = "rootDeviceName";
328
- const _rT = "resourceType";
329
- const _re = "reboot";
330
- const _s = "software";
331
- const _sA = "startedAt";
332
- const _sG = "securityGroups";
333
- const _se = "server";
334
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.snowdevicemanagement";
335
- const _st = "state";
336
- const _sta = "status";
337
- const _t = "total";
338
- const _tA = "taskArn";
339
- const _tI = "taskId";
340
- const _tK = "tagKeys";
341
- const _tPC = "threadsPerCore";
342
- const _ta = "targets";
343
- const _tag = "tags";
344
- const _tas = "tasks";
345
- const _ty = "type";
346
- const _u = "unit";
347
- const _uA = "updatedAt";
348
- const _un = "unlock";
349
- const _us = "used";
350
- const _vI = "volumeId";
351
- const n0 = "com.amazonaws.snowdevicemanagement";
352
- var AccessDeniedException$ = [-3, n0, _ADE,
353
- { [_e]: _c, [_hE]: 403 },
354
- [_m],
355
- [0], 1
356
- ];
357
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
358
- var CancelTaskInput$ = [3, n0, _CTI,
359
- 0,
360
- [_tI],
361
- [[0, 1]], 1
362
- ];
363
- var CancelTaskOutput$ = [3, n0, _CTO,
364
- 0,
365
- [_tI],
366
- [0]
367
- ];
368
- var Capacity$ = [3, n0, _C,
369
- 0,
370
- [_n, _u, _t, _us, _a],
371
- [0, 0, 1, 1, 1]
372
- ];
373
- var CpuOptions$ = [3, n0, _CO,
374
- 0,
375
- [_cC, _tPC],
376
- [1, 1]
377
- ];
378
- var CreateTaskInput$ = [3, n0, _CTIr,
379
- 0,
380
- [_ta, _co, _d, _tag, _cT],
381
- [64 | 0, () => Command$, 0, 128 | 0, [0, 4]], 2
382
- ];
383
- var CreateTaskOutput$ = [3, n0, _CTOr,
384
- 0,
385
- [_tI, _tA],
386
- [0, 0]
387
- ];
388
- var DescribeDeviceEc2Input$ = [3, n0, _DDEI,
389
- 0,
390
- [_mDI, _iI],
391
- [[0, 1], 64 | 0], 2
392
- ];
393
- var DescribeDeviceEc2Output$ = [3, n0, _DDEO,
394
- 0,
395
- [_i],
396
- [() => InstanceSummaryList]
397
- ];
398
- var DescribeDeviceInput$ = [3, n0, _DDI,
399
- 0,
400
- [_mDI],
401
- [[0, 1]], 1
402
- ];
403
- var DescribeDeviceOutput$ = [3, n0, _DDO,
404
- 0,
405
- [_lROA, _lUA, _tag, _mDI, _mDA, _dT, _aWJ, _dS, _pNI, _dC, _s],
406
- [4, 4, 128 | 0, 0, 0, 0, 0, 0, () => PhysicalNetworkInterfaceList, () => CapacityList, () => SoftwareInformation$]
407
- ];
408
- var DescribeExecutionInput$ = [3, n0, _DEI,
409
- 0,
410
- [_tI, _mDI],
411
- [[0, 1], [0, 1]], 2
412
- ];
413
- var DescribeExecutionOutput$ = [3, n0, _DEO,
414
- 0,
415
- [_tI, _eI, _mDI, _st, _sA, _lUA],
416
- [0, 0, 0, 0, 4, 4]
417
- ];
418
- var DescribeTaskInput$ = [3, n0, _DTI,
419
- 0,
420
- [_tI],
421
- [[0, 1]], 1
422
- ];
423
- var DescribeTaskOutput$ = [3, n0, _DTO,
424
- 0,
425
- [_tI, _tA, _ta, _st, _cA, _lUA, _cAo, _d, _tag],
426
- [0, 0, 64 | 0, 0, 4, 4, 4, 0, 128 | 0]
427
- ];
428
- var DeviceSummary$ = [3, n0, _DS,
429
- 0,
430
- [_mDI, _mDA, _aWJ, _tag],
431
- [0, 0, 0, 128 | 0]
432
- ];
433
- var EbsInstanceBlockDevice$ = [3, n0, _EIBD,
434
- 0,
435
- [_aT, _dOT, _sta, _vI],
436
- [4, 2, 0, 0]
437
- ];
438
- var ExecutionSummary$ = [3, n0, _ES,
439
- 0,
440
- [_tI, _eI, _mDI, _st],
441
- [0, 0, 0, 0]
442
- ];
443
- var Instance$ = [3, n0, _I,
444
- 0,
445
- [_iIm, _aLI, _iIn, _st, _iT, _pIA, _pIAu, _cA, _uA, _bDM, _sG, _cO, _rDN],
446
- [0, 1, 0, () => InstanceState$, 0, 0, 0, 4, 4, () => InstanceBlockDeviceMappingList, () => SecurityGroupIdentifierList, () => CpuOptions$, 0]
447
- ];
448
- var InstanceBlockDeviceMapping$ = [3, n0, _IBDM,
449
- 0,
450
- [_dN, _eb],
451
- [0, () => EbsInstanceBlockDevice$]
452
- ];
453
- var InstanceState$ = [3, n0, _IS,
454
- 0,
455
- [_cod, _n],
456
- [1, 0]
457
- ];
458
- var InstanceSummary$ = [3, n0, _ISn,
459
- 0,
460
- [_in, _lUA],
461
- [() => Instance$, 4]
462
- ];
463
- var InternalServerException$ = [-3, n0, _ISE,
464
- { [_e]: _se, [_hE]: 500 },
465
- [_m],
466
- [0], 1
467
- ];
468
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
469
- var ListDeviceResourcesInput$ = [3, n0, _LDRI,
470
- 0,
471
- [_mDI, _ty, _mR, _nT],
472
- [[0, 1], [0, { [_hQ]: _ty }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
473
- ];
474
- var ListDeviceResourcesOutput$ = [3, n0, _LDRO,
475
- 0,
476
- [_r, _nT],
477
- [() => ResourceSummaryList, 0]
478
- ];
479
- var ListDevicesInput$ = [3, n0, _LDI,
480
- 0,
481
- [_jI, _mR, _nT],
482
- [[0, { [_hQ]: _jI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
483
- ];
484
- var ListDevicesOutput$ = [3, n0, _LDO,
485
- 0,
486
- [_de, _nT],
487
- [() => DeviceSummaryList, 0]
488
- ];
489
- var ListExecutionsInput$ = [3, n0, _LEI,
490
- 0,
491
- [_tI, _st, _mR, _nT],
492
- [[0, { [_hQ]: _tI }], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
493
- ];
494
- var ListExecutionsOutput$ = [3, n0, _LEO,
495
- 0,
496
- [_ex, _nT],
497
- [() => ExecutionSummaryList, 0]
498
- ];
499
- var ListTagsForResourceInput$ = [3, n0, _LTFRI,
500
- 0,
501
- [_rA],
502
- [[0, 1]], 1
503
- ];
504
- var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
505
- 0,
506
- [_tag],
507
- [128 | 0]
508
- ];
509
- var ListTasksInput$ = [3, n0, _LTI,
510
- 0,
511
- [_st, _mR, _nT],
512
- [[0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
513
- ];
514
- var ListTasksOutput$ = [3, n0, _LTO,
515
- 0,
516
- [_tas, _nT],
517
- [() => TaskSummaryList, 0]
518
- ];
519
- var PhysicalNetworkInterface$ = [3, n0, _PNI,
520
- 0,
521
- [_pNII, _pCT, _iAA, _iA, _ne, _dG, _mA],
522
- [0, 0, 0, 0, 0, 0, 0]
523
- ];
524
- var Reboot$ = [3, n0, _R,
525
- 0,
526
- [],
527
- []
528
- ];
529
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
530
- { [_e]: _c, [_hE]: 404 },
531
- [_m],
532
- [0], 1
533
- ];
534
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
535
- var ResourceSummary$ = [3, n0, _RS,
536
- 0,
537
- [_rT, _ar, _id],
538
- [0, 0, 0], 1
539
- ];
540
- var SecurityGroupIdentifier$ = [3, n0, _SGI,
541
- 0,
542
- [_gI, _gN],
543
- [0, 0]
544
- ];
545
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
546
- { [_e]: _c, [_hE]: 402 },
547
- [_m],
548
- [0], 1
549
- ];
550
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
551
- var SoftwareInformation$ = [3, n0, _SI,
552
- 0,
553
- [_iV, _iVn, _iS],
554
- [0, 0, 0]
555
- ];
556
- var TagResourceInput$ = [3, n0, _TRI,
557
- 0,
558
- [_rA, _tag],
559
- [[0, 1], 128 | 0], 2
560
- ];
561
- var TaskSummary$ = [3, n0, _TS,
562
- 0,
563
- [_tI, _tA, _st, _tag],
564
- [0, 0, 0, 128 | 0], 1
565
- ];
566
- var ThrottlingException$ = [-3, n0, _TE,
567
- { [_e]: _c, [_hE]: 429 },
568
- [_m],
569
- [0], 1
570
- ];
571
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
572
- var Unlock$ = [3, n0, _U,
573
- 0,
574
- [],
575
- []
576
- ];
577
- var UntagResourceInput$ = [3, n0, _URI,
578
- 0,
579
- [_rA, _tK],
580
- [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
581
- ];
582
- var ValidationException$ = [-3, n0, _VE,
583
- { [_e]: _c, [_hE]: 400 },
584
- [_m],
585
- [0], 1
586
- ];
587
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
588
- var __Unit = "unit";
589
- var SnowDeviceManagementServiceException$ = [-3, _sm, "SnowDeviceManagementServiceException", 0, [], []];
590
- schema.TypeRegistry.for(_sm).registerError(SnowDeviceManagementServiceException$, SnowDeviceManagementServiceException);
591
- var CapacityList = [1, n0, _CL,
592
- 0, () => Capacity$
593
- ];
594
- var DeviceSummaryList = [1, n0, _DSL,
595
- 0, () => DeviceSummary$
596
- ];
597
- var ExecutionSummaryList = [1, n0, _ESL,
598
- 0, () => ExecutionSummary$
599
- ];
600
- var InstanceBlockDeviceMappingList = [1, n0, _IBDML,
601
- 0, () => InstanceBlockDeviceMapping$
602
- ];
603
- var InstanceSummaryList = [1, n0, _ISL,
604
- 0, () => InstanceSummary$
605
- ];
606
- var PhysicalNetworkInterfaceList = [1, n0, _PNIL,
607
- 0, () => PhysicalNetworkInterface$
608
- ];
609
- var ResourceSummaryList = [1, n0, _RSL,
610
- 0, () => ResourceSummary$
611
- ];
612
- var SecurityGroupIdentifierList = [1, n0, _SGIL,
613
- 0, () => SecurityGroupIdentifier$
614
- ];
615
- var TaskSummaryList = [1, n0, _TSL,
616
- 0, () => TaskSummary$
617
- ];
618
- var Command$ = [4, n0, _Co,
619
- 0,
620
- [_un, _re],
621
- [() => Unlock$, () => Reboot$]
622
- ];
623
- var CancelTask$ = [9, n0, _CT,
624
- { [_h]: ["POST", "/task/{taskId}/cancel", 200] }, () => CancelTaskInput$, () => CancelTaskOutput$
625
- ];
626
- var CreateTask$ = [9, n0, _CTr,
627
- { [_h]: ["POST", "/task", 200] }, () => CreateTaskInput$, () => CreateTaskOutput$
628
- ];
629
- var DescribeDevice$ = [9, n0, _DD,
630
- { [_h]: ["POST", "/managed-device/{managedDeviceId}/describe", 200] }, () => DescribeDeviceInput$, () => DescribeDeviceOutput$
631
- ];
632
- var DescribeDeviceEc2Instances$ = [9, n0, _DDEIe,
633
- { [_h]: ["POST", "/managed-device/{managedDeviceId}/resources/ec2/describe", 200] }, () => DescribeDeviceEc2Input$, () => DescribeDeviceEc2Output$
634
- ];
635
- var DescribeExecution$ = [9, n0, _DE,
636
- { [_h]: ["POST", "/task/{taskId}/execution/{managedDeviceId}", 200] }, () => DescribeExecutionInput$, () => DescribeExecutionOutput$
637
- ];
638
- var DescribeTask$ = [9, n0, _DT,
639
- { [_h]: ["POST", "/task/{taskId}", 200] }, () => DescribeTaskInput$, () => DescribeTaskOutput$
640
- ];
641
- var ListDeviceResources$ = [9, n0, _LDR,
642
- { [_h]: ["GET", "/managed-device/{managedDeviceId}/resources", 200] }, () => ListDeviceResourcesInput$, () => ListDeviceResourcesOutput$
643
- ];
644
- var ListDevices$ = [9, n0, _LD,
645
- { [_h]: ["GET", "/managed-devices", 200] }, () => ListDevicesInput$, () => ListDevicesOutput$
646
- ];
647
- var ListExecutions$ = [9, n0, _LE,
648
- { [_h]: ["GET", "/executions", 200] }, () => ListExecutionsInput$, () => ListExecutionsOutput$
649
- ];
650
- var ListTagsForResource$ = [9, n0, _LTFR,
651
- { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
652
- ];
653
- var ListTasks$ = [9, n0, _LT,
654
- { [_h]: ["GET", "/tasks", 200] }, () => ListTasksInput$, () => ListTasksOutput$
655
- ];
656
- var TagResource$ = [9, n0, _TR,
657
- { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => __Unit
658
- ];
659
- var UntagResource$ = [9, n0, _UR,
660
- { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => __Unit
661
- ];
662
-
663
116
  class CancelTaskCommand extends smithyClient.Command
664
117
  .classBuilder()
665
118
  .ep(commonParams)
@@ -668,7 +121,7 @@ class CancelTaskCommand extends smithyClient.Command
668
121
  })
669
122
  .s("SnowDeviceManagement", "CancelTask", {})
670
123
  .n("SnowDeviceManagementClient", "CancelTaskCommand")
671
- .sc(CancelTask$)
124
+ .sc(schemas_0.CancelTask$)
672
125
  .build() {
673
126
  }
674
127
 
@@ -680,7 +133,7 @@ class CreateTaskCommand extends smithyClient.Command
680
133
  })
681
134
  .s("SnowDeviceManagement", "CreateTask", {})
682
135
  .n("SnowDeviceManagementClient", "CreateTaskCommand")
683
- .sc(CreateTask$)
136
+ .sc(schemas_0.CreateTask$)
684
137
  .build() {
685
138
  }
686
139
 
@@ -692,7 +145,7 @@ class DescribeDeviceCommand extends smithyClient.Command
692
145
  })
693
146
  .s("SnowDeviceManagement", "DescribeDevice", {})
694
147
  .n("SnowDeviceManagementClient", "DescribeDeviceCommand")
695
- .sc(DescribeDevice$)
148
+ .sc(schemas_0.DescribeDevice$)
696
149
  .build() {
697
150
  }
698
151
 
@@ -704,7 +157,7 @@ class DescribeDeviceEc2InstancesCommand extends smithyClient.Command
704
157
  })
705
158
  .s("SnowDeviceManagement", "DescribeDeviceEc2Instances", {})
706
159
  .n("SnowDeviceManagementClient", "DescribeDeviceEc2InstancesCommand")
707
- .sc(DescribeDeviceEc2Instances$)
160
+ .sc(schemas_0.DescribeDeviceEc2Instances$)
708
161
  .build() {
709
162
  }
710
163
 
@@ -716,7 +169,7 @@ class DescribeExecutionCommand extends smithyClient.Command
716
169
  })
717
170
  .s("SnowDeviceManagement", "DescribeExecution", {})
718
171
  .n("SnowDeviceManagementClient", "DescribeExecutionCommand")
719
- .sc(DescribeExecution$)
172
+ .sc(schemas_0.DescribeExecution$)
720
173
  .build() {
721
174
  }
722
175
 
@@ -728,7 +181,7 @@ class DescribeTaskCommand extends smithyClient.Command
728
181
  })
729
182
  .s("SnowDeviceManagement", "DescribeTask", {})
730
183
  .n("SnowDeviceManagementClient", "DescribeTaskCommand")
731
- .sc(DescribeTask$)
184
+ .sc(schemas_0.DescribeTask$)
732
185
  .build() {
733
186
  }
734
187
 
@@ -740,7 +193,7 @@ class ListDeviceResourcesCommand extends smithyClient.Command
740
193
  })
741
194
  .s("SnowDeviceManagement", "ListDeviceResources", {})
742
195
  .n("SnowDeviceManagementClient", "ListDeviceResourcesCommand")
743
- .sc(ListDeviceResources$)
196
+ .sc(schemas_0.ListDeviceResources$)
744
197
  .build() {
745
198
  }
746
199
 
@@ -752,7 +205,7 @@ class ListDevicesCommand extends smithyClient.Command
752
205
  })
753
206
  .s("SnowDeviceManagement", "ListDevices", {})
754
207
  .n("SnowDeviceManagementClient", "ListDevicesCommand")
755
- .sc(ListDevices$)
208
+ .sc(schemas_0.ListDevices$)
756
209
  .build() {
757
210
  }
758
211
 
@@ -764,7 +217,7 @@ class ListExecutionsCommand extends smithyClient.Command
764
217
  })
765
218
  .s("SnowDeviceManagement", "ListExecutions", {})
766
219
  .n("SnowDeviceManagementClient", "ListExecutionsCommand")
767
- .sc(ListExecutions$)
220
+ .sc(schemas_0.ListExecutions$)
768
221
  .build() {
769
222
  }
770
223
 
@@ -776,7 +229,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
776
229
  })
777
230
  .s("SnowDeviceManagement", "ListTagsForResource", {})
778
231
  .n("SnowDeviceManagementClient", "ListTagsForResourceCommand")
779
- .sc(ListTagsForResource$)
232
+ .sc(schemas_0.ListTagsForResource$)
780
233
  .build() {
781
234
  }
782
235
 
@@ -788,7 +241,7 @@ class ListTasksCommand extends smithyClient.Command
788
241
  })
789
242
  .s("SnowDeviceManagement", "ListTasks", {})
790
243
  .n("SnowDeviceManagementClient", "ListTasksCommand")
791
- .sc(ListTasks$)
244
+ .sc(schemas_0.ListTasks$)
792
245
  .build() {
793
246
  }
794
247
 
@@ -800,7 +253,7 @@ class TagResourceCommand extends smithyClient.Command
800
253
  })
801
254
  .s("SnowDeviceManagement", "TagResource", {})
802
255
  .n("SnowDeviceManagementClient", "TagResourceCommand")
803
- .sc(TagResource$)
256
+ .sc(schemas_0.TagResource$)
804
257
  .build() {
805
258
  }
806
259
 
@@ -812,7 +265,7 @@ class UntagResourceCommand extends smithyClient.Command
812
265
  })
813
266
  .s("SnowDeviceManagement", "UntagResource", {})
814
267
  .n("SnowDeviceManagementClient", "UntagResourceCommand")
815
- .sc(UntagResource$)
268
+ .sc(schemas_0.UntagResource$)
816
269
  .build() {
817
270
  }
818
271
 
@@ -902,97 +355,45 @@ Object.defineProperty(exports, "__Client", {
902
355
  enumerable: true,
903
356
  get: function () { return smithyClient.Client; }
904
357
  });
905
- exports.AccessDeniedException = AccessDeniedException;
906
- exports.AccessDeniedException$ = AccessDeniedException$;
358
+ Object.defineProperty(exports, "SnowDeviceManagementServiceException", {
359
+ enumerable: true,
360
+ get: function () { return SnowDeviceManagementServiceException.SnowDeviceManagementServiceException; }
361
+ });
907
362
  exports.AttachmentStatus = AttachmentStatus;
908
- exports.CancelTask$ = CancelTask$;
909
363
  exports.CancelTaskCommand = CancelTaskCommand;
910
- exports.CancelTaskInput$ = CancelTaskInput$;
911
- exports.CancelTaskOutput$ = CancelTaskOutput$;
912
- exports.Capacity$ = Capacity$;
913
- exports.Command$ = Command$;
914
- exports.CpuOptions$ = CpuOptions$;
915
- exports.CreateTask$ = CreateTask$;
916
364
  exports.CreateTaskCommand = CreateTaskCommand;
917
- exports.CreateTaskInput$ = CreateTaskInput$;
918
- exports.CreateTaskOutput$ = CreateTaskOutput$;
919
- exports.DescribeDevice$ = DescribeDevice$;
920
365
  exports.DescribeDeviceCommand = DescribeDeviceCommand;
921
- exports.DescribeDeviceEc2Input$ = DescribeDeviceEc2Input$;
922
- exports.DescribeDeviceEc2Instances$ = DescribeDeviceEc2Instances$;
923
366
  exports.DescribeDeviceEc2InstancesCommand = DescribeDeviceEc2InstancesCommand;
924
- exports.DescribeDeviceEc2Output$ = DescribeDeviceEc2Output$;
925
- exports.DescribeDeviceInput$ = DescribeDeviceInput$;
926
- exports.DescribeDeviceOutput$ = DescribeDeviceOutput$;
927
- exports.DescribeExecution$ = DescribeExecution$;
928
367
  exports.DescribeExecutionCommand = DescribeExecutionCommand;
929
- exports.DescribeExecutionInput$ = DescribeExecutionInput$;
930
- exports.DescribeExecutionOutput$ = DescribeExecutionOutput$;
931
- exports.DescribeTask$ = DescribeTask$;
932
368
  exports.DescribeTaskCommand = DescribeTaskCommand;
933
- exports.DescribeTaskInput$ = DescribeTaskInput$;
934
- exports.DescribeTaskOutput$ = DescribeTaskOutput$;
935
- exports.DeviceSummary$ = DeviceSummary$;
936
- exports.EbsInstanceBlockDevice$ = EbsInstanceBlockDevice$;
937
369
  exports.ExecutionState = ExecutionState;
938
- exports.ExecutionSummary$ = ExecutionSummary$;
939
- exports.Instance$ = Instance$;
940
- exports.InstanceBlockDeviceMapping$ = InstanceBlockDeviceMapping$;
941
- exports.InstanceState$ = InstanceState$;
942
370
  exports.InstanceStateName = InstanceStateName;
943
- exports.InstanceSummary$ = InstanceSummary$;
944
- exports.InternalServerException = InternalServerException;
945
- exports.InternalServerException$ = InternalServerException$;
946
371
  exports.IpAddressAssignment = IpAddressAssignment;
947
- exports.ListDeviceResources$ = ListDeviceResources$;
948
372
  exports.ListDeviceResourcesCommand = ListDeviceResourcesCommand;
949
- exports.ListDeviceResourcesInput$ = ListDeviceResourcesInput$;
950
- exports.ListDeviceResourcesOutput$ = ListDeviceResourcesOutput$;
951
- exports.ListDevices$ = ListDevices$;
952
373
  exports.ListDevicesCommand = ListDevicesCommand;
953
- exports.ListDevicesInput$ = ListDevicesInput$;
954
- exports.ListDevicesOutput$ = ListDevicesOutput$;
955
- exports.ListExecutions$ = ListExecutions$;
956
374
  exports.ListExecutionsCommand = ListExecutionsCommand;
957
- exports.ListExecutionsInput$ = ListExecutionsInput$;
958
- exports.ListExecutionsOutput$ = ListExecutionsOutput$;
959
- exports.ListTagsForResource$ = ListTagsForResource$;
960
375
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
961
- exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
962
- exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
963
- exports.ListTasks$ = ListTasks$;
964
376
  exports.ListTasksCommand = ListTasksCommand;
965
- exports.ListTasksInput$ = ListTasksInput$;
966
- exports.ListTasksOutput$ = ListTasksOutput$;
967
377
  exports.PhysicalConnectorType = PhysicalConnectorType;
968
- exports.PhysicalNetworkInterface$ = PhysicalNetworkInterface$;
969
- exports.Reboot$ = Reboot$;
970
- exports.ResourceNotFoundException = ResourceNotFoundException;
971
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
972
- exports.ResourceSummary$ = ResourceSummary$;
973
- exports.SecurityGroupIdentifier$ = SecurityGroupIdentifier$;
974
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
975
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
976
378
  exports.SnowDeviceManagement = SnowDeviceManagement;
977
379
  exports.SnowDeviceManagementClient = SnowDeviceManagementClient;
978
- exports.SnowDeviceManagementServiceException = SnowDeviceManagementServiceException;
979
- exports.SnowDeviceManagementServiceException$ = SnowDeviceManagementServiceException$;
980
- exports.SoftwareInformation$ = SoftwareInformation$;
981
- exports.TagResource$ = TagResource$;
982
380
  exports.TagResourceCommand = TagResourceCommand;
983
- exports.TagResourceInput$ = TagResourceInput$;
984
381
  exports.TaskState = TaskState;
985
- exports.TaskSummary$ = TaskSummary$;
986
- exports.ThrottlingException = ThrottlingException;
987
- exports.ThrottlingException$ = ThrottlingException$;
988
- exports.Unlock$ = Unlock$;
989
382
  exports.UnlockState = UnlockState;
990
- exports.UntagResource$ = UntagResource$;
991
383
  exports.UntagResourceCommand = UntagResourceCommand;
992
- exports.UntagResourceInput$ = UntagResourceInput$;
993
- exports.ValidationException = ValidationException;
994
- exports.ValidationException$ = ValidationException$;
995
384
  exports.paginateListDeviceResources = paginateListDeviceResources;
996
385
  exports.paginateListDevices = paginateListDevices;
997
386
  exports.paginateListExecutions = paginateListExecutions;
998
387
  exports.paginateListTasks = paginateListTasks;
388
+ Object.keys(schemas_0).forEach(function (k) {
389
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
390
+ enumerable: true,
391
+ get: function () { return schemas_0[k]; }
392
+ });
393
+ });
394
+ Object.keys(errors).forEach(function (k) {
395
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
396
+ enumerable: true,
397
+ get: function () { return errors[k]; }
398
+ });
399
+ });