@aws-sdk/client-cloudcontrol 3.716.0 → 3.723.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
@@ -173,7 +173,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
173
173
  }, "resolveRuntimeExtensions");
174
174
 
175
175
  // src/CloudControlClient.ts
176
- var _CloudControlClient = class _CloudControlClient extends import_smithy_client.Client {
176
+ var CloudControlClient = class extends import_smithy_client.Client {
177
+ static {
178
+ __name(this, "CloudControlClient");
179
+ }
180
+ /**
181
+ * The resolved configuration of CloudControlClient class. This is resolved and normalized from the {@link CloudControlClientConfig | constructor configuration interface}.
182
+ */
183
+ config;
177
184
  constructor(...[configuration]) {
178
185
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
179
186
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -183,7 +190,7 @@ var _CloudControlClient = class _CloudControlClient extends import_smithy_client
183
190
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
184
191
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
185
192
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
186
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
193
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
187
194
  super(_config_8);
188
195
  this.config = _config_8;
189
196
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -211,8 +218,6 @@ var _CloudControlClient = class _CloudControlClient extends import_smithy_client
211
218
  super.destroy();
212
219
  }
213
220
  };
214
- __name(_CloudControlClient, "CloudControlClient");
215
- var CloudControlClient = _CloudControlClient;
216
221
 
217
222
  // src/CloudControl.ts
218
223
 
@@ -227,7 +232,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
227
232
 
228
233
  // src/models/CloudControlServiceException.ts
229
234
 
230
- var _CloudControlServiceException = class _CloudControlServiceException extends import_smithy_client.ServiceException {
235
+ var CloudControlServiceException = class _CloudControlServiceException extends import_smithy_client.ServiceException {
236
+ static {
237
+ __name(this, "CloudControlServiceException");
238
+ }
231
239
  /**
232
240
  * @internal
233
241
  */
@@ -236,11 +244,15 @@ var _CloudControlServiceException = class _CloudControlServiceException extends
236
244
  Object.setPrototypeOf(this, _CloudControlServiceException.prototype);
237
245
  }
238
246
  };
239
- __name(_CloudControlServiceException, "CloudControlServiceException");
240
- var CloudControlServiceException = _CloudControlServiceException;
241
247
 
242
248
  // src/models/models_0.ts
243
- var _AlreadyExistsException = class _AlreadyExistsException extends CloudControlServiceException {
249
+ var AlreadyExistsException = class _AlreadyExistsException extends CloudControlServiceException {
250
+ static {
251
+ __name(this, "AlreadyExistsException");
252
+ }
253
+ name = "AlreadyExistsException";
254
+ $fault = "client";
255
+ Message;
244
256
  /**
245
257
  * @internal
246
258
  */
@@ -250,14 +262,10 @@ var _AlreadyExistsException = class _AlreadyExistsException extends CloudControl
250
262
  $fault: "client",
251
263
  ...opts
252
264
  });
253
- this.name = "AlreadyExistsException";
254
- this.$fault = "client";
255
265
  Object.setPrototypeOf(this, _AlreadyExistsException.prototype);
256
266
  this.Message = opts.Message;
257
267
  }
258
268
  };
259
- __name(_AlreadyExistsException, "AlreadyExistsException");
260
- var AlreadyExistsException = _AlreadyExistsException;
261
269
  var HandlerErrorCode = {
262
270
  ACCESS_DENIED: "AccessDenied",
263
271
  ALREADY_EXISTS: "AlreadyExists",
@@ -289,7 +297,13 @@ var OperationStatus = {
289
297
  PENDING: "PENDING",
290
298
  SUCCESS: "SUCCESS"
291
299
  };
292
- var _ConcurrentModificationException = class _ConcurrentModificationException extends CloudControlServiceException {
300
+ var ConcurrentModificationException = class _ConcurrentModificationException extends CloudControlServiceException {
301
+ static {
302
+ __name(this, "ConcurrentModificationException");
303
+ }
304
+ name = "ConcurrentModificationException";
305
+ $fault = "server";
306
+ Message;
293
307
  /**
294
308
  * @internal
295
309
  */
@@ -299,15 +313,17 @@ var _ConcurrentModificationException = class _ConcurrentModificationException ex
299
313
  $fault: "server",
300
314
  ...opts
301
315
  });
302
- this.name = "ConcurrentModificationException";
303
- this.$fault = "server";
304
316
  Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
305
317
  this.Message = opts.Message;
306
318
  }
307
319
  };
308
- __name(_ConcurrentModificationException, "ConcurrentModificationException");
309
- var ConcurrentModificationException = _ConcurrentModificationException;
310
- var _RequestTokenNotFoundException = class _RequestTokenNotFoundException extends CloudControlServiceException {
320
+ var RequestTokenNotFoundException = class _RequestTokenNotFoundException extends CloudControlServiceException {
321
+ static {
322
+ __name(this, "RequestTokenNotFoundException");
323
+ }
324
+ name = "RequestTokenNotFoundException";
325
+ $fault = "client";
326
+ Message;
311
327
  /**
312
328
  * @internal
313
329
  */
@@ -317,15 +333,17 @@ var _RequestTokenNotFoundException = class _RequestTokenNotFoundException extend
317
333
  $fault: "client",
318
334
  ...opts
319
335
  });
320
- this.name = "RequestTokenNotFoundException";
321
- this.$fault = "client";
322
336
  Object.setPrototypeOf(this, _RequestTokenNotFoundException.prototype);
323
337
  this.Message = opts.Message;
324
338
  }
325
339
  };
326
- __name(_RequestTokenNotFoundException, "RequestTokenNotFoundException");
327
- var RequestTokenNotFoundException = _RequestTokenNotFoundException;
328
- var _ClientTokenConflictException = class _ClientTokenConflictException extends CloudControlServiceException {
340
+ var ClientTokenConflictException = class _ClientTokenConflictException extends CloudControlServiceException {
341
+ static {
342
+ __name(this, "ClientTokenConflictException");
343
+ }
344
+ name = "ClientTokenConflictException";
345
+ $fault = "client";
346
+ Message;
329
347
  /**
330
348
  * @internal
331
349
  */
@@ -335,15 +353,17 @@ var _ClientTokenConflictException = class _ClientTokenConflictException extends
335
353
  $fault: "client",
336
354
  ...opts
337
355
  });
338
- this.name = "ClientTokenConflictException";
339
- this.$fault = "client";
340
356
  Object.setPrototypeOf(this, _ClientTokenConflictException.prototype);
341
357
  this.Message = opts.Message;
342
358
  }
343
359
  };
344
- __name(_ClientTokenConflictException, "ClientTokenConflictException");
345
- var ClientTokenConflictException = _ClientTokenConflictException;
346
- var _ConcurrentOperationException = class _ConcurrentOperationException extends CloudControlServiceException {
360
+ var ConcurrentOperationException = class _ConcurrentOperationException extends CloudControlServiceException {
361
+ static {
362
+ __name(this, "ConcurrentOperationException");
363
+ }
364
+ name = "ConcurrentOperationException";
365
+ $fault = "client";
366
+ Message;
347
367
  /**
348
368
  * @internal
349
369
  */
@@ -353,15 +373,17 @@ var _ConcurrentOperationException = class _ConcurrentOperationException extends
353
373
  $fault: "client",
354
374
  ...opts
355
375
  });
356
- this.name = "ConcurrentOperationException";
357
- this.$fault = "client";
358
376
  Object.setPrototypeOf(this, _ConcurrentOperationException.prototype);
359
377
  this.Message = opts.Message;
360
378
  }
361
379
  };
362
- __name(_ConcurrentOperationException, "ConcurrentOperationException");
363
- var ConcurrentOperationException = _ConcurrentOperationException;
364
- var _GeneralServiceException = class _GeneralServiceException extends CloudControlServiceException {
380
+ var GeneralServiceException = class _GeneralServiceException extends CloudControlServiceException {
381
+ static {
382
+ __name(this, "GeneralServiceException");
383
+ }
384
+ name = "GeneralServiceException";
385
+ $fault = "client";
386
+ Message;
365
387
  /**
366
388
  * @internal
367
389
  */
@@ -371,15 +393,17 @@ var _GeneralServiceException = class _GeneralServiceException extends CloudContr
371
393
  $fault: "client",
372
394
  ...opts
373
395
  });
374
- this.name = "GeneralServiceException";
375
- this.$fault = "client";
376
396
  Object.setPrototypeOf(this, _GeneralServiceException.prototype);
377
397
  this.Message = opts.Message;
378
398
  }
379
399
  };
380
- __name(_GeneralServiceException, "GeneralServiceException");
381
- var GeneralServiceException = _GeneralServiceException;
382
- var _HandlerFailureException = class _HandlerFailureException extends CloudControlServiceException {
400
+ var HandlerFailureException = class _HandlerFailureException extends CloudControlServiceException {
401
+ static {
402
+ __name(this, "HandlerFailureException");
403
+ }
404
+ name = "HandlerFailureException";
405
+ $fault = "server";
406
+ Message;
383
407
  /**
384
408
  * @internal
385
409
  */
@@ -389,15 +413,17 @@ var _HandlerFailureException = class _HandlerFailureException extends CloudContr
389
413
  $fault: "server",
390
414
  ...opts
391
415
  });
392
- this.name = "HandlerFailureException";
393
- this.$fault = "server";
394
416
  Object.setPrototypeOf(this, _HandlerFailureException.prototype);
395
417
  this.Message = opts.Message;
396
418
  }
397
419
  };
398
- __name(_HandlerFailureException, "HandlerFailureException");
399
- var HandlerFailureException = _HandlerFailureException;
400
- var _HandlerInternalFailureException = class _HandlerInternalFailureException extends CloudControlServiceException {
420
+ var HandlerInternalFailureException = class _HandlerInternalFailureException extends CloudControlServiceException {
421
+ static {
422
+ __name(this, "HandlerInternalFailureException");
423
+ }
424
+ name = "HandlerInternalFailureException";
425
+ $fault = "server";
426
+ Message;
401
427
  /**
402
428
  * @internal
403
429
  */
@@ -407,15 +433,17 @@ var _HandlerInternalFailureException = class _HandlerInternalFailureException ex
407
433
  $fault: "server",
408
434
  ...opts
409
435
  });
410
- this.name = "HandlerInternalFailureException";
411
- this.$fault = "server";
412
436
  Object.setPrototypeOf(this, _HandlerInternalFailureException.prototype);
413
437
  this.Message = opts.Message;
414
438
  }
415
439
  };
416
- __name(_HandlerInternalFailureException, "HandlerInternalFailureException");
417
- var HandlerInternalFailureException = _HandlerInternalFailureException;
418
- var _InvalidCredentialsException = class _InvalidCredentialsException extends CloudControlServiceException {
440
+ var InvalidCredentialsException = class _InvalidCredentialsException extends CloudControlServiceException {
441
+ static {
442
+ __name(this, "InvalidCredentialsException");
443
+ }
444
+ name = "InvalidCredentialsException";
445
+ $fault = "client";
446
+ Message;
419
447
  /**
420
448
  * @internal
421
449
  */
@@ -425,15 +453,17 @@ var _InvalidCredentialsException = class _InvalidCredentialsException extends Cl
425
453
  $fault: "client",
426
454
  ...opts
427
455
  });
428
- this.name = "InvalidCredentialsException";
429
- this.$fault = "client";
430
456
  Object.setPrototypeOf(this, _InvalidCredentialsException.prototype);
431
457
  this.Message = opts.Message;
432
458
  }
433
459
  };
434
- __name(_InvalidCredentialsException, "InvalidCredentialsException");
435
- var InvalidCredentialsException = _InvalidCredentialsException;
436
- var _InvalidRequestException = class _InvalidRequestException extends CloudControlServiceException {
460
+ var InvalidRequestException = class _InvalidRequestException extends CloudControlServiceException {
461
+ static {
462
+ __name(this, "InvalidRequestException");
463
+ }
464
+ name = "InvalidRequestException";
465
+ $fault = "client";
466
+ Message;
437
467
  /**
438
468
  * @internal
439
469
  */
@@ -443,15 +473,17 @@ var _InvalidRequestException = class _InvalidRequestException extends CloudContr
443
473
  $fault: "client",
444
474
  ...opts
445
475
  });
446
- this.name = "InvalidRequestException";
447
- this.$fault = "client";
448
476
  Object.setPrototypeOf(this, _InvalidRequestException.prototype);
449
477
  this.Message = opts.Message;
450
478
  }
451
479
  };
452
- __name(_InvalidRequestException, "InvalidRequestException");
453
- var InvalidRequestException = _InvalidRequestException;
454
- var _NetworkFailureException = class _NetworkFailureException extends CloudControlServiceException {
480
+ var NetworkFailureException = class _NetworkFailureException extends CloudControlServiceException {
481
+ static {
482
+ __name(this, "NetworkFailureException");
483
+ }
484
+ name = "NetworkFailureException";
485
+ $fault = "server";
486
+ Message;
455
487
  /**
456
488
  * @internal
457
489
  */
@@ -461,15 +493,17 @@ var _NetworkFailureException = class _NetworkFailureException extends CloudContr
461
493
  $fault: "server",
462
494
  ...opts
463
495
  });
464
- this.name = "NetworkFailureException";
465
- this.$fault = "server";
466
496
  Object.setPrototypeOf(this, _NetworkFailureException.prototype);
467
497
  this.Message = opts.Message;
468
498
  }
469
499
  };
470
- __name(_NetworkFailureException, "NetworkFailureException");
471
- var NetworkFailureException = _NetworkFailureException;
472
- var _NotStabilizedException = class _NotStabilizedException extends CloudControlServiceException {
500
+ var NotStabilizedException = class _NotStabilizedException extends CloudControlServiceException {
501
+ static {
502
+ __name(this, "NotStabilizedException");
503
+ }
504
+ name = "NotStabilizedException";
505
+ $fault = "client";
506
+ Message;
473
507
  /**
474
508
  * @internal
475
509
  */
@@ -479,15 +513,17 @@ var _NotStabilizedException = class _NotStabilizedException extends CloudControl
479
513
  $fault: "client",
480
514
  ...opts
481
515
  });
482
- this.name = "NotStabilizedException";
483
- this.$fault = "client";
484
516
  Object.setPrototypeOf(this, _NotStabilizedException.prototype);
485
517
  this.Message = opts.Message;
486
518
  }
487
519
  };
488
- __name(_NotStabilizedException, "NotStabilizedException");
489
- var NotStabilizedException = _NotStabilizedException;
490
- var _NotUpdatableException = class _NotUpdatableException extends CloudControlServiceException {
520
+ var NotUpdatableException = class _NotUpdatableException extends CloudControlServiceException {
521
+ static {
522
+ __name(this, "NotUpdatableException");
523
+ }
524
+ name = "NotUpdatableException";
525
+ $fault = "client";
526
+ Message;
491
527
  /**
492
528
  * @internal
493
529
  */
@@ -497,15 +533,17 @@ var _NotUpdatableException = class _NotUpdatableException extends CloudControlSe
497
533
  $fault: "client",
498
534
  ...opts
499
535
  });
500
- this.name = "NotUpdatableException";
501
- this.$fault = "client";
502
536
  Object.setPrototypeOf(this, _NotUpdatableException.prototype);
503
537
  this.Message = opts.Message;
504
538
  }
505
539
  };
506
- __name(_NotUpdatableException, "NotUpdatableException");
507
- var NotUpdatableException = _NotUpdatableException;
508
- var _PrivateTypeException = class _PrivateTypeException extends CloudControlServiceException {
540
+ var PrivateTypeException = class _PrivateTypeException extends CloudControlServiceException {
541
+ static {
542
+ __name(this, "PrivateTypeException");
543
+ }
544
+ name = "PrivateTypeException";
545
+ $fault = "client";
546
+ Message;
509
547
  /**
510
548
  * @internal
511
549
  */
@@ -515,15 +553,17 @@ var _PrivateTypeException = class _PrivateTypeException extends CloudControlServ
515
553
  $fault: "client",
516
554
  ...opts
517
555
  });
518
- this.name = "PrivateTypeException";
519
- this.$fault = "client";
520
556
  Object.setPrototypeOf(this, _PrivateTypeException.prototype);
521
557
  this.Message = opts.Message;
522
558
  }
523
559
  };
524
- __name(_PrivateTypeException, "PrivateTypeException");
525
- var PrivateTypeException = _PrivateTypeException;
526
- var _ResourceConflictException = class _ResourceConflictException extends CloudControlServiceException {
560
+ var ResourceConflictException = class _ResourceConflictException extends CloudControlServiceException {
561
+ static {
562
+ __name(this, "ResourceConflictException");
563
+ }
564
+ name = "ResourceConflictException";
565
+ $fault = "client";
566
+ Message;
527
567
  /**
528
568
  * @internal
529
569
  */
@@ -533,15 +573,17 @@ var _ResourceConflictException = class _ResourceConflictException extends CloudC
533
573
  $fault: "client",
534
574
  ...opts
535
575
  });
536
- this.name = "ResourceConflictException";
537
- this.$fault = "client";
538
576
  Object.setPrototypeOf(this, _ResourceConflictException.prototype);
539
577
  this.Message = opts.Message;
540
578
  }
541
579
  };
542
- __name(_ResourceConflictException, "ResourceConflictException");
543
- var ResourceConflictException = _ResourceConflictException;
544
- var _ResourceNotFoundException = class _ResourceNotFoundException extends CloudControlServiceException {
580
+ var ResourceNotFoundException = class _ResourceNotFoundException extends CloudControlServiceException {
581
+ static {
582
+ __name(this, "ResourceNotFoundException");
583
+ }
584
+ name = "ResourceNotFoundException";
585
+ $fault = "client";
586
+ Message;
545
587
  /**
546
588
  * @internal
547
589
  */
@@ -551,15 +593,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends CloudC
551
593
  $fault: "client",
552
594
  ...opts
553
595
  });
554
- this.name = "ResourceNotFoundException";
555
- this.$fault = "client";
556
596
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
557
597
  this.Message = opts.Message;
558
598
  }
559
599
  };
560
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
561
- var ResourceNotFoundException = _ResourceNotFoundException;
562
- var _ServiceInternalErrorException = class _ServiceInternalErrorException extends CloudControlServiceException {
600
+ var ServiceInternalErrorException = class _ServiceInternalErrorException extends CloudControlServiceException {
601
+ static {
602
+ __name(this, "ServiceInternalErrorException");
603
+ }
604
+ name = "ServiceInternalErrorException";
605
+ $fault = "server";
606
+ Message;
563
607
  /**
564
608
  * @internal
565
609
  */
@@ -569,15 +613,17 @@ var _ServiceInternalErrorException = class _ServiceInternalErrorException extend
569
613
  $fault: "server",
570
614
  ...opts
571
615
  });
572
- this.name = "ServiceInternalErrorException";
573
- this.$fault = "server";
574
616
  Object.setPrototypeOf(this, _ServiceInternalErrorException.prototype);
575
617
  this.Message = opts.Message;
576
618
  }
577
619
  };
578
- __name(_ServiceInternalErrorException, "ServiceInternalErrorException");
579
- var ServiceInternalErrorException = _ServiceInternalErrorException;
580
- var _ServiceLimitExceededException = class _ServiceLimitExceededException extends CloudControlServiceException {
620
+ var ServiceLimitExceededException = class _ServiceLimitExceededException extends CloudControlServiceException {
621
+ static {
622
+ __name(this, "ServiceLimitExceededException");
623
+ }
624
+ name = "ServiceLimitExceededException";
625
+ $fault = "client";
626
+ Message;
581
627
  /**
582
628
  * @internal
583
629
  */
@@ -587,15 +633,17 @@ var _ServiceLimitExceededException = class _ServiceLimitExceededException extend
587
633
  $fault: "client",
588
634
  ...opts
589
635
  });
590
- this.name = "ServiceLimitExceededException";
591
- this.$fault = "client";
592
636
  Object.setPrototypeOf(this, _ServiceLimitExceededException.prototype);
593
637
  this.Message = opts.Message;
594
638
  }
595
639
  };
596
- __name(_ServiceLimitExceededException, "ServiceLimitExceededException");
597
- var ServiceLimitExceededException = _ServiceLimitExceededException;
598
- var _ThrottlingException = class _ThrottlingException extends CloudControlServiceException {
640
+ var ThrottlingException = class _ThrottlingException extends CloudControlServiceException {
641
+ static {
642
+ __name(this, "ThrottlingException");
643
+ }
644
+ name = "ThrottlingException";
645
+ $fault = "client";
646
+ Message;
599
647
  /**
600
648
  * @internal
601
649
  */
@@ -605,15 +653,17 @@ var _ThrottlingException = class _ThrottlingException extends CloudControlServic
605
653
  $fault: "client",
606
654
  ...opts
607
655
  });
608
- this.name = "ThrottlingException";
609
- this.$fault = "client";
610
656
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
611
657
  this.Message = opts.Message;
612
658
  }
613
659
  };
614
- __name(_ThrottlingException, "ThrottlingException");
615
- var ThrottlingException = _ThrottlingException;
616
- var _TypeNotFoundException = class _TypeNotFoundException extends CloudControlServiceException {
660
+ var TypeNotFoundException = class _TypeNotFoundException extends CloudControlServiceException {
661
+ static {
662
+ __name(this, "TypeNotFoundException");
663
+ }
664
+ name = "TypeNotFoundException";
665
+ $fault = "client";
666
+ Message;
617
667
  /**
618
668
  * @internal
619
669
  */
@@ -623,15 +673,17 @@ var _TypeNotFoundException = class _TypeNotFoundException extends CloudControlSe
623
673
  $fault: "client",
624
674
  ...opts
625
675
  });
626
- this.name = "TypeNotFoundException";
627
- this.$fault = "client";
628
676
  Object.setPrototypeOf(this, _TypeNotFoundException.prototype);
629
677
  this.Message = opts.Message;
630
678
  }
631
679
  };
632
- __name(_TypeNotFoundException, "TypeNotFoundException");
633
- var TypeNotFoundException = _TypeNotFoundException;
634
- var _UnsupportedActionException = class _UnsupportedActionException extends CloudControlServiceException {
680
+ var UnsupportedActionException = class _UnsupportedActionException extends CloudControlServiceException {
681
+ static {
682
+ __name(this, "UnsupportedActionException");
683
+ }
684
+ name = "UnsupportedActionException";
685
+ $fault = "client";
686
+ Message;
635
687
  /**
636
688
  * @internal
637
689
  */
@@ -641,14 +693,10 @@ var _UnsupportedActionException = class _UnsupportedActionException extends Clou
641
693
  $fault: "client",
642
694
  ...opts
643
695
  });
644
- this.name = "UnsupportedActionException";
645
- this.$fault = "client";
646
696
  Object.setPrototypeOf(this, _UnsupportedActionException.prototype);
647
697
  this.Message = opts.Message;
648
698
  }
649
699
  };
650
- __name(_UnsupportedActionException, "UnsupportedActionException");
651
- var UnsupportedActionException = _UnsupportedActionException;
652
700
  var ProgressEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
653
701
  ...obj,
654
702
  ...obj.ResourceModel && { ResourceModel: import_smithy_client.SENSITIVE_STRING }
@@ -1268,113 +1316,121 @@ function sharedHeaders(operation) {
1268
1316
  __name(sharedHeaders, "sharedHeaders");
1269
1317
 
1270
1318
  // src/commands/CancelResourceRequestCommand.ts
1271
- var _CancelResourceRequestCommand = class _CancelResourceRequestCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1319
+ var CancelResourceRequestCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1272
1320
  return [
1273
1321
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1274
1322
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1275
1323
  ];
1276
1324
  }).s("CloudApiService", "CancelResourceRequest", {}).n("CloudControlClient", "CancelResourceRequestCommand").f(void 0, CancelResourceRequestOutputFilterSensitiveLog).ser(se_CancelResourceRequestCommand).de(de_CancelResourceRequestCommand).build() {
1325
+ static {
1326
+ __name(this, "CancelResourceRequestCommand");
1327
+ }
1277
1328
  };
1278
- __name(_CancelResourceRequestCommand, "CancelResourceRequestCommand");
1279
- var CancelResourceRequestCommand = _CancelResourceRequestCommand;
1280
1329
 
1281
1330
  // src/commands/CreateResourceCommand.ts
1282
1331
 
1283
1332
 
1284
1333
 
1285
- var _CreateResourceCommand = class _CreateResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1334
+ var CreateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1286
1335
  return [
1287
1336
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1288
1337
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1289
1338
  ];
1290
1339
  }).s("CloudApiService", "CreateResource", {}).n("CloudControlClient", "CreateResourceCommand").f(CreateResourceInputFilterSensitiveLog, CreateResourceOutputFilterSensitiveLog).ser(se_CreateResourceCommand).de(de_CreateResourceCommand).build() {
1340
+ static {
1341
+ __name(this, "CreateResourceCommand");
1342
+ }
1291
1343
  };
1292
- __name(_CreateResourceCommand, "CreateResourceCommand");
1293
- var CreateResourceCommand = _CreateResourceCommand;
1294
1344
 
1295
1345
  // src/commands/DeleteResourceCommand.ts
1296
1346
 
1297
1347
 
1298
1348
 
1299
- var _DeleteResourceCommand = class _DeleteResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1349
+ var DeleteResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1300
1350
  return [
1301
1351
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1302
1352
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1303
1353
  ];
1304
1354
  }).s("CloudApiService", "DeleteResource", {}).n("CloudControlClient", "DeleteResourceCommand").f(void 0, DeleteResourceOutputFilterSensitiveLog).ser(se_DeleteResourceCommand).de(de_DeleteResourceCommand).build() {
1355
+ static {
1356
+ __name(this, "DeleteResourceCommand");
1357
+ }
1305
1358
  };
1306
- __name(_DeleteResourceCommand, "DeleteResourceCommand");
1307
- var DeleteResourceCommand = _DeleteResourceCommand;
1308
1359
 
1309
1360
  // src/commands/GetResourceCommand.ts
1310
1361
 
1311
1362
 
1312
1363
 
1313
- var _GetResourceCommand = class _GetResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1364
+ var GetResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1314
1365
  return [
1315
1366
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1316
1367
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1317
1368
  ];
1318
1369
  }).s("CloudApiService", "GetResource", {}).n("CloudControlClient", "GetResourceCommand").f(void 0, GetResourceOutputFilterSensitiveLog).ser(se_GetResourceCommand).de(de_GetResourceCommand).build() {
1370
+ static {
1371
+ __name(this, "GetResourceCommand");
1372
+ }
1319
1373
  };
1320
- __name(_GetResourceCommand, "GetResourceCommand");
1321
- var GetResourceCommand = _GetResourceCommand;
1322
1374
 
1323
1375
  // src/commands/GetResourceRequestStatusCommand.ts
1324
1376
 
1325
1377
 
1326
1378
 
1327
- var _GetResourceRequestStatusCommand = class _GetResourceRequestStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1379
+ var GetResourceRequestStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1328
1380
  return [
1329
1381
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1330
1382
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1331
1383
  ];
1332
1384
  }).s("CloudApiService", "GetResourceRequestStatus", {}).n("CloudControlClient", "GetResourceRequestStatusCommand").f(void 0, GetResourceRequestStatusOutputFilterSensitiveLog).ser(se_GetResourceRequestStatusCommand).de(de_GetResourceRequestStatusCommand).build() {
1385
+ static {
1386
+ __name(this, "GetResourceRequestStatusCommand");
1387
+ }
1333
1388
  };
1334
- __name(_GetResourceRequestStatusCommand, "GetResourceRequestStatusCommand");
1335
- var GetResourceRequestStatusCommand = _GetResourceRequestStatusCommand;
1336
1389
 
1337
1390
  // src/commands/ListResourceRequestsCommand.ts
1338
1391
 
1339
1392
 
1340
1393
 
1341
- var _ListResourceRequestsCommand = class _ListResourceRequestsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1394
+ var ListResourceRequestsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1342
1395
  return [
1343
1396
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1344
1397
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1345
1398
  ];
1346
1399
  }).s("CloudApiService", "ListResourceRequests", {}).n("CloudControlClient", "ListResourceRequestsCommand").f(void 0, ListResourceRequestsOutputFilterSensitiveLog).ser(se_ListResourceRequestsCommand).de(de_ListResourceRequestsCommand).build() {
1400
+ static {
1401
+ __name(this, "ListResourceRequestsCommand");
1402
+ }
1347
1403
  };
1348
- __name(_ListResourceRequestsCommand, "ListResourceRequestsCommand");
1349
- var ListResourceRequestsCommand = _ListResourceRequestsCommand;
1350
1404
 
1351
1405
  // src/commands/ListResourcesCommand.ts
1352
1406
 
1353
1407
 
1354
1408
 
1355
- var _ListResourcesCommand = class _ListResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1409
+ var ListResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1356
1410
  return [
1357
1411
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1358
1412
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1359
1413
  ];
1360
1414
  }).s("CloudApiService", "ListResources", {}).n("CloudControlClient", "ListResourcesCommand").f(ListResourcesInputFilterSensitiveLog, ListResourcesOutputFilterSensitiveLog).ser(se_ListResourcesCommand).de(de_ListResourcesCommand).build() {
1415
+ static {
1416
+ __name(this, "ListResourcesCommand");
1417
+ }
1361
1418
  };
1362
- __name(_ListResourcesCommand, "ListResourcesCommand");
1363
- var ListResourcesCommand = _ListResourcesCommand;
1364
1419
 
1365
1420
  // src/commands/UpdateResourceCommand.ts
1366
1421
 
1367
1422
 
1368
1423
 
1369
- var _UpdateResourceCommand = class _UpdateResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1424
+ var UpdateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1370
1425
  return [
1371
1426
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1372
1427
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1373
1428
  ];
1374
1429
  }).s("CloudApiService", "UpdateResource", {}).n("CloudControlClient", "UpdateResourceCommand").f(UpdateResourceInputFilterSensitiveLog, UpdateResourceOutputFilterSensitiveLog).ser(se_UpdateResourceCommand).de(de_UpdateResourceCommand).build() {
1430
+ static {
1431
+ __name(this, "UpdateResourceCommand");
1432
+ }
1375
1433
  };
1376
- __name(_UpdateResourceCommand, "UpdateResourceCommand");
1377
- var UpdateResourceCommand = _UpdateResourceCommand;
1378
1434
 
1379
1435
  // src/CloudControl.ts
1380
1436
  var commands = {
@@ -1387,10 +1443,11 @@ var commands = {
1387
1443
  ListResourcesCommand,
1388
1444
  UpdateResourceCommand
1389
1445
  };
1390
- var _CloudControl = class _CloudControl extends CloudControlClient {
1446
+ var CloudControl = class extends CloudControlClient {
1447
+ static {
1448
+ __name(this, "CloudControl");
1449
+ }
1391
1450
  };
1392
- __name(_CloudControl, "CloudControl");
1393
- var CloudControl = _CloudControl;
1394
1451
  (0, import_smithy_client.createAggregatedClient)(commands, CloudControl);
1395
1452
 
1396
1453
  // src/pagination/ListResourceRequestsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class CloudControlClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { CloudControlServiceException as __BaseException } from "./CloudControlServiceException";
3
3
  export class AlreadyExistsException extends __BaseException {
4
+ name = "AlreadyExistsException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AlreadyExistsException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AlreadyExistsException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AlreadyExistsException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
@@ -45,261 +46,281 @@ export const OperationStatus = {
45
46
  SUCCESS: "SUCCESS",
46
47
  };
47
48
  export class ConcurrentModificationException extends __BaseException {
49
+ name = "ConcurrentModificationException";
50
+ $fault = "server";
51
+ Message;
48
52
  constructor(opts) {
49
53
  super({
50
54
  name: "ConcurrentModificationException",
51
55
  $fault: "server",
52
56
  ...opts,
53
57
  });
54
- this.name = "ConcurrentModificationException";
55
- this.$fault = "server";
56
58
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
57
59
  this.Message = opts.Message;
58
60
  }
59
61
  }
60
62
  export class RequestTokenNotFoundException extends __BaseException {
63
+ name = "RequestTokenNotFoundException";
64
+ $fault = "client";
65
+ Message;
61
66
  constructor(opts) {
62
67
  super({
63
68
  name: "RequestTokenNotFoundException",
64
69
  $fault: "client",
65
70
  ...opts,
66
71
  });
67
- this.name = "RequestTokenNotFoundException";
68
- this.$fault = "client";
69
72
  Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
70
73
  this.Message = opts.Message;
71
74
  }
72
75
  }
73
76
  export class ClientTokenConflictException extends __BaseException {
77
+ name = "ClientTokenConflictException";
78
+ $fault = "client";
79
+ Message;
74
80
  constructor(opts) {
75
81
  super({
76
82
  name: "ClientTokenConflictException",
77
83
  $fault: "client",
78
84
  ...opts,
79
85
  });
80
- this.name = "ClientTokenConflictException";
81
- this.$fault = "client";
82
86
  Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
83
87
  this.Message = opts.Message;
84
88
  }
85
89
  }
86
90
  export class ConcurrentOperationException extends __BaseException {
91
+ name = "ConcurrentOperationException";
92
+ $fault = "client";
93
+ Message;
87
94
  constructor(opts) {
88
95
  super({
89
96
  name: "ConcurrentOperationException",
90
97
  $fault: "client",
91
98
  ...opts,
92
99
  });
93
- this.name = "ConcurrentOperationException";
94
- this.$fault = "client";
95
100
  Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
96
101
  this.Message = opts.Message;
97
102
  }
98
103
  }
99
104
  export class GeneralServiceException extends __BaseException {
105
+ name = "GeneralServiceException";
106
+ $fault = "client";
107
+ Message;
100
108
  constructor(opts) {
101
109
  super({
102
110
  name: "GeneralServiceException",
103
111
  $fault: "client",
104
112
  ...opts,
105
113
  });
106
- this.name = "GeneralServiceException";
107
- this.$fault = "client";
108
114
  Object.setPrototypeOf(this, GeneralServiceException.prototype);
109
115
  this.Message = opts.Message;
110
116
  }
111
117
  }
112
118
  export class HandlerFailureException extends __BaseException {
119
+ name = "HandlerFailureException";
120
+ $fault = "server";
121
+ Message;
113
122
  constructor(opts) {
114
123
  super({
115
124
  name: "HandlerFailureException",
116
125
  $fault: "server",
117
126
  ...opts,
118
127
  });
119
- this.name = "HandlerFailureException";
120
- this.$fault = "server";
121
128
  Object.setPrototypeOf(this, HandlerFailureException.prototype);
122
129
  this.Message = opts.Message;
123
130
  }
124
131
  }
125
132
  export class HandlerInternalFailureException extends __BaseException {
133
+ name = "HandlerInternalFailureException";
134
+ $fault = "server";
135
+ Message;
126
136
  constructor(opts) {
127
137
  super({
128
138
  name: "HandlerInternalFailureException",
129
139
  $fault: "server",
130
140
  ...opts,
131
141
  });
132
- this.name = "HandlerInternalFailureException";
133
- this.$fault = "server";
134
142
  Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
135
143
  this.Message = opts.Message;
136
144
  }
137
145
  }
138
146
  export class InvalidCredentialsException extends __BaseException {
147
+ name = "InvalidCredentialsException";
148
+ $fault = "client";
149
+ Message;
139
150
  constructor(opts) {
140
151
  super({
141
152
  name: "InvalidCredentialsException",
142
153
  $fault: "client",
143
154
  ...opts,
144
155
  });
145
- this.name = "InvalidCredentialsException";
146
- this.$fault = "client";
147
156
  Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
148
157
  this.Message = opts.Message;
149
158
  }
150
159
  }
151
160
  export class InvalidRequestException extends __BaseException {
161
+ name = "InvalidRequestException";
162
+ $fault = "client";
163
+ Message;
152
164
  constructor(opts) {
153
165
  super({
154
166
  name: "InvalidRequestException",
155
167
  $fault: "client",
156
168
  ...opts,
157
169
  });
158
- this.name = "InvalidRequestException";
159
- this.$fault = "client";
160
170
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
161
171
  this.Message = opts.Message;
162
172
  }
163
173
  }
164
174
  export class NetworkFailureException extends __BaseException {
175
+ name = "NetworkFailureException";
176
+ $fault = "server";
177
+ Message;
165
178
  constructor(opts) {
166
179
  super({
167
180
  name: "NetworkFailureException",
168
181
  $fault: "server",
169
182
  ...opts,
170
183
  });
171
- this.name = "NetworkFailureException";
172
- this.$fault = "server";
173
184
  Object.setPrototypeOf(this, NetworkFailureException.prototype);
174
185
  this.Message = opts.Message;
175
186
  }
176
187
  }
177
188
  export class NotStabilizedException extends __BaseException {
189
+ name = "NotStabilizedException";
190
+ $fault = "client";
191
+ Message;
178
192
  constructor(opts) {
179
193
  super({
180
194
  name: "NotStabilizedException",
181
195
  $fault: "client",
182
196
  ...opts,
183
197
  });
184
- this.name = "NotStabilizedException";
185
- this.$fault = "client";
186
198
  Object.setPrototypeOf(this, NotStabilizedException.prototype);
187
199
  this.Message = opts.Message;
188
200
  }
189
201
  }
190
202
  export class NotUpdatableException extends __BaseException {
203
+ name = "NotUpdatableException";
204
+ $fault = "client";
205
+ Message;
191
206
  constructor(opts) {
192
207
  super({
193
208
  name: "NotUpdatableException",
194
209
  $fault: "client",
195
210
  ...opts,
196
211
  });
197
- this.name = "NotUpdatableException";
198
- this.$fault = "client";
199
212
  Object.setPrototypeOf(this, NotUpdatableException.prototype);
200
213
  this.Message = opts.Message;
201
214
  }
202
215
  }
203
216
  export class PrivateTypeException extends __BaseException {
217
+ name = "PrivateTypeException";
218
+ $fault = "client";
219
+ Message;
204
220
  constructor(opts) {
205
221
  super({
206
222
  name: "PrivateTypeException",
207
223
  $fault: "client",
208
224
  ...opts,
209
225
  });
210
- this.name = "PrivateTypeException";
211
- this.$fault = "client";
212
226
  Object.setPrototypeOf(this, PrivateTypeException.prototype);
213
227
  this.Message = opts.Message;
214
228
  }
215
229
  }
216
230
  export class ResourceConflictException extends __BaseException {
231
+ name = "ResourceConflictException";
232
+ $fault = "client";
233
+ Message;
217
234
  constructor(opts) {
218
235
  super({
219
236
  name: "ResourceConflictException",
220
237
  $fault: "client",
221
238
  ...opts,
222
239
  });
223
- this.name = "ResourceConflictException";
224
- this.$fault = "client";
225
240
  Object.setPrototypeOf(this, ResourceConflictException.prototype);
226
241
  this.Message = opts.Message;
227
242
  }
228
243
  }
229
244
  export class ResourceNotFoundException extends __BaseException {
245
+ name = "ResourceNotFoundException";
246
+ $fault = "client";
247
+ Message;
230
248
  constructor(opts) {
231
249
  super({
232
250
  name: "ResourceNotFoundException",
233
251
  $fault: "client",
234
252
  ...opts,
235
253
  });
236
- this.name = "ResourceNotFoundException";
237
- this.$fault = "client";
238
254
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
239
255
  this.Message = opts.Message;
240
256
  }
241
257
  }
242
258
  export class ServiceInternalErrorException extends __BaseException {
259
+ name = "ServiceInternalErrorException";
260
+ $fault = "server";
261
+ Message;
243
262
  constructor(opts) {
244
263
  super({
245
264
  name: "ServiceInternalErrorException",
246
265
  $fault: "server",
247
266
  ...opts,
248
267
  });
249
- this.name = "ServiceInternalErrorException";
250
- this.$fault = "server";
251
268
  Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
252
269
  this.Message = opts.Message;
253
270
  }
254
271
  }
255
272
  export class ServiceLimitExceededException extends __BaseException {
273
+ name = "ServiceLimitExceededException";
274
+ $fault = "client";
275
+ Message;
256
276
  constructor(opts) {
257
277
  super({
258
278
  name: "ServiceLimitExceededException",
259
279
  $fault: "client",
260
280
  ...opts,
261
281
  });
262
- this.name = "ServiceLimitExceededException";
263
- this.$fault = "client";
264
282
  Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
265
283
  this.Message = opts.Message;
266
284
  }
267
285
  }
268
286
  export class ThrottlingException extends __BaseException {
287
+ name = "ThrottlingException";
288
+ $fault = "client";
289
+ Message;
269
290
  constructor(opts) {
270
291
  super({
271
292
  name: "ThrottlingException",
272
293
  $fault: "client",
273
294
  ...opts,
274
295
  });
275
- this.name = "ThrottlingException";
276
- this.$fault = "client";
277
296
  Object.setPrototypeOf(this, ThrottlingException.prototype);
278
297
  this.Message = opts.Message;
279
298
  }
280
299
  }
281
300
  export class TypeNotFoundException extends __BaseException {
301
+ name = "TypeNotFoundException";
302
+ $fault = "client";
303
+ Message;
282
304
  constructor(opts) {
283
305
  super({
284
306
  name: "TypeNotFoundException",
285
307
  $fault: "client",
286
308
  ...opts,
287
309
  });
288
- this.name = "TypeNotFoundException";
289
- this.$fault = "client";
290
310
  Object.setPrototypeOf(this, TypeNotFoundException.prototype);
291
311
  this.Message = opts.Message;
292
312
  }
293
313
  }
294
314
  export class UnsupportedActionException extends __BaseException {
315
+ name = "UnsupportedActionException";
316
+ $fault = "client";
317
+ Message;
295
318
  constructor(opts) {
296
319
  super({
297
320
  name: "UnsupportedActionException",
298
321
  $fault: "client",
299
322
  ...opts,
300
323
  });
301
- this.name = "UnsupportedActionException";
302
- this.$fault = "client";
303
324
  Object.setPrototypeOf(this, UnsupportedActionException.prototype);
304
325
  this.Message = opts.Message;
305
326
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudcontrol",
3
3
  "description": "AWS SDK for JavaScript Cloudcontrol Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudcontrol",
@@ -20,59 +20,59 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
+ "@smithy/util-waiter": "^4.0.0",
62
62
  "@types/uuid": "^9.0.1",
63
63
  "tslib": "^2.6.2",
64
64
  "uuid": "^9.0.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@tsconfig/node16": "16.1.3",
68
- "@types/node": "^16.18.96",
67
+ "@tsconfig/node18": "18.2.4",
68
+ "@types/node": "^18.19.69",
69
69
  "concurrently": "7.0.0",
70
70
  "downlevel-dts": "0.10.1",
71
71
  "rimraf": "3.0.2",
72
- "typescript": "~4.9.5"
72
+ "typescript": "~5.2.2"
73
73
  },
74
74
  "engines": {
75
- "node": ">=16.0.0"
75
+ "node": ">=18.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {