@aws-sdk/client-cloudcontrol 3.957.0 → 3.958.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/README.md CHANGED
@@ -10,10 +10,8 @@ AWS SDK for JavaScript CloudControl Client for Node.js, Browser and React Native
10
10
  Guide</a>.</p>
11
11
 
12
12
  ## Installing
13
-
14
13
  To install this package, simply type add or install @aws-sdk/client-cloudcontrol
15
14
  using your favorite package manager:
16
-
17
15
  - `npm install @aws-sdk/client-cloudcontrol`
18
16
  - `yarn add @aws-sdk/client-cloudcontrol`
19
17
  - `pnpm add @aws-sdk/client-cloudcontrol`
@@ -49,9 +47,7 @@ To send a request, you:
49
47
  // a client can be shared by different commands.
50
48
  const client = new CloudControlClient({ region: "REGION" });
51
49
 
52
- const params = {
53
- /** input parameters */
54
- };
50
+ const params = { /** input parameters */ };
55
51
  const command = new ListResourceRequestsCommand(params);
56
52
  ```
57
53
 
@@ -210,7 +206,6 @@ CancelResourceRequest
210
206
  </summary>
211
207
 
212
208
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/CancelResourceRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/CancelResourceRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/CancelResourceRequestCommandOutput/)
213
-
214
209
  </details>
215
210
  <details>
216
211
  <summary>
@@ -218,7 +213,6 @@ CreateResource
218
213
  </summary>
219
214
 
220
215
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/CreateResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/CreateResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/CreateResourceCommandOutput/)
221
-
222
216
  </details>
223
217
  <details>
224
218
  <summary>
@@ -226,7 +220,6 @@ DeleteResource
226
220
  </summary>
227
221
 
228
222
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/DeleteResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/DeleteResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/DeleteResourceCommandOutput/)
229
-
230
223
  </details>
231
224
  <details>
232
225
  <summary>
@@ -234,7 +227,6 @@ GetResource
234
227
  </summary>
235
228
 
236
229
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/GetResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/GetResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/GetResourceCommandOutput/)
237
-
238
230
  </details>
239
231
  <details>
240
232
  <summary>
@@ -242,7 +234,6 @@ GetResourceRequestStatus
242
234
  </summary>
243
235
 
244
236
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/GetResourceRequestStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/GetResourceRequestStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/GetResourceRequestStatusCommandOutput/)
245
-
246
237
  </details>
247
238
  <details>
248
239
  <summary>
@@ -250,7 +241,6 @@ ListResourceRequests
250
241
  </summary>
251
242
 
252
243
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/ListResourceRequestsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/ListResourceRequestsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/ListResourceRequestsCommandOutput/)
253
-
254
244
  </details>
255
245
  <details>
256
246
  <summary>
@@ -258,7 +248,6 @@ ListResources
258
248
  </summary>
259
249
 
260
250
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/ListResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/ListResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/ListResourcesCommandOutput/)
261
-
262
251
  </details>
263
252
  <details>
264
253
  <summary>
@@ -266,5 +255,4 @@ UpdateResource
266
255
  </summary>
267
256
 
268
257
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudcontrol/command/UpdateResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/UpdateResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudcontrol/Interface/UpdateResourceCommandOutput/)
269
-
270
258
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultCloudControlHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultCloudControlHttpAuthSchemeParametersProvider = defaultCloudControlHttpAuthSchemeParametersProvider;
package/dist-cjs/index.js CHANGED
@@ -504,353 +504,268 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudcontrol";
504
504
  const n0 = "com.amazonaws.cloudcontrol";
505
505
  var PatchDocument = [0, n0, _PD, 8, 0];
506
506
  var Properties = [0, n0, _P, 8, 0];
507
- var AlreadyExistsException$ = [
508
- -3,
509
- n0,
510
- _AEE,
507
+ var AlreadyExistsException$ = [-3, n0, _AEE,
511
508
  { [_aQE]: [`AlreadyExistsException`, 400], [_e]: _c, [_hE]: 400 },
512
509
  [_M],
513
- [0],
510
+ [0]
514
511
  ];
515
512
  schema.TypeRegistry.for(n0).registerError(AlreadyExistsException$, AlreadyExistsException);
516
- var CancelResourceRequestInput$ = [3, n0, _CRRI, 0, [_RT], [0]];
517
- var CancelResourceRequestOutput$ = [3, n0, _CRRO, 0, [_PE], [[() => ProgressEvent$, 0]]];
518
- var ClientTokenConflictException$ = [
519
- -3,
520
- n0,
521
- _CTCE,
513
+ var CancelResourceRequestInput$ = [3, n0, _CRRI,
514
+ 0,
515
+ [_RT],
516
+ [0]
517
+ ];
518
+ var CancelResourceRequestOutput$ = [3, n0, _CRRO,
519
+ 0,
520
+ [_PE],
521
+ [[() => ProgressEvent$, 0]]
522
+ ];
523
+ var ClientTokenConflictException$ = [-3, n0, _CTCE,
522
524
  { [_aQE]: [`ClientTokenConflictException`, 409], [_e]: _c, [_hE]: 409 },
523
525
  [_M],
524
- [0],
526
+ [0]
525
527
  ];
526
528
  schema.TypeRegistry.for(n0).registerError(ClientTokenConflictException$, ClientTokenConflictException);
527
- var ConcurrentModificationException$ = [
528
- -3,
529
- n0,
530
- _CME,
529
+ var ConcurrentModificationException$ = [-3, n0, _CME,
531
530
  { [_aQE]: [`ConcurrentModificationException`, 500], [_e]: _s, [_hE]: 500 },
532
531
  [_M],
533
- [0],
532
+ [0]
534
533
  ];
535
534
  schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
536
- var ConcurrentOperationException$ = [
537
- -3,
538
- n0,
539
- _COE,
535
+ var ConcurrentOperationException$ = [-3, n0, _COE,
540
536
  { [_aQE]: [`ConcurrentOperationException`, 409], [_e]: _c, [_hE]: 409 },
541
537
  [_M],
542
- [0],
538
+ [0]
543
539
  ];
544
540
  schema.TypeRegistry.for(n0).registerError(ConcurrentOperationException$, ConcurrentOperationException);
545
- var CreateResourceInput$ = [
546
- 3,
547
- n0,
548
- _CRI,
541
+ var CreateResourceInput$ = [3, n0, _CRI,
549
542
  0,
550
543
  [_TN, _TVI, _RA, _CT, _DS],
551
- [0, 0, 0, [0, 4], [() => Properties, 0]],
544
+ [0, 0, 0, [0, 4], [() => Properties, 0]]
552
545
  ];
553
- var CreateResourceOutput$ = [3, n0, _CRO, 0, [_PE], [[() => ProgressEvent$, 0]]];
554
- var DeleteResourceInput$ = [
555
- 3,
556
- n0,
557
- _DRI,
546
+ var CreateResourceOutput$ = [3, n0, _CRO,
547
+ 0,
548
+ [_PE],
549
+ [[() => ProgressEvent$, 0]]
550
+ ];
551
+ var DeleteResourceInput$ = [3, n0, _DRI,
558
552
  0,
559
553
  [_TN, _TVI, _RA, _CT, _I],
560
- [0, 0, 0, [0, 4], 0],
554
+ [0, 0, 0, [0, 4], 0]
555
+ ];
556
+ var DeleteResourceOutput$ = [3, n0, _DRO,
557
+ 0,
558
+ [_PE],
559
+ [[() => ProgressEvent$, 0]]
561
560
  ];
562
- var DeleteResourceOutput$ = [3, n0, _DRO, 0, [_PE], [[() => ProgressEvent$, 0]]];
563
- var GeneralServiceException$ = [
564
- -3,
565
- n0,
566
- _GSE,
561
+ var GeneralServiceException$ = [-3, n0, _GSE,
567
562
  { [_aQE]: [`GeneralServiceException`, 400], [_e]: _c, [_hE]: 400 },
568
563
  [_M],
569
- [0],
564
+ [0]
570
565
  ];
571
566
  schema.TypeRegistry.for(n0).registerError(GeneralServiceException$, GeneralServiceException);
572
- var GetResourceInput$ = [3, n0, _GRI, 0, [_TN, _TVI, _RA, _I], [0, 0, 0, 0]];
573
- var GetResourceOutput$ = [
574
- 3,
575
- n0,
576
- _GRO,
567
+ var GetResourceInput$ = [3, n0, _GRI,
568
+ 0,
569
+ [_TN, _TVI, _RA, _I],
570
+ [0, 0, 0, 0]
571
+ ];
572
+ var GetResourceOutput$ = [3, n0, _GRO,
577
573
  0,
578
574
  [_TN, _RD],
579
- [0, [() => ResourceDescription$, 0]],
575
+ [0, [() => ResourceDescription$, 0]]
580
576
  ];
581
- var GetResourceRequestStatusInput$ = [3, n0, _GRRSI, 0, [_RT], [0]];
582
- var GetResourceRequestStatusOutput$ = [
583
- 3,
584
- n0,
585
- _GRRSO,
577
+ var GetResourceRequestStatusInput$ = [3, n0, _GRRSI,
578
+ 0,
579
+ [_RT],
580
+ [0]
581
+ ];
582
+ var GetResourceRequestStatusOutput$ = [3, n0, _GRRSO,
586
583
  0,
587
584
  [_PE, _HPE],
588
- [[() => ProgressEvent$, 0], () => HooksProgressEvent],
585
+ [[() => ProgressEvent$, 0], () => HooksProgressEvent]
589
586
  ];
590
- var HandlerFailureException$ = [
591
- -3,
592
- n0,
593
- _HFE,
587
+ var HandlerFailureException$ = [-3, n0, _HFE,
594
588
  { [_aQE]: [`HandlerFailureException`, 502], [_e]: _s, [_hE]: 502 },
595
589
  [_M],
596
- [0],
590
+ [0]
597
591
  ];
598
592
  schema.TypeRegistry.for(n0).registerError(HandlerFailureException$, HandlerFailureException);
599
- var HandlerInternalFailureException$ = [
600
- -3,
601
- n0,
602
- _HIFE,
593
+ var HandlerInternalFailureException$ = [-3, n0, _HIFE,
603
594
  { [_aQE]: [`HandlerInternalFailureException`, 502], [_e]: _s, [_hE]: 502 },
604
595
  [_M],
605
- [0],
596
+ [0]
606
597
  ];
607
598
  schema.TypeRegistry.for(n0).registerError(HandlerInternalFailureException$, HandlerInternalFailureException);
608
- var HookProgressEvent$ = [
609
- 3,
610
- n0,
611
- _HPEo,
599
+ var HookProgressEvent$ = [3, n0, _HPEo,
612
600
  0,
613
601
  [_HTN, _HTVI, _HTA, _IP, _HS, _HET, _HSM, _FM],
614
- [0, 0, 0, 0, 0, 4, 0, 0],
602
+ [0, 0, 0, 0, 0, 4, 0, 0]
615
603
  ];
616
- var InvalidCredentialsException$ = [
617
- -3,
618
- n0,
619
- _ICE,
604
+ var InvalidCredentialsException$ = [-3, n0, _ICE,
620
605
  { [_aQE]: [`InvalidCredentialsException`, 401], [_e]: _c, [_hE]: 401 },
621
606
  [_M],
622
- [0],
607
+ [0]
623
608
  ];
624
609
  schema.TypeRegistry.for(n0).registerError(InvalidCredentialsException$, InvalidCredentialsException);
625
- var InvalidRequestException$ = [
626
- -3,
627
- n0,
628
- _IRE,
610
+ var InvalidRequestException$ = [-3, n0, _IRE,
629
611
  { [_aQE]: [`InvalidRequestException`, 400], [_e]: _c, [_hE]: 400 },
630
612
  [_M],
631
- [0],
613
+ [0]
632
614
  ];
633
615
  schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
634
- var ListResourceRequestsInput$ = [
635
- 3,
636
- n0,
637
- _LRRI,
616
+ var ListResourceRequestsInput$ = [3, n0, _LRRI,
638
617
  0,
639
618
  [_MR, _NT, _RRSF],
640
- [1, 0, () => ResourceRequestStatusFilter$],
619
+ [1, 0, () => ResourceRequestStatusFilter$]
641
620
  ];
642
- var ListResourceRequestsOutput$ = [
643
- 3,
644
- n0,
645
- _LRRO,
621
+ var ListResourceRequestsOutput$ = [3, n0, _LRRO,
646
622
  0,
647
623
  [_RRSS, _NT],
648
- [[() => ResourceRequestStatusSummaries, 0], 0],
624
+ [[() => ResourceRequestStatusSummaries, 0], 0]
649
625
  ];
650
- var ListResourcesInput$ = [
651
- 3,
652
- n0,
653
- _LRI,
626
+ var ListResourcesInput$ = [3, n0, _LRI,
654
627
  0,
655
628
  [_TN, _TVI, _RA, _NT, _MR, _RM],
656
- [0, 0, 0, 0, 1, [() => Properties, 0]],
629
+ [0, 0, 0, 0, 1, [() => Properties, 0]]
657
630
  ];
658
- var ListResourcesOutput$ = [
659
- 3,
660
- n0,
661
- _LRO,
631
+ var ListResourcesOutput$ = [3, n0, _LRO,
662
632
  0,
663
633
  [_TN, _RDe, _NT],
664
- [0, [() => ResourceDescriptions, 0], 0],
634
+ [0, [() => ResourceDescriptions, 0], 0]
665
635
  ];
666
- var NetworkFailureException$ = [
667
- -3,
668
- n0,
669
- _NFE,
636
+ var NetworkFailureException$ = [-3, n0, _NFE,
670
637
  { [_aQE]: [`NetworkFailureException`, 502], [_e]: _s, [_hE]: 502 },
671
638
  [_M],
672
- [0],
639
+ [0]
673
640
  ];
674
641
  schema.TypeRegistry.for(n0).registerError(NetworkFailureException$, NetworkFailureException);
675
- var NotStabilizedException$ = [
676
- -3,
677
- n0,
678
- _NSE,
642
+ var NotStabilizedException$ = [-3, n0, _NSE,
679
643
  { [_aQE]: [`NotStabilizedException`, 400], [_e]: _c, [_hE]: 400 },
680
644
  [_M],
681
- [0],
645
+ [0]
682
646
  ];
683
647
  schema.TypeRegistry.for(n0).registerError(NotStabilizedException$, NotStabilizedException);
684
- var NotUpdatableException$ = [
685
- -3,
686
- n0,
687
- _NUE,
648
+ var NotUpdatableException$ = [-3, n0, _NUE,
688
649
  { [_aQE]: [`NotUpdatableException`, 400], [_e]: _c, [_hE]: 400 },
689
650
  [_M],
690
- [0],
651
+ [0]
691
652
  ];
692
653
  schema.TypeRegistry.for(n0).registerError(NotUpdatableException$, NotUpdatableException);
693
- var PrivateTypeException$ = [
694
- -3,
695
- n0,
696
- _PTE,
654
+ var PrivateTypeException$ = [-3, n0, _PTE,
697
655
  { [_aQE]: [`PrivateTypeException`, 400], [_e]: _c, [_hE]: 400 },
698
656
  [_M],
699
- [0],
657
+ [0]
700
658
  ];
701
659
  schema.TypeRegistry.for(n0).registerError(PrivateTypeException$, PrivateTypeException);
702
- var ProgressEvent$ = [
703
- 3,
704
- n0,
705
- _PE,
660
+ var ProgressEvent$ = [3, n0, _PE,
706
661
  0,
707
662
  [_TN, _I, _RT, _HRT, _O, _OS, _ET, _RM, _SM, _EC, _RAe],
708
- [0, 0, 0, 0, 0, 0, 4, [() => Properties, 0], 0, 0, 4],
663
+ [0, 0, 0, 0, 0, 0, 4, [() => Properties, 0], 0, 0, 4]
709
664
  ];
710
- var RequestTokenNotFoundException$ = [
711
- -3,
712
- n0,
713
- _RTNFE,
665
+ var RequestTokenNotFoundException$ = [-3, n0, _RTNFE,
714
666
  { [_aQE]: [`RequestTokenNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
715
667
  [_M],
716
- [0],
668
+ [0]
717
669
  ];
718
670
  schema.TypeRegistry.for(n0).registerError(RequestTokenNotFoundException$, RequestTokenNotFoundException);
719
- var ResourceConflictException$ = [
720
- -3,
721
- n0,
722
- _RCE,
671
+ var ResourceConflictException$ = [-3, n0, _RCE,
723
672
  { [_aQE]: [`ResourceConflictException`, 409], [_e]: _c, [_hE]: 409 },
724
673
  [_M],
725
- [0],
674
+ [0]
726
675
  ];
727
676
  schema.TypeRegistry.for(n0).registerError(ResourceConflictException$, ResourceConflictException);
728
- var ResourceDescription$ = [3, n0, _RD, 0, [_I, _P], [0, [() => Properties, 0]]];
729
- var ResourceNotFoundException$ = [
730
- -3,
731
- n0,
732
- _RNFE,
677
+ var ResourceDescription$ = [3, n0, _RD,
678
+ 0,
679
+ [_I, _P],
680
+ [0, [() => Properties, 0]]
681
+ ];
682
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
733
683
  { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
734
684
  [_M],
735
- [0],
685
+ [0]
736
686
  ];
737
687
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
738
- var ResourceRequestStatusFilter$ = [3, n0, _RRSF, 0, [_Op, _OSp], [64 | 0, 64 | 0]];
739
- var ServiceInternalErrorException$ = [
740
- -3,
741
- n0,
742
- _SIEE,
688
+ var ResourceRequestStatusFilter$ = [3, n0, _RRSF,
689
+ 0,
690
+ [_Op, _OSp],
691
+ [64 | 0, 64 | 0]
692
+ ];
693
+ var ServiceInternalErrorException$ = [-3, n0, _SIEE,
743
694
  { [_aQE]: [`ServiceInternalErrorException`, 502], [_e]: _s, [_hE]: 502 },
744
695
  [_M],
745
- [0],
696
+ [0]
746
697
  ];
747
698
  schema.TypeRegistry.for(n0).registerError(ServiceInternalErrorException$, ServiceInternalErrorException);
748
- var ServiceLimitExceededException$ = [
749
- -3,
750
- n0,
751
- _SLEE,
699
+ var ServiceLimitExceededException$ = [-3, n0, _SLEE,
752
700
  { [_aQE]: [`ServiceLimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
753
701
  [_M],
754
- [0],
702
+ [0]
755
703
  ];
756
704
  schema.TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
757
- var ThrottlingException$ = [
758
- -3,
759
- n0,
760
- _TE,
705
+ var ThrottlingException$ = [-3, n0, _TE,
761
706
  { [_aQE]: [`ThrottlingException`, 429], [_e]: _c, [_hE]: 429 },
762
707
  [_M],
763
- [0],
708
+ [0]
764
709
  ];
765
710
  schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
766
- var TypeNotFoundException$ = [
767
- -3,
768
- n0,
769
- _TNFE,
711
+ var TypeNotFoundException$ = [-3, n0, _TNFE,
770
712
  { [_aQE]: [`TypeNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
771
713
  [_M],
772
- [0],
714
+ [0]
773
715
  ];
774
716
  schema.TypeRegistry.for(n0).registerError(TypeNotFoundException$, TypeNotFoundException);
775
- var UnsupportedActionException$ = [
776
- -3,
777
- n0,
778
- _UAE,
717
+ var UnsupportedActionException$ = [-3, n0, _UAE,
779
718
  { [_aQE]: [`UnsupportedActionException`, 405], [_e]: _c, [_hE]: 405 },
780
719
  [_M],
781
- [0],
720
+ [0]
782
721
  ];
783
722
  schema.TypeRegistry.for(n0).registerError(UnsupportedActionException$, UnsupportedActionException);
784
- var UpdateResourceInput$ = [
785
- 3,
786
- n0,
787
- _URI,
723
+ var UpdateResourceInput$ = [3, n0, _URI,
788
724
  0,
789
725
  [_TN, _TVI, _RA, _CT, _I, _PD],
790
- [0, 0, 0, [0, 4], 0, [() => PatchDocument, 0]],
726
+ [0, 0, 0, [0, 4], 0, [() => PatchDocument, 0]]
727
+ ];
728
+ var UpdateResourceOutput$ = [3, n0, _URO,
729
+ 0,
730
+ [_PE],
731
+ [[() => ProgressEvent$, 0]]
791
732
  ];
792
- var UpdateResourceOutput$ = [3, n0, _URO, 0, [_PE], [[() => ProgressEvent$, 0]]];
793
733
  var CloudControlServiceException$ = [-3, _sm, "CloudControlServiceException", 0, [], []];
794
734
  schema.TypeRegistry.for(_sm).registerError(CloudControlServiceException$, CloudControlServiceException);
795
- var HooksProgressEvent = [1, n0, _HPE, 0, () => HookProgressEvent$];
796
- var ResourceDescriptions = [1, n0, _RDe, 0, [() => ResourceDescription$, 0]];
797
- var ResourceRequestStatusSummaries = [1, n0, _RRSS, 0, [() => ProgressEvent$, 0]];
798
- var CancelResourceRequest$ = [
799
- 9,
800
- n0,
801
- _CRR,
802
- 2,
803
- () => CancelResourceRequestInput$,
804
- () => CancelResourceRequestOutput$,
735
+ var HooksProgressEvent = [1, n0, _HPE,
736
+ 0, () => HookProgressEvent$
805
737
  ];
806
- var CreateResource$ = [
807
- 9,
808
- n0,
809
- _CR,
810
- 0,
811
- () => CreateResourceInput$,
812
- () => CreateResourceOutput$,
738
+ var ResourceDescriptions = [1, n0, _RDe,
739
+ 0, [() => ResourceDescription$,
740
+ 0]
813
741
  ];
814
- var DeleteResource$ = [
815
- 9,
816
- n0,
817
- _DR,
818
- 0,
819
- () => DeleteResourceInput$,
820
- () => DeleteResourceOutput$,
742
+ var ResourceRequestStatusSummaries = [1, n0, _RRSS,
743
+ 0, [() => ProgressEvent$,
744
+ 0]
821
745
  ];
822
- var GetResource$ = [9, n0, _GR, 0, () => GetResourceInput$, () => GetResourceOutput$];
823
- var GetResourceRequestStatus$ = [
824
- 9,
825
- n0,
826
- _GRRS,
827
- 0,
828
- () => GetResourceRequestStatusInput$,
829
- () => GetResourceRequestStatusOutput$,
746
+ var CancelResourceRequest$ = [9, n0, _CRR,
747
+ 2, () => CancelResourceRequestInput$, () => CancelResourceRequestOutput$
830
748
  ];
831
- var ListResourceRequests$ = [
832
- 9,
833
- n0,
834
- _LRR,
835
- 0,
836
- () => ListResourceRequestsInput$,
837
- () => ListResourceRequestsOutput$,
749
+ var CreateResource$ = [9, n0, _CR,
750
+ 0, () => CreateResourceInput$, () => CreateResourceOutput$
838
751
  ];
839
- var ListResources$ = [
840
- 9,
841
- n0,
842
- _LR,
843
- 0,
844
- () => ListResourcesInput$,
845
- () => ListResourcesOutput$,
752
+ var DeleteResource$ = [9, n0, _DR,
753
+ 0, () => DeleteResourceInput$, () => DeleteResourceOutput$
846
754
  ];
847
- var UpdateResource$ = [
848
- 9,
849
- n0,
850
- _UR,
851
- 0,
852
- () => UpdateResourceInput$,
853
- () => UpdateResourceOutput$,
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$
854
769
  ];
855
770
 
856
771
  class CancelResourceRequestCommand extends smithyClient.Command
@@ -973,7 +888,7 @@ const checkState = async (client, input) => {
973
888
  const result = await client.send(new GetResourceRequestStatusCommand(input));
974
889
  reason = result;
975
890
  try {
976
- const returnComparator = () => {
891
+ let returnComparator = () => {
977
892
  return result.ProgressEvent.OperationStatus;
978
893
  };
979
894
  if (returnComparator() === "SUCCESS") {
@@ -982,7 +897,7 @@ const checkState = async (client, input) => {
982
897
  }
983
898
  catch (e) { }
984
899
  try {
985
- const returnComparator = () => {
900
+ let returnComparator = () => {
986
901
  return result.ProgressEvent.OperationStatus;
987
902
  };
988
903
  if (returnComparator() === "FAILED") {
@@ -991,7 +906,7 @@ const checkState = async (client, input) => {
991
906
  }
992
907
  catch (e) { }
993
908
  try {
994
- const returnComparator = () => {
909
+ let returnComparator = () => {
995
910
  return result.ProgressEvent.OperationStatus;
996
911
  };
997
912
  if (returnComparator() === "CANCEL_COMPLETE") {
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
24
24
  defaultsMode,
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
34
34
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
38
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
38
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ??
41
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
42
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
43
41
  retryMode: config?.retryMode ??
44
42
  (0, node_config_provider_1.loadConfig)({
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultCloudControlHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
- })(),
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
10
9
  };
11
10
  };
12
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
25
  region: config?.region ?? invalidProvider("Region is missing"),
27
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
4
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
30
30
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
35
34
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
- region: config?.region ??
37
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
38
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
39
37
  retryMode: config?.retryMode ??
40
38
  loadNodeConfig({
@@ -92,353 +92,268 @@ import { CloudControlServiceException } from "../models/CloudControlServiceExcep
92
92
  import { AlreadyExistsException, ClientTokenConflictException, ConcurrentModificationException, ConcurrentOperationException, GeneralServiceException, HandlerFailureException, HandlerInternalFailureException, InvalidCredentialsException, InvalidRequestException, NetworkFailureException, NotStabilizedException, NotUpdatableException, PrivateTypeException, RequestTokenNotFoundException, ResourceConflictException, ResourceNotFoundException, ServiceInternalErrorException, ServiceLimitExceededException, ThrottlingException, TypeNotFoundException, UnsupportedActionException, } from "../models/errors";
93
93
  var PatchDocument = [0, n0, _PD, 8, 0];
94
94
  var Properties = [0, n0, _P, 8, 0];
95
- export var AlreadyExistsException$ = [
96
- -3,
97
- n0,
98
- _AEE,
95
+ export var AlreadyExistsException$ = [-3, n0, _AEE,
99
96
  { [_aQE]: [`AlreadyExistsException`, 400], [_e]: _c, [_hE]: 400 },
100
97
  [_M],
101
- [0],
98
+ [0]
102
99
  ];
103
100
  TypeRegistry.for(n0).registerError(AlreadyExistsException$, AlreadyExistsException);
104
- export var CancelResourceRequestInput$ = [3, n0, _CRRI, 0, [_RT], [0]];
105
- export var CancelResourceRequestOutput$ = [3, n0, _CRRO, 0, [_PE], [[() => ProgressEvent$, 0]]];
106
- export var ClientTokenConflictException$ = [
107
- -3,
108
- n0,
109
- _CTCE,
101
+ export var CancelResourceRequestInput$ = [3, n0, _CRRI,
102
+ 0,
103
+ [_RT],
104
+ [0]
105
+ ];
106
+ export var CancelResourceRequestOutput$ = [3, n0, _CRRO,
107
+ 0,
108
+ [_PE],
109
+ [[() => ProgressEvent$, 0]]
110
+ ];
111
+ export var ClientTokenConflictException$ = [-3, n0, _CTCE,
110
112
  { [_aQE]: [`ClientTokenConflictException`, 409], [_e]: _c, [_hE]: 409 },
111
113
  [_M],
112
- [0],
114
+ [0]
113
115
  ];
114
116
  TypeRegistry.for(n0).registerError(ClientTokenConflictException$, ClientTokenConflictException);
115
- export var ConcurrentModificationException$ = [
116
- -3,
117
- n0,
118
- _CME,
117
+ export var ConcurrentModificationException$ = [-3, n0, _CME,
119
118
  { [_aQE]: [`ConcurrentModificationException`, 500], [_e]: _s, [_hE]: 500 },
120
119
  [_M],
121
- [0],
120
+ [0]
122
121
  ];
123
122
  TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
124
- export var ConcurrentOperationException$ = [
125
- -3,
126
- n0,
127
- _COE,
123
+ export var ConcurrentOperationException$ = [-3, n0, _COE,
128
124
  { [_aQE]: [`ConcurrentOperationException`, 409], [_e]: _c, [_hE]: 409 },
129
125
  [_M],
130
- [0],
126
+ [0]
131
127
  ];
132
128
  TypeRegistry.for(n0).registerError(ConcurrentOperationException$, ConcurrentOperationException);
133
- export var CreateResourceInput$ = [
134
- 3,
135
- n0,
136
- _CRI,
129
+ export var CreateResourceInput$ = [3, n0, _CRI,
137
130
  0,
138
131
  [_TN, _TVI, _RA, _CT, _DS],
139
- [0, 0, 0, [0, 4], [() => Properties, 0]],
132
+ [0, 0, 0, [0, 4], [() => Properties, 0]]
140
133
  ];
141
- export var CreateResourceOutput$ = [3, n0, _CRO, 0, [_PE], [[() => ProgressEvent$, 0]]];
142
- export var DeleteResourceInput$ = [
143
- 3,
144
- n0,
145
- _DRI,
134
+ export var CreateResourceOutput$ = [3, n0, _CRO,
135
+ 0,
136
+ [_PE],
137
+ [[() => ProgressEvent$, 0]]
138
+ ];
139
+ export var DeleteResourceInput$ = [3, n0, _DRI,
146
140
  0,
147
141
  [_TN, _TVI, _RA, _CT, _I],
148
- [0, 0, 0, [0, 4], 0],
142
+ [0, 0, 0, [0, 4], 0]
143
+ ];
144
+ export var DeleteResourceOutput$ = [3, n0, _DRO,
145
+ 0,
146
+ [_PE],
147
+ [[() => ProgressEvent$, 0]]
149
148
  ];
150
- export var DeleteResourceOutput$ = [3, n0, _DRO, 0, [_PE], [[() => ProgressEvent$, 0]]];
151
- export var GeneralServiceException$ = [
152
- -3,
153
- n0,
154
- _GSE,
149
+ export var GeneralServiceException$ = [-3, n0, _GSE,
155
150
  { [_aQE]: [`GeneralServiceException`, 400], [_e]: _c, [_hE]: 400 },
156
151
  [_M],
157
- [0],
152
+ [0]
158
153
  ];
159
154
  TypeRegistry.for(n0).registerError(GeneralServiceException$, GeneralServiceException);
160
- export var GetResourceInput$ = [3, n0, _GRI, 0, [_TN, _TVI, _RA, _I], [0, 0, 0, 0]];
161
- export var GetResourceOutput$ = [
162
- 3,
163
- n0,
164
- _GRO,
155
+ export var GetResourceInput$ = [3, n0, _GRI,
156
+ 0,
157
+ [_TN, _TVI, _RA, _I],
158
+ [0, 0, 0, 0]
159
+ ];
160
+ export var GetResourceOutput$ = [3, n0, _GRO,
165
161
  0,
166
162
  [_TN, _RD],
167
- [0, [() => ResourceDescription$, 0]],
163
+ [0, [() => ResourceDescription$, 0]]
164
+ ];
165
+ export var GetResourceRequestStatusInput$ = [3, n0, _GRRSI,
166
+ 0,
167
+ [_RT],
168
+ [0]
168
169
  ];
169
- export var GetResourceRequestStatusInput$ = [3, n0, _GRRSI, 0, [_RT], [0]];
170
- export var GetResourceRequestStatusOutput$ = [
171
- 3,
172
- n0,
173
- _GRRSO,
170
+ export var GetResourceRequestStatusOutput$ = [3, n0, _GRRSO,
174
171
  0,
175
172
  [_PE, _HPE],
176
- [[() => ProgressEvent$, 0], () => HooksProgressEvent],
173
+ [[() => ProgressEvent$, 0], () => HooksProgressEvent]
177
174
  ];
178
- export var HandlerFailureException$ = [
179
- -3,
180
- n0,
181
- _HFE,
175
+ export var HandlerFailureException$ = [-3, n0, _HFE,
182
176
  { [_aQE]: [`HandlerFailureException`, 502], [_e]: _s, [_hE]: 502 },
183
177
  [_M],
184
- [0],
178
+ [0]
185
179
  ];
186
180
  TypeRegistry.for(n0).registerError(HandlerFailureException$, HandlerFailureException);
187
- export var HandlerInternalFailureException$ = [
188
- -3,
189
- n0,
190
- _HIFE,
181
+ export var HandlerInternalFailureException$ = [-3, n0, _HIFE,
191
182
  { [_aQE]: [`HandlerInternalFailureException`, 502], [_e]: _s, [_hE]: 502 },
192
183
  [_M],
193
- [0],
184
+ [0]
194
185
  ];
195
186
  TypeRegistry.for(n0).registerError(HandlerInternalFailureException$, HandlerInternalFailureException);
196
- export var HookProgressEvent$ = [
197
- 3,
198
- n0,
199
- _HPEo,
187
+ export var HookProgressEvent$ = [3, n0, _HPEo,
200
188
  0,
201
189
  [_HTN, _HTVI, _HTA, _IP, _HS, _HET, _HSM, _FM],
202
- [0, 0, 0, 0, 0, 4, 0, 0],
190
+ [0, 0, 0, 0, 0, 4, 0, 0]
203
191
  ];
204
- export var InvalidCredentialsException$ = [
205
- -3,
206
- n0,
207
- _ICE,
192
+ export var InvalidCredentialsException$ = [-3, n0, _ICE,
208
193
  { [_aQE]: [`InvalidCredentialsException`, 401], [_e]: _c, [_hE]: 401 },
209
194
  [_M],
210
- [0],
195
+ [0]
211
196
  ];
212
197
  TypeRegistry.for(n0).registerError(InvalidCredentialsException$, InvalidCredentialsException);
213
- export var InvalidRequestException$ = [
214
- -3,
215
- n0,
216
- _IRE,
198
+ export var InvalidRequestException$ = [-3, n0, _IRE,
217
199
  { [_aQE]: [`InvalidRequestException`, 400], [_e]: _c, [_hE]: 400 },
218
200
  [_M],
219
- [0],
201
+ [0]
220
202
  ];
221
203
  TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
222
- export var ListResourceRequestsInput$ = [
223
- 3,
224
- n0,
225
- _LRRI,
204
+ export var ListResourceRequestsInput$ = [3, n0, _LRRI,
226
205
  0,
227
206
  [_MR, _NT, _RRSF],
228
- [1, 0, () => ResourceRequestStatusFilter$],
207
+ [1, 0, () => ResourceRequestStatusFilter$]
229
208
  ];
230
- export var ListResourceRequestsOutput$ = [
231
- 3,
232
- n0,
233
- _LRRO,
209
+ export var ListResourceRequestsOutput$ = [3, n0, _LRRO,
234
210
  0,
235
211
  [_RRSS, _NT],
236
- [[() => ResourceRequestStatusSummaries, 0], 0],
212
+ [[() => ResourceRequestStatusSummaries, 0], 0]
237
213
  ];
238
- export var ListResourcesInput$ = [
239
- 3,
240
- n0,
241
- _LRI,
214
+ export var ListResourcesInput$ = [3, n0, _LRI,
242
215
  0,
243
216
  [_TN, _TVI, _RA, _NT, _MR, _RM],
244
- [0, 0, 0, 0, 1, [() => Properties, 0]],
217
+ [0, 0, 0, 0, 1, [() => Properties, 0]]
245
218
  ];
246
- export var ListResourcesOutput$ = [
247
- 3,
248
- n0,
249
- _LRO,
219
+ export var ListResourcesOutput$ = [3, n0, _LRO,
250
220
  0,
251
221
  [_TN, _RDe, _NT],
252
- [0, [() => ResourceDescriptions, 0], 0],
222
+ [0, [() => ResourceDescriptions, 0], 0]
253
223
  ];
254
- export var NetworkFailureException$ = [
255
- -3,
256
- n0,
257
- _NFE,
224
+ export var NetworkFailureException$ = [-3, n0, _NFE,
258
225
  { [_aQE]: [`NetworkFailureException`, 502], [_e]: _s, [_hE]: 502 },
259
226
  [_M],
260
- [0],
227
+ [0]
261
228
  ];
262
229
  TypeRegistry.for(n0).registerError(NetworkFailureException$, NetworkFailureException);
263
- export var NotStabilizedException$ = [
264
- -3,
265
- n0,
266
- _NSE,
230
+ export var NotStabilizedException$ = [-3, n0, _NSE,
267
231
  { [_aQE]: [`NotStabilizedException`, 400], [_e]: _c, [_hE]: 400 },
268
232
  [_M],
269
- [0],
233
+ [0]
270
234
  ];
271
235
  TypeRegistry.for(n0).registerError(NotStabilizedException$, NotStabilizedException);
272
- export var NotUpdatableException$ = [
273
- -3,
274
- n0,
275
- _NUE,
236
+ export var NotUpdatableException$ = [-3, n0, _NUE,
276
237
  { [_aQE]: [`NotUpdatableException`, 400], [_e]: _c, [_hE]: 400 },
277
238
  [_M],
278
- [0],
239
+ [0]
279
240
  ];
280
241
  TypeRegistry.for(n0).registerError(NotUpdatableException$, NotUpdatableException);
281
- export var PrivateTypeException$ = [
282
- -3,
283
- n0,
284
- _PTE,
242
+ export var PrivateTypeException$ = [-3, n0, _PTE,
285
243
  { [_aQE]: [`PrivateTypeException`, 400], [_e]: _c, [_hE]: 400 },
286
244
  [_M],
287
- [0],
245
+ [0]
288
246
  ];
289
247
  TypeRegistry.for(n0).registerError(PrivateTypeException$, PrivateTypeException);
290
- export var ProgressEvent$ = [
291
- 3,
292
- n0,
293
- _PE,
248
+ export var ProgressEvent$ = [3, n0, _PE,
294
249
  0,
295
250
  [_TN, _I, _RT, _HRT, _O, _OS, _ET, _RM, _SM, _EC, _RAe],
296
- [0, 0, 0, 0, 0, 0, 4, [() => Properties, 0], 0, 0, 4],
251
+ [0, 0, 0, 0, 0, 0, 4, [() => Properties, 0], 0, 0, 4]
297
252
  ];
298
- export var RequestTokenNotFoundException$ = [
299
- -3,
300
- n0,
301
- _RTNFE,
253
+ export var RequestTokenNotFoundException$ = [-3, n0, _RTNFE,
302
254
  { [_aQE]: [`RequestTokenNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
303
255
  [_M],
304
- [0],
256
+ [0]
305
257
  ];
306
258
  TypeRegistry.for(n0).registerError(RequestTokenNotFoundException$, RequestTokenNotFoundException);
307
- export var ResourceConflictException$ = [
308
- -3,
309
- n0,
310
- _RCE,
259
+ export var ResourceConflictException$ = [-3, n0, _RCE,
311
260
  { [_aQE]: [`ResourceConflictException`, 409], [_e]: _c, [_hE]: 409 },
312
261
  [_M],
313
- [0],
262
+ [0]
314
263
  ];
315
264
  TypeRegistry.for(n0).registerError(ResourceConflictException$, ResourceConflictException);
316
- export var ResourceDescription$ = [3, n0, _RD, 0, [_I, _P], [0, [() => Properties, 0]]];
317
- export var ResourceNotFoundException$ = [
318
- -3,
319
- n0,
320
- _RNFE,
265
+ export var ResourceDescription$ = [3, n0, _RD,
266
+ 0,
267
+ [_I, _P],
268
+ [0, [() => Properties, 0]]
269
+ ];
270
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
321
271
  { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
322
272
  [_M],
323
- [0],
273
+ [0]
324
274
  ];
325
275
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
326
- export var ResourceRequestStatusFilter$ = [3, n0, _RRSF, 0, [_Op, _OSp], [64 | 0, 64 | 0]];
327
- export var ServiceInternalErrorException$ = [
328
- -3,
329
- n0,
330
- _SIEE,
276
+ export var ResourceRequestStatusFilter$ = [3, n0, _RRSF,
277
+ 0,
278
+ [_Op, _OSp],
279
+ [64 | 0, 64 | 0]
280
+ ];
281
+ export var ServiceInternalErrorException$ = [-3, n0, _SIEE,
331
282
  { [_aQE]: [`ServiceInternalErrorException`, 502], [_e]: _s, [_hE]: 502 },
332
283
  [_M],
333
- [0],
284
+ [0]
334
285
  ];
335
286
  TypeRegistry.for(n0).registerError(ServiceInternalErrorException$, ServiceInternalErrorException);
336
- export var ServiceLimitExceededException$ = [
337
- -3,
338
- n0,
339
- _SLEE,
287
+ export var ServiceLimitExceededException$ = [-3, n0, _SLEE,
340
288
  { [_aQE]: [`ServiceLimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
341
289
  [_M],
342
- [0],
290
+ [0]
343
291
  ];
344
292
  TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
345
- export var ThrottlingException$ = [
346
- -3,
347
- n0,
348
- _TE,
293
+ export var ThrottlingException$ = [-3, n0, _TE,
349
294
  { [_aQE]: [`ThrottlingException`, 429], [_e]: _c, [_hE]: 429 },
350
295
  [_M],
351
- [0],
296
+ [0]
352
297
  ];
353
298
  TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
354
- export var TypeNotFoundException$ = [
355
- -3,
356
- n0,
357
- _TNFE,
299
+ export var TypeNotFoundException$ = [-3, n0, _TNFE,
358
300
  { [_aQE]: [`TypeNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
359
301
  [_M],
360
- [0],
302
+ [0]
361
303
  ];
362
304
  TypeRegistry.for(n0).registerError(TypeNotFoundException$, TypeNotFoundException);
363
- export var UnsupportedActionException$ = [
364
- -3,
365
- n0,
366
- _UAE,
305
+ export var UnsupportedActionException$ = [-3, n0, _UAE,
367
306
  { [_aQE]: [`UnsupportedActionException`, 405], [_e]: _c, [_hE]: 405 },
368
307
  [_M],
369
- [0],
308
+ [0]
370
309
  ];
371
310
  TypeRegistry.for(n0).registerError(UnsupportedActionException$, UnsupportedActionException);
372
- export var UpdateResourceInput$ = [
373
- 3,
374
- n0,
375
- _URI,
311
+ export var UpdateResourceInput$ = [3, n0, _URI,
376
312
  0,
377
313
  [_TN, _TVI, _RA, _CT, _I, _PD],
378
- [0, 0, 0, [0, 4], 0, [() => PatchDocument, 0]],
314
+ [0, 0, 0, [0, 4], 0, [() => PatchDocument, 0]]
315
+ ];
316
+ export var UpdateResourceOutput$ = [3, n0, _URO,
317
+ 0,
318
+ [_PE],
319
+ [[() => ProgressEvent$, 0]]
379
320
  ];
380
- export var UpdateResourceOutput$ = [3, n0, _URO, 0, [_PE], [[() => ProgressEvent$, 0]]];
381
321
  export var CloudControlServiceException$ = [-3, _sm, "CloudControlServiceException", 0, [], []];
382
322
  TypeRegistry.for(_sm).registerError(CloudControlServiceException$, CloudControlServiceException);
383
- var HooksProgressEvent = [1, n0, _HPE, 0, () => HookProgressEvent$];
323
+ var HooksProgressEvent = [1, n0, _HPE,
324
+ 0, () => HookProgressEvent$
325
+ ];
384
326
  var Operations = 64 | 0;
385
327
  var OperationStatuses = 64 | 0;
386
- var ResourceDescriptions = [1, n0, _RDe, 0, [() => ResourceDescription$, 0]];
387
- var ResourceRequestStatusSummaries = [1, n0, _RRSS, 0, [() => ProgressEvent$, 0]];
388
- export var CancelResourceRequest$ = [
389
- 9,
390
- n0,
391
- _CRR,
392
- 2,
393
- () => CancelResourceRequestInput$,
394
- () => CancelResourceRequestOutput$,
395
- ];
396
- export var CreateResource$ = [
397
- 9,
398
- n0,
399
- _CR,
400
- 0,
401
- () => CreateResourceInput$,
402
- () => CreateResourceOutput$,
328
+ var ResourceDescriptions = [1, n0, _RDe,
329
+ 0, [() => ResourceDescription$,
330
+ 0]
403
331
  ];
404
- export var DeleteResource$ = [
405
- 9,
406
- n0,
407
- _DR,
408
- 0,
409
- () => DeleteResourceInput$,
410
- () => DeleteResourceOutput$,
411
- ];
412
- export var GetResource$ = [9, n0, _GR, 0, () => GetResourceInput$, () => GetResourceOutput$];
413
- export var GetResourceRequestStatus$ = [
414
- 9,
415
- n0,
416
- _GRRS,
417
- 0,
418
- () => GetResourceRequestStatusInput$,
419
- () => GetResourceRequestStatusOutput$,
332
+ var ResourceRequestStatusSummaries = [1, n0, _RRSS,
333
+ 0, [() => ProgressEvent$,
334
+ 0]
420
335
  ];
421
- export var ListResourceRequests$ = [
422
- 9,
423
- n0,
424
- _LRR,
425
- 0,
426
- () => ListResourceRequestsInput$,
427
- () => ListResourceRequestsOutput$,
336
+ export var CancelResourceRequest$ = [9, n0, _CRR,
337
+ 2, () => CancelResourceRequestInput$, () => CancelResourceRequestOutput$
428
338
  ];
429
- export var ListResources$ = [
430
- 9,
431
- n0,
432
- _LR,
433
- 0,
434
- () => ListResourcesInput$,
435
- () => ListResourcesOutput$,
339
+ export var CreateResource$ = [9, n0, _CR,
340
+ 0, () => CreateResourceInput$, () => CreateResourceOutput$
436
341
  ];
437
- export var UpdateResource$ = [
438
- 9,
439
- n0,
440
- _UR,
441
- 0,
442
- () => UpdateResourceInput$,
443
- () => UpdateResourceOutput$,
342
+ export var DeleteResource$ = [9, n0, _DR,
343
+ 0, () => DeleteResourceInput$, () => DeleteResourceOutput$
344
+ ];
345
+ export var GetResource$ = [9, n0, _GR,
346
+ 0, () => GetResourceInput$, () => GetResourceOutput$
347
+ ];
348
+ export var GetResourceRequestStatus$ = [9, n0, _GRRS,
349
+ 0, () => GetResourceRequestStatusInput$, () => GetResourceRequestStatusOutput$
350
+ ];
351
+ export var ListResourceRequests$ = [9, n0, _LRR,
352
+ 0, () => ListResourceRequestsInput$, () => ListResourceRequestsOutput$
353
+ ];
354
+ export var ListResources$ = [9, n0, _LR,
355
+ 0, () => ListResourcesInput$, () => ListResourcesOutput$
356
+ ];
357
+ export var UpdateResource$ = [9, n0, _UR,
358
+ 0, () => UpdateResourceInput$, () => UpdateResourceOutput$
444
359
  ];
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
6
6
  const result = await client.send(new GetResourceRequestStatusCommand(input));
7
7
  reason = result;
8
8
  try {
9
- const returnComparator = () => {
9
+ let returnComparator = () => {
10
10
  return result.ProgressEvent.OperationStatus;
11
11
  };
12
12
  if (returnComparator() === "SUCCESS") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- const returnComparator = () => {
18
+ let returnComparator = () => {
19
19
  return result.ProgressEvent.OperationStatus;
20
20
  };
21
21
  if (returnComparator() === "FAILED") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- const returnComparator = () => {
27
+ let returnComparator = () => {
28
28
  return result.ProgressEvent.OperationStatus;
29
29
  };
30
30
  if (returnComparator() === "CANCEL_COMPLETE") {
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.957.0",
4
+ "version": "3.958.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudcontrol",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.957.0",
25
+ "@aws-sdk/credential-provider-node": "3.958.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",