mypy-boto3-waf-regional 1.34.153__py3-none-any.whl → 1.35.93__py3-none-any.whl
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.
Potentially problematic release.
This version of mypy-boto3-waf-regional might be problematic. Click here for more details.
- mypy_boto3_waf_regional/__init__.py +3 -0
- mypy_boto3_waf_regional/__init__.pyi +2 -0
- mypy_boto3_waf_regional/__main__.py +11 -8
- mypy_boto3_waf_regional/client.py +403 -333
- mypy_boto3_waf_regional/client.pyi +402 -332
- mypy_boto3_waf_regional/literals.py +31 -8
- mypy_boto3_waf_regional/literals.pyi +29 -8
- mypy_boto3_waf_regional/type_defs.py +1304 -1696
- mypy_boto3_waf_regional/type_defs.pyi +1084 -1693
- mypy_boto3_waf_regional/version.py +3 -1
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/METADATA +80 -25
- mypy_boto3_waf_regional-1.35.93.dist-info/RECORD +16 -0
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_waf_regional-1.34.153.dist-info/RECORD +0 -16
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for waf-regional service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_waf_regional/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -10,11 +10,15 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ExcludedRuleTypeDef = ...
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
15
19
|
import sys
|
|
16
20
|
from datetime import datetime
|
|
17
|
-
from typing import IO, Any,
|
|
21
|
+
from typing import IO, Any, Union
|
|
18
22
|
|
|
19
23
|
from botocore.response import StreamingBody
|
|
20
24
|
|
|
@@ -34,246 +38,241 @@ from .literals import (
|
|
|
34
38
|
WafRuleTypeType,
|
|
35
39
|
)
|
|
36
40
|
|
|
37
|
-
if sys.version_info >= (3,
|
|
38
|
-
from
|
|
39
|
-
|
|
40
|
-
from
|
|
41
|
-
if sys.version_info >= (3, 12):
|
|
42
|
-
from typing import NotRequired
|
|
41
|
+
if sys.version_info >= (3, 9):
|
|
42
|
+
from builtins import dict as Dict
|
|
43
|
+
from builtins import list as List
|
|
44
|
+
from collections.abc import Sequence
|
|
43
45
|
else:
|
|
44
|
-
from
|
|
46
|
+
from typing import Dict, List, Sequence
|
|
45
47
|
if sys.version_info >= (3, 12):
|
|
46
|
-
from typing import TypedDict
|
|
48
|
+
from typing import Literal, NotRequired, TypedDict
|
|
47
49
|
else:
|
|
48
|
-
from typing_extensions import TypedDict
|
|
50
|
+
from typing_extensions import Literal, NotRequired, TypedDict
|
|
49
51
|
|
|
50
52
|
__all__ = (
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
53
|
+
"ActivatedRuleOutputTypeDef",
|
|
54
|
+
"ActivatedRuleTypeDef",
|
|
55
|
+
"ActivatedRuleUnionTypeDef",
|
|
54
56
|
"AssociateWebACLRequestRequestTypeDef",
|
|
55
57
|
"BlobTypeDef",
|
|
56
58
|
"ByteMatchSetSummaryTypeDef",
|
|
57
|
-
"
|
|
59
|
+
"ByteMatchSetTypeDef",
|
|
60
|
+
"ByteMatchSetUpdateTypeDef",
|
|
61
|
+
"ByteMatchTupleOutputTypeDef",
|
|
62
|
+
"ByteMatchTupleTypeDef",
|
|
63
|
+
"ByteMatchTupleUnionTypeDef",
|
|
58
64
|
"CreateByteMatchSetRequestRequestTypeDef",
|
|
59
|
-
"
|
|
65
|
+
"CreateByteMatchSetResponseTypeDef",
|
|
60
66
|
"CreateGeoMatchSetRequestRequestTypeDef",
|
|
67
|
+
"CreateGeoMatchSetResponseTypeDef",
|
|
61
68
|
"CreateIPSetRequestRequestTypeDef",
|
|
62
|
-
"
|
|
69
|
+
"CreateIPSetResponseTypeDef",
|
|
70
|
+
"CreateRateBasedRuleRequestRequestTypeDef",
|
|
71
|
+
"CreateRateBasedRuleResponseTypeDef",
|
|
63
72
|
"CreateRegexMatchSetRequestRequestTypeDef",
|
|
73
|
+
"CreateRegexMatchSetResponseTypeDef",
|
|
64
74
|
"CreateRegexPatternSetRequestRequestTypeDef",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
75
|
+
"CreateRegexPatternSetResponseTypeDef",
|
|
76
|
+
"CreateRuleGroupRequestRequestTypeDef",
|
|
77
|
+
"CreateRuleGroupResponseTypeDef",
|
|
78
|
+
"CreateRuleRequestRequestTypeDef",
|
|
79
|
+
"CreateRuleResponseTypeDef",
|
|
67
80
|
"CreateSizeConstraintSetRequestRequestTypeDef",
|
|
81
|
+
"CreateSizeConstraintSetResponseTypeDef",
|
|
68
82
|
"CreateSqlInjectionMatchSetRequestRequestTypeDef",
|
|
83
|
+
"CreateSqlInjectionMatchSetResponseTypeDef",
|
|
69
84
|
"CreateWebACLMigrationStackRequestRequestTypeDef",
|
|
85
|
+
"CreateWebACLMigrationStackResponseTypeDef",
|
|
86
|
+
"CreateWebACLRequestRequestTypeDef",
|
|
87
|
+
"CreateWebACLResponseTypeDef",
|
|
70
88
|
"CreateXssMatchSetRequestRequestTypeDef",
|
|
89
|
+
"CreateXssMatchSetResponseTypeDef",
|
|
71
90
|
"DeleteByteMatchSetRequestRequestTypeDef",
|
|
91
|
+
"DeleteByteMatchSetResponseTypeDef",
|
|
72
92
|
"DeleteGeoMatchSetRequestRequestTypeDef",
|
|
93
|
+
"DeleteGeoMatchSetResponseTypeDef",
|
|
73
94
|
"DeleteIPSetRequestRequestTypeDef",
|
|
95
|
+
"DeleteIPSetResponseTypeDef",
|
|
74
96
|
"DeleteLoggingConfigurationRequestRequestTypeDef",
|
|
75
97
|
"DeletePermissionPolicyRequestRequestTypeDef",
|
|
76
98
|
"DeleteRateBasedRuleRequestRequestTypeDef",
|
|
99
|
+
"DeleteRateBasedRuleResponseTypeDef",
|
|
77
100
|
"DeleteRegexMatchSetRequestRequestTypeDef",
|
|
101
|
+
"DeleteRegexMatchSetResponseTypeDef",
|
|
78
102
|
"DeleteRegexPatternSetRequestRequestTypeDef",
|
|
103
|
+
"DeleteRegexPatternSetResponseTypeDef",
|
|
79
104
|
"DeleteRuleGroupRequestRequestTypeDef",
|
|
105
|
+
"DeleteRuleGroupResponseTypeDef",
|
|
80
106
|
"DeleteRuleRequestRequestTypeDef",
|
|
107
|
+
"DeleteRuleResponseTypeDef",
|
|
81
108
|
"DeleteSizeConstraintSetRequestRequestTypeDef",
|
|
109
|
+
"DeleteSizeConstraintSetResponseTypeDef",
|
|
82
110
|
"DeleteSqlInjectionMatchSetRequestRequestTypeDef",
|
|
111
|
+
"DeleteSqlInjectionMatchSetResponseTypeDef",
|
|
83
112
|
"DeleteWebACLRequestRequestTypeDef",
|
|
113
|
+
"DeleteWebACLResponseTypeDef",
|
|
84
114
|
"DeleteXssMatchSetRequestRequestTypeDef",
|
|
115
|
+
"DeleteXssMatchSetResponseTypeDef",
|
|
85
116
|
"DisassociateWebACLRequestRequestTypeDef",
|
|
117
|
+
"ExcludedRuleTypeDef",
|
|
118
|
+
"FieldToMatchTypeDef",
|
|
86
119
|
"GeoMatchConstraintTypeDef",
|
|
87
120
|
"GeoMatchSetSummaryTypeDef",
|
|
121
|
+
"GeoMatchSetTypeDef",
|
|
122
|
+
"GeoMatchSetUpdateTypeDef",
|
|
88
123
|
"GetByteMatchSetRequestRequestTypeDef",
|
|
124
|
+
"GetByteMatchSetResponseTypeDef",
|
|
125
|
+
"GetChangeTokenResponseTypeDef",
|
|
89
126
|
"GetChangeTokenStatusRequestRequestTypeDef",
|
|
127
|
+
"GetChangeTokenStatusResponseTypeDef",
|
|
90
128
|
"GetGeoMatchSetRequestRequestTypeDef",
|
|
129
|
+
"GetGeoMatchSetResponseTypeDef",
|
|
91
130
|
"GetIPSetRequestRequestTypeDef",
|
|
131
|
+
"GetIPSetResponseTypeDef",
|
|
92
132
|
"GetLoggingConfigurationRequestRequestTypeDef",
|
|
133
|
+
"GetLoggingConfigurationResponseTypeDef",
|
|
93
134
|
"GetPermissionPolicyRequestRequestTypeDef",
|
|
135
|
+
"GetPermissionPolicyResponseTypeDef",
|
|
94
136
|
"GetRateBasedRuleManagedKeysRequestRequestTypeDef",
|
|
137
|
+
"GetRateBasedRuleManagedKeysResponseTypeDef",
|
|
95
138
|
"GetRateBasedRuleRequestRequestTypeDef",
|
|
139
|
+
"GetRateBasedRuleResponseTypeDef",
|
|
96
140
|
"GetRegexMatchSetRequestRequestTypeDef",
|
|
141
|
+
"GetRegexMatchSetResponseTypeDef",
|
|
97
142
|
"GetRegexPatternSetRequestRequestTypeDef",
|
|
143
|
+
"GetRegexPatternSetResponseTypeDef",
|
|
98
144
|
"GetRuleGroupRequestRequestTypeDef",
|
|
145
|
+
"GetRuleGroupResponseTypeDef",
|
|
99
146
|
"GetRuleRequestRequestTypeDef",
|
|
100
|
-
"
|
|
147
|
+
"GetRuleResponseTypeDef",
|
|
148
|
+
"GetSampledRequestsRequestRequestTypeDef",
|
|
149
|
+
"GetSampledRequestsResponseTypeDef",
|
|
101
150
|
"GetSizeConstraintSetRequestRequestTypeDef",
|
|
151
|
+
"GetSizeConstraintSetResponseTypeDef",
|
|
102
152
|
"GetSqlInjectionMatchSetRequestRequestTypeDef",
|
|
153
|
+
"GetSqlInjectionMatchSetResponseTypeDef",
|
|
103
154
|
"GetWebACLForResourceRequestRequestTypeDef",
|
|
104
|
-
"
|
|
155
|
+
"GetWebACLForResourceResponseTypeDef",
|
|
105
156
|
"GetWebACLRequestRequestTypeDef",
|
|
157
|
+
"GetWebACLResponseTypeDef",
|
|
106
158
|
"GetXssMatchSetRequestRequestTypeDef",
|
|
159
|
+
"GetXssMatchSetResponseTypeDef",
|
|
107
160
|
"HTTPHeaderTypeDef",
|
|
161
|
+
"HTTPRequestTypeDef",
|
|
108
162
|
"IPSetDescriptorTypeDef",
|
|
109
163
|
"IPSetSummaryTypeDef",
|
|
164
|
+
"IPSetTypeDef",
|
|
165
|
+
"IPSetUpdateTypeDef",
|
|
110
166
|
"ListActivatedRulesInRuleGroupRequestRequestTypeDef",
|
|
167
|
+
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
111
168
|
"ListByteMatchSetsRequestRequestTypeDef",
|
|
169
|
+
"ListByteMatchSetsResponseTypeDef",
|
|
112
170
|
"ListGeoMatchSetsRequestRequestTypeDef",
|
|
171
|
+
"ListGeoMatchSetsResponseTypeDef",
|
|
113
172
|
"ListIPSetsRequestRequestTypeDef",
|
|
173
|
+
"ListIPSetsResponseTypeDef",
|
|
114
174
|
"ListLoggingConfigurationsRequestRequestTypeDef",
|
|
175
|
+
"ListLoggingConfigurationsResponseTypeDef",
|
|
115
176
|
"ListRateBasedRulesRequestRequestTypeDef",
|
|
116
|
-
"
|
|
177
|
+
"ListRateBasedRulesResponseTypeDef",
|
|
117
178
|
"ListRegexMatchSetsRequestRequestTypeDef",
|
|
118
|
-
"
|
|
179
|
+
"ListRegexMatchSetsResponseTypeDef",
|
|
119
180
|
"ListRegexPatternSetsRequestRequestTypeDef",
|
|
120
|
-
"
|
|
181
|
+
"ListRegexPatternSetsResponseTypeDef",
|
|
121
182
|
"ListResourcesForWebACLRequestRequestTypeDef",
|
|
183
|
+
"ListResourcesForWebACLResponseTypeDef",
|
|
122
184
|
"ListRuleGroupsRequestRequestTypeDef",
|
|
123
|
-
"
|
|
185
|
+
"ListRuleGroupsResponseTypeDef",
|
|
124
186
|
"ListRulesRequestRequestTypeDef",
|
|
187
|
+
"ListRulesResponseTypeDef",
|
|
125
188
|
"ListSizeConstraintSetsRequestRequestTypeDef",
|
|
126
|
-
"
|
|
189
|
+
"ListSizeConstraintSetsResponseTypeDef",
|
|
127
190
|
"ListSqlInjectionMatchSetsRequestRequestTypeDef",
|
|
128
|
-
"
|
|
191
|
+
"ListSqlInjectionMatchSetsResponseTypeDef",
|
|
129
192
|
"ListSubscribedRuleGroupsRequestRequestTypeDef",
|
|
130
|
-
"
|
|
193
|
+
"ListSubscribedRuleGroupsResponseTypeDef",
|
|
131
194
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
195
|
+
"ListTagsForResourceResponseTypeDef",
|
|
132
196
|
"ListWebACLsRequestRequestTypeDef",
|
|
197
|
+
"ListWebACLsResponseTypeDef",
|
|
133
198
|
"ListXssMatchSetsRequestRequestTypeDef",
|
|
134
|
-
"
|
|
135
|
-
"PredicateTypeDef",
|
|
136
|
-
"PutPermissionPolicyRequestRequestTypeDef",
|
|
137
|
-
"RegexPatternSetUpdateTypeDef",
|
|
138
|
-
"TimestampTypeDef",
|
|
139
|
-
"UntagResourceRequestRequestTypeDef",
|
|
140
|
-
"ActivatedRuleOutputTypeDef",
|
|
141
|
-
"ActivatedRuleTypeDef",
|
|
142
|
-
"ByteMatchTupleOutputTypeDef",
|
|
143
|
-
"ByteMatchTupleTypeDef",
|
|
199
|
+
"ListXssMatchSetsResponseTypeDef",
|
|
144
200
|
"LoggingConfigurationOutputTypeDef",
|
|
145
201
|
"LoggingConfigurationTypeDef",
|
|
202
|
+
"PredicateTypeDef",
|
|
203
|
+
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
204
|
+
"PutLoggingConfigurationResponseTypeDef",
|
|
205
|
+
"PutPermissionPolicyRequestRequestTypeDef",
|
|
206
|
+
"RateBasedRuleTypeDef",
|
|
207
|
+
"RegexMatchSetSummaryTypeDef",
|
|
208
|
+
"RegexMatchSetTypeDef",
|
|
209
|
+
"RegexMatchSetUpdateTypeDef",
|
|
146
210
|
"RegexMatchTupleTypeDef",
|
|
211
|
+
"RegexPatternSetSummaryTypeDef",
|
|
212
|
+
"RegexPatternSetTypeDef",
|
|
213
|
+
"RegexPatternSetUpdateTypeDef",
|
|
214
|
+
"ResponseMetadataTypeDef",
|
|
215
|
+
"RuleGroupSummaryTypeDef",
|
|
216
|
+
"RuleGroupTypeDef",
|
|
217
|
+
"RuleGroupUpdateTypeDef",
|
|
218
|
+
"RuleSummaryTypeDef",
|
|
219
|
+
"RuleTypeDef",
|
|
220
|
+
"RuleUpdateTypeDef",
|
|
221
|
+
"SampledHTTPRequestTypeDef",
|
|
222
|
+
"SizeConstraintSetSummaryTypeDef",
|
|
223
|
+
"SizeConstraintSetTypeDef",
|
|
224
|
+
"SizeConstraintSetUpdateTypeDef",
|
|
147
225
|
"SizeConstraintTypeDef",
|
|
226
|
+
"SqlInjectionMatchSetSummaryTypeDef",
|
|
227
|
+
"SqlInjectionMatchSetTypeDef",
|
|
228
|
+
"SqlInjectionMatchSetUpdateTypeDef",
|
|
148
229
|
"SqlInjectionMatchTupleTypeDef",
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"DeleteRuleResponseTypeDef",
|
|
159
|
-
"DeleteSizeConstraintSetResponseTypeDef",
|
|
160
|
-
"DeleteSqlInjectionMatchSetResponseTypeDef",
|
|
161
|
-
"DeleteWebACLResponseTypeDef",
|
|
162
|
-
"DeleteXssMatchSetResponseTypeDef",
|
|
163
|
-
"GetChangeTokenResponseTypeDef",
|
|
164
|
-
"GetChangeTokenStatusResponseTypeDef",
|
|
165
|
-
"GetPermissionPolicyResponseTypeDef",
|
|
166
|
-
"GetRateBasedRuleManagedKeysResponseTypeDef",
|
|
167
|
-
"ListByteMatchSetsResponseTypeDef",
|
|
168
|
-
"ListResourcesForWebACLResponseTypeDef",
|
|
230
|
+
"SubscribedRuleGroupSummaryTypeDef",
|
|
231
|
+
"TagInfoForResourceTypeDef",
|
|
232
|
+
"TagResourceRequestRequestTypeDef",
|
|
233
|
+
"TagTypeDef",
|
|
234
|
+
"TimeWindowOutputTypeDef",
|
|
235
|
+
"TimeWindowTypeDef",
|
|
236
|
+
"TimestampTypeDef",
|
|
237
|
+
"UntagResourceRequestRequestTypeDef",
|
|
238
|
+
"UpdateByteMatchSetRequestRequestTypeDef",
|
|
169
239
|
"UpdateByteMatchSetResponseTypeDef",
|
|
240
|
+
"UpdateGeoMatchSetRequestRequestTypeDef",
|
|
170
241
|
"UpdateGeoMatchSetResponseTypeDef",
|
|
242
|
+
"UpdateIPSetRequestRequestTypeDef",
|
|
171
243
|
"UpdateIPSetResponseTypeDef",
|
|
244
|
+
"UpdateRateBasedRuleRequestRequestTypeDef",
|
|
172
245
|
"UpdateRateBasedRuleResponseTypeDef",
|
|
246
|
+
"UpdateRegexMatchSetRequestRequestTypeDef",
|
|
173
247
|
"UpdateRegexMatchSetResponseTypeDef",
|
|
248
|
+
"UpdateRegexPatternSetRequestRequestTypeDef",
|
|
174
249
|
"UpdateRegexPatternSetResponseTypeDef",
|
|
250
|
+
"UpdateRuleGroupRequestRequestTypeDef",
|
|
175
251
|
"UpdateRuleGroupResponseTypeDef",
|
|
252
|
+
"UpdateRuleRequestRequestTypeDef",
|
|
176
253
|
"UpdateRuleResponseTypeDef",
|
|
254
|
+
"UpdateSizeConstraintSetRequestRequestTypeDef",
|
|
177
255
|
"UpdateSizeConstraintSetResponseTypeDef",
|
|
256
|
+
"UpdateSqlInjectionMatchSetRequestRequestTypeDef",
|
|
178
257
|
"UpdateSqlInjectionMatchSetResponseTypeDef",
|
|
258
|
+
"UpdateWebACLRequestRequestTypeDef",
|
|
179
259
|
"UpdateWebACLResponseTypeDef",
|
|
260
|
+
"UpdateXssMatchSetRequestRequestTypeDef",
|
|
180
261
|
"UpdateXssMatchSetResponseTypeDef",
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"CreateWebACLRequestRequestTypeDef",
|
|
185
|
-
"TagInfoForResourceTypeDef",
|
|
186
|
-
"TagResourceRequestRequestTypeDef",
|
|
187
|
-
"CreateRegexPatternSetResponseTypeDef",
|
|
188
|
-
"GetRegexPatternSetResponseTypeDef",
|
|
189
|
-
"CreateRuleGroupResponseTypeDef",
|
|
190
|
-
"GetRuleGroupResponseTypeDef",
|
|
191
|
-
"GeoMatchSetTypeDef",
|
|
192
|
-
"GeoMatchSetUpdateTypeDef",
|
|
193
|
-
"ListGeoMatchSetsResponseTypeDef",
|
|
194
|
-
"GetWebACLForResourceResponseTypeDef",
|
|
195
|
-
"ListWebACLsResponseTypeDef",
|
|
196
|
-
"HTTPRequestTypeDef",
|
|
197
|
-
"IPSetTypeDef",
|
|
198
|
-
"IPSetUpdateTypeDef",
|
|
199
|
-
"ListIPSetsResponseTypeDef",
|
|
200
|
-
"ListRateBasedRulesResponseTypeDef",
|
|
201
|
-
"ListRulesResponseTypeDef",
|
|
202
|
-
"ListRegexMatchSetsResponseTypeDef",
|
|
203
|
-
"ListRegexPatternSetsResponseTypeDef",
|
|
204
|
-
"ListRuleGroupsResponseTypeDef",
|
|
205
|
-
"ListSizeConstraintSetsResponseTypeDef",
|
|
206
|
-
"ListSqlInjectionMatchSetsResponseTypeDef",
|
|
207
|
-
"ListSubscribedRuleGroupsResponseTypeDef",
|
|
208
|
-
"ListXssMatchSetsResponseTypeDef",
|
|
209
|
-
"RateBasedRuleTypeDef",
|
|
210
|
-
"RuleTypeDef",
|
|
211
|
-
"RuleUpdateTypeDef",
|
|
212
|
-
"UpdateRegexPatternSetRequestRequestTypeDef",
|
|
213
|
-
"TimeWindowTypeDef",
|
|
214
|
-
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
262
|
+
"WafActionTypeDef",
|
|
263
|
+
"WafOverrideActionTypeDef",
|
|
264
|
+
"WebACLSummaryTypeDef",
|
|
215
265
|
"WebACLTypeDef",
|
|
216
|
-
"RuleGroupUpdateTypeDef",
|
|
217
266
|
"WebACLUpdateTypeDef",
|
|
218
|
-
"
|
|
219
|
-
"ByteMatchSetUpdateTypeDef",
|
|
220
|
-
"GetLoggingConfigurationResponseTypeDef",
|
|
221
|
-
"ListLoggingConfigurationsResponseTypeDef",
|
|
222
|
-
"PutLoggingConfigurationResponseTypeDef",
|
|
223
|
-
"LoggingConfigurationUnionTypeDef",
|
|
224
|
-
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
225
|
-
"RegexMatchSetTypeDef",
|
|
226
|
-
"RegexMatchSetUpdateTypeDef",
|
|
227
|
-
"SizeConstraintSetTypeDef",
|
|
228
|
-
"SizeConstraintSetUpdateTypeDef",
|
|
229
|
-
"SqlInjectionMatchSetTypeDef",
|
|
230
|
-
"SqlInjectionMatchSetUpdateTypeDef",
|
|
267
|
+
"XssMatchSetSummaryTypeDef",
|
|
231
268
|
"XssMatchSetTypeDef",
|
|
232
269
|
"XssMatchSetUpdateTypeDef",
|
|
233
|
-
"
|
|
234
|
-
"CreateGeoMatchSetResponseTypeDef",
|
|
235
|
-
"GetGeoMatchSetResponseTypeDef",
|
|
236
|
-
"UpdateGeoMatchSetRequestRequestTypeDef",
|
|
237
|
-
"SampledHTTPRequestTypeDef",
|
|
238
|
-
"CreateIPSetResponseTypeDef",
|
|
239
|
-
"GetIPSetResponseTypeDef",
|
|
240
|
-
"UpdateIPSetRequestRequestTypeDef",
|
|
241
|
-
"CreateRateBasedRuleResponseTypeDef",
|
|
242
|
-
"GetRateBasedRuleResponseTypeDef",
|
|
243
|
-
"CreateRuleResponseTypeDef",
|
|
244
|
-
"GetRuleResponseTypeDef",
|
|
245
|
-
"UpdateRateBasedRuleRequestRequestTypeDef",
|
|
246
|
-
"UpdateRuleRequestRequestTypeDef",
|
|
247
|
-
"GetSampledRequestsRequestRequestTypeDef",
|
|
248
|
-
"TimeWindowUnionTypeDef",
|
|
249
|
-
"CreateWebACLResponseTypeDef",
|
|
250
|
-
"GetWebACLResponseTypeDef",
|
|
251
|
-
"UpdateRuleGroupRequestRequestTypeDef",
|
|
252
|
-
"UpdateWebACLRequestRequestTypeDef",
|
|
253
|
-
"CreateByteMatchSetResponseTypeDef",
|
|
254
|
-
"GetByteMatchSetResponseTypeDef",
|
|
255
|
-
"UpdateByteMatchSetRequestRequestTypeDef",
|
|
256
|
-
"CreateRegexMatchSetResponseTypeDef",
|
|
257
|
-
"GetRegexMatchSetResponseTypeDef",
|
|
258
|
-
"UpdateRegexMatchSetRequestRequestTypeDef",
|
|
259
|
-
"CreateSizeConstraintSetResponseTypeDef",
|
|
260
|
-
"GetSizeConstraintSetResponseTypeDef",
|
|
261
|
-
"UpdateSizeConstraintSetRequestRequestTypeDef",
|
|
262
|
-
"CreateSqlInjectionMatchSetResponseTypeDef",
|
|
263
|
-
"GetSqlInjectionMatchSetResponseTypeDef",
|
|
264
|
-
"UpdateSqlInjectionMatchSetRequestRequestTypeDef",
|
|
265
|
-
"CreateXssMatchSetResponseTypeDef",
|
|
266
|
-
"GetXssMatchSetResponseTypeDef",
|
|
267
|
-
"UpdateXssMatchSetRequestRequestTypeDef",
|
|
268
|
-
"GetSampledRequestsResponseTypeDef",
|
|
270
|
+
"XssMatchTupleTypeDef",
|
|
269
271
|
)
|
|
270
272
|
|
|
271
|
-
ExcludedRuleTypeDef
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
"RuleId": str,
|
|
275
|
-
},
|
|
276
|
-
)
|
|
273
|
+
class ExcludedRuleTypeDef(TypedDict):
|
|
274
|
+
RuleId: str
|
|
275
|
+
|
|
277
276
|
WafActionTypeDef = TypedDict(
|
|
278
277
|
"WafActionTypeDef",
|
|
279
278
|
{
|
|
@@ -286,21 +285,17 @@ WafOverrideActionTypeDef = TypedDict(
|
|
|
286
285
|
"Type": WafOverrideActionTypeType,
|
|
287
286
|
},
|
|
288
287
|
)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
},
|
|
295
|
-
)
|
|
288
|
+
|
|
289
|
+
class AssociateWebACLRequestRequestTypeDef(TypedDict):
|
|
290
|
+
WebACLId: str
|
|
291
|
+
ResourceArn: str
|
|
292
|
+
|
|
296
293
|
BlobTypeDef = Union[str, bytes, IO[Any], StreamingBody]
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
},
|
|
303
|
-
)
|
|
294
|
+
|
|
295
|
+
class ByteMatchSetSummaryTypeDef(TypedDict):
|
|
296
|
+
ByteMatchSetId: str
|
|
297
|
+
Name: str
|
|
298
|
+
|
|
304
299
|
FieldToMatchTypeDef = TypedDict(
|
|
305
300
|
"FieldToMatchTypeDef",
|
|
306
301
|
{
|
|
@@ -308,205 +303,122 @@ FieldToMatchTypeDef = TypedDict(
|
|
|
308
303
|
"Data": NotRequired[str],
|
|
309
304
|
},
|
|
310
305
|
)
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
)
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
)
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
)
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
)
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
)
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
)
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
)
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
},
|
|
428
|
-
)
|
|
429
|
-
DeleteLoggingConfigurationRequestRequestTypeDef = TypedDict(
|
|
430
|
-
"DeleteLoggingConfigurationRequestRequestTypeDef",
|
|
431
|
-
{
|
|
432
|
-
"ResourceArn": str,
|
|
433
|
-
},
|
|
434
|
-
)
|
|
435
|
-
DeletePermissionPolicyRequestRequestTypeDef = TypedDict(
|
|
436
|
-
"DeletePermissionPolicyRequestRequestTypeDef",
|
|
437
|
-
{
|
|
438
|
-
"ResourceArn": str,
|
|
439
|
-
},
|
|
440
|
-
)
|
|
441
|
-
DeleteRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
442
|
-
"DeleteRateBasedRuleRequestRequestTypeDef",
|
|
443
|
-
{
|
|
444
|
-
"RuleId": str,
|
|
445
|
-
"ChangeToken": str,
|
|
446
|
-
},
|
|
447
|
-
)
|
|
448
|
-
DeleteRegexMatchSetRequestRequestTypeDef = TypedDict(
|
|
449
|
-
"DeleteRegexMatchSetRequestRequestTypeDef",
|
|
450
|
-
{
|
|
451
|
-
"RegexMatchSetId": str,
|
|
452
|
-
"ChangeToken": str,
|
|
453
|
-
},
|
|
454
|
-
)
|
|
455
|
-
DeleteRegexPatternSetRequestRequestTypeDef = TypedDict(
|
|
456
|
-
"DeleteRegexPatternSetRequestRequestTypeDef",
|
|
457
|
-
{
|
|
458
|
-
"RegexPatternSetId": str,
|
|
459
|
-
"ChangeToken": str,
|
|
460
|
-
},
|
|
461
|
-
)
|
|
462
|
-
DeleteRuleGroupRequestRequestTypeDef = TypedDict(
|
|
463
|
-
"DeleteRuleGroupRequestRequestTypeDef",
|
|
464
|
-
{
|
|
465
|
-
"RuleGroupId": str,
|
|
466
|
-
"ChangeToken": str,
|
|
467
|
-
},
|
|
468
|
-
)
|
|
469
|
-
DeleteRuleRequestRequestTypeDef = TypedDict(
|
|
470
|
-
"DeleteRuleRequestRequestTypeDef",
|
|
471
|
-
{
|
|
472
|
-
"RuleId": str,
|
|
473
|
-
"ChangeToken": str,
|
|
474
|
-
},
|
|
475
|
-
)
|
|
476
|
-
DeleteSizeConstraintSetRequestRequestTypeDef = TypedDict(
|
|
477
|
-
"DeleteSizeConstraintSetRequestRequestTypeDef",
|
|
478
|
-
{
|
|
479
|
-
"SizeConstraintSetId": str,
|
|
480
|
-
"ChangeToken": str,
|
|
481
|
-
},
|
|
482
|
-
)
|
|
483
|
-
DeleteSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
|
|
484
|
-
"DeleteSqlInjectionMatchSetRequestRequestTypeDef",
|
|
485
|
-
{
|
|
486
|
-
"SqlInjectionMatchSetId": str,
|
|
487
|
-
"ChangeToken": str,
|
|
488
|
-
},
|
|
489
|
-
)
|
|
490
|
-
DeleteWebACLRequestRequestTypeDef = TypedDict(
|
|
491
|
-
"DeleteWebACLRequestRequestTypeDef",
|
|
492
|
-
{
|
|
493
|
-
"WebACLId": str,
|
|
494
|
-
"ChangeToken": str,
|
|
495
|
-
},
|
|
496
|
-
)
|
|
497
|
-
DeleteXssMatchSetRequestRequestTypeDef = TypedDict(
|
|
498
|
-
"DeleteXssMatchSetRequestRequestTypeDef",
|
|
499
|
-
{
|
|
500
|
-
"XssMatchSetId": str,
|
|
501
|
-
"ChangeToken": str,
|
|
502
|
-
},
|
|
503
|
-
)
|
|
504
|
-
DisassociateWebACLRequestRequestTypeDef = TypedDict(
|
|
505
|
-
"DisassociateWebACLRequestRequestTypeDef",
|
|
506
|
-
{
|
|
507
|
-
"ResourceArn": str,
|
|
508
|
-
},
|
|
509
|
-
)
|
|
306
|
+
|
|
307
|
+
class CreateByteMatchSetRequestRequestTypeDef(TypedDict):
|
|
308
|
+
Name: str
|
|
309
|
+
ChangeToken: str
|
|
310
|
+
|
|
311
|
+
class ResponseMetadataTypeDef(TypedDict):
|
|
312
|
+
RequestId: str
|
|
313
|
+
HTTPStatusCode: int
|
|
314
|
+
HTTPHeaders: Dict[str, str]
|
|
315
|
+
RetryAttempts: int
|
|
316
|
+
HostId: NotRequired[str]
|
|
317
|
+
|
|
318
|
+
class CreateGeoMatchSetRequestRequestTypeDef(TypedDict):
|
|
319
|
+
Name: str
|
|
320
|
+
ChangeToken: str
|
|
321
|
+
|
|
322
|
+
class CreateIPSetRequestRequestTypeDef(TypedDict):
|
|
323
|
+
Name: str
|
|
324
|
+
ChangeToken: str
|
|
325
|
+
|
|
326
|
+
class TagTypeDef(TypedDict):
|
|
327
|
+
Key: str
|
|
328
|
+
Value: str
|
|
329
|
+
|
|
330
|
+
class CreateRegexMatchSetRequestRequestTypeDef(TypedDict):
|
|
331
|
+
Name: str
|
|
332
|
+
ChangeToken: str
|
|
333
|
+
|
|
334
|
+
class CreateRegexPatternSetRequestRequestTypeDef(TypedDict):
|
|
335
|
+
Name: str
|
|
336
|
+
ChangeToken: str
|
|
337
|
+
|
|
338
|
+
class RegexPatternSetTypeDef(TypedDict):
|
|
339
|
+
RegexPatternSetId: str
|
|
340
|
+
RegexPatternStrings: List[str]
|
|
341
|
+
Name: NotRequired[str]
|
|
342
|
+
|
|
343
|
+
class RuleGroupTypeDef(TypedDict):
|
|
344
|
+
RuleGroupId: str
|
|
345
|
+
Name: NotRequired[str]
|
|
346
|
+
MetricName: NotRequired[str]
|
|
347
|
+
|
|
348
|
+
class CreateSizeConstraintSetRequestRequestTypeDef(TypedDict):
|
|
349
|
+
Name: str
|
|
350
|
+
ChangeToken: str
|
|
351
|
+
|
|
352
|
+
class CreateSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
|
|
353
|
+
Name: str
|
|
354
|
+
ChangeToken: str
|
|
355
|
+
|
|
356
|
+
class CreateWebACLMigrationStackRequestRequestTypeDef(TypedDict):
|
|
357
|
+
WebACLId: str
|
|
358
|
+
S3BucketName: str
|
|
359
|
+
IgnoreUnsupportedType: bool
|
|
360
|
+
|
|
361
|
+
class CreateXssMatchSetRequestRequestTypeDef(TypedDict):
|
|
362
|
+
Name: str
|
|
363
|
+
ChangeToken: str
|
|
364
|
+
|
|
365
|
+
class DeleteByteMatchSetRequestRequestTypeDef(TypedDict):
|
|
366
|
+
ByteMatchSetId: str
|
|
367
|
+
ChangeToken: str
|
|
368
|
+
|
|
369
|
+
class DeleteGeoMatchSetRequestRequestTypeDef(TypedDict):
|
|
370
|
+
GeoMatchSetId: str
|
|
371
|
+
ChangeToken: str
|
|
372
|
+
|
|
373
|
+
class DeleteIPSetRequestRequestTypeDef(TypedDict):
|
|
374
|
+
IPSetId: str
|
|
375
|
+
ChangeToken: str
|
|
376
|
+
|
|
377
|
+
class DeleteLoggingConfigurationRequestRequestTypeDef(TypedDict):
|
|
378
|
+
ResourceArn: str
|
|
379
|
+
|
|
380
|
+
class DeletePermissionPolicyRequestRequestTypeDef(TypedDict):
|
|
381
|
+
ResourceArn: str
|
|
382
|
+
|
|
383
|
+
class DeleteRateBasedRuleRequestRequestTypeDef(TypedDict):
|
|
384
|
+
RuleId: str
|
|
385
|
+
ChangeToken: str
|
|
386
|
+
|
|
387
|
+
class DeleteRegexMatchSetRequestRequestTypeDef(TypedDict):
|
|
388
|
+
RegexMatchSetId: str
|
|
389
|
+
ChangeToken: str
|
|
390
|
+
|
|
391
|
+
class DeleteRegexPatternSetRequestRequestTypeDef(TypedDict):
|
|
392
|
+
RegexPatternSetId: str
|
|
393
|
+
ChangeToken: str
|
|
394
|
+
|
|
395
|
+
class DeleteRuleGroupRequestRequestTypeDef(TypedDict):
|
|
396
|
+
RuleGroupId: str
|
|
397
|
+
ChangeToken: str
|
|
398
|
+
|
|
399
|
+
class DeleteRuleRequestRequestTypeDef(TypedDict):
|
|
400
|
+
RuleId: str
|
|
401
|
+
ChangeToken: str
|
|
402
|
+
|
|
403
|
+
class DeleteSizeConstraintSetRequestRequestTypeDef(TypedDict):
|
|
404
|
+
SizeConstraintSetId: str
|
|
405
|
+
ChangeToken: str
|
|
406
|
+
|
|
407
|
+
class DeleteSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
|
|
408
|
+
SqlInjectionMatchSetId: str
|
|
409
|
+
ChangeToken: str
|
|
410
|
+
|
|
411
|
+
class DeleteWebACLRequestRequestTypeDef(TypedDict):
|
|
412
|
+
WebACLId: str
|
|
413
|
+
ChangeToken: str
|
|
414
|
+
|
|
415
|
+
class DeleteXssMatchSetRequestRequestTypeDef(TypedDict):
|
|
416
|
+
XssMatchSetId: str
|
|
417
|
+
ChangeToken: str
|
|
418
|
+
|
|
419
|
+
class DisassociateWebACLRequestRequestTypeDef(TypedDict):
|
|
420
|
+
ResourceArn: str
|
|
421
|
+
|
|
510
422
|
GeoMatchConstraintTypeDef = TypedDict(
|
|
511
423
|
"GeoMatchConstraintTypeDef",
|
|
512
424
|
{
|
|
@@ -514,1347 +426,826 @@ GeoMatchConstraintTypeDef = TypedDict(
|
|
|
514
426
|
"Value": GeoMatchConstraintValueType,
|
|
515
427
|
},
|
|
516
428
|
)
|
|
517
|
-
|
|
518
|
-
|
|
429
|
+
|
|
430
|
+
class GeoMatchSetSummaryTypeDef(TypedDict):
|
|
431
|
+
GeoMatchSetId: str
|
|
432
|
+
Name: str
|
|
433
|
+
|
|
434
|
+
class GetByteMatchSetRequestRequestTypeDef(TypedDict):
|
|
435
|
+
ByteMatchSetId: str
|
|
436
|
+
|
|
437
|
+
class GetChangeTokenStatusRequestRequestTypeDef(TypedDict):
|
|
438
|
+
ChangeToken: str
|
|
439
|
+
|
|
440
|
+
class GetGeoMatchSetRequestRequestTypeDef(TypedDict):
|
|
441
|
+
GeoMatchSetId: str
|
|
442
|
+
|
|
443
|
+
class GetIPSetRequestRequestTypeDef(TypedDict):
|
|
444
|
+
IPSetId: str
|
|
445
|
+
|
|
446
|
+
class GetLoggingConfigurationRequestRequestTypeDef(TypedDict):
|
|
447
|
+
ResourceArn: str
|
|
448
|
+
|
|
449
|
+
class GetPermissionPolicyRequestRequestTypeDef(TypedDict):
|
|
450
|
+
ResourceArn: str
|
|
451
|
+
|
|
452
|
+
class GetRateBasedRuleManagedKeysRequestRequestTypeDef(TypedDict):
|
|
453
|
+
RuleId: str
|
|
454
|
+
NextMarker: NotRequired[str]
|
|
455
|
+
|
|
456
|
+
class GetRateBasedRuleRequestRequestTypeDef(TypedDict):
|
|
457
|
+
RuleId: str
|
|
458
|
+
|
|
459
|
+
class GetRegexMatchSetRequestRequestTypeDef(TypedDict):
|
|
460
|
+
RegexMatchSetId: str
|
|
461
|
+
|
|
462
|
+
class GetRegexPatternSetRequestRequestTypeDef(TypedDict):
|
|
463
|
+
RegexPatternSetId: str
|
|
464
|
+
|
|
465
|
+
class GetRuleGroupRequestRequestTypeDef(TypedDict):
|
|
466
|
+
RuleGroupId: str
|
|
467
|
+
|
|
468
|
+
class GetRuleRequestRequestTypeDef(TypedDict):
|
|
469
|
+
RuleId: str
|
|
470
|
+
|
|
471
|
+
class TimeWindowOutputTypeDef(TypedDict):
|
|
472
|
+
StartTime: datetime
|
|
473
|
+
EndTime: datetime
|
|
474
|
+
|
|
475
|
+
class GetSizeConstraintSetRequestRequestTypeDef(TypedDict):
|
|
476
|
+
SizeConstraintSetId: str
|
|
477
|
+
|
|
478
|
+
class GetSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
|
|
479
|
+
SqlInjectionMatchSetId: str
|
|
480
|
+
|
|
481
|
+
class GetWebACLForResourceRequestRequestTypeDef(TypedDict):
|
|
482
|
+
ResourceArn: str
|
|
483
|
+
|
|
484
|
+
class WebACLSummaryTypeDef(TypedDict):
|
|
485
|
+
WebACLId: str
|
|
486
|
+
Name: str
|
|
487
|
+
|
|
488
|
+
class GetWebACLRequestRequestTypeDef(TypedDict):
|
|
489
|
+
WebACLId: str
|
|
490
|
+
|
|
491
|
+
class GetXssMatchSetRequestRequestTypeDef(TypedDict):
|
|
492
|
+
XssMatchSetId: str
|
|
493
|
+
|
|
494
|
+
class HTTPHeaderTypeDef(TypedDict):
|
|
495
|
+
Name: NotRequired[str]
|
|
496
|
+
Value: NotRequired[str]
|
|
497
|
+
|
|
498
|
+
IPSetDescriptorTypeDef = TypedDict(
|
|
499
|
+
"IPSetDescriptorTypeDef",
|
|
519
500
|
{
|
|
520
|
-
"
|
|
521
|
-
"
|
|
501
|
+
"Type": IPSetDescriptorTypeType,
|
|
502
|
+
"Value": str,
|
|
522
503
|
},
|
|
523
504
|
)
|
|
524
|
-
|
|
525
|
-
|
|
505
|
+
|
|
506
|
+
class IPSetSummaryTypeDef(TypedDict):
|
|
507
|
+
IPSetId: str
|
|
508
|
+
Name: str
|
|
509
|
+
|
|
510
|
+
class ListActivatedRulesInRuleGroupRequestRequestTypeDef(TypedDict):
|
|
511
|
+
RuleGroupId: NotRequired[str]
|
|
512
|
+
NextMarker: NotRequired[str]
|
|
513
|
+
Limit: NotRequired[int]
|
|
514
|
+
|
|
515
|
+
class ListByteMatchSetsRequestRequestTypeDef(TypedDict):
|
|
516
|
+
NextMarker: NotRequired[str]
|
|
517
|
+
Limit: NotRequired[int]
|
|
518
|
+
|
|
519
|
+
class ListGeoMatchSetsRequestRequestTypeDef(TypedDict):
|
|
520
|
+
NextMarker: NotRequired[str]
|
|
521
|
+
Limit: NotRequired[int]
|
|
522
|
+
|
|
523
|
+
class ListIPSetsRequestRequestTypeDef(TypedDict):
|
|
524
|
+
NextMarker: NotRequired[str]
|
|
525
|
+
Limit: NotRequired[int]
|
|
526
|
+
|
|
527
|
+
class ListLoggingConfigurationsRequestRequestTypeDef(TypedDict):
|
|
528
|
+
NextMarker: NotRequired[str]
|
|
529
|
+
Limit: NotRequired[int]
|
|
530
|
+
|
|
531
|
+
class ListRateBasedRulesRequestRequestTypeDef(TypedDict):
|
|
532
|
+
NextMarker: NotRequired[str]
|
|
533
|
+
Limit: NotRequired[int]
|
|
534
|
+
|
|
535
|
+
class RuleSummaryTypeDef(TypedDict):
|
|
536
|
+
RuleId: str
|
|
537
|
+
Name: str
|
|
538
|
+
|
|
539
|
+
class ListRegexMatchSetsRequestRequestTypeDef(TypedDict):
|
|
540
|
+
NextMarker: NotRequired[str]
|
|
541
|
+
Limit: NotRequired[int]
|
|
542
|
+
|
|
543
|
+
class RegexMatchSetSummaryTypeDef(TypedDict):
|
|
544
|
+
RegexMatchSetId: str
|
|
545
|
+
Name: str
|
|
546
|
+
|
|
547
|
+
class ListRegexPatternSetsRequestRequestTypeDef(TypedDict):
|
|
548
|
+
NextMarker: NotRequired[str]
|
|
549
|
+
Limit: NotRequired[int]
|
|
550
|
+
|
|
551
|
+
class RegexPatternSetSummaryTypeDef(TypedDict):
|
|
552
|
+
RegexPatternSetId: str
|
|
553
|
+
Name: str
|
|
554
|
+
|
|
555
|
+
class ListResourcesForWebACLRequestRequestTypeDef(TypedDict):
|
|
556
|
+
WebACLId: str
|
|
557
|
+
ResourceType: NotRequired[ResourceTypeType]
|
|
558
|
+
|
|
559
|
+
class ListRuleGroupsRequestRequestTypeDef(TypedDict):
|
|
560
|
+
NextMarker: NotRequired[str]
|
|
561
|
+
Limit: NotRequired[int]
|
|
562
|
+
|
|
563
|
+
class RuleGroupSummaryTypeDef(TypedDict):
|
|
564
|
+
RuleGroupId: str
|
|
565
|
+
Name: str
|
|
566
|
+
|
|
567
|
+
class ListRulesRequestRequestTypeDef(TypedDict):
|
|
568
|
+
NextMarker: NotRequired[str]
|
|
569
|
+
Limit: NotRequired[int]
|
|
570
|
+
|
|
571
|
+
class ListSizeConstraintSetsRequestRequestTypeDef(TypedDict):
|
|
572
|
+
NextMarker: NotRequired[str]
|
|
573
|
+
Limit: NotRequired[int]
|
|
574
|
+
|
|
575
|
+
class SizeConstraintSetSummaryTypeDef(TypedDict):
|
|
576
|
+
SizeConstraintSetId: str
|
|
577
|
+
Name: str
|
|
578
|
+
|
|
579
|
+
class ListSqlInjectionMatchSetsRequestRequestTypeDef(TypedDict):
|
|
580
|
+
NextMarker: NotRequired[str]
|
|
581
|
+
Limit: NotRequired[int]
|
|
582
|
+
|
|
583
|
+
class SqlInjectionMatchSetSummaryTypeDef(TypedDict):
|
|
584
|
+
SqlInjectionMatchSetId: str
|
|
585
|
+
Name: str
|
|
586
|
+
|
|
587
|
+
class ListSubscribedRuleGroupsRequestRequestTypeDef(TypedDict):
|
|
588
|
+
NextMarker: NotRequired[str]
|
|
589
|
+
Limit: NotRequired[int]
|
|
590
|
+
|
|
591
|
+
class SubscribedRuleGroupSummaryTypeDef(TypedDict):
|
|
592
|
+
RuleGroupId: str
|
|
593
|
+
Name: str
|
|
594
|
+
MetricName: str
|
|
595
|
+
|
|
596
|
+
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
|
|
597
|
+
ResourceARN: str
|
|
598
|
+
NextMarker: NotRequired[str]
|
|
599
|
+
Limit: NotRequired[int]
|
|
600
|
+
|
|
601
|
+
class ListWebACLsRequestRequestTypeDef(TypedDict):
|
|
602
|
+
NextMarker: NotRequired[str]
|
|
603
|
+
Limit: NotRequired[int]
|
|
604
|
+
|
|
605
|
+
class ListXssMatchSetsRequestRequestTypeDef(TypedDict):
|
|
606
|
+
NextMarker: NotRequired[str]
|
|
607
|
+
Limit: NotRequired[int]
|
|
608
|
+
|
|
609
|
+
class XssMatchSetSummaryTypeDef(TypedDict):
|
|
610
|
+
XssMatchSetId: str
|
|
611
|
+
Name: str
|
|
612
|
+
|
|
613
|
+
PredicateTypeDef = TypedDict(
|
|
614
|
+
"PredicateTypeDef",
|
|
526
615
|
{
|
|
527
|
-
"
|
|
616
|
+
"Negated": bool,
|
|
617
|
+
"Type": PredicateTypeType,
|
|
618
|
+
"DataId": str,
|
|
528
619
|
},
|
|
529
620
|
)
|
|
530
|
-
|
|
531
|
-
|
|
621
|
+
|
|
622
|
+
class PutPermissionPolicyRequestRequestTypeDef(TypedDict):
|
|
623
|
+
ResourceArn: str
|
|
624
|
+
Policy: str
|
|
625
|
+
|
|
626
|
+
class RegexPatternSetUpdateTypeDef(TypedDict):
|
|
627
|
+
Action: ChangeActionType
|
|
628
|
+
RegexPatternString: str
|
|
629
|
+
|
|
630
|
+
TimestampTypeDef = Union[datetime, str]
|
|
631
|
+
|
|
632
|
+
class UntagResourceRequestRequestTypeDef(TypedDict):
|
|
633
|
+
ResourceARN: str
|
|
634
|
+
TagKeys: Sequence[str]
|
|
635
|
+
|
|
636
|
+
ActivatedRuleOutputTypeDef = TypedDict(
|
|
637
|
+
"ActivatedRuleOutputTypeDef",
|
|
532
638
|
{
|
|
533
|
-
"
|
|
639
|
+
"Priority": int,
|
|
640
|
+
"RuleId": str,
|
|
641
|
+
"Action": NotRequired[WafActionTypeDef],
|
|
642
|
+
"OverrideAction": NotRequired[WafOverrideActionTypeDef],
|
|
643
|
+
"Type": NotRequired[WafRuleTypeType],
|
|
644
|
+
"ExcludedRules": NotRequired[List[ExcludedRuleTypeDef]],
|
|
534
645
|
},
|
|
535
646
|
)
|
|
536
|
-
|
|
537
|
-
"
|
|
647
|
+
ActivatedRuleTypeDef = TypedDict(
|
|
648
|
+
"ActivatedRuleTypeDef",
|
|
538
649
|
{
|
|
539
|
-
"
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
"IPSetId": str,
|
|
546
|
-
},
|
|
547
|
-
)
|
|
548
|
-
GetLoggingConfigurationRequestRequestTypeDef = TypedDict(
|
|
549
|
-
"GetLoggingConfigurationRequestRequestTypeDef",
|
|
550
|
-
{
|
|
551
|
-
"ResourceArn": str,
|
|
552
|
-
},
|
|
553
|
-
)
|
|
554
|
-
GetPermissionPolicyRequestRequestTypeDef = TypedDict(
|
|
555
|
-
"GetPermissionPolicyRequestRequestTypeDef",
|
|
556
|
-
{
|
|
557
|
-
"ResourceArn": str,
|
|
558
|
-
},
|
|
559
|
-
)
|
|
560
|
-
GetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
|
|
561
|
-
"GetRateBasedRuleManagedKeysRequestRequestTypeDef",
|
|
562
|
-
{
|
|
563
|
-
"RuleId": str,
|
|
564
|
-
"NextMarker": NotRequired[str],
|
|
565
|
-
},
|
|
566
|
-
)
|
|
567
|
-
GetRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
568
|
-
"GetRateBasedRuleRequestRequestTypeDef",
|
|
569
|
-
{
|
|
570
|
-
"RuleId": str,
|
|
571
|
-
},
|
|
572
|
-
)
|
|
573
|
-
GetRegexMatchSetRequestRequestTypeDef = TypedDict(
|
|
574
|
-
"GetRegexMatchSetRequestRequestTypeDef",
|
|
575
|
-
{
|
|
576
|
-
"RegexMatchSetId": str,
|
|
577
|
-
},
|
|
578
|
-
)
|
|
579
|
-
GetRegexPatternSetRequestRequestTypeDef = TypedDict(
|
|
580
|
-
"GetRegexPatternSetRequestRequestTypeDef",
|
|
581
|
-
{
|
|
582
|
-
"RegexPatternSetId": str,
|
|
583
|
-
},
|
|
584
|
-
)
|
|
585
|
-
GetRuleGroupRequestRequestTypeDef = TypedDict(
|
|
586
|
-
"GetRuleGroupRequestRequestTypeDef",
|
|
587
|
-
{
|
|
588
|
-
"RuleGroupId": str,
|
|
589
|
-
},
|
|
590
|
-
)
|
|
591
|
-
GetRuleRequestRequestTypeDef = TypedDict(
|
|
592
|
-
"GetRuleRequestRequestTypeDef",
|
|
593
|
-
{
|
|
594
|
-
"RuleId": str,
|
|
595
|
-
},
|
|
596
|
-
)
|
|
597
|
-
TimeWindowOutputTypeDef = TypedDict(
|
|
598
|
-
"TimeWindowOutputTypeDef",
|
|
599
|
-
{
|
|
600
|
-
"StartTime": datetime,
|
|
601
|
-
"EndTime": datetime,
|
|
602
|
-
},
|
|
603
|
-
)
|
|
604
|
-
GetSizeConstraintSetRequestRequestTypeDef = TypedDict(
|
|
605
|
-
"GetSizeConstraintSetRequestRequestTypeDef",
|
|
606
|
-
{
|
|
607
|
-
"SizeConstraintSetId": str,
|
|
608
|
-
},
|
|
609
|
-
)
|
|
610
|
-
GetSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
|
|
611
|
-
"GetSqlInjectionMatchSetRequestRequestTypeDef",
|
|
612
|
-
{
|
|
613
|
-
"SqlInjectionMatchSetId": str,
|
|
614
|
-
},
|
|
615
|
-
)
|
|
616
|
-
GetWebACLForResourceRequestRequestTypeDef = TypedDict(
|
|
617
|
-
"GetWebACLForResourceRequestRequestTypeDef",
|
|
618
|
-
{
|
|
619
|
-
"ResourceArn": str,
|
|
620
|
-
},
|
|
621
|
-
)
|
|
622
|
-
WebACLSummaryTypeDef = TypedDict(
|
|
623
|
-
"WebACLSummaryTypeDef",
|
|
624
|
-
{
|
|
625
|
-
"WebACLId": str,
|
|
626
|
-
"Name": str,
|
|
627
|
-
},
|
|
628
|
-
)
|
|
629
|
-
GetWebACLRequestRequestTypeDef = TypedDict(
|
|
630
|
-
"GetWebACLRequestRequestTypeDef",
|
|
631
|
-
{
|
|
632
|
-
"WebACLId": str,
|
|
633
|
-
},
|
|
634
|
-
)
|
|
635
|
-
GetXssMatchSetRequestRequestTypeDef = TypedDict(
|
|
636
|
-
"GetXssMatchSetRequestRequestTypeDef",
|
|
637
|
-
{
|
|
638
|
-
"XssMatchSetId": str,
|
|
639
|
-
},
|
|
640
|
-
)
|
|
641
|
-
HTTPHeaderTypeDef = TypedDict(
|
|
642
|
-
"HTTPHeaderTypeDef",
|
|
643
|
-
{
|
|
644
|
-
"Name": NotRequired[str],
|
|
645
|
-
"Value": NotRequired[str],
|
|
646
|
-
},
|
|
647
|
-
)
|
|
648
|
-
IPSetDescriptorTypeDef = TypedDict(
|
|
649
|
-
"IPSetDescriptorTypeDef",
|
|
650
|
-
{
|
|
651
|
-
"Type": IPSetDescriptorTypeType,
|
|
652
|
-
"Value": str,
|
|
653
|
-
},
|
|
654
|
-
)
|
|
655
|
-
IPSetSummaryTypeDef = TypedDict(
|
|
656
|
-
"IPSetSummaryTypeDef",
|
|
657
|
-
{
|
|
658
|
-
"IPSetId": str,
|
|
659
|
-
"Name": str,
|
|
660
|
-
},
|
|
661
|
-
)
|
|
662
|
-
ListActivatedRulesInRuleGroupRequestRequestTypeDef = TypedDict(
|
|
663
|
-
"ListActivatedRulesInRuleGroupRequestRequestTypeDef",
|
|
664
|
-
{
|
|
665
|
-
"RuleGroupId": NotRequired[str],
|
|
666
|
-
"NextMarker": NotRequired[str],
|
|
667
|
-
"Limit": NotRequired[int],
|
|
668
|
-
},
|
|
669
|
-
)
|
|
670
|
-
ListByteMatchSetsRequestRequestTypeDef = TypedDict(
|
|
671
|
-
"ListByteMatchSetsRequestRequestTypeDef",
|
|
672
|
-
{
|
|
673
|
-
"NextMarker": NotRequired[str],
|
|
674
|
-
"Limit": NotRequired[int],
|
|
675
|
-
},
|
|
676
|
-
)
|
|
677
|
-
ListGeoMatchSetsRequestRequestTypeDef = TypedDict(
|
|
678
|
-
"ListGeoMatchSetsRequestRequestTypeDef",
|
|
679
|
-
{
|
|
680
|
-
"NextMarker": NotRequired[str],
|
|
681
|
-
"Limit": NotRequired[int],
|
|
682
|
-
},
|
|
683
|
-
)
|
|
684
|
-
ListIPSetsRequestRequestTypeDef = TypedDict(
|
|
685
|
-
"ListIPSetsRequestRequestTypeDef",
|
|
686
|
-
{
|
|
687
|
-
"NextMarker": NotRequired[str],
|
|
688
|
-
"Limit": NotRequired[int],
|
|
689
|
-
},
|
|
690
|
-
)
|
|
691
|
-
ListLoggingConfigurationsRequestRequestTypeDef = TypedDict(
|
|
692
|
-
"ListLoggingConfigurationsRequestRequestTypeDef",
|
|
693
|
-
{
|
|
694
|
-
"NextMarker": NotRequired[str],
|
|
695
|
-
"Limit": NotRequired[int],
|
|
696
|
-
},
|
|
697
|
-
)
|
|
698
|
-
ListRateBasedRulesRequestRequestTypeDef = TypedDict(
|
|
699
|
-
"ListRateBasedRulesRequestRequestTypeDef",
|
|
700
|
-
{
|
|
701
|
-
"NextMarker": NotRequired[str],
|
|
702
|
-
"Limit": NotRequired[int],
|
|
703
|
-
},
|
|
704
|
-
)
|
|
705
|
-
RuleSummaryTypeDef = TypedDict(
|
|
706
|
-
"RuleSummaryTypeDef",
|
|
707
|
-
{
|
|
708
|
-
"RuleId": str,
|
|
709
|
-
"Name": str,
|
|
710
|
-
},
|
|
711
|
-
)
|
|
712
|
-
ListRegexMatchSetsRequestRequestTypeDef = TypedDict(
|
|
713
|
-
"ListRegexMatchSetsRequestRequestTypeDef",
|
|
714
|
-
{
|
|
715
|
-
"NextMarker": NotRequired[str],
|
|
716
|
-
"Limit": NotRequired[int],
|
|
717
|
-
},
|
|
718
|
-
)
|
|
719
|
-
RegexMatchSetSummaryTypeDef = TypedDict(
|
|
720
|
-
"RegexMatchSetSummaryTypeDef",
|
|
721
|
-
{
|
|
722
|
-
"RegexMatchSetId": str,
|
|
723
|
-
"Name": str,
|
|
724
|
-
},
|
|
725
|
-
)
|
|
726
|
-
ListRegexPatternSetsRequestRequestTypeDef = TypedDict(
|
|
727
|
-
"ListRegexPatternSetsRequestRequestTypeDef",
|
|
728
|
-
{
|
|
729
|
-
"NextMarker": NotRequired[str],
|
|
730
|
-
"Limit": NotRequired[int],
|
|
731
|
-
},
|
|
732
|
-
)
|
|
733
|
-
RegexPatternSetSummaryTypeDef = TypedDict(
|
|
734
|
-
"RegexPatternSetSummaryTypeDef",
|
|
735
|
-
{
|
|
736
|
-
"RegexPatternSetId": str,
|
|
737
|
-
"Name": str,
|
|
738
|
-
},
|
|
739
|
-
)
|
|
740
|
-
ListResourcesForWebACLRequestRequestTypeDef = TypedDict(
|
|
741
|
-
"ListResourcesForWebACLRequestRequestTypeDef",
|
|
742
|
-
{
|
|
743
|
-
"WebACLId": str,
|
|
744
|
-
"ResourceType": NotRequired[ResourceTypeType],
|
|
745
|
-
},
|
|
746
|
-
)
|
|
747
|
-
ListRuleGroupsRequestRequestTypeDef = TypedDict(
|
|
748
|
-
"ListRuleGroupsRequestRequestTypeDef",
|
|
749
|
-
{
|
|
750
|
-
"NextMarker": NotRequired[str],
|
|
751
|
-
"Limit": NotRequired[int],
|
|
752
|
-
},
|
|
753
|
-
)
|
|
754
|
-
RuleGroupSummaryTypeDef = TypedDict(
|
|
755
|
-
"RuleGroupSummaryTypeDef",
|
|
756
|
-
{
|
|
757
|
-
"RuleGroupId": str,
|
|
758
|
-
"Name": str,
|
|
759
|
-
},
|
|
760
|
-
)
|
|
761
|
-
ListRulesRequestRequestTypeDef = TypedDict(
|
|
762
|
-
"ListRulesRequestRequestTypeDef",
|
|
763
|
-
{
|
|
764
|
-
"NextMarker": NotRequired[str],
|
|
765
|
-
"Limit": NotRequired[int],
|
|
766
|
-
},
|
|
767
|
-
)
|
|
768
|
-
ListSizeConstraintSetsRequestRequestTypeDef = TypedDict(
|
|
769
|
-
"ListSizeConstraintSetsRequestRequestTypeDef",
|
|
770
|
-
{
|
|
771
|
-
"NextMarker": NotRequired[str],
|
|
772
|
-
"Limit": NotRequired[int],
|
|
773
|
-
},
|
|
774
|
-
)
|
|
775
|
-
SizeConstraintSetSummaryTypeDef = TypedDict(
|
|
776
|
-
"SizeConstraintSetSummaryTypeDef",
|
|
777
|
-
{
|
|
778
|
-
"SizeConstraintSetId": str,
|
|
779
|
-
"Name": str,
|
|
780
|
-
},
|
|
781
|
-
)
|
|
782
|
-
ListSqlInjectionMatchSetsRequestRequestTypeDef = TypedDict(
|
|
783
|
-
"ListSqlInjectionMatchSetsRequestRequestTypeDef",
|
|
784
|
-
{
|
|
785
|
-
"NextMarker": NotRequired[str],
|
|
786
|
-
"Limit": NotRequired[int],
|
|
787
|
-
},
|
|
788
|
-
)
|
|
789
|
-
SqlInjectionMatchSetSummaryTypeDef = TypedDict(
|
|
790
|
-
"SqlInjectionMatchSetSummaryTypeDef",
|
|
791
|
-
{
|
|
792
|
-
"SqlInjectionMatchSetId": str,
|
|
793
|
-
"Name": str,
|
|
794
|
-
},
|
|
795
|
-
)
|
|
796
|
-
ListSubscribedRuleGroupsRequestRequestTypeDef = TypedDict(
|
|
797
|
-
"ListSubscribedRuleGroupsRequestRequestTypeDef",
|
|
798
|
-
{
|
|
799
|
-
"NextMarker": NotRequired[str],
|
|
800
|
-
"Limit": NotRequired[int],
|
|
801
|
-
},
|
|
802
|
-
)
|
|
803
|
-
SubscribedRuleGroupSummaryTypeDef = TypedDict(
|
|
804
|
-
"SubscribedRuleGroupSummaryTypeDef",
|
|
805
|
-
{
|
|
806
|
-
"RuleGroupId": str,
|
|
807
|
-
"Name": str,
|
|
808
|
-
"MetricName": str,
|
|
809
|
-
},
|
|
810
|
-
)
|
|
811
|
-
ListTagsForResourceRequestRequestTypeDef = TypedDict(
|
|
812
|
-
"ListTagsForResourceRequestRequestTypeDef",
|
|
813
|
-
{
|
|
814
|
-
"ResourceARN": str,
|
|
815
|
-
"NextMarker": NotRequired[str],
|
|
816
|
-
"Limit": NotRequired[int],
|
|
817
|
-
},
|
|
818
|
-
)
|
|
819
|
-
ListWebACLsRequestRequestTypeDef = TypedDict(
|
|
820
|
-
"ListWebACLsRequestRequestTypeDef",
|
|
821
|
-
{
|
|
822
|
-
"NextMarker": NotRequired[str],
|
|
823
|
-
"Limit": NotRequired[int],
|
|
824
|
-
},
|
|
825
|
-
)
|
|
826
|
-
ListXssMatchSetsRequestRequestTypeDef = TypedDict(
|
|
827
|
-
"ListXssMatchSetsRequestRequestTypeDef",
|
|
828
|
-
{
|
|
829
|
-
"NextMarker": NotRequired[str],
|
|
830
|
-
"Limit": NotRequired[int],
|
|
831
|
-
},
|
|
832
|
-
)
|
|
833
|
-
XssMatchSetSummaryTypeDef = TypedDict(
|
|
834
|
-
"XssMatchSetSummaryTypeDef",
|
|
835
|
-
{
|
|
836
|
-
"XssMatchSetId": str,
|
|
837
|
-
"Name": str,
|
|
838
|
-
},
|
|
839
|
-
)
|
|
840
|
-
PredicateTypeDef = TypedDict(
|
|
841
|
-
"PredicateTypeDef",
|
|
842
|
-
{
|
|
843
|
-
"Negated": bool,
|
|
844
|
-
"Type": PredicateTypeType,
|
|
845
|
-
"DataId": str,
|
|
846
|
-
},
|
|
847
|
-
)
|
|
848
|
-
PutPermissionPolicyRequestRequestTypeDef = TypedDict(
|
|
849
|
-
"PutPermissionPolicyRequestRequestTypeDef",
|
|
850
|
-
{
|
|
851
|
-
"ResourceArn": str,
|
|
852
|
-
"Policy": str,
|
|
853
|
-
},
|
|
854
|
-
)
|
|
855
|
-
RegexPatternSetUpdateTypeDef = TypedDict(
|
|
856
|
-
"RegexPatternSetUpdateTypeDef",
|
|
857
|
-
{
|
|
858
|
-
"Action": ChangeActionType,
|
|
859
|
-
"RegexPatternString": str,
|
|
860
|
-
},
|
|
861
|
-
)
|
|
862
|
-
TimestampTypeDef = Union[datetime, str]
|
|
863
|
-
UntagResourceRequestRequestTypeDef = TypedDict(
|
|
864
|
-
"UntagResourceRequestRequestTypeDef",
|
|
865
|
-
{
|
|
866
|
-
"ResourceARN": str,
|
|
867
|
-
"TagKeys": Sequence[str],
|
|
868
|
-
},
|
|
869
|
-
)
|
|
870
|
-
ActivatedRuleOutputTypeDef = TypedDict(
|
|
871
|
-
"ActivatedRuleOutputTypeDef",
|
|
872
|
-
{
|
|
873
|
-
"Priority": int,
|
|
874
|
-
"RuleId": str,
|
|
875
|
-
"Action": NotRequired[WafActionTypeDef],
|
|
876
|
-
"OverrideAction": NotRequired[WafOverrideActionTypeDef],
|
|
877
|
-
"Type": NotRequired[WafRuleTypeType],
|
|
878
|
-
"ExcludedRules": NotRequired[List[ExcludedRuleTypeDef]],
|
|
879
|
-
},
|
|
880
|
-
)
|
|
881
|
-
ActivatedRuleTypeDef = TypedDict(
|
|
882
|
-
"ActivatedRuleTypeDef",
|
|
883
|
-
{
|
|
884
|
-
"Priority": int,
|
|
885
|
-
"RuleId": str,
|
|
886
|
-
"Action": NotRequired[WafActionTypeDef],
|
|
887
|
-
"OverrideAction": NotRequired[WafOverrideActionTypeDef],
|
|
888
|
-
"Type": NotRequired[WafRuleTypeType],
|
|
889
|
-
"ExcludedRules": NotRequired[Sequence[ExcludedRuleTypeDef]],
|
|
890
|
-
},
|
|
891
|
-
)
|
|
892
|
-
ByteMatchTupleOutputTypeDef = TypedDict(
|
|
893
|
-
"ByteMatchTupleOutputTypeDef",
|
|
894
|
-
{
|
|
895
|
-
"FieldToMatch": FieldToMatchTypeDef,
|
|
896
|
-
"TargetString": bytes,
|
|
897
|
-
"TextTransformation": TextTransformationType,
|
|
898
|
-
"PositionalConstraint": PositionalConstraintType,
|
|
899
|
-
},
|
|
900
|
-
)
|
|
901
|
-
ByteMatchTupleTypeDef = TypedDict(
|
|
902
|
-
"ByteMatchTupleTypeDef",
|
|
903
|
-
{
|
|
904
|
-
"FieldToMatch": FieldToMatchTypeDef,
|
|
905
|
-
"TargetString": BlobTypeDef,
|
|
906
|
-
"TextTransformation": TextTransformationType,
|
|
907
|
-
"PositionalConstraint": PositionalConstraintType,
|
|
908
|
-
},
|
|
909
|
-
)
|
|
910
|
-
LoggingConfigurationOutputTypeDef = TypedDict(
|
|
911
|
-
"LoggingConfigurationOutputTypeDef",
|
|
912
|
-
{
|
|
913
|
-
"ResourceArn": str,
|
|
914
|
-
"LogDestinationConfigs": List[str],
|
|
915
|
-
"RedactedFields": NotRequired[List[FieldToMatchTypeDef]],
|
|
916
|
-
},
|
|
917
|
-
)
|
|
918
|
-
LoggingConfigurationTypeDef = TypedDict(
|
|
919
|
-
"LoggingConfigurationTypeDef",
|
|
920
|
-
{
|
|
921
|
-
"ResourceArn": str,
|
|
922
|
-
"LogDestinationConfigs": Sequence[str],
|
|
923
|
-
"RedactedFields": NotRequired[Sequence[FieldToMatchTypeDef]],
|
|
924
|
-
},
|
|
925
|
-
)
|
|
926
|
-
RegexMatchTupleTypeDef = TypedDict(
|
|
927
|
-
"RegexMatchTupleTypeDef",
|
|
928
|
-
{
|
|
929
|
-
"FieldToMatch": FieldToMatchTypeDef,
|
|
930
|
-
"TextTransformation": TextTransformationType,
|
|
931
|
-
"RegexPatternSetId": str,
|
|
932
|
-
},
|
|
933
|
-
)
|
|
934
|
-
SizeConstraintTypeDef = TypedDict(
|
|
935
|
-
"SizeConstraintTypeDef",
|
|
936
|
-
{
|
|
937
|
-
"FieldToMatch": FieldToMatchTypeDef,
|
|
938
|
-
"TextTransformation": TextTransformationType,
|
|
939
|
-
"ComparisonOperator": ComparisonOperatorType,
|
|
940
|
-
"Size": int,
|
|
941
|
-
},
|
|
942
|
-
)
|
|
943
|
-
SqlInjectionMatchTupleTypeDef = TypedDict(
|
|
944
|
-
"SqlInjectionMatchTupleTypeDef",
|
|
945
|
-
{
|
|
946
|
-
"FieldToMatch": FieldToMatchTypeDef,
|
|
947
|
-
"TextTransformation": TextTransformationType,
|
|
948
|
-
},
|
|
949
|
-
)
|
|
950
|
-
XssMatchTupleTypeDef = TypedDict(
|
|
951
|
-
"XssMatchTupleTypeDef",
|
|
952
|
-
{
|
|
953
|
-
"FieldToMatch": FieldToMatchTypeDef,
|
|
954
|
-
"TextTransformation": TextTransformationType,
|
|
955
|
-
},
|
|
956
|
-
)
|
|
957
|
-
CreateWebACLMigrationStackResponseTypeDef = TypedDict(
|
|
958
|
-
"CreateWebACLMigrationStackResponseTypeDef",
|
|
959
|
-
{
|
|
960
|
-
"S3ObjectUrl": str,
|
|
961
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
962
|
-
},
|
|
963
|
-
)
|
|
964
|
-
DeleteByteMatchSetResponseTypeDef = TypedDict(
|
|
965
|
-
"DeleteByteMatchSetResponseTypeDef",
|
|
966
|
-
{
|
|
967
|
-
"ChangeToken": str,
|
|
968
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
969
|
-
},
|
|
970
|
-
)
|
|
971
|
-
DeleteGeoMatchSetResponseTypeDef = TypedDict(
|
|
972
|
-
"DeleteGeoMatchSetResponseTypeDef",
|
|
973
|
-
{
|
|
974
|
-
"ChangeToken": str,
|
|
975
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
976
|
-
},
|
|
977
|
-
)
|
|
978
|
-
DeleteIPSetResponseTypeDef = TypedDict(
|
|
979
|
-
"DeleteIPSetResponseTypeDef",
|
|
980
|
-
{
|
|
981
|
-
"ChangeToken": str,
|
|
982
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
983
|
-
},
|
|
984
|
-
)
|
|
985
|
-
DeleteRateBasedRuleResponseTypeDef = TypedDict(
|
|
986
|
-
"DeleteRateBasedRuleResponseTypeDef",
|
|
987
|
-
{
|
|
988
|
-
"ChangeToken": str,
|
|
989
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
990
|
-
},
|
|
991
|
-
)
|
|
992
|
-
DeleteRegexMatchSetResponseTypeDef = TypedDict(
|
|
993
|
-
"DeleteRegexMatchSetResponseTypeDef",
|
|
994
|
-
{
|
|
995
|
-
"ChangeToken": str,
|
|
996
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
997
|
-
},
|
|
998
|
-
)
|
|
999
|
-
DeleteRegexPatternSetResponseTypeDef = TypedDict(
|
|
1000
|
-
"DeleteRegexPatternSetResponseTypeDef",
|
|
1001
|
-
{
|
|
1002
|
-
"ChangeToken": str,
|
|
1003
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1004
|
-
},
|
|
1005
|
-
)
|
|
1006
|
-
DeleteRuleGroupResponseTypeDef = TypedDict(
|
|
1007
|
-
"DeleteRuleGroupResponseTypeDef",
|
|
1008
|
-
{
|
|
1009
|
-
"ChangeToken": str,
|
|
1010
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1011
|
-
},
|
|
1012
|
-
)
|
|
1013
|
-
DeleteRuleResponseTypeDef = TypedDict(
|
|
1014
|
-
"DeleteRuleResponseTypeDef",
|
|
1015
|
-
{
|
|
1016
|
-
"ChangeToken": str,
|
|
1017
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1018
|
-
},
|
|
1019
|
-
)
|
|
1020
|
-
DeleteSizeConstraintSetResponseTypeDef = TypedDict(
|
|
1021
|
-
"DeleteSizeConstraintSetResponseTypeDef",
|
|
1022
|
-
{
|
|
1023
|
-
"ChangeToken": str,
|
|
1024
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1025
|
-
},
|
|
1026
|
-
)
|
|
1027
|
-
DeleteSqlInjectionMatchSetResponseTypeDef = TypedDict(
|
|
1028
|
-
"DeleteSqlInjectionMatchSetResponseTypeDef",
|
|
1029
|
-
{
|
|
1030
|
-
"ChangeToken": str,
|
|
1031
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1032
|
-
},
|
|
1033
|
-
)
|
|
1034
|
-
DeleteWebACLResponseTypeDef = TypedDict(
|
|
1035
|
-
"DeleteWebACLResponseTypeDef",
|
|
1036
|
-
{
|
|
1037
|
-
"ChangeToken": str,
|
|
1038
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1039
|
-
},
|
|
1040
|
-
)
|
|
1041
|
-
DeleteXssMatchSetResponseTypeDef = TypedDict(
|
|
1042
|
-
"DeleteXssMatchSetResponseTypeDef",
|
|
1043
|
-
{
|
|
1044
|
-
"ChangeToken": str,
|
|
1045
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1046
|
-
},
|
|
1047
|
-
)
|
|
1048
|
-
GetChangeTokenResponseTypeDef = TypedDict(
|
|
1049
|
-
"GetChangeTokenResponseTypeDef",
|
|
1050
|
-
{
|
|
1051
|
-
"ChangeToken": str,
|
|
1052
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1053
|
-
},
|
|
1054
|
-
)
|
|
1055
|
-
GetChangeTokenStatusResponseTypeDef = TypedDict(
|
|
1056
|
-
"GetChangeTokenStatusResponseTypeDef",
|
|
1057
|
-
{
|
|
1058
|
-
"ChangeTokenStatus": ChangeTokenStatusType,
|
|
1059
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1060
|
-
},
|
|
1061
|
-
)
|
|
1062
|
-
GetPermissionPolicyResponseTypeDef = TypedDict(
|
|
1063
|
-
"GetPermissionPolicyResponseTypeDef",
|
|
1064
|
-
{
|
|
1065
|
-
"Policy": str,
|
|
1066
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1067
|
-
},
|
|
1068
|
-
)
|
|
1069
|
-
GetRateBasedRuleManagedKeysResponseTypeDef = TypedDict(
|
|
1070
|
-
"GetRateBasedRuleManagedKeysResponseTypeDef",
|
|
1071
|
-
{
|
|
1072
|
-
"ManagedKeys": List[str],
|
|
1073
|
-
"NextMarker": str,
|
|
1074
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1075
|
-
},
|
|
1076
|
-
)
|
|
1077
|
-
ListByteMatchSetsResponseTypeDef = TypedDict(
|
|
1078
|
-
"ListByteMatchSetsResponseTypeDef",
|
|
1079
|
-
{
|
|
1080
|
-
"NextMarker": str,
|
|
1081
|
-
"ByteMatchSets": List[ByteMatchSetSummaryTypeDef],
|
|
1082
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1083
|
-
},
|
|
1084
|
-
)
|
|
1085
|
-
ListResourcesForWebACLResponseTypeDef = TypedDict(
|
|
1086
|
-
"ListResourcesForWebACLResponseTypeDef",
|
|
1087
|
-
{
|
|
1088
|
-
"ResourceArns": List[str],
|
|
1089
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1090
|
-
},
|
|
1091
|
-
)
|
|
1092
|
-
UpdateByteMatchSetResponseTypeDef = TypedDict(
|
|
1093
|
-
"UpdateByteMatchSetResponseTypeDef",
|
|
1094
|
-
{
|
|
1095
|
-
"ChangeToken": str,
|
|
1096
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1097
|
-
},
|
|
1098
|
-
)
|
|
1099
|
-
UpdateGeoMatchSetResponseTypeDef = TypedDict(
|
|
1100
|
-
"UpdateGeoMatchSetResponseTypeDef",
|
|
1101
|
-
{
|
|
1102
|
-
"ChangeToken": str,
|
|
1103
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1104
|
-
},
|
|
1105
|
-
)
|
|
1106
|
-
UpdateIPSetResponseTypeDef = TypedDict(
|
|
1107
|
-
"UpdateIPSetResponseTypeDef",
|
|
1108
|
-
{
|
|
1109
|
-
"ChangeToken": str,
|
|
1110
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1111
|
-
},
|
|
1112
|
-
)
|
|
1113
|
-
UpdateRateBasedRuleResponseTypeDef = TypedDict(
|
|
1114
|
-
"UpdateRateBasedRuleResponseTypeDef",
|
|
1115
|
-
{
|
|
1116
|
-
"ChangeToken": str,
|
|
1117
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1118
|
-
},
|
|
1119
|
-
)
|
|
1120
|
-
UpdateRegexMatchSetResponseTypeDef = TypedDict(
|
|
1121
|
-
"UpdateRegexMatchSetResponseTypeDef",
|
|
1122
|
-
{
|
|
1123
|
-
"ChangeToken": str,
|
|
1124
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1125
|
-
},
|
|
1126
|
-
)
|
|
1127
|
-
UpdateRegexPatternSetResponseTypeDef = TypedDict(
|
|
1128
|
-
"UpdateRegexPatternSetResponseTypeDef",
|
|
1129
|
-
{
|
|
1130
|
-
"ChangeToken": str,
|
|
1131
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1132
|
-
},
|
|
1133
|
-
)
|
|
1134
|
-
UpdateRuleGroupResponseTypeDef = TypedDict(
|
|
1135
|
-
"UpdateRuleGroupResponseTypeDef",
|
|
1136
|
-
{
|
|
1137
|
-
"ChangeToken": str,
|
|
1138
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1139
|
-
},
|
|
1140
|
-
)
|
|
1141
|
-
UpdateRuleResponseTypeDef = TypedDict(
|
|
1142
|
-
"UpdateRuleResponseTypeDef",
|
|
1143
|
-
{
|
|
1144
|
-
"ChangeToken": str,
|
|
1145
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1146
|
-
},
|
|
1147
|
-
)
|
|
1148
|
-
UpdateSizeConstraintSetResponseTypeDef = TypedDict(
|
|
1149
|
-
"UpdateSizeConstraintSetResponseTypeDef",
|
|
1150
|
-
{
|
|
1151
|
-
"ChangeToken": str,
|
|
1152
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1153
|
-
},
|
|
1154
|
-
)
|
|
1155
|
-
UpdateSqlInjectionMatchSetResponseTypeDef = TypedDict(
|
|
1156
|
-
"UpdateSqlInjectionMatchSetResponseTypeDef",
|
|
1157
|
-
{
|
|
1158
|
-
"ChangeToken": str,
|
|
1159
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1160
|
-
},
|
|
1161
|
-
)
|
|
1162
|
-
UpdateWebACLResponseTypeDef = TypedDict(
|
|
1163
|
-
"UpdateWebACLResponseTypeDef",
|
|
1164
|
-
{
|
|
1165
|
-
"ChangeToken": str,
|
|
1166
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1167
|
-
},
|
|
1168
|
-
)
|
|
1169
|
-
UpdateXssMatchSetResponseTypeDef = TypedDict(
|
|
1170
|
-
"UpdateXssMatchSetResponseTypeDef",
|
|
1171
|
-
{
|
|
1172
|
-
"ChangeToken": str,
|
|
1173
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1174
|
-
},
|
|
1175
|
-
)
|
|
1176
|
-
CreateRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
1177
|
-
"CreateRateBasedRuleRequestRequestTypeDef",
|
|
1178
|
-
{
|
|
1179
|
-
"Name": str,
|
|
1180
|
-
"MetricName": str,
|
|
1181
|
-
"RateKey": Literal["IP"],
|
|
1182
|
-
"RateLimit": int,
|
|
1183
|
-
"ChangeToken": str,
|
|
1184
|
-
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1185
|
-
},
|
|
1186
|
-
)
|
|
1187
|
-
CreateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1188
|
-
"CreateRuleGroupRequestRequestTypeDef",
|
|
1189
|
-
{
|
|
1190
|
-
"Name": str,
|
|
1191
|
-
"MetricName": str,
|
|
1192
|
-
"ChangeToken": str,
|
|
1193
|
-
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1194
|
-
},
|
|
1195
|
-
)
|
|
1196
|
-
CreateRuleRequestRequestTypeDef = TypedDict(
|
|
1197
|
-
"CreateRuleRequestRequestTypeDef",
|
|
1198
|
-
{
|
|
1199
|
-
"Name": str,
|
|
1200
|
-
"MetricName": str,
|
|
1201
|
-
"ChangeToken": str,
|
|
1202
|
-
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1203
|
-
},
|
|
1204
|
-
)
|
|
1205
|
-
CreateWebACLRequestRequestTypeDef = TypedDict(
|
|
1206
|
-
"CreateWebACLRequestRequestTypeDef",
|
|
1207
|
-
{
|
|
1208
|
-
"Name": str,
|
|
1209
|
-
"MetricName": str,
|
|
1210
|
-
"DefaultAction": WafActionTypeDef,
|
|
1211
|
-
"ChangeToken": str,
|
|
1212
|
-
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1213
|
-
},
|
|
1214
|
-
)
|
|
1215
|
-
TagInfoForResourceTypeDef = TypedDict(
|
|
1216
|
-
"TagInfoForResourceTypeDef",
|
|
1217
|
-
{
|
|
1218
|
-
"ResourceARN": NotRequired[str],
|
|
1219
|
-
"TagList": NotRequired[List[TagTypeDef]],
|
|
1220
|
-
},
|
|
1221
|
-
)
|
|
1222
|
-
TagResourceRequestRequestTypeDef = TypedDict(
|
|
1223
|
-
"TagResourceRequestRequestTypeDef",
|
|
1224
|
-
{
|
|
1225
|
-
"ResourceARN": str,
|
|
1226
|
-
"Tags": Sequence[TagTypeDef],
|
|
1227
|
-
},
|
|
1228
|
-
)
|
|
1229
|
-
CreateRegexPatternSetResponseTypeDef = TypedDict(
|
|
1230
|
-
"CreateRegexPatternSetResponseTypeDef",
|
|
1231
|
-
{
|
|
1232
|
-
"RegexPatternSet": RegexPatternSetTypeDef,
|
|
1233
|
-
"ChangeToken": str,
|
|
1234
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1235
|
-
},
|
|
1236
|
-
)
|
|
1237
|
-
GetRegexPatternSetResponseTypeDef = TypedDict(
|
|
1238
|
-
"GetRegexPatternSetResponseTypeDef",
|
|
1239
|
-
{
|
|
1240
|
-
"RegexPatternSet": RegexPatternSetTypeDef,
|
|
1241
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1242
|
-
},
|
|
1243
|
-
)
|
|
1244
|
-
CreateRuleGroupResponseTypeDef = TypedDict(
|
|
1245
|
-
"CreateRuleGroupResponseTypeDef",
|
|
1246
|
-
{
|
|
1247
|
-
"RuleGroup": RuleGroupTypeDef,
|
|
1248
|
-
"ChangeToken": str,
|
|
1249
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1250
|
-
},
|
|
1251
|
-
)
|
|
1252
|
-
GetRuleGroupResponseTypeDef = TypedDict(
|
|
1253
|
-
"GetRuleGroupResponseTypeDef",
|
|
1254
|
-
{
|
|
1255
|
-
"RuleGroup": RuleGroupTypeDef,
|
|
1256
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1257
|
-
},
|
|
1258
|
-
)
|
|
1259
|
-
GeoMatchSetTypeDef = TypedDict(
|
|
1260
|
-
"GeoMatchSetTypeDef",
|
|
1261
|
-
{
|
|
1262
|
-
"GeoMatchSetId": str,
|
|
1263
|
-
"GeoMatchConstraints": List[GeoMatchConstraintTypeDef],
|
|
1264
|
-
"Name": NotRequired[str],
|
|
1265
|
-
},
|
|
1266
|
-
)
|
|
1267
|
-
GeoMatchSetUpdateTypeDef = TypedDict(
|
|
1268
|
-
"GeoMatchSetUpdateTypeDef",
|
|
1269
|
-
{
|
|
1270
|
-
"Action": ChangeActionType,
|
|
1271
|
-
"GeoMatchConstraint": GeoMatchConstraintTypeDef,
|
|
1272
|
-
},
|
|
1273
|
-
)
|
|
1274
|
-
ListGeoMatchSetsResponseTypeDef = TypedDict(
|
|
1275
|
-
"ListGeoMatchSetsResponseTypeDef",
|
|
1276
|
-
{
|
|
1277
|
-
"NextMarker": str,
|
|
1278
|
-
"GeoMatchSets": List[GeoMatchSetSummaryTypeDef],
|
|
1279
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1280
|
-
},
|
|
1281
|
-
)
|
|
1282
|
-
GetWebACLForResourceResponseTypeDef = TypedDict(
|
|
1283
|
-
"GetWebACLForResourceResponseTypeDef",
|
|
1284
|
-
{
|
|
1285
|
-
"WebACLSummary": WebACLSummaryTypeDef,
|
|
1286
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1287
|
-
},
|
|
1288
|
-
)
|
|
1289
|
-
ListWebACLsResponseTypeDef = TypedDict(
|
|
1290
|
-
"ListWebACLsResponseTypeDef",
|
|
1291
|
-
{
|
|
1292
|
-
"NextMarker": str,
|
|
1293
|
-
"WebACLs": List[WebACLSummaryTypeDef],
|
|
1294
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1295
|
-
},
|
|
1296
|
-
)
|
|
1297
|
-
HTTPRequestTypeDef = TypedDict(
|
|
1298
|
-
"HTTPRequestTypeDef",
|
|
1299
|
-
{
|
|
1300
|
-
"ClientIP": NotRequired[str],
|
|
1301
|
-
"Country": NotRequired[str],
|
|
1302
|
-
"URI": NotRequired[str],
|
|
1303
|
-
"Method": NotRequired[str],
|
|
1304
|
-
"HTTPVersion": NotRequired[str],
|
|
1305
|
-
"Headers": NotRequired[List[HTTPHeaderTypeDef]],
|
|
1306
|
-
},
|
|
1307
|
-
)
|
|
1308
|
-
IPSetTypeDef = TypedDict(
|
|
1309
|
-
"IPSetTypeDef",
|
|
1310
|
-
{
|
|
1311
|
-
"IPSetId": str,
|
|
1312
|
-
"IPSetDescriptors": List[IPSetDescriptorTypeDef],
|
|
1313
|
-
"Name": NotRequired[str],
|
|
1314
|
-
},
|
|
1315
|
-
)
|
|
1316
|
-
IPSetUpdateTypeDef = TypedDict(
|
|
1317
|
-
"IPSetUpdateTypeDef",
|
|
1318
|
-
{
|
|
1319
|
-
"Action": ChangeActionType,
|
|
1320
|
-
"IPSetDescriptor": IPSetDescriptorTypeDef,
|
|
1321
|
-
},
|
|
1322
|
-
)
|
|
1323
|
-
ListIPSetsResponseTypeDef = TypedDict(
|
|
1324
|
-
"ListIPSetsResponseTypeDef",
|
|
1325
|
-
{
|
|
1326
|
-
"NextMarker": str,
|
|
1327
|
-
"IPSets": List[IPSetSummaryTypeDef],
|
|
1328
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1329
|
-
},
|
|
1330
|
-
)
|
|
1331
|
-
ListRateBasedRulesResponseTypeDef = TypedDict(
|
|
1332
|
-
"ListRateBasedRulesResponseTypeDef",
|
|
1333
|
-
{
|
|
1334
|
-
"NextMarker": str,
|
|
1335
|
-
"Rules": List[RuleSummaryTypeDef],
|
|
1336
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1337
|
-
},
|
|
1338
|
-
)
|
|
1339
|
-
ListRulesResponseTypeDef = TypedDict(
|
|
1340
|
-
"ListRulesResponseTypeDef",
|
|
1341
|
-
{
|
|
1342
|
-
"NextMarker": str,
|
|
1343
|
-
"Rules": List[RuleSummaryTypeDef],
|
|
1344
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1345
|
-
},
|
|
1346
|
-
)
|
|
1347
|
-
ListRegexMatchSetsResponseTypeDef = TypedDict(
|
|
1348
|
-
"ListRegexMatchSetsResponseTypeDef",
|
|
1349
|
-
{
|
|
1350
|
-
"NextMarker": str,
|
|
1351
|
-
"RegexMatchSets": List[RegexMatchSetSummaryTypeDef],
|
|
1352
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1353
|
-
},
|
|
1354
|
-
)
|
|
1355
|
-
ListRegexPatternSetsResponseTypeDef = TypedDict(
|
|
1356
|
-
"ListRegexPatternSetsResponseTypeDef",
|
|
1357
|
-
{
|
|
1358
|
-
"NextMarker": str,
|
|
1359
|
-
"RegexPatternSets": List[RegexPatternSetSummaryTypeDef],
|
|
1360
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1361
|
-
},
|
|
1362
|
-
)
|
|
1363
|
-
ListRuleGroupsResponseTypeDef = TypedDict(
|
|
1364
|
-
"ListRuleGroupsResponseTypeDef",
|
|
1365
|
-
{
|
|
1366
|
-
"NextMarker": str,
|
|
1367
|
-
"RuleGroups": List[RuleGroupSummaryTypeDef],
|
|
1368
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1369
|
-
},
|
|
1370
|
-
)
|
|
1371
|
-
ListSizeConstraintSetsResponseTypeDef = TypedDict(
|
|
1372
|
-
"ListSizeConstraintSetsResponseTypeDef",
|
|
1373
|
-
{
|
|
1374
|
-
"NextMarker": str,
|
|
1375
|
-
"SizeConstraintSets": List[SizeConstraintSetSummaryTypeDef],
|
|
1376
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1377
|
-
},
|
|
1378
|
-
)
|
|
1379
|
-
ListSqlInjectionMatchSetsResponseTypeDef = TypedDict(
|
|
1380
|
-
"ListSqlInjectionMatchSetsResponseTypeDef",
|
|
1381
|
-
{
|
|
1382
|
-
"NextMarker": str,
|
|
1383
|
-
"SqlInjectionMatchSets": List[SqlInjectionMatchSetSummaryTypeDef],
|
|
1384
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1385
|
-
},
|
|
1386
|
-
)
|
|
1387
|
-
ListSubscribedRuleGroupsResponseTypeDef = TypedDict(
|
|
1388
|
-
"ListSubscribedRuleGroupsResponseTypeDef",
|
|
1389
|
-
{
|
|
1390
|
-
"NextMarker": str,
|
|
1391
|
-
"RuleGroups": List[SubscribedRuleGroupSummaryTypeDef],
|
|
1392
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1393
|
-
},
|
|
1394
|
-
)
|
|
1395
|
-
ListXssMatchSetsResponseTypeDef = TypedDict(
|
|
1396
|
-
"ListXssMatchSetsResponseTypeDef",
|
|
1397
|
-
{
|
|
1398
|
-
"NextMarker": str,
|
|
1399
|
-
"XssMatchSets": List[XssMatchSetSummaryTypeDef],
|
|
1400
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1401
|
-
},
|
|
1402
|
-
)
|
|
1403
|
-
RateBasedRuleTypeDef = TypedDict(
|
|
1404
|
-
"RateBasedRuleTypeDef",
|
|
1405
|
-
{
|
|
1406
|
-
"RuleId": str,
|
|
1407
|
-
"MatchPredicates": List[PredicateTypeDef],
|
|
1408
|
-
"RateKey": Literal["IP"],
|
|
1409
|
-
"RateLimit": int,
|
|
1410
|
-
"Name": NotRequired[str],
|
|
1411
|
-
"MetricName": NotRequired[str],
|
|
1412
|
-
},
|
|
1413
|
-
)
|
|
1414
|
-
RuleTypeDef = TypedDict(
|
|
1415
|
-
"RuleTypeDef",
|
|
1416
|
-
{
|
|
1417
|
-
"RuleId": str,
|
|
1418
|
-
"Predicates": List[PredicateTypeDef],
|
|
1419
|
-
"Name": NotRequired[str],
|
|
1420
|
-
"MetricName": NotRequired[str],
|
|
1421
|
-
},
|
|
1422
|
-
)
|
|
1423
|
-
RuleUpdateTypeDef = TypedDict(
|
|
1424
|
-
"RuleUpdateTypeDef",
|
|
1425
|
-
{
|
|
1426
|
-
"Action": ChangeActionType,
|
|
1427
|
-
"Predicate": PredicateTypeDef,
|
|
1428
|
-
},
|
|
1429
|
-
)
|
|
1430
|
-
UpdateRegexPatternSetRequestRequestTypeDef = TypedDict(
|
|
1431
|
-
"UpdateRegexPatternSetRequestRequestTypeDef",
|
|
1432
|
-
{
|
|
1433
|
-
"RegexPatternSetId": str,
|
|
1434
|
-
"Updates": Sequence[RegexPatternSetUpdateTypeDef],
|
|
1435
|
-
"ChangeToken": str,
|
|
1436
|
-
},
|
|
1437
|
-
)
|
|
1438
|
-
TimeWindowTypeDef = TypedDict(
|
|
1439
|
-
"TimeWindowTypeDef",
|
|
1440
|
-
{
|
|
1441
|
-
"StartTime": TimestampTypeDef,
|
|
1442
|
-
"EndTime": TimestampTypeDef,
|
|
1443
|
-
},
|
|
1444
|
-
)
|
|
1445
|
-
ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
|
|
1446
|
-
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
1447
|
-
{
|
|
1448
|
-
"NextMarker": str,
|
|
1449
|
-
"ActivatedRules": List[ActivatedRuleOutputTypeDef],
|
|
1450
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1451
|
-
},
|
|
1452
|
-
)
|
|
1453
|
-
WebACLTypeDef = TypedDict(
|
|
1454
|
-
"WebACLTypeDef",
|
|
1455
|
-
{
|
|
1456
|
-
"WebACLId": str,
|
|
1457
|
-
"DefaultAction": WafActionTypeDef,
|
|
1458
|
-
"Rules": List[ActivatedRuleOutputTypeDef],
|
|
1459
|
-
"Name": NotRequired[str],
|
|
1460
|
-
"MetricName": NotRequired[str],
|
|
1461
|
-
"WebACLArn": NotRequired[str],
|
|
1462
|
-
},
|
|
1463
|
-
)
|
|
1464
|
-
RuleGroupUpdateTypeDef = TypedDict(
|
|
1465
|
-
"RuleGroupUpdateTypeDef",
|
|
1466
|
-
{
|
|
1467
|
-
"Action": ChangeActionType,
|
|
1468
|
-
"ActivatedRule": ActivatedRuleTypeDef,
|
|
1469
|
-
},
|
|
1470
|
-
)
|
|
1471
|
-
WebACLUpdateTypeDef = TypedDict(
|
|
1472
|
-
"WebACLUpdateTypeDef",
|
|
1473
|
-
{
|
|
1474
|
-
"Action": ChangeActionType,
|
|
1475
|
-
"ActivatedRule": ActivatedRuleTypeDef,
|
|
1476
|
-
},
|
|
1477
|
-
)
|
|
1478
|
-
ByteMatchSetTypeDef = TypedDict(
|
|
1479
|
-
"ByteMatchSetTypeDef",
|
|
1480
|
-
{
|
|
1481
|
-
"ByteMatchSetId": str,
|
|
1482
|
-
"ByteMatchTuples": List[ByteMatchTupleOutputTypeDef],
|
|
1483
|
-
"Name": NotRequired[str],
|
|
1484
|
-
},
|
|
1485
|
-
)
|
|
1486
|
-
ByteMatchSetUpdateTypeDef = TypedDict(
|
|
1487
|
-
"ByteMatchSetUpdateTypeDef",
|
|
1488
|
-
{
|
|
1489
|
-
"Action": ChangeActionType,
|
|
1490
|
-
"ByteMatchTuple": ByteMatchTupleTypeDef,
|
|
1491
|
-
},
|
|
1492
|
-
)
|
|
1493
|
-
GetLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1494
|
-
"GetLoggingConfigurationResponseTypeDef",
|
|
1495
|
-
{
|
|
1496
|
-
"LoggingConfiguration": LoggingConfigurationOutputTypeDef,
|
|
1497
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1498
|
-
},
|
|
1499
|
-
)
|
|
1500
|
-
ListLoggingConfigurationsResponseTypeDef = TypedDict(
|
|
1501
|
-
"ListLoggingConfigurationsResponseTypeDef",
|
|
1502
|
-
{
|
|
1503
|
-
"LoggingConfigurations": List[LoggingConfigurationOutputTypeDef],
|
|
1504
|
-
"NextMarker": str,
|
|
1505
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1506
|
-
},
|
|
1507
|
-
)
|
|
1508
|
-
PutLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1509
|
-
"PutLoggingConfigurationResponseTypeDef",
|
|
1510
|
-
{
|
|
1511
|
-
"LoggingConfiguration": LoggingConfigurationOutputTypeDef,
|
|
1512
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1513
|
-
},
|
|
1514
|
-
)
|
|
1515
|
-
LoggingConfigurationUnionTypeDef = Union[
|
|
1516
|
-
LoggingConfigurationTypeDef, LoggingConfigurationOutputTypeDef
|
|
1517
|
-
]
|
|
1518
|
-
PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
|
|
1519
|
-
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
1520
|
-
{
|
|
1521
|
-
"LoggingConfiguration": LoggingConfigurationTypeDef,
|
|
1522
|
-
},
|
|
1523
|
-
)
|
|
1524
|
-
RegexMatchSetTypeDef = TypedDict(
|
|
1525
|
-
"RegexMatchSetTypeDef",
|
|
1526
|
-
{
|
|
1527
|
-
"RegexMatchSetId": NotRequired[str],
|
|
1528
|
-
"Name": NotRequired[str],
|
|
1529
|
-
"RegexMatchTuples": NotRequired[List[RegexMatchTupleTypeDef]],
|
|
1530
|
-
},
|
|
1531
|
-
)
|
|
1532
|
-
RegexMatchSetUpdateTypeDef = TypedDict(
|
|
1533
|
-
"RegexMatchSetUpdateTypeDef",
|
|
1534
|
-
{
|
|
1535
|
-
"Action": ChangeActionType,
|
|
1536
|
-
"RegexMatchTuple": RegexMatchTupleTypeDef,
|
|
1537
|
-
},
|
|
1538
|
-
)
|
|
1539
|
-
SizeConstraintSetTypeDef = TypedDict(
|
|
1540
|
-
"SizeConstraintSetTypeDef",
|
|
1541
|
-
{
|
|
1542
|
-
"SizeConstraintSetId": str,
|
|
1543
|
-
"SizeConstraints": List[SizeConstraintTypeDef],
|
|
1544
|
-
"Name": NotRequired[str],
|
|
1545
|
-
},
|
|
1546
|
-
)
|
|
1547
|
-
SizeConstraintSetUpdateTypeDef = TypedDict(
|
|
1548
|
-
"SizeConstraintSetUpdateTypeDef",
|
|
1549
|
-
{
|
|
1550
|
-
"Action": ChangeActionType,
|
|
1551
|
-
"SizeConstraint": SizeConstraintTypeDef,
|
|
1552
|
-
},
|
|
1553
|
-
)
|
|
1554
|
-
SqlInjectionMatchSetTypeDef = TypedDict(
|
|
1555
|
-
"SqlInjectionMatchSetTypeDef",
|
|
1556
|
-
{
|
|
1557
|
-
"SqlInjectionMatchSetId": str,
|
|
1558
|
-
"SqlInjectionMatchTuples": List[SqlInjectionMatchTupleTypeDef],
|
|
1559
|
-
"Name": NotRequired[str],
|
|
1560
|
-
},
|
|
1561
|
-
)
|
|
1562
|
-
SqlInjectionMatchSetUpdateTypeDef = TypedDict(
|
|
1563
|
-
"SqlInjectionMatchSetUpdateTypeDef",
|
|
1564
|
-
{
|
|
1565
|
-
"Action": ChangeActionType,
|
|
1566
|
-
"SqlInjectionMatchTuple": SqlInjectionMatchTupleTypeDef,
|
|
1567
|
-
},
|
|
1568
|
-
)
|
|
1569
|
-
XssMatchSetTypeDef = TypedDict(
|
|
1570
|
-
"XssMatchSetTypeDef",
|
|
1571
|
-
{
|
|
1572
|
-
"XssMatchSetId": str,
|
|
1573
|
-
"XssMatchTuples": List[XssMatchTupleTypeDef],
|
|
1574
|
-
"Name": NotRequired[str],
|
|
1575
|
-
},
|
|
1576
|
-
)
|
|
1577
|
-
XssMatchSetUpdateTypeDef = TypedDict(
|
|
1578
|
-
"XssMatchSetUpdateTypeDef",
|
|
1579
|
-
{
|
|
1580
|
-
"Action": ChangeActionType,
|
|
1581
|
-
"XssMatchTuple": XssMatchTupleTypeDef,
|
|
1582
|
-
},
|
|
1583
|
-
)
|
|
1584
|
-
ListTagsForResourceResponseTypeDef = TypedDict(
|
|
1585
|
-
"ListTagsForResourceResponseTypeDef",
|
|
1586
|
-
{
|
|
1587
|
-
"NextMarker": str,
|
|
1588
|
-
"TagInfoForResource": TagInfoForResourceTypeDef,
|
|
1589
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1590
|
-
},
|
|
1591
|
-
)
|
|
1592
|
-
CreateGeoMatchSetResponseTypeDef = TypedDict(
|
|
1593
|
-
"CreateGeoMatchSetResponseTypeDef",
|
|
1594
|
-
{
|
|
1595
|
-
"GeoMatchSet": GeoMatchSetTypeDef,
|
|
1596
|
-
"ChangeToken": str,
|
|
1597
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1598
|
-
},
|
|
1599
|
-
)
|
|
1600
|
-
GetGeoMatchSetResponseTypeDef = TypedDict(
|
|
1601
|
-
"GetGeoMatchSetResponseTypeDef",
|
|
1602
|
-
{
|
|
1603
|
-
"GeoMatchSet": GeoMatchSetTypeDef,
|
|
1604
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1605
|
-
},
|
|
1606
|
-
)
|
|
1607
|
-
UpdateGeoMatchSetRequestRequestTypeDef = TypedDict(
|
|
1608
|
-
"UpdateGeoMatchSetRequestRequestTypeDef",
|
|
1609
|
-
{
|
|
1610
|
-
"GeoMatchSetId": str,
|
|
1611
|
-
"ChangeToken": str,
|
|
1612
|
-
"Updates": Sequence[GeoMatchSetUpdateTypeDef],
|
|
1613
|
-
},
|
|
1614
|
-
)
|
|
1615
|
-
SampledHTTPRequestTypeDef = TypedDict(
|
|
1616
|
-
"SampledHTTPRequestTypeDef",
|
|
1617
|
-
{
|
|
1618
|
-
"Request": HTTPRequestTypeDef,
|
|
1619
|
-
"Weight": int,
|
|
1620
|
-
"Timestamp": NotRequired[datetime],
|
|
1621
|
-
"Action": NotRequired[str],
|
|
1622
|
-
"RuleWithinRuleGroup": NotRequired[str],
|
|
1623
|
-
},
|
|
1624
|
-
)
|
|
1625
|
-
CreateIPSetResponseTypeDef = TypedDict(
|
|
1626
|
-
"CreateIPSetResponseTypeDef",
|
|
1627
|
-
{
|
|
1628
|
-
"IPSet": IPSetTypeDef,
|
|
1629
|
-
"ChangeToken": str,
|
|
1630
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1631
|
-
},
|
|
1632
|
-
)
|
|
1633
|
-
GetIPSetResponseTypeDef = TypedDict(
|
|
1634
|
-
"GetIPSetResponseTypeDef",
|
|
1635
|
-
{
|
|
1636
|
-
"IPSet": IPSetTypeDef,
|
|
1637
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1638
|
-
},
|
|
1639
|
-
)
|
|
1640
|
-
UpdateIPSetRequestRequestTypeDef = TypedDict(
|
|
1641
|
-
"UpdateIPSetRequestRequestTypeDef",
|
|
1642
|
-
{
|
|
1643
|
-
"IPSetId": str,
|
|
1644
|
-
"ChangeToken": str,
|
|
1645
|
-
"Updates": Sequence[IPSetUpdateTypeDef],
|
|
1646
|
-
},
|
|
1647
|
-
)
|
|
1648
|
-
CreateRateBasedRuleResponseTypeDef = TypedDict(
|
|
1649
|
-
"CreateRateBasedRuleResponseTypeDef",
|
|
1650
|
-
{
|
|
1651
|
-
"Rule": RateBasedRuleTypeDef,
|
|
1652
|
-
"ChangeToken": str,
|
|
1653
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1654
|
-
},
|
|
1655
|
-
)
|
|
1656
|
-
GetRateBasedRuleResponseTypeDef = TypedDict(
|
|
1657
|
-
"GetRateBasedRuleResponseTypeDef",
|
|
1658
|
-
{
|
|
1659
|
-
"Rule": RateBasedRuleTypeDef,
|
|
1660
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1661
|
-
},
|
|
1662
|
-
)
|
|
1663
|
-
CreateRuleResponseTypeDef = TypedDict(
|
|
1664
|
-
"CreateRuleResponseTypeDef",
|
|
1665
|
-
{
|
|
1666
|
-
"Rule": RuleTypeDef,
|
|
1667
|
-
"ChangeToken": str,
|
|
1668
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1669
|
-
},
|
|
1670
|
-
)
|
|
1671
|
-
GetRuleResponseTypeDef = TypedDict(
|
|
1672
|
-
"GetRuleResponseTypeDef",
|
|
1673
|
-
{
|
|
1674
|
-
"Rule": RuleTypeDef,
|
|
1675
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1676
|
-
},
|
|
1677
|
-
)
|
|
1678
|
-
UpdateRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
1679
|
-
"UpdateRateBasedRuleRequestRequestTypeDef",
|
|
1680
|
-
{
|
|
1681
|
-
"RuleId": str,
|
|
1682
|
-
"ChangeToken": str,
|
|
1683
|
-
"Updates": Sequence[RuleUpdateTypeDef],
|
|
1684
|
-
"RateLimit": int,
|
|
1685
|
-
},
|
|
1686
|
-
)
|
|
1687
|
-
UpdateRuleRequestRequestTypeDef = TypedDict(
|
|
1688
|
-
"UpdateRuleRequestRequestTypeDef",
|
|
1689
|
-
{
|
|
1690
|
-
"RuleId": str,
|
|
1691
|
-
"ChangeToken": str,
|
|
1692
|
-
"Updates": Sequence[RuleUpdateTypeDef],
|
|
1693
|
-
},
|
|
1694
|
-
)
|
|
1695
|
-
GetSampledRequestsRequestRequestTypeDef = TypedDict(
|
|
1696
|
-
"GetSampledRequestsRequestRequestTypeDef",
|
|
1697
|
-
{
|
|
1698
|
-
"WebAclId": str,
|
|
1699
|
-
"RuleId": str,
|
|
1700
|
-
"TimeWindow": TimeWindowTypeDef,
|
|
1701
|
-
"MaxItems": int,
|
|
1702
|
-
},
|
|
1703
|
-
)
|
|
1704
|
-
TimeWindowUnionTypeDef = Union[TimeWindowTypeDef, TimeWindowOutputTypeDef]
|
|
1705
|
-
CreateWebACLResponseTypeDef = TypedDict(
|
|
1706
|
-
"CreateWebACLResponseTypeDef",
|
|
1707
|
-
{
|
|
1708
|
-
"WebACL": WebACLTypeDef,
|
|
1709
|
-
"ChangeToken": str,
|
|
1710
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1711
|
-
},
|
|
1712
|
-
)
|
|
1713
|
-
GetWebACLResponseTypeDef = TypedDict(
|
|
1714
|
-
"GetWebACLResponseTypeDef",
|
|
1715
|
-
{
|
|
1716
|
-
"WebACL": WebACLTypeDef,
|
|
1717
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1718
|
-
},
|
|
1719
|
-
)
|
|
1720
|
-
UpdateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1721
|
-
"UpdateRuleGroupRequestRequestTypeDef",
|
|
1722
|
-
{
|
|
1723
|
-
"RuleGroupId": str,
|
|
1724
|
-
"Updates": Sequence[RuleGroupUpdateTypeDef],
|
|
1725
|
-
"ChangeToken": str,
|
|
1726
|
-
},
|
|
1727
|
-
)
|
|
1728
|
-
UpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
1729
|
-
"UpdateWebACLRequestRequestTypeDef",
|
|
1730
|
-
{
|
|
1731
|
-
"WebACLId": str,
|
|
1732
|
-
"ChangeToken": str,
|
|
1733
|
-
"Updates": NotRequired[Sequence[WebACLUpdateTypeDef]],
|
|
1734
|
-
"DefaultAction": NotRequired[WafActionTypeDef],
|
|
1735
|
-
},
|
|
1736
|
-
)
|
|
1737
|
-
CreateByteMatchSetResponseTypeDef = TypedDict(
|
|
1738
|
-
"CreateByteMatchSetResponseTypeDef",
|
|
1739
|
-
{
|
|
1740
|
-
"ByteMatchSet": ByteMatchSetTypeDef,
|
|
1741
|
-
"ChangeToken": str,
|
|
1742
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1743
|
-
},
|
|
1744
|
-
)
|
|
1745
|
-
GetByteMatchSetResponseTypeDef = TypedDict(
|
|
1746
|
-
"GetByteMatchSetResponseTypeDef",
|
|
1747
|
-
{
|
|
1748
|
-
"ByteMatchSet": ByteMatchSetTypeDef,
|
|
1749
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1750
|
-
},
|
|
1751
|
-
)
|
|
1752
|
-
UpdateByteMatchSetRequestRequestTypeDef = TypedDict(
|
|
1753
|
-
"UpdateByteMatchSetRequestRequestTypeDef",
|
|
1754
|
-
{
|
|
1755
|
-
"ByteMatchSetId": str,
|
|
1756
|
-
"ChangeToken": str,
|
|
1757
|
-
"Updates": Sequence[ByteMatchSetUpdateTypeDef],
|
|
1758
|
-
},
|
|
1759
|
-
)
|
|
1760
|
-
CreateRegexMatchSetResponseTypeDef = TypedDict(
|
|
1761
|
-
"CreateRegexMatchSetResponseTypeDef",
|
|
1762
|
-
{
|
|
1763
|
-
"RegexMatchSet": RegexMatchSetTypeDef,
|
|
1764
|
-
"ChangeToken": str,
|
|
1765
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1766
|
-
},
|
|
1767
|
-
)
|
|
1768
|
-
GetRegexMatchSetResponseTypeDef = TypedDict(
|
|
1769
|
-
"GetRegexMatchSetResponseTypeDef",
|
|
1770
|
-
{
|
|
1771
|
-
"RegexMatchSet": RegexMatchSetTypeDef,
|
|
1772
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1773
|
-
},
|
|
1774
|
-
)
|
|
1775
|
-
UpdateRegexMatchSetRequestRequestTypeDef = TypedDict(
|
|
1776
|
-
"UpdateRegexMatchSetRequestRequestTypeDef",
|
|
1777
|
-
{
|
|
1778
|
-
"RegexMatchSetId": str,
|
|
1779
|
-
"Updates": Sequence[RegexMatchSetUpdateTypeDef],
|
|
1780
|
-
"ChangeToken": str,
|
|
1781
|
-
},
|
|
1782
|
-
)
|
|
1783
|
-
CreateSizeConstraintSetResponseTypeDef = TypedDict(
|
|
1784
|
-
"CreateSizeConstraintSetResponseTypeDef",
|
|
1785
|
-
{
|
|
1786
|
-
"SizeConstraintSet": SizeConstraintSetTypeDef,
|
|
1787
|
-
"ChangeToken": str,
|
|
1788
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1789
|
-
},
|
|
1790
|
-
)
|
|
1791
|
-
GetSizeConstraintSetResponseTypeDef = TypedDict(
|
|
1792
|
-
"GetSizeConstraintSetResponseTypeDef",
|
|
1793
|
-
{
|
|
1794
|
-
"SizeConstraintSet": SizeConstraintSetTypeDef,
|
|
1795
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1796
|
-
},
|
|
1797
|
-
)
|
|
1798
|
-
UpdateSizeConstraintSetRequestRequestTypeDef = TypedDict(
|
|
1799
|
-
"UpdateSizeConstraintSetRequestRequestTypeDef",
|
|
1800
|
-
{
|
|
1801
|
-
"SizeConstraintSetId": str,
|
|
1802
|
-
"ChangeToken": str,
|
|
1803
|
-
"Updates": Sequence[SizeConstraintSetUpdateTypeDef],
|
|
1804
|
-
},
|
|
1805
|
-
)
|
|
1806
|
-
CreateSqlInjectionMatchSetResponseTypeDef = TypedDict(
|
|
1807
|
-
"CreateSqlInjectionMatchSetResponseTypeDef",
|
|
1808
|
-
{
|
|
1809
|
-
"SqlInjectionMatchSet": SqlInjectionMatchSetTypeDef,
|
|
1810
|
-
"ChangeToken": str,
|
|
1811
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1812
|
-
},
|
|
1813
|
-
)
|
|
1814
|
-
GetSqlInjectionMatchSetResponseTypeDef = TypedDict(
|
|
1815
|
-
"GetSqlInjectionMatchSetResponseTypeDef",
|
|
1816
|
-
{
|
|
1817
|
-
"SqlInjectionMatchSet": SqlInjectionMatchSetTypeDef,
|
|
1818
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1819
|
-
},
|
|
1820
|
-
)
|
|
1821
|
-
UpdateSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
|
|
1822
|
-
"UpdateSqlInjectionMatchSetRequestRequestTypeDef",
|
|
1823
|
-
{
|
|
1824
|
-
"SqlInjectionMatchSetId": str,
|
|
1825
|
-
"ChangeToken": str,
|
|
1826
|
-
"Updates": Sequence[SqlInjectionMatchSetUpdateTypeDef],
|
|
1827
|
-
},
|
|
1828
|
-
)
|
|
1829
|
-
CreateXssMatchSetResponseTypeDef = TypedDict(
|
|
1830
|
-
"CreateXssMatchSetResponseTypeDef",
|
|
1831
|
-
{
|
|
1832
|
-
"XssMatchSet": XssMatchSetTypeDef,
|
|
1833
|
-
"ChangeToken": str,
|
|
1834
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1835
|
-
},
|
|
1836
|
-
)
|
|
1837
|
-
GetXssMatchSetResponseTypeDef = TypedDict(
|
|
1838
|
-
"GetXssMatchSetResponseTypeDef",
|
|
1839
|
-
{
|
|
1840
|
-
"XssMatchSet": XssMatchSetTypeDef,
|
|
1841
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1842
|
-
},
|
|
1843
|
-
)
|
|
1844
|
-
UpdateXssMatchSetRequestRequestTypeDef = TypedDict(
|
|
1845
|
-
"UpdateXssMatchSetRequestRequestTypeDef",
|
|
1846
|
-
{
|
|
1847
|
-
"XssMatchSetId": str,
|
|
1848
|
-
"ChangeToken": str,
|
|
1849
|
-
"Updates": Sequence[XssMatchSetUpdateTypeDef],
|
|
1850
|
-
},
|
|
1851
|
-
)
|
|
1852
|
-
GetSampledRequestsResponseTypeDef = TypedDict(
|
|
1853
|
-
"GetSampledRequestsResponseTypeDef",
|
|
1854
|
-
{
|
|
1855
|
-
"SampledRequests": List[SampledHTTPRequestTypeDef],
|
|
1856
|
-
"PopulationSize": int,
|
|
1857
|
-
"TimeWindow": TimeWindowOutputTypeDef,
|
|
1858
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
650
|
+
"Priority": int,
|
|
651
|
+
"RuleId": str,
|
|
652
|
+
"Action": NotRequired[WafActionTypeDef],
|
|
653
|
+
"OverrideAction": NotRequired[WafOverrideActionTypeDef],
|
|
654
|
+
"Type": NotRequired[WafRuleTypeType],
|
|
655
|
+
"ExcludedRules": NotRequired[Sequence[ExcludedRuleTypeDef]],
|
|
1859
656
|
},
|
|
1860
657
|
)
|
|
658
|
+
|
|
659
|
+
class ByteMatchTupleOutputTypeDef(TypedDict):
|
|
660
|
+
FieldToMatch: FieldToMatchTypeDef
|
|
661
|
+
TargetString: bytes
|
|
662
|
+
TextTransformation: TextTransformationType
|
|
663
|
+
PositionalConstraint: PositionalConstraintType
|
|
664
|
+
|
|
665
|
+
class ByteMatchTupleTypeDef(TypedDict):
|
|
666
|
+
FieldToMatch: FieldToMatchTypeDef
|
|
667
|
+
TargetString: BlobTypeDef
|
|
668
|
+
TextTransformation: TextTransformationType
|
|
669
|
+
PositionalConstraint: PositionalConstraintType
|
|
670
|
+
|
|
671
|
+
class LoggingConfigurationOutputTypeDef(TypedDict):
|
|
672
|
+
ResourceArn: str
|
|
673
|
+
LogDestinationConfigs: List[str]
|
|
674
|
+
RedactedFields: NotRequired[List[FieldToMatchTypeDef]]
|
|
675
|
+
|
|
676
|
+
class LoggingConfigurationTypeDef(TypedDict):
|
|
677
|
+
ResourceArn: str
|
|
678
|
+
LogDestinationConfigs: Sequence[str]
|
|
679
|
+
RedactedFields: NotRequired[Sequence[FieldToMatchTypeDef]]
|
|
680
|
+
|
|
681
|
+
class RegexMatchTupleTypeDef(TypedDict):
|
|
682
|
+
FieldToMatch: FieldToMatchTypeDef
|
|
683
|
+
TextTransformation: TextTransformationType
|
|
684
|
+
RegexPatternSetId: str
|
|
685
|
+
|
|
686
|
+
class SizeConstraintTypeDef(TypedDict):
|
|
687
|
+
FieldToMatch: FieldToMatchTypeDef
|
|
688
|
+
TextTransformation: TextTransformationType
|
|
689
|
+
ComparisonOperator: ComparisonOperatorType
|
|
690
|
+
Size: int
|
|
691
|
+
|
|
692
|
+
class SqlInjectionMatchTupleTypeDef(TypedDict):
|
|
693
|
+
FieldToMatch: FieldToMatchTypeDef
|
|
694
|
+
TextTransformation: TextTransformationType
|
|
695
|
+
|
|
696
|
+
class XssMatchTupleTypeDef(TypedDict):
|
|
697
|
+
FieldToMatch: FieldToMatchTypeDef
|
|
698
|
+
TextTransformation: TextTransformationType
|
|
699
|
+
|
|
700
|
+
class CreateWebACLMigrationStackResponseTypeDef(TypedDict):
|
|
701
|
+
S3ObjectUrl: str
|
|
702
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
703
|
+
|
|
704
|
+
class DeleteByteMatchSetResponseTypeDef(TypedDict):
|
|
705
|
+
ChangeToken: str
|
|
706
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
707
|
+
|
|
708
|
+
class DeleteGeoMatchSetResponseTypeDef(TypedDict):
|
|
709
|
+
ChangeToken: str
|
|
710
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
711
|
+
|
|
712
|
+
class DeleteIPSetResponseTypeDef(TypedDict):
|
|
713
|
+
ChangeToken: str
|
|
714
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
715
|
+
|
|
716
|
+
class DeleteRateBasedRuleResponseTypeDef(TypedDict):
|
|
717
|
+
ChangeToken: str
|
|
718
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
719
|
+
|
|
720
|
+
class DeleteRegexMatchSetResponseTypeDef(TypedDict):
|
|
721
|
+
ChangeToken: str
|
|
722
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
723
|
+
|
|
724
|
+
class DeleteRegexPatternSetResponseTypeDef(TypedDict):
|
|
725
|
+
ChangeToken: str
|
|
726
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
727
|
+
|
|
728
|
+
class DeleteRuleGroupResponseTypeDef(TypedDict):
|
|
729
|
+
ChangeToken: str
|
|
730
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
731
|
+
|
|
732
|
+
class DeleteRuleResponseTypeDef(TypedDict):
|
|
733
|
+
ChangeToken: str
|
|
734
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
735
|
+
|
|
736
|
+
class DeleteSizeConstraintSetResponseTypeDef(TypedDict):
|
|
737
|
+
ChangeToken: str
|
|
738
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
739
|
+
|
|
740
|
+
class DeleteSqlInjectionMatchSetResponseTypeDef(TypedDict):
|
|
741
|
+
ChangeToken: str
|
|
742
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
743
|
+
|
|
744
|
+
class DeleteWebACLResponseTypeDef(TypedDict):
|
|
745
|
+
ChangeToken: str
|
|
746
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
747
|
+
|
|
748
|
+
class DeleteXssMatchSetResponseTypeDef(TypedDict):
|
|
749
|
+
ChangeToken: str
|
|
750
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
751
|
+
|
|
752
|
+
class GetChangeTokenResponseTypeDef(TypedDict):
|
|
753
|
+
ChangeToken: str
|
|
754
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
755
|
+
|
|
756
|
+
class GetChangeTokenStatusResponseTypeDef(TypedDict):
|
|
757
|
+
ChangeTokenStatus: ChangeTokenStatusType
|
|
758
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
759
|
+
|
|
760
|
+
class GetPermissionPolicyResponseTypeDef(TypedDict):
|
|
761
|
+
Policy: str
|
|
762
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
763
|
+
|
|
764
|
+
class GetRateBasedRuleManagedKeysResponseTypeDef(TypedDict):
|
|
765
|
+
ManagedKeys: List[str]
|
|
766
|
+
NextMarker: str
|
|
767
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
768
|
+
|
|
769
|
+
class ListByteMatchSetsResponseTypeDef(TypedDict):
|
|
770
|
+
NextMarker: str
|
|
771
|
+
ByteMatchSets: List[ByteMatchSetSummaryTypeDef]
|
|
772
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
773
|
+
|
|
774
|
+
class ListResourcesForWebACLResponseTypeDef(TypedDict):
|
|
775
|
+
ResourceArns: List[str]
|
|
776
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
777
|
+
|
|
778
|
+
class UpdateByteMatchSetResponseTypeDef(TypedDict):
|
|
779
|
+
ChangeToken: str
|
|
780
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
781
|
+
|
|
782
|
+
class UpdateGeoMatchSetResponseTypeDef(TypedDict):
|
|
783
|
+
ChangeToken: str
|
|
784
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
785
|
+
|
|
786
|
+
class UpdateIPSetResponseTypeDef(TypedDict):
|
|
787
|
+
ChangeToken: str
|
|
788
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
789
|
+
|
|
790
|
+
class UpdateRateBasedRuleResponseTypeDef(TypedDict):
|
|
791
|
+
ChangeToken: str
|
|
792
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
793
|
+
|
|
794
|
+
class UpdateRegexMatchSetResponseTypeDef(TypedDict):
|
|
795
|
+
ChangeToken: str
|
|
796
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
797
|
+
|
|
798
|
+
class UpdateRegexPatternSetResponseTypeDef(TypedDict):
|
|
799
|
+
ChangeToken: str
|
|
800
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
801
|
+
|
|
802
|
+
class UpdateRuleGroupResponseTypeDef(TypedDict):
|
|
803
|
+
ChangeToken: str
|
|
804
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
805
|
+
|
|
806
|
+
class UpdateRuleResponseTypeDef(TypedDict):
|
|
807
|
+
ChangeToken: str
|
|
808
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
809
|
+
|
|
810
|
+
class UpdateSizeConstraintSetResponseTypeDef(TypedDict):
|
|
811
|
+
ChangeToken: str
|
|
812
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
813
|
+
|
|
814
|
+
class UpdateSqlInjectionMatchSetResponseTypeDef(TypedDict):
|
|
815
|
+
ChangeToken: str
|
|
816
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
817
|
+
|
|
818
|
+
class UpdateWebACLResponseTypeDef(TypedDict):
|
|
819
|
+
ChangeToken: str
|
|
820
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
821
|
+
|
|
822
|
+
class UpdateXssMatchSetResponseTypeDef(TypedDict):
|
|
823
|
+
ChangeToken: str
|
|
824
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
825
|
+
|
|
826
|
+
class CreateRateBasedRuleRequestRequestTypeDef(TypedDict):
|
|
827
|
+
Name: str
|
|
828
|
+
MetricName: str
|
|
829
|
+
RateKey: Literal["IP"]
|
|
830
|
+
RateLimit: int
|
|
831
|
+
ChangeToken: str
|
|
832
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
833
|
+
|
|
834
|
+
class CreateRuleGroupRequestRequestTypeDef(TypedDict):
|
|
835
|
+
Name: str
|
|
836
|
+
MetricName: str
|
|
837
|
+
ChangeToken: str
|
|
838
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
839
|
+
|
|
840
|
+
class CreateRuleRequestRequestTypeDef(TypedDict):
|
|
841
|
+
Name: str
|
|
842
|
+
MetricName: str
|
|
843
|
+
ChangeToken: str
|
|
844
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
845
|
+
|
|
846
|
+
class CreateWebACLRequestRequestTypeDef(TypedDict):
|
|
847
|
+
Name: str
|
|
848
|
+
MetricName: str
|
|
849
|
+
DefaultAction: WafActionTypeDef
|
|
850
|
+
ChangeToken: str
|
|
851
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
852
|
+
|
|
853
|
+
class TagInfoForResourceTypeDef(TypedDict):
|
|
854
|
+
ResourceARN: NotRequired[str]
|
|
855
|
+
TagList: NotRequired[List[TagTypeDef]]
|
|
856
|
+
|
|
857
|
+
class TagResourceRequestRequestTypeDef(TypedDict):
|
|
858
|
+
ResourceARN: str
|
|
859
|
+
Tags: Sequence[TagTypeDef]
|
|
860
|
+
|
|
861
|
+
class CreateRegexPatternSetResponseTypeDef(TypedDict):
|
|
862
|
+
RegexPatternSet: RegexPatternSetTypeDef
|
|
863
|
+
ChangeToken: str
|
|
864
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
865
|
+
|
|
866
|
+
class GetRegexPatternSetResponseTypeDef(TypedDict):
|
|
867
|
+
RegexPatternSet: RegexPatternSetTypeDef
|
|
868
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
869
|
+
|
|
870
|
+
class CreateRuleGroupResponseTypeDef(TypedDict):
|
|
871
|
+
RuleGroup: RuleGroupTypeDef
|
|
872
|
+
ChangeToken: str
|
|
873
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
874
|
+
|
|
875
|
+
class GetRuleGroupResponseTypeDef(TypedDict):
|
|
876
|
+
RuleGroup: RuleGroupTypeDef
|
|
877
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
878
|
+
|
|
879
|
+
class GeoMatchSetTypeDef(TypedDict):
|
|
880
|
+
GeoMatchSetId: str
|
|
881
|
+
GeoMatchConstraints: List[GeoMatchConstraintTypeDef]
|
|
882
|
+
Name: NotRequired[str]
|
|
883
|
+
|
|
884
|
+
class GeoMatchSetUpdateTypeDef(TypedDict):
|
|
885
|
+
Action: ChangeActionType
|
|
886
|
+
GeoMatchConstraint: GeoMatchConstraintTypeDef
|
|
887
|
+
|
|
888
|
+
class ListGeoMatchSetsResponseTypeDef(TypedDict):
|
|
889
|
+
NextMarker: str
|
|
890
|
+
GeoMatchSets: List[GeoMatchSetSummaryTypeDef]
|
|
891
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
892
|
+
|
|
893
|
+
class GetWebACLForResourceResponseTypeDef(TypedDict):
|
|
894
|
+
WebACLSummary: WebACLSummaryTypeDef
|
|
895
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
896
|
+
|
|
897
|
+
class ListWebACLsResponseTypeDef(TypedDict):
|
|
898
|
+
NextMarker: str
|
|
899
|
+
WebACLs: List[WebACLSummaryTypeDef]
|
|
900
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
901
|
+
|
|
902
|
+
class HTTPRequestTypeDef(TypedDict):
|
|
903
|
+
ClientIP: NotRequired[str]
|
|
904
|
+
Country: NotRequired[str]
|
|
905
|
+
URI: NotRequired[str]
|
|
906
|
+
Method: NotRequired[str]
|
|
907
|
+
HTTPVersion: NotRequired[str]
|
|
908
|
+
Headers: NotRequired[List[HTTPHeaderTypeDef]]
|
|
909
|
+
|
|
910
|
+
class IPSetTypeDef(TypedDict):
|
|
911
|
+
IPSetId: str
|
|
912
|
+
IPSetDescriptors: List[IPSetDescriptorTypeDef]
|
|
913
|
+
Name: NotRequired[str]
|
|
914
|
+
|
|
915
|
+
class IPSetUpdateTypeDef(TypedDict):
|
|
916
|
+
Action: ChangeActionType
|
|
917
|
+
IPSetDescriptor: IPSetDescriptorTypeDef
|
|
918
|
+
|
|
919
|
+
class ListIPSetsResponseTypeDef(TypedDict):
|
|
920
|
+
NextMarker: str
|
|
921
|
+
IPSets: List[IPSetSummaryTypeDef]
|
|
922
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
923
|
+
|
|
924
|
+
class ListRateBasedRulesResponseTypeDef(TypedDict):
|
|
925
|
+
NextMarker: str
|
|
926
|
+
Rules: List[RuleSummaryTypeDef]
|
|
927
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
928
|
+
|
|
929
|
+
class ListRulesResponseTypeDef(TypedDict):
|
|
930
|
+
NextMarker: str
|
|
931
|
+
Rules: List[RuleSummaryTypeDef]
|
|
932
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
933
|
+
|
|
934
|
+
class ListRegexMatchSetsResponseTypeDef(TypedDict):
|
|
935
|
+
NextMarker: str
|
|
936
|
+
RegexMatchSets: List[RegexMatchSetSummaryTypeDef]
|
|
937
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
938
|
+
|
|
939
|
+
class ListRegexPatternSetsResponseTypeDef(TypedDict):
|
|
940
|
+
NextMarker: str
|
|
941
|
+
RegexPatternSets: List[RegexPatternSetSummaryTypeDef]
|
|
942
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
943
|
+
|
|
944
|
+
class ListRuleGroupsResponseTypeDef(TypedDict):
|
|
945
|
+
NextMarker: str
|
|
946
|
+
RuleGroups: List[RuleGroupSummaryTypeDef]
|
|
947
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
948
|
+
|
|
949
|
+
class ListSizeConstraintSetsResponseTypeDef(TypedDict):
|
|
950
|
+
NextMarker: str
|
|
951
|
+
SizeConstraintSets: List[SizeConstraintSetSummaryTypeDef]
|
|
952
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
953
|
+
|
|
954
|
+
class ListSqlInjectionMatchSetsResponseTypeDef(TypedDict):
|
|
955
|
+
NextMarker: str
|
|
956
|
+
SqlInjectionMatchSets: List[SqlInjectionMatchSetSummaryTypeDef]
|
|
957
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
958
|
+
|
|
959
|
+
class ListSubscribedRuleGroupsResponseTypeDef(TypedDict):
|
|
960
|
+
NextMarker: str
|
|
961
|
+
RuleGroups: List[SubscribedRuleGroupSummaryTypeDef]
|
|
962
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
963
|
+
|
|
964
|
+
class ListXssMatchSetsResponseTypeDef(TypedDict):
|
|
965
|
+
NextMarker: str
|
|
966
|
+
XssMatchSets: List[XssMatchSetSummaryTypeDef]
|
|
967
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
968
|
+
|
|
969
|
+
class RateBasedRuleTypeDef(TypedDict):
|
|
970
|
+
RuleId: str
|
|
971
|
+
MatchPredicates: List[PredicateTypeDef]
|
|
972
|
+
RateKey: Literal["IP"]
|
|
973
|
+
RateLimit: int
|
|
974
|
+
Name: NotRequired[str]
|
|
975
|
+
MetricName: NotRequired[str]
|
|
976
|
+
|
|
977
|
+
class RuleTypeDef(TypedDict):
|
|
978
|
+
RuleId: str
|
|
979
|
+
Predicates: List[PredicateTypeDef]
|
|
980
|
+
Name: NotRequired[str]
|
|
981
|
+
MetricName: NotRequired[str]
|
|
982
|
+
|
|
983
|
+
class RuleUpdateTypeDef(TypedDict):
|
|
984
|
+
Action: ChangeActionType
|
|
985
|
+
Predicate: PredicateTypeDef
|
|
986
|
+
|
|
987
|
+
class UpdateRegexPatternSetRequestRequestTypeDef(TypedDict):
|
|
988
|
+
RegexPatternSetId: str
|
|
989
|
+
Updates: Sequence[RegexPatternSetUpdateTypeDef]
|
|
990
|
+
ChangeToken: str
|
|
991
|
+
|
|
992
|
+
class TimeWindowTypeDef(TypedDict):
|
|
993
|
+
StartTime: TimestampTypeDef
|
|
994
|
+
EndTime: TimestampTypeDef
|
|
995
|
+
|
|
996
|
+
class ListActivatedRulesInRuleGroupResponseTypeDef(TypedDict):
|
|
997
|
+
NextMarker: str
|
|
998
|
+
ActivatedRules: List[ActivatedRuleOutputTypeDef]
|
|
999
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1000
|
+
|
|
1001
|
+
class WebACLTypeDef(TypedDict):
|
|
1002
|
+
WebACLId: str
|
|
1003
|
+
DefaultAction: WafActionTypeDef
|
|
1004
|
+
Rules: List[ActivatedRuleOutputTypeDef]
|
|
1005
|
+
Name: NotRequired[str]
|
|
1006
|
+
MetricName: NotRequired[str]
|
|
1007
|
+
WebACLArn: NotRequired[str]
|
|
1008
|
+
|
|
1009
|
+
ActivatedRuleUnionTypeDef = Union[ActivatedRuleTypeDef, ActivatedRuleOutputTypeDef]
|
|
1010
|
+
|
|
1011
|
+
class ByteMatchSetTypeDef(TypedDict):
|
|
1012
|
+
ByteMatchSetId: str
|
|
1013
|
+
ByteMatchTuples: List[ByteMatchTupleOutputTypeDef]
|
|
1014
|
+
Name: NotRequired[str]
|
|
1015
|
+
|
|
1016
|
+
ByteMatchTupleUnionTypeDef = Union[ByteMatchTupleTypeDef, ByteMatchTupleOutputTypeDef]
|
|
1017
|
+
|
|
1018
|
+
class GetLoggingConfigurationResponseTypeDef(TypedDict):
|
|
1019
|
+
LoggingConfiguration: LoggingConfigurationOutputTypeDef
|
|
1020
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1021
|
+
|
|
1022
|
+
class ListLoggingConfigurationsResponseTypeDef(TypedDict):
|
|
1023
|
+
LoggingConfigurations: List[LoggingConfigurationOutputTypeDef]
|
|
1024
|
+
NextMarker: str
|
|
1025
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1026
|
+
|
|
1027
|
+
class PutLoggingConfigurationResponseTypeDef(TypedDict):
|
|
1028
|
+
LoggingConfiguration: LoggingConfigurationOutputTypeDef
|
|
1029
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1030
|
+
|
|
1031
|
+
class PutLoggingConfigurationRequestRequestTypeDef(TypedDict):
|
|
1032
|
+
LoggingConfiguration: LoggingConfigurationTypeDef
|
|
1033
|
+
|
|
1034
|
+
class RegexMatchSetTypeDef(TypedDict):
|
|
1035
|
+
RegexMatchSetId: NotRequired[str]
|
|
1036
|
+
Name: NotRequired[str]
|
|
1037
|
+
RegexMatchTuples: NotRequired[List[RegexMatchTupleTypeDef]]
|
|
1038
|
+
|
|
1039
|
+
class RegexMatchSetUpdateTypeDef(TypedDict):
|
|
1040
|
+
Action: ChangeActionType
|
|
1041
|
+
RegexMatchTuple: RegexMatchTupleTypeDef
|
|
1042
|
+
|
|
1043
|
+
class SizeConstraintSetTypeDef(TypedDict):
|
|
1044
|
+
SizeConstraintSetId: str
|
|
1045
|
+
SizeConstraints: List[SizeConstraintTypeDef]
|
|
1046
|
+
Name: NotRequired[str]
|
|
1047
|
+
|
|
1048
|
+
class SizeConstraintSetUpdateTypeDef(TypedDict):
|
|
1049
|
+
Action: ChangeActionType
|
|
1050
|
+
SizeConstraint: SizeConstraintTypeDef
|
|
1051
|
+
|
|
1052
|
+
class SqlInjectionMatchSetTypeDef(TypedDict):
|
|
1053
|
+
SqlInjectionMatchSetId: str
|
|
1054
|
+
SqlInjectionMatchTuples: List[SqlInjectionMatchTupleTypeDef]
|
|
1055
|
+
Name: NotRequired[str]
|
|
1056
|
+
|
|
1057
|
+
class SqlInjectionMatchSetUpdateTypeDef(TypedDict):
|
|
1058
|
+
Action: ChangeActionType
|
|
1059
|
+
SqlInjectionMatchTuple: SqlInjectionMatchTupleTypeDef
|
|
1060
|
+
|
|
1061
|
+
class XssMatchSetTypeDef(TypedDict):
|
|
1062
|
+
XssMatchSetId: str
|
|
1063
|
+
XssMatchTuples: List[XssMatchTupleTypeDef]
|
|
1064
|
+
Name: NotRequired[str]
|
|
1065
|
+
|
|
1066
|
+
class XssMatchSetUpdateTypeDef(TypedDict):
|
|
1067
|
+
Action: ChangeActionType
|
|
1068
|
+
XssMatchTuple: XssMatchTupleTypeDef
|
|
1069
|
+
|
|
1070
|
+
class ListTagsForResourceResponseTypeDef(TypedDict):
|
|
1071
|
+
NextMarker: str
|
|
1072
|
+
TagInfoForResource: TagInfoForResourceTypeDef
|
|
1073
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1074
|
+
|
|
1075
|
+
class CreateGeoMatchSetResponseTypeDef(TypedDict):
|
|
1076
|
+
GeoMatchSet: GeoMatchSetTypeDef
|
|
1077
|
+
ChangeToken: str
|
|
1078
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1079
|
+
|
|
1080
|
+
class GetGeoMatchSetResponseTypeDef(TypedDict):
|
|
1081
|
+
GeoMatchSet: GeoMatchSetTypeDef
|
|
1082
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1083
|
+
|
|
1084
|
+
class UpdateGeoMatchSetRequestRequestTypeDef(TypedDict):
|
|
1085
|
+
GeoMatchSetId: str
|
|
1086
|
+
ChangeToken: str
|
|
1087
|
+
Updates: Sequence[GeoMatchSetUpdateTypeDef]
|
|
1088
|
+
|
|
1089
|
+
class SampledHTTPRequestTypeDef(TypedDict):
|
|
1090
|
+
Request: HTTPRequestTypeDef
|
|
1091
|
+
Weight: int
|
|
1092
|
+
Timestamp: NotRequired[datetime]
|
|
1093
|
+
Action: NotRequired[str]
|
|
1094
|
+
RuleWithinRuleGroup: NotRequired[str]
|
|
1095
|
+
|
|
1096
|
+
class CreateIPSetResponseTypeDef(TypedDict):
|
|
1097
|
+
IPSet: IPSetTypeDef
|
|
1098
|
+
ChangeToken: str
|
|
1099
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1100
|
+
|
|
1101
|
+
class GetIPSetResponseTypeDef(TypedDict):
|
|
1102
|
+
IPSet: IPSetTypeDef
|
|
1103
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1104
|
+
|
|
1105
|
+
class UpdateIPSetRequestRequestTypeDef(TypedDict):
|
|
1106
|
+
IPSetId: str
|
|
1107
|
+
ChangeToken: str
|
|
1108
|
+
Updates: Sequence[IPSetUpdateTypeDef]
|
|
1109
|
+
|
|
1110
|
+
class CreateRateBasedRuleResponseTypeDef(TypedDict):
|
|
1111
|
+
Rule: RateBasedRuleTypeDef
|
|
1112
|
+
ChangeToken: str
|
|
1113
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1114
|
+
|
|
1115
|
+
class GetRateBasedRuleResponseTypeDef(TypedDict):
|
|
1116
|
+
Rule: RateBasedRuleTypeDef
|
|
1117
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1118
|
+
|
|
1119
|
+
class CreateRuleResponseTypeDef(TypedDict):
|
|
1120
|
+
Rule: RuleTypeDef
|
|
1121
|
+
ChangeToken: str
|
|
1122
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1123
|
+
|
|
1124
|
+
class GetRuleResponseTypeDef(TypedDict):
|
|
1125
|
+
Rule: RuleTypeDef
|
|
1126
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1127
|
+
|
|
1128
|
+
class UpdateRateBasedRuleRequestRequestTypeDef(TypedDict):
|
|
1129
|
+
RuleId: str
|
|
1130
|
+
ChangeToken: str
|
|
1131
|
+
Updates: Sequence[RuleUpdateTypeDef]
|
|
1132
|
+
RateLimit: int
|
|
1133
|
+
|
|
1134
|
+
class UpdateRuleRequestRequestTypeDef(TypedDict):
|
|
1135
|
+
RuleId: str
|
|
1136
|
+
ChangeToken: str
|
|
1137
|
+
Updates: Sequence[RuleUpdateTypeDef]
|
|
1138
|
+
|
|
1139
|
+
class GetSampledRequestsRequestRequestTypeDef(TypedDict):
|
|
1140
|
+
WebAclId: str
|
|
1141
|
+
RuleId: str
|
|
1142
|
+
TimeWindow: TimeWindowTypeDef
|
|
1143
|
+
MaxItems: int
|
|
1144
|
+
|
|
1145
|
+
class CreateWebACLResponseTypeDef(TypedDict):
|
|
1146
|
+
WebACL: WebACLTypeDef
|
|
1147
|
+
ChangeToken: str
|
|
1148
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1149
|
+
|
|
1150
|
+
class GetWebACLResponseTypeDef(TypedDict):
|
|
1151
|
+
WebACL: WebACLTypeDef
|
|
1152
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1153
|
+
|
|
1154
|
+
class RuleGroupUpdateTypeDef(TypedDict):
|
|
1155
|
+
Action: ChangeActionType
|
|
1156
|
+
ActivatedRule: ActivatedRuleUnionTypeDef
|
|
1157
|
+
|
|
1158
|
+
class WebACLUpdateTypeDef(TypedDict):
|
|
1159
|
+
Action: ChangeActionType
|
|
1160
|
+
ActivatedRule: ActivatedRuleUnionTypeDef
|
|
1161
|
+
|
|
1162
|
+
class CreateByteMatchSetResponseTypeDef(TypedDict):
|
|
1163
|
+
ByteMatchSet: ByteMatchSetTypeDef
|
|
1164
|
+
ChangeToken: str
|
|
1165
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1166
|
+
|
|
1167
|
+
class GetByteMatchSetResponseTypeDef(TypedDict):
|
|
1168
|
+
ByteMatchSet: ByteMatchSetTypeDef
|
|
1169
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1170
|
+
|
|
1171
|
+
class ByteMatchSetUpdateTypeDef(TypedDict):
|
|
1172
|
+
Action: ChangeActionType
|
|
1173
|
+
ByteMatchTuple: ByteMatchTupleUnionTypeDef
|
|
1174
|
+
|
|
1175
|
+
class CreateRegexMatchSetResponseTypeDef(TypedDict):
|
|
1176
|
+
RegexMatchSet: RegexMatchSetTypeDef
|
|
1177
|
+
ChangeToken: str
|
|
1178
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1179
|
+
|
|
1180
|
+
class GetRegexMatchSetResponseTypeDef(TypedDict):
|
|
1181
|
+
RegexMatchSet: RegexMatchSetTypeDef
|
|
1182
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1183
|
+
|
|
1184
|
+
class UpdateRegexMatchSetRequestRequestTypeDef(TypedDict):
|
|
1185
|
+
RegexMatchSetId: str
|
|
1186
|
+
Updates: Sequence[RegexMatchSetUpdateTypeDef]
|
|
1187
|
+
ChangeToken: str
|
|
1188
|
+
|
|
1189
|
+
class CreateSizeConstraintSetResponseTypeDef(TypedDict):
|
|
1190
|
+
SizeConstraintSet: SizeConstraintSetTypeDef
|
|
1191
|
+
ChangeToken: str
|
|
1192
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1193
|
+
|
|
1194
|
+
class GetSizeConstraintSetResponseTypeDef(TypedDict):
|
|
1195
|
+
SizeConstraintSet: SizeConstraintSetTypeDef
|
|
1196
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1197
|
+
|
|
1198
|
+
class UpdateSizeConstraintSetRequestRequestTypeDef(TypedDict):
|
|
1199
|
+
SizeConstraintSetId: str
|
|
1200
|
+
ChangeToken: str
|
|
1201
|
+
Updates: Sequence[SizeConstraintSetUpdateTypeDef]
|
|
1202
|
+
|
|
1203
|
+
class CreateSqlInjectionMatchSetResponseTypeDef(TypedDict):
|
|
1204
|
+
SqlInjectionMatchSet: SqlInjectionMatchSetTypeDef
|
|
1205
|
+
ChangeToken: str
|
|
1206
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1207
|
+
|
|
1208
|
+
class GetSqlInjectionMatchSetResponseTypeDef(TypedDict):
|
|
1209
|
+
SqlInjectionMatchSet: SqlInjectionMatchSetTypeDef
|
|
1210
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1211
|
+
|
|
1212
|
+
class UpdateSqlInjectionMatchSetRequestRequestTypeDef(TypedDict):
|
|
1213
|
+
SqlInjectionMatchSetId: str
|
|
1214
|
+
ChangeToken: str
|
|
1215
|
+
Updates: Sequence[SqlInjectionMatchSetUpdateTypeDef]
|
|
1216
|
+
|
|
1217
|
+
class CreateXssMatchSetResponseTypeDef(TypedDict):
|
|
1218
|
+
XssMatchSet: XssMatchSetTypeDef
|
|
1219
|
+
ChangeToken: str
|
|
1220
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1221
|
+
|
|
1222
|
+
class GetXssMatchSetResponseTypeDef(TypedDict):
|
|
1223
|
+
XssMatchSet: XssMatchSetTypeDef
|
|
1224
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1225
|
+
|
|
1226
|
+
class UpdateXssMatchSetRequestRequestTypeDef(TypedDict):
|
|
1227
|
+
XssMatchSetId: str
|
|
1228
|
+
ChangeToken: str
|
|
1229
|
+
Updates: Sequence[XssMatchSetUpdateTypeDef]
|
|
1230
|
+
|
|
1231
|
+
class GetSampledRequestsResponseTypeDef(TypedDict):
|
|
1232
|
+
SampledRequests: List[SampledHTTPRequestTypeDef]
|
|
1233
|
+
PopulationSize: int
|
|
1234
|
+
TimeWindow: TimeWindowOutputTypeDef
|
|
1235
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1236
|
+
|
|
1237
|
+
class UpdateRuleGroupRequestRequestTypeDef(TypedDict):
|
|
1238
|
+
RuleGroupId: str
|
|
1239
|
+
Updates: Sequence[RuleGroupUpdateTypeDef]
|
|
1240
|
+
ChangeToken: str
|
|
1241
|
+
|
|
1242
|
+
class UpdateWebACLRequestRequestTypeDef(TypedDict):
|
|
1243
|
+
WebACLId: str
|
|
1244
|
+
ChangeToken: str
|
|
1245
|
+
Updates: NotRequired[Sequence[WebACLUpdateTypeDef]]
|
|
1246
|
+
DefaultAction: NotRequired[WafActionTypeDef]
|
|
1247
|
+
|
|
1248
|
+
class UpdateByteMatchSetRequestRequestTypeDef(TypedDict):
|
|
1249
|
+
ByteMatchSetId: str
|
|
1250
|
+
ChangeToken: str
|
|
1251
|
+
Updates: Sequence[ByteMatchSetUpdateTypeDef]
|