@aws-sdk/client-waf 3.933.0 → 3.935.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/index.js +372 -371
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +360 -0
- package/dist-es/models/errors.js +239 -0
- package/dist-es/models/models_0.js +1 -599
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +496 -0
- package/dist-types/models/errors.d.ts +392 -0
- package/dist-types/models/models_0.d.ts +1 -887
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +389 -0
- package/dist-types/ts3.4/models/errors.d.ts +163 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -547
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WAFServiceException as __BaseException } from "./WAFServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const WafActionType: {
|
|
8
|
-
readonly ALLOW: "ALLOW";
|
|
9
|
-
readonly BLOCK: "BLOCK";
|
|
10
|
-
readonly COUNT: "COUNT";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type WafActionType = (typeof WafActionType)[keyof typeof WafActionType];
|
|
1
|
+
import { ChangeAction, ChangeTokenStatus, ComparisonOperator, GeoMatchConstraintType, GeoMatchConstraintValue, IPSetDescriptorType, MatchFieldType, PositionalConstraint, PredicateType, RateKey, TextTransformation, WafActionType, WafOverrideActionType, WafRuleType } from "./enums";
|
|
16
2
|
/**
|
|
17
3
|
* <note>
|
|
18
4
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -71,18 +57,6 @@ export interface ExcludedRule {
|
|
|
71
57
|
*/
|
|
72
58
|
RuleId: string | undefined;
|
|
73
59
|
}
|
|
74
|
-
/**
|
|
75
|
-
* @public
|
|
76
|
-
* @enum
|
|
77
|
-
*/
|
|
78
|
-
export declare const WafOverrideActionType: {
|
|
79
|
-
readonly COUNT: "COUNT";
|
|
80
|
-
readonly NONE: "NONE";
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
85
|
-
export type WafOverrideActionType = (typeof WafOverrideActionType)[keyof typeof WafOverrideActionType];
|
|
86
60
|
/**
|
|
87
61
|
* <note>
|
|
88
62
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -103,19 +77,6 @@ export interface WafOverrideAction {
|
|
|
103
77
|
*/
|
|
104
78
|
Type: WafOverrideActionType | undefined;
|
|
105
79
|
}
|
|
106
|
-
/**
|
|
107
|
-
* @public
|
|
108
|
-
* @enum
|
|
109
|
-
*/
|
|
110
|
-
export declare const WafRuleType: {
|
|
111
|
-
readonly GROUP: "GROUP";
|
|
112
|
-
readonly RATE_BASED: "RATE_BASED";
|
|
113
|
-
readonly REGULAR: "REGULAR";
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* @public
|
|
117
|
-
*/
|
|
118
|
-
export type WafRuleType = (typeof WafRuleType)[keyof typeof WafRuleType];
|
|
119
80
|
/**
|
|
120
81
|
* <note>
|
|
121
82
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -252,23 +213,6 @@ export interface CreateByteMatchSetRequest {
|
|
|
252
213
|
*/
|
|
253
214
|
ChangeToken: string | undefined;
|
|
254
215
|
}
|
|
255
|
-
/**
|
|
256
|
-
* @public
|
|
257
|
-
* @enum
|
|
258
|
-
*/
|
|
259
|
-
export declare const MatchFieldType: {
|
|
260
|
-
readonly ALL_QUERY_ARGS: "ALL_QUERY_ARGS";
|
|
261
|
-
readonly BODY: "BODY";
|
|
262
|
-
readonly HEADER: "HEADER";
|
|
263
|
-
readonly METHOD: "METHOD";
|
|
264
|
-
readonly QUERY_STRING: "QUERY_STRING";
|
|
265
|
-
readonly SINGLE_QUERY_ARG: "SINGLE_QUERY_ARG";
|
|
266
|
-
readonly URI: "URI";
|
|
267
|
-
};
|
|
268
|
-
/**
|
|
269
|
-
* @public
|
|
270
|
-
*/
|
|
271
|
-
export type MatchFieldType = (typeof MatchFieldType)[keyof typeof MatchFieldType];
|
|
272
216
|
/**
|
|
273
217
|
* <note>
|
|
274
218
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -335,37 +279,6 @@ export interface FieldToMatch {
|
|
|
335
279
|
*/
|
|
336
280
|
Data?: string | undefined;
|
|
337
281
|
}
|
|
338
|
-
/**
|
|
339
|
-
* @public
|
|
340
|
-
* @enum
|
|
341
|
-
*/
|
|
342
|
-
export declare const PositionalConstraint: {
|
|
343
|
-
readonly CONTAINS: "CONTAINS";
|
|
344
|
-
readonly CONTAINS_WORD: "CONTAINS_WORD";
|
|
345
|
-
readonly ENDS_WITH: "ENDS_WITH";
|
|
346
|
-
readonly EXACTLY: "EXACTLY";
|
|
347
|
-
readonly STARTS_WITH: "STARTS_WITH";
|
|
348
|
-
};
|
|
349
|
-
/**
|
|
350
|
-
* @public
|
|
351
|
-
*/
|
|
352
|
-
export type PositionalConstraint = (typeof PositionalConstraint)[keyof typeof PositionalConstraint];
|
|
353
|
-
/**
|
|
354
|
-
* @public
|
|
355
|
-
* @enum
|
|
356
|
-
*/
|
|
357
|
-
export declare const TextTransformation: {
|
|
358
|
-
readonly CMD_LINE: "CMD_LINE";
|
|
359
|
-
readonly COMPRESS_WHITE_SPACE: "COMPRESS_WHITE_SPACE";
|
|
360
|
-
readonly HTML_ENTITY_DECODE: "HTML_ENTITY_DECODE";
|
|
361
|
-
readonly LOWERCASE: "LOWERCASE";
|
|
362
|
-
readonly NONE: "NONE";
|
|
363
|
-
readonly URL_DECODE: "URL_DECODE";
|
|
364
|
-
};
|
|
365
|
-
/**
|
|
366
|
-
* @public
|
|
367
|
-
*/
|
|
368
|
-
export type TextTransformation = (typeof TextTransformation)[keyof typeof TextTransformation];
|
|
369
282
|
/**
|
|
370
283
|
* <note>
|
|
371
284
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -654,162 +567,6 @@ export interface CreateByteMatchSetResponse {
|
|
|
654
567
|
*/
|
|
655
568
|
ChangeToken?: string | undefined;
|
|
656
569
|
}
|
|
657
|
-
/**
|
|
658
|
-
* <p>The name specified is invalid.</p>
|
|
659
|
-
* @public
|
|
660
|
-
*/
|
|
661
|
-
export declare class WAFDisallowedNameException extends __BaseException {
|
|
662
|
-
readonly name: "WAFDisallowedNameException";
|
|
663
|
-
readonly $fault: "client";
|
|
664
|
-
/**
|
|
665
|
-
* @internal
|
|
666
|
-
*/
|
|
667
|
-
constructor(opts: __ExceptionOptionType<WAFDisallowedNameException, __BaseException>);
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
671
|
-
* @public
|
|
672
|
-
*/
|
|
673
|
-
export declare class WAFInternalErrorException extends __BaseException {
|
|
674
|
-
readonly name: "WAFInternalErrorException";
|
|
675
|
-
readonly $fault: "server";
|
|
676
|
-
/**
|
|
677
|
-
* @internal
|
|
678
|
-
*/
|
|
679
|
-
constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
|
|
680
|
-
}
|
|
681
|
-
/**
|
|
682
|
-
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
683
|
-
* @public
|
|
684
|
-
*/
|
|
685
|
-
export declare class WAFInvalidAccountException extends __BaseException {
|
|
686
|
-
readonly name: "WAFInvalidAccountException";
|
|
687
|
-
readonly $fault: "client";
|
|
688
|
-
/**
|
|
689
|
-
* @internal
|
|
690
|
-
*/
|
|
691
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidAccountException, __BaseException>);
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* @public
|
|
695
|
-
* @enum
|
|
696
|
-
*/
|
|
697
|
-
export declare const ParameterExceptionField: {
|
|
698
|
-
readonly BYTE_MATCH_FIELD_TYPE: "BYTE_MATCH_FIELD_TYPE";
|
|
699
|
-
readonly BYTE_MATCH_POSITIONAL_CONSTRAINT: "BYTE_MATCH_POSITIONAL_CONSTRAINT";
|
|
700
|
-
readonly BYTE_MATCH_TEXT_TRANSFORMATION: "BYTE_MATCH_TEXT_TRANSFORMATION";
|
|
701
|
-
readonly CHANGE_ACTION: "CHANGE_ACTION";
|
|
702
|
-
readonly GEO_MATCH_LOCATION_TYPE: "GEO_MATCH_LOCATION_TYPE";
|
|
703
|
-
readonly GEO_MATCH_LOCATION_VALUE: "GEO_MATCH_LOCATION_VALUE";
|
|
704
|
-
readonly IPSET_TYPE: "IPSET_TYPE";
|
|
705
|
-
readonly NEXT_MARKER: "NEXT_MARKER";
|
|
706
|
-
readonly PREDICATE_TYPE: "PREDICATE_TYPE";
|
|
707
|
-
readonly RATE_KEY: "RATE_KEY";
|
|
708
|
-
readonly RESOURCE_ARN: "RESOURCE_ARN";
|
|
709
|
-
readonly RULE_TYPE: "RULE_TYPE";
|
|
710
|
-
readonly SIZE_CONSTRAINT_COMPARISON_OPERATOR: "SIZE_CONSTRAINT_COMPARISON_OPERATOR";
|
|
711
|
-
readonly SQL_INJECTION_MATCH_FIELD_TYPE: "SQL_INJECTION_MATCH_FIELD_TYPE";
|
|
712
|
-
readonly TAGS: "TAGS";
|
|
713
|
-
readonly TAG_KEYS: "TAG_KEYS";
|
|
714
|
-
readonly WAF_ACTION: "WAF_ACTION";
|
|
715
|
-
readonly WAF_OVERRIDE_ACTION: "WAF_OVERRIDE_ACTION";
|
|
716
|
-
};
|
|
717
|
-
/**
|
|
718
|
-
* @public
|
|
719
|
-
*/
|
|
720
|
-
export type ParameterExceptionField = (typeof ParameterExceptionField)[keyof typeof ParameterExceptionField];
|
|
721
|
-
/**
|
|
722
|
-
* @public
|
|
723
|
-
* @enum
|
|
724
|
-
*/
|
|
725
|
-
export declare const ParameterExceptionReason: {
|
|
726
|
-
readonly ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT";
|
|
727
|
-
readonly ILLEGAL_COMBINATION: "ILLEGAL_COMBINATION";
|
|
728
|
-
readonly INVALID_OPTION: "INVALID_OPTION";
|
|
729
|
-
readonly INVALID_TAG_KEY: "INVALID_TAG_KEY";
|
|
730
|
-
};
|
|
731
|
-
/**
|
|
732
|
-
* @public
|
|
733
|
-
*/
|
|
734
|
-
export type ParameterExceptionReason = (typeof ParameterExceptionReason)[keyof typeof ParameterExceptionReason];
|
|
735
|
-
/**
|
|
736
|
-
* <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
|
|
737
|
-
* <ul>
|
|
738
|
-
* <li>
|
|
739
|
-
* <p>You specified an invalid parameter name.</p>
|
|
740
|
-
* </li>
|
|
741
|
-
* <li>
|
|
742
|
-
* <p>You specified an invalid value.</p>
|
|
743
|
-
* </li>
|
|
744
|
-
* <li>
|
|
745
|
-
* <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
|
|
746
|
-
* using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
|
|
747
|
-
* </li>
|
|
748
|
-
* <li>
|
|
749
|
-
* <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
|
|
750
|
-
* <code>Type</code> other than
|
|
751
|
-
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
752
|
-
* </li>
|
|
753
|
-
* <li>
|
|
754
|
-
* <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
|
|
755
|
-
* </li>
|
|
756
|
-
* <li>
|
|
757
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
|
|
758
|
-
* <code>Type</code> other than
|
|
759
|
-
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
760
|
-
* </li>
|
|
761
|
-
* <li>
|
|
762
|
-
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
|
|
763
|
-
* <code>Type</code> other than
|
|
764
|
-
* HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
|
|
765
|
-
* </li>
|
|
766
|
-
* <li>
|
|
767
|
-
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
|
|
768
|
-
* but no value for <code>Data</code>.</p>
|
|
769
|
-
* </li>
|
|
770
|
-
* <li>
|
|
771
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
|
|
772
|
-
* </li>
|
|
773
|
-
* </ul>
|
|
774
|
-
* @public
|
|
775
|
-
*/
|
|
776
|
-
export declare class WAFInvalidParameterException extends __BaseException {
|
|
777
|
-
readonly name: "WAFInvalidParameterException";
|
|
778
|
-
readonly $fault: "client";
|
|
779
|
-
field?: ParameterExceptionField | undefined;
|
|
780
|
-
parameter?: string | undefined;
|
|
781
|
-
reason?: ParameterExceptionReason | undefined;
|
|
782
|
-
/**
|
|
783
|
-
* @internal
|
|
784
|
-
*/
|
|
785
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
|
|
786
|
-
}
|
|
787
|
-
/**
|
|
788
|
-
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
789
|
-
* for an AWS account. For more information, see
|
|
790
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
791
|
-
* @public
|
|
792
|
-
*/
|
|
793
|
-
export declare class WAFLimitsExceededException extends __BaseException {
|
|
794
|
-
readonly name: "WAFLimitsExceededException";
|
|
795
|
-
readonly $fault: "client";
|
|
796
|
-
/**
|
|
797
|
-
* @internal
|
|
798
|
-
*/
|
|
799
|
-
constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
|
|
800
|
-
}
|
|
801
|
-
/**
|
|
802
|
-
* <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
|
|
803
|
-
* @public
|
|
804
|
-
*/
|
|
805
|
-
export declare class WAFStaleDataException extends __BaseException {
|
|
806
|
-
readonly name: "WAFStaleDataException";
|
|
807
|
-
readonly $fault: "client";
|
|
808
|
-
/**
|
|
809
|
-
* @internal
|
|
810
|
-
*/
|
|
811
|
-
constructor(opts: __ExceptionOptionType<WAFStaleDataException, __BaseException>);
|
|
812
|
-
}
|
|
813
570
|
/**
|
|
814
571
|
* @public
|
|
815
572
|
*/
|
|
@@ -825,276 +582,6 @@ export interface CreateGeoMatchSetRequest {
|
|
|
825
582
|
*/
|
|
826
583
|
ChangeToken: string | undefined;
|
|
827
584
|
}
|
|
828
|
-
/**
|
|
829
|
-
* @public
|
|
830
|
-
* @enum
|
|
831
|
-
*/
|
|
832
|
-
export declare const GeoMatchConstraintType: {
|
|
833
|
-
readonly Country: "Country";
|
|
834
|
-
};
|
|
835
|
-
/**
|
|
836
|
-
* @public
|
|
837
|
-
*/
|
|
838
|
-
export type GeoMatchConstraintType = (typeof GeoMatchConstraintType)[keyof typeof GeoMatchConstraintType];
|
|
839
|
-
/**
|
|
840
|
-
* @public
|
|
841
|
-
* @enum
|
|
842
|
-
*/
|
|
843
|
-
export declare const GeoMatchConstraintValue: {
|
|
844
|
-
readonly AD: "AD";
|
|
845
|
-
readonly AE: "AE";
|
|
846
|
-
readonly AF: "AF";
|
|
847
|
-
readonly AG: "AG";
|
|
848
|
-
readonly AI: "AI";
|
|
849
|
-
readonly AL: "AL";
|
|
850
|
-
readonly AM: "AM";
|
|
851
|
-
readonly AO: "AO";
|
|
852
|
-
readonly AQ: "AQ";
|
|
853
|
-
readonly AR: "AR";
|
|
854
|
-
readonly AS: "AS";
|
|
855
|
-
readonly AT: "AT";
|
|
856
|
-
readonly AU: "AU";
|
|
857
|
-
readonly AW: "AW";
|
|
858
|
-
readonly AX: "AX";
|
|
859
|
-
readonly AZ: "AZ";
|
|
860
|
-
readonly BA: "BA";
|
|
861
|
-
readonly BB: "BB";
|
|
862
|
-
readonly BD: "BD";
|
|
863
|
-
readonly BE: "BE";
|
|
864
|
-
readonly BF: "BF";
|
|
865
|
-
readonly BG: "BG";
|
|
866
|
-
readonly BH: "BH";
|
|
867
|
-
readonly BI: "BI";
|
|
868
|
-
readonly BJ: "BJ";
|
|
869
|
-
readonly BL: "BL";
|
|
870
|
-
readonly BM: "BM";
|
|
871
|
-
readonly BN: "BN";
|
|
872
|
-
readonly BO: "BO";
|
|
873
|
-
readonly BQ: "BQ";
|
|
874
|
-
readonly BR: "BR";
|
|
875
|
-
readonly BS: "BS";
|
|
876
|
-
readonly BT: "BT";
|
|
877
|
-
readonly BV: "BV";
|
|
878
|
-
readonly BW: "BW";
|
|
879
|
-
readonly BY: "BY";
|
|
880
|
-
readonly BZ: "BZ";
|
|
881
|
-
readonly CA: "CA";
|
|
882
|
-
readonly CC: "CC";
|
|
883
|
-
readonly CD: "CD";
|
|
884
|
-
readonly CF: "CF";
|
|
885
|
-
readonly CG: "CG";
|
|
886
|
-
readonly CH: "CH";
|
|
887
|
-
readonly CI: "CI";
|
|
888
|
-
readonly CK: "CK";
|
|
889
|
-
readonly CL: "CL";
|
|
890
|
-
readonly CM: "CM";
|
|
891
|
-
readonly CN: "CN";
|
|
892
|
-
readonly CO: "CO";
|
|
893
|
-
readonly CR: "CR";
|
|
894
|
-
readonly CU: "CU";
|
|
895
|
-
readonly CV: "CV";
|
|
896
|
-
readonly CW: "CW";
|
|
897
|
-
readonly CX: "CX";
|
|
898
|
-
readonly CY: "CY";
|
|
899
|
-
readonly CZ: "CZ";
|
|
900
|
-
readonly DE: "DE";
|
|
901
|
-
readonly DJ: "DJ";
|
|
902
|
-
readonly DK: "DK";
|
|
903
|
-
readonly DM: "DM";
|
|
904
|
-
readonly DO: "DO";
|
|
905
|
-
readonly DZ: "DZ";
|
|
906
|
-
readonly EC: "EC";
|
|
907
|
-
readonly EE: "EE";
|
|
908
|
-
readonly EG: "EG";
|
|
909
|
-
readonly EH: "EH";
|
|
910
|
-
readonly ER: "ER";
|
|
911
|
-
readonly ES: "ES";
|
|
912
|
-
readonly ET: "ET";
|
|
913
|
-
readonly FI: "FI";
|
|
914
|
-
readonly FJ: "FJ";
|
|
915
|
-
readonly FK: "FK";
|
|
916
|
-
readonly FM: "FM";
|
|
917
|
-
readonly FO: "FO";
|
|
918
|
-
readonly FR: "FR";
|
|
919
|
-
readonly GA: "GA";
|
|
920
|
-
readonly GB: "GB";
|
|
921
|
-
readonly GD: "GD";
|
|
922
|
-
readonly GE: "GE";
|
|
923
|
-
readonly GF: "GF";
|
|
924
|
-
readonly GG: "GG";
|
|
925
|
-
readonly GH: "GH";
|
|
926
|
-
readonly GI: "GI";
|
|
927
|
-
readonly GL: "GL";
|
|
928
|
-
readonly GM: "GM";
|
|
929
|
-
readonly GN: "GN";
|
|
930
|
-
readonly GP: "GP";
|
|
931
|
-
readonly GQ: "GQ";
|
|
932
|
-
readonly GR: "GR";
|
|
933
|
-
readonly GS: "GS";
|
|
934
|
-
readonly GT: "GT";
|
|
935
|
-
readonly GU: "GU";
|
|
936
|
-
readonly GW: "GW";
|
|
937
|
-
readonly GY: "GY";
|
|
938
|
-
readonly HK: "HK";
|
|
939
|
-
readonly HM: "HM";
|
|
940
|
-
readonly HN: "HN";
|
|
941
|
-
readonly HR: "HR";
|
|
942
|
-
readonly HT: "HT";
|
|
943
|
-
readonly HU: "HU";
|
|
944
|
-
readonly ID: "ID";
|
|
945
|
-
readonly IE: "IE";
|
|
946
|
-
readonly IL: "IL";
|
|
947
|
-
readonly IM: "IM";
|
|
948
|
-
readonly IN: "IN";
|
|
949
|
-
readonly IO: "IO";
|
|
950
|
-
readonly IQ: "IQ";
|
|
951
|
-
readonly IR: "IR";
|
|
952
|
-
readonly IS: "IS";
|
|
953
|
-
readonly IT: "IT";
|
|
954
|
-
readonly JE: "JE";
|
|
955
|
-
readonly JM: "JM";
|
|
956
|
-
readonly JO: "JO";
|
|
957
|
-
readonly JP: "JP";
|
|
958
|
-
readonly KE: "KE";
|
|
959
|
-
readonly KG: "KG";
|
|
960
|
-
readonly KH: "KH";
|
|
961
|
-
readonly KI: "KI";
|
|
962
|
-
readonly KM: "KM";
|
|
963
|
-
readonly KN: "KN";
|
|
964
|
-
readonly KP: "KP";
|
|
965
|
-
readonly KR: "KR";
|
|
966
|
-
readonly KW: "KW";
|
|
967
|
-
readonly KY: "KY";
|
|
968
|
-
readonly KZ: "KZ";
|
|
969
|
-
readonly LA: "LA";
|
|
970
|
-
readonly LB: "LB";
|
|
971
|
-
readonly LC: "LC";
|
|
972
|
-
readonly LI: "LI";
|
|
973
|
-
readonly LK: "LK";
|
|
974
|
-
readonly LR: "LR";
|
|
975
|
-
readonly LS: "LS";
|
|
976
|
-
readonly LT: "LT";
|
|
977
|
-
readonly LU: "LU";
|
|
978
|
-
readonly LV: "LV";
|
|
979
|
-
readonly LY: "LY";
|
|
980
|
-
readonly MA: "MA";
|
|
981
|
-
readonly MC: "MC";
|
|
982
|
-
readonly MD: "MD";
|
|
983
|
-
readonly ME: "ME";
|
|
984
|
-
readonly MF: "MF";
|
|
985
|
-
readonly MG: "MG";
|
|
986
|
-
readonly MH: "MH";
|
|
987
|
-
readonly MK: "MK";
|
|
988
|
-
readonly ML: "ML";
|
|
989
|
-
readonly MM: "MM";
|
|
990
|
-
readonly MN: "MN";
|
|
991
|
-
readonly MO: "MO";
|
|
992
|
-
readonly MP: "MP";
|
|
993
|
-
readonly MQ: "MQ";
|
|
994
|
-
readonly MR: "MR";
|
|
995
|
-
readonly MS: "MS";
|
|
996
|
-
readonly MT: "MT";
|
|
997
|
-
readonly MU: "MU";
|
|
998
|
-
readonly MV: "MV";
|
|
999
|
-
readonly MW: "MW";
|
|
1000
|
-
readonly MX: "MX";
|
|
1001
|
-
readonly MY: "MY";
|
|
1002
|
-
readonly MZ: "MZ";
|
|
1003
|
-
readonly NA: "NA";
|
|
1004
|
-
readonly NC: "NC";
|
|
1005
|
-
readonly NE: "NE";
|
|
1006
|
-
readonly NF: "NF";
|
|
1007
|
-
readonly NG: "NG";
|
|
1008
|
-
readonly NI: "NI";
|
|
1009
|
-
readonly NL: "NL";
|
|
1010
|
-
readonly NO: "NO";
|
|
1011
|
-
readonly NP: "NP";
|
|
1012
|
-
readonly NR: "NR";
|
|
1013
|
-
readonly NU: "NU";
|
|
1014
|
-
readonly NZ: "NZ";
|
|
1015
|
-
readonly OM: "OM";
|
|
1016
|
-
readonly PA: "PA";
|
|
1017
|
-
readonly PE: "PE";
|
|
1018
|
-
readonly PF: "PF";
|
|
1019
|
-
readonly PG: "PG";
|
|
1020
|
-
readonly PH: "PH";
|
|
1021
|
-
readonly PK: "PK";
|
|
1022
|
-
readonly PL: "PL";
|
|
1023
|
-
readonly PM: "PM";
|
|
1024
|
-
readonly PN: "PN";
|
|
1025
|
-
readonly PR: "PR";
|
|
1026
|
-
readonly PS: "PS";
|
|
1027
|
-
readonly PT: "PT";
|
|
1028
|
-
readonly PW: "PW";
|
|
1029
|
-
readonly PY: "PY";
|
|
1030
|
-
readonly QA: "QA";
|
|
1031
|
-
readonly RE: "RE";
|
|
1032
|
-
readonly RO: "RO";
|
|
1033
|
-
readonly RS: "RS";
|
|
1034
|
-
readonly RU: "RU";
|
|
1035
|
-
readonly RW: "RW";
|
|
1036
|
-
readonly SA: "SA";
|
|
1037
|
-
readonly SB: "SB";
|
|
1038
|
-
readonly SC: "SC";
|
|
1039
|
-
readonly SD: "SD";
|
|
1040
|
-
readonly SE: "SE";
|
|
1041
|
-
readonly SG: "SG";
|
|
1042
|
-
readonly SH: "SH";
|
|
1043
|
-
readonly SI: "SI";
|
|
1044
|
-
readonly SJ: "SJ";
|
|
1045
|
-
readonly SK: "SK";
|
|
1046
|
-
readonly SL: "SL";
|
|
1047
|
-
readonly SM: "SM";
|
|
1048
|
-
readonly SN: "SN";
|
|
1049
|
-
readonly SO: "SO";
|
|
1050
|
-
readonly SR: "SR";
|
|
1051
|
-
readonly SS: "SS";
|
|
1052
|
-
readonly ST: "ST";
|
|
1053
|
-
readonly SV: "SV";
|
|
1054
|
-
readonly SX: "SX";
|
|
1055
|
-
readonly SY: "SY";
|
|
1056
|
-
readonly SZ: "SZ";
|
|
1057
|
-
readonly TC: "TC";
|
|
1058
|
-
readonly TD: "TD";
|
|
1059
|
-
readonly TF: "TF";
|
|
1060
|
-
readonly TG: "TG";
|
|
1061
|
-
readonly TH: "TH";
|
|
1062
|
-
readonly TJ: "TJ";
|
|
1063
|
-
readonly TK: "TK";
|
|
1064
|
-
readonly TL: "TL";
|
|
1065
|
-
readonly TM: "TM";
|
|
1066
|
-
readonly TN: "TN";
|
|
1067
|
-
readonly TO: "TO";
|
|
1068
|
-
readonly TR: "TR";
|
|
1069
|
-
readonly TT: "TT";
|
|
1070
|
-
readonly TV: "TV";
|
|
1071
|
-
readonly TW: "TW";
|
|
1072
|
-
readonly TZ: "TZ";
|
|
1073
|
-
readonly UA: "UA";
|
|
1074
|
-
readonly UG: "UG";
|
|
1075
|
-
readonly UM: "UM";
|
|
1076
|
-
readonly US: "US";
|
|
1077
|
-
readonly UY: "UY";
|
|
1078
|
-
readonly UZ: "UZ";
|
|
1079
|
-
readonly VA: "VA";
|
|
1080
|
-
readonly VC: "VC";
|
|
1081
|
-
readonly VE: "VE";
|
|
1082
|
-
readonly VG: "VG";
|
|
1083
|
-
readonly VI: "VI";
|
|
1084
|
-
readonly VN: "VN";
|
|
1085
|
-
readonly VU: "VU";
|
|
1086
|
-
readonly WF: "WF";
|
|
1087
|
-
readonly WS: "WS";
|
|
1088
|
-
readonly YE: "YE";
|
|
1089
|
-
readonly YT: "YT";
|
|
1090
|
-
readonly ZA: "ZA";
|
|
1091
|
-
readonly ZM: "ZM";
|
|
1092
|
-
readonly ZW: "ZW";
|
|
1093
|
-
};
|
|
1094
|
-
/**
|
|
1095
|
-
* @public
|
|
1096
|
-
*/
|
|
1097
|
-
export type GeoMatchConstraintValue = (typeof GeoMatchConstraintValue)[keyof typeof GeoMatchConstraintValue];
|
|
1098
585
|
/**
|
|
1099
586
|
* <note>
|
|
1100
587
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -1182,18 +669,6 @@ export interface CreateIPSetRequest {
|
|
|
1182
669
|
*/
|
|
1183
670
|
ChangeToken: string | undefined;
|
|
1184
671
|
}
|
|
1185
|
-
/**
|
|
1186
|
-
* @public
|
|
1187
|
-
* @enum
|
|
1188
|
-
*/
|
|
1189
|
-
export declare const IPSetDescriptorType: {
|
|
1190
|
-
readonly IPV4: "IPV4";
|
|
1191
|
-
readonly IPV6: "IPV6";
|
|
1192
|
-
};
|
|
1193
|
-
/**
|
|
1194
|
-
* @public
|
|
1195
|
-
*/
|
|
1196
|
-
export type IPSetDescriptorType = (typeof IPSetDescriptorType)[keyof typeof IPSetDescriptorType];
|
|
1197
672
|
/**
|
|
1198
673
|
* <note>
|
|
1199
674
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -1295,17 +770,6 @@ export interface CreateIPSetResponse {
|
|
|
1295
770
|
*/
|
|
1296
771
|
ChangeToken?: string | undefined;
|
|
1297
772
|
}
|
|
1298
|
-
/**
|
|
1299
|
-
* @public
|
|
1300
|
-
* @enum
|
|
1301
|
-
*/
|
|
1302
|
-
export declare const RateKey: {
|
|
1303
|
-
readonly IP: "IP";
|
|
1304
|
-
};
|
|
1305
|
-
/**
|
|
1306
|
-
* @public
|
|
1307
|
-
*/
|
|
1308
|
-
export type RateKey = (typeof RateKey)[keyof typeof RateKey];
|
|
1309
773
|
/**
|
|
1310
774
|
* <note>
|
|
1311
775
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -1379,23 +843,6 @@ export interface CreateRateBasedRuleRequest {
|
|
|
1379
843
|
*/
|
|
1380
844
|
Tags?: Tag[] | undefined;
|
|
1381
845
|
}
|
|
1382
|
-
/**
|
|
1383
|
-
* @public
|
|
1384
|
-
* @enum
|
|
1385
|
-
*/
|
|
1386
|
-
export declare const PredicateType: {
|
|
1387
|
-
readonly BYTE_MATCH: "ByteMatch";
|
|
1388
|
-
readonly GEO_MATCH: "GeoMatch";
|
|
1389
|
-
readonly IP_MATCH: "IPMatch";
|
|
1390
|
-
readonly REGEX_MATCH: "RegexMatch";
|
|
1391
|
-
readonly SIZE_CONSTRAINT: "SizeConstraint";
|
|
1392
|
-
readonly SQL_INJECTION_MATCH: "SqlInjectionMatch";
|
|
1393
|
-
readonly XSS_MATCH: "XssMatch";
|
|
1394
|
-
};
|
|
1395
|
-
/**
|
|
1396
|
-
* @public
|
|
1397
|
-
*/
|
|
1398
|
-
export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
|
|
1399
846
|
/**
|
|
1400
847
|
* <note>
|
|
1401
848
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -1528,42 +975,6 @@ export interface CreateRateBasedRuleResponse {
|
|
|
1528
975
|
*/
|
|
1529
976
|
ChangeToken?: string | undefined;
|
|
1530
977
|
}
|
|
1531
|
-
/**
|
|
1532
|
-
* <p></p>
|
|
1533
|
-
* @public
|
|
1534
|
-
*/
|
|
1535
|
-
export declare class WAFBadRequestException extends __BaseException {
|
|
1536
|
-
readonly name: "WAFBadRequestException";
|
|
1537
|
-
readonly $fault: "client";
|
|
1538
|
-
/**
|
|
1539
|
-
* @internal
|
|
1540
|
-
*/
|
|
1541
|
-
constructor(opts: __ExceptionOptionType<WAFBadRequestException, __BaseException>);
|
|
1542
|
-
}
|
|
1543
|
-
/**
|
|
1544
|
-
* <p></p>
|
|
1545
|
-
* @public
|
|
1546
|
-
*/
|
|
1547
|
-
export declare class WAFTagOperationException extends __BaseException {
|
|
1548
|
-
readonly name: "WAFTagOperationException";
|
|
1549
|
-
readonly $fault: "client";
|
|
1550
|
-
/**
|
|
1551
|
-
* @internal
|
|
1552
|
-
*/
|
|
1553
|
-
constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
|
|
1554
|
-
}
|
|
1555
|
-
/**
|
|
1556
|
-
* <p></p>
|
|
1557
|
-
* @public
|
|
1558
|
-
*/
|
|
1559
|
-
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
1560
|
-
readonly name: "WAFTagOperationInternalErrorException";
|
|
1561
|
-
readonly $fault: "server";
|
|
1562
|
-
/**
|
|
1563
|
-
* @internal
|
|
1564
|
-
*/
|
|
1565
|
-
constructor(opts: __ExceptionOptionType<WAFTagOperationInternalErrorException, __BaseException>);
|
|
1566
|
-
}
|
|
1567
978
|
/**
|
|
1568
979
|
* @public
|
|
1569
980
|
*/
|
|
@@ -2048,22 +1459,6 @@ export interface CreateSizeConstraintSetRequest {
|
|
|
2048
1459
|
*/
|
|
2049
1460
|
ChangeToken: string | undefined;
|
|
2050
1461
|
}
|
|
2051
|
-
/**
|
|
2052
|
-
* @public
|
|
2053
|
-
* @enum
|
|
2054
|
-
*/
|
|
2055
|
-
export declare const ComparisonOperator: {
|
|
2056
|
-
readonly EQ: "EQ";
|
|
2057
|
-
readonly GE: "GE";
|
|
2058
|
-
readonly GT: "GT";
|
|
2059
|
-
readonly LE: "LE";
|
|
2060
|
-
readonly LT: "LT";
|
|
2061
|
-
readonly NE: "NE";
|
|
2062
|
-
};
|
|
2063
|
-
/**
|
|
2064
|
-
* @public
|
|
2065
|
-
*/
|
|
2066
|
-
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
2067
1462
|
/**
|
|
2068
1463
|
* <note>
|
|
2069
1464
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -2611,111 +2006,6 @@ export interface CreateWebACLMigrationStackResponse {
|
|
|
2611
2006
|
*/
|
|
2612
2007
|
S3ObjectUrl: string | undefined;
|
|
2613
2008
|
}
|
|
2614
|
-
/**
|
|
2615
|
-
* @public
|
|
2616
|
-
* @enum
|
|
2617
|
-
*/
|
|
2618
|
-
export declare const MigrationErrorType: {
|
|
2619
|
-
readonly ENTITY_NOT_FOUND: "ENTITY_NOT_FOUND";
|
|
2620
|
-
readonly ENTITY_NOT_SUPPORTED: "ENTITY_NOT_SUPPORTED";
|
|
2621
|
-
readonly S3_BUCKET_INVALID_REGION: "S3_BUCKET_INVALID_REGION";
|
|
2622
|
-
readonly S3_BUCKET_NOT_ACCESSIBLE: "S3_BUCKET_NOT_ACCESSIBLE";
|
|
2623
|
-
readonly S3_BUCKET_NOT_FOUND: "S3_BUCKET_NOT_FOUND";
|
|
2624
|
-
readonly S3_BUCKET_NO_PERMISSION: "S3_BUCKET_NO_PERMISSION";
|
|
2625
|
-
readonly S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR";
|
|
2626
|
-
};
|
|
2627
|
-
/**
|
|
2628
|
-
* @public
|
|
2629
|
-
*/
|
|
2630
|
-
export type MigrationErrorType = (typeof MigrationErrorType)[keyof typeof MigrationErrorType];
|
|
2631
|
-
/**
|
|
2632
|
-
* <p>The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the <code>MigrationErrorType</code>: </p>
|
|
2633
|
-
* <ul>
|
|
2634
|
-
* <li>
|
|
2635
|
-
* <p>
|
|
2636
|
-
* <code>ENTITY_NOT_SUPPORTED</code> - The web ACL has an unsupported entity but the <code>IgnoreUnsupportedType</code> is not set to true.</p>
|
|
2637
|
-
* </li>
|
|
2638
|
-
* <li>
|
|
2639
|
-
* <p>
|
|
2640
|
-
* <code>ENTITY_NOT_FOUND</code> - The web ACL doesn't exist. </p>
|
|
2641
|
-
* </li>
|
|
2642
|
-
* <li>
|
|
2643
|
-
* <p>
|
|
2644
|
-
* <code>S3_BUCKET_NO_PERMISSION</code> - You don't have permission to perform the <code>PutObject</code> action to the specified Amazon S3 bucket.</p>
|
|
2645
|
-
* </li>
|
|
2646
|
-
* <li>
|
|
2647
|
-
* <p>
|
|
2648
|
-
* <code>S3_BUCKET_NOT_ACCESSIBLE</code> - The bucket policy doesn't allow AWS WAF to perform the <code>PutObject</code> action in the bucket.</p>
|
|
2649
|
-
* </li>
|
|
2650
|
-
* <li>
|
|
2651
|
-
* <p>
|
|
2652
|
-
* <code>S3_BUCKET_NOT_FOUND</code> - The S3 bucket doesn't exist. </p>
|
|
2653
|
-
* </li>
|
|
2654
|
-
* <li>
|
|
2655
|
-
* <p>
|
|
2656
|
-
* <code>S3_BUCKET_INVALID_REGION</code> - The S3 bucket is not in the same Region as the web ACL.</p>
|
|
2657
|
-
* </li>
|
|
2658
|
-
* <li>
|
|
2659
|
-
* <p>
|
|
2660
|
-
* <code>S3_INTERNAL_ERROR</code> - AWS WAF failed to create the template in the S3 bucket for another reason.</p>
|
|
2661
|
-
* </li>
|
|
2662
|
-
* </ul>
|
|
2663
|
-
* @public
|
|
2664
|
-
*/
|
|
2665
|
-
export declare class WAFEntityMigrationException extends __BaseException {
|
|
2666
|
-
readonly name: "WAFEntityMigrationException";
|
|
2667
|
-
readonly $fault: "client";
|
|
2668
|
-
MigrationErrorType?: MigrationErrorType | undefined;
|
|
2669
|
-
MigrationErrorReason?: string | undefined;
|
|
2670
|
-
/**
|
|
2671
|
-
* @internal
|
|
2672
|
-
*/
|
|
2673
|
-
constructor(opts: __ExceptionOptionType<WAFEntityMigrationException, __BaseException>);
|
|
2674
|
-
}
|
|
2675
|
-
/**
|
|
2676
|
-
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
2677
|
-
* <ul>
|
|
2678
|
-
* <li>
|
|
2679
|
-
* <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
|
|
2680
|
-
* </li>
|
|
2681
|
-
* <li>
|
|
2682
|
-
* <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
|
|
2683
|
-
* </li>
|
|
2684
|
-
* <li>
|
|
2685
|
-
* <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
2686
|
-
* isn't in the specified <code>WebACL</code>.</p>
|
|
2687
|
-
* </li>
|
|
2688
|
-
* <li>
|
|
2689
|
-
* <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
|
|
2690
|
-
* specified <code>WebACL</code>.</p>
|
|
2691
|
-
* </li>
|
|
2692
|
-
* <li>
|
|
2693
|
-
* <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
2694
|
-
* already exists in the specified <code>WebACL</code>.</p>
|
|
2695
|
-
* </li>
|
|
2696
|
-
* </ul>
|
|
2697
|
-
* @public
|
|
2698
|
-
*/
|
|
2699
|
-
export declare class WAFInvalidOperationException extends __BaseException {
|
|
2700
|
-
readonly name: "WAFInvalidOperationException";
|
|
2701
|
-
readonly $fault: "client";
|
|
2702
|
-
/**
|
|
2703
|
-
* @internal
|
|
2704
|
-
*/
|
|
2705
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
|
|
2706
|
-
}
|
|
2707
|
-
/**
|
|
2708
|
-
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
2709
|
-
* @public
|
|
2710
|
-
*/
|
|
2711
|
-
export declare class WAFNonexistentItemException extends __BaseException {
|
|
2712
|
-
readonly name: "WAFNonexistentItemException";
|
|
2713
|
-
readonly $fault: "client";
|
|
2714
|
-
/**
|
|
2715
|
-
* @internal
|
|
2716
|
-
*/
|
|
2717
|
-
constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
|
|
2718
|
-
}
|
|
2719
2009
|
/**
|
|
2720
2010
|
* <p>A request to create an <a>XssMatchSet</a>.</p>
|
|
2721
2011
|
* @public
|
|
@@ -2931,53 +2221,6 @@ export interface DeleteByteMatchSetResponse {
|
|
|
2931
2221
|
*/
|
|
2932
2222
|
ChangeToken?: string | undefined;
|
|
2933
2223
|
}
|
|
2934
|
-
/**
|
|
2935
|
-
* <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
|
|
2936
|
-
* <ul>
|
|
2937
|
-
* <li>
|
|
2938
|
-
* <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
|
|
2939
|
-
* </li>
|
|
2940
|
-
* <li>
|
|
2941
|
-
* <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
|
|
2942
|
-
* or other predicates.</p>
|
|
2943
|
-
* </li>
|
|
2944
|
-
* <li>
|
|
2945
|
-
* <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
|
|
2946
|
-
* </li>
|
|
2947
|
-
* <li>
|
|
2948
|
-
* <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
|
|
2949
|
-
* </li>
|
|
2950
|
-
* </ul>
|
|
2951
|
-
* @public
|
|
2952
|
-
*/
|
|
2953
|
-
export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
2954
|
-
readonly name: "WAFNonEmptyEntityException";
|
|
2955
|
-
readonly $fault: "client";
|
|
2956
|
-
/**
|
|
2957
|
-
* @internal
|
|
2958
|
-
*/
|
|
2959
|
-
constructor(opts: __ExceptionOptionType<WAFNonEmptyEntityException, __BaseException>);
|
|
2960
|
-
}
|
|
2961
|
-
/**
|
|
2962
|
-
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
2963
|
-
* <ul>
|
|
2964
|
-
* <li>
|
|
2965
|
-
* <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
|
|
2966
|
-
* </li>
|
|
2967
|
-
* <li>
|
|
2968
|
-
* <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
|
|
2969
|
-
* </li>
|
|
2970
|
-
* </ul>
|
|
2971
|
-
* @public
|
|
2972
|
-
*/
|
|
2973
|
-
export declare class WAFReferencedItemException extends __BaseException {
|
|
2974
|
-
readonly name: "WAFReferencedItemException";
|
|
2975
|
-
readonly $fault: "client";
|
|
2976
|
-
/**
|
|
2977
|
-
* @internal
|
|
2978
|
-
*/
|
|
2979
|
-
constructor(opts: __ExceptionOptionType<WAFReferencedItemException, __BaseException>);
|
|
2980
|
-
}
|
|
2981
2224
|
/**
|
|
2982
2225
|
* @public
|
|
2983
2226
|
*/
|
|
@@ -3379,19 +2622,6 @@ export interface GetChangeTokenStatusRequest {
|
|
|
3379
2622
|
*/
|
|
3380
2623
|
ChangeToken: string | undefined;
|
|
3381
2624
|
}
|
|
3382
|
-
/**
|
|
3383
|
-
* @public
|
|
3384
|
-
* @enum
|
|
3385
|
-
*/
|
|
3386
|
-
export declare const ChangeTokenStatus: {
|
|
3387
|
-
readonly INSYNC: "INSYNC";
|
|
3388
|
-
readonly PENDING: "PENDING";
|
|
3389
|
-
readonly PROVISIONED: "PROVISIONED";
|
|
3390
|
-
};
|
|
3391
|
-
/**
|
|
3392
|
-
* @public
|
|
3393
|
-
*/
|
|
3394
|
-
export type ChangeTokenStatus = (typeof ChangeTokenStatus)[keyof typeof ChangeTokenStatus];
|
|
3395
2625
|
/**
|
|
3396
2626
|
* @public
|
|
3397
2627
|
*/
|
|
@@ -5074,18 +4304,6 @@ export interface PutLoggingConfigurationResponse {
|
|
|
5074
4304
|
*/
|
|
5075
4305
|
LoggingConfiguration?: LoggingConfiguration | undefined;
|
|
5076
4306
|
}
|
|
5077
|
-
/**
|
|
5078
|
-
* <p>AWS WAF is not able to access the service linked role. This can be caused by a previous <code>PutLoggingConfiguration</code> request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous <code>DeleteServiceLinkedRole</code> request, which can lock the role for 15 minutes or more. If you recently made a <code>DeleteServiceLinkedRole</code>, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.</p>
|
|
5079
|
-
* @public
|
|
5080
|
-
*/
|
|
5081
|
-
export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
5082
|
-
readonly name: "WAFServiceLinkedRoleErrorException";
|
|
5083
|
-
readonly $fault: "client";
|
|
5084
|
-
/**
|
|
5085
|
-
* @internal
|
|
5086
|
-
*/
|
|
5087
|
-
constructor(opts: __ExceptionOptionType<WAFServiceLinkedRoleErrorException, __BaseException>);
|
|
5088
|
-
}
|
|
5089
4307
|
/**
|
|
5090
4308
|
* @public
|
|
5091
4309
|
*/
|
|
@@ -5106,47 +4324,6 @@ export interface PutPermissionPolicyRequest {
|
|
|
5106
4324
|
*/
|
|
5107
4325
|
export interface PutPermissionPolicyResponse {
|
|
5108
4326
|
}
|
|
5109
|
-
/**
|
|
5110
|
-
* <p>The operation failed because the specified policy is not in the proper format. </p>
|
|
5111
|
-
* <p>The policy is subject to the following restrictions:</p>
|
|
5112
|
-
* <ul>
|
|
5113
|
-
* <li>
|
|
5114
|
-
* <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
|
|
5115
|
-
* </li>
|
|
5116
|
-
* <li>
|
|
5117
|
-
* <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
|
|
5118
|
-
* </li>
|
|
5119
|
-
* <li>
|
|
5120
|
-
*
|
|
5121
|
-
* <p>
|
|
5122
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
5123
|
-
* </li>
|
|
5124
|
-
* <li>
|
|
5125
|
-
* <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
|
|
5126
|
-
* </li>
|
|
5127
|
-
* <li>
|
|
5128
|
-
* <p>The policy cannot include a <code>Resource</code> parameter.</p>
|
|
5129
|
-
* </li>
|
|
5130
|
-
* <li>
|
|
5131
|
-
* <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
|
|
5132
|
-
* </li>
|
|
5133
|
-
* <li>
|
|
5134
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
5135
|
-
* </li>
|
|
5136
|
-
* <li>
|
|
5137
|
-
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
5138
|
-
* </li>
|
|
5139
|
-
* </ul>
|
|
5140
|
-
* @public
|
|
5141
|
-
*/
|
|
5142
|
-
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
5143
|
-
readonly name: "WAFInvalidPermissionPolicyException";
|
|
5144
|
-
readonly $fault: "client";
|
|
5145
|
-
/**
|
|
5146
|
-
* @internal
|
|
5147
|
-
*/
|
|
5148
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidPermissionPolicyException, __BaseException>);
|
|
5149
|
-
}
|
|
5150
4327
|
/**
|
|
5151
4328
|
* @public
|
|
5152
4329
|
*/
|
|
@@ -5187,18 +4364,6 @@ export interface UntagResourceRequest {
|
|
|
5187
4364
|
*/
|
|
5188
4365
|
export interface UntagResourceResponse {
|
|
5189
4366
|
}
|
|
5190
|
-
/**
|
|
5191
|
-
* @public
|
|
5192
|
-
* @enum
|
|
5193
|
-
*/
|
|
5194
|
-
export declare const ChangeAction: {
|
|
5195
|
-
readonly DELETE: "DELETE";
|
|
5196
|
-
readonly INSERT: "INSERT";
|
|
5197
|
-
};
|
|
5198
|
-
/**
|
|
5199
|
-
* @public
|
|
5200
|
-
*/
|
|
5201
|
-
export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
|
|
5202
4367
|
/**
|
|
5203
4368
|
* <note>
|
|
5204
4369
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -5277,33 +4442,6 @@ export interface UpdateByteMatchSetResponse {
|
|
|
5277
4442
|
*/
|
|
5278
4443
|
ChangeToken?: string | undefined;
|
|
5279
4444
|
}
|
|
5280
|
-
/**
|
|
5281
|
-
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
5282
|
-
* <ul>
|
|
5283
|
-
* <li>
|
|
5284
|
-
* <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
|
|
5285
|
-
* </li>
|
|
5286
|
-
* <li>
|
|
5287
|
-
* <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
|
|
5288
|
-
* </li>
|
|
5289
|
-
* <li>
|
|
5290
|
-
* <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
|
|
5291
|
-
* </li>
|
|
5292
|
-
* <li>
|
|
5293
|
-
* <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
|
|
5294
|
-
* that doesn't exist.</p>
|
|
5295
|
-
* </li>
|
|
5296
|
-
* </ul>
|
|
5297
|
-
* @public
|
|
5298
|
-
*/
|
|
5299
|
-
export declare class WAFNonexistentContainerException extends __BaseException {
|
|
5300
|
-
readonly name: "WAFNonexistentContainerException";
|
|
5301
|
-
readonly $fault: "client";
|
|
5302
|
-
/**
|
|
5303
|
-
* @internal
|
|
5304
|
-
*/
|
|
5305
|
-
constructor(opts: __ExceptionOptionType<WAFNonexistentContainerException, __BaseException>);
|
|
5306
|
-
}
|
|
5307
4445
|
/**
|
|
5308
4446
|
* <note>
|
|
5309
4447
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -5629,18 +4767,6 @@ export interface UpdateRegexPatternSetResponse {
|
|
|
5629
4767
|
*/
|
|
5630
4768
|
ChangeToken?: string | undefined;
|
|
5631
4769
|
}
|
|
5632
|
-
/**
|
|
5633
|
-
* <p>The regular expression (regex) you specified in <code>RegexPatternString</code> is invalid.</p>
|
|
5634
|
-
* @public
|
|
5635
|
-
*/
|
|
5636
|
-
export declare class WAFInvalidRegexPatternException extends __BaseException {
|
|
5637
|
-
readonly name: "WAFInvalidRegexPatternException";
|
|
5638
|
-
readonly $fault: "client";
|
|
5639
|
-
/**
|
|
5640
|
-
* @internal
|
|
5641
|
-
*/
|
|
5642
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidRegexPatternException, __BaseException>);
|
|
5643
|
-
}
|
|
5644
4770
|
/**
|
|
5645
4771
|
* @public
|
|
5646
4772
|
*/
|
|
@@ -6002,18 +5128,6 @@ export interface UpdateWebACLResponse {
|
|
|
6002
5128
|
*/
|
|
6003
5129
|
ChangeToken?: string | undefined;
|
|
6004
5130
|
}
|
|
6005
|
-
/**
|
|
6006
|
-
* <p>The specified subscription does not exist.</p>
|
|
6007
|
-
* @public
|
|
6008
|
-
*/
|
|
6009
|
-
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
6010
|
-
readonly name: "WAFSubscriptionNotFoundException";
|
|
6011
|
-
readonly $fault: "client";
|
|
6012
|
-
/**
|
|
6013
|
-
* @internal
|
|
6014
|
-
*/
|
|
6015
|
-
constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
|
|
6016
|
-
}
|
|
6017
5131
|
/**
|
|
6018
5132
|
* <note>
|
|
6019
5133
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|