@aws-sdk/client-wafv2 3.687.0 → 3.691.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-types/models/models_0.d.ts +394 -394
- package/dist-types/ts3.4/models/models_0.d.ts +402 -396
- package/package.json +7 -7
|
@@ -24,7 +24,7 @@ export interface CustomRequestHandling {
|
|
|
24
24
|
InsertHeaders: CustomHTTPHeader[] | undefined;
|
|
25
25
|
}
|
|
26
26
|
export interface AllowAction {
|
|
27
|
-
CustomRequestHandling?: CustomRequestHandling;
|
|
27
|
+
CustomRequestHandling?: CustomRequestHandling | undefined;
|
|
28
28
|
}
|
|
29
29
|
export interface AllQueryArguments {}
|
|
30
30
|
export declare const OversizeHandling: {
|
|
@@ -35,12 +35,12 @@ export declare const OversizeHandling: {
|
|
|
35
35
|
export type OversizeHandling =
|
|
36
36
|
(typeof OversizeHandling)[keyof typeof OversizeHandling];
|
|
37
37
|
export interface Body {
|
|
38
|
-
OversizeHandling?: OversizeHandling;
|
|
38
|
+
OversizeHandling?: OversizeHandling | undefined;
|
|
39
39
|
}
|
|
40
40
|
export interface CookieMatchPattern {
|
|
41
|
-
All?: All;
|
|
42
|
-
IncludedCookies?: string[];
|
|
43
|
-
ExcludedCookies?: string[];
|
|
41
|
+
All?: All | undefined;
|
|
42
|
+
IncludedCookies?: string[] | undefined;
|
|
43
|
+
ExcludedCookies?: string[] | undefined;
|
|
44
44
|
}
|
|
45
45
|
export declare const MapMatchScope: {
|
|
46
46
|
readonly ALL: "ALL";
|
|
@@ -57,9 +57,9 @@ export interface HeaderOrder {
|
|
|
57
57
|
OversizeHandling: OversizeHandling | undefined;
|
|
58
58
|
}
|
|
59
59
|
export interface HeaderMatchPattern {
|
|
60
|
-
All?: All;
|
|
61
|
-
IncludedHeaders?: string[];
|
|
62
|
-
ExcludedHeaders?: string[];
|
|
60
|
+
All?: All | undefined;
|
|
61
|
+
IncludedHeaders?: string[] | undefined;
|
|
62
|
+
ExcludedHeaders?: string[] | undefined;
|
|
63
63
|
}
|
|
64
64
|
export interface Headers {
|
|
65
65
|
MatchPattern: HeaderMatchPattern | undefined;
|
|
@@ -83,8 +83,8 @@ export declare const BodyParsingFallbackBehavior: {
|
|
|
83
83
|
export type BodyParsingFallbackBehavior =
|
|
84
84
|
(typeof BodyParsingFallbackBehavior)[keyof typeof BodyParsingFallbackBehavior];
|
|
85
85
|
export interface JsonMatchPattern {
|
|
86
|
-
All?: All;
|
|
87
|
-
IncludedPaths?: string[];
|
|
86
|
+
All?: All | undefined;
|
|
87
|
+
IncludedPaths?: string[] | undefined;
|
|
88
88
|
}
|
|
89
89
|
export declare const JsonMatchScope: {
|
|
90
90
|
readonly ALL: "ALL";
|
|
@@ -96,8 +96,8 @@ export type JsonMatchScope =
|
|
|
96
96
|
export interface JsonBody {
|
|
97
97
|
MatchPattern: JsonMatchPattern | undefined;
|
|
98
98
|
MatchScope: JsonMatchScope | undefined;
|
|
99
|
-
InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
|
|
100
|
-
OversizeHandling?: OversizeHandling;
|
|
99
|
+
InvalidFallbackBehavior?: BodyParsingFallbackBehavior | undefined;
|
|
100
|
+
OversizeHandling?: OversizeHandling | undefined;
|
|
101
101
|
}
|
|
102
102
|
export interface Method {}
|
|
103
103
|
export interface QueryString {}
|
|
@@ -109,18 +109,18 @@ export interface SingleQueryArgument {
|
|
|
109
109
|
}
|
|
110
110
|
export interface UriPath {}
|
|
111
111
|
export interface FieldToMatch {
|
|
112
|
-
SingleHeader?: SingleHeader;
|
|
113
|
-
SingleQueryArgument?: SingleQueryArgument;
|
|
114
|
-
AllQueryArguments?: AllQueryArguments;
|
|
115
|
-
UriPath?: UriPath;
|
|
116
|
-
QueryString?: QueryString;
|
|
117
|
-
Body?: Body;
|
|
118
|
-
Method?: Method;
|
|
119
|
-
JsonBody?: JsonBody;
|
|
120
|
-
Headers?: Headers;
|
|
121
|
-
Cookies?: Cookies;
|
|
122
|
-
HeaderOrder?: HeaderOrder;
|
|
123
|
-
JA3Fingerprint?: JA3Fingerprint;
|
|
112
|
+
SingleHeader?: SingleHeader | undefined;
|
|
113
|
+
SingleQueryArgument?: SingleQueryArgument | undefined;
|
|
114
|
+
AllQueryArguments?: AllQueryArguments | undefined;
|
|
115
|
+
UriPath?: UriPath | undefined;
|
|
116
|
+
QueryString?: QueryString | undefined;
|
|
117
|
+
Body?: Body | undefined;
|
|
118
|
+
Method?: Method | undefined;
|
|
119
|
+
JsonBody?: JsonBody | undefined;
|
|
120
|
+
Headers?: Headers | undefined;
|
|
121
|
+
Cookies?: Cookies | undefined;
|
|
122
|
+
HeaderOrder?: HeaderOrder | undefined;
|
|
123
|
+
JA3Fingerprint?: JA3Fingerprint | undefined;
|
|
124
124
|
}
|
|
125
125
|
export declare const PositionalConstraint: {
|
|
126
126
|
readonly CONTAINS: "CONTAINS";
|
|
@@ -424,8 +424,8 @@ export interface ForwardedIPConfig {
|
|
|
424
424
|
FallbackBehavior: FallbackBehavior | undefined;
|
|
425
425
|
}
|
|
426
426
|
export interface GeoMatchStatement {
|
|
427
|
-
CountryCodes?: CountryCode[];
|
|
428
|
-
ForwardedIPConfig?: ForwardedIPConfig;
|
|
427
|
+
CountryCodes?: CountryCode[] | undefined;
|
|
428
|
+
ForwardedIPConfig?: ForwardedIPConfig | undefined;
|
|
429
429
|
}
|
|
430
430
|
export declare const ForwardedIPPosition: {
|
|
431
431
|
readonly ANY: "ANY";
|
|
@@ -441,7 +441,7 @@ export interface IPSetForwardedIPConfig {
|
|
|
441
441
|
}
|
|
442
442
|
export interface IPSetReferenceStatement {
|
|
443
443
|
ARN: string | undefined;
|
|
444
|
-
IPSetForwardedIPConfig?: IPSetForwardedIPConfig;
|
|
444
|
+
IPSetForwardedIPConfig?: IPSetForwardedIPConfig | undefined;
|
|
445
445
|
}
|
|
446
446
|
export declare const LabelMatchScope: {
|
|
447
447
|
readonly LABEL: "LABEL";
|
|
@@ -475,11 +475,11 @@ export interface UsernameField {
|
|
|
475
475
|
}
|
|
476
476
|
export interface RequestInspectionACFP {
|
|
477
477
|
PayloadType: PayloadType | undefined;
|
|
478
|
-
UsernameField?: UsernameField;
|
|
479
|
-
PasswordField?: PasswordField;
|
|
480
|
-
EmailField?: EmailField;
|
|
481
|
-
PhoneNumberFields?: PhoneNumberField[];
|
|
482
|
-
AddressFields?: AddressField[];
|
|
478
|
+
UsernameField?: UsernameField | undefined;
|
|
479
|
+
PasswordField?: PasswordField | undefined;
|
|
480
|
+
EmailField?: EmailField | undefined;
|
|
481
|
+
PhoneNumberFields?: PhoneNumberField[] | undefined;
|
|
482
|
+
AddressFields?: AddressField[] | undefined;
|
|
483
483
|
}
|
|
484
484
|
export interface ResponseInspectionBodyContains {
|
|
485
485
|
SuccessStrings: string[] | undefined;
|
|
@@ -500,17 +500,17 @@ export interface ResponseInspectionStatusCode {
|
|
|
500
500
|
FailureCodes: number[] | undefined;
|
|
501
501
|
}
|
|
502
502
|
export interface ResponseInspection {
|
|
503
|
-
StatusCode?: ResponseInspectionStatusCode;
|
|
504
|
-
Header?: ResponseInspectionHeader;
|
|
505
|
-
BodyContains?: ResponseInspectionBodyContains;
|
|
506
|
-
Json?: ResponseInspectionJson;
|
|
503
|
+
StatusCode?: ResponseInspectionStatusCode | undefined;
|
|
504
|
+
Header?: ResponseInspectionHeader | undefined;
|
|
505
|
+
BodyContains?: ResponseInspectionBodyContains | undefined;
|
|
506
|
+
Json?: ResponseInspectionJson | undefined;
|
|
507
507
|
}
|
|
508
508
|
export interface AWSManagedRulesACFPRuleSet {
|
|
509
509
|
CreationPath: string | undefined;
|
|
510
510
|
RegistrationPagePath: string | undefined;
|
|
511
511
|
RequestInspection: RequestInspectionACFP | undefined;
|
|
512
|
-
ResponseInspection?: ResponseInspection;
|
|
513
|
-
EnableRegexInPath?: boolean;
|
|
512
|
+
ResponseInspection?: ResponseInspection | undefined;
|
|
513
|
+
EnableRegexInPath?: boolean | undefined;
|
|
514
514
|
}
|
|
515
515
|
export interface RequestInspection {
|
|
516
516
|
PayloadType: PayloadType | undefined;
|
|
@@ -519,9 +519,9 @@ export interface RequestInspection {
|
|
|
519
519
|
}
|
|
520
520
|
export interface AWSManagedRulesATPRuleSet {
|
|
521
521
|
LoginPath: string | undefined;
|
|
522
|
-
RequestInspection?: RequestInspection;
|
|
523
|
-
ResponseInspection?: ResponseInspection;
|
|
524
|
-
EnableRegexInPath?: boolean;
|
|
522
|
+
RequestInspection?: RequestInspection | undefined;
|
|
523
|
+
ResponseInspection?: ResponseInspection | undefined;
|
|
524
|
+
EnableRegexInPath?: boolean | undefined;
|
|
525
525
|
}
|
|
526
526
|
export declare const InspectionLevel: {
|
|
527
527
|
readonly COMMON: "COMMON";
|
|
@@ -531,40 +531,42 @@ export type InspectionLevel =
|
|
|
531
531
|
(typeof InspectionLevel)[keyof typeof InspectionLevel];
|
|
532
532
|
export interface AWSManagedRulesBotControlRuleSet {
|
|
533
533
|
InspectionLevel: InspectionLevel | undefined;
|
|
534
|
-
EnableMachineLearning?: boolean;
|
|
534
|
+
EnableMachineLearning?: boolean | undefined;
|
|
535
535
|
}
|
|
536
536
|
export interface ManagedRuleGroupConfig {
|
|
537
|
-
LoginPath?: string;
|
|
538
|
-
PayloadType?: PayloadType;
|
|
539
|
-
UsernameField?: UsernameField;
|
|
540
|
-
PasswordField?: PasswordField;
|
|
541
|
-
AWSManagedRulesBotControlRuleSet?:
|
|
542
|
-
|
|
543
|
-
|
|
537
|
+
LoginPath?: string | undefined;
|
|
538
|
+
PayloadType?: PayloadType | undefined;
|
|
539
|
+
UsernameField?: UsernameField | undefined;
|
|
540
|
+
PasswordField?: PasswordField | undefined;
|
|
541
|
+
AWSManagedRulesBotControlRuleSet?:
|
|
542
|
+
| AWSManagedRulesBotControlRuleSet
|
|
543
|
+
| undefined;
|
|
544
|
+
AWSManagedRulesATPRuleSet?: AWSManagedRulesATPRuleSet | undefined;
|
|
545
|
+
AWSManagedRulesACFPRuleSet?: AWSManagedRulesACFPRuleSet | undefined;
|
|
544
546
|
}
|
|
545
547
|
export interface CustomResponse {
|
|
546
548
|
ResponseCode: number | undefined;
|
|
547
|
-
CustomResponseBodyKey?: string;
|
|
548
|
-
ResponseHeaders?: CustomHTTPHeader[];
|
|
549
|
+
CustomResponseBodyKey?: string | undefined;
|
|
550
|
+
ResponseHeaders?: CustomHTTPHeader[] | undefined;
|
|
549
551
|
}
|
|
550
552
|
export interface BlockAction {
|
|
551
|
-
CustomResponse?: CustomResponse;
|
|
553
|
+
CustomResponse?: CustomResponse | undefined;
|
|
552
554
|
}
|
|
553
555
|
export interface CaptchaAction {
|
|
554
|
-
CustomRequestHandling?: CustomRequestHandling;
|
|
556
|
+
CustomRequestHandling?: CustomRequestHandling | undefined;
|
|
555
557
|
}
|
|
556
558
|
export interface ChallengeAction {
|
|
557
|
-
CustomRequestHandling?: CustomRequestHandling;
|
|
559
|
+
CustomRequestHandling?: CustomRequestHandling | undefined;
|
|
558
560
|
}
|
|
559
561
|
export interface CountAction {
|
|
560
|
-
CustomRequestHandling?: CustomRequestHandling;
|
|
562
|
+
CustomRequestHandling?: CustomRequestHandling | undefined;
|
|
561
563
|
}
|
|
562
564
|
export interface RuleAction {
|
|
563
|
-
Block?: BlockAction;
|
|
564
|
-
Allow?: AllowAction;
|
|
565
|
-
Count?: CountAction;
|
|
566
|
-
Captcha?: CaptchaAction;
|
|
567
|
-
Challenge?: ChallengeAction;
|
|
565
|
+
Block?: BlockAction | undefined;
|
|
566
|
+
Allow?: AllowAction | undefined;
|
|
567
|
+
Count?: CountAction | undefined;
|
|
568
|
+
Captcha?: CaptchaAction | undefined;
|
|
569
|
+
Challenge?: ChallengeAction | undefined;
|
|
568
570
|
}
|
|
569
571
|
export interface RuleActionOverride {
|
|
570
572
|
Name: string | undefined;
|
|
@@ -603,15 +605,15 @@ export interface RateLimitUriPath {
|
|
|
603
605
|
TextTransformations: TextTransformation[] | undefined;
|
|
604
606
|
}
|
|
605
607
|
export interface RateBasedStatementCustomKey {
|
|
606
|
-
Header?: RateLimitHeader;
|
|
607
|
-
Cookie?: RateLimitCookie;
|
|
608
|
-
QueryArgument?: RateLimitQueryArgument;
|
|
609
|
-
QueryString?: RateLimitQueryString;
|
|
610
|
-
HTTPMethod?: RateLimitHTTPMethod;
|
|
611
|
-
ForwardedIP?: RateLimitForwardedIP;
|
|
612
|
-
IP?: RateLimitIP;
|
|
613
|
-
LabelNamespace?: RateLimitLabelNamespace;
|
|
614
|
-
UriPath?: RateLimitUriPath;
|
|
608
|
+
Header?: RateLimitHeader | undefined;
|
|
609
|
+
Cookie?: RateLimitCookie | undefined;
|
|
610
|
+
QueryArgument?: RateLimitQueryArgument | undefined;
|
|
611
|
+
QueryString?: RateLimitQueryString | undefined;
|
|
612
|
+
HTTPMethod?: RateLimitHTTPMethod | undefined;
|
|
613
|
+
ForwardedIP?: RateLimitForwardedIP | undefined;
|
|
614
|
+
IP?: RateLimitIP | undefined;
|
|
615
|
+
LabelNamespace?: RateLimitLabelNamespace | undefined;
|
|
616
|
+
UriPath?: RateLimitUriPath | undefined;
|
|
615
617
|
}
|
|
616
618
|
export interface RegexMatchStatement {
|
|
617
619
|
RegexString: string | undefined;
|
|
@@ -625,8 +627,8 @@ export interface RegexPatternSetReferenceStatement {
|
|
|
625
627
|
}
|
|
626
628
|
export interface RuleGroupReferenceStatement {
|
|
627
629
|
ARN: string | undefined;
|
|
628
|
-
ExcludedRules?: ExcludedRule[];
|
|
629
|
-
RuleActionOverrides?: RuleActionOverride[];
|
|
630
|
+
ExcludedRules?: ExcludedRule[] | undefined;
|
|
631
|
+
RuleActionOverrides?: RuleActionOverride[] | undefined;
|
|
630
632
|
}
|
|
631
633
|
export declare const ComparisonOperator: {
|
|
632
634
|
readonly EQ: "EQ";
|
|
@@ -653,17 +655,17 @@ export type SensitivityLevel =
|
|
|
653
655
|
export interface SqliMatchStatement {
|
|
654
656
|
FieldToMatch: FieldToMatch | undefined;
|
|
655
657
|
TextTransformations: TextTransformation[] | undefined;
|
|
656
|
-
SensitivityLevel?: SensitivityLevel;
|
|
658
|
+
SensitivityLevel?: SensitivityLevel | undefined;
|
|
657
659
|
}
|
|
658
660
|
export interface XssMatchStatement {
|
|
659
661
|
FieldToMatch: FieldToMatch | undefined;
|
|
660
662
|
TextTransformations: TextTransformation[] | undefined;
|
|
661
663
|
}
|
|
662
664
|
export interface APIKeySummary {
|
|
663
|
-
TokenDomains?: string[];
|
|
664
|
-
APIKey?: string;
|
|
665
|
-
CreationTimestamp?: Date;
|
|
666
|
-
Version?: number;
|
|
665
|
+
TokenDomains?: string[] | undefined;
|
|
666
|
+
APIKey?: string | undefined;
|
|
667
|
+
CreationTimestamp?: Date | undefined;
|
|
668
|
+
Version?: number | undefined;
|
|
667
669
|
}
|
|
668
670
|
export declare const AssociatedResourceType: {
|
|
669
671
|
readonly API_GATEWAY: "API_GATEWAY";
|
|
@@ -682,7 +684,7 @@ export interface AssociateWebACLResponse {}
|
|
|
682
684
|
export declare class WAFInternalErrorException extends __BaseException {
|
|
683
685
|
readonly name: "WAFInternalErrorException";
|
|
684
686
|
readonly $fault: "server";
|
|
685
|
-
Message?: string;
|
|
687
|
+
Message?: string | undefined;
|
|
686
688
|
constructor(
|
|
687
689
|
opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>
|
|
688
690
|
);
|
|
@@ -690,7 +692,7 @@ export declare class WAFInternalErrorException extends __BaseException {
|
|
|
690
692
|
export declare class WAFInvalidOperationException extends __BaseException {
|
|
691
693
|
readonly name: "WAFInvalidOperationException";
|
|
692
694
|
readonly $fault: "client";
|
|
693
|
-
Message?: string;
|
|
695
|
+
Message?: string | undefined;
|
|
694
696
|
constructor(
|
|
695
697
|
opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>
|
|
696
698
|
);
|
|
@@ -772,9 +774,9 @@ export type ParameterExceptionField =
|
|
|
772
774
|
export declare class WAFInvalidParameterException extends __BaseException {
|
|
773
775
|
readonly name: "WAFInvalidParameterException";
|
|
774
776
|
readonly $fault: "client";
|
|
775
|
-
Field?: ParameterExceptionField;
|
|
776
|
-
Parameter?: string;
|
|
777
|
-
Reason?: string;
|
|
777
|
+
Field?: ParameterExceptionField | undefined;
|
|
778
|
+
Parameter?: string | undefined;
|
|
779
|
+
Reason?: string | undefined;
|
|
778
780
|
constructor(
|
|
779
781
|
opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>
|
|
780
782
|
);
|
|
@@ -782,7 +784,7 @@ export declare class WAFInvalidParameterException extends __BaseException {
|
|
|
782
784
|
export declare class WAFNonexistentItemException extends __BaseException {
|
|
783
785
|
readonly name: "WAFNonexistentItemException";
|
|
784
786
|
readonly $fault: "client";
|
|
785
|
-
Message?: string;
|
|
787
|
+
Message?: string | undefined;
|
|
786
788
|
constructor(
|
|
787
789
|
opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>
|
|
788
790
|
);
|
|
@@ -790,7 +792,7 @@ export declare class WAFNonexistentItemException extends __BaseException {
|
|
|
790
792
|
export declare class WAFUnavailableEntityException extends __BaseException {
|
|
791
793
|
readonly name: "WAFUnavailableEntityException";
|
|
792
794
|
readonly $fault: "client";
|
|
793
|
-
Message?: string;
|
|
795
|
+
Message?: string | undefined;
|
|
794
796
|
constructor(
|
|
795
797
|
opts: __ExceptionOptionType<WAFUnavailableEntityException, __BaseException>
|
|
796
798
|
);
|
|
@@ -807,23 +809,25 @@ export interface RequestBodyAssociatedResourceTypeConfig {
|
|
|
807
809
|
DefaultSizeInspectionLimit: SizeInspectionLimit | undefined;
|
|
808
810
|
}
|
|
809
811
|
export interface AssociationConfig {
|
|
810
|
-
RequestBody?:
|
|
811
|
-
|
|
812
|
-
|
|
812
|
+
RequestBody?:
|
|
813
|
+
| Partial<
|
|
814
|
+
Record<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>
|
|
815
|
+
>
|
|
816
|
+
| undefined;
|
|
813
817
|
}
|
|
814
818
|
export interface ImmunityTimeProperty {
|
|
815
819
|
ImmunityTime: number | undefined;
|
|
816
820
|
}
|
|
817
821
|
export interface CaptchaConfig {
|
|
818
|
-
ImmunityTimeProperty?: ImmunityTimeProperty;
|
|
822
|
+
ImmunityTimeProperty?: ImmunityTimeProperty | undefined;
|
|
819
823
|
}
|
|
820
824
|
export interface ChallengeConfig {
|
|
821
|
-
ImmunityTimeProperty?: ImmunityTimeProperty;
|
|
825
|
+
ImmunityTimeProperty?: ImmunityTimeProperty | undefined;
|
|
822
826
|
}
|
|
823
827
|
export interface NoneAction {}
|
|
824
828
|
export interface OverrideAction {
|
|
825
|
-
Count?: CountAction;
|
|
826
|
-
None?: NoneAction;
|
|
829
|
+
Count?: CountAction | undefined;
|
|
830
|
+
None?: NoneAction | undefined;
|
|
827
831
|
}
|
|
828
832
|
export interface Label {
|
|
829
833
|
Name: string | undefined;
|
|
@@ -839,12 +843,12 @@ export declare const Scope: {
|
|
|
839
843
|
};
|
|
840
844
|
export type Scope = (typeof Scope)[keyof typeof Scope];
|
|
841
845
|
export interface CheckCapacityResponse {
|
|
842
|
-
Capacity?: number;
|
|
846
|
+
Capacity?: number | undefined;
|
|
843
847
|
}
|
|
844
848
|
export declare class WAFExpiredManagedRuleGroupVersionException extends __BaseException {
|
|
845
849
|
readonly name: "WAFExpiredManagedRuleGroupVersionException";
|
|
846
850
|
readonly $fault: "client";
|
|
847
|
-
Message?: string;
|
|
851
|
+
Message?: string | undefined;
|
|
848
852
|
constructor(
|
|
849
853
|
opts: __ExceptionOptionType<
|
|
850
854
|
WAFExpiredManagedRuleGroupVersionException,
|
|
@@ -855,7 +859,7 @@ export declare class WAFExpiredManagedRuleGroupVersionException extends __BaseEx
|
|
|
855
859
|
export declare class WAFInvalidResourceException extends __BaseException {
|
|
856
860
|
readonly name: "WAFInvalidResourceException";
|
|
857
861
|
readonly $fault: "client";
|
|
858
|
-
Message?: string;
|
|
862
|
+
Message?: string | undefined;
|
|
859
863
|
constructor(
|
|
860
864
|
opts: __ExceptionOptionType<WAFInvalidResourceException, __BaseException>
|
|
861
865
|
);
|
|
@@ -863,8 +867,8 @@ export declare class WAFInvalidResourceException extends __BaseException {
|
|
|
863
867
|
export declare class WAFLimitsExceededException extends __BaseException {
|
|
864
868
|
readonly name: "WAFLimitsExceededException";
|
|
865
869
|
readonly $fault: "client";
|
|
866
|
-
Message?: string;
|
|
867
|
-
SourceType?: string;
|
|
870
|
+
Message?: string | undefined;
|
|
871
|
+
SourceType?: string | undefined;
|
|
868
872
|
constructor(
|
|
869
873
|
opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>
|
|
870
874
|
);
|
|
@@ -872,7 +876,7 @@ export declare class WAFLimitsExceededException extends __BaseException {
|
|
|
872
876
|
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
873
877
|
readonly name: "WAFSubscriptionNotFoundException";
|
|
874
878
|
readonly $fault: "client";
|
|
875
|
-
Message?: string;
|
|
879
|
+
Message?: string | undefined;
|
|
876
880
|
constructor(
|
|
877
881
|
opts: __ExceptionOptionType<
|
|
878
882
|
WAFSubscriptionNotFoundException,
|
|
@@ -885,7 +889,7 @@ export interface CreateAPIKeyRequest {
|
|
|
885
889
|
TokenDomains: string[] | undefined;
|
|
886
890
|
}
|
|
887
891
|
export interface CreateAPIKeyResponse {
|
|
888
|
-
APIKey?: string;
|
|
892
|
+
APIKey?: string | undefined;
|
|
889
893
|
}
|
|
890
894
|
export declare const IPAddressVersion: {
|
|
891
895
|
readonly IPV4: "IPV4";
|
|
@@ -900,25 +904,25 @@ export interface Tag {
|
|
|
900
904
|
export interface CreateIPSetRequest {
|
|
901
905
|
Name: string | undefined;
|
|
902
906
|
Scope: Scope | undefined;
|
|
903
|
-
Description?: string;
|
|
907
|
+
Description?: string | undefined;
|
|
904
908
|
IPAddressVersion: IPAddressVersion | undefined;
|
|
905
909
|
Addresses: string[] | undefined;
|
|
906
|
-
Tags?: Tag[];
|
|
910
|
+
Tags?: Tag[] | undefined;
|
|
907
911
|
}
|
|
908
912
|
export interface IPSetSummary {
|
|
909
|
-
Name?: string;
|
|
910
|
-
Id?: string;
|
|
911
|
-
Description?: string;
|
|
912
|
-
LockToken?: string;
|
|
913
|
-
ARN?: string;
|
|
913
|
+
Name?: string | undefined;
|
|
914
|
+
Id?: string | undefined;
|
|
915
|
+
Description?: string | undefined;
|
|
916
|
+
LockToken?: string | undefined;
|
|
917
|
+
ARN?: string | undefined;
|
|
914
918
|
}
|
|
915
919
|
export interface CreateIPSetResponse {
|
|
916
|
-
Summary?: IPSetSummary;
|
|
920
|
+
Summary?: IPSetSummary | undefined;
|
|
917
921
|
}
|
|
918
922
|
export declare class WAFDuplicateItemException extends __BaseException {
|
|
919
923
|
readonly name: "WAFDuplicateItemException";
|
|
920
924
|
readonly $fault: "client";
|
|
921
|
-
Message?: string;
|
|
925
|
+
Message?: string | undefined;
|
|
922
926
|
constructor(
|
|
923
927
|
opts: __ExceptionOptionType<WAFDuplicateItemException, __BaseException>
|
|
924
928
|
);
|
|
@@ -926,7 +930,7 @@ export declare class WAFDuplicateItemException extends __BaseException {
|
|
|
926
930
|
export declare class WAFOptimisticLockException extends __BaseException {
|
|
927
931
|
readonly name: "WAFOptimisticLockException";
|
|
928
932
|
readonly $fault: "client";
|
|
929
|
-
Message?: string;
|
|
933
|
+
Message?: string | undefined;
|
|
930
934
|
constructor(
|
|
931
935
|
opts: __ExceptionOptionType<WAFOptimisticLockException, __BaseException>
|
|
932
936
|
);
|
|
@@ -934,7 +938,7 @@ export declare class WAFOptimisticLockException extends __BaseException {
|
|
|
934
938
|
export declare class WAFTagOperationException extends __BaseException {
|
|
935
939
|
readonly name: "WAFTagOperationException";
|
|
936
940
|
readonly $fault: "client";
|
|
937
|
-
Message?: string;
|
|
941
|
+
Message?: string | undefined;
|
|
938
942
|
constructor(
|
|
939
943
|
opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>
|
|
940
944
|
);
|
|
@@ -942,7 +946,7 @@ export declare class WAFTagOperationException extends __BaseException {
|
|
|
942
946
|
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
943
947
|
readonly name: "WAFTagOperationInternalErrorException";
|
|
944
948
|
readonly $fault: "server";
|
|
945
|
-
Message?: string;
|
|
949
|
+
Message?: string | undefined;
|
|
946
950
|
constructor(
|
|
947
951
|
opts: __ExceptionOptionType<
|
|
948
952
|
WAFTagOperationInternalErrorException,
|
|
@@ -951,24 +955,24 @@ export declare class WAFTagOperationInternalErrorException extends __BaseExcepti
|
|
|
951
955
|
);
|
|
952
956
|
}
|
|
953
957
|
export interface Regex {
|
|
954
|
-
RegexString?: string;
|
|
958
|
+
RegexString?: string | undefined;
|
|
955
959
|
}
|
|
956
960
|
export interface CreateRegexPatternSetRequest {
|
|
957
961
|
Name: string | undefined;
|
|
958
962
|
Scope: Scope | undefined;
|
|
959
|
-
Description?: string;
|
|
963
|
+
Description?: string | undefined;
|
|
960
964
|
RegularExpressionList: Regex[] | undefined;
|
|
961
|
-
Tags?: Tag[];
|
|
965
|
+
Tags?: Tag[] | undefined;
|
|
962
966
|
}
|
|
963
967
|
export interface RegexPatternSetSummary {
|
|
964
|
-
Name?: string;
|
|
965
|
-
Id?: string;
|
|
966
|
-
Description?: string;
|
|
967
|
-
LockToken?: string;
|
|
968
|
-
ARN?: string;
|
|
968
|
+
Name?: string | undefined;
|
|
969
|
+
Id?: string | undefined;
|
|
970
|
+
Description?: string | undefined;
|
|
971
|
+
LockToken?: string | undefined;
|
|
972
|
+
ARN?: string | undefined;
|
|
969
973
|
}
|
|
970
974
|
export interface CreateRegexPatternSetResponse {
|
|
971
|
-
Summary?: RegexPatternSetSummary;
|
|
975
|
+
Summary?: RegexPatternSetSummary | undefined;
|
|
972
976
|
}
|
|
973
977
|
export declare const ResponseContentType: {
|
|
974
978
|
readonly APPLICATION_JSON: "APPLICATION_JSON";
|
|
@@ -982,33 +986,33 @@ export interface CustomResponseBody {
|
|
|
982
986
|
Content: string | undefined;
|
|
983
987
|
}
|
|
984
988
|
export interface RuleGroupSummary {
|
|
985
|
-
Name?: string;
|
|
986
|
-
Id?: string;
|
|
987
|
-
Description?: string;
|
|
988
|
-
LockToken?: string;
|
|
989
|
-
ARN?: string;
|
|
989
|
+
Name?: string | undefined;
|
|
990
|
+
Id?: string | undefined;
|
|
991
|
+
Description?: string | undefined;
|
|
992
|
+
LockToken?: string | undefined;
|
|
993
|
+
ARN?: string | undefined;
|
|
990
994
|
}
|
|
991
995
|
export interface CreateRuleGroupResponse {
|
|
992
|
-
Summary?: RuleGroupSummary;
|
|
996
|
+
Summary?: RuleGroupSummary | undefined;
|
|
993
997
|
}
|
|
994
998
|
export interface DefaultAction {
|
|
995
|
-
Block?: BlockAction;
|
|
996
|
-
Allow?: AllowAction;
|
|
999
|
+
Block?: BlockAction | undefined;
|
|
1000
|
+
Allow?: AllowAction | undefined;
|
|
997
1001
|
}
|
|
998
1002
|
export interface WebACLSummary {
|
|
999
|
-
Name?: string;
|
|
1000
|
-
Id?: string;
|
|
1001
|
-
Description?: string;
|
|
1002
|
-
LockToken?: string;
|
|
1003
|
-
ARN?: string;
|
|
1003
|
+
Name?: string | undefined;
|
|
1004
|
+
Id?: string | undefined;
|
|
1005
|
+
Description?: string | undefined;
|
|
1006
|
+
LockToken?: string | undefined;
|
|
1007
|
+
ARN?: string | undefined;
|
|
1004
1008
|
}
|
|
1005
1009
|
export interface CreateWebACLResponse {
|
|
1006
|
-
Summary?: WebACLSummary;
|
|
1010
|
+
Summary?: WebACLSummary | undefined;
|
|
1007
1011
|
}
|
|
1008
1012
|
export declare class WAFConfigurationWarningException extends __BaseException {
|
|
1009
1013
|
readonly name: "WAFConfigurationWarningException";
|
|
1010
1014
|
readonly $fault: "client";
|
|
1011
|
-
Message?: string;
|
|
1015
|
+
Message?: string | undefined;
|
|
1012
1016
|
constructor(
|
|
1013
1017
|
opts: __ExceptionOptionType<
|
|
1014
1018
|
WAFConfigurationWarningException,
|
|
@@ -1026,7 +1030,7 @@ export interface DeleteFirewallManagerRuleGroupsRequest {
|
|
|
1026
1030
|
WebACLLockToken: string | undefined;
|
|
1027
1031
|
}
|
|
1028
1032
|
export interface DeleteFirewallManagerRuleGroupsResponse {
|
|
1029
|
-
NextWebACLLockToken?: string;
|
|
1033
|
+
NextWebACLLockToken?: string | undefined;
|
|
1030
1034
|
}
|
|
1031
1035
|
export interface DeleteIPSetRequest {
|
|
1032
1036
|
Name: string | undefined;
|
|
@@ -1038,7 +1042,7 @@ export interface DeleteIPSetResponse {}
|
|
|
1038
1042
|
export declare class WAFAssociatedItemException extends __BaseException {
|
|
1039
1043
|
readonly name: "WAFAssociatedItemException";
|
|
1040
1044
|
readonly $fault: "client";
|
|
1041
|
-
Message?: string;
|
|
1045
|
+
Message?: string | undefined;
|
|
1042
1046
|
constructor(
|
|
1043
1047
|
opts: __ExceptionOptionType<WAFAssociatedItemException, __BaseException>
|
|
1044
1048
|
);
|
|
@@ -1054,8 +1058,8 @@ export declare const LogType: {
|
|
|
1054
1058
|
export type LogType = (typeof LogType)[keyof typeof LogType];
|
|
1055
1059
|
export interface DeleteLoggingConfigurationRequest {
|
|
1056
1060
|
ResourceArn: string | undefined;
|
|
1057
|
-
LogType?: LogType;
|
|
1058
|
-
LogScope?: LogScope;
|
|
1061
|
+
LogType?: LogType | undefined;
|
|
1062
|
+
LogScope?: LogScope | undefined;
|
|
1059
1063
|
}
|
|
1060
1064
|
export interface DeleteLoggingConfigurationResponse {}
|
|
1061
1065
|
export interface DeletePermissionPolicyRequest {
|
|
@@ -1087,47 +1091,47 @@ export interface DescribeAllManagedProductsRequest {
|
|
|
1087
1091
|
Scope: Scope | undefined;
|
|
1088
1092
|
}
|
|
1089
1093
|
export interface ManagedProductDescriptor {
|
|
1090
|
-
VendorName?: string;
|
|
1091
|
-
ManagedRuleSetName?: string;
|
|
1092
|
-
ProductId?: string;
|
|
1093
|
-
ProductLink?: string;
|
|
1094
|
-
ProductTitle?: string;
|
|
1095
|
-
ProductDescription?: string;
|
|
1096
|
-
SnsTopicArn?: string;
|
|
1097
|
-
IsVersioningSupported?: boolean;
|
|
1098
|
-
IsAdvancedManagedRuleSet?: boolean;
|
|
1094
|
+
VendorName?: string | undefined;
|
|
1095
|
+
ManagedRuleSetName?: string | undefined;
|
|
1096
|
+
ProductId?: string | undefined;
|
|
1097
|
+
ProductLink?: string | undefined;
|
|
1098
|
+
ProductTitle?: string | undefined;
|
|
1099
|
+
ProductDescription?: string | undefined;
|
|
1100
|
+
SnsTopicArn?: string | undefined;
|
|
1101
|
+
IsVersioningSupported?: boolean | undefined;
|
|
1102
|
+
IsAdvancedManagedRuleSet?: boolean | undefined;
|
|
1099
1103
|
}
|
|
1100
1104
|
export interface DescribeAllManagedProductsResponse {
|
|
1101
|
-
ManagedProducts?: ManagedProductDescriptor[];
|
|
1105
|
+
ManagedProducts?: ManagedProductDescriptor[] | undefined;
|
|
1102
1106
|
}
|
|
1103
1107
|
export interface DescribeManagedProductsByVendorRequest {
|
|
1104
1108
|
VendorName: string | undefined;
|
|
1105
1109
|
Scope: Scope | undefined;
|
|
1106
1110
|
}
|
|
1107
1111
|
export interface DescribeManagedProductsByVendorResponse {
|
|
1108
|
-
ManagedProducts?: ManagedProductDescriptor[];
|
|
1112
|
+
ManagedProducts?: ManagedProductDescriptor[] | undefined;
|
|
1109
1113
|
}
|
|
1110
1114
|
export interface DescribeManagedRuleGroupRequest {
|
|
1111
1115
|
VendorName: string | undefined;
|
|
1112
1116
|
Name: string | undefined;
|
|
1113
1117
|
Scope: Scope | undefined;
|
|
1114
|
-
VersionName?: string;
|
|
1118
|
+
VersionName?: string | undefined;
|
|
1115
1119
|
}
|
|
1116
1120
|
export interface LabelSummary {
|
|
1117
|
-
Name?: string;
|
|
1121
|
+
Name?: string | undefined;
|
|
1118
1122
|
}
|
|
1119
1123
|
export interface RuleSummary {
|
|
1120
|
-
Name?: string;
|
|
1121
|
-
Action?: RuleAction;
|
|
1124
|
+
Name?: string | undefined;
|
|
1125
|
+
Action?: RuleAction | undefined;
|
|
1122
1126
|
}
|
|
1123
1127
|
export interface DescribeManagedRuleGroupResponse {
|
|
1124
|
-
VersionName?: string;
|
|
1125
|
-
SnsTopicArn?: string;
|
|
1126
|
-
Capacity?: number;
|
|
1127
|
-
Rules?: RuleSummary[];
|
|
1128
|
-
LabelNamespace?: string;
|
|
1129
|
-
AvailableLabels?: LabelSummary[];
|
|
1130
|
-
ConsumedLabels?: LabelSummary[];
|
|
1128
|
+
VersionName?: string | undefined;
|
|
1129
|
+
SnsTopicArn?: string | undefined;
|
|
1130
|
+
Capacity?: number | undefined;
|
|
1131
|
+
Rules?: RuleSummary[] | undefined;
|
|
1132
|
+
LabelNamespace?: string | undefined;
|
|
1133
|
+
AvailableLabels?: LabelSummary[] | undefined;
|
|
1134
|
+
ConsumedLabels?: LabelSummary[] | undefined;
|
|
1131
1135
|
}
|
|
1132
1136
|
export interface DisassociateWebACLRequest {
|
|
1133
1137
|
ResourceArn: string | undefined;
|
|
@@ -1143,15 +1147,15 @@ export interface GenerateMobileSdkReleaseUrlRequest {
|
|
|
1143
1147
|
ReleaseVersion: string | undefined;
|
|
1144
1148
|
}
|
|
1145
1149
|
export interface GenerateMobileSdkReleaseUrlResponse {
|
|
1146
|
-
Url?: string;
|
|
1150
|
+
Url?: string | undefined;
|
|
1147
1151
|
}
|
|
1148
1152
|
export interface GetDecryptedAPIKeyRequest {
|
|
1149
1153
|
Scope: Scope | undefined;
|
|
1150
1154
|
APIKey: string | undefined;
|
|
1151
1155
|
}
|
|
1152
1156
|
export interface GetDecryptedAPIKeyResponse {
|
|
1153
|
-
TokenDomains?: string[];
|
|
1154
|
-
CreationTimestamp?: Date;
|
|
1157
|
+
TokenDomains?: string[] | undefined;
|
|
1158
|
+
CreationTimestamp?: Date | undefined;
|
|
1155
1159
|
}
|
|
1156
1160
|
export interface GetIPSetRequest {
|
|
1157
1161
|
Name: string | undefined;
|
|
@@ -1162,18 +1166,18 @@ export interface IPSet {
|
|
|
1162
1166
|
Name: string | undefined;
|
|
1163
1167
|
Id: string | undefined;
|
|
1164
1168
|
ARN: string | undefined;
|
|
1165
|
-
Description?: string;
|
|
1169
|
+
Description?: string | undefined;
|
|
1166
1170
|
IPAddressVersion: IPAddressVersion | undefined;
|
|
1167
1171
|
Addresses: string[] | undefined;
|
|
1168
1172
|
}
|
|
1169
1173
|
export interface GetIPSetResponse {
|
|
1170
|
-
IPSet?: IPSet;
|
|
1171
|
-
LockToken?: string;
|
|
1174
|
+
IPSet?: IPSet | undefined;
|
|
1175
|
+
LockToken?: string | undefined;
|
|
1172
1176
|
}
|
|
1173
1177
|
export interface GetLoggingConfigurationRequest {
|
|
1174
1178
|
ResourceArn: string | undefined;
|
|
1175
|
-
LogType?: LogType;
|
|
1176
|
-
LogScope?: LogScope;
|
|
1179
|
+
LogType?: LogType | undefined;
|
|
1180
|
+
LogScope?: LogScope | undefined;
|
|
1177
1181
|
}
|
|
1178
1182
|
export declare const FilterBehavior: {
|
|
1179
1183
|
readonly DROP: "DROP";
|
|
@@ -1185,8 +1189,8 @@ export interface LabelNameCondition {
|
|
|
1185
1189
|
LabelName: string | undefined;
|
|
1186
1190
|
}
|
|
1187
1191
|
export interface Condition {
|
|
1188
|
-
ActionCondition?: ActionCondition;
|
|
1189
|
-
LabelNameCondition?: LabelNameCondition;
|
|
1192
|
+
ActionCondition?: ActionCondition | undefined;
|
|
1193
|
+
LabelNameCondition?: LabelNameCondition | undefined;
|
|
1190
1194
|
}
|
|
1191
1195
|
export declare const FilterRequirement: {
|
|
1192
1196
|
readonly MEETS_ALL: "MEETS_ALL";
|
|
@@ -1206,14 +1210,14 @@ export interface LoggingFilter {
|
|
|
1206
1210
|
export interface LoggingConfiguration {
|
|
1207
1211
|
ResourceArn: string | undefined;
|
|
1208
1212
|
LogDestinationConfigs: string[] | undefined;
|
|
1209
|
-
RedactedFields?: FieldToMatch[];
|
|
1210
|
-
ManagedByFirewallManager?: boolean;
|
|
1211
|
-
LoggingFilter?: LoggingFilter;
|
|
1212
|
-
LogType?: LogType;
|
|
1213
|
-
LogScope?: LogScope;
|
|
1213
|
+
RedactedFields?: FieldToMatch[] | undefined;
|
|
1214
|
+
ManagedByFirewallManager?: boolean | undefined;
|
|
1215
|
+
LoggingFilter?: LoggingFilter | undefined;
|
|
1216
|
+
LogType?: LogType | undefined;
|
|
1217
|
+
LogScope?: LogScope | undefined;
|
|
1214
1218
|
}
|
|
1215
1219
|
export interface GetLoggingConfigurationResponse {
|
|
1216
|
-
LoggingConfiguration?: LoggingConfiguration;
|
|
1220
|
+
LoggingConfiguration?: LoggingConfiguration | undefined;
|
|
1217
1221
|
}
|
|
1218
1222
|
export interface GetManagedRuleSetRequest {
|
|
1219
1223
|
Name: string | undefined;
|
|
@@ -1221,64 +1225,64 @@ export interface GetManagedRuleSetRequest {
|
|
|
1221
1225
|
Id: string | undefined;
|
|
1222
1226
|
}
|
|
1223
1227
|
export interface ManagedRuleSetVersion {
|
|
1224
|
-
AssociatedRuleGroupArn?: string;
|
|
1225
|
-
Capacity?: number;
|
|
1226
|
-
ForecastedLifetime?: number;
|
|
1227
|
-
PublishTimestamp?: Date;
|
|
1228
|
-
LastUpdateTimestamp?: Date;
|
|
1229
|
-
ExpiryTimestamp?: Date;
|
|
1228
|
+
AssociatedRuleGroupArn?: string | undefined;
|
|
1229
|
+
Capacity?: number | undefined;
|
|
1230
|
+
ForecastedLifetime?: number | undefined;
|
|
1231
|
+
PublishTimestamp?: Date | undefined;
|
|
1232
|
+
LastUpdateTimestamp?: Date | undefined;
|
|
1233
|
+
ExpiryTimestamp?: Date | undefined;
|
|
1230
1234
|
}
|
|
1231
1235
|
export interface ManagedRuleSet {
|
|
1232
1236
|
Name: string | undefined;
|
|
1233
1237
|
Id: string | undefined;
|
|
1234
1238
|
ARN: string | undefined;
|
|
1235
|
-
Description?: string;
|
|
1236
|
-
PublishedVersions?: Record<string, ManagedRuleSetVersion
|
|
1237
|
-
RecommendedVersion?: string;
|
|
1238
|
-
LabelNamespace?: string;
|
|
1239
|
+
Description?: string | undefined;
|
|
1240
|
+
PublishedVersions?: Record<string, ManagedRuleSetVersion> | undefined;
|
|
1241
|
+
RecommendedVersion?: string | undefined;
|
|
1242
|
+
LabelNamespace?: string | undefined;
|
|
1239
1243
|
}
|
|
1240
1244
|
export interface GetManagedRuleSetResponse {
|
|
1241
|
-
ManagedRuleSet?: ManagedRuleSet;
|
|
1242
|
-
LockToken?: string;
|
|
1245
|
+
ManagedRuleSet?: ManagedRuleSet | undefined;
|
|
1246
|
+
LockToken?: string | undefined;
|
|
1243
1247
|
}
|
|
1244
1248
|
export interface GetMobileSdkReleaseRequest {
|
|
1245
1249
|
Platform: Platform | undefined;
|
|
1246
1250
|
ReleaseVersion: string | undefined;
|
|
1247
1251
|
}
|
|
1248
1252
|
export interface MobileSdkRelease {
|
|
1249
|
-
ReleaseVersion?: string;
|
|
1250
|
-
Timestamp?: Date;
|
|
1251
|
-
ReleaseNotes?: string;
|
|
1252
|
-
Tags?: Tag[];
|
|
1253
|
+
ReleaseVersion?: string | undefined;
|
|
1254
|
+
Timestamp?: Date | undefined;
|
|
1255
|
+
ReleaseNotes?: string | undefined;
|
|
1256
|
+
Tags?: Tag[] | undefined;
|
|
1253
1257
|
}
|
|
1254
1258
|
export interface GetMobileSdkReleaseResponse {
|
|
1255
|
-
MobileSdkRelease?: MobileSdkRelease;
|
|
1259
|
+
MobileSdkRelease?: MobileSdkRelease | undefined;
|
|
1256
1260
|
}
|
|
1257
1261
|
export interface GetPermissionPolicyRequest {
|
|
1258
1262
|
ResourceArn: string | undefined;
|
|
1259
1263
|
}
|
|
1260
1264
|
export interface GetPermissionPolicyResponse {
|
|
1261
|
-
Policy?: string;
|
|
1265
|
+
Policy?: string | undefined;
|
|
1262
1266
|
}
|
|
1263
1267
|
export interface GetRateBasedStatementManagedKeysRequest {
|
|
1264
1268
|
Scope: Scope | undefined;
|
|
1265
1269
|
WebACLName: string | undefined;
|
|
1266
1270
|
WebACLId: string | undefined;
|
|
1267
|
-
RuleGroupRuleName?: string;
|
|
1271
|
+
RuleGroupRuleName?: string | undefined;
|
|
1268
1272
|
RuleName: string | undefined;
|
|
1269
1273
|
}
|
|
1270
1274
|
export interface RateBasedStatementManagedKeysIPSet {
|
|
1271
|
-
IPAddressVersion?: IPAddressVersion;
|
|
1272
|
-
Addresses?: string[];
|
|
1275
|
+
IPAddressVersion?: IPAddressVersion | undefined;
|
|
1276
|
+
Addresses?: string[] | undefined;
|
|
1273
1277
|
}
|
|
1274
1278
|
export interface GetRateBasedStatementManagedKeysResponse {
|
|
1275
|
-
ManagedKeysIPV4?: RateBasedStatementManagedKeysIPSet;
|
|
1276
|
-
ManagedKeysIPV6?: RateBasedStatementManagedKeysIPSet;
|
|
1279
|
+
ManagedKeysIPV4?: RateBasedStatementManagedKeysIPSet | undefined;
|
|
1280
|
+
ManagedKeysIPV6?: RateBasedStatementManagedKeysIPSet | undefined;
|
|
1277
1281
|
}
|
|
1278
1282
|
export declare class WAFUnsupportedAggregateKeyTypeException extends __BaseException {
|
|
1279
1283
|
readonly name: "WAFUnsupportedAggregateKeyTypeException";
|
|
1280
1284
|
readonly $fault: "client";
|
|
1281
|
-
Message?: string;
|
|
1285
|
+
Message?: string | undefined;
|
|
1282
1286
|
constructor(
|
|
1283
1287
|
opts: __ExceptionOptionType<
|
|
1284
1288
|
WAFUnsupportedAggregateKeyTypeException,
|
|
@@ -1292,21 +1296,21 @@ export interface GetRegexPatternSetRequest {
|
|
|
1292
1296
|
Id: string | undefined;
|
|
1293
1297
|
}
|
|
1294
1298
|
export interface RegexPatternSet {
|
|
1295
|
-
Name?: string;
|
|
1296
|
-
Id?: string;
|
|
1297
|
-
ARN?: string;
|
|
1298
|
-
Description?: string;
|
|
1299
|
-
RegularExpressionList?: Regex[];
|
|
1299
|
+
Name?: string | undefined;
|
|
1300
|
+
Id?: string | undefined;
|
|
1301
|
+
ARN?: string | undefined;
|
|
1302
|
+
Description?: string | undefined;
|
|
1303
|
+
RegularExpressionList?: Regex[] | undefined;
|
|
1300
1304
|
}
|
|
1301
1305
|
export interface GetRegexPatternSetResponse {
|
|
1302
|
-
RegexPatternSet?: RegexPatternSet;
|
|
1303
|
-
LockToken?: string;
|
|
1306
|
+
RegexPatternSet?: RegexPatternSet | undefined;
|
|
1307
|
+
LockToken?: string | undefined;
|
|
1304
1308
|
}
|
|
1305
1309
|
export interface GetRuleGroupRequest {
|
|
1306
|
-
Name?: string;
|
|
1307
|
-
Scope?: Scope;
|
|
1308
|
-
Id?: string;
|
|
1309
|
-
ARN?: string;
|
|
1310
|
+
Name?: string | undefined;
|
|
1311
|
+
Scope?: Scope | undefined;
|
|
1312
|
+
Id?: string | undefined;
|
|
1313
|
+
ARN?: string | undefined;
|
|
1310
1314
|
}
|
|
1311
1315
|
export interface TimeWindow {
|
|
1312
1316
|
StartTime: Date | undefined;
|
|
@@ -1327,44 +1331,44 @@ export declare const FailureReason: {
|
|
|
1327
1331
|
};
|
|
1328
1332
|
export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
|
|
1329
1333
|
export interface CaptchaResponse {
|
|
1330
|
-
ResponseCode?: number;
|
|
1331
|
-
SolveTimestamp?: number;
|
|
1332
|
-
FailureReason?: FailureReason;
|
|
1334
|
+
ResponseCode?: number | undefined;
|
|
1335
|
+
SolveTimestamp?: number | undefined;
|
|
1336
|
+
FailureReason?: FailureReason | undefined;
|
|
1333
1337
|
}
|
|
1334
1338
|
export interface ChallengeResponse {
|
|
1335
|
-
ResponseCode?: number;
|
|
1336
|
-
SolveTimestamp?: number;
|
|
1337
|
-
FailureReason?: FailureReason;
|
|
1339
|
+
ResponseCode?: number | undefined;
|
|
1340
|
+
SolveTimestamp?: number | undefined;
|
|
1341
|
+
FailureReason?: FailureReason | undefined;
|
|
1338
1342
|
}
|
|
1339
1343
|
export interface HTTPHeader {
|
|
1340
|
-
Name?: string;
|
|
1341
|
-
Value?: string;
|
|
1344
|
+
Name?: string | undefined;
|
|
1345
|
+
Value?: string | undefined;
|
|
1342
1346
|
}
|
|
1343
1347
|
export interface HTTPRequest {
|
|
1344
|
-
ClientIP?: string;
|
|
1345
|
-
Country?: string;
|
|
1346
|
-
URI?: string;
|
|
1347
|
-
Method?: string;
|
|
1348
|
-
HTTPVersion?: string;
|
|
1349
|
-
Headers?: HTTPHeader[];
|
|
1348
|
+
ClientIP?: string | undefined;
|
|
1349
|
+
Country?: string | undefined;
|
|
1350
|
+
URI?: string | undefined;
|
|
1351
|
+
Method?: string | undefined;
|
|
1352
|
+
HTTPVersion?: string | undefined;
|
|
1353
|
+
Headers?: HTTPHeader[] | undefined;
|
|
1350
1354
|
}
|
|
1351
1355
|
export interface SampledHTTPRequest {
|
|
1352
1356
|
Request: HTTPRequest | undefined;
|
|
1353
1357
|
Weight: number | undefined;
|
|
1354
|
-
Timestamp?: Date;
|
|
1355
|
-
Action?: string;
|
|
1356
|
-
RuleNameWithinRuleGroup?: string;
|
|
1357
|
-
RequestHeadersInserted?: HTTPHeader[];
|
|
1358
|
-
ResponseCodeSent?: number;
|
|
1359
|
-
Labels?: Label[];
|
|
1360
|
-
CaptchaResponse?: CaptchaResponse;
|
|
1361
|
-
ChallengeResponse?: ChallengeResponse;
|
|
1362
|
-
OverriddenAction?: string;
|
|
1358
|
+
Timestamp?: Date | undefined;
|
|
1359
|
+
Action?: string | undefined;
|
|
1360
|
+
RuleNameWithinRuleGroup?: string | undefined;
|
|
1361
|
+
RequestHeadersInserted?: HTTPHeader[] | undefined;
|
|
1362
|
+
ResponseCodeSent?: number | undefined;
|
|
1363
|
+
Labels?: Label[] | undefined;
|
|
1364
|
+
CaptchaResponse?: CaptchaResponse | undefined;
|
|
1365
|
+
ChallengeResponse?: ChallengeResponse | undefined;
|
|
1366
|
+
OverriddenAction?: string | undefined;
|
|
1363
1367
|
}
|
|
1364
1368
|
export interface GetSampledRequestsResponse {
|
|
1365
|
-
SampledRequests?: SampledHTTPRequest[];
|
|
1366
|
-
PopulationSize?: number;
|
|
1367
|
-
TimeWindow?: TimeWindow;
|
|
1369
|
+
SampledRequests?: SampledHTTPRequest[] | undefined;
|
|
1370
|
+
PopulationSize?: number | undefined;
|
|
1371
|
+
TimeWindow?: TimeWindow | undefined;
|
|
1368
1372
|
}
|
|
1369
1373
|
export interface GetWebACLRequest {
|
|
1370
1374
|
Name: string | undefined;
|
|
@@ -1376,102 +1380,102 @@ export interface GetWebACLForResourceRequest {
|
|
|
1376
1380
|
}
|
|
1377
1381
|
export interface ListAPIKeysRequest {
|
|
1378
1382
|
Scope: Scope | undefined;
|
|
1379
|
-
NextMarker?: string;
|
|
1380
|
-
Limit?: number;
|
|
1383
|
+
NextMarker?: string | undefined;
|
|
1384
|
+
Limit?: number | undefined;
|
|
1381
1385
|
}
|
|
1382
1386
|
export interface ListAPIKeysResponse {
|
|
1383
|
-
NextMarker?: string;
|
|
1384
|
-
APIKeySummaries?: APIKeySummary[];
|
|
1385
|
-
ApplicationIntegrationURL?: string;
|
|
1387
|
+
NextMarker?: string | undefined;
|
|
1388
|
+
APIKeySummaries?: APIKeySummary[] | undefined;
|
|
1389
|
+
ApplicationIntegrationURL?: string | undefined;
|
|
1386
1390
|
}
|
|
1387
1391
|
export interface ListAvailableManagedRuleGroupsRequest {
|
|
1388
1392
|
Scope: Scope | undefined;
|
|
1389
|
-
NextMarker?: string;
|
|
1390
|
-
Limit?: number;
|
|
1393
|
+
NextMarker?: string | undefined;
|
|
1394
|
+
Limit?: number | undefined;
|
|
1391
1395
|
}
|
|
1392
1396
|
export interface ManagedRuleGroupSummary {
|
|
1393
|
-
VendorName?: string;
|
|
1394
|
-
Name?: string;
|
|
1395
|
-
VersioningSupported?: boolean;
|
|
1396
|
-
Description?: string;
|
|
1397
|
+
VendorName?: string | undefined;
|
|
1398
|
+
Name?: string | undefined;
|
|
1399
|
+
VersioningSupported?: boolean | undefined;
|
|
1400
|
+
Description?: string | undefined;
|
|
1397
1401
|
}
|
|
1398
1402
|
export interface ListAvailableManagedRuleGroupsResponse {
|
|
1399
|
-
NextMarker?: string;
|
|
1400
|
-
ManagedRuleGroups?: ManagedRuleGroupSummary[];
|
|
1403
|
+
NextMarker?: string | undefined;
|
|
1404
|
+
ManagedRuleGroups?: ManagedRuleGroupSummary[] | undefined;
|
|
1401
1405
|
}
|
|
1402
1406
|
export interface ListAvailableManagedRuleGroupVersionsRequest {
|
|
1403
1407
|
VendorName: string | undefined;
|
|
1404
1408
|
Name: string | undefined;
|
|
1405
1409
|
Scope: Scope | undefined;
|
|
1406
|
-
NextMarker?: string;
|
|
1407
|
-
Limit?: number;
|
|
1410
|
+
NextMarker?: string | undefined;
|
|
1411
|
+
Limit?: number | undefined;
|
|
1408
1412
|
}
|
|
1409
1413
|
export interface ManagedRuleGroupVersion {
|
|
1410
|
-
Name?: string;
|
|
1411
|
-
LastUpdateTimestamp?: Date;
|
|
1414
|
+
Name?: string | undefined;
|
|
1415
|
+
LastUpdateTimestamp?: Date | undefined;
|
|
1412
1416
|
}
|
|
1413
1417
|
export interface ListAvailableManagedRuleGroupVersionsResponse {
|
|
1414
|
-
NextMarker?: string;
|
|
1415
|
-
Versions?: ManagedRuleGroupVersion[];
|
|
1416
|
-
CurrentDefaultVersion?: string;
|
|
1418
|
+
NextMarker?: string | undefined;
|
|
1419
|
+
Versions?: ManagedRuleGroupVersion[] | undefined;
|
|
1420
|
+
CurrentDefaultVersion?: string | undefined;
|
|
1417
1421
|
}
|
|
1418
1422
|
export interface ListIPSetsRequest {
|
|
1419
1423
|
Scope: Scope | undefined;
|
|
1420
|
-
NextMarker?: string;
|
|
1421
|
-
Limit?: number;
|
|
1424
|
+
NextMarker?: string | undefined;
|
|
1425
|
+
Limit?: number | undefined;
|
|
1422
1426
|
}
|
|
1423
1427
|
export interface ListIPSetsResponse {
|
|
1424
|
-
NextMarker?: string;
|
|
1425
|
-
IPSets?: IPSetSummary[];
|
|
1428
|
+
NextMarker?: string | undefined;
|
|
1429
|
+
IPSets?: IPSetSummary[] | undefined;
|
|
1426
1430
|
}
|
|
1427
1431
|
export interface ListLoggingConfigurationsRequest {
|
|
1428
1432
|
Scope: Scope | undefined;
|
|
1429
|
-
NextMarker?: string;
|
|
1430
|
-
Limit?: number;
|
|
1431
|
-
LogScope?: LogScope;
|
|
1433
|
+
NextMarker?: string | undefined;
|
|
1434
|
+
Limit?: number | undefined;
|
|
1435
|
+
LogScope?: LogScope | undefined;
|
|
1432
1436
|
}
|
|
1433
1437
|
export interface ListLoggingConfigurationsResponse {
|
|
1434
|
-
LoggingConfigurations?: LoggingConfiguration[];
|
|
1435
|
-
NextMarker?: string;
|
|
1438
|
+
LoggingConfigurations?: LoggingConfiguration[] | undefined;
|
|
1439
|
+
NextMarker?: string | undefined;
|
|
1436
1440
|
}
|
|
1437
1441
|
export interface ListManagedRuleSetsRequest {
|
|
1438
1442
|
Scope: Scope | undefined;
|
|
1439
|
-
NextMarker?: string;
|
|
1440
|
-
Limit?: number;
|
|
1443
|
+
NextMarker?: string | undefined;
|
|
1444
|
+
Limit?: number | undefined;
|
|
1441
1445
|
}
|
|
1442
1446
|
export interface ManagedRuleSetSummary {
|
|
1443
|
-
Name?: string;
|
|
1444
|
-
Id?: string;
|
|
1445
|
-
Description?: string;
|
|
1446
|
-
LockToken?: string;
|
|
1447
|
-
ARN?: string;
|
|
1448
|
-
LabelNamespace?: string;
|
|
1447
|
+
Name?: string | undefined;
|
|
1448
|
+
Id?: string | undefined;
|
|
1449
|
+
Description?: string | undefined;
|
|
1450
|
+
LockToken?: string | undefined;
|
|
1451
|
+
ARN?: string | undefined;
|
|
1452
|
+
LabelNamespace?: string | undefined;
|
|
1449
1453
|
}
|
|
1450
1454
|
export interface ListManagedRuleSetsResponse {
|
|
1451
|
-
NextMarker?: string;
|
|
1452
|
-
ManagedRuleSets?: ManagedRuleSetSummary[];
|
|
1455
|
+
NextMarker?: string | undefined;
|
|
1456
|
+
ManagedRuleSets?: ManagedRuleSetSummary[] | undefined;
|
|
1453
1457
|
}
|
|
1454
1458
|
export interface ListMobileSdkReleasesRequest {
|
|
1455
1459
|
Platform: Platform | undefined;
|
|
1456
|
-
NextMarker?: string;
|
|
1457
|
-
Limit?: number;
|
|
1460
|
+
NextMarker?: string | undefined;
|
|
1461
|
+
Limit?: number | undefined;
|
|
1458
1462
|
}
|
|
1459
1463
|
export interface ReleaseSummary {
|
|
1460
|
-
ReleaseVersion?: string;
|
|
1461
|
-
Timestamp?: Date;
|
|
1464
|
+
ReleaseVersion?: string | undefined;
|
|
1465
|
+
Timestamp?: Date | undefined;
|
|
1462
1466
|
}
|
|
1463
1467
|
export interface ListMobileSdkReleasesResponse {
|
|
1464
|
-
ReleaseSummaries?: ReleaseSummary[];
|
|
1465
|
-
NextMarker?: string;
|
|
1468
|
+
ReleaseSummaries?: ReleaseSummary[] | undefined;
|
|
1469
|
+
NextMarker?: string | undefined;
|
|
1466
1470
|
}
|
|
1467
1471
|
export interface ListRegexPatternSetsRequest {
|
|
1468
1472
|
Scope: Scope | undefined;
|
|
1469
|
-
NextMarker?: string;
|
|
1470
|
-
Limit?: number;
|
|
1473
|
+
NextMarker?: string | undefined;
|
|
1474
|
+
Limit?: number | undefined;
|
|
1471
1475
|
}
|
|
1472
1476
|
export interface ListRegexPatternSetsResponse {
|
|
1473
|
-
NextMarker?: string;
|
|
1474
|
-
RegexPatternSets?: RegexPatternSetSummary[];
|
|
1477
|
+
NextMarker?: string | undefined;
|
|
1478
|
+
RegexPatternSets?: RegexPatternSetSummary[] | undefined;
|
|
1475
1479
|
}
|
|
1476
1480
|
export declare const ResourceType: {
|
|
1477
1481
|
readonly API_GATEWAY: "API_GATEWAY";
|
|
@@ -1484,52 +1488,52 @@ export declare const ResourceType: {
|
|
|
1484
1488
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
1485
1489
|
export interface ListResourcesForWebACLRequest {
|
|
1486
1490
|
WebACLArn: string | undefined;
|
|
1487
|
-
ResourceType?: ResourceType;
|
|
1491
|
+
ResourceType?: ResourceType | undefined;
|
|
1488
1492
|
}
|
|
1489
1493
|
export interface ListResourcesForWebACLResponse {
|
|
1490
|
-
ResourceArns?: string[];
|
|
1494
|
+
ResourceArns?: string[] | undefined;
|
|
1491
1495
|
}
|
|
1492
1496
|
export interface ListRuleGroupsRequest {
|
|
1493
1497
|
Scope: Scope | undefined;
|
|
1494
|
-
NextMarker?: string;
|
|
1495
|
-
Limit?: number;
|
|
1498
|
+
NextMarker?: string | undefined;
|
|
1499
|
+
Limit?: number | undefined;
|
|
1496
1500
|
}
|
|
1497
1501
|
export interface ListRuleGroupsResponse {
|
|
1498
|
-
NextMarker?: string;
|
|
1499
|
-
RuleGroups?: RuleGroupSummary[];
|
|
1502
|
+
NextMarker?: string | undefined;
|
|
1503
|
+
RuleGroups?: RuleGroupSummary[] | undefined;
|
|
1500
1504
|
}
|
|
1501
1505
|
export interface ListTagsForResourceRequest {
|
|
1502
|
-
NextMarker?: string;
|
|
1503
|
-
Limit?: number;
|
|
1506
|
+
NextMarker?: string | undefined;
|
|
1507
|
+
Limit?: number | undefined;
|
|
1504
1508
|
ResourceARN: string | undefined;
|
|
1505
1509
|
}
|
|
1506
1510
|
export interface TagInfoForResource {
|
|
1507
|
-
ResourceARN?: string;
|
|
1508
|
-
TagList?: Tag[];
|
|
1511
|
+
ResourceARN?: string | undefined;
|
|
1512
|
+
TagList?: Tag[] | undefined;
|
|
1509
1513
|
}
|
|
1510
1514
|
export interface ListTagsForResourceResponse {
|
|
1511
|
-
NextMarker?: string;
|
|
1512
|
-
TagInfoForResource?: TagInfoForResource;
|
|
1515
|
+
NextMarker?: string | undefined;
|
|
1516
|
+
TagInfoForResource?: TagInfoForResource | undefined;
|
|
1513
1517
|
}
|
|
1514
1518
|
export interface ListWebACLsRequest {
|
|
1515
1519
|
Scope: Scope | undefined;
|
|
1516
|
-
NextMarker?: string;
|
|
1517
|
-
Limit?: number;
|
|
1520
|
+
NextMarker?: string | undefined;
|
|
1521
|
+
Limit?: number | undefined;
|
|
1518
1522
|
}
|
|
1519
1523
|
export interface ListWebACLsResponse {
|
|
1520
|
-
NextMarker?: string;
|
|
1521
|
-
WebACLs?: WebACLSummary[];
|
|
1524
|
+
NextMarker?: string | undefined;
|
|
1525
|
+
WebACLs?: WebACLSummary[] | undefined;
|
|
1522
1526
|
}
|
|
1523
1527
|
export interface PutLoggingConfigurationRequest {
|
|
1524
1528
|
LoggingConfiguration: LoggingConfiguration | undefined;
|
|
1525
1529
|
}
|
|
1526
1530
|
export interface PutLoggingConfigurationResponse {
|
|
1527
|
-
LoggingConfiguration?: LoggingConfiguration;
|
|
1531
|
+
LoggingConfiguration?: LoggingConfiguration | undefined;
|
|
1528
1532
|
}
|
|
1529
1533
|
export declare class WAFLogDestinationPermissionIssueException extends __BaseException {
|
|
1530
1534
|
readonly name: "WAFLogDestinationPermissionIssueException";
|
|
1531
1535
|
readonly $fault: "client";
|
|
1532
|
-
Message?: string;
|
|
1536
|
+
Message?: string | undefined;
|
|
1533
1537
|
constructor(
|
|
1534
1538
|
opts: __ExceptionOptionType<
|
|
1535
1539
|
WAFLogDestinationPermissionIssueException,
|
|
@@ -1548,19 +1552,19 @@ export declare class WAFServiceLinkedRoleErrorException extends __BaseException
|
|
|
1548
1552
|
);
|
|
1549
1553
|
}
|
|
1550
1554
|
export interface VersionToPublish {
|
|
1551
|
-
AssociatedRuleGroupArn?: string;
|
|
1552
|
-
ForecastedLifetime?: number;
|
|
1555
|
+
AssociatedRuleGroupArn?: string | undefined;
|
|
1556
|
+
ForecastedLifetime?: number | undefined;
|
|
1553
1557
|
}
|
|
1554
1558
|
export interface PutManagedRuleSetVersionsRequest {
|
|
1555
1559
|
Name: string | undefined;
|
|
1556
1560
|
Scope: Scope | undefined;
|
|
1557
1561
|
Id: string | undefined;
|
|
1558
1562
|
LockToken: string | undefined;
|
|
1559
|
-
RecommendedVersion?: string;
|
|
1560
|
-
VersionsToPublish?: Record<string, VersionToPublish
|
|
1563
|
+
RecommendedVersion?: string | undefined;
|
|
1564
|
+
VersionsToPublish?: Record<string, VersionToPublish> | undefined;
|
|
1561
1565
|
}
|
|
1562
1566
|
export interface PutManagedRuleSetVersionsResponse {
|
|
1563
|
-
NextLockToken?: string;
|
|
1567
|
+
NextLockToken?: string | undefined;
|
|
1564
1568
|
}
|
|
1565
1569
|
export interface PutPermissionPolicyRequest {
|
|
1566
1570
|
ResourceArn: string | undefined;
|
|
@@ -1570,7 +1574,7 @@ export interface PutPermissionPolicyResponse {}
|
|
|
1570
1574
|
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
1571
1575
|
readonly name: "WAFInvalidPermissionPolicyException";
|
|
1572
1576
|
readonly $fault: "client";
|
|
1573
|
-
Message?: string;
|
|
1577
|
+
Message?: string | undefined;
|
|
1574
1578
|
constructor(
|
|
1575
1579
|
opts: __ExceptionOptionType<
|
|
1576
1580
|
WAFInvalidPermissionPolicyException,
|
|
@@ -1592,12 +1596,12 @@ export interface UpdateIPSetRequest {
|
|
|
1592
1596
|
Name: string | undefined;
|
|
1593
1597
|
Scope: Scope | undefined;
|
|
1594
1598
|
Id: string | undefined;
|
|
1595
|
-
Description?: string;
|
|
1599
|
+
Description?: string | undefined;
|
|
1596
1600
|
Addresses: string[] | undefined;
|
|
1597
1601
|
LockToken: string | undefined;
|
|
1598
1602
|
}
|
|
1599
1603
|
export interface UpdateIPSetResponse {
|
|
1600
|
-
NextLockToken?: string;
|
|
1604
|
+
NextLockToken?: string | undefined;
|
|
1601
1605
|
}
|
|
1602
1606
|
export interface UpdateManagedRuleSetVersionExpiryDateRequest {
|
|
1603
1607
|
Name: string | undefined;
|
|
@@ -1608,74 +1612,76 @@ export interface UpdateManagedRuleSetVersionExpiryDateRequest {
|
|
|
1608
1612
|
ExpiryTimestamp: Date | undefined;
|
|
1609
1613
|
}
|
|
1610
1614
|
export interface UpdateManagedRuleSetVersionExpiryDateResponse {
|
|
1611
|
-
ExpiringVersion?: string;
|
|
1612
|
-
ExpiryTimestamp?: Date;
|
|
1613
|
-
NextLockToken?: string;
|
|
1615
|
+
ExpiringVersion?: string | undefined;
|
|
1616
|
+
ExpiryTimestamp?: Date | undefined;
|
|
1617
|
+
NextLockToken?: string | undefined;
|
|
1614
1618
|
}
|
|
1615
1619
|
export interface UpdateRegexPatternSetRequest {
|
|
1616
1620
|
Name: string | undefined;
|
|
1617
1621
|
Scope: Scope | undefined;
|
|
1618
1622
|
Id: string | undefined;
|
|
1619
|
-
Description?: string;
|
|
1623
|
+
Description?: string | undefined;
|
|
1620
1624
|
RegularExpressionList: Regex[] | undefined;
|
|
1621
1625
|
LockToken: string | undefined;
|
|
1622
1626
|
}
|
|
1623
1627
|
export interface UpdateRegexPatternSetResponse {
|
|
1624
|
-
NextLockToken?: string;
|
|
1628
|
+
NextLockToken?: string | undefined;
|
|
1625
1629
|
}
|
|
1626
1630
|
export interface UpdateRuleGroupResponse {
|
|
1627
|
-
NextLockToken?: string;
|
|
1631
|
+
NextLockToken?: string | undefined;
|
|
1628
1632
|
}
|
|
1629
1633
|
export interface UpdateWebACLResponse {
|
|
1630
|
-
NextLockToken?: string;
|
|
1634
|
+
NextLockToken?: string | undefined;
|
|
1631
1635
|
}
|
|
1632
1636
|
export interface Statement {
|
|
1633
|
-
ByteMatchStatement?: ByteMatchStatement;
|
|
1634
|
-
SqliMatchStatement?: SqliMatchStatement;
|
|
1635
|
-
XssMatchStatement?: XssMatchStatement;
|
|
1636
|
-
SizeConstraintStatement?: SizeConstraintStatement;
|
|
1637
|
-
GeoMatchStatement?: GeoMatchStatement;
|
|
1638
|
-
RuleGroupReferenceStatement?: RuleGroupReferenceStatement;
|
|
1639
|
-
IPSetReferenceStatement?: IPSetReferenceStatement;
|
|
1640
|
-
RegexPatternSetReferenceStatement?:
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1637
|
+
ByteMatchStatement?: ByteMatchStatement | undefined;
|
|
1638
|
+
SqliMatchStatement?: SqliMatchStatement | undefined;
|
|
1639
|
+
XssMatchStatement?: XssMatchStatement | undefined;
|
|
1640
|
+
SizeConstraintStatement?: SizeConstraintStatement | undefined;
|
|
1641
|
+
GeoMatchStatement?: GeoMatchStatement | undefined;
|
|
1642
|
+
RuleGroupReferenceStatement?: RuleGroupReferenceStatement | undefined;
|
|
1643
|
+
IPSetReferenceStatement?: IPSetReferenceStatement | undefined;
|
|
1644
|
+
RegexPatternSetReferenceStatement?:
|
|
1645
|
+
| RegexPatternSetReferenceStatement
|
|
1646
|
+
| undefined;
|
|
1647
|
+
RateBasedStatement?: RateBasedStatement | undefined;
|
|
1648
|
+
AndStatement?: AndStatement | undefined;
|
|
1649
|
+
OrStatement?: OrStatement | undefined;
|
|
1650
|
+
NotStatement?: NotStatement | undefined;
|
|
1651
|
+
ManagedRuleGroupStatement?: ManagedRuleGroupStatement | undefined;
|
|
1652
|
+
LabelMatchStatement?: LabelMatchStatement | undefined;
|
|
1653
|
+
RegexMatchStatement?: RegexMatchStatement | undefined;
|
|
1648
1654
|
}
|
|
1649
1655
|
export interface ManagedRuleGroupStatement {
|
|
1650
1656
|
VendorName: string | undefined;
|
|
1651
1657
|
Name: string | undefined;
|
|
1652
|
-
Version?: string;
|
|
1653
|
-
ExcludedRules?: ExcludedRule[];
|
|
1654
|
-
ScopeDownStatement?: Statement;
|
|
1655
|
-
ManagedRuleGroupConfigs?: ManagedRuleGroupConfig[];
|
|
1656
|
-
RuleActionOverrides?: RuleActionOverride[];
|
|
1658
|
+
Version?: string | undefined;
|
|
1659
|
+
ExcludedRules?: ExcludedRule[] | undefined;
|
|
1660
|
+
ScopeDownStatement?: Statement | undefined;
|
|
1661
|
+
ManagedRuleGroupConfigs?: ManagedRuleGroupConfig[] | undefined;
|
|
1662
|
+
RuleActionOverrides?: RuleActionOverride[] | undefined;
|
|
1657
1663
|
}
|
|
1658
1664
|
export interface NotStatement {
|
|
1659
1665
|
Statement: Statement | undefined;
|
|
1660
1666
|
}
|
|
1661
1667
|
export interface RateBasedStatement {
|
|
1662
1668
|
Limit: number | undefined;
|
|
1663
|
-
EvaluationWindowSec?: number;
|
|
1669
|
+
EvaluationWindowSec?: number | undefined;
|
|
1664
1670
|
AggregateKeyType: RateBasedStatementAggregateKeyType | undefined;
|
|
1665
|
-
ScopeDownStatement?: Statement;
|
|
1666
|
-
ForwardedIPConfig?: ForwardedIPConfig;
|
|
1667
|
-
CustomKeys?: RateBasedStatementCustomKey[];
|
|
1671
|
+
ScopeDownStatement?: Statement | undefined;
|
|
1672
|
+
ForwardedIPConfig?: ForwardedIPConfig | undefined;
|
|
1673
|
+
CustomKeys?: RateBasedStatementCustomKey[] | undefined;
|
|
1668
1674
|
}
|
|
1669
1675
|
export interface Rule {
|
|
1670
1676
|
Name: string | undefined;
|
|
1671
1677
|
Priority: number | undefined;
|
|
1672
1678
|
Statement: Statement | undefined;
|
|
1673
|
-
Action?: RuleAction;
|
|
1674
|
-
OverrideAction?: OverrideAction;
|
|
1675
|
-
RuleLabels?: Label[];
|
|
1679
|
+
Action?: RuleAction | undefined;
|
|
1680
|
+
OverrideAction?: OverrideAction | undefined;
|
|
1681
|
+
RuleLabels?: Label[] | undefined;
|
|
1676
1682
|
VisibilityConfig: VisibilityConfig | undefined;
|
|
1677
|
-
CaptchaConfig?: CaptchaConfig;
|
|
1678
|
-
ChallengeConfig?: ChallengeConfig;
|
|
1683
|
+
CaptchaConfig?: CaptchaConfig | undefined;
|
|
1684
|
+
ChallengeConfig?: ChallengeConfig | undefined;
|
|
1679
1685
|
}
|
|
1680
1686
|
export interface AndStatement {
|
|
1681
1687
|
Statements: Statement[] | undefined;
|
|
@@ -1684,8 +1690,8 @@ export interface OrStatement {
|
|
|
1684
1690
|
Statements: Statement[] | undefined;
|
|
1685
1691
|
}
|
|
1686
1692
|
export interface FirewallManagerStatement {
|
|
1687
|
-
ManagedRuleGroupStatement?: ManagedRuleGroupStatement;
|
|
1688
|
-
RuleGroupReferenceStatement?: RuleGroupReferenceStatement;
|
|
1693
|
+
ManagedRuleGroupStatement?: ManagedRuleGroupStatement | undefined;
|
|
1694
|
+
RuleGroupReferenceStatement?: RuleGroupReferenceStatement | undefined;
|
|
1689
1695
|
}
|
|
1690
1696
|
export interface FirewallManagerRuleGroup {
|
|
1691
1697
|
Name: string | undefined;
|
|
@@ -1702,93 +1708,93 @@ export interface CreateRuleGroupRequest {
|
|
|
1702
1708
|
Name: string | undefined;
|
|
1703
1709
|
Scope: Scope | undefined;
|
|
1704
1710
|
Capacity: number | undefined;
|
|
1705
|
-
Description?: string;
|
|
1706
|
-
Rules?: Rule[];
|
|
1711
|
+
Description?: string | undefined;
|
|
1712
|
+
Rules?: Rule[] | undefined;
|
|
1707
1713
|
VisibilityConfig: VisibilityConfig | undefined;
|
|
1708
|
-
Tags?: Tag[];
|
|
1709
|
-
CustomResponseBodies?: Record<string, CustomResponseBody
|
|
1714
|
+
Tags?: Tag[] | undefined;
|
|
1715
|
+
CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
|
|
1710
1716
|
}
|
|
1711
1717
|
export interface CreateWebACLRequest {
|
|
1712
1718
|
Name: string | undefined;
|
|
1713
1719
|
Scope: Scope | undefined;
|
|
1714
1720
|
DefaultAction: DefaultAction | undefined;
|
|
1715
|
-
Description?: string;
|
|
1716
|
-
Rules?: Rule[];
|
|
1721
|
+
Description?: string | undefined;
|
|
1722
|
+
Rules?: Rule[] | undefined;
|
|
1717
1723
|
VisibilityConfig: VisibilityConfig | undefined;
|
|
1718
|
-
Tags?: Tag[];
|
|
1719
|
-
CustomResponseBodies?: Record<string, CustomResponseBody
|
|
1720
|
-
CaptchaConfig?: CaptchaConfig;
|
|
1721
|
-
ChallengeConfig?: ChallengeConfig;
|
|
1722
|
-
TokenDomains?: string[];
|
|
1723
|
-
AssociationConfig?: AssociationConfig;
|
|
1724
|
+
Tags?: Tag[] | undefined;
|
|
1725
|
+
CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
|
|
1726
|
+
CaptchaConfig?: CaptchaConfig | undefined;
|
|
1727
|
+
ChallengeConfig?: ChallengeConfig | undefined;
|
|
1728
|
+
TokenDomains?: string[] | undefined;
|
|
1729
|
+
AssociationConfig?: AssociationConfig | undefined;
|
|
1724
1730
|
}
|
|
1725
1731
|
export interface RuleGroup {
|
|
1726
1732
|
Name: string | undefined;
|
|
1727
1733
|
Id: string | undefined;
|
|
1728
1734
|
Capacity: number | undefined;
|
|
1729
1735
|
ARN: string | undefined;
|
|
1730
|
-
Description?: string;
|
|
1731
|
-
Rules?: Rule[];
|
|
1736
|
+
Description?: string | undefined;
|
|
1737
|
+
Rules?: Rule[] | undefined;
|
|
1732
1738
|
VisibilityConfig: VisibilityConfig | undefined;
|
|
1733
|
-
LabelNamespace?: string;
|
|
1734
|
-
CustomResponseBodies?: Record<string, CustomResponseBody
|
|
1735
|
-
AvailableLabels?: LabelSummary[];
|
|
1736
|
-
ConsumedLabels?: LabelSummary[];
|
|
1739
|
+
LabelNamespace?: string | undefined;
|
|
1740
|
+
CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
|
|
1741
|
+
AvailableLabels?: LabelSummary[] | undefined;
|
|
1742
|
+
ConsumedLabels?: LabelSummary[] | undefined;
|
|
1737
1743
|
}
|
|
1738
1744
|
export interface UpdateRuleGroupRequest {
|
|
1739
1745
|
Name: string | undefined;
|
|
1740
1746
|
Scope: Scope | undefined;
|
|
1741
1747
|
Id: string | undefined;
|
|
1742
|
-
Description?: string;
|
|
1743
|
-
Rules?: Rule[];
|
|
1748
|
+
Description?: string | undefined;
|
|
1749
|
+
Rules?: Rule[] | undefined;
|
|
1744
1750
|
VisibilityConfig: VisibilityConfig | undefined;
|
|
1745
1751
|
LockToken: string | undefined;
|
|
1746
|
-
CustomResponseBodies?: Record<string, CustomResponseBody
|
|
1752
|
+
CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
|
|
1747
1753
|
}
|
|
1748
1754
|
export interface UpdateWebACLRequest {
|
|
1749
1755
|
Name: string | undefined;
|
|
1750
1756
|
Scope: Scope | undefined;
|
|
1751
1757
|
Id: string | undefined;
|
|
1752
1758
|
DefaultAction: DefaultAction | undefined;
|
|
1753
|
-
Description?: string;
|
|
1754
|
-
Rules?: Rule[];
|
|
1759
|
+
Description?: string | undefined;
|
|
1760
|
+
Rules?: Rule[] | undefined;
|
|
1755
1761
|
VisibilityConfig: VisibilityConfig | undefined;
|
|
1756
1762
|
LockToken: string | undefined;
|
|
1757
|
-
CustomResponseBodies?: Record<string, CustomResponseBody
|
|
1758
|
-
CaptchaConfig?: CaptchaConfig;
|
|
1759
|
-
ChallengeConfig?: ChallengeConfig;
|
|
1760
|
-
TokenDomains?: string[];
|
|
1761
|
-
AssociationConfig?: AssociationConfig;
|
|
1763
|
+
CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
|
|
1764
|
+
CaptchaConfig?: CaptchaConfig | undefined;
|
|
1765
|
+
ChallengeConfig?: ChallengeConfig | undefined;
|
|
1766
|
+
TokenDomains?: string[] | undefined;
|
|
1767
|
+
AssociationConfig?: AssociationConfig | undefined;
|
|
1762
1768
|
}
|
|
1763
1769
|
export interface GetRuleGroupResponse {
|
|
1764
|
-
RuleGroup?: RuleGroup;
|
|
1765
|
-
LockToken?: string;
|
|
1770
|
+
RuleGroup?: RuleGroup | undefined;
|
|
1771
|
+
LockToken?: string | undefined;
|
|
1766
1772
|
}
|
|
1767
1773
|
export interface WebACL {
|
|
1768
1774
|
Name: string | undefined;
|
|
1769
1775
|
Id: string | undefined;
|
|
1770
1776
|
ARN: string | undefined;
|
|
1771
1777
|
DefaultAction: DefaultAction | undefined;
|
|
1772
|
-
Description?: string;
|
|
1773
|
-
Rules?: Rule[];
|
|
1778
|
+
Description?: string | undefined;
|
|
1779
|
+
Rules?: Rule[] | undefined;
|
|
1774
1780
|
VisibilityConfig: VisibilityConfig | undefined;
|
|
1775
|
-
Capacity?: number;
|
|
1776
|
-
PreProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[];
|
|
1777
|
-
PostProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[];
|
|
1778
|
-
ManagedByFirewallManager?: boolean;
|
|
1779
|
-
LabelNamespace?: string;
|
|
1780
|
-
CustomResponseBodies?: Record<string, CustomResponseBody
|
|
1781
|
-
CaptchaConfig?: CaptchaConfig;
|
|
1782
|
-
ChallengeConfig?: ChallengeConfig;
|
|
1783
|
-
TokenDomains?: string[];
|
|
1784
|
-
AssociationConfig?: AssociationConfig;
|
|
1785
|
-
RetrofittedByFirewallManager?: boolean;
|
|
1781
|
+
Capacity?: number | undefined;
|
|
1782
|
+
PreProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | undefined;
|
|
1783
|
+
PostProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | undefined;
|
|
1784
|
+
ManagedByFirewallManager?: boolean | undefined;
|
|
1785
|
+
LabelNamespace?: string | undefined;
|
|
1786
|
+
CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
|
|
1787
|
+
CaptchaConfig?: CaptchaConfig | undefined;
|
|
1788
|
+
ChallengeConfig?: ChallengeConfig | undefined;
|
|
1789
|
+
TokenDomains?: string[] | undefined;
|
|
1790
|
+
AssociationConfig?: AssociationConfig | undefined;
|
|
1791
|
+
RetrofittedByFirewallManager?: boolean | undefined;
|
|
1786
1792
|
}
|
|
1787
1793
|
export interface GetWebACLForResourceResponse {
|
|
1788
|
-
WebACL?: WebACL;
|
|
1794
|
+
WebACL?: WebACL | undefined;
|
|
1789
1795
|
}
|
|
1790
1796
|
export interface GetWebACLResponse {
|
|
1791
|
-
WebACL?: WebACL;
|
|
1792
|
-
LockToken?: string;
|
|
1793
|
-
ApplicationIntegrationURL?: string;
|
|
1797
|
+
WebACL?: WebACL | undefined;
|
|
1798
|
+
LockToken?: string | undefined;
|
|
1799
|
+
ApplicationIntegrationURL?: string | undefined;
|
|
1794
1800
|
}
|