@aws-sdk/client-wafv2 3.196.0 → 3.198.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.
@@ -4,6 +4,7 @@ export var ActionValue;
4
4
  ActionValue["ALLOW"] = "ALLOW";
5
5
  ActionValue["BLOCK"] = "BLOCK";
6
6
  ActionValue["CAPTCHA"] = "CAPTCHA";
7
+ ActionValue["CHALLENGE"] = "CHALLENGE";
7
8
  ActionValue["COUNT"] = "COUNT";
8
9
  ActionValue["EXCLUDED_AS_COUNT"] = "EXCLUDED_AS_COUNT";
9
10
  })(ActionValue || (ActionValue = {}));
@@ -332,6 +333,11 @@ export var LabelMatchScope;
332
333
  LabelMatchScope["LABEL"] = "LABEL";
333
334
  LabelMatchScope["NAMESPACE"] = "NAMESPACE";
334
335
  })(LabelMatchScope || (LabelMatchScope = {}));
336
+ export var InspectionLevel;
337
+ (function (InspectionLevel) {
338
+ InspectionLevel["COMMON"] = "COMMON";
339
+ InspectionLevel["TARGETED"] = "TARGETED";
340
+ })(InspectionLevel || (InspectionLevel = {}));
335
341
  export var PayloadType;
336
342
  (function (PayloadType) {
337
343
  PayloadType["FORM_ENCODED"] = "FORM_ENCODED";
@@ -388,6 +394,7 @@ export var ParameterExceptionField;
388
394
  ParameterExceptionField["ASSOCIABLE_RESOURCE"] = "ASSOCIABLE_RESOURCE";
389
395
  ParameterExceptionField["BODY_PARSING_FALLBACK_BEHAVIOR"] = "BODY_PARSING_FALLBACK_BEHAVIOR";
390
396
  ParameterExceptionField["BYTE_MATCH_STATEMENT"] = "BYTE_MATCH_STATEMENT";
397
+ ParameterExceptionField["CHALLENGE_CONFIG"] = "CHALLENGE_CONFIG";
391
398
  ParameterExceptionField["CHANGE_PROPAGATION_STATUS"] = "CHANGE_PROPAGATION_STATUS";
392
399
  ParameterExceptionField["COOKIE_MATCH_PATTERN"] = "COOKIE_MATCH_PATTERN";
393
400
  ParameterExceptionField["CUSTOM_REQUEST_HANDLING"] = "CUSTOM_REQUEST_HANDLING";
@@ -445,6 +452,7 @@ export var ParameterExceptionField;
445
452
  ParameterExceptionField["TAGS"] = "TAGS";
446
453
  ParameterExceptionField["TAG_KEYS"] = "TAG_KEYS";
447
454
  ParameterExceptionField["TEXT_TRANSFORMATION"] = "TEXT_TRANSFORMATION";
455
+ ParameterExceptionField["TOKEN_DOMAIN"] = "TOKEN_DOMAIN";
448
456
  ParameterExceptionField["WEB_ACL"] = "WEB_ACL";
449
457
  ParameterExceptionField["XSS_MATCH_STATEMENT"] = "XSS_MATCH_STATEMENT";
450
458
  })(ParameterExceptionField || (ParameterExceptionField = {}));
@@ -652,7 +660,9 @@ export var FilterRequirement;
652
660
  })(FilterRequirement || (FilterRequirement = {}));
653
661
  export var FailureReason;
654
662
  (function (FailureReason) {
663
+ FailureReason["TOKEN_DOMAIN_MISMATCH"] = "TOKEN_DOMAIN_MISMATCH";
655
664
  FailureReason["TOKEN_EXPIRED"] = "TOKEN_EXPIRED";
665
+ FailureReason["TOKEN_INVALID"] = "TOKEN_INVALID";
656
666
  FailureReason["TOKEN_MISSING"] = "TOKEN_MISSING";
657
667
  })(FailureReason || (FailureReason = {}));
658
668
  export var ResourceType;
@@ -781,6 +791,9 @@ export const LabelMatchStatementFilterSensitiveLog = (obj) => ({
781
791
  export const ExcludedRuleFilterSensitiveLog = (obj) => ({
782
792
  ...obj,
783
793
  });
794
+ export const AWSManagedRulesBotControlRuleSetFilterSensitiveLog = (obj) => ({
795
+ ...obj,
796
+ });
784
797
  export const PasswordFieldFilterSensitiveLog = (obj) => ({
785
798
  ...obj,
786
799
  });
@@ -790,43 +803,49 @@ export const UsernameFieldFilterSensitiveLog = (obj) => ({
790
803
  export const ManagedRuleGroupConfigFilterSensitiveLog = (obj) => ({
791
804
  ...obj,
792
805
  });
793
- export const RegexMatchStatementFilterSensitiveLog = (obj) => ({
806
+ export const CustomResponseFilterSensitiveLog = (obj) => ({
794
807
  ...obj,
795
808
  });
796
- export const RegexPatternSetReferenceStatementFilterSensitiveLog = (obj) => ({
809
+ export const BlockActionFilterSensitiveLog = (obj) => ({
797
810
  ...obj,
798
811
  });
799
- export const RuleGroupReferenceStatementFilterSensitiveLog = (obj) => ({
812
+ export const CaptchaActionFilterSensitiveLog = (obj) => ({
800
813
  ...obj,
801
814
  });
802
- export const SizeConstraintStatementFilterSensitiveLog = (obj) => ({
815
+ export const ChallengeActionFilterSensitiveLog = (obj) => ({
803
816
  ...obj,
804
817
  });
805
- export const SqliMatchStatementFilterSensitiveLog = (obj) => ({
818
+ export const CountActionFilterSensitiveLog = (obj) => ({
806
819
  ...obj,
807
820
  });
808
- export const XssMatchStatementFilterSensitiveLog = (obj) => ({
821
+ export const RuleActionFilterSensitiveLog = (obj) => ({
809
822
  ...obj,
810
823
  });
811
- export const AssociateWebACLRequestFilterSensitiveLog = (obj) => ({
824
+ export const RuleActionOverrideFilterSensitiveLog = (obj) => ({
812
825
  ...obj,
813
826
  });
814
- export const AssociateWebACLResponseFilterSensitiveLog = (obj) => ({
827
+ export const RegexMatchStatementFilterSensitiveLog = (obj) => ({
815
828
  ...obj,
816
829
  });
817
- export const CustomResponseFilterSensitiveLog = (obj) => ({
830
+ export const RegexPatternSetReferenceStatementFilterSensitiveLog = (obj) => ({
818
831
  ...obj,
819
832
  });
820
- export const BlockActionFilterSensitiveLog = (obj) => ({
833
+ export const RuleGroupReferenceStatementFilterSensitiveLog = (obj) => ({
821
834
  ...obj,
822
835
  });
823
- export const CaptchaActionFilterSensitiveLog = (obj) => ({
836
+ export const SizeConstraintStatementFilterSensitiveLog = (obj) => ({
824
837
  ...obj,
825
838
  });
826
- export const CountActionFilterSensitiveLog = (obj) => ({
839
+ export const SqliMatchStatementFilterSensitiveLog = (obj) => ({
827
840
  ...obj,
828
841
  });
829
- export const RuleActionFilterSensitiveLog = (obj) => ({
842
+ export const XssMatchStatementFilterSensitiveLog = (obj) => ({
843
+ ...obj,
844
+ });
845
+ export const AssociateWebACLRequestFilterSensitiveLog = (obj) => ({
846
+ ...obj,
847
+ });
848
+ export const AssociateWebACLResponseFilterSensitiveLog = (obj) => ({
830
849
  ...obj,
831
850
  });
832
851
  export const ImmunityTimePropertyFilterSensitiveLog = (obj) => ({
@@ -835,6 +854,9 @@ export const ImmunityTimePropertyFilterSensitiveLog = (obj) => ({
835
854
  export const CaptchaConfigFilterSensitiveLog = (obj) => ({
836
855
  ...obj,
837
856
  });
857
+ export const ChallengeConfigFilterSensitiveLog = (obj) => ({
858
+ ...obj,
859
+ });
838
860
  export const NoneActionFilterSensitiveLog = (obj) => ({
839
861
  ...obj,
840
862
  });
@@ -1045,6 +1067,9 @@ export const GetSampledRequestsRequestFilterSensitiveLog = (obj) => ({
1045
1067
  export const CaptchaResponseFilterSensitiveLog = (obj) => ({
1046
1068
  ...obj,
1047
1069
  });
1070
+ export const ChallengeResponseFilterSensitiveLog = (obj) => ({
1071
+ ...obj,
1072
+ });
1048
1073
  export const HTTPHeaderFilterSensitiveLog = (obj) => ({
1049
1074
  ...obj,
1050
1075
  });
@@ -733,6 +733,9 @@ const deserializeAws_json1_1CreateWebACLCommandError = async (output, context) =
733
733
  case "WAFDuplicateItemException":
734
734
  case "com.amazonaws.wafv2#WAFDuplicateItemException":
735
735
  throw await deserializeAws_json1_1WAFDuplicateItemExceptionResponse(parsedOutput, context);
736
+ case "WAFExpiredManagedRuleGroupVersionException":
737
+ case "com.amazonaws.wafv2#WAFExpiredManagedRuleGroupVersionException":
738
+ throw await deserializeAws_json1_1WAFExpiredManagedRuleGroupVersionExceptionResponse(parsedOutput, context);
736
739
  case "WAFInternalErrorException":
737
740
  case "com.amazonaws.wafv2#WAFInternalErrorException":
738
741
  throw await deserializeAws_json1_1WAFInternalErrorExceptionResponse(parsedOutput, context);
@@ -2860,6 +2863,11 @@ const serializeAws_json1_1AssociateWebACLRequest = (input, context) => {
2860
2863
  ...(input.WebACLArn != null && { WebACLArn: input.WebACLArn }),
2861
2864
  };
2862
2865
  };
2866
+ const serializeAws_json1_1AWSManagedRulesBotControlRuleSet = (input, context) => {
2867
+ return {
2868
+ ...(input.InspectionLevel != null && { InspectionLevel: input.InspectionLevel }),
2869
+ };
2870
+ };
2863
2871
  const serializeAws_json1_1BlockAction = (input, context) => {
2864
2872
  return {
2865
2873
  ...(input.CustomResponse != null && {
@@ -2896,6 +2904,20 @@ const serializeAws_json1_1CaptchaConfig = (input, context) => {
2896
2904
  }),
2897
2905
  };
2898
2906
  };
2907
+ const serializeAws_json1_1ChallengeAction = (input, context) => {
2908
+ return {
2909
+ ...(input.CustomRequestHandling != null && {
2910
+ CustomRequestHandling: serializeAws_json1_1CustomRequestHandling(input.CustomRequestHandling, context),
2911
+ }),
2912
+ };
2913
+ };
2914
+ const serializeAws_json1_1ChallengeConfig = (input, context) => {
2915
+ return {
2916
+ ...(input.ImmunityTimeProperty != null && {
2917
+ ImmunityTimeProperty: serializeAws_json1_1ImmunityTimeProperty(input.ImmunityTimeProperty, context),
2918
+ }),
2919
+ };
2920
+ };
2899
2921
  const serializeAws_json1_1CheckCapacityRequest = (input, context) => {
2900
2922
  return {
2901
2923
  ...(input.Rules != null && { Rules: serializeAws_json1_1Rules(input.Rules, context) }),
@@ -3002,6 +3024,9 @@ const serializeAws_json1_1CreateWebACLRequest = (input, context) => {
3002
3024
  ...(input.CaptchaConfig != null && {
3003
3025
  CaptchaConfig: serializeAws_json1_1CaptchaConfig(input.CaptchaConfig, context),
3004
3026
  }),
3027
+ ...(input.ChallengeConfig != null && {
3028
+ ChallengeConfig: serializeAws_json1_1ChallengeConfig(input.ChallengeConfig, context),
3029
+ }),
3005
3030
  ...(input.CustomResponseBodies != null && {
3006
3031
  CustomResponseBodies: serializeAws_json1_1CustomResponseBodies(input.CustomResponseBodies, context),
3007
3032
  }),
@@ -3013,6 +3038,7 @@ const serializeAws_json1_1CreateWebACLRequest = (input, context) => {
3013
3038
  ...(input.Rules != null && { Rules: serializeAws_json1_1Rules(input.Rules, context) }),
3014
3039
  ...(input.Scope != null && { Scope: input.Scope }),
3015
3040
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
3041
+ ...(input.TokenDomains != null && { TokenDomains: serializeAws_json1_1TokenDomains(input.TokenDomains, context) }),
3016
3042
  ...(input.VisibilityConfig != null && {
3017
3043
  VisibilityConfig: serializeAws_json1_1VisibilityConfig(input.VisibilityConfig, context),
3018
3044
  }),
@@ -3480,6 +3506,9 @@ const serializeAws_json1_1LoggingFilter = (input, context) => {
3480
3506
  };
3481
3507
  const serializeAws_json1_1ManagedRuleGroupConfig = (input, context) => {
3482
3508
  return {
3509
+ ...(input.AWSManagedRulesBotControlRuleSet != null && {
3510
+ AWSManagedRulesBotControlRuleSet: serializeAws_json1_1AWSManagedRulesBotControlRuleSet(input.AWSManagedRulesBotControlRuleSet, context),
3511
+ }),
3483
3512
  ...(input.LoginPath != null && { LoginPath: input.LoginPath }),
3484
3513
  ...(input.PasswordField != null && {
3485
3514
  PasswordField: serializeAws_json1_1PasswordField(input.PasswordField, context),
@@ -3506,6 +3535,9 @@ const serializeAws_json1_1ManagedRuleGroupStatement = (input, context) => {
3506
3535
  ManagedRuleGroupConfigs: serializeAws_json1_1ManagedRuleGroupConfigs(input.ManagedRuleGroupConfigs, context),
3507
3536
  }),
3508
3537
  ...(input.Name != null && { Name: input.Name }),
3538
+ ...(input.RuleActionOverrides != null && {
3539
+ RuleActionOverrides: serializeAws_json1_1RuleActionOverrides(input.RuleActionOverrides, context),
3540
+ }),
3509
3541
  ...(input.ScopeDownStatement != null && {
3510
3542
  ScopeDownStatement: serializeAws_json1_1Statement(input.ScopeDownStatement, context),
3511
3543
  }),
@@ -3623,6 +3655,9 @@ const serializeAws_json1_1Rule = (input, context) => {
3623
3655
  ...(input.CaptchaConfig != null && {
3624
3656
  CaptchaConfig: serializeAws_json1_1CaptchaConfig(input.CaptchaConfig, context),
3625
3657
  }),
3658
+ ...(input.ChallengeConfig != null && {
3659
+ ChallengeConfig: serializeAws_json1_1ChallengeConfig(input.ChallengeConfig, context),
3660
+ }),
3626
3661
  ...(input.Name != null && { Name: input.Name }),
3627
3662
  ...(input.OverrideAction != null && {
3628
3663
  OverrideAction: serializeAws_json1_1OverrideAction(input.OverrideAction, context),
@@ -3640,15 +3675,32 @@ const serializeAws_json1_1RuleAction = (input, context) => {
3640
3675
  ...(input.Allow != null && { Allow: serializeAws_json1_1AllowAction(input.Allow, context) }),
3641
3676
  ...(input.Block != null && { Block: serializeAws_json1_1BlockAction(input.Block, context) }),
3642
3677
  ...(input.Captcha != null && { Captcha: serializeAws_json1_1CaptchaAction(input.Captcha, context) }),
3678
+ ...(input.Challenge != null && { Challenge: serializeAws_json1_1ChallengeAction(input.Challenge, context) }),
3643
3679
  ...(input.Count != null && { Count: serializeAws_json1_1CountAction(input.Count, context) }),
3644
3680
  };
3645
3681
  };
3682
+ const serializeAws_json1_1RuleActionOverride = (input, context) => {
3683
+ return {
3684
+ ...(input.ActionToUse != null && { ActionToUse: serializeAws_json1_1RuleAction(input.ActionToUse, context) }),
3685
+ ...(input.Name != null && { Name: input.Name }),
3686
+ };
3687
+ };
3688
+ const serializeAws_json1_1RuleActionOverrides = (input, context) => {
3689
+ return input
3690
+ .filter((e) => e != null)
3691
+ .map((entry) => {
3692
+ return serializeAws_json1_1RuleActionOverride(entry, context);
3693
+ });
3694
+ };
3646
3695
  const serializeAws_json1_1RuleGroupReferenceStatement = (input, context) => {
3647
3696
  return {
3648
3697
  ...(input.ARN != null && { ARN: input.ARN }),
3649
3698
  ...(input.ExcludedRules != null && {
3650
3699
  ExcludedRules: serializeAws_json1_1ExcludedRules(input.ExcludedRules, context),
3651
3700
  }),
3701
+ ...(input.RuleActionOverrides != null && {
3702
+ RuleActionOverrides: serializeAws_json1_1RuleActionOverrides(input.RuleActionOverrides, context),
3703
+ }),
3652
3704
  };
3653
3705
  };
3654
3706
  const serializeAws_json1_1Rules = (input, context) => {
@@ -3782,6 +3834,13 @@ const serializeAws_json1_1TimeWindow = (input, context) => {
3782
3834
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
3783
3835
  };
3784
3836
  };
3837
+ const serializeAws_json1_1TokenDomains = (input, context) => {
3838
+ return input
3839
+ .filter((e) => e != null)
3840
+ .map((entry) => {
3841
+ return entry;
3842
+ });
3843
+ };
3785
3844
  const serializeAws_json1_1UntagResourceRequest = (input, context) => {
3786
3845
  return {
3787
3846
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
@@ -3841,6 +3900,9 @@ const serializeAws_json1_1UpdateWebACLRequest = (input, context) => {
3841
3900
  ...(input.CaptchaConfig != null && {
3842
3901
  CaptchaConfig: serializeAws_json1_1CaptchaConfig(input.CaptchaConfig, context),
3843
3902
  }),
3903
+ ...(input.ChallengeConfig != null && {
3904
+ ChallengeConfig: serializeAws_json1_1ChallengeConfig(input.ChallengeConfig, context),
3905
+ }),
3844
3906
  ...(input.CustomResponseBodies != null && {
3845
3907
  CustomResponseBodies: serializeAws_json1_1CustomResponseBodies(input.CustomResponseBodies, context),
3846
3908
  }),
@@ -3853,6 +3915,7 @@ const serializeAws_json1_1UpdateWebACLRequest = (input, context) => {
3853
3915
  ...(input.Name != null && { Name: input.Name }),
3854
3916
  ...(input.Rules != null && { Rules: serializeAws_json1_1Rules(input.Rules, context) }),
3855
3917
  ...(input.Scope != null && { Scope: input.Scope }),
3918
+ ...(input.TokenDomains != null && { TokenDomains: serializeAws_json1_1TokenDomains(input.TokenDomains, context) }),
3856
3919
  ...(input.VisibilityConfig != null && {
3857
3920
  VisibilityConfig: serializeAws_json1_1VisibilityConfig(input.VisibilityConfig, context),
3858
3921
  }),
@@ -3924,6 +3987,11 @@ const deserializeAws_json1_1AndStatement = (output, context) => {
3924
3987
  const deserializeAws_json1_1AssociateWebACLResponse = (output, context) => {
3925
3988
  return {};
3926
3989
  };
3990
+ const deserializeAws_json1_1AWSManagedRulesBotControlRuleSet = (output, context) => {
3991
+ return {
3992
+ InspectionLevel: __expectString(output.InspectionLevel),
3993
+ };
3994
+ };
3927
3995
  const deserializeAws_json1_1BlockAction = (output, context) => {
3928
3996
  return {
3929
3997
  CustomResponse: output.CustomResponse != null ? deserializeAws_json1_1CustomResponse(output.CustomResponse, context) : undefined,
@@ -3965,6 +4033,27 @@ const deserializeAws_json1_1CaptchaResponse = (output, context) => {
3965
4033
  SolveTimestamp: __expectLong(output.SolveTimestamp),
3966
4034
  };
3967
4035
  };
4036
+ const deserializeAws_json1_1ChallengeAction = (output, context) => {
4037
+ return {
4038
+ CustomRequestHandling: output.CustomRequestHandling != null
4039
+ ? deserializeAws_json1_1CustomRequestHandling(output.CustomRequestHandling, context)
4040
+ : undefined,
4041
+ };
4042
+ };
4043
+ const deserializeAws_json1_1ChallengeConfig = (output, context) => {
4044
+ return {
4045
+ ImmunityTimeProperty: output.ImmunityTimeProperty != null
4046
+ ? deserializeAws_json1_1ImmunityTimeProperty(output.ImmunityTimeProperty, context)
4047
+ : undefined,
4048
+ };
4049
+ };
4050
+ const deserializeAws_json1_1ChallengeResponse = (output, context) => {
4051
+ return {
4052
+ FailureReason: __expectString(output.FailureReason),
4053
+ ResponseCode: __expectInt32(output.ResponseCode),
4054
+ SolveTimestamp: __expectLong(output.SolveTimestamp),
4055
+ };
4056
+ };
3968
4057
  const deserializeAws_json1_1CheckCapacityResponse = (output, context) => {
3969
4058
  return {
3970
4059
  Capacity: __expectLong(output.Capacity),
@@ -4628,6 +4717,9 @@ const deserializeAws_json1_1LoggingFilter = (output, context) => {
4628
4717
  };
4629
4718
  const deserializeAws_json1_1ManagedRuleGroupConfig = (output, context) => {
4630
4719
  return {
4720
+ AWSManagedRulesBotControlRuleSet: output.AWSManagedRulesBotControlRuleSet != null
4721
+ ? deserializeAws_json1_1AWSManagedRulesBotControlRuleSet(output.AWSManagedRulesBotControlRuleSet, context)
4722
+ : undefined,
4631
4723
  LoginPath: __expectString(output.LoginPath),
4632
4724
  PasswordField: output.PasswordField != null ? deserializeAws_json1_1PasswordField(output.PasswordField, context) : undefined,
4633
4725
  PayloadType: __expectString(output.PayloadType),
@@ -4652,6 +4744,9 @@ const deserializeAws_json1_1ManagedRuleGroupStatement = (output, context) => {
4652
4744
  ? deserializeAws_json1_1ManagedRuleGroupConfigs(output.ManagedRuleGroupConfigs, context)
4653
4745
  : undefined,
4654
4746
  Name: __expectString(output.Name),
4747
+ RuleActionOverrides: output.RuleActionOverrides != null
4748
+ ? deserializeAws_json1_1RuleActionOverrides(output.RuleActionOverrides, context)
4749
+ : undefined,
4655
4750
  ScopeDownStatement: output.ScopeDownStatement != null
4656
4751
  ? deserializeAws_json1_1Statement(output.ScopeDownStatement, context)
4657
4752
  : undefined,
@@ -4937,6 +5032,9 @@ const deserializeAws_json1_1Rule = (output, context) => {
4937
5032
  return {
4938
5033
  Action: output.Action != null ? deserializeAws_json1_1RuleAction(output.Action, context) : undefined,
4939
5034
  CaptchaConfig: output.CaptchaConfig != null ? deserializeAws_json1_1CaptchaConfig(output.CaptchaConfig, context) : undefined,
5035
+ ChallengeConfig: output.ChallengeConfig != null
5036
+ ? deserializeAws_json1_1ChallengeConfig(output.ChallengeConfig, context)
5037
+ : undefined,
4940
5038
  Name: __expectString(output.Name),
4941
5039
  OverrideAction: output.OverrideAction != null ? deserializeAws_json1_1OverrideAction(output.OverrideAction, context) : undefined,
4942
5040
  Priority: __expectInt32(output.Priority),
@@ -4952,9 +5050,27 @@ const deserializeAws_json1_1RuleAction = (output, context) => {
4952
5050
  Allow: output.Allow != null ? deserializeAws_json1_1AllowAction(output.Allow, context) : undefined,
4953
5051
  Block: output.Block != null ? deserializeAws_json1_1BlockAction(output.Block, context) : undefined,
4954
5052
  Captcha: output.Captcha != null ? deserializeAws_json1_1CaptchaAction(output.Captcha, context) : undefined,
5053
+ Challenge: output.Challenge != null ? deserializeAws_json1_1ChallengeAction(output.Challenge, context) : undefined,
4955
5054
  Count: output.Count != null ? deserializeAws_json1_1CountAction(output.Count, context) : undefined,
4956
5055
  };
4957
5056
  };
5057
+ const deserializeAws_json1_1RuleActionOverride = (output, context) => {
5058
+ return {
5059
+ ActionToUse: output.ActionToUse != null ? deserializeAws_json1_1RuleAction(output.ActionToUse, context) : undefined,
5060
+ Name: __expectString(output.Name),
5061
+ };
5062
+ };
5063
+ const deserializeAws_json1_1RuleActionOverrides = (output, context) => {
5064
+ const retVal = (output || [])
5065
+ .filter((e) => e != null)
5066
+ .map((entry) => {
5067
+ if (entry === null) {
5068
+ return null;
5069
+ }
5070
+ return deserializeAws_json1_1RuleActionOverride(entry, context);
5071
+ });
5072
+ return retVal;
5073
+ };
4958
5074
  const deserializeAws_json1_1RuleGroup = (output, context) => {
4959
5075
  return {
4960
5076
  ARN: __expectString(output.ARN),
@@ -4980,6 +5096,9 @@ const deserializeAws_json1_1RuleGroupReferenceStatement = (output, context) => {
4980
5096
  return {
4981
5097
  ARN: __expectString(output.ARN),
4982
5098
  ExcludedRules: output.ExcludedRules != null ? deserializeAws_json1_1ExcludedRules(output.ExcludedRules, context) : undefined,
5099
+ RuleActionOverrides: output.RuleActionOverrides != null
5100
+ ? deserializeAws_json1_1RuleActionOverrides(output.RuleActionOverrides, context)
5101
+ : undefined,
4983
5102
  };
4984
5103
  };
4985
5104
  const deserializeAws_json1_1RuleGroupSummaries = (output, context) => {
@@ -5036,7 +5155,11 @@ const deserializeAws_json1_1SampledHTTPRequest = (output, context) => {
5036
5155
  CaptchaResponse: output.CaptchaResponse != null
5037
5156
  ? deserializeAws_json1_1CaptchaResponse(output.CaptchaResponse, context)
5038
5157
  : undefined,
5158
+ ChallengeResponse: output.ChallengeResponse != null
5159
+ ? deserializeAws_json1_1ChallengeResponse(output.ChallengeResponse, context)
5160
+ : undefined,
5039
5161
  Labels: output.Labels != null ? deserializeAws_json1_1Labels(output.Labels, context) : undefined,
5162
+ OverriddenAction: __expectString(output.OverriddenAction),
5040
5163
  Request: output.Request != null ? deserializeAws_json1_1HTTPRequest(output.Request, context) : undefined,
5041
5164
  RequestHeadersInserted: output.RequestHeadersInserted != null
5042
5165
  ? deserializeAws_json1_1HTTPHeaders(output.RequestHeadersInserted, context)
@@ -5190,6 +5313,17 @@ const deserializeAws_json1_1TimeWindow = (output, context) => {
5190
5313
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
5191
5314
  };
5192
5315
  };
5316
+ const deserializeAws_json1_1TokenDomains = (output, context) => {
5317
+ const retVal = (output || [])
5318
+ .filter((e) => e != null)
5319
+ .map((entry) => {
5320
+ if (entry === null) {
5321
+ return null;
5322
+ }
5323
+ return __expectString(entry);
5324
+ });
5325
+ return retVal;
5326
+ };
5193
5327
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
5194
5328
  return {};
5195
5329
  };
@@ -5335,6 +5469,9 @@ const deserializeAws_json1_1WebACL = (output, context) => {
5335
5469
  ARN: __expectString(output.ARN),
5336
5470
  Capacity: __expectLong(output.Capacity),
5337
5471
  CaptchaConfig: output.CaptchaConfig != null ? deserializeAws_json1_1CaptchaConfig(output.CaptchaConfig, context) : undefined,
5472
+ ChallengeConfig: output.ChallengeConfig != null
5473
+ ? deserializeAws_json1_1ChallengeConfig(output.ChallengeConfig, context)
5474
+ : undefined,
5338
5475
  CustomResponseBodies: output.CustomResponseBodies != null
5339
5476
  ? deserializeAws_json1_1CustomResponseBodies(output.CustomResponseBodies, context)
5340
5477
  : undefined,
@@ -5351,6 +5488,7 @@ const deserializeAws_json1_1WebACL = (output, context) => {
5351
5488
  ? deserializeAws_json1_1FirewallManagerRuleGroups(output.PreProcessFirewallManagerRuleGroups, context)
5352
5489
  : undefined,
5353
5490
  Rules: output.Rules != null ? deserializeAws_json1_1Rules(output.Rules, context) : undefined,
5491
+ TokenDomains: output.TokenDomains != null ? deserializeAws_json1_1TokenDomains(output.TokenDomains, context) : undefined,
5354
5492
  VisibilityConfig: output.VisibilityConfig != null
5355
5493
  ? deserializeAws_json1_1VisibilityConfig(output.VisibilityConfig, context)
5356
5494
  : undefined,
@@ -265,7 +265,7 @@ export declare class WAFV2 extends WAFV2Client {
265
265
  disassociateWebACL(args: DisassociateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
266
266
  /**
267
267
  * <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
268
- * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
268
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
269
269
  * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
270
270
  */
271
271
  generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, options?: __HttpHandlerOptions): Promise<GenerateMobileSdkReleaseUrlCommandOutput>;
@@ -296,7 +296,7 @@ export declare class WAFV2 extends WAFV2Client {
296
296
  /**
297
297
  * <p>Retrieves information for the specified mobile SDK release, including release notes and
298
298
  * tags.</p>
299
- * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
299
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
300
300
  * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
301
301
  */
302
302
  getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, options?: __HttpHandlerOptions): Promise<GetMobileSdkReleaseCommandOutput>;
@@ -407,7 +407,7 @@ export declare class WAFV2 extends WAFV2Client {
407
407
  /**
408
408
  * <p>Retrieves a list of the available releases for the mobile SDK and the specified device
409
409
  * platform. </p>
410
- * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
410
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
411
411
  * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
412
412
  */
413
413
  listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, options?: __HttpHandlerOptions): Promise<ListMobileSdkReleasesCommandOutput>;
@@ -9,7 +9,7 @@ export interface GenerateMobileSdkReleaseUrlCommandOutput extends GenerateMobile
9
9
  }
10
10
  /**
11
11
  * <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
12
- * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
12
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
13
13
  * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -10,7 +10,7 @@ export interface GetMobileSdkReleaseCommandOutput extends GetMobileSdkReleaseRes
10
10
  /**
11
11
  * <p>Retrieves information for the specified mobile SDK release, including release notes and
12
12
  * tags.</p>
13
- * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
13
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
14
14
  * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
@@ -10,7 +10,7 @@ export interface ListMobileSdkReleasesCommandOutput extends ListMobileSdkRelease
10
10
  /**
11
11
  * <p>Retrieves a list of the available releases for the mobile SDK and the specified device
12
12
  * platform. </p>
13
- * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
13
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
14
14
  * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
@@ -1,9 +1,9 @@
1
- import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
2
2
  export interface ClientInputEndpointParameters {
3
3
  region?: string | Provider<string>;
4
4
  useDualstackEndpoint?: boolean | Provider<boolean>;
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
- endpoint?: string | Provider<string>;
6
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
8
  export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;