@aws-sdk/client-wafv2 3.332.0 → 3.335.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.
- package/dist-cjs/models/models_0.js +19 -1
- package/dist-cjs/protocols/Aws_json1_1.js +15 -1
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/protocols/Aws_json1_1.js +16 -2
- package/dist-types/WAFV2Client.d.ts +3 -2
- package/dist-types/commands/CheckCapacityCommand.d.ts +52 -2
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +52 -2
- package/dist-types/commands/CreateWebACLCommand.d.ts +52 -2
- package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +9 -2
- package/dist-types/commands/GetRuleGroupCommand.d.ts +52 -2
- package/dist-types/commands/GetWebACLCommand.d.ts +52 -2
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +52 -2
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +52 -2
- package/dist-types/commands/UpdateWebACLCommand.d.ts +52 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +353 -48
- package/dist-types/protocols/Aws_json1_1.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/WAFV2Client.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +47 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +5 -4
|
@@ -430,7 +430,7 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
430
430
|
* // },
|
|
431
431
|
* // RateBasedStatement: { // RateBasedStatement
|
|
432
432
|
* // Limit: Number("long"), // required
|
|
433
|
-
* // AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
433
|
+
* // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
434
434
|
* // ScopeDownStatement: {
|
|
435
435
|
* // ByteMatchStatement: {
|
|
436
436
|
* // SearchString: "BLOB_VALUE", // required
|
|
@@ -503,12 +503,37 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
503
503
|
* // },
|
|
504
504
|
* // RateBasedStatement: {
|
|
505
505
|
* // Limit: Number("long"), // required
|
|
506
|
-
* // AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
506
|
+
* // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
507
507
|
* // ScopeDownStatement: "<Statement>",
|
|
508
508
|
* // ForwardedIPConfig: {
|
|
509
509
|
* // HeaderName: "STRING_VALUE", // required
|
|
510
510
|
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
511
511
|
* // },
|
|
512
|
+
* // CustomKeys: [ // RateBasedStatementCustomKeys
|
|
513
|
+
* // { // RateBasedStatementCustomKey
|
|
514
|
+
* // Header: { // RateLimitHeader
|
|
515
|
+
* // Name: "STRING_VALUE", // required
|
|
516
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
517
|
+
* // },
|
|
518
|
+
* // Cookie: { // RateLimitCookie
|
|
519
|
+
* // Name: "STRING_VALUE", // required
|
|
520
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
521
|
+
* // },
|
|
522
|
+
* // QueryArgument: { // RateLimitQueryArgument
|
|
523
|
+
* // Name: "STRING_VALUE", // required
|
|
524
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
525
|
+
* // },
|
|
526
|
+
* // QueryString: { // RateLimitQueryString
|
|
527
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
528
|
+
* // },
|
|
529
|
+
* // HTTPMethod: {},
|
|
530
|
+
* // ForwardedIP: {},
|
|
531
|
+
* // IP: {},
|
|
532
|
+
* // LabelNamespace: { // RateLimitLabelNamespace
|
|
533
|
+
* // Namespace: "STRING_VALUE", // required
|
|
534
|
+
* // },
|
|
535
|
+
* // },
|
|
536
|
+
* // ],
|
|
512
537
|
* // },
|
|
513
538
|
* // AndStatement: { // AndStatement
|
|
514
539
|
* // Statements: [ // Statements // required
|
|
@@ -629,6 +654,31 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
629
654
|
* // HeaderName: "STRING_VALUE", // required
|
|
630
655
|
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
631
656
|
* // },
|
|
657
|
+
* // CustomKeys: [
|
|
658
|
+
* // {
|
|
659
|
+
* // Header: {
|
|
660
|
+
* // Name: "STRING_VALUE", // required
|
|
661
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
662
|
+
* // },
|
|
663
|
+
* // Cookie: {
|
|
664
|
+
* // Name: "STRING_VALUE", // required
|
|
665
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
666
|
+
* // },
|
|
667
|
+
* // QueryArgument: {
|
|
668
|
+
* // Name: "STRING_VALUE", // required
|
|
669
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
670
|
+
* // },
|
|
671
|
+
* // QueryString: {
|
|
672
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
673
|
+
* // },
|
|
674
|
+
* // HTTPMethod: {},
|
|
675
|
+
* // ForwardedIP: {},
|
|
676
|
+
* // IP: {},
|
|
677
|
+
* // LabelNamespace: {
|
|
678
|
+
* // Namespace: "STRING_VALUE", // required
|
|
679
|
+
* // },
|
|
680
|
+
* // },
|
|
681
|
+
* // ],
|
|
632
682
|
* // },
|
|
633
683
|
* // AndStatement: {
|
|
634
684
|
* // Statements: [ // required
|
|
@@ -428,7 +428,7 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
428
428
|
* // },
|
|
429
429
|
* // RateBasedStatement: { // RateBasedStatement
|
|
430
430
|
* // Limit: Number("long"), // required
|
|
431
|
-
* // AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
431
|
+
* // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
432
432
|
* // ScopeDownStatement: {
|
|
433
433
|
* // ByteMatchStatement: {
|
|
434
434
|
* // SearchString: "BLOB_VALUE", // required
|
|
@@ -501,12 +501,37 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
501
501
|
* // },
|
|
502
502
|
* // RateBasedStatement: {
|
|
503
503
|
* // Limit: Number("long"), // required
|
|
504
|
-
* // AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
504
|
+
* // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
505
505
|
* // ScopeDownStatement: "<Statement>",
|
|
506
506
|
* // ForwardedIPConfig: {
|
|
507
507
|
* // HeaderName: "STRING_VALUE", // required
|
|
508
508
|
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
509
509
|
* // },
|
|
510
|
+
* // CustomKeys: [ // RateBasedStatementCustomKeys
|
|
511
|
+
* // { // RateBasedStatementCustomKey
|
|
512
|
+
* // Header: { // RateLimitHeader
|
|
513
|
+
* // Name: "STRING_VALUE", // required
|
|
514
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
515
|
+
* // },
|
|
516
|
+
* // Cookie: { // RateLimitCookie
|
|
517
|
+
* // Name: "STRING_VALUE", // required
|
|
518
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
519
|
+
* // },
|
|
520
|
+
* // QueryArgument: { // RateLimitQueryArgument
|
|
521
|
+
* // Name: "STRING_VALUE", // required
|
|
522
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
523
|
+
* // },
|
|
524
|
+
* // QueryString: { // RateLimitQueryString
|
|
525
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
526
|
+
* // },
|
|
527
|
+
* // HTTPMethod: {},
|
|
528
|
+
* // ForwardedIP: {},
|
|
529
|
+
* // IP: {},
|
|
530
|
+
* // LabelNamespace: { // RateLimitLabelNamespace
|
|
531
|
+
* // Namespace: "STRING_VALUE", // required
|
|
532
|
+
* // },
|
|
533
|
+
* // },
|
|
534
|
+
* // ],
|
|
510
535
|
* // },
|
|
511
536
|
* // AndStatement: { // AndStatement
|
|
512
537
|
* // Statements: [ // Statements // required
|
|
@@ -627,6 +652,31 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
627
652
|
* // HeaderName: "STRING_VALUE", // required
|
|
628
653
|
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
629
654
|
* // },
|
|
655
|
+
* // CustomKeys: [
|
|
656
|
+
* // {
|
|
657
|
+
* // Header: {
|
|
658
|
+
* // Name: "STRING_VALUE", // required
|
|
659
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
660
|
+
* // },
|
|
661
|
+
* // Cookie: {
|
|
662
|
+
* // Name: "STRING_VALUE", // required
|
|
663
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
664
|
+
* // },
|
|
665
|
+
* // QueryArgument: {
|
|
666
|
+
* // Name: "STRING_VALUE", // required
|
|
667
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
668
|
+
* // },
|
|
669
|
+
* // QueryString: {
|
|
670
|
+
* // TextTransformations: "<TextTransformations>", // required
|
|
671
|
+
* // },
|
|
672
|
+
* // HTTPMethod: {},
|
|
673
|
+
* // ForwardedIP: {},
|
|
674
|
+
* // IP: {},
|
|
675
|
+
* // LabelNamespace: {
|
|
676
|
+
* // Namespace: "STRING_VALUE", // required
|
|
677
|
+
* // },
|
|
678
|
+
* // },
|
|
679
|
+
* // ],
|
|
630
680
|
* // },
|
|
631
681
|
* // AndStatement: {
|
|
632
682
|
* // Statements: [ // required
|
|
@@ -426,7 +426,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
426
426
|
* },
|
|
427
427
|
* RateBasedStatement: { // RateBasedStatement
|
|
428
428
|
* Limit: Number("long"), // required
|
|
429
|
-
* AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
429
|
+
* AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
430
430
|
* ScopeDownStatement: {
|
|
431
431
|
* ByteMatchStatement: {
|
|
432
432
|
* SearchString: "BLOB_VALUE", // required
|
|
@@ -509,12 +509,37 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
509
509
|
* },
|
|
510
510
|
* RateBasedStatement: {
|
|
511
511
|
* Limit: Number("long"), // required
|
|
512
|
-
* AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
512
|
+
* AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
513
513
|
* ScopeDownStatement: "<Statement>",
|
|
514
514
|
* ForwardedIPConfig: {
|
|
515
515
|
* HeaderName: "STRING_VALUE", // required
|
|
516
516
|
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
517
517
|
* },
|
|
518
|
+
* CustomKeys: [ // RateBasedStatementCustomKeys
|
|
519
|
+
* { // RateBasedStatementCustomKey
|
|
520
|
+
* Header: { // RateLimitHeader
|
|
521
|
+
* Name: "STRING_VALUE", // required
|
|
522
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
523
|
+
* },
|
|
524
|
+
* Cookie: { // RateLimitCookie
|
|
525
|
+
* Name: "STRING_VALUE", // required
|
|
526
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
527
|
+
* },
|
|
528
|
+
* QueryArgument: { // RateLimitQueryArgument
|
|
529
|
+
* Name: "STRING_VALUE", // required
|
|
530
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
531
|
+
* },
|
|
532
|
+
* QueryString: { // RateLimitQueryString
|
|
533
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
534
|
+
* },
|
|
535
|
+
* HTTPMethod: {},
|
|
536
|
+
* ForwardedIP: {},
|
|
537
|
+
* IP: {},
|
|
538
|
+
* LabelNamespace: { // RateLimitLabelNamespace
|
|
539
|
+
* Namespace: "STRING_VALUE", // required
|
|
540
|
+
* },
|
|
541
|
+
* },
|
|
542
|
+
* ],
|
|
518
543
|
* },
|
|
519
544
|
* AndStatement: { // AndStatement
|
|
520
545
|
* Statements: [ // Statements // required
|
|
@@ -643,6 +668,31 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
643
668
|
* HeaderName: "STRING_VALUE", // required
|
|
644
669
|
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
645
670
|
* },
|
|
671
|
+
* CustomKeys: [
|
|
672
|
+
* {
|
|
673
|
+
* Header: {
|
|
674
|
+
* Name: "STRING_VALUE", // required
|
|
675
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
676
|
+
* },
|
|
677
|
+
* Cookie: {
|
|
678
|
+
* Name: "STRING_VALUE", // required
|
|
679
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
680
|
+
* },
|
|
681
|
+
* QueryArgument: {
|
|
682
|
+
* Name: "STRING_VALUE", // required
|
|
683
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
684
|
+
* },
|
|
685
|
+
* QueryString: {
|
|
686
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
687
|
+
* },
|
|
688
|
+
* HTTPMethod: {},
|
|
689
|
+
* ForwardedIP: {},
|
|
690
|
+
* IP: {},
|
|
691
|
+
* LabelNamespace: {
|
|
692
|
+
* Namespace: "STRING_VALUE", // required
|
|
693
|
+
* },
|
|
694
|
+
* },
|
|
695
|
+
* ],
|
|
646
696
|
* },
|
|
647
697
|
* AndStatement: {
|
|
648
698
|
* Statements: [ // required
|
|
@@ -441,7 +441,7 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
441
441
|
* },
|
|
442
442
|
* RateBasedStatement: { // RateBasedStatement
|
|
443
443
|
* Limit: Number("long"), // required
|
|
444
|
-
* AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
444
|
+
* AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
445
445
|
* ScopeDownStatement: {
|
|
446
446
|
* ByteMatchStatement: {
|
|
447
447
|
* SearchString: "BLOB_VALUE", // required
|
|
@@ -514,12 +514,37 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
514
514
|
* },
|
|
515
515
|
* RateBasedStatement: {
|
|
516
516
|
* Limit: Number("long"), // required
|
|
517
|
-
* AggregateKeyType: "IP" || "FORWARDED_IP", // required
|
|
517
|
+
* AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
|
|
518
518
|
* ScopeDownStatement: "<Statement>",
|
|
519
519
|
* ForwardedIPConfig: {
|
|
520
520
|
* HeaderName: "STRING_VALUE", // required
|
|
521
521
|
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
522
522
|
* },
|
|
523
|
+
* CustomKeys: [ // RateBasedStatementCustomKeys
|
|
524
|
+
* { // RateBasedStatementCustomKey
|
|
525
|
+
* Header: { // RateLimitHeader
|
|
526
|
+
* Name: "STRING_VALUE", // required
|
|
527
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
528
|
+
* },
|
|
529
|
+
* Cookie: { // RateLimitCookie
|
|
530
|
+
* Name: "STRING_VALUE", // required
|
|
531
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
532
|
+
* },
|
|
533
|
+
* QueryArgument: { // RateLimitQueryArgument
|
|
534
|
+
* Name: "STRING_VALUE", // required
|
|
535
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
536
|
+
* },
|
|
537
|
+
* QueryString: { // RateLimitQueryString
|
|
538
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
539
|
+
* },
|
|
540
|
+
* HTTPMethod: {},
|
|
541
|
+
* ForwardedIP: {},
|
|
542
|
+
* IP: {},
|
|
543
|
+
* LabelNamespace: { // RateLimitLabelNamespace
|
|
544
|
+
* Namespace: "STRING_VALUE", // required
|
|
545
|
+
* },
|
|
546
|
+
* },
|
|
547
|
+
* ],
|
|
523
548
|
* },
|
|
524
549
|
* AndStatement: { // AndStatement
|
|
525
550
|
* Statements: [ // Statements // required
|
|
@@ -640,6 +665,31 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
640
665
|
* HeaderName: "STRING_VALUE", // required
|
|
641
666
|
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
642
667
|
* },
|
|
668
|
+
* CustomKeys: [
|
|
669
|
+
* {
|
|
670
|
+
* Header: {
|
|
671
|
+
* Name: "STRING_VALUE", // required
|
|
672
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
673
|
+
* },
|
|
674
|
+
* Cookie: {
|
|
675
|
+
* Name: "STRING_VALUE", // required
|
|
676
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
677
|
+
* },
|
|
678
|
+
* QueryArgument: {
|
|
679
|
+
* Name: "STRING_VALUE", // required
|
|
680
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
681
|
+
* },
|
|
682
|
+
* QueryString: {
|
|
683
|
+
* TextTransformations: "<TextTransformations>", // required
|
|
684
|
+
* },
|
|
685
|
+
* HTTPMethod: {},
|
|
686
|
+
* ForwardedIP: {},
|
|
687
|
+
* IP: {},
|
|
688
|
+
* LabelNamespace: {
|
|
689
|
+
* Namespace: "STRING_VALUE", // required
|
|
690
|
+
* },
|
|
691
|
+
* },
|
|
692
|
+
* ],
|
|
643
693
|
* },
|
|
644
694
|
* AndStatement: {
|
|
645
695
|
* Statements: [ // required
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|