@aws-sdk/client-wafv2 3.428.0 → 3.429.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.
@@ -28,7 +28,7 @@ export interface ActionCondition {
28
28
  * The value <code>EXCLUDED_AS_COUNT</code> matches on
29
29
  * excluded rules and also on rules that have a rule action override of Count. </p>
30
30
  */
31
- Action: ActionValue | string | undefined;
31
+ Action: ActionValue | undefined;
32
32
  }
33
33
  /**
34
34
  * @public
@@ -182,7 +182,7 @@ export interface Body {
182
182
  * <p>Default: <code>CONTINUE</code>
183
183
  * </p>
184
184
  */
185
- OversizeHandling?: OversizeHandling | string;
185
+ OversizeHandling?: OversizeHandling;
186
186
  }
187
187
  /**
188
188
  * @public
@@ -247,7 +247,7 @@ export interface Cookies {
247
247
  * <p>The parts of the cookies to inspect with the rule inspection criteria. If you specify
248
248
  * <code>All</code>, WAF inspects both keys and values. </p>
249
249
  */
250
- MatchScope: MapMatchScope | string | undefined;
250
+ MatchScope: MapMatchScope | undefined;
251
251
  /**
252
252
  * @public
253
253
  * <p>What WAF should do if the cookies of the request are more numerous or larger than WAF can inspect.
@@ -272,7 +272,7 @@ export interface Cookies {
272
272
  * </li>
273
273
  * </ul>
274
274
  */
275
- OversizeHandling: OversizeHandling | string | undefined;
275
+ OversizeHandling: OversizeHandling | undefined;
276
276
  }
277
277
  /**
278
278
  * @public
@@ -306,7 +306,7 @@ export interface HeaderOrder {
306
306
  * </li>
307
307
  * </ul>
308
308
  */
309
- OversizeHandling: OversizeHandling | string | undefined;
309
+ OversizeHandling: OversizeHandling | undefined;
310
310
  }
311
311
  /**
312
312
  * @public
@@ -361,7 +361,7 @@ export interface Headers {
361
361
  * <p>The parts of the headers to match with the rule inspection criteria. If you specify
362
362
  * <code>All</code>, WAF inspects both keys and values. </p>
363
363
  */
364
- MatchScope: MapMatchScope | string | undefined;
364
+ MatchScope: MapMatchScope | undefined;
365
365
  /**
366
366
  * @public
367
367
  * <p>What WAF should do if the headers of the request are more numerous or larger than WAF can inspect.
@@ -386,7 +386,7 @@ export interface Headers {
386
386
  * </li>
387
387
  * </ul>
388
388
  */
389
- OversizeHandling: OversizeHandling | string | undefined;
389
+ OversizeHandling: OversizeHandling | undefined;
390
390
  }
391
391
  /**
392
392
  * @public
@@ -432,7 +432,7 @@ export interface JA3Fingerprint {
432
432
  * </li>
433
433
  * </ul>
434
434
  */
435
- FallbackBehavior: FallbackBehavior | string | undefined;
435
+ FallbackBehavior: FallbackBehavior | undefined;
436
436
  }
437
437
  /**
438
438
  * @public
@@ -518,7 +518,7 @@ export interface JsonBody {
518
518
  * <p>The parts of the JSON to match against using the <code>MatchPattern</code>. If you
519
519
  * specify <code>All</code>, WAF matches against keys and values. </p>
520
520
  */
521
- MatchScope: JsonMatchScope | string | undefined;
521
+ MatchScope: JsonMatchScope | undefined;
522
522
  /**
523
523
  * @public
524
524
  * <p>What WAF should do if it fails to completely parse the JSON body. The options are
@@ -562,7 +562,7 @@ export interface JsonBody {
562
562
  * </li>
563
563
  * </ul>
564
564
  */
565
- InvalidFallbackBehavior?: BodyParsingFallbackBehavior | string;
565
+ InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
566
566
  /**
567
567
  * @public
568
568
  * <p>What WAF should do if the body is larger than WAF can inspect.
@@ -593,7 +593,7 @@ export interface JsonBody {
593
593
  * <p>Default: <code>CONTINUE</code>
594
594
  * </p>
595
595
  */
596
- OversizeHandling?: OversizeHandling | string;
596
+ OversizeHandling?: OversizeHandling;
597
597
  }
598
598
  /**
599
599
  * @public
@@ -858,7 +858,7 @@ export interface TextTransformation {
858
858
  * <p>For detailed descriptions of each of the transformation types, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-transformation.html">Text transformations</a>
859
859
  * in the <i>WAF Developer Guide</i>.</p>
860
860
  */
861
- Type: TextTransformationType | string | undefined;
861
+ Type: TextTransformationType | undefined;
862
862
  }
863
863
  /**
864
864
  * @public
@@ -974,7 +974,7 @@ export interface ByteMatchStatement {
974
974
  * <p>The value of <code>SearchString</code> must appear at the end of the specified part of
975
975
  * the web request.</p>
976
976
  */
977
- PositionalConstraint: PositionalConstraint | string | undefined;
977
+ PositionalConstraint: PositionalConstraint | undefined;
978
978
  }
979
979
  /**
980
980
  * @public
@@ -1273,7 +1273,7 @@ export interface ForwardedIPConfig {
1273
1273
  * </li>
1274
1274
  * </ul>
1275
1275
  */
1276
- FallbackBehavior: FallbackBehavior | string | undefined;
1276
+ FallbackBehavior: FallbackBehavior | undefined;
1277
1277
  }
1278
1278
  /**
1279
1279
  * @public
@@ -1298,7 +1298,7 @@ export interface GeoMatchStatement {
1298
1298
  * the alpha-2 country ISO codes of the ISO 3166 international standard. </p>
1299
1299
  * <p>When you use a geo match statement just for the region and country labels that it adds to requests, you still have to supply a country code for the rule to evaluate. In this case, you configure the rule to only count matching requests, but it will still generate logging and count metrics for any matches. You can reduce the logging and metrics that the rule produces by specifying a country that's unlikely to be a source of traffic to your site.</p>
1300
1300
  */
1301
- CountryCodes?: (CountryCode | string)[];
1301
+ CountryCodes?: CountryCode[];
1302
1302
  /**
1303
1303
  * @public
1304
1304
  * <p>The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. </p>
@@ -1356,7 +1356,7 @@ export interface IPSetForwardedIPConfig {
1356
1356
  * </li>
1357
1357
  * </ul>
1358
1358
  */
1359
- FallbackBehavior: FallbackBehavior | string | undefined;
1359
+ FallbackBehavior: FallbackBehavior | undefined;
1360
1360
  /**
1361
1361
  * @public
1362
1362
  * <p>The position in the header to search for the IP address. The header can contain IP
@@ -1379,7 +1379,7 @@ export interface IPSetForwardedIPConfig {
1379
1379
  * </li>
1380
1380
  * </ul>
1381
1381
  */
1382
- Position: ForwardedIPPosition | string | undefined;
1382
+ Position: ForwardedIPPosition | undefined;
1383
1383
  }
1384
1384
  /**
1385
1385
  * @public
@@ -1424,7 +1424,7 @@ export interface LabelMatchStatement {
1424
1424
  * @public
1425
1425
  * <p>Specify whether you want to match using the label name or just the namespace. </p>
1426
1426
  */
1427
- Scope: LabelMatchScope | string | undefined;
1427
+ Scope: LabelMatchScope | undefined;
1428
1428
  /**
1429
1429
  * @public
1430
1430
  * <p>The string to match against. The setting you provide for this depends on the match
@@ -1604,7 +1604,7 @@ export interface RequestInspectionACFP {
1604
1604
  * @public
1605
1605
  * <p>The payload type for your account creation endpoint, either JSON or form encoded.</p>
1606
1606
  */
1607
- PayloadType: PayloadType | string | undefined;
1607
+ PayloadType: PayloadType | undefined;
1608
1608
  /**
1609
1609
  * @public
1610
1610
  * <p>The name of the field in the request payload that contains your customer's username. </p>
@@ -1933,7 +1933,7 @@ export interface RequestInspection {
1933
1933
  * @public
1934
1934
  * <p>The payload type for your login endpoint, either JSON or form encoded.</p>
1935
1935
  */
1936
- PayloadType: PayloadType | string | undefined;
1936
+ PayloadType: PayloadType | undefined;
1937
1937
  /**
1938
1938
  * @public
1939
1939
  * <p>The name of the field in the request payload that contains your customer's username. </p>
@@ -2039,7 +2039,7 @@ export interface AWSManagedRulesBotControlRuleSet {
2039
2039
  * details, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a>
2040
2040
  * in the <i>WAF Developer Guide</i>.</p>
2041
2041
  */
2042
- InspectionLevel: InspectionLevel | string | undefined;
2042
+ InspectionLevel: InspectionLevel | undefined;
2043
2043
  /**
2044
2044
  * @public
2045
2045
  * <p>Applies only to the targeted inspection level. </p>
@@ -2089,7 +2089,7 @@ export interface ManagedRuleGroupConfig {
2089
2089
  * <p>Instead of this setting, provide your configuration under the request inspection configuration for <code>AWSManagedRulesATPRuleSet</code> or <code>AWSManagedRulesACFPRuleSet</code>. </p>
2090
2090
  * </note>
2091
2091
  */
2092
- PayloadType?: PayloadType | string;
2092
+ PayloadType?: PayloadType;
2093
2093
  /**
2094
2094
  * @public
2095
2095
  * @deprecated
@@ -2650,7 +2650,7 @@ export interface SizeConstraintStatement {
2650
2650
  * @public
2651
2651
  * <p>The operator to use to compare the request part to the size setting. </p>
2652
2652
  */
2653
- ComparisonOperator: ComparisonOperator | string | undefined;
2653
+ ComparisonOperator: ComparisonOperator | undefined;
2654
2654
  /**
2655
2655
  * @public
2656
2656
  * <p>The size, in byte, to compare to the request part, after any transformations.</p>
@@ -2704,7 +2704,7 @@ export interface SqliMatchStatement {
2704
2704
  * <p>Default: <code>LOW</code>
2705
2705
  * </p>
2706
2706
  */
2707
- SensitivityLevel?: SensitivityLevel | string;
2707
+ SensitivityLevel?: SensitivityLevel;
2708
2708
  }
2709
2709
  /**
2710
2710
  * @public
@@ -2953,7 +2953,7 @@ export declare class WAFInvalidParameterException extends __BaseException {
2953
2953
  * @public
2954
2954
  * <p>The settings where the invalid parameter was found. </p>
2955
2955
  */
2956
- Field?: ParameterExceptionField | string;
2956
+ Field?: ParameterExceptionField;
2957
2957
  /**
2958
2958
  * @public
2959
2959
  * <p>The invalid parameter that resulted in the exception. </p>
@@ -3031,7 +3031,7 @@ export interface RequestBodyAssociatedResourceTypeConfig {
3031
3031
  * <p>Default: <code>16 KB (16,384 bytes)</code>
3032
3032
  * </p>
3033
3033
  */
3034
- DefaultSizeInspectionLimit: SizeInspectionLimit | string | undefined;
3034
+ DefaultSizeInspectionLimit: SizeInspectionLimit | undefined;
3035
3035
  }
3036
3036
  /**
3037
3037
  * @public
@@ -3049,7 +3049,7 @@ export interface AssociationConfig {
3049
3049
  * <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
3050
3050
  * </note>
3051
3051
  */
3052
- RequestBody?: Record<string, RequestBodyAssociatedResourceTypeConfig>;
3052
+ RequestBody?: Record<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>;
3053
3053
  }
3054
3054
  /**
3055
3055
  * @public
@@ -3269,7 +3269,7 @@ export interface CreateAPIKeyRequest {
3269
3269
  * </li>
3270
3270
  * </ul>
3271
3271
  */
3272
- Scope: Scope | string | undefined;
3272
+ Scope: Scope | undefined;
3273
3273
  /**
3274
3274
  * @public
3275
3275
  * <p>The client application domains that you want to use this API key for. </p>
@@ -3351,7 +3351,7 @@ export interface CreateIPSetRequest {
3351
3351
  * </li>
3352
3352
  * </ul>
3353
3353
  */
3354
- Scope: Scope | string | undefined;
3354
+ Scope: Scope | undefined;
3355
3355
  /**
3356
3356
  * @public
3357
3357
  * <p>A description of the IP set that helps with identification. </p>
@@ -3361,7 +3361,7 @@ export interface CreateIPSetRequest {
3361
3361
  * @public
3362
3362
  * <p>The version of the IP addresses, either <code>IPV4</code> or <code>IPV6</code>. </p>
3363
3363
  */
3364
- IPAddressVersion: IPAddressVersion | string | undefined;
3364
+ IPAddressVersion: IPAddressVersion | undefined;
3365
3365
  /**
3366
3366
  * @public
3367
3367
  * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for <code>/0</code>. </p>
@@ -3538,7 +3538,7 @@ export interface CreateRegexPatternSetRequest {
3538
3538
  * </li>
3539
3539
  * </ul>
3540
3540
  */
3541
- Scope: Scope | string | undefined;
3541
+ Scope: Scope | undefined;
3542
3542
  /**
3543
3543
  * @public
3544
3544
  * <p>A description of the set that helps with identification. </p>
@@ -3621,7 +3621,7 @@ export interface CustomResponseBody {
3621
3621
  * <p>The type of content in the payload that you are defining in the <code>Content</code>
3622
3622
  * string.</p>
3623
3623
  */
3624
- ContentType: ResponseContentType | string | undefined;
3624
+ ContentType: ResponseContentType | undefined;
3625
3625
  /**
3626
3626
  * @public
3627
3627
  * <p>The payload of the custom response. </p>
@@ -3802,7 +3802,7 @@ export interface DeleteIPSetRequest {
3802
3802
  * </li>
3803
3803
  * </ul>
3804
3804
  */
3805
- Scope: Scope | string | undefined;
3805
+ Scope: Scope | undefined;
3806
3806
  /**
3807
3807
  * @public
3808
3808
  * <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -3887,7 +3887,7 @@ export interface DeleteRegexPatternSetRequest {
3887
3887
  * </li>
3888
3888
  * </ul>
3889
3889
  */
3890
- Scope: Scope | string | undefined;
3890
+ Scope: Scope | undefined;
3891
3891
  /**
3892
3892
  * @public
3893
3893
  * <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -3926,7 +3926,7 @@ export interface DeleteRuleGroupRequest {
3926
3926
  * </li>
3927
3927
  * </ul>
3928
3928
  */
3929
- Scope: Scope | string | undefined;
3929
+ Scope: Scope | undefined;
3930
3930
  /**
3931
3931
  * @public
3932
3932
  * <p>A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -3965,7 +3965,7 @@ export interface DeleteWebACLRequest {
3965
3965
  * </li>
3966
3966
  * </ul>
3967
3967
  */
3968
- Scope: Scope | string | undefined;
3968
+ Scope: Scope | undefined;
3969
3969
  /**
3970
3970
  * @public
3971
3971
  * <p>The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -3999,7 +3999,7 @@ export interface DescribeAllManagedProductsRequest {
3999
3999
  * </li>
4000
4000
  * </ul>
4001
4001
  */
4002
- Scope: Scope | string | undefined;
4002
+ Scope: Scope | undefined;
4003
4003
  }
4004
4004
  /**
4005
4005
  * @public
@@ -4088,7 +4088,7 @@ export interface DescribeManagedProductsByVendorRequest {
4088
4088
  * </li>
4089
4089
  * </ul>
4090
4090
  */
4091
- Scope: Scope | string | undefined;
4091
+ Scope: Scope | undefined;
4092
4092
  }
4093
4093
  /**
4094
4094
  * @public
@@ -4127,7 +4127,7 @@ export interface DescribeManagedRuleGroupRequest {
4127
4127
  * </li>
4128
4128
  * </ul>
4129
4129
  */
4130
- Scope: Scope | string | undefined;
4130
+ Scope: Scope | undefined;
4131
4131
  /**
4132
4132
  * @public
4133
4133
  * <p>The version of the rule group. You can only use a version that is not scheduled for
@@ -4308,7 +4308,7 @@ export interface GenerateMobileSdkReleaseUrlRequest {
4308
4308
  * @public
4309
4309
  * <p>The device platform.</p>
4310
4310
  */
4311
- Platform: Platform | string | undefined;
4311
+ Platform: Platform | undefined;
4312
4312
  /**
4313
4313
  * @public
4314
4314
  * <p>The release version. For the latest available version, specify
@@ -4343,7 +4343,7 @@ export interface GetDecryptedAPIKeyRequest {
4343
4343
  * </li>
4344
4344
  * </ul>
4345
4345
  */
4346
- Scope: Scope | string | undefined;
4346
+ Scope: Scope | undefined;
4347
4347
  /**
4348
4348
  * @public
4349
4349
  * <p>The encrypted API key. </p>
@@ -4387,7 +4387,7 @@ export interface GetIPSetRequest {
4387
4387
  * </li>
4388
4388
  * </ul>
4389
4389
  */
4390
- Scope: Scope | string | undefined;
4390
+ Scope: Scope | undefined;
4391
4391
  /**
4392
4392
  * @public
4393
4393
  * <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -4428,7 +4428,7 @@ export interface IPSet {
4428
4428
  * @public
4429
4429
  * <p>The version of the IP addresses, either <code>IPV4</code> or <code>IPV6</code>. </p>
4430
4430
  */
4431
- IPAddressVersion: IPAddressVersion | string | undefined;
4431
+ IPAddressVersion: IPAddressVersion | undefined;
4432
4432
  /**
4433
4433
  * @public
4434
4434
  * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for <code>/0</code>. </p>
@@ -4558,13 +4558,13 @@ export interface Filter {
4558
4558
  * @public
4559
4559
  * <p>How to handle logs that satisfy the filter's conditions and requirement. </p>
4560
4560
  */
4561
- Behavior: FilterBehavior | string | undefined;
4561
+ Behavior: FilterBehavior | undefined;
4562
4562
  /**
4563
4563
  * @public
4564
4564
  * <p>Logic to apply to the filtering conditions. You can specify that, in order to satisfy
4565
4565
  * the filter, a log must match all conditions or must match at least one condition.</p>
4566
4566
  */
4567
- Requirement: FilterRequirement | string | undefined;
4567
+ Requirement: FilterRequirement | undefined;
4568
4568
  /**
4569
4569
  * @public
4570
4570
  * <p>Match conditions for the filter.</p>
@@ -4589,7 +4589,7 @@ export interface LoggingFilter {
4589
4589
  * <p>Default handling for logs that don't match any of the specified filtering conditions.
4590
4590
  * </p>
4591
4591
  */
4592
- DefaultBehavior: FilterBehavior | string | undefined;
4592
+ DefaultBehavior: FilterBehavior | undefined;
4593
4593
  }
4594
4594
  /**
4595
4595
  * @public
@@ -4703,7 +4703,7 @@ export interface GetManagedRuleSetRequest {
4703
4703
  * </li>
4704
4704
  * </ul>
4705
4705
  */
4706
- Scope: Scope | string | undefined;
4706
+ Scope: Scope | undefined;
4707
4707
  /**
4708
4708
  * @public
4709
4709
  * <p>A unique identifier for the managed rule set. The ID is returned in the responses to commands like <code>list</code>. You provide it to operations like <code>get</code> and <code>update</code>.</p>
@@ -4846,7 +4846,7 @@ export interface GetMobileSdkReleaseRequest {
4846
4846
  * @public
4847
4847
  * <p>The device platform.</p>
4848
4848
  */
4849
- Platform: Platform | string | undefined;
4849
+ Platform: Platform | undefined;
4850
4850
  /**
4851
4851
  * @public
4852
4852
  * <p>The release version. For the latest available version, specify
@@ -4930,7 +4930,7 @@ export interface GetRateBasedStatementManagedKeysRequest {
4930
4930
  * </li>
4931
4931
  * </ul>
4932
4932
  */
4933
- Scope: Scope | string | undefined;
4933
+ Scope: Scope | undefined;
4934
4934
  /**
4935
4935
  * @public
4936
4936
  * <p>The name of the web ACL. You cannot change the name of a web ACL after you create it.</p>
@@ -4967,7 +4967,7 @@ export interface RateBasedStatementManagedKeysIPSet {
4967
4967
  * @public
4968
4968
  * <p>The version of the IP addresses, either <code>IPV4</code> or <code>IPV6</code>. </p>
4969
4969
  */
4970
- IPAddressVersion?: IPAddressVersion | string;
4970
+ IPAddressVersion?: IPAddressVersion;
4971
4971
  /**
4972
4972
  * @public
4973
4973
  * <p>The IP addresses that are currently blocked.</p>
@@ -5025,7 +5025,7 @@ export interface GetRegexPatternSetRequest {
5025
5025
  * </li>
5026
5026
  * </ul>
5027
5027
  */
5028
- Scope: Scope | string | undefined;
5028
+ Scope: Scope | undefined;
5029
5029
  /**
5030
5030
  * @public
5031
5031
  * <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -5102,7 +5102,7 @@ export interface GetRuleGroupRequest {
5102
5102
  * </li>
5103
5103
  * </ul>
5104
5104
  */
5105
- Scope?: Scope | string;
5105
+ Scope?: Scope;
5106
5106
  /**
5107
5107
  * @public
5108
5108
  * <p>A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -5180,7 +5180,7 @@ export interface GetSampledRequestsRequest {
5180
5180
  * </li>
5181
5181
  * </ul>
5182
5182
  */
5183
- Scope: Scope | string | undefined;
5183
+ Scope: Scope | undefined;
5184
5184
  /**
5185
5185
  * @public
5186
5186
  * <p>The start date and time and the end date and time of the range for which you want
@@ -5235,7 +5235,7 @@ export interface CaptchaResponse {
5235
5235
  * @public
5236
5236
  * <p>The reason for failure, populated when the evaluation of the token fails.</p>
5237
5237
  */
5238
- FailureReason?: FailureReason | string;
5238
+ FailureReason?: FailureReason;
5239
5239
  }
5240
5240
  /**
5241
5241
  * @public
@@ -5257,7 +5257,7 @@ export interface ChallengeResponse {
5257
5257
  * @public
5258
5258
  * <p>The reason for failure, populated when the evaluation of the token fails.</p>
5259
5259
  */
5260
- FailureReason?: FailureReason | string;
5260
+ FailureReason?: FailureReason;
5261
5261
  }
5262
5262
  /**
5263
5263
  * @public
@@ -5463,7 +5463,7 @@ export interface GetWebACLRequest {
5463
5463
  * </li>
5464
5464
  * </ul>
5465
5465
  */
5466
- Scope: Scope | string | undefined;
5466
+ Scope: Scope | undefined;
5467
5467
  /**
5468
5468
  * @public
5469
5469
  * <p>The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -5530,7 +5530,7 @@ export interface ListAPIKeysRequest {
5530
5530
  * </li>
5531
5531
  * </ul>
5532
5532
  */
5533
- Scope: Scope | string | undefined;
5533
+ Scope: Scope | undefined;
5534
5534
  /**
5535
5535
  * @public
5536
5536
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -5585,7 +5585,7 @@ export interface ListAvailableManagedRuleGroupsRequest {
5585
5585
  * </li>
5586
5586
  * </ul>
5587
5587
  */
5588
- Scope: Scope | string | undefined;
5588
+ Scope: Scope | undefined;
5589
5589
  /**
5590
5590
  * @public
5591
5591
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -5672,7 +5672,7 @@ export interface ListAvailableManagedRuleGroupVersionsRequest {
5672
5672
  * </li>
5673
5673
  * </ul>
5674
5674
  */
5675
- Scope: Scope | string | undefined;
5675
+ Scope: Scope | undefined;
5676
5676
  /**
5677
5677
  * @public
5678
5678
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -5744,7 +5744,7 @@ export interface ListIPSetsRequest {
5744
5744
  * </li>
5745
5745
  * </ul>
5746
5746
  */
5747
- Scope: Scope | string | undefined;
5747
+ Scope: Scope | undefined;
5748
5748
  /**
5749
5749
  * @public
5750
5750
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -5794,7 +5794,7 @@ export interface ListLoggingConfigurationsRequest {
5794
5794
  * </li>
5795
5795
  * </ul>
5796
5796
  */
5797
- Scope: Scope | string | undefined;
5797
+ Scope: Scope | undefined;
5798
5798
  /**
5799
5799
  * @public
5800
5800
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -5844,7 +5844,7 @@ export interface ListManagedRuleSetsRequest {
5844
5844
  * </li>
5845
5845
  * </ul>
5846
5846
  */
5847
- Scope: Scope | string | undefined;
5847
+ Scope: Scope | undefined;
5848
5848
  /**
5849
5849
  * @public
5850
5850
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -5939,7 +5939,7 @@ export interface ListMobileSdkReleasesRequest {
5939
5939
  * @public
5940
5940
  * <p>The device platform to retrieve the list for.</p>
5941
5941
  */
5942
- Platform: Platform | string | undefined;
5942
+ Platform: Platform | undefined;
5943
5943
  /**
5944
5944
  * @public
5945
5945
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -6005,7 +6005,7 @@ export interface ListRegexPatternSetsRequest {
6005
6005
  * </li>
6006
6006
  * </ul>
6007
6007
  */
6008
- Scope: Scope | string | undefined;
6008
+ Scope: Scope | undefined;
6009
6009
  /**
6010
6010
  * @public
6011
6011
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -6073,7 +6073,7 @@ export interface ListResourcesForWebACLRequest {
6073
6073
  * <p>Default: <code>APPLICATION_LOAD_BALANCER</code>
6074
6074
  * </p>
6075
6075
  */
6076
- ResourceType?: ResourceType | string;
6076
+ ResourceType?: ResourceType;
6077
6077
  }
6078
6078
  /**
6079
6079
  * @public
@@ -6102,7 +6102,7 @@ export interface ListRuleGroupsRequest {
6102
6102
  * </li>
6103
6103
  * </ul>
6104
6104
  */
6105
- Scope: Scope | string | undefined;
6105
+ Scope: Scope | undefined;
6106
6106
  /**
6107
6107
  * @public
6108
6108
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -6218,7 +6218,7 @@ export interface ListWebACLsRequest {
6218
6218
  * </li>
6219
6219
  * </ul>
6220
6220
  */
6221
- Scope: Scope | string | undefined;
6221
+ Scope: Scope | undefined;
6222
6222
  /**
6223
6223
  * @public
6224
6224
  * <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
@@ -6351,7 +6351,7 @@ export interface PutManagedRuleSetVersionsRequest {
6351
6351
  * </li>
6352
6352
  * </ul>
6353
6353
  */
6354
- Scope: Scope | string | undefined;
6354
+ Scope: Scope | undefined;
6355
6355
  /**
6356
6356
  * @public
6357
6357
  * <p>A unique identifier for the managed rule set. The ID is returned in the responses to commands like <code>list</code>. You provide it to operations like <code>get</code> and <code>update</code>.</p>
@@ -6527,7 +6527,7 @@ export interface UpdateIPSetRequest {
6527
6527
  * </li>
6528
6528
  * </ul>
6529
6529
  */
6530
- Scope: Scope | string | undefined;
6530
+ Scope: Scope | undefined;
6531
6531
  /**
6532
6532
  * @public
6533
6533
  * <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -6617,7 +6617,7 @@ export interface UpdateManagedRuleSetVersionExpiryDateRequest {
6617
6617
  * </li>
6618
6618
  * </ul>
6619
6619
  */
6620
- Scope: Scope | string | undefined;
6620
+ Scope: Scope | undefined;
6621
6621
  /**
6622
6622
  * @public
6623
6623
  * <p>A unique identifier for the managed rule set. The ID is returned in the responses to commands like <code>list</code>. You provide it to operations like <code>get</code> and <code>update</code>.</p>
@@ -6684,7 +6684,7 @@ export interface UpdateRegexPatternSetRequest {
6684
6684
  * </li>
6685
6685
  * </ul>
6686
6686
  */
6687
- Scope: Scope | string | undefined;
6687
+ Scope: Scope | undefined;
6688
6688
  /**
6689
6689
  * @public
6690
6690
  * <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -7114,7 +7114,7 @@ export interface RateBasedStatement {
7114
7114
  * </li>
7115
7115
  * </ul>
7116
7116
  */
7117
- AggregateKeyType: RateBasedStatementAggregateKeyType | string | undefined;
7117
+ AggregateKeyType: RateBasedStatementAggregateKeyType | undefined;
7118
7118
  /**
7119
7119
  * @public
7120
7120
  * <p>An optional nested statement that narrows the scope of the web requests that are
@@ -7337,7 +7337,7 @@ export interface CheckCapacityRequest {
7337
7337
  * </li>
7338
7338
  * </ul>
7339
7339
  */
7340
- Scope: Scope | string | undefined;
7340
+ Scope: Scope | undefined;
7341
7341
  /**
7342
7342
  * @public
7343
7343
  * <p>An array of <a>Rule</a> that you're configuring to use in a rule group or web
@@ -7367,7 +7367,7 @@ export interface CreateRuleGroupRequest {
7367
7367
  * </li>
7368
7368
  * </ul>
7369
7369
  */
7370
- Scope: Scope | string | undefined;
7370
+ Scope: Scope | undefined;
7371
7371
  /**
7372
7372
  * @public
7373
7373
  * <p>The web ACL capacity units (WCUs) required for this rule group.</p>
@@ -7440,7 +7440,7 @@ export interface CreateWebACLRequest {
7440
7440
  * </li>
7441
7441
  * </ul>
7442
7442
  */
7443
- Scope: Scope | string | undefined;
7443
+ Scope: Scope | undefined;
7444
7444
  /**
7445
7445
  * @public
7446
7446
  * <p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. </p>
@@ -7624,7 +7624,7 @@ export interface UpdateRuleGroupRequest {
7624
7624
  * </li>
7625
7625
  * </ul>
7626
7626
  */
7627
- Scope: Scope | string | undefined;
7627
+ Scope: Scope | undefined;
7628
7628
  /**
7629
7629
  * @public
7630
7630
  * <p>A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -7686,7 +7686,7 @@ export interface UpdateWebACLRequest {
7686
7686
  * </li>
7687
7687
  * </ul>
7688
7688
  */
7689
- Scope: Scope | string | undefined;
7689
+ Scope: Scope | undefined;
7690
7690
  /**
7691
7691
  * @public
7692
7692
  * <p>The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
@@ -10,7 +10,7 @@ export declare const ActionValue: {
10
10
  };
11
11
  export type ActionValue = (typeof ActionValue)[keyof typeof ActionValue];
12
12
  export interface ActionCondition {
13
- Action: ActionValue | string | undefined;
13
+ Action: ActionValue | undefined;
14
14
  }
15
15
  export interface AddressField {
16
16
  Identifier: string | undefined;
@@ -35,7 +35,7 @@ export declare const OversizeHandling: {
35
35
  export type OversizeHandling =
36
36
  (typeof OversizeHandling)[keyof typeof OversizeHandling];
37
37
  export interface Body {
38
- OversizeHandling?: OversizeHandling | string;
38
+ OversizeHandling?: OversizeHandling;
39
39
  }
40
40
  export interface CookieMatchPattern {
41
41
  All?: All;
@@ -50,11 +50,11 @@ export declare const MapMatchScope: {
50
50
  export type MapMatchScope = (typeof MapMatchScope)[keyof typeof MapMatchScope];
51
51
  export interface Cookies {
52
52
  MatchPattern: CookieMatchPattern | undefined;
53
- MatchScope: MapMatchScope | string | undefined;
54
- OversizeHandling: OversizeHandling | string | undefined;
53
+ MatchScope: MapMatchScope | undefined;
54
+ OversizeHandling: OversizeHandling | undefined;
55
55
  }
56
56
  export interface HeaderOrder {
57
- OversizeHandling: OversizeHandling | string | undefined;
57
+ OversizeHandling: OversizeHandling | undefined;
58
58
  }
59
59
  export interface HeaderMatchPattern {
60
60
  All?: All;
@@ -63,8 +63,8 @@ export interface HeaderMatchPattern {
63
63
  }
64
64
  export interface Headers {
65
65
  MatchPattern: HeaderMatchPattern | undefined;
66
- MatchScope: MapMatchScope | string | undefined;
67
- OversizeHandling: OversizeHandling | string | undefined;
66
+ MatchScope: MapMatchScope | undefined;
67
+ OversizeHandling: OversizeHandling | undefined;
68
68
  }
69
69
  export declare const FallbackBehavior: {
70
70
  readonly MATCH: "MATCH";
@@ -73,7 +73,7 @@ export declare const FallbackBehavior: {
73
73
  export type FallbackBehavior =
74
74
  (typeof FallbackBehavior)[keyof typeof FallbackBehavior];
75
75
  export interface JA3Fingerprint {
76
- FallbackBehavior: FallbackBehavior | string | undefined;
76
+ FallbackBehavior: FallbackBehavior | undefined;
77
77
  }
78
78
  export declare const BodyParsingFallbackBehavior: {
79
79
  readonly EVALUATE_AS_STRING: "EVALUATE_AS_STRING";
@@ -95,9 +95,9 @@ export type JsonMatchScope =
95
95
  (typeof JsonMatchScope)[keyof typeof JsonMatchScope];
96
96
  export interface JsonBody {
97
97
  MatchPattern: JsonMatchPattern | undefined;
98
- MatchScope: JsonMatchScope | string | undefined;
99
- InvalidFallbackBehavior?: BodyParsingFallbackBehavior | string;
100
- OversizeHandling?: OversizeHandling | string;
98
+ MatchScope: JsonMatchScope | undefined;
99
+ InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
100
+ OversizeHandling?: OversizeHandling;
101
101
  }
102
102
  export interface Method {}
103
103
  export interface QueryString {}
@@ -158,13 +158,13 @@ export type TextTransformationType =
158
158
  (typeof TextTransformationType)[keyof typeof TextTransformationType];
159
159
  export interface TextTransformation {
160
160
  Priority: number | undefined;
161
- Type: TextTransformationType | string | undefined;
161
+ Type: TextTransformationType | undefined;
162
162
  }
163
163
  export interface ByteMatchStatement {
164
164
  SearchString: Uint8Array | undefined;
165
165
  FieldToMatch: FieldToMatch | undefined;
166
166
  TextTransformations: TextTransformation[] | undefined;
167
- PositionalConstraint: PositionalConstraint | string | undefined;
167
+ PositionalConstraint: PositionalConstraint | undefined;
168
168
  }
169
169
  export declare const CountryCode: {
170
170
  readonly AD: "AD";
@@ -421,10 +421,10 @@ export declare const CountryCode: {
421
421
  export type CountryCode = (typeof CountryCode)[keyof typeof CountryCode];
422
422
  export interface ForwardedIPConfig {
423
423
  HeaderName: string | undefined;
424
- FallbackBehavior: FallbackBehavior | string | undefined;
424
+ FallbackBehavior: FallbackBehavior | undefined;
425
425
  }
426
426
  export interface GeoMatchStatement {
427
- CountryCodes?: (CountryCode | string)[];
427
+ CountryCodes?: CountryCode[];
428
428
  ForwardedIPConfig?: ForwardedIPConfig;
429
429
  }
430
430
  export declare const ForwardedIPPosition: {
@@ -436,8 +436,8 @@ export type ForwardedIPPosition =
436
436
  (typeof ForwardedIPPosition)[keyof typeof ForwardedIPPosition];
437
437
  export interface IPSetForwardedIPConfig {
438
438
  HeaderName: string | undefined;
439
- FallbackBehavior: FallbackBehavior | string | undefined;
440
- Position: ForwardedIPPosition | string | undefined;
439
+ FallbackBehavior: FallbackBehavior | undefined;
440
+ Position: ForwardedIPPosition | undefined;
441
441
  }
442
442
  export interface IPSetReferenceStatement {
443
443
  ARN: string | undefined;
@@ -450,7 +450,7 @@ export declare const LabelMatchScope: {
450
450
  export type LabelMatchScope =
451
451
  (typeof LabelMatchScope)[keyof typeof LabelMatchScope];
452
452
  export interface LabelMatchStatement {
453
- Scope: LabelMatchScope | string | undefined;
453
+ Scope: LabelMatchScope | undefined;
454
454
  Key: string | undefined;
455
455
  }
456
456
  export interface ExcludedRule {
@@ -474,7 +474,7 @@ export interface UsernameField {
474
474
  Identifier: string | undefined;
475
475
  }
476
476
  export interface RequestInspectionACFP {
477
- PayloadType: PayloadType | string | undefined;
477
+ PayloadType: PayloadType | undefined;
478
478
  UsernameField?: UsernameField;
479
479
  PasswordField?: PasswordField;
480
480
  EmailField?: EmailField;
@@ -513,7 +513,7 @@ export interface AWSManagedRulesACFPRuleSet {
513
513
  EnableRegexInPath?: boolean;
514
514
  }
515
515
  export interface RequestInspection {
516
- PayloadType: PayloadType | string | undefined;
516
+ PayloadType: PayloadType | undefined;
517
517
  UsernameField: UsernameField | undefined;
518
518
  PasswordField: PasswordField | undefined;
519
519
  }
@@ -530,12 +530,12 @@ export declare const InspectionLevel: {
530
530
  export type InspectionLevel =
531
531
  (typeof InspectionLevel)[keyof typeof InspectionLevel];
532
532
  export interface AWSManagedRulesBotControlRuleSet {
533
- InspectionLevel: InspectionLevel | string | undefined;
533
+ InspectionLevel: InspectionLevel | undefined;
534
534
  EnableMachineLearning?: boolean;
535
535
  }
536
536
  export interface ManagedRuleGroupConfig {
537
537
  LoginPath?: string;
538
- PayloadType?: PayloadType | string;
538
+ PayloadType?: PayloadType;
539
539
  UsernameField?: UsernameField;
540
540
  PasswordField?: PasswordField;
541
541
  AWSManagedRulesBotControlRuleSet?: AWSManagedRulesBotControlRuleSet;
@@ -640,7 +640,7 @@ export type ComparisonOperator =
640
640
  (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
641
641
  export interface SizeConstraintStatement {
642
642
  FieldToMatch: FieldToMatch | undefined;
643
- ComparisonOperator: ComparisonOperator | string | undefined;
643
+ ComparisonOperator: ComparisonOperator | undefined;
644
644
  Size: number | undefined;
645
645
  TextTransformations: TextTransformation[] | undefined;
646
646
  }
@@ -653,7 +653,7 @@ export type SensitivityLevel =
653
653
  export interface SqliMatchStatement {
654
654
  FieldToMatch: FieldToMatch | undefined;
655
655
  TextTransformations: TextTransformation[] | undefined;
656
- SensitivityLevel?: SensitivityLevel | string;
656
+ SensitivityLevel?: SensitivityLevel;
657
657
  }
658
658
  export interface XssMatchStatement {
659
659
  FieldToMatch: FieldToMatch | undefined;
@@ -768,7 +768,7 @@ export type ParameterExceptionField =
768
768
  export declare class WAFInvalidParameterException extends __BaseException {
769
769
  readonly name: "WAFInvalidParameterException";
770
770
  readonly $fault: "client";
771
- Field?: ParameterExceptionField | string;
771
+ Field?: ParameterExceptionField;
772
772
  Parameter?: string;
773
773
  Reason?: string;
774
774
  constructor(
@@ -800,10 +800,13 @@ export declare const SizeInspectionLimit: {
800
800
  export type SizeInspectionLimit =
801
801
  (typeof SizeInspectionLimit)[keyof typeof SizeInspectionLimit];
802
802
  export interface RequestBodyAssociatedResourceTypeConfig {
803
- DefaultSizeInspectionLimit: SizeInspectionLimit | string | undefined;
803
+ DefaultSizeInspectionLimit: SizeInspectionLimit | undefined;
804
804
  }
805
805
  export interface AssociationConfig {
806
- RequestBody?: Record<string, RequestBodyAssociatedResourceTypeConfig>;
806
+ RequestBody?: Record<
807
+ AssociatedResourceType,
808
+ RequestBodyAssociatedResourceTypeConfig
809
+ >;
807
810
  }
808
811
  export interface ImmunityTimeProperty {
809
812
  ImmunityTime: number | undefined;
@@ -874,7 +877,7 @@ export declare class WAFSubscriptionNotFoundException extends __BaseException {
874
877
  );
875
878
  }
876
879
  export interface CreateAPIKeyRequest {
877
- Scope: Scope | string | undefined;
880
+ Scope: Scope | undefined;
878
881
  TokenDomains: string[] | undefined;
879
882
  }
880
883
  export interface CreateAPIKeyResponse {
@@ -892,9 +895,9 @@ export interface Tag {
892
895
  }
893
896
  export interface CreateIPSetRequest {
894
897
  Name: string | undefined;
895
- Scope: Scope | string | undefined;
898
+ Scope: Scope | undefined;
896
899
  Description?: string;
897
- IPAddressVersion: IPAddressVersion | string | undefined;
900
+ IPAddressVersion: IPAddressVersion | undefined;
898
901
  Addresses: string[] | undefined;
899
902
  Tags?: Tag[];
900
903
  }
@@ -948,7 +951,7 @@ export interface Regex {
948
951
  }
949
952
  export interface CreateRegexPatternSetRequest {
950
953
  Name: string | undefined;
951
- Scope: Scope | string | undefined;
954
+ Scope: Scope | undefined;
952
955
  Description?: string;
953
956
  RegularExpressionList: Regex[] | undefined;
954
957
  Tags?: Tag[];
@@ -971,7 +974,7 @@ export declare const ResponseContentType: {
971
974
  export type ResponseContentType =
972
975
  (typeof ResponseContentType)[keyof typeof ResponseContentType];
973
976
  export interface CustomResponseBody {
974
- ContentType: ResponseContentType | string | undefined;
977
+ ContentType: ResponseContentType | undefined;
975
978
  Content: string | undefined;
976
979
  }
977
980
  export interface RuleGroupSummary {
@@ -1018,7 +1021,7 @@ export interface DeleteFirewallManagerRuleGroupsResponse {
1018
1021
  }
1019
1022
  export interface DeleteIPSetRequest {
1020
1023
  Name: string | undefined;
1021
- Scope: Scope | string | undefined;
1024
+ Scope: Scope | undefined;
1022
1025
  Id: string | undefined;
1023
1026
  LockToken: string | undefined;
1024
1027
  }
@@ -1041,27 +1044,27 @@ export interface DeletePermissionPolicyRequest {
1041
1044
  export interface DeletePermissionPolicyResponse {}
1042
1045
  export interface DeleteRegexPatternSetRequest {
1043
1046
  Name: string | undefined;
1044
- Scope: Scope | string | undefined;
1047
+ Scope: Scope | undefined;
1045
1048
  Id: string | undefined;
1046
1049
  LockToken: string | undefined;
1047
1050
  }
1048
1051
  export interface DeleteRegexPatternSetResponse {}
1049
1052
  export interface DeleteRuleGroupRequest {
1050
1053
  Name: string | undefined;
1051
- Scope: Scope | string | undefined;
1054
+ Scope: Scope | undefined;
1052
1055
  Id: string | undefined;
1053
1056
  LockToken: string | undefined;
1054
1057
  }
1055
1058
  export interface DeleteRuleGroupResponse {}
1056
1059
  export interface DeleteWebACLRequest {
1057
1060
  Name: string | undefined;
1058
- Scope: Scope | string | undefined;
1061
+ Scope: Scope | undefined;
1059
1062
  Id: string | undefined;
1060
1063
  LockToken: string | undefined;
1061
1064
  }
1062
1065
  export interface DeleteWebACLResponse {}
1063
1066
  export interface DescribeAllManagedProductsRequest {
1064
- Scope: Scope | string | undefined;
1067
+ Scope: Scope | undefined;
1065
1068
  }
1066
1069
  export interface ManagedProductDescriptor {
1067
1070
  VendorName?: string;
@@ -1079,7 +1082,7 @@ export interface DescribeAllManagedProductsResponse {
1079
1082
  }
1080
1083
  export interface DescribeManagedProductsByVendorRequest {
1081
1084
  VendorName: string | undefined;
1082
- Scope: Scope | string | undefined;
1085
+ Scope: Scope | undefined;
1083
1086
  }
1084
1087
  export interface DescribeManagedProductsByVendorResponse {
1085
1088
  ManagedProducts?: ManagedProductDescriptor[];
@@ -1087,7 +1090,7 @@ export interface DescribeManagedProductsByVendorResponse {
1087
1090
  export interface DescribeManagedRuleGroupRequest {
1088
1091
  VendorName: string | undefined;
1089
1092
  Name: string | undefined;
1090
- Scope: Scope | string | undefined;
1093
+ Scope: Scope | undefined;
1091
1094
  VersionName?: string;
1092
1095
  }
1093
1096
  export interface LabelSummary {
@@ -1116,14 +1119,14 @@ export declare const Platform: {
1116
1119
  };
1117
1120
  export type Platform = (typeof Platform)[keyof typeof Platform];
1118
1121
  export interface GenerateMobileSdkReleaseUrlRequest {
1119
- Platform: Platform | string | undefined;
1122
+ Platform: Platform | undefined;
1120
1123
  ReleaseVersion: string | undefined;
1121
1124
  }
1122
1125
  export interface GenerateMobileSdkReleaseUrlResponse {
1123
1126
  Url?: string;
1124
1127
  }
1125
1128
  export interface GetDecryptedAPIKeyRequest {
1126
- Scope: Scope | string | undefined;
1129
+ Scope: Scope | undefined;
1127
1130
  APIKey: string | undefined;
1128
1131
  }
1129
1132
  export interface GetDecryptedAPIKeyResponse {
@@ -1132,7 +1135,7 @@ export interface GetDecryptedAPIKeyResponse {
1132
1135
  }
1133
1136
  export interface GetIPSetRequest {
1134
1137
  Name: string | undefined;
1135
- Scope: Scope | string | undefined;
1138
+ Scope: Scope | undefined;
1136
1139
  Id: string | undefined;
1137
1140
  }
1138
1141
  export interface IPSet {
@@ -1140,7 +1143,7 @@ export interface IPSet {
1140
1143
  Id: string | undefined;
1141
1144
  ARN: string | undefined;
1142
1145
  Description?: string;
1143
- IPAddressVersion: IPAddressVersion | string | undefined;
1146
+ IPAddressVersion: IPAddressVersion | undefined;
1144
1147
  Addresses: string[] | undefined;
1145
1148
  }
1146
1149
  export interface GetIPSetResponse {
@@ -1170,13 +1173,13 @@ export declare const FilterRequirement: {
1170
1173
  export type FilterRequirement =
1171
1174
  (typeof FilterRequirement)[keyof typeof FilterRequirement];
1172
1175
  export interface Filter {
1173
- Behavior: FilterBehavior | string | undefined;
1174
- Requirement: FilterRequirement | string | undefined;
1176
+ Behavior: FilterBehavior | undefined;
1177
+ Requirement: FilterRequirement | undefined;
1175
1178
  Conditions: Condition[] | undefined;
1176
1179
  }
1177
1180
  export interface LoggingFilter {
1178
1181
  Filters: Filter[] | undefined;
1179
- DefaultBehavior: FilterBehavior | string | undefined;
1182
+ DefaultBehavior: FilterBehavior | undefined;
1180
1183
  }
1181
1184
  export interface LoggingConfiguration {
1182
1185
  ResourceArn: string | undefined;
@@ -1190,7 +1193,7 @@ export interface GetLoggingConfigurationResponse {
1190
1193
  }
1191
1194
  export interface GetManagedRuleSetRequest {
1192
1195
  Name: string | undefined;
1193
- Scope: Scope | string | undefined;
1196
+ Scope: Scope | undefined;
1194
1197
  Id: string | undefined;
1195
1198
  }
1196
1199
  export interface ManagedRuleSetVersion {
@@ -1215,7 +1218,7 @@ export interface GetManagedRuleSetResponse {
1215
1218
  LockToken?: string;
1216
1219
  }
1217
1220
  export interface GetMobileSdkReleaseRequest {
1218
- Platform: Platform | string | undefined;
1221
+ Platform: Platform | undefined;
1219
1222
  ReleaseVersion: string | undefined;
1220
1223
  }
1221
1224
  export interface MobileSdkRelease {
@@ -1234,14 +1237,14 @@ export interface GetPermissionPolicyResponse {
1234
1237
  Policy?: string;
1235
1238
  }
1236
1239
  export interface GetRateBasedStatementManagedKeysRequest {
1237
- Scope: Scope | string | undefined;
1240
+ Scope: Scope | undefined;
1238
1241
  WebACLName: string | undefined;
1239
1242
  WebACLId: string | undefined;
1240
1243
  RuleGroupRuleName?: string;
1241
1244
  RuleName: string | undefined;
1242
1245
  }
1243
1246
  export interface RateBasedStatementManagedKeysIPSet {
1244
- IPAddressVersion?: IPAddressVersion | string;
1247
+ IPAddressVersion?: IPAddressVersion;
1245
1248
  Addresses?: string[];
1246
1249
  }
1247
1250
  export interface GetRateBasedStatementManagedKeysResponse {
@@ -1261,7 +1264,7 @@ export declare class WAFUnsupportedAggregateKeyTypeException extends __BaseExcep
1261
1264
  }
1262
1265
  export interface GetRegexPatternSetRequest {
1263
1266
  Name: string | undefined;
1264
- Scope: Scope | string | undefined;
1267
+ Scope: Scope | undefined;
1265
1268
  Id: string | undefined;
1266
1269
  }
1267
1270
  export interface RegexPatternSet {
@@ -1277,7 +1280,7 @@ export interface GetRegexPatternSetResponse {
1277
1280
  }
1278
1281
  export interface GetRuleGroupRequest {
1279
1282
  Name?: string;
1280
- Scope?: Scope | string;
1283
+ Scope?: Scope;
1281
1284
  Id?: string;
1282
1285
  ARN?: string;
1283
1286
  }
@@ -1288,7 +1291,7 @@ export interface TimeWindow {
1288
1291
  export interface GetSampledRequestsRequest {
1289
1292
  WebAclArn: string | undefined;
1290
1293
  RuleMetricName: string | undefined;
1291
- Scope: Scope | string | undefined;
1294
+ Scope: Scope | undefined;
1292
1295
  TimeWindow: TimeWindow | undefined;
1293
1296
  MaxItems: number | undefined;
1294
1297
  }
@@ -1302,12 +1305,12 @@ export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
1302
1305
  export interface CaptchaResponse {
1303
1306
  ResponseCode?: number;
1304
1307
  SolveTimestamp?: number;
1305
- FailureReason?: FailureReason | string;
1308
+ FailureReason?: FailureReason;
1306
1309
  }
1307
1310
  export interface ChallengeResponse {
1308
1311
  ResponseCode?: number;
1309
1312
  SolveTimestamp?: number;
1310
- FailureReason?: FailureReason | string;
1313
+ FailureReason?: FailureReason;
1311
1314
  }
1312
1315
  export interface HTTPHeader {
1313
1316
  Name?: string;
@@ -1341,14 +1344,14 @@ export interface GetSampledRequestsResponse {
1341
1344
  }
1342
1345
  export interface GetWebACLRequest {
1343
1346
  Name: string | undefined;
1344
- Scope: Scope | string | undefined;
1347
+ Scope: Scope | undefined;
1345
1348
  Id: string | undefined;
1346
1349
  }
1347
1350
  export interface GetWebACLForResourceRequest {
1348
1351
  ResourceArn: string | undefined;
1349
1352
  }
1350
1353
  export interface ListAPIKeysRequest {
1351
- Scope: Scope | string | undefined;
1354
+ Scope: Scope | undefined;
1352
1355
  NextMarker?: string;
1353
1356
  Limit?: number;
1354
1357
  }
@@ -1358,7 +1361,7 @@ export interface ListAPIKeysResponse {
1358
1361
  ApplicationIntegrationURL?: string;
1359
1362
  }
1360
1363
  export interface ListAvailableManagedRuleGroupsRequest {
1361
- Scope: Scope | string | undefined;
1364
+ Scope: Scope | undefined;
1362
1365
  NextMarker?: string;
1363
1366
  Limit?: number;
1364
1367
  }
@@ -1375,7 +1378,7 @@ export interface ListAvailableManagedRuleGroupsResponse {
1375
1378
  export interface ListAvailableManagedRuleGroupVersionsRequest {
1376
1379
  VendorName: string | undefined;
1377
1380
  Name: string | undefined;
1378
- Scope: Scope | string | undefined;
1381
+ Scope: Scope | undefined;
1379
1382
  NextMarker?: string;
1380
1383
  Limit?: number;
1381
1384
  }
@@ -1389,7 +1392,7 @@ export interface ListAvailableManagedRuleGroupVersionsResponse {
1389
1392
  CurrentDefaultVersion?: string;
1390
1393
  }
1391
1394
  export interface ListIPSetsRequest {
1392
- Scope: Scope | string | undefined;
1395
+ Scope: Scope | undefined;
1393
1396
  NextMarker?: string;
1394
1397
  Limit?: number;
1395
1398
  }
@@ -1398,7 +1401,7 @@ export interface ListIPSetsResponse {
1398
1401
  IPSets?: IPSetSummary[];
1399
1402
  }
1400
1403
  export interface ListLoggingConfigurationsRequest {
1401
- Scope: Scope | string | undefined;
1404
+ Scope: Scope | undefined;
1402
1405
  NextMarker?: string;
1403
1406
  Limit?: number;
1404
1407
  }
@@ -1407,7 +1410,7 @@ export interface ListLoggingConfigurationsResponse {
1407
1410
  NextMarker?: string;
1408
1411
  }
1409
1412
  export interface ListManagedRuleSetsRequest {
1410
- Scope: Scope | string | undefined;
1413
+ Scope: Scope | undefined;
1411
1414
  NextMarker?: string;
1412
1415
  Limit?: number;
1413
1416
  }
@@ -1424,7 +1427,7 @@ export interface ListManagedRuleSetsResponse {
1424
1427
  ManagedRuleSets?: ManagedRuleSetSummary[];
1425
1428
  }
1426
1429
  export interface ListMobileSdkReleasesRequest {
1427
- Platform: Platform | string | undefined;
1430
+ Platform: Platform | undefined;
1428
1431
  NextMarker?: string;
1429
1432
  Limit?: number;
1430
1433
  }
@@ -1437,7 +1440,7 @@ export interface ListMobileSdkReleasesResponse {
1437
1440
  NextMarker?: string;
1438
1441
  }
1439
1442
  export interface ListRegexPatternSetsRequest {
1440
- Scope: Scope | string | undefined;
1443
+ Scope: Scope | undefined;
1441
1444
  NextMarker?: string;
1442
1445
  Limit?: number;
1443
1446
  }
@@ -1456,13 +1459,13 @@ export declare const ResourceType: {
1456
1459
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
1457
1460
  export interface ListResourcesForWebACLRequest {
1458
1461
  WebACLArn: string | undefined;
1459
- ResourceType?: ResourceType | string;
1462
+ ResourceType?: ResourceType;
1460
1463
  }
1461
1464
  export interface ListResourcesForWebACLResponse {
1462
1465
  ResourceArns?: string[];
1463
1466
  }
1464
1467
  export interface ListRuleGroupsRequest {
1465
- Scope: Scope | string | undefined;
1468
+ Scope: Scope | undefined;
1466
1469
  NextMarker?: string;
1467
1470
  Limit?: number;
1468
1471
  }
@@ -1484,7 +1487,7 @@ export interface ListTagsForResourceResponse {
1484
1487
  TagInfoForResource?: TagInfoForResource;
1485
1488
  }
1486
1489
  export interface ListWebACLsRequest {
1487
- Scope: Scope | string | undefined;
1490
+ Scope: Scope | undefined;
1488
1491
  NextMarker?: string;
1489
1492
  Limit?: number;
1490
1493
  }
@@ -1525,7 +1528,7 @@ export interface VersionToPublish {
1525
1528
  }
1526
1529
  export interface PutManagedRuleSetVersionsRequest {
1527
1530
  Name: string | undefined;
1528
- Scope: Scope | string | undefined;
1531
+ Scope: Scope | undefined;
1529
1532
  Id: string | undefined;
1530
1533
  LockToken: string | undefined;
1531
1534
  RecommendedVersion?: string;
@@ -1562,7 +1565,7 @@ export interface UntagResourceRequest {
1562
1565
  export interface UntagResourceResponse {}
1563
1566
  export interface UpdateIPSetRequest {
1564
1567
  Name: string | undefined;
1565
- Scope: Scope | string | undefined;
1568
+ Scope: Scope | undefined;
1566
1569
  Id: string | undefined;
1567
1570
  Description?: string;
1568
1571
  Addresses: string[] | undefined;
@@ -1573,7 +1576,7 @@ export interface UpdateIPSetResponse {
1573
1576
  }
1574
1577
  export interface UpdateManagedRuleSetVersionExpiryDateRequest {
1575
1578
  Name: string | undefined;
1576
- Scope: Scope | string | undefined;
1579
+ Scope: Scope | undefined;
1577
1580
  Id: string | undefined;
1578
1581
  LockToken: string | undefined;
1579
1582
  VersionToExpire: string | undefined;
@@ -1586,7 +1589,7 @@ export interface UpdateManagedRuleSetVersionExpiryDateResponse {
1586
1589
  }
1587
1590
  export interface UpdateRegexPatternSetRequest {
1588
1591
  Name: string | undefined;
1589
- Scope: Scope | string | undefined;
1592
+ Scope: Scope | undefined;
1590
1593
  Id: string | undefined;
1591
1594
  Description?: string;
1592
1595
  RegularExpressionList: Regex[] | undefined;
@@ -1632,7 +1635,7 @@ export interface NotStatement {
1632
1635
  }
1633
1636
  export interface RateBasedStatement {
1634
1637
  Limit: number | undefined;
1635
- AggregateKeyType: RateBasedStatementAggregateKeyType | string | undefined;
1638
+ AggregateKeyType: RateBasedStatementAggregateKeyType | undefined;
1636
1639
  ScopeDownStatement?: Statement;
1637
1640
  ForwardedIPConfig?: ForwardedIPConfig;
1638
1641
  CustomKeys?: RateBasedStatementCustomKey[];
@@ -1666,12 +1669,12 @@ export interface FirewallManagerRuleGroup {
1666
1669
  VisibilityConfig: VisibilityConfig | undefined;
1667
1670
  }
1668
1671
  export interface CheckCapacityRequest {
1669
- Scope: Scope | string | undefined;
1672
+ Scope: Scope | undefined;
1670
1673
  Rules: Rule[] | undefined;
1671
1674
  }
1672
1675
  export interface CreateRuleGroupRequest {
1673
1676
  Name: string | undefined;
1674
- Scope: Scope | string | undefined;
1677
+ Scope: Scope | undefined;
1675
1678
  Capacity: number | undefined;
1676
1679
  Description?: string;
1677
1680
  Rules?: Rule[];
@@ -1681,7 +1684,7 @@ export interface CreateRuleGroupRequest {
1681
1684
  }
1682
1685
  export interface CreateWebACLRequest {
1683
1686
  Name: string | undefined;
1684
- Scope: Scope | string | undefined;
1687
+ Scope: Scope | undefined;
1685
1688
  DefaultAction: DefaultAction | undefined;
1686
1689
  Description?: string;
1687
1690
  Rules?: Rule[];
@@ -1708,7 +1711,7 @@ export interface RuleGroup {
1708
1711
  }
1709
1712
  export interface UpdateRuleGroupRequest {
1710
1713
  Name: string | undefined;
1711
- Scope: Scope | string | undefined;
1714
+ Scope: Scope | undefined;
1712
1715
  Id: string | undefined;
1713
1716
  Description?: string;
1714
1717
  Rules?: Rule[];
@@ -1718,7 +1721,7 @@ export interface UpdateRuleGroupRequest {
1718
1721
  }
1719
1722
  export interface UpdateWebACLRequest {
1720
1723
  Name: string | undefined;
1721
- Scope: Scope | string | undefined;
1724
+ Scope: Scope | undefined;
1722
1725
  Id: string | undefined;
1723
1726
  DefaultAction: DefaultAction | undefined;
1724
1727
  Description?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wafv2",
3
3
  "description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",