@aws-sdk/client-wafv2 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 { defaultWAFV2HttpAuthSchemeProvider } 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-29",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.wafv2",
30
+ errorTypeRegistries,
29
31
  xmlNamespace: "http://waf.amazonaws.com/doc/2019-07-29/",
30
32
  version: "2019-07-29",
31
33
  serviceTarget: "AWSWAF_20190729",
@@ -103,11 +103,11 @@ const _DAPIK = "DeleteAPIKey";
103
103
  const _DAPIKR = "DeleteAPIKeyRequest";
104
104
  const _DAPIKRe = "DeleteAPIKeyResponse";
105
105
  const _DB = "DefaultBehavior";
106
- const _DF = "DisallowedFeature";
106
+ const _DF = "DisallowedFeatures";
107
107
  const _DFMRG = "DeleteFirewallManagerRuleGroups";
108
108
  const _DFMRGR = "DeleteFirewallManagerRuleGroupsRequest";
109
109
  const _DFMRGRe = "DeleteFirewallManagerRuleGroupsResponse";
110
- const _DFi = "DisallowedFeatures";
110
+ const _DFi = "DisallowedFeature";
111
111
  const _DIPS = "DeleteIPSet";
112
112
  const _DIPSR = "DeleteIPSetRequest";
113
113
  const _DIPSRe = "DeleteIPSetResponse";
@@ -302,7 +302,7 @@ const _LWACLR = "ListWebACLsRequest";
302
302
  const _LWACLRi = "ListWebACLsResponse";
303
303
  const _La = "Labels";
304
304
  const _Li = "Limit";
305
- const _M = "Method";
305
+ const _M = "Message";
306
306
  const _MBFM = "ManagedByFirewallManager";
307
307
  const _MI = "MaxItems";
308
308
  const _MKIPV = "ManagedKeysIPV4";
@@ -328,7 +328,7 @@ const _MRSV = "ManagedRuleSetVersion";
328
328
  const _MRSa = "ManagedRuleSets";
329
329
  const _MS = "MatchScope";
330
330
  const _MSR = "MobileSdkRelease";
331
- const _Me = "Message";
331
+ const _Me = "Method";
332
332
  const _N = "Name";
333
333
  const _NA = "NoneAction";
334
334
  const _NLT = "NextLockToken";
@@ -342,7 +342,7 @@ const _OAv = "OverriddenAction";
342
342
  const _OH = "OversizeHandling";
343
343
  const _OS = "OrStatement";
344
344
  const _OSDDSPC = "OnSourceDDoSProtectionConfig";
345
- const _P = "Priority";
345
+ const _P = "Parameter";
346
346
  const _PC = "PositionalConstraint";
347
347
  const _PD = "ProductDescription";
348
348
  const _PF = "PasswordField";
@@ -366,13 +366,13 @@ const _PT = "ProductTitle";
366
366
  const _PTa = "PayloadType";
367
367
  const _PTu = "PublishTimestamp";
368
368
  const _PV = "PublishedVersions";
369
- const _Pa = "Parameter";
370
369
  const _Pl = "Platform";
371
370
  const _Po = "Policy";
372
371
  const _Pos = "Position";
372
+ const _Pr = "Priority";
373
373
  const _QA = "QueryArgument";
374
374
  const _QS = "QueryString";
375
- const _R = "Rules";
375
+ const _R = "Reason";
376
376
  const _RA = "ResourceArn";
377
377
  const _RAO = "RuleActionOverrides";
378
378
  const _RAOu = "RuleActionOverride";
@@ -439,10 +439,10 @@ const _RT = "ResourceType";
439
439
  const _RV = "ReleaseVersion";
440
440
  const _RVe = "RecommendedVersion";
441
441
  const _Re = "Requirement";
442
- const _Rea = "Reason";
443
442
  const _Reg = "Regex";
444
443
  const _Req = "Request";
445
- const _Ru = "Rule";
444
+ const _Ru = "Rules";
445
+ const _Rul = "Rule";
446
446
  const _S = "Statements";
447
447
  const _SC = "StatusCode";
448
448
  const _SCS = "SizeConstraintStatement";
@@ -458,10 +458,10 @@ const _SR = "SampledRequests";
458
458
  const _SRE = "SampledRequestsEnabled";
459
459
  const _SS = "SearchString";
460
460
  const _SSu = "SuccessStrings";
461
- const _ST = "SolveTimestamp";
461
+ const _ST = "SourceType";
462
462
  const _STA = "SnsTopicArn";
463
463
  const _STB = "SensitivityToBlock";
464
- const _STo = "SourceType";
464
+ const _STo = "SolveTimestamp";
465
465
  const _STt = "StartTime";
466
466
  const _SV = "SuccessValues";
467
467
  const _Sc = "Scope";
@@ -552,12 +552,140 @@ const _XMS = "XssMatchStatement";
552
552
  const _c = "client";
553
553
  const _e = "error";
554
554
  const _m = "message";
555
- const _s = "server";
556
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.wafv2";
555
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.wafv2";
556
+ const _se = "server";
557
557
  const n0 = "com.amazonaws.wafv2";
558
558
  import { TypeRegistry } from "@smithy/core/schema";
559
559
  import { WAFAssociatedItemException, WAFConfigurationWarningException, WAFDuplicateItemException, WAFExpiredManagedRuleGroupVersionException, WAFFeatureNotIncludedInPricingPlanException, WAFInternalErrorException, WAFInvalidOperationException, WAFInvalidParameterException, WAFInvalidPermissionPolicyException, WAFInvalidResourceException, WAFLimitsExceededException, WAFLogDestinationPermissionIssueException, WAFNonexistentItemException, WAFOptimisticLockException, WAFServiceLinkedRoleErrorException, WAFSubscriptionNotFoundException, WAFTagOperationException, WAFTagOperationInternalErrorException, WAFUnavailableEntityException, WAFUnsupportedAggregateKeyTypeException, } from "../models/errors";
560
560
  import { WAFV2ServiceException } from "../models/WAFV2ServiceException";
561
+ const _s_registry = TypeRegistry.for(_s);
562
+ export var WAFV2ServiceException$ = [-3, _s, "WAFV2ServiceException", 0, [], []];
563
+ _s_registry.registerError(WAFV2ServiceException$, WAFV2ServiceException);
564
+ const n0_registry = TypeRegistry.for(n0);
565
+ export var WAFAssociatedItemException$ = [-3, n0, _WAFAIE,
566
+ { [_e]: _c },
567
+ [_M],
568
+ [0]
569
+ ];
570
+ n0_registry.registerError(WAFAssociatedItemException$, WAFAssociatedItemException);
571
+ export var WAFConfigurationWarningException$ = [-3, n0, _WAFCWE,
572
+ { [_e]: _c },
573
+ [_M],
574
+ [0]
575
+ ];
576
+ n0_registry.registerError(WAFConfigurationWarningException$, WAFConfigurationWarningException);
577
+ export var WAFDuplicateItemException$ = [-3, n0, _WAFDIE,
578
+ { [_e]: _c },
579
+ [_M],
580
+ [0]
581
+ ];
582
+ n0_registry.registerError(WAFDuplicateItemException$, WAFDuplicateItemException);
583
+ export var WAFExpiredManagedRuleGroupVersionException$ = [-3, n0, _WAFEMRGVE,
584
+ { [_e]: _c },
585
+ [_M],
586
+ [0]
587
+ ];
588
+ n0_registry.registerError(WAFExpiredManagedRuleGroupVersionException$, WAFExpiredManagedRuleGroupVersionException);
589
+ export var WAFFeatureNotIncludedInPricingPlanException$ = [-3, n0, _WAFFNIIPPE,
590
+ { [_e]: _c },
591
+ [_M, _DF],
592
+ [0, () => DisallowedFeatures]
593
+ ];
594
+ n0_registry.registerError(WAFFeatureNotIncludedInPricingPlanException$, WAFFeatureNotIncludedInPricingPlanException);
595
+ export var WAFInternalErrorException$ = [-3, n0, _WAFIEE,
596
+ { [_e]: _se },
597
+ [_M],
598
+ [0]
599
+ ];
600
+ n0_registry.registerError(WAFInternalErrorException$, WAFInternalErrorException);
601
+ export var WAFInvalidOperationException$ = [-3, n0, _WAFIOE,
602
+ { [_e]: _c },
603
+ [_M],
604
+ [0]
605
+ ];
606
+ n0_registry.registerError(WAFInvalidOperationException$, WAFInvalidOperationException);
607
+ export var WAFInvalidParameterException$ = [-3, n0, _WAFIPE,
608
+ { [_e]: _c },
609
+ [_m, _F, _P, _R],
610
+ [0, 0, 0, 0]
611
+ ];
612
+ n0_registry.registerError(WAFInvalidParameterException$, WAFInvalidParameterException);
613
+ export var WAFInvalidPermissionPolicyException$ = [-3, n0, _WAFIPPE,
614
+ { [_e]: _c },
615
+ [_M],
616
+ [0]
617
+ ];
618
+ n0_registry.registerError(WAFInvalidPermissionPolicyException$, WAFInvalidPermissionPolicyException);
619
+ export var WAFInvalidResourceException$ = [-3, n0, _WAFIRE,
620
+ { [_e]: _c },
621
+ [_M],
622
+ [0]
623
+ ];
624
+ n0_registry.registerError(WAFInvalidResourceException$, WAFInvalidResourceException);
625
+ export var WAFLimitsExceededException$ = [-3, n0, _WAFLEE,
626
+ { [_e]: _c },
627
+ [_M, _ST],
628
+ [0, 0]
629
+ ];
630
+ n0_registry.registerError(WAFLimitsExceededException$, WAFLimitsExceededException);
631
+ export var WAFLogDestinationPermissionIssueException$ = [-3, n0, _WAFLDPIE,
632
+ { [_e]: _c },
633
+ [_M],
634
+ [0]
635
+ ];
636
+ n0_registry.registerError(WAFLogDestinationPermissionIssueException$, WAFLogDestinationPermissionIssueException);
637
+ export var WAFNonexistentItemException$ = [-3, n0, _WAFNIE,
638
+ { [_e]: _c },
639
+ [_M],
640
+ [0]
641
+ ];
642
+ n0_registry.registerError(WAFNonexistentItemException$, WAFNonexistentItemException);
643
+ export var WAFOptimisticLockException$ = [-3, n0, _WAFOLE,
644
+ { [_e]: _c },
645
+ [_M],
646
+ [0]
647
+ ];
648
+ n0_registry.registerError(WAFOptimisticLockException$, WAFOptimisticLockException);
649
+ export var WAFServiceLinkedRoleErrorException$ = [-3, n0, _WAFSLREE,
650
+ { [_e]: _c },
651
+ [_m],
652
+ [0]
653
+ ];
654
+ n0_registry.registerError(WAFServiceLinkedRoleErrorException$, WAFServiceLinkedRoleErrorException);
655
+ export var WAFSubscriptionNotFoundException$ = [-3, n0, _WAFSNFE,
656
+ { [_e]: _c },
657
+ [_M],
658
+ [0]
659
+ ];
660
+ n0_registry.registerError(WAFSubscriptionNotFoundException$, WAFSubscriptionNotFoundException);
661
+ export var WAFTagOperationException$ = [-3, n0, _WAFTOE,
662
+ { [_e]: _c },
663
+ [_M],
664
+ [0]
665
+ ];
666
+ n0_registry.registerError(WAFTagOperationException$, WAFTagOperationException);
667
+ export var WAFTagOperationInternalErrorException$ = [-3, n0, _WAFTOIEE,
668
+ { [_e]: _se },
669
+ [_M],
670
+ [0]
671
+ ];
672
+ n0_registry.registerError(WAFTagOperationInternalErrorException$, WAFTagOperationInternalErrorException);
673
+ export var WAFUnavailableEntityException$ = [-3, n0, _WAFUEE,
674
+ { [_e]: _c },
675
+ [_M],
676
+ [0]
677
+ ];
678
+ n0_registry.registerError(WAFUnavailableEntityException$, WAFUnavailableEntityException);
679
+ export var WAFUnsupportedAggregateKeyTypeException$ = [-3, n0, _WAFUAKTE,
680
+ { [_e]: _c },
681
+ [_M],
682
+ [0]
683
+ ];
684
+ n0_registry.registerError(WAFUnsupportedAggregateKeyTypeException$, WAFUnsupportedAggregateKeyTypeException);
685
+ export const errorTypeRegistries = [
686
+ _s_registry,
687
+ n0_registry,
688
+ ];
561
689
  export var ActionCondition$ = [3, n0, _AC,
562
690
  0,
563
691
  [_A],
@@ -670,7 +798,7 @@ export var CaptchaConfig$ = [3, n0, _CC,
670
798
  ];
671
799
  export var CaptchaResponse$ = [3, n0, _CRa,
672
800
  0,
673
- [_RC, _ST, _FR],
801
+ [_RC, _STo, _FR],
674
802
  [1, 1, 0]
675
803
  ];
676
804
  export var ChallengeAction$ = [3, n0, _CAh,
@@ -685,12 +813,12 @@ export var ChallengeConfig$ = [3, n0, _CCh,
685
813
  ];
686
814
  export var ChallengeResponse$ = [3, n0, _CRh,
687
815
  0,
688
- [_RC, _ST, _FR],
816
+ [_RC, _STo, _FR],
689
817
  [1, 1, 0]
690
818
  ];
691
819
  export var CheckCapacityRequest$ = [3, n0, _CCR,
692
820
  0,
693
- [_Sc, _R],
821
+ [_Sc, _Ru],
694
822
  [0, () => Rules], 2
695
823
  ];
696
824
  export var CheckCapacityResponse$ = [3, n0, _CCRh,
@@ -760,7 +888,7 @@ export var CreateRegexPatternSetResponse$ = [3, n0, _CRPSRr,
760
888
  ];
761
889
  export var CreateRuleGroupRequest$ = [3, n0, _CRGR,
762
890
  0,
763
- [_N, _Sc, _C, _VC, _D, _R, _T, _CRB],
891
+ [_N, _Sc, _C, _VC, _D, _Ru, _T, _CRB],
764
892
  [0, 0, 1, () => VisibilityConfig$, 0, () => Rules, () => TagList, () => CustomResponseBodies], 4
765
893
  ];
766
894
  export var CreateRuleGroupResponse$ = [3, n0, _CRGRr,
@@ -770,7 +898,7 @@ export var CreateRuleGroupResponse$ = [3, n0, _CRGRr,
770
898
  ];
771
899
  export var CreateWebACLRequest$ = [3, n0, _CWACLR,
772
900
  0,
773
- [_N, _Sc, _DA, _VC, _D, _R, _DPC, _T, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp],
901
+ [_N, _Sc, _DA, _VC, _D, _Ru, _DPC, _T, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp],
774
902
  [0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, () => TagList, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$], 4
775
903
  ];
776
904
  export var CreateWebACLResponse$ = [3, n0, _CWACLRr,
@@ -920,10 +1048,10 @@ export var DescribeManagedRuleGroupRequest$ = [3, n0, _DMRGR,
920
1048
  ];
921
1049
  export var DescribeManagedRuleGroupResponse$ = [3, n0, _DMRGRe,
922
1050
  0,
923
- [_VNe, _STA, _C, _R, _LN, _ALv, _CL],
1051
+ [_VNe, _STA, _C, _Ru, _LN, _ALv, _CL],
924
1052
  [0, 0, 1, () => RuleSummaries, 0, () => LabelSummaries, () => LabelSummaries]
925
1053
  ];
926
- export var DisallowedFeature$ = [3, n0, _DF,
1054
+ export var DisallowedFeature$ = [3, n0, _DFi,
927
1055
  0,
928
1056
  [_Fe, _RPPe],
929
1057
  [0, 0]
@@ -950,7 +1078,7 @@ export var ExcludedRule$ = [3, n0, _ER,
950
1078
  ];
951
1079
  export var FieldToMatch$ = [3, n0, _FTM,
952
1080
  0,
953
- [_SH, _SQA, _AQA, _UP, _QS, _B, _M, _JB, _H, _Coo, _HO, _JAF, _JAFi, _UF],
1081
+ [_SH, _SQA, _AQA, _UP, _QS, _B, _Me, _JB, _H, _Coo, _HO, _JAF, _JAFi, _UF],
954
1082
  [() => SingleHeader$, () => SingleQueryArgument$, () => AllQueryArguments$, () => UriPath$, () => QueryString$, () => Body$, () => Method$, () => JsonBody$, () => Headers$, () => Cookies$, () => HeaderOrder$, () => JA3Fingerprint$, () => JA4Fingerprint$, () => UriFragment$]
955
1083
  ];
956
1084
  export var FieldToProtect$ = [3, n0, _FTP,
@@ -965,7 +1093,7 @@ export var Filter$ = [3, n0, _Fi,
965
1093
  ];
966
1094
  export var FirewallManagerRuleGroup$ = [3, n0, _FMRG,
967
1095
  0,
968
- [_N, _P, _FMS, _OA, _VC],
1096
+ [_N, _Pr, _FMS, _OA, _VC],
969
1097
  [0, 1, () => FirewallManagerStatement$, () => OverrideAction$, () => VisibilityConfig$], 5
970
1098
  ];
971
1099
  export var FirewallManagerStatement$ = [3, n0, _FMS,
@@ -1135,7 +1263,7 @@ export var HTTPHeader$ = [3, n0, _HTTPH,
1135
1263
  ];
1136
1264
  export var HTTPRequest$ = [3, n0, _HTTPR,
1137
1265
  0,
1138
- [_CIP, _Cou, _URI, _M, _HTTPV, _H],
1266
+ [_CIP, _Cou, _URI, _Me, _HTTPV, _H],
1139
1267
  [0, 0, 0, 0, 0, () => HTTPHeaders]
1140
1268
  ];
1141
1269
  export var ImmunityTimeProperty$ = [3, n0, _ITP,
@@ -1373,7 +1501,7 @@ export var ManagedRuleSetVersion$ = [3, n0, _MRSV,
1373
1501
  [_ARGA, _C, _FL, _PTu, _LUT, _ET],
1374
1502
  [0, 1, 1, 4, 4, 4]
1375
1503
  ];
1376
- export var Method$ = [3, n0, _M,
1504
+ export var Method$ = [3, n0, _Me,
1377
1505
  0,
1378
1506
  [],
1379
1507
  []
@@ -1598,9 +1726,9 @@ export var ResponseInspectionStatusCode$ = [3, n0, _RISC,
1598
1726
  [_SCu, _FC],
1599
1727
  [64 | 1, 64 | 1], 2
1600
1728
  ];
1601
- export var Rule$ = [3, n0, _Ru,
1729
+ export var Rule$ = [3, n0, _Rul,
1602
1730
  0,
1603
- [_N, _P, _St, _VC, _A, _OA, _RL, _CC, _CCh],
1731
+ [_N, _Pr, _St, _VC, _A, _OA, _RL, _CC, _CCh],
1604
1732
  [0, 1, () => Statement$, () => VisibilityConfig$, () => RuleAction$, () => OverrideAction$, () => Labels, () => CaptchaConfig$, () => ChallengeConfig$], 4
1605
1733
  ];
1606
1734
  export var RuleAction$ = [3, n0, _RAu,
@@ -1615,7 +1743,7 @@ export var RuleActionOverride$ = [3, n0, _RAOu,
1615
1743
  ];
1616
1744
  export var RuleGroup$ = [3, n0, _RG,
1617
1745
  0,
1618
- [_N, _Id, _C, _ARN, _VC, _D, _R, _LN, _CRB, _ALv, _CL],
1746
+ [_N, _Id, _C, _ARN, _VC, _D, _Ru, _LN, _CRB, _ALv, _CL],
1619
1747
  [0, 0, 1, 0, () => VisibilityConfig$, 0, () => Rules, 0, () => CustomResponseBodies, () => LabelSummaries, () => LabelSummaries], 5
1620
1748
  ];
1621
1749
  export var RuleGroupReferenceStatement$ = [3, n0, _RGRS,
@@ -1685,7 +1813,7 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
1685
1813
  ];
1686
1814
  export var TextTransformation$ = [3, n0, _TTe,
1687
1815
  0,
1688
- [_P, _Ty],
1816
+ [_Pr, _Ty],
1689
1817
  [1, 0], 2
1690
1818
  ];
1691
1819
  export var TimeWindow$ = [3, n0, _TW,
@@ -1735,7 +1863,7 @@ export var UpdateRegexPatternSetResponse$ = [3, n0, _URPSRp,
1735
1863
  ];
1736
1864
  export var UpdateRuleGroupRequest$ = [3, n0, _URGR,
1737
1865
  0,
1738
- [_N, _Sc, _Id, _VC, _LT, _D, _R, _CRB],
1866
+ [_N, _Sc, _Id, _VC, _LT, _D, _Ru, _CRB],
1739
1867
  [0, 0, 0, () => VisibilityConfig$, 0, 0, () => Rules, () => CustomResponseBodies], 5
1740
1868
  ];
1741
1869
  export var UpdateRuleGroupResponse$ = [3, n0, _URGRp,
@@ -1745,7 +1873,7 @@ export var UpdateRuleGroupResponse$ = [3, n0, _URGRp,
1745
1873
  ];
1746
1874
  export var UpdateWebACLRequest$ = [3, n0, _UWACLR,
1747
1875
  0,
1748
- [_N, _Sc, _Id, _DA, _VC, _LT, _D, _R, _DPC, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp],
1876
+ [_N, _Sc, _Id, _DA, _VC, _LT, _D, _Ru, _DPC, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp],
1749
1877
  [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, 0, () => Rules, () => DataProtectionConfig$, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$], 6
1750
1878
  ];
1751
1879
  export var UpdateWebACLResponse$ = [3, n0, _UWACLRp,
@@ -1778,129 +1906,9 @@ export var VisibilityConfig$ = [3, n0, _VC,
1778
1906
  [_SRE, _CWME, _MN],
1779
1907
  [2, 2, 0], 3
1780
1908
  ];
1781
- export var WAFAssociatedItemException$ = [-3, n0, _WAFAIE,
1782
- { [_e]: _c },
1783
- [_Me],
1784
- [0]
1785
- ];
1786
- TypeRegistry.for(n0).registerError(WAFAssociatedItemException$, WAFAssociatedItemException);
1787
- export var WAFConfigurationWarningException$ = [-3, n0, _WAFCWE,
1788
- { [_e]: _c },
1789
- [_Me],
1790
- [0]
1791
- ];
1792
- TypeRegistry.for(n0).registerError(WAFConfigurationWarningException$, WAFConfigurationWarningException);
1793
- export var WAFDuplicateItemException$ = [-3, n0, _WAFDIE,
1794
- { [_e]: _c },
1795
- [_Me],
1796
- [0]
1797
- ];
1798
- TypeRegistry.for(n0).registerError(WAFDuplicateItemException$, WAFDuplicateItemException);
1799
- export var WAFExpiredManagedRuleGroupVersionException$ = [-3, n0, _WAFEMRGVE,
1800
- { [_e]: _c },
1801
- [_Me],
1802
- [0]
1803
- ];
1804
- TypeRegistry.for(n0).registerError(WAFExpiredManagedRuleGroupVersionException$, WAFExpiredManagedRuleGroupVersionException);
1805
- export var WAFFeatureNotIncludedInPricingPlanException$ = [-3, n0, _WAFFNIIPPE,
1806
- { [_e]: _c },
1807
- [_Me, _DFi],
1808
- [0, () => DisallowedFeatures]
1809
- ];
1810
- TypeRegistry.for(n0).registerError(WAFFeatureNotIncludedInPricingPlanException$, WAFFeatureNotIncludedInPricingPlanException);
1811
- export var WAFInternalErrorException$ = [-3, n0, _WAFIEE,
1812
- { [_e]: _s },
1813
- [_Me],
1814
- [0]
1815
- ];
1816
- TypeRegistry.for(n0).registerError(WAFInternalErrorException$, WAFInternalErrorException);
1817
- export var WAFInvalidOperationException$ = [-3, n0, _WAFIOE,
1818
- { [_e]: _c },
1819
- [_Me],
1820
- [0]
1821
- ];
1822
- TypeRegistry.for(n0).registerError(WAFInvalidOperationException$, WAFInvalidOperationException);
1823
- export var WAFInvalidParameterException$ = [-3, n0, _WAFIPE,
1824
- { [_e]: _c },
1825
- [_m, _F, _Pa, _Rea],
1826
- [0, 0, 0, 0]
1827
- ];
1828
- TypeRegistry.for(n0).registerError(WAFInvalidParameterException$, WAFInvalidParameterException);
1829
- export var WAFInvalidPermissionPolicyException$ = [-3, n0, _WAFIPPE,
1830
- { [_e]: _c },
1831
- [_Me],
1832
- [0]
1833
- ];
1834
- TypeRegistry.for(n0).registerError(WAFInvalidPermissionPolicyException$, WAFInvalidPermissionPolicyException);
1835
- export var WAFInvalidResourceException$ = [-3, n0, _WAFIRE,
1836
- { [_e]: _c },
1837
- [_Me],
1838
- [0]
1839
- ];
1840
- TypeRegistry.for(n0).registerError(WAFInvalidResourceException$, WAFInvalidResourceException);
1841
- export var WAFLimitsExceededException$ = [-3, n0, _WAFLEE,
1842
- { [_e]: _c },
1843
- [_Me, _STo],
1844
- [0, 0]
1845
- ];
1846
- TypeRegistry.for(n0).registerError(WAFLimitsExceededException$, WAFLimitsExceededException);
1847
- export var WAFLogDestinationPermissionIssueException$ = [-3, n0, _WAFLDPIE,
1848
- { [_e]: _c },
1849
- [_Me],
1850
- [0]
1851
- ];
1852
- TypeRegistry.for(n0).registerError(WAFLogDestinationPermissionIssueException$, WAFLogDestinationPermissionIssueException);
1853
- export var WAFNonexistentItemException$ = [-3, n0, _WAFNIE,
1854
- { [_e]: _c },
1855
- [_Me],
1856
- [0]
1857
- ];
1858
- TypeRegistry.for(n0).registerError(WAFNonexistentItemException$, WAFNonexistentItemException);
1859
- export var WAFOptimisticLockException$ = [-3, n0, _WAFOLE,
1860
- { [_e]: _c },
1861
- [_Me],
1862
- [0]
1863
- ];
1864
- TypeRegistry.for(n0).registerError(WAFOptimisticLockException$, WAFOptimisticLockException);
1865
- export var WAFServiceLinkedRoleErrorException$ = [-3, n0, _WAFSLREE,
1866
- { [_e]: _c },
1867
- [_m],
1868
- [0]
1869
- ];
1870
- TypeRegistry.for(n0).registerError(WAFServiceLinkedRoleErrorException$, WAFServiceLinkedRoleErrorException);
1871
- export var WAFSubscriptionNotFoundException$ = [-3, n0, _WAFSNFE,
1872
- { [_e]: _c },
1873
- [_Me],
1874
- [0]
1875
- ];
1876
- TypeRegistry.for(n0).registerError(WAFSubscriptionNotFoundException$, WAFSubscriptionNotFoundException);
1877
- export var WAFTagOperationException$ = [-3, n0, _WAFTOE,
1878
- { [_e]: _c },
1879
- [_Me],
1880
- [0]
1881
- ];
1882
- TypeRegistry.for(n0).registerError(WAFTagOperationException$, WAFTagOperationException);
1883
- export var WAFTagOperationInternalErrorException$ = [-3, n0, _WAFTOIEE,
1884
- { [_e]: _s },
1885
- [_Me],
1886
- [0]
1887
- ];
1888
- TypeRegistry.for(n0).registerError(WAFTagOperationInternalErrorException$, WAFTagOperationInternalErrorException);
1889
- export var WAFUnavailableEntityException$ = [-3, n0, _WAFUEE,
1890
- { [_e]: _c },
1891
- [_Me],
1892
- [0]
1893
- ];
1894
- TypeRegistry.for(n0).registerError(WAFUnavailableEntityException$, WAFUnavailableEntityException);
1895
- export var WAFUnsupportedAggregateKeyTypeException$ = [-3, n0, _WAFUAKTE,
1896
- { [_e]: _c },
1897
- [_Me],
1898
- [0]
1899
- ];
1900
- TypeRegistry.for(n0).registerError(WAFUnsupportedAggregateKeyTypeException$, WAFUnsupportedAggregateKeyTypeException);
1901
1909
  export var WebACL$ = [3, n0, _WACL,
1902
1910
  0,
1903
- [_N, _Id, _ARN, _DA, _VC, _D, _R, _DPC, _C, _PPFMRG, _PPFMRGo, _MBFM, _LN, _CRB, _CC, _CCh, _TD, _ACs, _RBFM, _OSDDSPC, _ACp],
1911
+ [_N, _Id, _ARN, _DA, _VC, _D, _Ru, _DPC, _C, _PPFMRG, _PPFMRGo, _MBFM, _LN, _CRB, _CC, _CCh, _TD, _ACs, _RBFM, _OSDDSPC, _ACp],
1904
1912
  [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, 1, () => FirewallManagerRuleGroups, () => FirewallManagerRuleGroups, 2, 0, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, 2, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$], 5
1905
1913
  ];
1906
1914
  export var WebACLSummary$ = [3, n0, _WACLS,
@@ -1913,8 +1921,6 @@ export var XssMatchStatement$ = [3, n0, _XMS,
1913
1921
  [_FTM, _TT],
1914
1922
  [() => FieldToMatch$, () => TextTransformations], 2
1915
1923
  ];
1916
- export var WAFV2ServiceException$ = [-3, _sm, "WAFV2ServiceException", 0, [], []];
1917
- TypeRegistry.for(_sm).registerError(WAFV2ServiceException$, WAFV2ServiceException);
1918
1924
  var AddressFields = [1, n0, _AFd,
1919
1925
  0, () => AddressField$
1920
1926
  ];
@@ -1938,7 +1944,7 @@ var CustomHTTPHeaders = [1, n0, _CHTTPHu,
1938
1944
  var DataProtections = [1, n0, _DPa,
1939
1945
  0, () => DataProtection$
1940
1946
  ];
1941
- var DisallowedFeatures = [1, n0, _DFi,
1947
+ var DisallowedFeatures = [1, n0, _DF,
1942
1948
  0, () => DisallowedFeature$
1943
1949
  ];
1944
1950
  var ExcludedRules = [1, n0, _ERx,
@@ -2018,7 +2024,7 @@ var RuleActionOverrides = [1, n0, _RAO,
2018
2024
  var RuleGroupSummaries = [1, n0, _RGSu,
2019
2025
  0, () => RuleGroupSummary$
2020
2026
  ];
2021
- var Rules = [1, n0, _R,
2027
+ var Rules = [1, n0, _Ru,
2022
2028
  0, () => Rule$
2023
2029
  ];
2024
2030
  var RuleSummaries = [1, n0, _RSul,
@@ -1,4 +1,32 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var WAFV2ServiceException$: StaticErrorSchema;
4
+ export declare var WAFAssociatedItemException$: StaticErrorSchema;
5
+ export declare var WAFConfigurationWarningException$: StaticErrorSchema;
6
+ export declare var WAFDuplicateItemException$: StaticErrorSchema;
7
+ export declare var WAFExpiredManagedRuleGroupVersionException$: StaticErrorSchema;
8
+ export declare var WAFFeatureNotIncludedInPricingPlanException$: StaticErrorSchema;
9
+ export declare var WAFInternalErrorException$: StaticErrorSchema;
10
+ export declare var WAFInvalidOperationException$: StaticErrorSchema;
11
+ export declare var WAFInvalidParameterException$: StaticErrorSchema;
12
+ export declare var WAFInvalidPermissionPolicyException$: StaticErrorSchema;
13
+ export declare var WAFInvalidResourceException$: StaticErrorSchema;
14
+ export declare var WAFLimitsExceededException$: StaticErrorSchema;
15
+ export declare var WAFLogDestinationPermissionIssueException$: StaticErrorSchema;
16
+ export declare var WAFNonexistentItemException$: StaticErrorSchema;
17
+ export declare var WAFOptimisticLockException$: StaticErrorSchema;
18
+ export declare var WAFServiceLinkedRoleErrorException$: StaticErrorSchema;
19
+ export declare var WAFSubscriptionNotFoundException$: StaticErrorSchema;
20
+ export declare var WAFTagOperationException$: StaticErrorSchema;
21
+ export declare var WAFTagOperationInternalErrorException$: StaticErrorSchema;
22
+ export declare var WAFUnavailableEntityException$: StaticErrorSchema;
23
+ export declare var WAFUnsupportedAggregateKeyTypeException$: StaticErrorSchema;
24
+ /**
25
+ * TypeRegistry instances containing modeled errors.
26
+ * @internal
27
+ *
28
+ */
29
+ export declare const errorTypeRegistries: TypeRegistry[];
2
30
  export declare var ActionCondition$: StaticStructureSchema;
3
31
  export declare var AddressField$: StaticStructureSchema;
4
32
  export declare var All$: StaticStructureSchema;
@@ -243,30 +271,9 @@ export declare var UriPath$: StaticStructureSchema;
243
271
  export declare var UsernameField$: StaticStructureSchema;
244
272
  export declare var VersionToPublish$: StaticStructureSchema;
245
273
  export declare var VisibilityConfig$: StaticStructureSchema;
246
- export declare var WAFAssociatedItemException$: StaticErrorSchema;
247
- export declare var WAFConfigurationWarningException$: StaticErrorSchema;
248
- export declare var WAFDuplicateItemException$: StaticErrorSchema;
249
- export declare var WAFExpiredManagedRuleGroupVersionException$: StaticErrorSchema;
250
- export declare var WAFFeatureNotIncludedInPricingPlanException$: StaticErrorSchema;
251
- export declare var WAFInternalErrorException$: StaticErrorSchema;
252
- export declare var WAFInvalidOperationException$: StaticErrorSchema;
253
- export declare var WAFInvalidParameterException$: StaticErrorSchema;
254
- export declare var WAFInvalidPermissionPolicyException$: StaticErrorSchema;
255
- export declare var WAFInvalidResourceException$: StaticErrorSchema;
256
- export declare var WAFLimitsExceededException$: StaticErrorSchema;
257
- export declare var WAFLogDestinationPermissionIssueException$: StaticErrorSchema;
258
- export declare var WAFNonexistentItemException$: StaticErrorSchema;
259
- export declare var WAFOptimisticLockException$: StaticErrorSchema;
260
- export declare var WAFServiceLinkedRoleErrorException$: StaticErrorSchema;
261
- export declare var WAFSubscriptionNotFoundException$: StaticErrorSchema;
262
- export declare var WAFTagOperationException$: StaticErrorSchema;
263
- export declare var WAFTagOperationInternalErrorException$: StaticErrorSchema;
264
- export declare var WAFUnavailableEntityException$: StaticErrorSchema;
265
- export declare var WAFUnsupportedAggregateKeyTypeException$: StaticErrorSchema;
266
274
  export declare var WebACL$: StaticStructureSchema;
267
275
  export declare var WebACLSummary$: StaticStructureSchema;
268
276
  export declare var XssMatchStatement$: StaticStructureSchema;
269
- export declare var WAFV2ServiceException$: StaticErrorSchema;
270
277
  export declare var AssociateWebACL$: StaticOperationSchema;
271
278
  export declare var CheckCapacity$: StaticOperationSchema;
272
279
  export declare var CreateAPIKey$: StaticOperationSchema;
@@ -1,8 +1,31 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var WAFV2ServiceException$: StaticErrorSchema;
8
+ export declare var WAFAssociatedItemException$: StaticErrorSchema;
9
+ export declare var WAFConfigurationWarningException$: StaticErrorSchema;
10
+ export declare var WAFDuplicateItemException$: StaticErrorSchema;
11
+ export declare var WAFExpiredManagedRuleGroupVersionException$: StaticErrorSchema;
12
+ export declare var WAFFeatureNotIncludedInPricingPlanException$: StaticErrorSchema;
13
+ export declare var WAFInternalErrorException$: StaticErrorSchema;
14
+ export declare var WAFInvalidOperationException$: StaticErrorSchema;
15
+ export declare var WAFInvalidParameterException$: StaticErrorSchema;
16
+ export declare var WAFInvalidPermissionPolicyException$: StaticErrorSchema;
17
+ export declare var WAFInvalidResourceException$: StaticErrorSchema;
18
+ export declare var WAFLimitsExceededException$: StaticErrorSchema;
19
+ export declare var WAFLogDestinationPermissionIssueException$: StaticErrorSchema;
20
+ export declare var WAFNonexistentItemException$: StaticErrorSchema;
21
+ export declare var WAFOptimisticLockException$: StaticErrorSchema;
22
+ export declare var WAFServiceLinkedRoleErrorException$: StaticErrorSchema;
23
+ export declare var WAFSubscriptionNotFoundException$: StaticErrorSchema;
24
+ export declare var WAFTagOperationException$: StaticErrorSchema;
25
+ export declare var WAFTagOperationInternalErrorException$: StaticErrorSchema;
26
+ export declare var WAFUnavailableEntityException$: StaticErrorSchema;
27
+ export declare var WAFUnsupportedAggregateKeyTypeException$: StaticErrorSchema;
28
+ export declare const errorTypeRegistries: TypeRegistry[];
6
29
  export declare var ActionCondition$: StaticStructureSchema;
7
30
  export declare var AddressField$: StaticStructureSchema;
8
31
  export declare var All$: StaticStructureSchema;
@@ -247,30 +270,9 @@ export declare var UriPath$: StaticStructureSchema;
247
270
  export declare var UsernameField$: StaticStructureSchema;
248
271
  export declare var VersionToPublish$: StaticStructureSchema;
249
272
  export declare var VisibilityConfig$: StaticStructureSchema;
250
- export declare var WAFAssociatedItemException$: StaticErrorSchema;
251
- export declare var WAFConfigurationWarningException$: StaticErrorSchema;
252
- export declare var WAFDuplicateItemException$: StaticErrorSchema;
253
- export declare var WAFExpiredManagedRuleGroupVersionException$: StaticErrorSchema;
254
- export declare var WAFFeatureNotIncludedInPricingPlanException$: StaticErrorSchema;
255
- export declare var WAFInternalErrorException$: StaticErrorSchema;
256
- export declare var WAFInvalidOperationException$: StaticErrorSchema;
257
- export declare var WAFInvalidParameterException$: StaticErrorSchema;
258
- export declare var WAFInvalidPermissionPolicyException$: StaticErrorSchema;
259
- export declare var WAFInvalidResourceException$: StaticErrorSchema;
260
- export declare var WAFLimitsExceededException$: StaticErrorSchema;
261
- export declare var WAFLogDestinationPermissionIssueException$: StaticErrorSchema;
262
- export declare var WAFNonexistentItemException$: StaticErrorSchema;
263
- export declare var WAFOptimisticLockException$: StaticErrorSchema;
264
- export declare var WAFServiceLinkedRoleErrorException$: StaticErrorSchema;
265
- export declare var WAFSubscriptionNotFoundException$: StaticErrorSchema;
266
- export declare var WAFTagOperationException$: StaticErrorSchema;
267
- export declare var WAFTagOperationInternalErrorException$: StaticErrorSchema;
268
- export declare var WAFUnavailableEntityException$: StaticErrorSchema;
269
- export declare var WAFUnsupportedAggregateKeyTypeException$: StaticErrorSchema;
270
273
  export declare var WebACL$: StaticStructureSchema;
271
274
  export declare var WebACLSummary$: StaticStructureSchema;
272
275
  export declare var XssMatchStatement$: StaticStructureSchema;
273
- export declare var WAFV2ServiceException$: StaticErrorSchema;
274
276
  export declare var AssociateWebACL$: StaticOperationSchema;
275
277
  export declare var CheckCapacity$: StaticOperationSchema;
276
278
  export declare var CreateAPIKey$: StaticOperationSchema;