@aws-sdk/client-cloudformation 3.987.0 → 3.988.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultCloudFormationHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2010-05-15",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsQueryProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.cloudformation",
30
+ errorTypeRegistries,
29
31
  xmlNamespace: "http://cloudformation.amazonaws.com/doc/2010-05-15/",
30
32
  version: "2010-05-15",
31
33
  serviceTarget: "CloudFormation",
@@ -772,6 +772,188 @@ const n0 = "com.amazonaws.cloudformation";
772
772
  import { TypeRegistry } from "@smithy/core/schema";
773
773
  import { CloudFormationServiceException } from "../models/CloudFormationServiceException";
774
774
  import { AlreadyExistsException, CFNRegistryException, ChangeSetNotFoundException, ConcurrentResourcesLimitExceededException, CreatedButModifiedException, GeneratedTemplateNotFoundException, HookResultNotFoundException, InsufficientCapabilitiesException, InvalidChangeSetStatusException, InvalidOperationException, InvalidStateTransitionException, LimitExceededException, NameAlreadyExistsException, OperationIdAlreadyExistsException, OperationInProgressException, OperationNotFoundException, OperationStatusCheckFailedException, ResourceScanInProgressException, ResourceScanLimitExceededException, ResourceScanNotFoundException, StackInstanceNotFoundException, StackNotFoundException, StackRefactorNotFoundException, StackSetNotEmptyException, StackSetNotFoundException, StaleRequestException, TokenAlreadyExistsException, TypeConfigurationNotFoundException, TypeNotFoundException, } from "../models/errors";
775
+ const _s_registry = TypeRegistry.for(_s);
776
+ export var CloudFormationServiceException$ = [-3, _s, "CloudFormationServiceException", 0, [], []];
777
+ _s_registry.registerError(CloudFormationServiceException$, CloudFormationServiceException);
778
+ const n0_registry = TypeRegistry.for(n0);
779
+ export var AlreadyExistsException$ = [-3, n0, _AEE,
780
+ { [_aQE]: [`AlreadyExistsException`, 400], [_e]: _c, [_hE]: 400 },
781
+ [_M],
782
+ [0]
783
+ ];
784
+ n0_registry.registerError(AlreadyExistsException$, AlreadyExistsException);
785
+ export var CFNRegistryException$ = [-3, n0, _CFNRE,
786
+ { [_aQE]: [`CFNRegistryException`, 400], [_e]: _c, [_hE]: 400 },
787
+ [_M],
788
+ [0]
789
+ ];
790
+ n0_registry.registerError(CFNRegistryException$, CFNRegistryException);
791
+ export var ChangeSetNotFoundException$ = [-3, n0, _CSNFE,
792
+ { [_aQE]: [`ChangeSetNotFound`, 404], [_e]: _c, [_hE]: 404 },
793
+ [_M],
794
+ [0]
795
+ ];
796
+ n0_registry.registerError(ChangeSetNotFoundException$, ChangeSetNotFoundException);
797
+ export var ConcurrentResourcesLimitExceededException$ = [-3, n0, _CRLEE,
798
+ { [_aQE]: [`ConcurrentResourcesLimitExceeded`, 429], [_e]: _c, [_hE]: 429 },
799
+ [_M],
800
+ [0]
801
+ ];
802
+ n0_registry.registerError(ConcurrentResourcesLimitExceededException$, ConcurrentResourcesLimitExceededException);
803
+ export var CreatedButModifiedException$ = [-3, n0, _CBME,
804
+ { [_aQE]: [`CreatedButModifiedException`, 409], [_e]: _c, [_hE]: 409 },
805
+ [_M],
806
+ [0]
807
+ ];
808
+ n0_registry.registerError(CreatedButModifiedException$, CreatedButModifiedException);
809
+ export var GeneratedTemplateNotFoundException$ = [-3, n0, _GTNFE,
810
+ { [_aQE]: [`GeneratedTemplateNotFound`, 404], [_e]: _c, [_hE]: 404 },
811
+ [_M],
812
+ [0]
813
+ ];
814
+ n0_registry.registerError(GeneratedTemplateNotFoundException$, GeneratedTemplateNotFoundException);
815
+ export var HookResultNotFoundException$ = [-3, n0, _HRNFE,
816
+ { [_aQE]: [`HookResultNotFound`, 404], [_e]: _c, [_hE]: 404 },
817
+ [_M],
818
+ [0]
819
+ ];
820
+ n0_registry.registerError(HookResultNotFoundException$, HookResultNotFoundException);
821
+ export var InsufficientCapabilitiesException$ = [-3, n0, _ICE,
822
+ { [_aQE]: [`InsufficientCapabilitiesException`, 400], [_e]: _c, [_hE]: 400 },
823
+ [_M],
824
+ [0]
825
+ ];
826
+ n0_registry.registerError(InsufficientCapabilitiesException$, InsufficientCapabilitiesException);
827
+ export var InvalidChangeSetStatusException$ = [-3, n0, _ICSSE,
828
+ { [_aQE]: [`InvalidChangeSetStatus`, 400], [_e]: _c, [_hE]: 400 },
829
+ [_M],
830
+ [0]
831
+ ];
832
+ n0_registry.registerError(InvalidChangeSetStatusException$, InvalidChangeSetStatusException);
833
+ export var InvalidOperationException$ = [-3, n0, _IOE,
834
+ { [_aQE]: [`InvalidOperationException`, 400], [_e]: _c, [_hE]: 400 },
835
+ [_M],
836
+ [0]
837
+ ];
838
+ n0_registry.registerError(InvalidOperationException$, InvalidOperationException);
839
+ export var InvalidStateTransitionException$ = [-3, n0, _ISTE,
840
+ { [_aQE]: [`InvalidStateTransition`, 400], [_e]: _c, [_hE]: 400 },
841
+ [_M],
842
+ [0]
843
+ ];
844
+ n0_registry.registerError(InvalidStateTransitionException$, InvalidStateTransitionException);
845
+ export var LimitExceededException$ = [-3, n0, _LEE,
846
+ { [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
847
+ [_M],
848
+ [0]
849
+ ];
850
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
851
+ export var NameAlreadyExistsException$ = [-3, n0, _NAEE,
852
+ { [_aQE]: [`NameAlreadyExistsException`, 409], [_e]: _c, [_hE]: 409 },
853
+ [_M],
854
+ [0]
855
+ ];
856
+ n0_registry.registerError(NameAlreadyExistsException$, NameAlreadyExistsException);
857
+ export var OperationIdAlreadyExistsException$ = [-3, n0, _OIAEE,
858
+ { [_aQE]: [`OperationIdAlreadyExistsException`, 409], [_e]: _c, [_hE]: 409 },
859
+ [_M],
860
+ [0]
861
+ ];
862
+ n0_registry.registerError(OperationIdAlreadyExistsException$, OperationIdAlreadyExistsException);
863
+ export var OperationInProgressException$ = [-3, n0, _OIPE,
864
+ { [_aQE]: [`OperationInProgressException`, 409], [_e]: _c, [_hE]: 409 },
865
+ [_M],
866
+ [0]
867
+ ];
868
+ n0_registry.registerError(OperationInProgressException$, OperationInProgressException);
869
+ export var OperationNotFoundException$ = [-3, n0, _ONFE,
870
+ { [_aQE]: [`OperationNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
871
+ [_M],
872
+ [0]
873
+ ];
874
+ n0_registry.registerError(OperationNotFoundException$, OperationNotFoundException);
875
+ export var OperationStatusCheckFailedException$ = [-3, n0, _OSCFE,
876
+ { [_aQE]: [`ConditionalCheckFailed`, 400], [_e]: _c, [_hE]: 400 },
877
+ [_M],
878
+ [0]
879
+ ];
880
+ n0_registry.registerError(OperationStatusCheckFailedException$, OperationStatusCheckFailedException);
881
+ export var ResourceScanInProgressException$ = [-3, n0, _RSIPE,
882
+ { [_aQE]: [`ResourceScanInProgress`, 400], [_e]: _c, [_hE]: 400 },
883
+ [_M],
884
+ [0]
885
+ ];
886
+ n0_registry.registerError(ResourceScanInProgressException$, ResourceScanInProgressException);
887
+ export var ResourceScanLimitExceededException$ = [-3, n0, _RSLEE,
888
+ { [_aQE]: [`ResourceScanLimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
889
+ [_M],
890
+ [0]
891
+ ];
892
+ n0_registry.registerError(ResourceScanLimitExceededException$, ResourceScanLimitExceededException);
893
+ export var ResourceScanNotFoundException$ = [-3, n0, _RSNFE,
894
+ { [_aQE]: [`ResourceScanNotFound`, 400], [_e]: _c, [_hE]: 400 },
895
+ [_M],
896
+ [0]
897
+ ];
898
+ n0_registry.registerError(ResourceScanNotFoundException$, ResourceScanNotFoundException);
899
+ export var StackInstanceNotFoundException$ = [-3, n0, _SINFE,
900
+ { [_aQE]: [`StackInstanceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
901
+ [_M],
902
+ [0]
903
+ ];
904
+ n0_registry.registerError(StackInstanceNotFoundException$, StackInstanceNotFoundException);
905
+ export var StackNotFoundException$ = [-3, n0, _SNFE,
906
+ { [_aQE]: [`StackNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
907
+ [_M],
908
+ [0]
909
+ ];
910
+ n0_registry.registerError(StackNotFoundException$, StackNotFoundException);
911
+ export var StackRefactorNotFoundException$ = [-3, n0, _SRNFE,
912
+ { [_aQE]: [`StackRefactorNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
913
+ [_M],
914
+ [0]
915
+ ];
916
+ n0_registry.registerError(StackRefactorNotFoundException$, StackRefactorNotFoundException);
917
+ export var StackSetNotEmptyException$ = [-3, n0, _SSNEE,
918
+ { [_aQE]: [`StackSetNotEmptyException`, 409], [_e]: _c, [_hE]: 409 },
919
+ [_M],
920
+ [0]
921
+ ];
922
+ n0_registry.registerError(StackSetNotEmptyException$, StackSetNotEmptyException);
923
+ export var StackSetNotFoundException$ = [-3, n0, _SSNFE,
924
+ { [_aQE]: [`StackSetNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
925
+ [_M],
926
+ [0]
927
+ ];
928
+ n0_registry.registerError(StackSetNotFoundException$, StackSetNotFoundException);
929
+ export var StaleRequestException$ = [-3, n0, _SRE,
930
+ { [_aQE]: [`StaleRequestException`, 409], [_e]: _c, [_hE]: 409 },
931
+ [_M],
932
+ [0]
933
+ ];
934
+ n0_registry.registerError(StaleRequestException$, StaleRequestException);
935
+ export var TokenAlreadyExistsException$ = [-3, n0, _TAEE,
936
+ { [_aQE]: [`TokenAlreadyExistsException`, 400], [_e]: _c, [_hE]: 400 },
937
+ [_M],
938
+ [0]
939
+ ];
940
+ n0_registry.registerError(TokenAlreadyExistsException$, TokenAlreadyExistsException);
941
+ export var TypeConfigurationNotFoundException$ = [-3, n0, _TCNFE,
942
+ { [_aQE]: [`TypeConfigurationNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
943
+ [_M],
944
+ [0]
945
+ ];
946
+ n0_registry.registerError(TypeConfigurationNotFoundException$, TypeConfigurationNotFoundException);
947
+ export var TypeNotFoundException$ = [-3, n0, _TNFE,
948
+ { [_aQE]: [`TypeNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
949
+ [_M],
950
+ [0]
951
+ ];
952
+ n0_registry.registerError(TypeNotFoundException$, TypeNotFoundException);
953
+ export const errorTypeRegistries = [
954
+ _s_registry,
955
+ n0_registry,
956
+ ];
775
957
  export var AccountGateResult$ = [3, n0, _AGR,
776
958
  0,
777
959
  [_S, _SR],
@@ -802,12 +984,6 @@ export var ActivateTypeOutput$ = [3, n0, _ATO,
802
984
  [_A],
803
985
  [0]
804
986
  ];
805
- export var AlreadyExistsException$ = [-3, n0, _AEE,
806
- { [_aQE]: [`AlreadyExistsException`, 400], [_e]: _c, [_hE]: 400 },
807
- [_M],
808
- [0]
809
- ];
810
- TypeRegistry.for(n0).registerError(AlreadyExistsException$, AlreadyExistsException);
811
987
  export var Annotation$ = [3, n0, _An,
812
988
  0,
813
989
  [_AN, _S, _SM, _RM, _RL, _SL],
@@ -838,12 +1014,6 @@ export var CancelUpdateStackInput$ = [3, n0, _CUSI,
838
1014
  [_SN, _CRT],
839
1015
  [0, 0], 1
840
1016
  ];
841
- export var CFNRegistryException$ = [-3, n0, _CFNRE,
842
- { [_aQE]: [`CFNRegistryException`, 400], [_e]: _c, [_hE]: 400 },
843
- [_M],
844
- [0]
845
- ];
846
- TypeRegistry.for(n0).registerError(CFNRegistryException$, CFNRegistryException);
847
1017
  export var Change$ = [3, n0, _C,
848
1018
  0,
849
1019
  [_T, _HIC, _RC],
@@ -864,23 +1034,11 @@ export var ChangeSetHookTargetDetails$ = [3, n0, _CSHTD,
864
1034
  [_TT, _RTD],
865
1035
  [0, () => ChangeSetHookResourceTargetDetails$]
866
1036
  ];
867
- export var ChangeSetNotFoundException$ = [-3, n0, _CSNFE,
868
- { [_aQE]: [`ChangeSetNotFound`, 404], [_e]: _c, [_hE]: 404 },
869
- [_M],
870
- [0]
871
- ];
872
- TypeRegistry.for(n0).registerError(ChangeSetNotFoundException$, ChangeSetNotFoundException);
873
1037
  export var ChangeSetSummary$ = [3, n0, _CSS,
874
1038
  0,
875
1039
  [_SI, _SN, _CSI, _CSN, _ES, _S, _SR, _CT, _D, _INS, _PCSI, _RCSI, _IER],
876
1040
  [0, 0, 0, 0, 0, 0, 0, 4, 0, 2, 0, 0, 2]
877
1041
  ];
878
- export var ConcurrentResourcesLimitExceededException$ = [-3, n0, _CRLEE,
879
- { [_aQE]: [`ConcurrentResourcesLimitExceeded`, 429], [_e]: _c, [_hE]: 429 },
880
- [_M],
881
- [0]
882
- ];
883
- TypeRegistry.for(n0).registerError(ConcurrentResourcesLimitExceededException$, ConcurrentResourcesLimitExceededException);
884
1042
  export var ContinueUpdateRollbackInput$ = [3, n0, _CURI,
885
1043
  0,
886
1044
  [_SN, _RARN, _RTS, _CRT],
@@ -901,12 +1059,6 @@ export var CreateChangeSetOutput$ = [3, n0, _CCSO,
901
1059
  [_I, _SI],
902
1060
  [0, 0]
903
1061
  ];
904
- export var CreatedButModifiedException$ = [-3, n0, _CBME,
905
- { [_aQE]: [`CreatedButModifiedException`, 409], [_e]: _c, [_hE]: 409 },
906
- [_M],
907
- [0]
908
- ];
909
- TypeRegistry.for(n0).registerError(CreatedButModifiedException$, CreatedButModifiedException);
910
1062
  export var CreateGeneratedTemplateInput$ = [3, n0, _CGTI,
911
1063
  0,
912
1064
  [_GTN, _R, _SN, _TCe],
@@ -1297,12 +1449,6 @@ export var Export$ = [3, n0, _Ex,
1297
1449
  [_ESI, _N, _V],
1298
1450
  [0, 0, 0]
1299
1451
  ];
1300
- export var GeneratedTemplateNotFoundException$ = [-3, n0, _GTNFE,
1301
- { [_aQE]: [`GeneratedTemplateNotFound`, 404], [_e]: _c, [_hE]: 404 },
1302
- [_M],
1303
- [0]
1304
- ];
1305
- TypeRegistry.for(n0).registerError(GeneratedTemplateNotFoundException$, GeneratedTemplateNotFoundException);
1306
1452
  export var GetGeneratedTemplateInput$ = [3, n0, _GGTI,
1307
1453
  0,
1308
1454
  [_GTN, _Fo],
@@ -1353,12 +1499,6 @@ export var GetTemplateSummaryOutput$ = [3, n0, _GTSO,
1353
1499
  [_P, _D, _Ca, _CR, _RTe, _Ve, _Me, _DTe, _RIS, _W],
1354
1500
  [() => ParameterDeclarations, 0, 64 | 0, 0, 64 | 0, 0, 0, 64 | 0, () => ResourceIdentifierSummaries, () => Warnings$]
1355
1501
  ];
1356
- export var HookResultNotFoundException$ = [-3, n0, _HRNFE,
1357
- { [_aQE]: [`HookResultNotFound`, 404], [_e]: _c, [_hE]: 404 },
1358
- [_M],
1359
- [0]
1360
- ];
1361
- TypeRegistry.for(n0).registerError(HookResultNotFoundException$, HookResultNotFoundException);
1362
1502
  export var HookResultSummary$ = [3, n0, _HRS,
1363
1503
  0,
1364
1504
  [_HRI, _IP, _FM, _TN, _TVI, _TCVI, _S, _HSR, _IAn, _TT, _TI, _TA, _HET],
@@ -1379,36 +1519,6 @@ export var ImportStacksToStackSetOutput$ = [3, n0, _ISTSSO,
1379
1519
  [_OI],
1380
1520
  [0]
1381
1521
  ];
1382
- export var InsufficientCapabilitiesException$ = [-3, n0, _ICE,
1383
- { [_aQE]: [`InsufficientCapabilitiesException`, 400], [_e]: _c, [_hE]: 400 },
1384
- [_M],
1385
- [0]
1386
- ];
1387
- TypeRegistry.for(n0).registerError(InsufficientCapabilitiesException$, InsufficientCapabilitiesException);
1388
- export var InvalidChangeSetStatusException$ = [-3, n0, _ICSSE,
1389
- { [_aQE]: [`InvalidChangeSetStatus`, 400], [_e]: _c, [_hE]: 400 },
1390
- [_M],
1391
- [0]
1392
- ];
1393
- TypeRegistry.for(n0).registerError(InvalidChangeSetStatusException$, InvalidChangeSetStatusException);
1394
- export var InvalidOperationException$ = [-3, n0, _IOE,
1395
- { [_aQE]: [`InvalidOperationException`, 400], [_e]: _c, [_hE]: 400 },
1396
- [_M],
1397
- [0]
1398
- ];
1399
- TypeRegistry.for(n0).registerError(InvalidOperationException$, InvalidOperationException);
1400
- export var InvalidStateTransitionException$ = [-3, n0, _ISTE,
1401
- { [_aQE]: [`InvalidStateTransition`, 400], [_e]: _c, [_hE]: 400 },
1402
- [_M],
1403
- [0]
1404
- ];
1405
- TypeRegistry.for(n0).registerError(InvalidStateTransitionException$, InvalidStateTransitionException);
1406
- export var LimitExceededException$ = [-3, n0, _LEE,
1407
- { [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
1408
- [_M],
1409
- [0]
1410
- ];
1411
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
1412
1522
  export var ListChangeSetsInput$ = [3, n0, _LCSI,
1413
1523
  0,
1414
1524
  [_SN, _NT],
@@ -1639,12 +1749,6 @@ export var ModuleInfo$ = [3, n0, _MI,
1639
1749
  [_TH, _LIH],
1640
1750
  [0, 0]
1641
1751
  ];
1642
- export var NameAlreadyExistsException$ = [-3, n0, _NAEE,
1643
- { [_aQE]: [`NameAlreadyExistsException`, 409], [_e]: _c, [_hE]: 409 },
1644
- [_M],
1645
- [0]
1646
- ];
1647
- TypeRegistry.for(n0).registerError(NameAlreadyExistsException$, NameAlreadyExistsException);
1648
1752
  export var OperationEntry$ = [3, n0, _OEp,
1649
1753
  0,
1650
1754
  [_OT, _OI],
@@ -1655,35 +1759,11 @@ export var OperationEvent$ = [3, n0, _OEpe,
1655
1759
  [_EI, _SI, _OI, _OT, _OS, _ETv, _LRI, _PRI, _RT, _Ti, _ST, _ET, _RSes, _RSR, _RP, _CRT, _HTo, _HS, _HSR, _HIP, _HFM, _DSet, _VFM, _VN, _VS, _VSR, _VP],
1656
1760
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
1657
1761
  ];
1658
- export var OperationIdAlreadyExistsException$ = [-3, n0, _OIAEE,
1659
- { [_aQE]: [`OperationIdAlreadyExistsException`, 409], [_e]: _c, [_hE]: 409 },
1660
- [_M],
1661
- [0]
1662
- ];
1663
- TypeRegistry.for(n0).registerError(OperationIdAlreadyExistsException$, OperationIdAlreadyExistsException);
1664
- export var OperationInProgressException$ = [-3, n0, _OIPE,
1665
- { [_aQE]: [`OperationInProgressException`, 409], [_e]: _c, [_hE]: 409 },
1666
- [_M],
1667
- [0]
1668
- ];
1669
- TypeRegistry.for(n0).registerError(OperationInProgressException$, OperationInProgressException);
1670
- export var OperationNotFoundException$ = [-3, n0, _ONFE,
1671
- { [_aQE]: [`OperationNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
1672
- [_M],
1673
- [0]
1674
- ];
1675
- TypeRegistry.for(n0).registerError(OperationNotFoundException$, OperationNotFoundException);
1676
1762
  export var OperationResultFilter$ = [3, n0, _ORF,
1677
1763
  0,
1678
1764
  [_N, _Va],
1679
1765
  [0, 0]
1680
1766
  ];
1681
- export var OperationStatusCheckFailedException$ = [-3, n0, _OSCFE,
1682
- { [_aQE]: [`ConditionalCheckFailed`, 400], [_e]: _c, [_hE]: 400 },
1683
- [_M],
1684
- [0]
1685
- ];
1686
- TypeRegistry.for(n0).registerError(OperationStatusCheckFailedException$, OperationStatusCheckFailedException);
1687
1767
  export var Output$ = [3, n0, _O,
1688
1768
  0,
1689
1769
  [_OK, _OV, _D, _EN],
@@ -1799,24 +1879,6 @@ export var ResourceMapping$ = [3, n0, _RMeso,
1799
1879
  [_So, _Des],
1800
1880
  [() => ResourceLocation$, () => ResourceLocation$], 2
1801
1881
  ];
1802
- export var ResourceScanInProgressException$ = [-3, n0, _RSIPE,
1803
- { [_aQE]: [`ResourceScanInProgress`, 400], [_e]: _c, [_hE]: 400 },
1804
- [_M],
1805
- [0]
1806
- ];
1807
- TypeRegistry.for(n0).registerError(ResourceScanInProgressException$, ResourceScanInProgressException);
1808
- export var ResourceScanLimitExceededException$ = [-3, n0, _RSLEE,
1809
- { [_aQE]: [`ResourceScanLimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
1810
- [_M],
1811
- [0]
1812
- ];
1813
- TypeRegistry.for(n0).registerError(ResourceScanLimitExceededException$, ResourceScanLimitExceededException);
1814
- export var ResourceScanNotFoundException$ = [-3, n0, _RSNFE,
1815
- { [_aQE]: [`ResourceScanNotFound`, 400], [_e]: _c, [_hE]: 400 },
1816
- [_M],
1817
- [0]
1818
- ];
1819
- TypeRegistry.for(n0).registerError(ResourceScanNotFoundException$, ResourceScanNotFoundException);
1820
1882
  export var ResourceScanSummary$ = [3, n0, _RSSe,
1821
1883
  0,
1822
1884
  [_RSI, _S, _SR, _ST, _ET, _PC, _STc],
@@ -1937,12 +1999,6 @@ export var StackInstanceFilter$ = [3, n0, _SIF,
1937
1999
  [_N, _Va],
1938
2000
  [0, 0]
1939
2001
  ];
1940
- export var StackInstanceNotFoundException$ = [-3, n0, _SINFE,
1941
- { [_aQE]: [`StackInstanceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
1942
- [_M],
1943
- [0]
1944
- ];
1945
- TypeRegistry.for(n0).registerError(StackInstanceNotFoundException$, StackInstanceNotFoundException);
1946
2002
  export var StackInstanceResourceDriftsSummary$ = [3, n0, _SIRDSt,
1947
2003
  0,
1948
2004
  [_SI, _LRI, _RT, _SRDS, _Ti, _PRI, _PRIC, _PDro],
@@ -1953,23 +2009,11 @@ export var StackInstanceSummary$ = [3, n0, _SISt,
1953
2009
  [_SSI, _Reg, _Acc, _SI, _S, _SR, _SIS, _OUIr, _DSr, _LDCT, _LOI],
1954
2010
  [0, 0, 0, 0, 0, 0, () => StackInstanceComprehensiveStatus$, 0, 0, 4, 0]
1955
2011
  ];
1956
- export var StackNotFoundException$ = [-3, n0, _SNFE,
1957
- { [_aQE]: [`StackNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
1958
- [_M],
1959
- [0]
1960
- ];
1961
- TypeRegistry.for(n0).registerError(StackNotFoundException$, StackNotFoundException);
1962
2012
  export var StackRefactorAction$ = [3, n0, _SRAt,
1963
2013
  0,
1964
2014
  [_Act, _En, _PRI, _RI, _D, _Det, _DRe, _TR, _UR, _RMeso],
1965
2015
  [0, 0, 0, 0, 0, 0, 0, () => StackRefactorTagResources, 64 | 0, () => ResourceMapping$]
1966
2016
  ];
1967
- export var StackRefactorNotFoundException$ = [-3, n0, _SRNFE,
1968
- { [_aQE]: [`StackRefactorNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
1969
- [_M],
1970
- [0]
1971
- ];
1972
- TypeRegistry.for(n0).registerError(StackRefactorNotFoundException$, StackRefactorNotFoundException);
1973
2017
  export var StackRefactorSummary$ = [3, n0, _SRSta,
1974
2018
  0,
1975
2019
  [_SRI, _D, _ES, _ESR, _S, _SR],
@@ -2020,18 +2064,6 @@ export var StackSetDriftDetectionDetails$ = [3, n0, _SSDDD,
2020
2064
  [_DSr, _DDS, _LDCT, _TSIC, _DSIC, _ISSIC, _IPSIC, _FSIC],
2021
2065
  [0, 0, 4, 1, 1, 1, 1, 1]
2022
2066
  ];
2023
- export var StackSetNotEmptyException$ = [-3, n0, _SSNEE,
2024
- { [_aQE]: [`StackSetNotEmptyException`, 409], [_e]: _c, [_hE]: 409 },
2025
- [_M],
2026
- [0]
2027
- ];
2028
- TypeRegistry.for(n0).registerError(StackSetNotEmptyException$, StackSetNotEmptyException);
2029
- export var StackSetNotFoundException$ = [-3, n0, _SSNFE,
2030
- { [_aQE]: [`StackSetNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
2031
- [_M],
2032
- [0]
2033
- ];
2034
- TypeRegistry.for(n0).registerError(StackSetNotFoundException$, StackSetNotFoundException);
2035
2067
  export var StackSetOperation$ = [3, n0, _SSO,
2036
2068
  0,
2037
2069
  [_OI, _SSI, _Act, _S, _OP, _RS, _ARARN, _ERN, _CTr, _ETn, _DT, _SSDDD, _SR, _SDta],
@@ -2067,12 +2099,6 @@ export var StackSummary$ = [3, n0, _SStac,
2067
2099
  [_SN, _CT, _SSta, _SI, _TDe, _LUT, _DTel, _SSR, _PIa, _RIo, _DI, _LO],
2068
2100
  [0, 4, 0, 0, 0, 4, 4, 0, 0, 0, () => StackDriftInformationSummary$, () => LastOperations], 3
2069
2101
  ];
2070
- export var StaleRequestException$ = [-3, n0, _SRE,
2071
- { [_aQE]: [`StaleRequestException`, 409], [_e]: _c, [_hE]: 409 },
2072
- [_M],
2073
- [0]
2074
- ];
2075
- TypeRegistry.for(n0).registerError(StaleRequestException$, StaleRequestException);
2076
2102
  export var StartResourceScanInput$ = [3, n0, _SRSI,
2077
2103
  0,
2078
2104
  [_CRT, _SF],
@@ -2133,12 +2159,6 @@ export var TestTypeOutput$ = [3, n0, _TTO,
2133
2159
  [_TVA],
2134
2160
  [0]
2135
2161
  ];
2136
- export var TokenAlreadyExistsException$ = [-3, n0, _TAEE,
2137
- { [_aQE]: [`TokenAlreadyExistsException`, 400], [_e]: _c, [_hE]: 400 },
2138
- [_M],
2139
- [0]
2140
- ];
2141
- TypeRegistry.for(n0).registerError(TokenAlreadyExistsException$, TokenAlreadyExistsException);
2142
2162
  export var TypeConfigurationDetails$ = [3, n0, _TCD,
2143
2163
  0,
2144
2164
  [_A, _Al, _Co, _LU, _TA, _TN, _IDC],
@@ -2149,23 +2169,11 @@ export var TypeConfigurationIdentifier$ = [3, n0, _TCI,
2149
2169
  [_TA, _TCA, _TCAy, _T, _TN],
2150
2170
  [0, 0, 0, 0, 0]
2151
2171
  ];
2152
- export var TypeConfigurationNotFoundException$ = [-3, n0, _TCNFE,
2153
- { [_aQE]: [`TypeConfigurationNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
2154
- [_M],
2155
- [0]
2156
- ];
2157
- TypeRegistry.for(n0).registerError(TypeConfigurationNotFoundException$, TypeConfigurationNotFoundException);
2158
2172
  export var TypeFilters$ = [3, n0, _TF,
2159
2173
  0,
2160
2174
  [_Cat, _PI, _TNP],
2161
2175
  [0, 0, 0]
2162
2176
  ];
2163
- export var TypeNotFoundException$ = [-3, n0, _TNFE,
2164
- { [_aQE]: [`TypeNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
2165
- [_M],
2166
- [0]
2167
- ];
2168
- TypeRegistry.for(n0).registerError(TypeNotFoundException$, TypeNotFoundException);
2169
2177
  export var TypeSummary$ = [3, n0, _TSyp,
2170
2178
  0,
2171
2179
  [_T, _TN, _DVI, _TA, _LU, _D, _PI, _OTN, _PVN, _LPV, _PIu, _PN, _IA],
@@ -2252,8 +2260,6 @@ export var Warnings$ = [3, n0, _W,
2252
2260
  [64 | 0]
2253
2261
  ];
2254
2262
  var __Unit = "unit";
2255
- export var CloudFormationServiceException$ = [-3, _s, "CloudFormationServiceException", 0, [], []];
2256
- TypeRegistry.for(_s).registerError(CloudFormationServiceException$, CloudFormationServiceException);
2257
2263
  var AccountLimitList = [1, n0, _ALL,
2258
2264
  0, () => AccountLimit$
2259
2265
  ];
@@ -1,30 +1,62 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var CloudFormationServiceException$: StaticErrorSchema;
4
+ export declare var AlreadyExistsException$: StaticErrorSchema;
5
+ export declare var CFNRegistryException$: StaticErrorSchema;
6
+ export declare var ChangeSetNotFoundException$: StaticErrorSchema;
7
+ export declare var ConcurrentResourcesLimitExceededException$: StaticErrorSchema;
8
+ export declare var CreatedButModifiedException$: StaticErrorSchema;
9
+ export declare var GeneratedTemplateNotFoundException$: StaticErrorSchema;
10
+ export declare var HookResultNotFoundException$: StaticErrorSchema;
11
+ export declare var InsufficientCapabilitiesException$: StaticErrorSchema;
12
+ export declare var InvalidChangeSetStatusException$: StaticErrorSchema;
13
+ export declare var InvalidOperationException$: StaticErrorSchema;
14
+ export declare var InvalidStateTransitionException$: StaticErrorSchema;
15
+ export declare var LimitExceededException$: StaticErrorSchema;
16
+ export declare var NameAlreadyExistsException$: StaticErrorSchema;
17
+ export declare var OperationIdAlreadyExistsException$: StaticErrorSchema;
18
+ export declare var OperationInProgressException$: StaticErrorSchema;
19
+ export declare var OperationNotFoundException$: StaticErrorSchema;
20
+ export declare var OperationStatusCheckFailedException$: StaticErrorSchema;
21
+ export declare var ResourceScanInProgressException$: StaticErrorSchema;
22
+ export declare var ResourceScanLimitExceededException$: StaticErrorSchema;
23
+ export declare var ResourceScanNotFoundException$: StaticErrorSchema;
24
+ export declare var StackInstanceNotFoundException$: StaticErrorSchema;
25
+ export declare var StackNotFoundException$: StaticErrorSchema;
26
+ export declare var StackRefactorNotFoundException$: StaticErrorSchema;
27
+ export declare var StackSetNotEmptyException$: StaticErrorSchema;
28
+ export declare var StackSetNotFoundException$: StaticErrorSchema;
29
+ export declare var StaleRequestException$: StaticErrorSchema;
30
+ export declare var TokenAlreadyExistsException$: StaticErrorSchema;
31
+ export declare var TypeConfigurationNotFoundException$: StaticErrorSchema;
32
+ export declare var TypeNotFoundException$: StaticErrorSchema;
33
+ /**
34
+ * TypeRegistry instances containing modeled errors.
35
+ * @internal
36
+ *
37
+ */
38
+ export declare const errorTypeRegistries: TypeRegistry[];
2
39
  export declare var AccountGateResult$: StaticStructureSchema;
3
40
  export declare var AccountLimit$: StaticStructureSchema;
4
41
  export declare var ActivateOrganizationsAccessInput$: StaticStructureSchema;
5
42
  export declare var ActivateOrganizationsAccessOutput$: StaticStructureSchema;
6
43
  export declare var ActivateTypeInput$: StaticStructureSchema;
7
44
  export declare var ActivateTypeOutput$: StaticStructureSchema;
8
- export declare var AlreadyExistsException$: StaticErrorSchema;
9
45
  export declare var Annotation$: StaticStructureSchema;
10
46
  export declare var AutoDeployment$: StaticStructureSchema;
11
47
  export declare var BatchDescribeTypeConfigurationsError$: StaticStructureSchema;
12
48
  export declare var BatchDescribeTypeConfigurationsInput$: StaticStructureSchema;
13
49
  export declare var BatchDescribeTypeConfigurationsOutput$: StaticStructureSchema;
14
50
  export declare var CancelUpdateStackInput$: StaticStructureSchema;
15
- export declare var CFNRegistryException$: StaticErrorSchema;
16
51
  export declare var Change$: StaticStructureSchema;
17
52
  export declare var ChangeSetHook$: StaticStructureSchema;
18
53
  export declare var ChangeSetHookResourceTargetDetails$: StaticStructureSchema;
19
54
  export declare var ChangeSetHookTargetDetails$: StaticStructureSchema;
20
- export declare var ChangeSetNotFoundException$: StaticErrorSchema;
21
55
  export declare var ChangeSetSummary$: StaticStructureSchema;
22
- export declare var ConcurrentResourcesLimitExceededException$: StaticErrorSchema;
23
56
  export declare var ContinueUpdateRollbackInput$: StaticStructureSchema;
24
57
  export declare var ContinueUpdateRollbackOutput$: StaticStructureSchema;
25
58
  export declare var CreateChangeSetInput$: StaticStructureSchema;
26
59
  export declare var CreateChangeSetOutput$: StaticStructureSchema;
27
- export declare var CreatedButModifiedException$: StaticErrorSchema;
28
60
  export declare var CreateGeneratedTemplateInput$: StaticStructureSchema;
29
61
  export declare var CreateGeneratedTemplateOutput$: StaticStructureSchema;
30
62
  export declare var CreateStackInput$: StaticStructureSchema;
@@ -103,7 +135,6 @@ export declare var ExecuteChangeSetInput$: StaticStructureSchema;
103
135
  export declare var ExecuteChangeSetOutput$: StaticStructureSchema;
104
136
  export declare var ExecuteStackRefactorInput$: StaticStructureSchema;
105
137
  export declare var Export$: StaticStructureSchema;
106
- export declare var GeneratedTemplateNotFoundException$: StaticErrorSchema;
107
138
  export declare var GetGeneratedTemplateInput$: StaticStructureSchema;
108
139
  export declare var GetGeneratedTemplateOutput$: StaticStructureSchema;
109
140
  export declare var GetHookResultInput$: StaticStructureSchema;
@@ -114,16 +145,10 @@ export declare var GetTemplateInput$: StaticStructureSchema;
114
145
  export declare var GetTemplateOutput$: StaticStructureSchema;
115
146
  export declare var GetTemplateSummaryInput$: StaticStructureSchema;
116
147
  export declare var GetTemplateSummaryOutput$: StaticStructureSchema;
117
- export declare var HookResultNotFoundException$: StaticErrorSchema;
118
148
  export declare var HookResultSummary$: StaticStructureSchema;
119
149
  export declare var HookTarget$: StaticStructureSchema;
120
150
  export declare var ImportStacksToStackSetInput$: StaticStructureSchema;
121
151
  export declare var ImportStacksToStackSetOutput$: StaticStructureSchema;
122
- export declare var InsufficientCapabilitiesException$: StaticErrorSchema;
123
- export declare var InvalidChangeSetStatusException$: StaticErrorSchema;
124
- export declare var InvalidOperationException$: StaticErrorSchema;
125
- export declare var InvalidStateTransitionException$: StaticErrorSchema;
126
- export declare var LimitExceededException$: StaticErrorSchema;
127
152
  export declare var ListChangeSetsInput$: StaticStructureSchema;
128
153
  export declare var ListChangeSetsOutput$: StaticStructureSchema;
129
154
  export declare var ListExportsInput$: StaticStructureSchema;
@@ -170,14 +195,9 @@ export declare var LiveResourceDrift$: StaticStructureSchema;
170
195
  export declare var LoggingConfig$: StaticStructureSchema;
171
196
  export declare var ManagedExecution$: StaticStructureSchema;
172
197
  export declare var ModuleInfo$: StaticStructureSchema;
173
- export declare var NameAlreadyExistsException$: StaticErrorSchema;
174
198
  export declare var OperationEntry$: StaticStructureSchema;
175
199
  export declare var OperationEvent$: StaticStructureSchema;
176
- export declare var OperationIdAlreadyExistsException$: StaticErrorSchema;
177
- export declare var OperationInProgressException$: StaticErrorSchema;
178
- export declare var OperationNotFoundException$: StaticErrorSchema;
179
200
  export declare var OperationResultFilter$: StaticStructureSchema;
180
- export declare var OperationStatusCheckFailedException$: StaticErrorSchema;
181
201
  export declare var Output$: StaticStructureSchema;
182
202
  export declare var Parameter$: StaticStructureSchema;
183
203
  export declare var ParameterConstraints$: StaticStructureSchema;
@@ -201,9 +221,6 @@ export declare var ResourceDriftIgnoredAttribute$: StaticStructureSchema;
201
221
  export declare var ResourceIdentifierSummary$: StaticStructureSchema;
202
222
  export declare var ResourceLocation$: StaticStructureSchema;
203
223
  export declare var ResourceMapping$: StaticStructureSchema;
204
- export declare var ResourceScanInProgressException$: StaticErrorSchema;
205
- export declare var ResourceScanLimitExceededException$: StaticErrorSchema;
206
- export declare var ResourceScanNotFoundException$: StaticErrorSchema;
207
224
  export declare var ResourceScanSummary$: StaticStructureSchema;
208
225
  export declare var ResourceTargetDefinition$: StaticStructureSchema;
209
226
  export declare var ResourceToImport$: StaticStructureSchema;
@@ -228,12 +245,9 @@ export declare var StackEvent$: StaticStructureSchema;
228
245
  export declare var StackInstance$: StaticStructureSchema;
229
246
  export declare var StackInstanceComprehensiveStatus$: StaticStructureSchema;
230
247
  export declare var StackInstanceFilter$: StaticStructureSchema;
231
- export declare var StackInstanceNotFoundException$: StaticErrorSchema;
232
248
  export declare var StackInstanceResourceDriftsSummary$: StaticStructureSchema;
233
249
  export declare var StackInstanceSummary$: StaticStructureSchema;
234
- export declare var StackNotFoundException$: StaticErrorSchema;
235
250
  export declare var StackRefactorAction$: StaticStructureSchema;
236
- export declare var StackRefactorNotFoundException$: StaticErrorSchema;
237
251
  export declare var StackRefactorSummary$: StaticStructureSchema;
238
252
  export declare var StackResource$: StaticStructureSchema;
239
253
  export declare var StackResourceDetail$: StaticStructureSchema;
@@ -244,8 +258,6 @@ export declare var StackResourceSummary$: StaticStructureSchema;
244
258
  export declare var StackSet$: StaticStructureSchema;
245
259
  export declare var StackSetAutoDeploymentTargetSummary$: StaticStructureSchema;
246
260
  export declare var StackSetDriftDetectionDetails$: StaticStructureSchema;
247
- export declare var StackSetNotEmptyException$: StaticErrorSchema;
248
- export declare var StackSetNotFoundException$: StaticErrorSchema;
249
261
  export declare var StackSetOperation$: StaticStructureSchema;
250
262
  export declare var StackSetOperationPreferences$: StaticStructureSchema;
251
263
  export declare var StackSetOperationResultSummary$: StaticStructureSchema;
@@ -253,7 +265,6 @@ export declare var StackSetOperationStatusDetails$: StaticStructureSchema;
253
265
  export declare var StackSetOperationSummary$: StaticStructureSchema;
254
266
  export declare var StackSetSummary$: StaticStructureSchema;
255
267
  export declare var StackSummary$: StaticStructureSchema;
256
- export declare var StaleRequestException$: StaticErrorSchema;
257
268
  export declare var StartResourceScanInput$: StaticStructureSchema;
258
269
  export declare var StartResourceScanOutput$: StaticStructureSchema;
259
270
  export declare var StopStackSetOperationInput$: StaticStructureSchema;
@@ -266,12 +277,9 @@ export declare var TemplateSummary$: StaticStructureSchema;
266
277
  export declare var TemplateSummaryConfig$: StaticStructureSchema;
267
278
  export declare var TestTypeInput$: StaticStructureSchema;
268
279
  export declare var TestTypeOutput$: StaticStructureSchema;
269
- export declare var TokenAlreadyExistsException$: StaticErrorSchema;
270
280
  export declare var TypeConfigurationDetails$: StaticStructureSchema;
271
281
  export declare var TypeConfigurationIdentifier$: StaticStructureSchema;
272
- export declare var TypeConfigurationNotFoundException$: StaticErrorSchema;
273
282
  export declare var TypeFilters$: StaticStructureSchema;
274
- export declare var TypeNotFoundException$: StaticErrorSchema;
275
283
  export declare var TypeSummary$: StaticStructureSchema;
276
284
  export declare var TypeVersionSummary$: StaticStructureSchema;
277
285
  export declare var UpdateGeneratedTemplateInput$: StaticStructureSchema;
@@ -289,7 +297,6 @@ export declare var ValidateTemplateOutput$: StaticStructureSchema;
289
297
  export declare var WarningDetail$: StaticStructureSchema;
290
298
  export declare var WarningProperty$: StaticStructureSchema;
291
299
  export declare var Warnings$: StaticStructureSchema;
292
- export declare var CloudFormationServiceException$: StaticErrorSchema;
293
300
  export declare var ActivateOrganizationsAccess$: StaticOperationSchema;
294
301
  export declare var ActivateType$: StaticOperationSchema;
295
302
  export declare var BatchDescribeTypeConfigurations$: StaticOperationSchema;