@aws-sdk/client-networkmanager 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 { defaultNetworkManagerHttpAuthSchemeProvider } 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: "2019-07-05",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.networkmanager",
30
+ errorTypeRegistries,
29
31
  version: "2019-07-05",
30
32
  serviceTarget: "NetworkManager",
31
33
  },
@@ -41,7 +41,7 @@ const _At = "Attachments";
41
41
  const _B = "Bandwidth";
42
42
  const _BC = "BgpConfigurations";
43
43
  const _BO = "BgpOptions";
44
- const _C = "Code";
44
+ const _C = "Context";
45
45
  const _CA = "CreatedAt";
46
46
  const _CAI = "ConnectAttachmentId";
47
47
  const _CAO = "ConnectAttachmentOptions";
@@ -107,9 +107,9 @@ const _CNNFG = "CoreNetworkNetworkFunctionGroup";
107
107
  const _CNNFGI = "CoreNetworkNetworkFunctionGroupIdentifier";
108
108
  const _CNNFGL = "CoreNetworkNetworkFunctionGroupList";
109
109
  const _CNP = "CoreNetworkPolicy";
110
- const _CNPE = "CoreNetworkPolicyError";
110
+ const _CNPE = "CoreNetworkPolicyException";
111
111
  const _CNPEL = "CoreNetworkPolicyErrorList";
112
- const _CNPEo = "CoreNetworkPolicyException";
112
+ const _CNPEo = "CoreNetworkPolicyError";
113
113
  const _CNPV = "CoreNetworkPolicyVersion";
114
114
  const _CNPVL = "CoreNetworkPolicyVersionList";
115
115
  const _CNPVo = "CoreNetworkPolicyVersions";
@@ -156,11 +156,11 @@ const _CVA = "CreateVpcAttachment";
156
156
  const _CVAR = "CreateVpcAttachmentRequest";
157
157
  const _CVARr = "CreateVpcAttachmentResponse";
158
158
  const _Ci = "Cidr";
159
- const _Co = "Connection";
159
+ const _Co = "Code";
160
160
  const _Com = "Communities";
161
- const _Con = "Configuration";
161
+ const _Con = "Connection";
162
+ const _Conf = "Configuration";
162
163
  const _Conn = "Connections";
163
- const _Cont = "Context";
164
164
  const _Cou = "Count";
165
165
  const _D = "Description";
166
166
  const _DA = "DeviceArn";
@@ -234,7 +234,7 @@ const _Def = "Definition";
234
234
  const _Des = "Destinations";
235
235
  const _Dest = "Destination";
236
236
  const _Dev = "Devices";
237
- const _E = "Edges";
237
+ const _E = "Errors";
238
238
  const _EAPM = "ExactAsPathMatches";
239
239
  const _EC = "ErrorCode";
240
240
  const _ECM = "ExactCidrMatches";
@@ -247,11 +247,11 @@ const _EO = "EdgeOverride";
247
247
  const _ES = "EdgeSets";
248
248
  const _ESL = "EdgeSetList";
249
249
  const _ET = "EventTime";
250
- const _Er = "Errors";
251
- const _F = "From";
250
+ const _Ed = "Edges";
251
+ const _F = "Fields";
252
252
  const _FM = "FilterMap";
253
253
  const _FP = "ForwardPath";
254
- const _Fi = "Fields";
254
+ const _Fr = "From";
255
255
  const _GC = "GetConnections";
256
256
  const _GCA = "GetConnectAttachment";
257
257
  const _GCAR = "GetConnectAttachmentRequest";
@@ -477,8 +477,8 @@ const _Pe = "Peering";
477
477
  const _Pee = "Peerings";
478
478
  const _Pr = "Prefix";
479
479
  const _Pro = "Provider";
480
- const _R = "Relationships";
481
- const _RA = "ResourceArn";
480
+ const _R = "Reason";
481
+ const _RA = "Retry-After";
482
482
  const _RAC = "RouteAnalysisCompletion";
483
483
  const _RAEO = "RouteAnalysisEndpointOptions";
484
484
  const _RAEOS = "RouteAnalysisEndpointOptionsSpecification";
@@ -490,8 +490,8 @@ const _RARPLR = "RemoveAttachmentRoutingPolicyLabelRequest";
490
490
  const _RARPLRe = "RemoveAttachmentRoutingPolicyLabelResponse";
491
491
  const _RARe = "RejectAttachmentResponse";
492
492
  const _RAS = "RetryAfterSeconds";
493
- const _RA_ = "Retry-After";
494
- const _RAe = "RejectAttachment";
493
+ const _RAe = "ResourceArn";
494
+ const _RAej = "RejectAttachment";
495
495
  const _RAo = "RouteAnalysis";
496
496
  const _RC = "ResultCode";
497
497
  const _RCNPV = "RestoreCoreNetworkPolicyVersion";
@@ -500,9 +500,9 @@ const _RCNPVRe = "RestoreCoreNetworkPolicyVersionResponse";
500
500
  const _RCe = "ReasonCode";
501
501
  const _RCea = "ReasonContext";
502
502
  const _RGA = "RegisteredGatewayArn";
503
- const _RI = "RequestId";
503
+ const _RI = "ResourceId";
504
504
  const _RINH = "RoutingInformationNextHop";
505
- const _RIe = "ResourceId";
505
+ const _RIe = "RequestId";
506
506
  const _RL = "RelationshipList";
507
507
  const _RNFE = "ResourceNotFoundException";
508
508
  const _RP = "RoutingPolicy";
@@ -522,9 +522,9 @@ const _RTGRe = "RegisterTransitGatewayResponse";
522
522
  const _RTI = "RouteTableIdentifier";
523
523
  const _RTT = "RouteTableType";
524
524
  const _RTTo = "RouteTableTimestamp";
525
- const _Re = "Resource";
526
- const _Rea = "Reason";
525
+ const _Re = "Relationships";
527
526
  const _Rel = "Relationship";
527
+ const _Res = "Resource";
528
528
  const _S = "State";
529
529
  const _SA = "SubnetArn";
530
530
  const _SAi = "SiteArn";
@@ -678,10 +678,10 @@ const _pVI = "policyVersionId";
678
678
  const _rA = "resourceArn";
679
679
  const _rGA = "registeredGatewayArn";
680
680
  const _rT = "resourceType";
681
- const _s = "server";
681
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.networkmanager";
682
682
  const _sI = "siteId";
683
683
  const _sIi = "siteIds";
684
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.networkmanager";
684
+ const _se = "server";
685
685
  const _st = "state";
686
686
  const _t = "type";
687
687
  const _tGA = "transitGatewayArns";
@@ -692,6 +692,62 @@ const n0 = "com.amazonaws.networkmanager";
692
692
  import { TypeRegistry } from "@smithy/core/schema";
693
693
  import { AccessDeniedException, ConflictException, CoreNetworkPolicyException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
694
694
  import { NetworkManagerServiceException } from "../models/NetworkManagerServiceException";
695
+ const _s_registry = TypeRegistry.for(_s);
696
+ export var NetworkManagerServiceException$ = [-3, _s, "NetworkManagerServiceException", 0, [], []];
697
+ _s_registry.registerError(NetworkManagerServiceException$, NetworkManagerServiceException);
698
+ const n0_registry = TypeRegistry.for(n0);
699
+ export var AccessDeniedException$ = [-3, n0, _ADE,
700
+ { [_e]: _c, [_hE]: 403 },
701
+ [_M],
702
+ [0], 1
703
+ ];
704
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
705
+ export var ConflictException$ = [-3, n0, _CE,
706
+ { [_e]: _c, [_hE]: 409 },
707
+ [_M, _RI, _RT],
708
+ [0, 0, 0], 3
709
+ ];
710
+ n0_registry.registerError(ConflictException$, ConflictException);
711
+ export var CoreNetworkPolicyException$ = [-3, n0, _CNPE,
712
+ { [_e]: _c, [_hE]: 400 },
713
+ [_M, _E],
714
+ [0, () => CoreNetworkPolicyErrorList], 1
715
+ ];
716
+ n0_registry.registerError(CoreNetworkPolicyException$, CoreNetworkPolicyException);
717
+ export var InternalServerException$ = [-3, n0, _ISE,
718
+ { [_e]: _se, [_hE]: 500 },
719
+ [_M, _RAS],
720
+ [0, [1, { [_hH]: _RA }]], 1
721
+ ];
722
+ n0_registry.registerError(InternalServerException$, InternalServerException);
723
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
724
+ { [_e]: _c, [_hE]: 404 },
725
+ [_M, _RI, _RT, _C],
726
+ [0, 0, 0, 128 | 0], 3
727
+ ];
728
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
729
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
730
+ { [_e]: _c, [_hE]: 402 },
731
+ [_M, _LC, _SC, _RI, _RT],
732
+ [0, 0, 0, 0, 0], 3
733
+ ];
734
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
735
+ export var ThrottlingException$ = [-3, n0, _TE,
736
+ { [_e]: _c, [_hE]: 429 },
737
+ [_M, _RAS],
738
+ [0, [1, { [_hH]: _RA }]], 1
739
+ ];
740
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
741
+ export var ValidationException$ = [-3, n0, _VE,
742
+ { [_e]: _c, [_hE]: 400 },
743
+ [_M, _R, _F],
744
+ [0, 0, () => ValidationExceptionFieldList], 1
745
+ ];
746
+ n0_registry.registerError(ValidationException$, ValidationException);
747
+ export const errorTypeRegistries = [
748
+ _s_registry,
749
+ n0_registry,
750
+ ];
695
751
  var SynthesizedJsonCoreNetworkPolicyDocument = [0, n0, _SJCNPD, { [_mT]: _a }, 0];
696
752
  var SynthesizedJsonResourcePolicyDocument = [0, n0, _SJRPD, { [_mT]: _a }, 0];
697
753
  export var AcceptAttachmentRequest$ = [3, n0, _AAR,
@@ -704,12 +760,6 @@ export var AcceptAttachmentResponse$ = [3, n0, _AARc,
704
760
  [_A],
705
761
  [() => Attachment$]
706
762
  ];
707
- export var AccessDeniedException$ = [-3, n0, _ADE,
708
- { [_e]: _c, [_hE]: 403 },
709
- [_M],
710
- [0], 1
711
- ];
712
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
713
763
  export var AccountStatus$ = [3, n0, _AS,
714
764
  0,
715
765
  [_AIc, _SLRDS],
@@ -757,12 +807,12 @@ export var AssociateTransitGatewayConnectPeerResponse$ = [3, n0, _ATGCPRs,
757
807
  ];
758
808
  export var Attachment$ = [3, n0, _A,
759
809
  0,
760
- [_CNI, _CNA, _AI, _OAI, _AT, _S, _EL, _ELd, _RA, _APRN, _SN, _NFGN, _T, _PSC, _PNFGC, _CA, _UA, _LME],
810
+ [_CNI, _CNA, _AI, _OAI, _AT, _S, _EL, _ELd, _RAe, _APRN, _SN, _NFGN, _T, _PSC, _PNFGC, _CA, _UA, _LME],
761
811
  [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 1, 0, 0, () => TagList, () => ProposedSegmentChange$, () => ProposedNetworkFunctionGroupChange$, 4, 4, () => AttachmentErrorList]
762
812
  ];
763
813
  export var AttachmentError$ = [3, n0, _AE,
764
814
  0,
765
- [_C, _M, _RA, _RI],
815
+ [_Co, _M, _RAe, _RIe],
766
816
  [0, 0, 0, 0]
767
817
  ];
768
818
  export var AttachmentRoutingPolicyAssociationSummary$ = [3, n0, _ARPAS,
@@ -785,12 +835,6 @@ export var BgpOptions$ = [3, n0, _BO,
785
835
  [_PA],
786
836
  [1]
787
837
  ];
788
- export var ConflictException$ = [-3, n0, _CE,
789
- { [_e]: _c, [_hE]: 409 },
790
- [_M, _RIe, _RT],
791
- [0, 0, 0], 3
792
- ];
793
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
794
838
  export var ConnectAttachment$ = [3, n0, _CAo,
795
839
  0,
796
840
  [_A, _TAI, _O],
@@ -801,7 +845,7 @@ export var ConnectAttachmentOptions$ = [3, n0, _CAO,
801
845
  [_P],
802
846
  [0]
803
847
  ];
804
- export var Connection$ = [3, n0, _Co,
848
+ export var Connection$ = [3, n0, _Con,
805
849
  0,
806
850
  [_CI, _CAon, _GNI, _DI, _CDI, _LI, _CLI, _D, _CA, _S, _T],
807
851
  [0, 0, 0, 0, 0, 0, 0, 0, 4, 0, () => TagList]
@@ -813,7 +857,7 @@ export var ConnectionHealth$ = [3, n0, _CH,
813
857
  ];
814
858
  export var ConnectPeer$ = [3, n0, _CP,
815
859
  0,
816
- [_CNI, _CAI, _CPI, _EL, _S, _CA, _Con, _T, _SA, _LME],
860
+ [_CNI, _CAI, _CPI, _EL, _S, _CA, _Conf, _T, _SA, _LME],
817
861
  [0, 0, 0, 0, 0, 4, () => ConnectPeerConfiguration$, () => TagList, 0, () => ConnectPeerErrorList]
818
862
  ];
819
863
  export var ConnectPeerAssociation$ = [3, n0, _CPA,
@@ -833,7 +877,7 @@ export var ConnectPeerConfiguration$ = [3, n0, _CPC,
833
877
  ];
834
878
  export var ConnectPeerError$ = [3, n0, _CPE,
835
879
  0,
836
- [_C, _M, _RA, _RI],
880
+ [_Co, _M, _RAe, _RIe],
837
881
  [0, 0, 0, 0]
838
882
  ];
839
883
  export var ConnectPeerSummary$ = [3, n0, _CPS,
@@ -843,7 +887,7 @@ export var ConnectPeerSummary$ = [3, n0, _CPS,
843
887
  ];
844
888
  export var CoreNetwork$ = [3, n0, _CN,
845
889
  0,
846
- [_GNI, _CNI, _CNA, _D, _CA, _S, _Se, _NFG, _E, _T],
890
+ [_GNI, _CNI, _CNA, _D, _CA, _S, _Se, _NFG, _Ed, _T],
847
891
  [0, 0, 0, 0, 4, 0, () => CoreNetworkSegmentList, () => CoreNetworkNetworkFunctionGroupList, () => CoreNetworkEdgeList, () => TagList]
848
892
  ];
849
893
  export var CoreNetworkChange$ = [3, n0, _CNC,
@@ -886,17 +930,11 @@ export var CoreNetworkPolicy$ = [3, n0, _CNP,
886
930
  [_CNI, _PVI, _Al, _D, _CA, _CSS, _PE, _PD],
887
931
  [0, 1, 0, 0, 4, 0, () => CoreNetworkPolicyErrorList, [() => SynthesizedJsonCoreNetworkPolicyDocument, 0]]
888
932
  ];
889
- export var CoreNetworkPolicyError$ = [3, n0, _CNPE,
933
+ export var CoreNetworkPolicyError$ = [3, n0, _CNPEo,
890
934
  0,
891
935
  [_EC, _M, _Pa],
892
936
  [0, 0, 0], 2
893
937
  ];
894
- export var CoreNetworkPolicyException$ = [-3, n0, _CNPEo,
895
- { [_e]: _c, [_hE]: 400 },
896
- [_M, _Er],
897
- [0, () => CoreNetworkPolicyErrorList], 1
898
- ];
899
- TypeRegistry.for(n0).registerError(CoreNetworkPolicyException$, CoreNetworkPolicyException);
900
938
  export var CoreNetworkPolicyVersion$ = [3, n0, _CNPV,
901
939
  0,
902
940
  [_CNI, _PVI, _Al, _D, _CA, _CSS],
@@ -939,7 +977,7 @@ export var CreateConnectionRequest$ = [3, n0, _CCR,
939
977
  ];
940
978
  export var CreateConnectionResponse$ = [3, n0, _CCRr,
941
979
  0,
942
- [_Co],
980
+ [_Con],
943
981
  [() => Connection$]
944
982
  ];
945
983
  export var CreateConnectPeerRequest$ = [3, n0, _CCPR,
@@ -1084,7 +1122,7 @@ export var DeleteConnectionRequest$ = [3, n0, _DCR,
1084
1122
  ];
1085
1123
  export var DeleteConnectionResponse$ = [3, n0, _DCRe,
1086
1124
  0,
1087
- [_Co],
1125
+ [_Con],
1088
1126
  [() => Connection$]
1089
1127
  ];
1090
1128
  export var DeleteConnectPeerRequest$ = [3, n0, _DCPR,
@@ -1169,7 +1207,7 @@ export var DeletePeeringResponse$ = [3, n0, _DPRe,
1169
1207
  ];
1170
1208
  export var DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
1171
1209
  0,
1172
- [_RA],
1210
+ [_RAe],
1173
1211
  [[0, 1]], 1
1174
1212
  ];
1175
1213
  export var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
@@ -1414,17 +1452,17 @@ export var GetNetworkResourceCountsResponse$ = [3, n0, _GNRCRe,
1414
1452
  ];
1415
1453
  export var GetNetworkResourceRelationshipsRequest$ = [3, n0, _GNRRR,
1416
1454
  0,
1417
- [_GNI, _CNI, _RGA, _AR, _AIc, _RT, _RA, _MR, _NT],
1455
+ [_GNI, _CNI, _RGA, _AR, _AIc, _RT, _RAe, _MR, _NT],
1418
1456
  [[0, 1], [0, { [_hQ]: _cNI }], [0, { [_hQ]: _rGA }], [0, { [_hQ]: _aR }], [0, { [_hQ]: _aI }], [0, { [_hQ]: _rT }], [0, { [_hQ]: _rA }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
1419
1457
  ];
1420
1458
  export var GetNetworkResourceRelationshipsResponse$ = [3, n0, _GNRRRe,
1421
1459
  0,
1422
- [_R, _NT],
1460
+ [_Re, _NT],
1423
1461
  [() => RelationshipList, 0]
1424
1462
  ];
1425
1463
  export var GetNetworkResourcesRequest$ = [3, n0, _GNRR,
1426
1464
  0,
1427
- [_GNI, _CNI, _RGA, _AR, _AIc, _RT, _RA, _MR, _NT],
1465
+ [_GNI, _CNI, _RGA, _AR, _AIc, _RT, _RAe, _MR, _NT],
1428
1466
  [[0, 1], [0, { [_hQ]: _cNI }], [0, { [_hQ]: _rGA }], [0, { [_hQ]: _aR }], [0, { [_hQ]: _aI }], [0, { [_hQ]: _rT }], [0, { [_hQ]: _rA }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
1429
1467
  ];
1430
1468
  export var GetNetworkResourcesResponse$ = [3, n0, _GNRRe,
@@ -1444,7 +1482,7 @@ export var GetNetworkRoutesResponse$ = [3, n0, _GNRRete,
1444
1482
  ];
1445
1483
  export var GetNetworkTelemetryRequest$ = [3, n0, _GNTR,
1446
1484
  0,
1447
- [_GNI, _CNI, _RGA, _AR, _AIc, _RT, _RA, _MR, _NT],
1485
+ [_GNI, _CNI, _RGA, _AR, _AIc, _RT, _RAe, _MR, _NT],
1448
1486
  [[0, 1], [0, { [_hQ]: _cNI }], [0, { [_hQ]: _rGA }], [0, { [_hQ]: _aR }], [0, { [_hQ]: _aI }], [0, { [_hQ]: _rT }], [0, { [_hQ]: _rA }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
1449
1487
  ];
1450
1488
  export var GetNetworkTelemetryResponse$ = [3, n0, _GNTRe,
@@ -1454,7 +1492,7 @@ export var GetNetworkTelemetryResponse$ = [3, n0, _GNTRe,
1454
1492
  ];
1455
1493
  export var GetResourcePolicyRequest$ = [3, n0, _GRPR,
1456
1494
  0,
1457
- [_RA],
1495
+ [_RAe],
1458
1496
  [[0, 1]], 1
1459
1497
  ];
1460
1498
  export var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
@@ -1547,12 +1585,6 @@ export var GlobalNetwork$ = [3, n0, _GN,
1547
1585
  [_GNI, _GNA, _D, _CA, _S, _T],
1548
1586
  [0, 0, 0, 4, 0, () => TagList]
1549
1587
  ];
1550
- export var InternalServerException$ = [-3, n0, _ISE,
1551
- { [_e]: _s, [_hE]: 500 },
1552
- [_M, _RAS],
1553
- [0, [1, { [_hH]: _RA_ }]], 1
1554
- ];
1555
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
1556
1588
  export var Link$ = [3, n0, _Li,
1557
1589
  0,
1558
1590
  [_LI, _LAin, _GNI, _SI, _D, _Ty, _B, _Pro, _CA, _S, _T],
@@ -1655,7 +1687,7 @@ export var ListPeeringsResponse$ = [3, n0, _LPRi,
1655
1687
  ];
1656
1688
  export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
1657
1689
  0,
1658
- [_RA],
1690
+ [_RAe],
1659
1691
  [[0, 1]], 1
1660
1692
  ];
1661
1693
  export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
@@ -1675,7 +1707,7 @@ export var NetworkFunctionGroup$ = [3, n0, _NFGe,
1675
1707
  ];
1676
1708
  export var NetworkResource$ = [3, n0, _NRet,
1677
1709
  0,
1678
- [_RGA, _CNI, _AR, _AIc, _RT, _RIe, _RA, _Def, _DT, _T, _Met],
1710
+ [_RGA, _CNI, _AR, _AIc, _RT, _RI, _RAe, _Def, _DT, _T, _Met],
1679
1711
  [0, 0, 0, 0, 0, 0, 0, 0, 4, () => TagList, 128 | 0]
1680
1712
  ];
1681
1713
  export var NetworkResourceCount$ = [3, n0, _NRCe,
@@ -1685,7 +1717,7 @@ export var NetworkResourceCount$ = [3, n0, _NRCe,
1685
1717
  ];
1686
1718
  export var NetworkResourceSummary$ = [3, n0, _NRS,
1687
1719
  0,
1688
- [_RGA, _RA, _RT, _Def, _NTa, _IM],
1720
+ [_RGA, _RAe, _RT, _Def, _NTa, _IM],
1689
1721
  [0, 0, 0, 0, 0, 2]
1690
1722
  ];
1691
1723
  export var NetworkRoute$ = [3, n0, _NRetw,
@@ -1695,12 +1727,12 @@ export var NetworkRoute$ = [3, n0, _NRetw,
1695
1727
  ];
1696
1728
  export var NetworkRouteDestination$ = [3, n0, _NRD,
1697
1729
  0,
1698
- [_CNAI, _TGAI, _SN, _NFGN, _EL, _RT, _RIe],
1730
+ [_CNAI, _TGAI, _SN, _NFGN, _EL, _RT, _RI],
1699
1731
  [0, 0, 0, 0, 0, 0, 0]
1700
1732
  ];
1701
1733
  export var NetworkTelemetry$ = [3, n0, _NTe,
1702
1734
  0,
1703
- [_RGA, _CNI, _AR, _AIc, _RT, _RIe, _RA, _Ad, _H],
1735
+ [_RGA, _CNI, _AR, _AIc, _RT, _RI, _RAe, _Ad, _H],
1704
1736
  [0, 0, 0, 0, 0, 0, 0, 0, () => ConnectionHealth$]
1705
1737
  ];
1706
1738
  export var OrganizationStatus$ = [3, n0, _OS,
@@ -1710,17 +1742,17 @@ export var OrganizationStatus$ = [3, n0, _OS,
1710
1742
  ];
1711
1743
  export var PathComponent$ = [3, n0, _PC,
1712
1744
  0,
1713
- [_Seq, _Re, _DCB],
1745
+ [_Seq, _Res, _DCB],
1714
1746
  [1, () => NetworkResourceSummary$, 0]
1715
1747
  ];
1716
1748
  export var Peering$ = [3, n0, _Pe,
1717
1749
  0,
1718
- [_CNI, _CNA, _PI, _OAI, _PT, _S, _EL, _RA, _T, _CA, _LME],
1750
+ [_CNI, _CNA, _PI, _OAI, _PT, _S, _EL, _RAe, _T, _CA, _LME],
1719
1751
  [0, 0, 0, 0, 0, 0, 0, 0, () => TagList, 4, () => PeeringErrorList]
1720
1752
  ];
1721
1753
  export var PeeringError$ = [3, n0, _PEe,
1722
1754
  0,
1723
- [_C, _M, _RA, _RI, _MPC],
1755
+ [_Co, _M, _RAe, _RIe, _MPC],
1724
1756
  [0, 0, 0, 0, () => PermissionsErrorContext$]
1725
1757
  ];
1726
1758
  export var PermissionsErrorContext$ = [3, n0, _PEC,
@@ -1765,7 +1797,7 @@ export var PutCoreNetworkPolicyResponse$ = [3, n0, _PCNPRu,
1765
1797
  ];
1766
1798
  export var PutResourcePolicyRequest$ = [3, n0, _PRPR,
1767
1799
  0,
1768
- [_PD, _RA],
1800
+ [_PD, _RAe],
1769
1801
  [[() => SynthesizedJsonResourcePolicyDocument, 0], [0, 1]], 2
1770
1802
  ];
1771
1803
  export var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
@@ -1795,7 +1827,7 @@ export var RejectAttachmentResponse$ = [3, n0, _RARe,
1795
1827
  ];
1796
1828
  export var Relationship$ = [3, n0, _Rel,
1797
1829
  0,
1798
- [_F, _To],
1830
+ [_Fr, _To],
1799
1831
  [0, 0]
1800
1832
  ];
1801
1833
  export var RemoveAttachmentRoutingPolicyLabelRequest$ = [3, n0, _RARPLR,
@@ -1808,12 +1840,6 @@ export var RemoveAttachmentRoutingPolicyLabelResponse$ = [3, n0, _RARPLRe,
1808
1840
  [_CNI, _AI, _RPL],
1809
1841
  [0, 0, 0]
1810
1842
  ];
1811
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1812
- { [_e]: _c, [_hE]: 404 },
1813
- [_M, _RIe, _RT, _Cont],
1814
- [0, 0, 0, 128 | 0], 3
1815
- ];
1816
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1817
1843
  export var RestoreCoreNetworkPolicyVersionRequest$ = [3, n0, _RCNPVR,
1818
1844
  0,
1819
1845
  [_CNI, _PVI],
@@ -1856,7 +1882,7 @@ export var RouteTableIdentifier$ = [3, n0, _RTI,
1856
1882
  ];
1857
1883
  export var RoutingInformationNextHop$ = [3, n0, _RINH,
1858
1884
  0,
1859
- [_IA, _CNAI, _RIe, _RT, _SN, _EL],
1885
+ [_IA, _CNAI, _RI, _RT, _SN, _EL],
1860
1886
  [0, 0, 0, 0, 0, 0]
1861
1887
  ];
1862
1888
  export var RoutingPolicyAssociationDetail$ = [3, n0, _RPADo,
@@ -1874,12 +1900,6 @@ export var ServiceInsertionSegments$ = [3, n0, _SIS,
1874
1900
  [_SV, _STe],
1875
1901
  [64 | 0, 64 | 0]
1876
1902
  ];
1877
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
1878
- { [_e]: _c, [_hE]: 402 },
1879
- [_M, _LC, _SC, _RIe, _RT],
1880
- [0, 0, 0, 0, 0], 3
1881
- ];
1882
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
1883
1903
  export var Site$ = [3, n0, _Si,
1884
1904
  0,
1885
1905
  [_SI, _SAi, _GNI, _D, _L, _CA, _S, _T],
@@ -1917,7 +1937,7 @@ export var Tag$ = [3, n0, _Ta,
1917
1937
  ];
1918
1938
  export var TagResourceRequest$ = [3, n0, _TRR,
1919
1939
  0,
1920
- [_RA, _T],
1940
+ [_RAe, _T],
1921
1941
  [[0, 1], () => TagList], 2
1922
1942
  ];
1923
1943
  export var TagResourceResponse$ = [3, n0, _TRRa,
@@ -1925,12 +1945,6 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
1925
1945
  [],
1926
1946
  []
1927
1947
  ];
1928
- export var ThrottlingException$ = [-3, n0, _TE,
1929
- { [_e]: _c, [_hE]: 429 },
1930
- [_M, _RAS],
1931
- [0, [1, { [_hH]: _RA_ }]], 1
1932
- ];
1933
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
1934
1948
  export var TransitGatewayConnectPeerAssociation$ = [3, n0, _TGCPAr,
1935
1949
  0,
1936
1950
  [_TGCPA, _GNI, _DI, _LI, _S],
@@ -1948,7 +1962,7 @@ export var TransitGatewayRegistration$ = [3, n0, _TGR,
1948
1962
  ];
1949
1963
  export var TransitGatewayRegistrationStateReason$ = [3, n0, _TGRSR,
1950
1964
  0,
1951
- [_C, _M],
1965
+ [_Co, _M],
1952
1966
  [0, 0]
1953
1967
  ];
1954
1968
  export var TransitGatewayRouteTableAttachment$ = [3, n0, _TGRTAr,
@@ -1958,7 +1972,7 @@ export var TransitGatewayRouteTableAttachment$ = [3, n0, _TGRTAr,
1958
1972
  ];
1959
1973
  export var UntagResourceRequest$ = [3, n0, _URR,
1960
1974
  0,
1961
- [_RA, _TK],
1975
+ [_RAe, _TK],
1962
1976
  [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
1963
1977
  ];
1964
1978
  export var UntagResourceResponse$ = [3, n0, _URRn,
@@ -1973,7 +1987,7 @@ export var UpdateConnectionRequest$ = [3, n0, _UCR,
1973
1987
  ];
1974
1988
  export var UpdateConnectionResponse$ = [3, n0, _UCRp,
1975
1989
  0,
1976
- [_Co],
1990
+ [_Con],
1977
1991
  [() => Connection$]
1978
1992
  ];
1979
1993
  export var UpdateCoreNetworkRequest$ = [3, n0, _UCNR,
@@ -2028,12 +2042,12 @@ export var UpdateLinkResponse$ = [3, n0, _ULRp,
2028
2042
  ];
2029
2043
  export var UpdateNetworkResourceMetadataRequest$ = [3, n0, _UNRMR,
2030
2044
  0,
2031
- [_GNI, _RA, _Met],
2045
+ [_GNI, _RAe, _Met],
2032
2046
  [[0, 1], [0, 1], 128 | 0], 3
2033
2047
  ];
2034
2048
  export var UpdateNetworkResourceMetadataResponse$ = [3, n0, _UNRMRp,
2035
2049
  0,
2036
- [_RA, _Met],
2050
+ [_RAe, _Met],
2037
2051
  [0, 128 | 0]
2038
2052
  ];
2039
2053
  export var UpdateSiteRequest$ = [3, n0, _USR,
@@ -2056,12 +2070,6 @@ export var UpdateVpcAttachmentResponse$ = [3, n0, _UVARp,
2056
2070
  [_VAp],
2057
2071
  [() => VpcAttachment$]
2058
2072
  ];
2059
- export var ValidationException$ = [-3, n0, _VE,
2060
- { [_e]: _c, [_hE]: 400 },
2061
- [_M, _Rea, _Fi],
2062
- [0, 0, () => ValidationExceptionFieldList], 1
2063
- ];
2064
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
2065
2073
  export var ValidationExceptionField$ = [3, n0, _VEF,
2066
2074
  0,
2067
2075
  [_N, _M],
@@ -2087,8 +2095,6 @@ export var WhenSentTo$ = [3, n0, _WST,
2087
2095
  [_WSTSL],
2088
2096
  [64 | 0]
2089
2097
  ];
2090
- export var NetworkManagerServiceException$ = [-3, _sm, "NetworkManagerServiceException", 0, [], []];
2091
- TypeRegistry.for(_sm).registerError(NetworkManagerServiceException$, NetworkManagerServiceException);
2092
2098
  var AccountStatusList = [1, n0, _ASL,
2093
2099
  0, () => AccountStatus$
2094
2100
  ];
@@ -2481,7 +2487,7 @@ export var PutResourcePolicy$ = [9, n0, _PRPu,
2481
2487
  export var RegisterTransitGateway$ = [9, n0, _RTG,
2482
2488
  { [_h]: ["POST", "/global-networks/{GlobalNetworkId}/transit-gateway-registrations", 200] }, () => RegisterTransitGatewayRequest$, () => RegisterTransitGatewayResponse$
2483
2489
  ];
2484
- export var RejectAttachment$ = [9, n0, _RAe,
2490
+ export var RejectAttachment$ = [9, n0, _RAej,
2485
2491
  { [_h]: ["POST", "/attachments/{AttachmentId}/reject", 200] }, () => RejectAttachmentRequest$, () => RejectAttachmentResponse$
2486
2492
  ];
2487
2493
  export var RemoveAttachmentRoutingPolicyLabel$ = [9, n0, _RARPL,
@@ -1,7 +1,22 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var NetworkManagerServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var CoreNetworkPolicyException$: StaticErrorSchema;
7
+ export declare var InternalServerException$: StaticErrorSchema;
8
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
9
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
10
+ export declare var ThrottlingException$: StaticErrorSchema;
11
+ export declare var ValidationException$: StaticErrorSchema;
12
+ /**
13
+ * TypeRegistry instances containing modeled errors.
14
+ * @internal
15
+ *
16
+ */
17
+ export declare const errorTypeRegistries: TypeRegistry[];
2
18
  export declare var AcceptAttachmentRequest$: StaticStructureSchema;
3
19
  export declare var AcceptAttachmentResponse$: StaticStructureSchema;
4
- export declare var AccessDeniedException$: StaticErrorSchema;
5
20
  export declare var AccountStatus$: StaticStructureSchema;
6
21
  export declare var AssociateConnectPeerRequest$: StaticStructureSchema;
7
22
  export declare var AssociateConnectPeerResponse$: StaticStructureSchema;
@@ -17,7 +32,6 @@ export declare var AttachmentRoutingPolicyAssociationSummary$: StaticStructureSc
17
32
  export declare var AWSLocation$: StaticStructureSchema;
18
33
  export declare var Bandwidth$: StaticStructureSchema;
19
34
  export declare var BgpOptions$: StaticStructureSchema;
20
- export declare var ConflictException$: StaticErrorSchema;
21
35
  export declare var ConnectAttachment$: StaticStructureSchema;
22
36
  export declare var ConnectAttachmentOptions$: StaticStructureSchema;
23
37
  export declare var Connection$: StaticStructureSchema;
@@ -38,7 +52,6 @@ export declare var CoreNetworkNetworkFunctionGroup$: StaticStructureSchema;
38
52
  export declare var CoreNetworkNetworkFunctionGroupIdentifier$: StaticStructureSchema;
39
53
  export declare var CoreNetworkPolicy$: StaticStructureSchema;
40
54
  export declare var CoreNetworkPolicyError$: StaticStructureSchema;
41
- export declare var CoreNetworkPolicyException$: StaticErrorSchema;
42
55
  export declare var CoreNetworkPolicyVersion$: StaticStructureSchema;
43
56
  export declare var CoreNetworkRoutingInformation$: StaticStructureSchema;
44
57
  export declare var CoreNetworkSegment$: StaticStructureSchema;
@@ -169,7 +182,6 @@ export declare var GetTransitGatewayRouteTableAttachmentResponse$: StaticStructu
169
182
  export declare var GetVpcAttachmentRequest$: StaticStructureSchema;
170
183
  export declare var GetVpcAttachmentResponse$: StaticStructureSchema;
171
184
  export declare var GlobalNetwork$: StaticStructureSchema;
172
- export declare var InternalServerException$: StaticErrorSchema;
173
185
  export declare var Link$: StaticStructureSchema;
174
186
  export declare var LinkAssociation$: StaticStructureSchema;
175
187
  export declare var ListAttachmentRoutingPolicyAssociationsRequest$: StaticStructureSchema;
@@ -221,7 +233,6 @@ export declare var RejectAttachmentResponse$: StaticStructureSchema;
221
233
  export declare var Relationship$: StaticStructureSchema;
222
234
  export declare var RemoveAttachmentRoutingPolicyLabelRequest$: StaticStructureSchema;
223
235
  export declare var RemoveAttachmentRoutingPolicyLabelResponse$: StaticStructureSchema;
224
- export declare var ResourceNotFoundException$: StaticErrorSchema;
225
236
  export declare var RestoreCoreNetworkPolicyVersionRequest$: StaticStructureSchema;
226
237
  export declare var RestoreCoreNetworkPolicyVersionResponse$: StaticStructureSchema;
227
238
  export declare var RouteAnalysis$: StaticStructureSchema;
@@ -234,7 +245,6 @@ export declare var RoutingInformationNextHop$: StaticStructureSchema;
234
245
  export declare var RoutingPolicyAssociationDetail$: StaticStructureSchema;
235
246
  export declare var ServiceInsertionAction$: StaticStructureSchema;
236
247
  export declare var ServiceInsertionSegments$: StaticStructureSchema;
237
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
238
248
  export declare var Site$: StaticStructureSchema;
239
249
  export declare var SiteToSiteVpnAttachment$: StaticStructureSchema;
240
250
  export declare var StartOrganizationServiceAccessUpdateRequest$: StaticStructureSchema;
@@ -244,7 +254,6 @@ export declare var StartRouteAnalysisResponse$: StaticStructureSchema;
244
254
  export declare var Tag$: StaticStructureSchema;
245
255
  export declare var TagResourceRequest$: StaticStructureSchema;
246
256
  export declare var TagResourceResponse$: StaticStructureSchema;
247
- export declare var ThrottlingException$: StaticErrorSchema;
248
257
  export declare var TransitGatewayConnectPeerAssociation$: StaticStructureSchema;
249
258
  export declare var TransitGatewayPeering$: StaticStructureSchema;
250
259
  export declare var TransitGatewayRegistration$: StaticStructureSchema;
@@ -270,13 +279,11 @@ export declare var UpdateSiteRequest$: StaticStructureSchema;
270
279
  export declare var UpdateSiteResponse$: StaticStructureSchema;
271
280
  export declare var UpdateVpcAttachmentRequest$: StaticStructureSchema;
272
281
  export declare var UpdateVpcAttachmentResponse$: StaticStructureSchema;
273
- export declare var ValidationException$: StaticErrorSchema;
274
282
  export declare var ValidationExceptionField$: StaticStructureSchema;
275
283
  export declare var Via$: StaticStructureSchema;
276
284
  export declare var VpcAttachment$: StaticStructureSchema;
277
285
  export declare var VpcOptions$: StaticStructureSchema;
278
286
  export declare var WhenSentTo$: StaticStructureSchema;
279
- export declare var NetworkManagerServiceException$: StaticErrorSchema;
280
287
  export declare var AcceptAttachment$: StaticOperationSchema;
281
288
  export declare var AssociateConnectPeer$: StaticOperationSchema;
282
289
  export declare var AssociateCustomerGateway$: StaticOperationSchema;