@aws-sdk/client-cloudcontrol 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,7 +15,10 @@ 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');
18
19
  var utilWaiter = require('@smithy/util-waiter');
20
+ var errors = require('./models/errors');
21
+ var CloudControlServiceException = require('./models/CloudControlServiceException');
19
22
 
20
23
  const resolveClientEndpointParameters = (options) => {
21
24
  return Object.assign(options, {
@@ -111,663 +114,6 @@ class CloudControlClient extends smithyClient.Client {
111
114
  }
112
115
  }
113
116
 
114
- class CloudControlServiceException extends smithyClient.ServiceException {
115
- constructor(options) {
116
- super(options);
117
- Object.setPrototypeOf(this, CloudControlServiceException.prototype);
118
- }
119
- }
120
-
121
- class AlreadyExistsException extends CloudControlServiceException {
122
- name = "AlreadyExistsException";
123
- $fault = "client";
124
- Message;
125
- constructor(opts) {
126
- super({
127
- name: "AlreadyExistsException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- Object.setPrototypeOf(this, AlreadyExistsException.prototype);
132
- this.Message = opts.Message;
133
- }
134
- }
135
- class ConcurrentModificationException extends CloudControlServiceException {
136
- name = "ConcurrentModificationException";
137
- $fault = "server";
138
- Message;
139
- constructor(opts) {
140
- super({
141
- name: "ConcurrentModificationException",
142
- $fault: "server",
143
- ...opts,
144
- });
145
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
146
- this.Message = opts.Message;
147
- }
148
- }
149
- class RequestTokenNotFoundException extends CloudControlServiceException {
150
- name = "RequestTokenNotFoundException";
151
- $fault = "client";
152
- Message;
153
- constructor(opts) {
154
- super({
155
- name: "RequestTokenNotFoundException",
156
- $fault: "client",
157
- ...opts,
158
- });
159
- Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
160
- this.Message = opts.Message;
161
- }
162
- }
163
- class ClientTokenConflictException extends CloudControlServiceException {
164
- name = "ClientTokenConflictException";
165
- $fault = "client";
166
- Message;
167
- constructor(opts) {
168
- super({
169
- name: "ClientTokenConflictException",
170
- $fault: "client",
171
- ...opts,
172
- });
173
- Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
174
- this.Message = opts.Message;
175
- }
176
- }
177
- class ConcurrentOperationException extends CloudControlServiceException {
178
- name = "ConcurrentOperationException";
179
- $fault = "client";
180
- Message;
181
- constructor(opts) {
182
- super({
183
- name: "ConcurrentOperationException",
184
- $fault: "client",
185
- ...opts,
186
- });
187
- Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
188
- this.Message = opts.Message;
189
- }
190
- }
191
- class GeneralServiceException extends CloudControlServiceException {
192
- name = "GeneralServiceException";
193
- $fault = "client";
194
- Message;
195
- constructor(opts) {
196
- super({
197
- name: "GeneralServiceException",
198
- $fault: "client",
199
- ...opts,
200
- });
201
- Object.setPrototypeOf(this, GeneralServiceException.prototype);
202
- this.Message = opts.Message;
203
- }
204
- }
205
- class HandlerFailureException extends CloudControlServiceException {
206
- name = "HandlerFailureException";
207
- $fault = "server";
208
- Message;
209
- constructor(opts) {
210
- super({
211
- name: "HandlerFailureException",
212
- $fault: "server",
213
- ...opts,
214
- });
215
- Object.setPrototypeOf(this, HandlerFailureException.prototype);
216
- this.Message = opts.Message;
217
- }
218
- }
219
- class HandlerInternalFailureException extends CloudControlServiceException {
220
- name = "HandlerInternalFailureException";
221
- $fault = "server";
222
- Message;
223
- constructor(opts) {
224
- super({
225
- name: "HandlerInternalFailureException",
226
- $fault: "server",
227
- ...opts,
228
- });
229
- Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
230
- this.Message = opts.Message;
231
- }
232
- }
233
- class InvalidCredentialsException extends CloudControlServiceException {
234
- name = "InvalidCredentialsException";
235
- $fault = "client";
236
- Message;
237
- constructor(opts) {
238
- super({
239
- name: "InvalidCredentialsException",
240
- $fault: "client",
241
- ...opts,
242
- });
243
- Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
244
- this.Message = opts.Message;
245
- }
246
- }
247
- class InvalidRequestException extends CloudControlServiceException {
248
- name = "InvalidRequestException";
249
- $fault = "client";
250
- Message;
251
- constructor(opts) {
252
- super({
253
- name: "InvalidRequestException",
254
- $fault: "client",
255
- ...opts,
256
- });
257
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
258
- this.Message = opts.Message;
259
- }
260
- }
261
- class NetworkFailureException extends CloudControlServiceException {
262
- name = "NetworkFailureException";
263
- $fault = "server";
264
- Message;
265
- constructor(opts) {
266
- super({
267
- name: "NetworkFailureException",
268
- $fault: "server",
269
- ...opts,
270
- });
271
- Object.setPrototypeOf(this, NetworkFailureException.prototype);
272
- this.Message = opts.Message;
273
- }
274
- }
275
- class NotStabilizedException extends CloudControlServiceException {
276
- name = "NotStabilizedException";
277
- $fault = "client";
278
- Message;
279
- constructor(opts) {
280
- super({
281
- name: "NotStabilizedException",
282
- $fault: "client",
283
- ...opts,
284
- });
285
- Object.setPrototypeOf(this, NotStabilizedException.prototype);
286
- this.Message = opts.Message;
287
- }
288
- }
289
- class NotUpdatableException extends CloudControlServiceException {
290
- name = "NotUpdatableException";
291
- $fault = "client";
292
- Message;
293
- constructor(opts) {
294
- super({
295
- name: "NotUpdatableException",
296
- $fault: "client",
297
- ...opts,
298
- });
299
- Object.setPrototypeOf(this, NotUpdatableException.prototype);
300
- this.Message = opts.Message;
301
- }
302
- }
303
- class PrivateTypeException extends CloudControlServiceException {
304
- name = "PrivateTypeException";
305
- $fault = "client";
306
- Message;
307
- constructor(opts) {
308
- super({
309
- name: "PrivateTypeException",
310
- $fault: "client",
311
- ...opts,
312
- });
313
- Object.setPrototypeOf(this, PrivateTypeException.prototype);
314
- this.Message = opts.Message;
315
- }
316
- }
317
- class ResourceConflictException extends CloudControlServiceException {
318
- name = "ResourceConflictException";
319
- $fault = "client";
320
- Message;
321
- constructor(opts) {
322
- super({
323
- name: "ResourceConflictException",
324
- $fault: "client",
325
- ...opts,
326
- });
327
- Object.setPrototypeOf(this, ResourceConflictException.prototype);
328
- this.Message = opts.Message;
329
- }
330
- }
331
- class ResourceNotFoundException extends CloudControlServiceException {
332
- name = "ResourceNotFoundException";
333
- $fault = "client";
334
- Message;
335
- constructor(opts) {
336
- super({
337
- name: "ResourceNotFoundException",
338
- $fault: "client",
339
- ...opts,
340
- });
341
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
342
- this.Message = opts.Message;
343
- }
344
- }
345
- class ServiceInternalErrorException extends CloudControlServiceException {
346
- name = "ServiceInternalErrorException";
347
- $fault = "server";
348
- Message;
349
- constructor(opts) {
350
- super({
351
- name: "ServiceInternalErrorException",
352
- $fault: "server",
353
- ...opts,
354
- });
355
- Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
356
- this.Message = opts.Message;
357
- }
358
- }
359
- class ServiceLimitExceededException extends CloudControlServiceException {
360
- name = "ServiceLimitExceededException";
361
- $fault = "client";
362
- Message;
363
- constructor(opts) {
364
- super({
365
- name: "ServiceLimitExceededException",
366
- $fault: "client",
367
- ...opts,
368
- });
369
- Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
370
- this.Message = opts.Message;
371
- }
372
- }
373
- class ThrottlingException extends CloudControlServiceException {
374
- name = "ThrottlingException";
375
- $fault = "client";
376
- Message;
377
- constructor(opts) {
378
- super({
379
- name: "ThrottlingException",
380
- $fault: "client",
381
- ...opts,
382
- });
383
- Object.setPrototypeOf(this, ThrottlingException.prototype);
384
- this.Message = opts.Message;
385
- }
386
- }
387
- class TypeNotFoundException extends CloudControlServiceException {
388
- name = "TypeNotFoundException";
389
- $fault = "client";
390
- Message;
391
- constructor(opts) {
392
- super({
393
- name: "TypeNotFoundException",
394
- $fault: "client",
395
- ...opts,
396
- });
397
- Object.setPrototypeOf(this, TypeNotFoundException.prototype);
398
- this.Message = opts.Message;
399
- }
400
- }
401
- class UnsupportedActionException extends CloudControlServiceException {
402
- name = "UnsupportedActionException";
403
- $fault = "client";
404
- Message;
405
- constructor(opts) {
406
- super({
407
- name: "UnsupportedActionException",
408
- $fault: "client",
409
- ...opts,
410
- });
411
- Object.setPrototypeOf(this, UnsupportedActionException.prototype);
412
- this.Message = opts.Message;
413
- }
414
- }
415
-
416
- const _AEE = "AlreadyExistsException";
417
- const _CME = "ConcurrentModificationException";
418
- const _COE = "ConcurrentOperationException";
419
- const _CR = "CreateResource";
420
- const _CRI = "CreateResourceInput";
421
- const _CRO = "CreateResourceOutput";
422
- const _CRR = "CancelResourceRequest";
423
- const _CRRI = "CancelResourceRequestInput";
424
- const _CRRO = "CancelResourceRequestOutput";
425
- const _CT = "ClientToken";
426
- const _CTCE = "ClientTokenConflictException";
427
- const _DR = "DeleteResource";
428
- const _DRI = "DeleteResourceInput";
429
- const _DRO = "DeleteResourceOutput";
430
- const _DS = "DesiredState";
431
- const _EC = "ErrorCode";
432
- const _ET = "EventTime";
433
- const _FM = "FailureMode";
434
- const _GR = "GetResource";
435
- const _GRI = "GetResourceInput";
436
- const _GRO = "GetResourceOutput";
437
- const _GRRS = "GetResourceRequestStatus";
438
- const _GRRSI = "GetResourceRequestStatusInput";
439
- const _GRRSO = "GetResourceRequestStatusOutput";
440
- const _GSE = "GeneralServiceException";
441
- const _HET = "HookEventTime";
442
- const _HFE = "HandlerFailureException";
443
- const _HIFE = "HandlerInternalFailureException";
444
- const _HPE = "HooksProgressEvent";
445
- const _HPEo = "HookProgressEvent";
446
- const _HRT = "HooksRequestToken";
447
- const _HS = "HookStatus";
448
- const _HSM = "HookStatusMessage";
449
- const _HTA = "HookTypeArn";
450
- const _HTN = "HookTypeName";
451
- const _HTVI = "HookTypeVersionId";
452
- const _I = "Identifier";
453
- const _ICE = "InvalidCredentialsException";
454
- const _IP = "InvocationPoint";
455
- const _IRE = "InvalidRequestException";
456
- const _LR = "ListResources";
457
- const _LRI = "ListResourcesInput";
458
- const _LRO = "ListResourcesOutput";
459
- const _LRR = "ListResourceRequests";
460
- const _LRRI = "ListResourceRequestsInput";
461
- const _LRRO = "ListResourceRequestsOutput";
462
- const _M = "Message";
463
- const _MR = "MaxResults";
464
- const _NFE = "NetworkFailureException";
465
- const _NSE = "NotStabilizedException";
466
- const _NT = "NextToken";
467
- const _NUE = "NotUpdatableException";
468
- const _O = "Operation";
469
- const _OS = "OperationStatus";
470
- const _OSp = "OperationStatuses";
471
- const _Op = "Operations";
472
- const _P = "Properties";
473
- const _PD = "PatchDocument";
474
- const _PE = "ProgressEvent";
475
- const _PTE = "PrivateTypeException";
476
- const _RA = "RoleArn";
477
- const _RAe = "RetryAfter";
478
- const _RCE = "ResourceConflictException";
479
- const _RD = "ResourceDescription";
480
- const _RDe = "ResourceDescriptions";
481
- const _RM = "ResourceModel";
482
- const _RNFE = "ResourceNotFoundException";
483
- const _RRSF = "ResourceRequestStatusFilter";
484
- const _RRSS = "ResourceRequestStatusSummaries";
485
- const _RT = "RequestToken";
486
- const _RTNFE = "RequestTokenNotFoundException";
487
- const _SIEE = "ServiceInternalErrorException";
488
- const _SLEE = "ServiceLimitExceededException";
489
- const _SM = "StatusMessage";
490
- const _TE = "ThrottlingException";
491
- const _TN = "TypeName";
492
- const _TNFE = "TypeNotFoundException";
493
- const _TVI = "TypeVersionId";
494
- const _UAE = "UnsupportedActionException";
495
- const _UR = "UpdateResource";
496
- const _URI = "UpdateResourceInput";
497
- const _URO = "UpdateResourceOutput";
498
- const _aQE = "awsQueryError";
499
- const _c = "client";
500
- const _e = "error";
501
- const _hE = "httpError";
502
- const _s = "server";
503
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudcontrol";
504
- const n0 = "com.amazonaws.cloudcontrol";
505
- var PatchDocument = [0, n0, _PD, 8, 0];
506
- var Properties = [0, n0, _P, 8, 0];
507
- var AlreadyExistsException$ = [-3, n0, _AEE,
508
- { [_aQE]: [`AlreadyExistsException`, 400], [_e]: _c, [_hE]: 400 },
509
- [_M],
510
- [0]
511
- ];
512
- schema.TypeRegistry.for(n0).registerError(AlreadyExistsException$, AlreadyExistsException);
513
- var CancelResourceRequestInput$ = [3, n0, _CRRI,
514
- 0,
515
- [_RT],
516
- [0], 1
517
- ];
518
- var CancelResourceRequestOutput$ = [3, n0, _CRRO,
519
- 0,
520
- [_PE],
521
- [[() => ProgressEvent$, 0]]
522
- ];
523
- var ClientTokenConflictException$ = [-3, n0, _CTCE,
524
- { [_aQE]: [`ClientTokenConflictException`, 409], [_e]: _c, [_hE]: 409 },
525
- [_M],
526
- [0]
527
- ];
528
- schema.TypeRegistry.for(n0).registerError(ClientTokenConflictException$, ClientTokenConflictException);
529
- var ConcurrentModificationException$ = [-3, n0, _CME,
530
- { [_aQE]: [`ConcurrentModificationException`, 500], [_e]: _s, [_hE]: 500 },
531
- [_M],
532
- [0]
533
- ];
534
- schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
535
- var ConcurrentOperationException$ = [-3, n0, _COE,
536
- { [_aQE]: [`ConcurrentOperationException`, 409], [_e]: _c, [_hE]: 409 },
537
- [_M],
538
- [0]
539
- ];
540
- schema.TypeRegistry.for(n0).registerError(ConcurrentOperationException$, ConcurrentOperationException);
541
- var CreateResourceInput$ = [3, n0, _CRI,
542
- 0,
543
- [_TN, _DS, _TVI, _RA, _CT],
544
- [0, [() => Properties, 0], 0, 0, [0, 4]], 2
545
- ];
546
- var CreateResourceOutput$ = [3, n0, _CRO,
547
- 0,
548
- [_PE],
549
- [[() => ProgressEvent$, 0]]
550
- ];
551
- var DeleteResourceInput$ = [3, n0, _DRI,
552
- 0,
553
- [_TN, _I, _TVI, _RA, _CT],
554
- [0, 0, 0, 0, [0, 4]], 2
555
- ];
556
- var DeleteResourceOutput$ = [3, n0, _DRO,
557
- 0,
558
- [_PE],
559
- [[() => ProgressEvent$, 0]]
560
- ];
561
- var GeneralServiceException$ = [-3, n0, _GSE,
562
- { [_aQE]: [`GeneralServiceException`, 400], [_e]: _c, [_hE]: 400 },
563
- [_M],
564
- [0]
565
- ];
566
- schema.TypeRegistry.for(n0).registerError(GeneralServiceException$, GeneralServiceException);
567
- var GetResourceInput$ = [3, n0, _GRI,
568
- 0,
569
- [_TN, _I, _TVI, _RA],
570
- [0, 0, 0, 0], 2
571
- ];
572
- var GetResourceOutput$ = [3, n0, _GRO,
573
- 0,
574
- [_TN, _RD],
575
- [0, [() => ResourceDescription$, 0]]
576
- ];
577
- var GetResourceRequestStatusInput$ = [3, n0, _GRRSI,
578
- 0,
579
- [_RT],
580
- [0], 1
581
- ];
582
- var GetResourceRequestStatusOutput$ = [3, n0, _GRRSO,
583
- 0,
584
- [_PE, _HPE],
585
- [[() => ProgressEvent$, 0], () => HooksProgressEvent]
586
- ];
587
- var HandlerFailureException$ = [-3, n0, _HFE,
588
- { [_aQE]: [`HandlerFailureException`, 502], [_e]: _s, [_hE]: 502 },
589
- [_M],
590
- [0]
591
- ];
592
- schema.TypeRegistry.for(n0).registerError(HandlerFailureException$, HandlerFailureException);
593
- var HandlerInternalFailureException$ = [-3, n0, _HIFE,
594
- { [_aQE]: [`HandlerInternalFailureException`, 502], [_e]: _s, [_hE]: 502 },
595
- [_M],
596
- [0]
597
- ];
598
- schema.TypeRegistry.for(n0).registerError(HandlerInternalFailureException$, HandlerInternalFailureException);
599
- var HookProgressEvent$ = [3, n0, _HPEo,
600
- 0,
601
- [_HTN, _HTVI, _HTA, _IP, _HS, _HET, _HSM, _FM],
602
- [0, 0, 0, 0, 0, 4, 0, 0]
603
- ];
604
- var InvalidCredentialsException$ = [-3, n0, _ICE,
605
- { [_aQE]: [`InvalidCredentialsException`, 401], [_e]: _c, [_hE]: 401 },
606
- [_M],
607
- [0]
608
- ];
609
- schema.TypeRegistry.for(n0).registerError(InvalidCredentialsException$, InvalidCredentialsException);
610
- var InvalidRequestException$ = [-3, n0, _IRE,
611
- { [_aQE]: [`InvalidRequestException`, 400], [_e]: _c, [_hE]: 400 },
612
- [_M],
613
- [0]
614
- ];
615
- schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
616
- var ListResourceRequestsInput$ = [3, n0, _LRRI,
617
- 0,
618
- [_MR, _NT, _RRSF],
619
- [1, 0, () => ResourceRequestStatusFilter$]
620
- ];
621
- var ListResourceRequestsOutput$ = [3, n0, _LRRO,
622
- 0,
623
- [_RRSS, _NT],
624
- [[() => ResourceRequestStatusSummaries, 0], 0]
625
- ];
626
- var ListResourcesInput$ = [3, n0, _LRI,
627
- 0,
628
- [_TN, _TVI, _RA, _NT, _MR, _RM],
629
- [0, 0, 0, 0, 1, [() => Properties, 0]], 1
630
- ];
631
- var ListResourcesOutput$ = [3, n0, _LRO,
632
- 0,
633
- [_TN, _RDe, _NT],
634
- [0, [() => ResourceDescriptions, 0], 0]
635
- ];
636
- var NetworkFailureException$ = [-3, n0, _NFE,
637
- { [_aQE]: [`NetworkFailureException`, 502], [_e]: _s, [_hE]: 502 },
638
- [_M],
639
- [0]
640
- ];
641
- schema.TypeRegistry.for(n0).registerError(NetworkFailureException$, NetworkFailureException);
642
- var NotStabilizedException$ = [-3, n0, _NSE,
643
- { [_aQE]: [`NotStabilizedException`, 400], [_e]: _c, [_hE]: 400 },
644
- [_M],
645
- [0]
646
- ];
647
- schema.TypeRegistry.for(n0).registerError(NotStabilizedException$, NotStabilizedException);
648
- var NotUpdatableException$ = [-3, n0, _NUE,
649
- { [_aQE]: [`NotUpdatableException`, 400], [_e]: _c, [_hE]: 400 },
650
- [_M],
651
- [0]
652
- ];
653
- schema.TypeRegistry.for(n0).registerError(NotUpdatableException$, NotUpdatableException);
654
- var PrivateTypeException$ = [-3, n0, _PTE,
655
- { [_aQE]: [`PrivateTypeException`, 400], [_e]: _c, [_hE]: 400 },
656
- [_M],
657
- [0]
658
- ];
659
- schema.TypeRegistry.for(n0).registerError(PrivateTypeException$, PrivateTypeException);
660
- var ProgressEvent$ = [3, n0, _PE,
661
- 0,
662
- [_TN, _I, _RT, _HRT, _O, _OS, _ET, _RM, _SM, _EC, _RAe],
663
- [0, 0, 0, 0, 0, 0, 4, [() => Properties, 0], 0, 0, 4]
664
- ];
665
- var RequestTokenNotFoundException$ = [-3, n0, _RTNFE,
666
- { [_aQE]: [`RequestTokenNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
667
- [_M],
668
- [0]
669
- ];
670
- schema.TypeRegistry.for(n0).registerError(RequestTokenNotFoundException$, RequestTokenNotFoundException);
671
- var ResourceConflictException$ = [-3, n0, _RCE,
672
- { [_aQE]: [`ResourceConflictException`, 409], [_e]: _c, [_hE]: 409 },
673
- [_M],
674
- [0]
675
- ];
676
- schema.TypeRegistry.for(n0).registerError(ResourceConflictException$, ResourceConflictException);
677
- var ResourceDescription$ = [3, n0, _RD,
678
- 0,
679
- [_I, _P],
680
- [0, [() => Properties, 0]]
681
- ];
682
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
683
- { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
684
- [_M],
685
- [0]
686
- ];
687
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
688
- var ResourceRequestStatusFilter$ = [3, n0, _RRSF,
689
- 0,
690
- [_Op, _OSp],
691
- [64 | 0, 64 | 0]
692
- ];
693
- var ServiceInternalErrorException$ = [-3, n0, _SIEE,
694
- { [_aQE]: [`ServiceInternalErrorException`, 502], [_e]: _s, [_hE]: 502 },
695
- [_M],
696
- [0]
697
- ];
698
- schema.TypeRegistry.for(n0).registerError(ServiceInternalErrorException$, ServiceInternalErrorException);
699
- var ServiceLimitExceededException$ = [-3, n0, _SLEE,
700
- { [_aQE]: [`ServiceLimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
701
- [_M],
702
- [0]
703
- ];
704
- schema.TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
705
- var ThrottlingException$ = [-3, n0, _TE,
706
- { [_aQE]: [`ThrottlingException`, 429], [_e]: _c, [_hE]: 429 },
707
- [_M],
708
- [0]
709
- ];
710
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
711
- var TypeNotFoundException$ = [-3, n0, _TNFE,
712
- { [_aQE]: [`TypeNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
713
- [_M],
714
- [0]
715
- ];
716
- schema.TypeRegistry.for(n0).registerError(TypeNotFoundException$, TypeNotFoundException);
717
- var UnsupportedActionException$ = [-3, n0, _UAE,
718
- { [_aQE]: [`UnsupportedActionException`, 405], [_e]: _c, [_hE]: 405 },
719
- [_M],
720
- [0]
721
- ];
722
- schema.TypeRegistry.for(n0).registerError(UnsupportedActionException$, UnsupportedActionException);
723
- var UpdateResourceInput$ = [3, n0, _URI,
724
- 0,
725
- [_TN, _I, _PD, _TVI, _RA, _CT],
726
- [0, 0, [() => PatchDocument, 0], 0, 0, [0, 4]], 3
727
- ];
728
- var UpdateResourceOutput$ = [3, n0, _URO,
729
- 0,
730
- [_PE],
731
- [[() => ProgressEvent$, 0]]
732
- ];
733
- var CloudControlServiceException$ = [-3, _sm, "CloudControlServiceException", 0, [], []];
734
- schema.TypeRegistry.for(_sm).registerError(CloudControlServiceException$, CloudControlServiceException);
735
- var HooksProgressEvent = [1, n0, _HPE,
736
- 0, () => HookProgressEvent$
737
- ];
738
- var ResourceDescriptions = [1, n0, _RDe,
739
- 0, [() => ResourceDescription$,
740
- 0]
741
- ];
742
- var ResourceRequestStatusSummaries = [1, n0, _RRSS,
743
- 0, [() => ProgressEvent$,
744
- 0]
745
- ];
746
- var CancelResourceRequest$ = [9, n0, _CRR,
747
- 2, () => CancelResourceRequestInput$, () => CancelResourceRequestOutput$
748
- ];
749
- var CreateResource$ = [9, n0, _CR,
750
- 0, () => CreateResourceInput$, () => CreateResourceOutput$
751
- ];
752
- var DeleteResource$ = [9, n0, _DR,
753
- 0, () => DeleteResourceInput$, () => DeleteResourceOutput$
754
- ];
755
- var GetResource$ = [9, n0, _GR,
756
- 0, () => GetResourceInput$, () => GetResourceOutput$
757
- ];
758
- var GetResourceRequestStatus$ = [9, n0, _GRRS,
759
- 0, () => GetResourceRequestStatusInput$, () => GetResourceRequestStatusOutput$
760
- ];
761
- var ListResourceRequests$ = [9, n0, _LRR,
762
- 0, () => ListResourceRequestsInput$, () => ListResourceRequestsOutput$
763
- ];
764
- var ListResources$ = [9, n0, _LR,
765
- 0, () => ListResourcesInput$, () => ListResourcesOutput$
766
- ];
767
- var UpdateResource$ = [9, n0, _UR,
768
- 0, () => UpdateResourceInput$, () => UpdateResourceOutput$
769
- ];
770
-
771
117
  class CancelResourceRequestCommand extends smithyClient.Command
772
118
  .classBuilder()
773
119
  .ep(commonParams)
@@ -776,7 +122,7 @@ class CancelResourceRequestCommand extends smithyClient.Command
776
122
  })
777
123
  .s("CloudApiService", "CancelResourceRequest", {})
778
124
  .n("CloudControlClient", "CancelResourceRequestCommand")
779
- .sc(CancelResourceRequest$)
125
+ .sc(schemas_0.CancelResourceRequest$)
780
126
  .build() {
781
127
  }
782
128
 
@@ -788,7 +134,7 @@ class CreateResourceCommand extends smithyClient.Command
788
134
  })
789
135
  .s("CloudApiService", "CreateResource", {})
790
136
  .n("CloudControlClient", "CreateResourceCommand")
791
- .sc(CreateResource$)
137
+ .sc(schemas_0.CreateResource$)
792
138
  .build() {
793
139
  }
794
140
 
@@ -800,7 +146,7 @@ class DeleteResourceCommand extends smithyClient.Command
800
146
  })
801
147
  .s("CloudApiService", "DeleteResource", {})
802
148
  .n("CloudControlClient", "DeleteResourceCommand")
803
- .sc(DeleteResource$)
149
+ .sc(schemas_0.DeleteResource$)
804
150
  .build() {
805
151
  }
806
152
 
@@ -812,7 +158,7 @@ class GetResourceCommand extends smithyClient.Command
812
158
  })
813
159
  .s("CloudApiService", "GetResource", {})
814
160
  .n("CloudControlClient", "GetResourceCommand")
815
- .sc(GetResource$)
161
+ .sc(schemas_0.GetResource$)
816
162
  .build() {
817
163
  }
818
164
 
@@ -824,7 +170,7 @@ class GetResourceRequestStatusCommand extends smithyClient.Command
824
170
  })
825
171
  .s("CloudApiService", "GetResourceRequestStatus", {})
826
172
  .n("CloudControlClient", "GetResourceRequestStatusCommand")
827
- .sc(GetResourceRequestStatus$)
173
+ .sc(schemas_0.GetResourceRequestStatus$)
828
174
  .build() {
829
175
  }
830
176
 
@@ -836,7 +182,7 @@ class ListResourceRequestsCommand extends smithyClient.Command
836
182
  })
837
183
  .s("CloudApiService", "ListResourceRequests", {})
838
184
  .n("CloudControlClient", "ListResourceRequestsCommand")
839
- .sc(ListResourceRequests$)
185
+ .sc(schemas_0.ListResourceRequests$)
840
186
  .build() {
841
187
  }
842
188
 
@@ -848,7 +194,7 @@ class ListResourcesCommand extends smithyClient.Command
848
194
  })
849
195
  .s("CloudApiService", "ListResources", {})
850
196
  .n("CloudControlClient", "ListResourcesCommand")
851
- .sc(ListResources$)
197
+ .sc(schemas_0.ListResources$)
852
198
  .build() {
853
199
  }
854
200
 
@@ -860,7 +206,7 @@ class UpdateResourceCommand extends smithyClient.Command
860
206
  })
861
207
  .s("CloudApiService", "UpdateResource", {})
862
208
  .n("CloudControlClient", "UpdateResourceCommand")
863
- .sc(UpdateResource$)
209
+ .sc(schemas_0.UpdateResource$)
864
210
  .build() {
865
211
  }
866
212
 
@@ -977,92 +323,36 @@ Object.defineProperty(exports, "__Client", {
977
323
  enumerable: true,
978
324
  get: function () { return smithyClient.Client; }
979
325
  });
980
- exports.AlreadyExistsException = AlreadyExistsException;
981
- exports.AlreadyExistsException$ = AlreadyExistsException$;
982
- exports.CancelResourceRequest$ = CancelResourceRequest$;
326
+ Object.defineProperty(exports, "CloudControlServiceException", {
327
+ enumerable: true,
328
+ get: function () { return CloudControlServiceException.CloudControlServiceException; }
329
+ });
983
330
  exports.CancelResourceRequestCommand = CancelResourceRequestCommand;
984
- exports.CancelResourceRequestInput$ = CancelResourceRequestInput$;
985
- exports.CancelResourceRequestOutput$ = CancelResourceRequestOutput$;
986
- exports.ClientTokenConflictException = ClientTokenConflictException;
987
- exports.ClientTokenConflictException$ = ClientTokenConflictException$;
988
331
  exports.CloudControl = CloudControl;
989
332
  exports.CloudControlClient = CloudControlClient;
990
- exports.CloudControlServiceException = CloudControlServiceException;
991
- exports.CloudControlServiceException$ = CloudControlServiceException$;
992
- exports.ConcurrentModificationException = ConcurrentModificationException;
993
- exports.ConcurrentModificationException$ = ConcurrentModificationException$;
994
- exports.ConcurrentOperationException = ConcurrentOperationException;
995
- exports.ConcurrentOperationException$ = ConcurrentOperationException$;
996
- exports.CreateResource$ = CreateResource$;
997
333
  exports.CreateResourceCommand = CreateResourceCommand;
998
- exports.CreateResourceInput$ = CreateResourceInput$;
999
- exports.CreateResourceOutput$ = CreateResourceOutput$;
1000
- exports.DeleteResource$ = DeleteResource$;
1001
334
  exports.DeleteResourceCommand = DeleteResourceCommand;
1002
- exports.DeleteResourceInput$ = DeleteResourceInput$;
1003
- exports.DeleteResourceOutput$ = DeleteResourceOutput$;
1004
- exports.GeneralServiceException = GeneralServiceException;
1005
- exports.GeneralServiceException$ = GeneralServiceException$;
1006
- exports.GetResource$ = GetResource$;
1007
335
  exports.GetResourceCommand = GetResourceCommand;
1008
- exports.GetResourceInput$ = GetResourceInput$;
1009
- exports.GetResourceOutput$ = GetResourceOutput$;
1010
- exports.GetResourceRequestStatus$ = GetResourceRequestStatus$;
1011
336
  exports.GetResourceRequestStatusCommand = GetResourceRequestStatusCommand;
1012
- exports.GetResourceRequestStatusInput$ = GetResourceRequestStatusInput$;
1013
- exports.GetResourceRequestStatusOutput$ = GetResourceRequestStatusOutput$;
1014
337
  exports.HandlerErrorCode = HandlerErrorCode;
1015
- exports.HandlerFailureException = HandlerFailureException;
1016
- exports.HandlerFailureException$ = HandlerFailureException$;
1017
- exports.HandlerInternalFailureException = HandlerInternalFailureException;
1018
- exports.HandlerInternalFailureException$ = HandlerInternalFailureException$;
1019
- exports.HookProgressEvent$ = HookProgressEvent$;
1020
- exports.InvalidCredentialsException = InvalidCredentialsException;
1021
- exports.InvalidCredentialsException$ = InvalidCredentialsException$;
1022
- exports.InvalidRequestException = InvalidRequestException;
1023
- exports.InvalidRequestException$ = InvalidRequestException$;
1024
- exports.ListResourceRequests$ = ListResourceRequests$;
1025
338
  exports.ListResourceRequestsCommand = ListResourceRequestsCommand;
1026
- exports.ListResourceRequestsInput$ = ListResourceRequestsInput$;
1027
- exports.ListResourceRequestsOutput$ = ListResourceRequestsOutput$;
1028
- exports.ListResources$ = ListResources$;
1029
339
  exports.ListResourcesCommand = ListResourcesCommand;
1030
- exports.ListResourcesInput$ = ListResourcesInput$;
1031
- exports.ListResourcesOutput$ = ListResourcesOutput$;
1032
- exports.NetworkFailureException = NetworkFailureException;
1033
- exports.NetworkFailureException$ = NetworkFailureException$;
1034
- exports.NotStabilizedException = NotStabilizedException;
1035
- exports.NotStabilizedException$ = NotStabilizedException$;
1036
- exports.NotUpdatableException = NotUpdatableException;
1037
- exports.NotUpdatableException$ = NotUpdatableException$;
1038
340
  exports.Operation = Operation;
1039
341
  exports.OperationStatus = OperationStatus;
1040
- exports.PrivateTypeException = PrivateTypeException;
1041
- exports.PrivateTypeException$ = PrivateTypeException$;
1042
- exports.ProgressEvent$ = ProgressEvent$;
1043
- exports.RequestTokenNotFoundException = RequestTokenNotFoundException;
1044
- exports.RequestTokenNotFoundException$ = RequestTokenNotFoundException$;
1045
- exports.ResourceConflictException = ResourceConflictException;
1046
- exports.ResourceConflictException$ = ResourceConflictException$;
1047
- exports.ResourceDescription$ = ResourceDescription$;
1048
- exports.ResourceNotFoundException = ResourceNotFoundException;
1049
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1050
- exports.ResourceRequestStatusFilter$ = ResourceRequestStatusFilter$;
1051
- exports.ServiceInternalErrorException = ServiceInternalErrorException;
1052
- exports.ServiceInternalErrorException$ = ServiceInternalErrorException$;
1053
- exports.ServiceLimitExceededException = ServiceLimitExceededException;
1054
- exports.ServiceLimitExceededException$ = ServiceLimitExceededException$;
1055
- exports.ThrottlingException = ThrottlingException;
1056
- exports.ThrottlingException$ = ThrottlingException$;
1057
- exports.TypeNotFoundException = TypeNotFoundException;
1058
- exports.TypeNotFoundException$ = TypeNotFoundException$;
1059
- exports.UnsupportedActionException = UnsupportedActionException;
1060
- exports.UnsupportedActionException$ = UnsupportedActionException$;
1061
- exports.UpdateResource$ = UpdateResource$;
1062
342
  exports.UpdateResourceCommand = UpdateResourceCommand;
1063
- exports.UpdateResourceInput$ = UpdateResourceInput$;
1064
- exports.UpdateResourceOutput$ = UpdateResourceOutput$;
1065
343
  exports.paginateListResourceRequests = paginateListResourceRequests;
1066
344
  exports.paginateListResources = paginateListResources;
1067
345
  exports.waitForResourceRequestSuccess = waitForResourceRequestSuccess;
1068
346
  exports.waitUntilResourceRequestSuccess = waitUntilResourceRequestSuccess;
347
+ Object.keys(schemas_0).forEach(function (k) {
348
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
349
+ enumerable: true,
350
+ get: function () { return schemas_0[k]; }
351
+ });
352
+ });
353
+ Object.keys(errors).forEach(function (k) {
354
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
355
+ enumerable: true,
356
+ get: function () { return errors[k]; }
357
+ });
358
+ });