aws-sdk-waf 1.25.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,6 +47,8 @@ module Aws::WAF
47
47
  CreateSizeConstraintSetResponse = Shapes::StructureShape.new(name: 'CreateSizeConstraintSetResponse')
48
48
  CreateSqlInjectionMatchSetRequest = Shapes::StructureShape.new(name: 'CreateSqlInjectionMatchSetRequest')
49
49
  CreateSqlInjectionMatchSetResponse = Shapes::StructureShape.new(name: 'CreateSqlInjectionMatchSetResponse')
50
+ CreateWebACLMigrationStackRequest = Shapes::StructureShape.new(name: 'CreateWebACLMigrationStackRequest')
51
+ CreateWebACLMigrationStackResponse = Shapes::StructureShape.new(name: 'CreateWebACLMigrationStackResponse')
50
52
  CreateWebACLRequest = Shapes::StructureShape.new(name: 'CreateWebACLRequest')
51
53
  CreateWebACLResponse = Shapes::StructureShape.new(name: 'CreateWebACLResponse')
52
54
  CreateXssMatchSetRequest = Shapes::StructureShape.new(name: 'CreateXssMatchSetRequest')
@@ -79,6 +81,7 @@ module Aws::WAF
79
81
  DeleteWebACLResponse = Shapes::StructureShape.new(name: 'DeleteWebACLResponse')
80
82
  DeleteXssMatchSetRequest = Shapes::StructureShape.new(name: 'DeleteXssMatchSetRequest')
81
83
  DeleteXssMatchSetResponse = Shapes::StructureShape.new(name: 'DeleteXssMatchSetResponse')
84
+ ErrorReason = Shapes::StringShape.new(name: 'ErrorReason')
82
85
  ExcludedRule = Shapes::StructureShape.new(name: 'ExcludedRule')
83
86
  ExcludedRules = Shapes::ListShape.new(name: 'ExcludedRules')
84
87
  FieldToMatch = Shapes::StructureShape.new(name: 'FieldToMatch')
@@ -145,6 +148,7 @@ module Aws::WAF
145
148
  IPSetUpdate = Shapes::StructureShape.new(name: 'IPSetUpdate')
146
149
  IPSetUpdates = Shapes::ListShape.new(name: 'IPSetUpdates')
147
150
  IPString = Shapes::StringShape.new(name: 'IPString')
151
+ IgnoreUnsupportedType = Shapes::BooleanShape.new(name: 'IgnoreUnsupportedType')
148
152
  ListActivatedRulesInRuleGroupRequest = Shapes::StructureShape.new(name: 'ListActivatedRulesInRuleGroupRequest')
149
153
  ListActivatedRulesInRuleGroupResponse = Shapes::StructureShape.new(name: 'ListActivatedRulesInRuleGroupResponse')
150
154
  ListByteMatchSetsRequest = Shapes::StructureShape.new(name: 'ListByteMatchSetsRequest')
@@ -185,6 +189,7 @@ module Aws::WAF
185
189
  MatchFieldData = Shapes::StringShape.new(name: 'MatchFieldData')
186
190
  MatchFieldType = Shapes::StringShape.new(name: 'MatchFieldType')
187
191
  MetricName = Shapes::StringShape.new(name: 'MetricName')
192
+ MigrationErrorType = Shapes::StringShape.new(name: 'MigrationErrorType')
188
193
  Negated = Shapes::BooleanShape.new(name: 'Negated')
189
194
  NextMarker = Shapes::StringShape.new(name: 'NextMarker')
190
195
  PaginationLimit = Shapes::IntegerShape.new(name: 'PaginationLimit')
@@ -233,6 +238,8 @@ module Aws::WAF
233
238
  RuleSummary = Shapes::StructureShape.new(name: 'RuleSummary')
234
239
  RuleUpdate = Shapes::StructureShape.new(name: 'RuleUpdate')
235
240
  RuleUpdates = Shapes::ListShape.new(name: 'RuleUpdates')
241
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
242
+ S3ObjectUrl = Shapes::StringShape.new(name: 'S3ObjectUrl')
236
243
  SampleWeight = Shapes::IntegerShape.new(name: 'SampleWeight')
237
244
  SampledHTTPRequest = Shapes::StructureShape.new(name: 'SampledHTTPRequest')
238
245
  SampledHTTPRequests = Shapes::ListShape.new(name: 'SampledHTTPRequests')
@@ -293,6 +300,7 @@ module Aws::WAF
293
300
  UpdateXssMatchSetResponse = Shapes::StructureShape.new(name: 'UpdateXssMatchSetResponse')
294
301
  WAFBadRequestException = Shapes::StructureShape.new(name: 'WAFBadRequestException')
295
302
  WAFDisallowedNameException = Shapes::StructureShape.new(name: 'WAFDisallowedNameException')
303
+ WAFEntityMigrationException = Shapes::StructureShape.new(name: 'WAFEntityMigrationException')
296
304
  WAFInternalErrorException = Shapes::StructureShape.new(name: 'WAFInternalErrorException')
297
305
  WAFInvalidAccountException = Shapes::StructureShape.new(name: 'WAFInvalidAccountException')
298
306
  WAFInvalidOperationException = Shapes::StructureShape.new(name: 'WAFInvalidOperationException')
@@ -451,6 +459,14 @@ module Aws::WAF
451
459
  CreateSqlInjectionMatchSetResponse.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, location_name: "ChangeToken"))
452
460
  CreateSqlInjectionMatchSetResponse.struct_class = Types::CreateSqlInjectionMatchSetResponse
453
461
 
462
+ CreateWebACLMigrationStackRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "WebACLId"))
463
+ CreateWebACLMigrationStackRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "S3BucketName"))
464
+ CreateWebACLMigrationStackRequest.add_member(:ignore_unsupported_type, Shapes::ShapeRef.new(shape: IgnoreUnsupportedType, required: true, location_name: "IgnoreUnsupportedType"))
465
+ CreateWebACLMigrationStackRequest.struct_class = Types::CreateWebACLMigrationStackRequest
466
+
467
+ CreateWebACLMigrationStackResponse.add_member(:s3_object_url, Shapes::ShapeRef.new(shape: S3ObjectUrl, required: true, location_name: "S3ObjectUrl"))
468
+ CreateWebACLMigrationStackResponse.struct_class = Types::CreateWebACLMigrationStackResponse
469
+
454
470
  CreateWebACLRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
455
471
  CreateWebACLRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
456
472
  CreateWebACLRequest.add_member(:default_action, Shapes::ShapeRef.new(shape: WafAction, required: true, location_name: "DefaultAction"))
@@ -1059,8 +1075,8 @@ module Aws::WAF
1059
1075
  SubscribedRuleGroupSummary.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
1060
1076
  SubscribedRuleGroupSummary.struct_class = Types::SubscribedRuleGroupSummary
1061
1077
 
1062
- Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
1063
- Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
1078
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
1079
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
1064
1080
  Tag.struct_class = Types::Tag
1065
1081
 
1066
1082
  TagInfoForResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceARN"))
@@ -1191,9 +1207,16 @@ module Aws::WAF
1191
1207
  WAFDisallowedNameException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1192
1208
  WAFDisallowedNameException.struct_class = Types::WAFDisallowedNameException
1193
1209
 
1210
+ WAFEntityMigrationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1211
+ WAFEntityMigrationException.add_member(:migration_error_type, Shapes::ShapeRef.new(shape: MigrationErrorType, location_name: "MigrationErrorType"))
1212
+ WAFEntityMigrationException.add_member(:migration_error_reason, Shapes::ShapeRef.new(shape: ErrorReason, location_name: "MigrationErrorReason"))
1213
+ WAFEntityMigrationException.struct_class = Types::WAFEntityMigrationException
1214
+
1194
1215
  WAFInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1195
1216
  WAFInternalErrorException.struct_class = Types::WAFInternalErrorException
1196
1217
 
1218
+ WAFInvalidAccountException.struct_class = Types::WAFInvalidAccountException
1219
+
1197
1220
  WAFInvalidOperationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1198
1221
  WAFInvalidOperationException.struct_class = Types::WAFInvalidOperationException
1199
1222
 
@@ -1464,6 +1487,19 @@ module Aws::WAF
1464
1487
  o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
1465
1488
  end)
1466
1489
 
1490
+ api.add_operation(:create_web_acl_migration_stack, Seahorse::Model::Operation.new.tap do |o|
1491
+ o.name = "CreateWebACLMigrationStack"
1492
+ o.http_method = "POST"
1493
+ o.http_request_uri = "/"
1494
+ o.input = Shapes::ShapeRef.new(shape: CreateWebACLMigrationStackRequest)
1495
+ o.output = Shapes::ShapeRef.new(shape: CreateWebACLMigrationStackResponse)
1496
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: WAFEntityMigrationException)
1501
+ end)
1502
+
1467
1503
  api.add_operation(:create_xss_match_set, Seahorse::Model::Operation.new.tap do |o|
1468
1504
  o.name = "CreateXssMatchSet"
1469
1505
  o.http_method = "POST"
@@ -6,6 +6,47 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::WAF
9
+
10
+ # When WAF returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::WAF::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all WAF errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::WAF::Errors::ServiceError
18
+ # # rescues all WAF API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {WAFBadRequestException}
29
+ # * {WAFDisallowedNameException}
30
+ # * {WAFEntityMigrationException}
31
+ # * {WAFInternalErrorException}
32
+ # * {WAFInvalidAccountException}
33
+ # * {WAFInvalidOperationException}
34
+ # * {WAFInvalidParameterException}
35
+ # * {WAFInvalidPermissionPolicyException}
36
+ # * {WAFInvalidRegexPatternException}
37
+ # * {WAFLimitsExceededException}
38
+ # * {WAFNonEmptyEntityException}
39
+ # * {WAFNonexistentContainerException}
40
+ # * {WAFNonexistentItemException}
41
+ # * {WAFReferencedItemException}
42
+ # * {WAFServiceLinkedRoleErrorException}
43
+ # * {WAFStaleDataException}
44
+ # * {WAFSubscriptionNotFoundException}
45
+ # * {WAFTagOperationException}
46
+ # * {WAFTagOperationInternalErrorException}
47
+ #
48
+ # Additionally, error classes are dynamically generated for service errors based on the error code
49
+ # if they are not defined above.
9
50
  module Errors
10
51
 
11
52
  extend Aws::Errors::DynamicErrors
@@ -23,7 +64,6 @@ module Aws::WAF
23
64
  def message
24
65
  @message || @data[:message]
25
66
  end
26
-
27
67
  end
28
68
 
29
69
  class WAFDisallowedNameException < ServiceError
@@ -39,7 +79,31 @@ module Aws::WAF
39
79
  def message
40
80
  @message || @data[:message]
41
81
  end
82
+ end
42
83
 
84
+ class WAFEntityMigrationException < ServiceError
85
+
86
+ # @param [Seahorse::Client::RequestContext] context
87
+ # @param [String] message
88
+ # @param [Aws::WAF::Types::WAFEntityMigrationException] data
89
+ def initialize(context, message, data = Aws::EmptyStructure.new)
90
+ super(context, message, data)
91
+ end
92
+
93
+ # @return [String]
94
+ def message
95
+ @message || @data[:message]
96
+ end
97
+
98
+ # @return [String]
99
+ def migration_error_type
100
+ @data[:migration_error_type]
101
+ end
102
+
103
+ # @return [String]
104
+ def migration_error_reason
105
+ @data[:migration_error_reason]
106
+ end
43
107
  end
44
108
 
45
109
  class WAFInternalErrorException < ServiceError
@@ -55,7 +119,16 @@ module Aws::WAF
55
119
  def message
56
120
  @message || @data[:message]
57
121
  end
122
+ end
58
123
 
124
+ class WAFInvalidAccountException < ServiceError
125
+
126
+ # @param [Seahorse::Client::RequestContext] context
127
+ # @param [String] message
128
+ # @param [Aws::WAF::Types::WAFInvalidAccountException] data
129
+ def initialize(context, message, data = Aws::EmptyStructure.new)
130
+ super(context, message, data)
131
+ end
59
132
  end
60
133
 
61
134
  class WAFInvalidOperationException < ServiceError
@@ -71,7 +144,6 @@ module Aws::WAF
71
144
  def message
72
145
  @message || @data[:message]
73
146
  end
74
-
75
147
  end
76
148
 
77
149
  class WAFInvalidParameterException < ServiceError
@@ -97,7 +169,6 @@ module Aws::WAF
97
169
  def reason
98
170
  @data[:reason]
99
171
  end
100
-
101
172
  end
102
173
 
103
174
  class WAFInvalidPermissionPolicyException < ServiceError
@@ -113,7 +184,6 @@ module Aws::WAF
113
184
  def message
114
185
  @message || @data[:message]
115
186
  end
116
-
117
187
  end
118
188
 
119
189
  class WAFInvalidRegexPatternException < ServiceError
@@ -129,7 +199,6 @@ module Aws::WAF
129
199
  def message
130
200
  @message || @data[:message]
131
201
  end
132
-
133
202
  end
134
203
 
135
204
  class WAFLimitsExceededException < ServiceError
@@ -145,7 +214,6 @@ module Aws::WAF
145
214
  def message
146
215
  @message || @data[:message]
147
216
  end
148
-
149
217
  end
150
218
 
151
219
  class WAFNonEmptyEntityException < ServiceError
@@ -161,7 +229,6 @@ module Aws::WAF
161
229
  def message
162
230
  @message || @data[:message]
163
231
  end
164
-
165
232
  end
166
233
 
167
234
  class WAFNonexistentContainerException < ServiceError
@@ -177,7 +244,6 @@ module Aws::WAF
177
244
  def message
178
245
  @message || @data[:message]
179
246
  end
180
-
181
247
  end
182
248
 
183
249
  class WAFNonexistentItemException < ServiceError
@@ -193,7 +259,6 @@ module Aws::WAF
193
259
  def message
194
260
  @message || @data[:message]
195
261
  end
196
-
197
262
  end
198
263
 
199
264
  class WAFReferencedItemException < ServiceError
@@ -209,7 +274,6 @@ module Aws::WAF
209
274
  def message
210
275
  @message || @data[:message]
211
276
  end
212
-
213
277
  end
214
278
 
215
279
  class WAFServiceLinkedRoleErrorException < ServiceError
@@ -225,7 +289,6 @@ module Aws::WAF
225
289
  def message
226
290
  @message || @data[:message]
227
291
  end
228
-
229
292
  end
230
293
 
231
294
  class WAFStaleDataException < ServiceError
@@ -241,7 +304,6 @@ module Aws::WAF
241
304
  def message
242
305
  @message || @data[:message]
243
306
  end
244
-
245
307
  end
246
308
 
247
309
  class WAFSubscriptionNotFoundException < ServiceError
@@ -257,7 +319,6 @@ module Aws::WAF
257
319
  def message
258
320
  @message || @data[:message]
259
321
  end
260
-
261
322
  end
262
323
 
263
324
  class WAFTagOperationException < ServiceError
@@ -273,7 +334,6 @@ module Aws::WAF
273
334
  def message
274
335
  @message || @data[:message]
275
336
  end
276
-
277
337
  end
278
338
 
279
339
  class WAFTagOperationInternalErrorException < ServiceError
@@ -289,7 +349,6 @@ module Aws::WAF
289
349
  def message
290
350
  @message || @data[:message]
291
351
  end
292
-
293
352
  end
294
353
 
295
354
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::WAF
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -8,6 +8,15 @@
8
8
  module Aws::WAF
9
9
  module Types
10
10
 
11
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
12
+ # [AWS WAF Classic][1] in the developer guide.
13
+ #
14
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
15
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
16
+ # a single set of endpoints for regional and global use.
17
+ #
18
+ # </note>
19
+ #
11
20
  # The `ActivatedRule` object in an UpdateWebACL request specifies a
12
21
  # `Rule` that you want to insert or delete, the priority of the `Rule`
13
22
  # in the `WebACL`, and the action that you want AWS WAF to take when a
@@ -16,6 +25,11 @@ module Aws::WAF
16
25
  # To specify whether to insert or delete a `Rule`, use the `Action`
17
26
  # parameter in the WebACLUpdate data type.
18
27
  #
28
+ #
29
+ #
30
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
31
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
32
+ #
19
33
  # @note When making an API call, you may pass ActivatedRule
20
34
  # data as a hash:
21
35
  #
@@ -161,6 +175,15 @@ module Aws::WAF
161
175
  include Aws::Structure
162
176
  end
163
177
 
178
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
179
+ # [AWS WAF Classic][1] in the developer guide.
180
+ #
181
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
182
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
183
+ # a single set of endpoints for regional and global use.
184
+ #
185
+ # </note>
186
+ #
164
187
  # In a GetByteMatchSet request, `ByteMatchSet` is a complex type that
165
188
  # contains the `ByteMatchSetId` and `Name` of a `ByteMatchSet`, and the
166
189
  # values that you specified when you updated the `ByteMatchSet`.
@@ -172,6 +195,11 @@ module Aws::WAF
172
195
  # match the settings in only one `ByteMatchTuple` to be considered a
173
196
  # match.
174
197
  #
198
+ #
199
+ #
200
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
201
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
202
+ #
175
203
  # @!attribute [rw] byte_match_set_id
176
204
  # The `ByteMatchSetId` for a `ByteMatchSet`. You use `ByteMatchSetId`
177
205
  # to get information about a `ByteMatchSet` (see GetByteMatchSet),
@@ -205,9 +233,23 @@ module Aws::WAF
205
233
  include Aws::Structure
206
234
  end
207
235
 
236
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
237
+ # [AWS WAF Classic][1] in the developer guide.
238
+ #
239
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
240
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
241
+ # a single set of endpoints for regional and global use.
242
+ #
243
+ # </note>
244
+ #
208
245
  # Returned by ListByteMatchSets. Each `ByteMatchSetSummary` object
209
246
  # includes the `Name` and `ByteMatchSetId` for one ByteMatchSet.
210
247
  #
248
+ #
249
+ #
250
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
251
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
252
+ #
211
253
  # @!attribute [rw] byte_match_set_id
212
254
  # The `ByteMatchSetId` for a `ByteMatchSet`. You use `ByteMatchSetId`
213
255
  # to get information about a `ByteMatchSet`, update a `ByteMatchSet`,
@@ -231,10 +273,24 @@ module Aws::WAF
231
273
  include Aws::Structure
232
274
  end
233
275
 
276
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
277
+ # [AWS WAF Classic][1] in the developer guide.
278
+ #
279
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
280
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
281
+ # a single set of endpoints for regional and global use.
282
+ #
283
+ # </note>
284
+ #
234
285
  # In an UpdateByteMatchSet request, `ByteMatchSetUpdate` specifies
235
286
  # whether to insert or delete a ByteMatchTuple and includes the settings
236
287
  # for the `ByteMatchTuple`.
237
288
  #
289
+ #
290
+ #
291
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
292
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
293
+ #
238
294
  # @note When making an API call, you may pass ByteMatchSetUpdate
239
295
  # data as a hash:
240
296
  #
@@ -271,10 +327,24 @@ module Aws::WAF
271
327
  include Aws::Structure
272
328
  end
273
329
 
330
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
331
+ # [AWS WAF Classic][1] in the developer guide.
332
+ #
333
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
334
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
335
+ # a single set of endpoints for regional and global use.
336
+ #
337
+ # </note>
338
+ #
274
339
  # The bytes (typically a string that corresponds with ASCII characters)
275
340
  # that you want AWS WAF to search for in web requests, the location in
276
341
  # requests that you want AWS WAF to search, and other settings.
277
342
  #
343
+ #
344
+ #
345
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
346
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
347
+ #
278
348
  # @note When making an API call, you may pass ByteMatchTuple
279
349
  # data as a hash:
280
350
  #
@@ -361,7 +431,7 @@ module Aws::WAF
361
431
  # Text transformations eliminate some of the unusual formatting that
362
432
  # attackers use in web requests in an effort to bypass AWS WAF. If you
363
433
  # specify a transformation, AWS WAF performs the transformation on
364
- # `TargetString` before inspecting a request for a match.
434
+ # `FieldToMatch` before inspecting it for a match.
365
435
  #
366
436
  # You can only specify a single type of TextTransformation.
367
437
  #
@@ -635,8 +705,8 @@ module Aws::WAF
635
705
  # change_token: "ChangeToken", # required
636
706
  # tags: [
637
707
  # {
638
- # key: "TagKey",
639
- # value: "TagValue",
708
+ # key: "TagKey", # required
709
+ # value: "TagValue", # required
640
710
  # },
641
711
  # ],
642
712
  # }
@@ -807,8 +877,8 @@ module Aws::WAF
807
877
  # change_token: "ChangeToken", # required
808
878
  # tags: [
809
879
  # {
810
- # key: "TagKey",
811
- # value: "TagValue",
880
+ # key: "TagKey", # required
881
+ # value: "TagValue", # required
812
882
  # },
813
883
  # ],
814
884
  # }
@@ -871,8 +941,8 @@ module Aws::WAF
871
941
  # change_token: "ChangeToken", # required
872
942
  # tags: [
873
943
  # {
874
- # key: "TagKey",
875
- # value: "TagValue",
944
+ # key: "TagKey", # required
945
+ # value: "TagValue", # required
876
946
  # },
877
947
  # ],
878
948
  # }
@@ -1019,6 +1089,66 @@ module Aws::WAF
1019
1089
  include Aws::Structure
1020
1090
  end
1021
1091
 
1092
+ # @note When making an API call, you may pass CreateWebACLMigrationStackRequest
1093
+ # data as a hash:
1094
+ #
1095
+ # {
1096
+ # web_acl_id: "ResourceId", # required
1097
+ # s3_bucket_name: "S3BucketName", # required
1098
+ # ignore_unsupported_type: false, # required
1099
+ # }
1100
+ #
1101
+ # @!attribute [rw] web_acl_id
1102
+ # The UUID of the WAF Classic web ACL that you want to migrate to WAF
1103
+ # v2.
1104
+ # @return [String]
1105
+ #
1106
+ # @!attribute [rw] s3_bucket_name
1107
+ # The name of the Amazon S3 bucket to store the CloudFormation
1108
+ # template in. The S3 bucket must be configured as follows for the
1109
+ # migration:
1110
+ #
1111
+ # * The bucket name must start with `aws-waf-migration-`. For example,
1112
+ # `aws-waf-migration-my-web-acl`.
1113
+ #
1114
+ # * The bucket must be in the Region where you are deploying the
1115
+ # template. For example, for a web ACL in us-west-2, you must use an
1116
+ # Amazon S3 bucket in us-west-2 and you must deploy the template
1117
+ # stack to us-west-2.
1118
+ #
1119
+ # * The bucket policies must permit the migration process to write
1120
+ # data. For listings of the bucket policies, see the Examples
1121
+ # section.
1122
+ # @return [String]
1123
+ #
1124
+ # @!attribute [rw] ignore_unsupported_type
1125
+ # Indicates whether to exclude entities that can't be migrated or to
1126
+ # stop the migration. Set this to true to ignore unsupported entities
1127
+ # in the web ACL during the migration. Otherwise, if AWS WAF
1128
+ # encounters unsupported entities, it stops the process and throws an
1129
+ # exception.
1130
+ # @return [Boolean]
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLMigrationStackRequest AWS API Documentation
1133
+ #
1134
+ class CreateWebACLMigrationStackRequest < Struct.new(
1135
+ :web_acl_id,
1136
+ :s3_bucket_name,
1137
+ :ignore_unsupported_type)
1138
+ include Aws::Structure
1139
+ end
1140
+
1141
+ # @!attribute [rw] s3_object_url
1142
+ # The URL of the template created in Amazon S3.
1143
+ # @return [String]
1144
+ #
1145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLMigrationStackResponse AWS API Documentation
1146
+ #
1147
+ class CreateWebACLMigrationStackResponse < Struct.new(
1148
+ :s3_object_url)
1149
+ include Aws::Structure
1150
+ end
1151
+
1022
1152
  # @note When making an API call, you may pass CreateWebACLRequest
1023
1153
  # data as a hash:
1024
1154
  #
@@ -1031,8 +1161,8 @@ module Aws::WAF
1031
1161
  # change_token: "ChangeToken", # required
1032
1162
  # tags: [
1033
1163
  # {
1034
- # key: "TagKey",
1035
- # value: "TagValue",
1164
+ # key: "TagKey", # required
1165
+ # value: "TagValue", # required
1036
1166
  # },
1037
1167
  # ],
1038
1168
  # }
@@ -1664,10 +1794,24 @@ module Aws::WAF
1664
1794
  include Aws::Structure
1665
1795
  end
1666
1796
 
1797
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
1798
+ # [AWS WAF Classic][1] in the developer guide.
1799
+ #
1800
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
1801
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
1802
+ # a single set of endpoints for regional and global use.
1803
+ #
1804
+ # </note>
1805
+ #
1667
1806
  # The rule to exclude from a rule group. This is applicable only when
1668
1807
  # the `ActivatedRule` refers to a `RuleGroup`. The rule must belong to
1669
1808
  # the `RuleGroup` that is specified by the `ActivatedRule`.
1670
1809
  #
1810
+ #
1811
+ #
1812
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
1813
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1814
+ #
1671
1815
  # @note When making an API call, you may pass ExcludedRule
1672
1816
  # data as a hash:
1673
1817
  #
@@ -1686,8 +1830,22 @@ module Aws::WAF
1686
1830
  include Aws::Structure
1687
1831
  end
1688
1832
 
1833
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
1834
+ # [AWS WAF Classic][1] in the developer guide.
1835
+ #
1836
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
1837
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
1838
+ # a single set of endpoints for regional and global use.
1839
+ #
1840
+ # </note>
1841
+ #
1689
1842
  # Specifies where in a web request to look for `TargetString`.
1690
1843
  #
1844
+ #
1845
+ #
1846
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
1847
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1848
+ #
1691
1849
  # @note When making an API call, you may pass FieldToMatch
1692
1850
  # data as a hash:
1693
1851
  #
@@ -1756,9 +1914,23 @@ module Aws::WAF
1756
1914
  include Aws::Structure
1757
1915
  end
1758
1916
 
1917
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
1918
+ # [AWS WAF Classic][1] in the developer guide.
1919
+ #
1920
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
1921
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
1922
+ # a single set of endpoints for regional and global use.
1923
+ #
1924
+ # </note>
1925
+ #
1759
1926
  # The country from which web requests originate that you want AWS WAF to
1760
1927
  # search for.
1761
1928
  #
1929
+ #
1930
+ #
1931
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
1932
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1933
+ #
1762
1934
  # @note When making an API call, you may pass GeoMatchConstraint
1763
1935
  # data as a hash:
1764
1936
  #
@@ -1784,8 +1956,22 @@ module Aws::WAF
1784
1956
  include Aws::Structure
1785
1957
  end
1786
1958
 
1959
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
1960
+ # [AWS WAF Classic][1] in the developer guide.
1961
+ #
1962
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
1963
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
1964
+ # a single set of endpoints for regional and global use.
1965
+ #
1966
+ # </note>
1967
+ #
1787
1968
  # Contains one or more countries that AWS WAF will search for.
1788
1969
  #
1970
+ #
1971
+ #
1972
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
1973
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1974
+ #
1789
1975
  # @!attribute [rw] geo_match_set_id
1790
1976
  # The `GeoMatchSetId` for an `GeoMatchSet`. You use `GeoMatchSetId` to
1791
1977
  # get information about a `GeoMatchSet` (see GeoMatchSet), update a
@@ -1816,8 +2002,22 @@ module Aws::WAF
1816
2002
  include Aws::Structure
1817
2003
  end
1818
2004
 
2005
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
2006
+ # [AWS WAF Classic][1] in the developer guide.
2007
+ #
2008
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
2009
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
2010
+ # a single set of endpoints for regional and global use.
2011
+ #
2012
+ # </note>
2013
+ #
1819
2014
  # Contains the identifier and the name of the `GeoMatchSet`.
1820
2015
  #
2016
+ #
2017
+ #
2018
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
2019
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2020
+ #
1821
2021
  # @!attribute [rw] geo_match_set_id
1822
2022
  # The `GeoMatchSetId` for an GeoMatchSet. You can use `GeoMatchSetId`
1823
2023
  # in a GetGeoMatchSet request to get detailed information about an
@@ -1837,9 +2037,23 @@ module Aws::WAF
1837
2037
  include Aws::Structure
1838
2038
  end
1839
2039
 
2040
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
2041
+ # [AWS WAF Classic][1] in the developer guide.
2042
+ #
2043
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
2044
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
2045
+ # a single set of endpoints for regional and global use.
2046
+ #
2047
+ # </note>
2048
+ #
1840
2049
  # Specifies the type of update to perform to an GeoMatchSet with
1841
2050
  # UpdateGeoMatchSet.
1842
2051
  #
2052
+ #
2053
+ #
2054
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
2055
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2056
+ #
1843
2057
  # @note When making an API call, you may pass GeoMatchSetUpdate
1844
2058
  # data as a hash:
1845
2059
  #
@@ -2333,9 +2547,10 @@ module Aws::WAF
2333
2547
  # @!attribute [rw] time_window
2334
2548
  # The start date and time and the end date and time of the range for
2335
2549
  # which you want `GetSampledRequests` to return a sample of requests.
2336
- # Specify the date and time in the following format:
2337
- # `"2016-09-27T14:50Z"`. You can specify any time range in the
2338
- # previous three hours.
2550
+ # You must specify the times in Coordinated Universal Time (UTC)
2551
+ # format. UTC format includes the special designator, `Z`. For
2552
+ # example, `"2016-09-27T14:50Z"`. You can specify any time range in
2553
+ # the previous three hours.
2339
2554
  # @return [Types::TimeWindow]
2340
2555
  #
2341
2556
  # @!attribute [rw] max_items
@@ -2373,7 +2588,8 @@ module Aws::WAF
2373
2588
  # `GetSampledRequests` request. However, if your AWS resource received
2374
2589
  # more than 5,000 requests during the time range that you specified in
2375
2590
  # the request, `GetSampledRequests` returns the time range for the
2376
- # first 5,000 requests.
2591
+ # first 5,000 requests. Times are in Coordinated Universal Time (UTC)
2592
+ # format.
2377
2593
  # @return [Types::TimeWindow]
2378
2594
  #
2379
2595
  # @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequestsResponse AWS API Documentation
@@ -2558,12 +2774,26 @@ module Aws::WAF
2558
2774
  include Aws::Structure
2559
2775
  end
2560
2776
 
2777
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
2778
+ # [AWS WAF Classic][1] in the developer guide.
2779
+ #
2780
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
2781
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
2782
+ # a single set of endpoints for regional and global use.
2783
+ #
2784
+ # </note>
2785
+ #
2561
2786
  # The response from a GetSampledRequests request includes an
2562
2787
  # `HTTPHeader` complex type that appears as `Headers` in the response
2563
2788
  # syntax. `HTTPHeader` contains the names and values of all of the
2564
2789
  # headers that appear in one of the web requests that were returned by
2565
2790
  # `GetSampledRequests`.
2566
2791
  #
2792
+ #
2793
+ #
2794
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
2795
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2796
+ #
2567
2797
  # @!attribute [rw] name
2568
2798
  # The name of one of the headers in the sampled web request.
2569
2799
  # @return [String]
@@ -2580,11 +2810,25 @@ module Aws::WAF
2580
2810
  include Aws::Structure
2581
2811
  end
2582
2812
 
2813
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
2814
+ # [AWS WAF Classic][1] in the developer guide.
2815
+ #
2816
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
2817
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
2818
+ # a single set of endpoints for regional and global use.
2819
+ #
2820
+ # </note>
2821
+ #
2583
2822
  # The response from a GetSampledRequests request includes an
2584
2823
  # `HTTPRequest` complex type that appears as `Request` in the response
2585
2824
  # syntax. `HTTPRequest` contains information about one of the web
2586
2825
  # requests that were returned by `GetSampledRequests`.
2587
2826
  #
2827
+ #
2828
+ #
2829
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
2830
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2831
+ #
2588
2832
  # @!attribute [rw] client_ip
2589
2833
  # The IP address that the request originated from. If the `WebACL` is
2590
2834
  # associated with a CloudFront distribution, this is the value of one
@@ -2641,6 +2885,15 @@ module Aws::WAF
2641
2885
  include Aws::Structure
2642
2886
  end
2643
2887
 
2888
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
2889
+ # [AWS WAF Classic][1] in the developer guide.
2890
+ #
2891
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
2892
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
2893
+ # a single set of endpoints for regional and global use.
2894
+ #
2895
+ # </note>
2896
+ #
2644
2897
  # Contains one or more IP addresses or blocks of IP addresses specified
2645
2898
  # in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports
2646
2899
  # IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF
@@ -2651,11 +2904,13 @@ module Aws::WAF
2651
2904
  # range of IP addresses, you can specify /8 or any range between /16
2652
2905
  # through /32 (for IPv4) or /24, /32, /48, /56, /64, or /128 (for IPv6).
2653
2906
  # For more information about CIDR notation, see the Wikipedia entry
2654
- # [Classless Inter-Domain Routing][1].
2907
+ # [Classless Inter-Domain Routing][3].
2655
2908
  #
2656
2909
  #
2657
2910
  #
2658
- # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
2911
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
2912
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2913
+ # [3]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
2659
2914
  #
2660
2915
  # @!attribute [rw] ip_set_id
2661
2916
  # The `IPSetId` for an `IPSet`. You use `IPSetId` to get information
@@ -2689,9 +2944,23 @@ module Aws::WAF
2689
2944
  include Aws::Structure
2690
2945
  end
2691
2946
 
2947
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
2948
+ # [AWS WAF Classic][1] in the developer guide.
2949
+ #
2950
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
2951
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
2952
+ # a single set of endpoints for regional and global use.
2953
+ #
2954
+ # </note>
2955
+ #
2692
2956
  # Specifies the IP address type (`IPV4` or `IPV6`) and the IP address
2693
2957
  # range (in CIDR format) that web requests originate from.
2694
2958
  #
2959
+ #
2960
+ #
2961
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
2962
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2963
+ #
2695
2964
  # @note When making an API call, you may pass IPSetDescriptor
2696
2965
  # data as a hash:
2697
2966
  #
@@ -2744,8 +3013,22 @@ module Aws::WAF
2744
3013
  include Aws::Structure
2745
3014
  end
2746
3015
 
3016
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
3017
+ # [AWS WAF Classic][1] in the developer guide.
3018
+ #
3019
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
3020
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
3021
+ # a single set of endpoints for regional and global use.
3022
+ #
3023
+ # </note>
3024
+ #
2747
3025
  # Contains the identifier and the name of the `IPSet`.
2748
3026
  #
3027
+ #
3028
+ #
3029
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
3030
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3031
+ #
2749
3032
  # @!attribute [rw] ip_set_id
2750
3033
  # The `IPSetId` for an IPSet. You can use `IPSetId` in a GetIPSet
2751
3034
  # request to get detailed information about an IPSet.
@@ -2764,8 +3047,22 @@ module Aws::WAF
2764
3047
  include Aws::Structure
2765
3048
  end
2766
3049
 
3050
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
3051
+ # [AWS WAF Classic][1] in the developer guide.
3052
+ #
3053
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
3054
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
3055
+ # a single set of endpoints for regional and global use.
3056
+ #
3057
+ # </note>
3058
+ #
2767
3059
  # Specifies the type of update to perform to an IPSet with UpdateIPSet.
2768
3060
  #
3061
+ #
3062
+ #
3063
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
3064
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3065
+ #
2769
3066
  # @note When making an API call, you may pass IPSetUpdate
2770
3067
  # data as a hash:
2771
3068
  #
@@ -3656,9 +3953,23 @@ module Aws::WAF
3656
3953
  include Aws::Structure
3657
3954
  end
3658
3955
 
3956
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
3957
+ # [AWS WAF Classic][1] in the developer guide.
3958
+ #
3959
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
3960
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
3961
+ # a single set of endpoints for regional and global use.
3962
+ #
3963
+ # </note>
3964
+ #
3659
3965
  # The Amazon Kinesis Data Firehose, `RedactedFields` information, and
3660
3966
  # the web ACL Amazon Resource Name (ARN).
3661
3967
  #
3968
+ #
3969
+ #
3970
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
3971
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3972
+ #
3662
3973
  # @note When making an API call, you may pass LoggingConfiguration
3663
3974
  # data as a hash:
3664
3975
  #
@@ -3697,12 +4008,26 @@ module Aws::WAF
3697
4008
  include Aws::Structure
3698
4009
  end
3699
4010
 
4011
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4012
+ # [AWS WAF Classic][1] in the developer guide.
4013
+ #
4014
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4015
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4016
+ # a single set of endpoints for regional and global use.
4017
+ #
4018
+ # </note>
4019
+ #
3700
4020
  # Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
3701
4021
  # RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you
3702
4022
  # want to add to a `Rule` and, for each object, indicates whether you
3703
4023
  # want to negate the settings, for example, requests that do NOT
3704
4024
  # originate from the IP address 192.0.2.44.
3705
4025
  #
4026
+ #
4027
+ #
4028
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4029
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4030
+ #
3706
4031
  # @note When making an API call, you may pass Predicate
3707
4032
  # data as a hash:
3708
4033
  #
@@ -3821,6 +4146,15 @@ module Aws::WAF
3821
4146
  #
3822
4147
  class PutPermissionPolicyResponse < Aws::EmptyStructure; end
3823
4148
 
4149
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4150
+ # [AWS WAF Classic][1] in the developer guide.
4151
+ #
4152
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4153
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4154
+ # a single set of endpoints for regional and global use.
4155
+ #
4156
+ # </note>
4157
+ #
3824
4158
  # A `RateBasedRule` is identical to a regular Rule, with one addition: a
3825
4159
  # `RateBasedRule` counts the number of requests that arrive from a
3826
4160
  # specified IP address every five minutes. For example, based on recent
@@ -3831,12 +4165,17 @@ module Aws::WAF
3831
4165
  #
3832
4166
  # * They contain the value `BadBot` in the `User-Agent` header.
3833
4167
  #
3834
- # In the rule, you also define the rate limit as 15,000.
4168
+ # In the rule, you also define the rate limit as 1,000.
3835
4169
  #
3836
- # Requests that meet both of these conditions and exceed 15,000 requests
4170
+ # Requests that meet both of these conditions and exceed 1,000 requests
3837
4171
  # every five minutes trigger the rule's action (block or count), which
3838
4172
  # is defined in the web ACL.
3839
4173
  #
4174
+ #
4175
+ #
4176
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4177
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4178
+ #
3840
4179
  # @!attribute [rw] rule_id
3841
4180
  # A unique identifier for a `RateBasedRule`. You use `RuleId` to get
3842
4181
  # more information about a `RateBasedRule` (see GetRateBasedRule),
@@ -3894,6 +4233,15 @@ module Aws::WAF
3894
4233
  include Aws::Structure
3895
4234
  end
3896
4235
 
4236
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4237
+ # [AWS WAF Classic][1] in the developer guide.
4238
+ #
4239
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4240
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4241
+ # a single set of endpoints for regional and global use.
4242
+ #
4243
+ # </note>
4244
+ #
3897
4245
  # In a GetRegexMatchSet request, `RegexMatchSet` is a complex type that
3898
4246
  # contains the `RegexMatchSetId` and `Name` of a `RegexMatchSet`, and
3899
4247
  # the values that you specified when you updated the `RegexMatchSet`.
@@ -3905,6 +4253,11 @@ module Aws::WAF
3905
4253
  # match the settings in only one `ByteMatchTuple` to be considered a
3906
4254
  # match.
3907
4255
  #
4256
+ #
4257
+ #
4258
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4259
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4260
+ #
3908
4261
  # @!attribute [rw] regex_match_set_id
3909
4262
  # The `RegexMatchSetId` for a `RegexMatchSet`. You use
3910
4263
  # `RegexMatchSetId` to get information about a `RegexMatchSet` (see
@@ -3946,9 +4299,23 @@ module Aws::WAF
3946
4299
  include Aws::Structure
3947
4300
  end
3948
4301
 
4302
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4303
+ # [AWS WAF Classic][1] in the developer guide.
4304
+ #
4305
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4306
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4307
+ # a single set of endpoints for regional and global use.
4308
+ #
4309
+ # </note>
4310
+ #
3949
4311
  # Returned by ListRegexMatchSets. Each `RegexMatchSetSummary` object
3950
4312
  # includes the `Name` and `RegexMatchSetId` for one RegexMatchSet.
3951
4313
  #
4314
+ #
4315
+ #
4316
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4317
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4318
+ #
3952
4319
  # @!attribute [rw] regex_match_set_id
3953
4320
  # The `RegexMatchSetId` for a `RegexMatchSet`. You use
3954
4321
  # `RegexMatchSetId` to get information about a `RegexMatchSet`, update
@@ -3972,10 +4339,24 @@ module Aws::WAF
3972
4339
  include Aws::Structure
3973
4340
  end
3974
4341
 
4342
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4343
+ # [AWS WAF Classic][1] in the developer guide.
4344
+ #
4345
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4346
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4347
+ # a single set of endpoints for regional and global use.
4348
+ #
4349
+ # </note>
4350
+ #
3975
4351
  # In an UpdateRegexMatchSet request, `RegexMatchSetUpdate` specifies
3976
4352
  # whether to insert or delete a RegexMatchTuple and includes the
3977
4353
  # settings for the `RegexMatchTuple`.
3978
4354
  #
4355
+ #
4356
+ #
4357
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4358
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4359
+ #
3979
4360
  # @note When making an API call, you may pass RegexMatchSetUpdate
3980
4361
  # data as a hash:
3981
4362
  #
@@ -4012,6 +4393,15 @@ module Aws::WAF
4012
4393
  include Aws::Structure
4013
4394
  end
4014
4395
 
4396
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4397
+ # [AWS WAF Classic][1] in the developer guide.
4398
+ #
4399
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4400
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4401
+ # a single set of endpoints for regional and global use.
4402
+ #
4403
+ # </note>
4404
+ #
4015
4405
  # The regular expression pattern that you want AWS WAF to search for in
4016
4406
  # web requests, the location in requests that you want AWS WAF to
4017
4407
  # search, and other settings. Each `RegexMatchTuple` object contains:
@@ -4026,6 +4416,11 @@ module Aws::WAF
4026
4416
  # converting it to lowercase, before inspecting it for the specified
4027
4417
  # string.
4028
4418
  #
4419
+ #
4420
+ #
4421
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4422
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4423
+ #
4029
4424
  # @note When making an API call, you may pass RegexMatchTuple
4030
4425
  # data as a hash:
4031
4426
  #
@@ -4142,10 +4537,24 @@ module Aws::WAF
4142
4537
  include Aws::Structure
4143
4538
  end
4144
4539
 
4540
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4541
+ # [AWS WAF Classic][1] in the developer guide.
4542
+ #
4543
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4544
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4545
+ # a single set of endpoints for regional and global use.
4546
+ #
4547
+ # </note>
4548
+ #
4145
4549
  # The `RegexPatternSet` specifies the regular expression (regex) pattern
4146
4550
  # that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. You can
4147
4551
  # then configure AWS WAF to reject those requests.
4148
4552
  #
4553
+ #
4554
+ #
4555
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4556
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4557
+ #
4149
4558
  # @!attribute [rw] regex_pattern_set_id
4150
4559
  # The identifier for the `RegexPatternSet`. You use
4151
4560
  # `RegexPatternSetId` to get information about a `RegexPatternSet`,
@@ -4175,9 +4584,23 @@ module Aws::WAF
4175
4584
  include Aws::Structure
4176
4585
  end
4177
4586
 
4587
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4588
+ # [AWS WAF Classic][1] in the developer guide.
4589
+ #
4590
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4591
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4592
+ # a single set of endpoints for regional and global use.
4593
+ #
4594
+ # </note>
4595
+ #
4178
4596
  # Returned by ListRegexPatternSets. Each `RegexPatternSetSummary` object
4179
4597
  # includes the `Name` and `RegexPatternSetId` for one RegexPatternSet.
4180
4598
  #
4599
+ #
4600
+ #
4601
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4602
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4603
+ #
4181
4604
  # @!attribute [rw] regex_pattern_set_id
4182
4605
  # The `RegexPatternSetId` for a `RegexPatternSet`. You use
4183
4606
  # `RegexPatternSetId` to get information about a `RegexPatternSet`,
@@ -4201,10 +4624,24 @@ module Aws::WAF
4201
4624
  include Aws::Structure
4202
4625
  end
4203
4626
 
4627
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4628
+ # [AWS WAF Classic][1] in the developer guide.
4629
+ #
4630
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4631
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4632
+ # a single set of endpoints for regional and global use.
4633
+ #
4634
+ # </note>
4635
+ #
4204
4636
  # In an UpdateRegexPatternSet request, `RegexPatternSetUpdate` specifies
4205
4637
  # whether to insert or delete a `RegexPatternString` and includes the
4206
4638
  # settings for the `RegexPatternString`.
4207
4639
  #
4640
+ #
4641
+ #
4642
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4643
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4644
+ #
4208
4645
  # @note When making an API call, you may pass RegexPatternSetUpdate
4209
4646
  # data as a hash:
4210
4647
  #
@@ -4230,6 +4667,15 @@ module Aws::WAF
4230
4667
  include Aws::Structure
4231
4668
  end
4232
4669
 
4670
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4671
+ # [AWS WAF Classic][1] in the developer guide.
4672
+ #
4673
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4674
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4675
+ # a single set of endpoints for regional and global use.
4676
+ #
4677
+ # </note>
4678
+ #
4233
4679
  # A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet
4234
4680
  # objects that identify the web requests that you want to allow, block,
4235
4681
  # or count. For example, you might create a `Rule` that includes the
@@ -4245,6 +4691,11 @@ module Aws::WAF
4245
4691
  # `192.0.2.44` AND include a `User-Agent` header for which the value is
4246
4692
  # `BadBot`.
4247
4693
  #
4694
+ #
4695
+ #
4696
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4697
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4698
+ #
4248
4699
  # @!attribute [rw] rule_id
4249
4700
  # A unique identifier for a `Rule`. You use `RuleId` to get more
4250
4701
  # information about a `Rule` (see GetRule), update a `Rule` (see
@@ -4285,6 +4736,15 @@ module Aws::WAF
4285
4736
  include Aws::Structure
4286
4737
  end
4287
4738
 
4739
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4740
+ # [AWS WAF Classic][1] in the developer guide.
4741
+ #
4742
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4743
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4744
+ # a single set of endpoints for regional and global use.
4745
+ #
4746
+ # </note>
4747
+ #
4288
4748
  # A collection of predefined rules that you can add to a web ACL.
4289
4749
  #
4290
4750
  # Rule groups are subject to the following limits:
@@ -4296,6 +4756,11 @@ module Aws::WAF
4296
4756
  #
4297
4757
  # * Ten rules per rule group.
4298
4758
  #
4759
+ #
4760
+ #
4761
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4762
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4763
+ #
4299
4764
  # @!attribute [rw] rule_group_id
4300
4765
  # A unique identifier for a `RuleGroup`. You use `RuleGroupId` to get
4301
4766
  # more information about a `RuleGroup` (see GetRuleGroup), update a
@@ -4329,9 +4794,23 @@ module Aws::WAF
4329
4794
  include Aws::Structure
4330
4795
  end
4331
4796
 
4797
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4798
+ # [AWS WAF Classic][1] in the developer guide.
4799
+ #
4800
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4801
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4802
+ # a single set of endpoints for regional and global use.
4803
+ #
4804
+ # </note>
4805
+ #
4332
4806
  # Contains the identifier and the friendly name or description of the
4333
4807
  # `RuleGroup`.
4334
4808
  #
4809
+ #
4810
+ #
4811
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4812
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4813
+ #
4335
4814
  # @!attribute [rw] rule_group_id
4336
4815
  # A unique identifier for a `RuleGroup`. You use `RuleGroupId` to get
4337
4816
  # more information about a `RuleGroup` (see GetRuleGroup), update a
@@ -4355,9 +4834,23 @@ module Aws::WAF
4355
4834
  include Aws::Structure
4356
4835
  end
4357
4836
 
4837
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4838
+ # [AWS WAF Classic][1] in the developer guide.
4839
+ #
4840
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4841
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4842
+ # a single set of endpoints for regional and global use.
4843
+ #
4844
+ # </note>
4845
+ #
4358
4846
  # Specifies an `ActivatedRule` and indicates whether you want to add it
4359
4847
  # to a `RuleGroup` or delete it from a `RuleGroup`.
4360
4848
  #
4849
+ #
4850
+ #
4851
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4852
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4853
+ #
4361
4854
  # @note When making an API call, you may pass RuleGroupUpdate
4362
4855
  # data as a hash:
4363
4856
  #
@@ -4401,9 +4894,23 @@ module Aws::WAF
4401
4894
  include Aws::Structure
4402
4895
  end
4403
4896
 
4897
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4898
+ # [AWS WAF Classic][1] in the developer guide.
4899
+ #
4900
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4901
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4902
+ # a single set of endpoints for regional and global use.
4903
+ #
4904
+ # </note>
4905
+ #
4404
4906
  # Contains the identifier and the friendly name or description of the
4405
4907
  # `Rule`.
4406
4908
  #
4909
+ #
4910
+ #
4911
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4912
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4913
+ #
4407
4914
  # @!attribute [rw] rule_id
4408
4915
  # A unique identifier for a `Rule`. You use `RuleId` to get more
4409
4916
  # information about a `Rule` (see GetRule), update a `Rule` (see
@@ -4427,9 +4934,23 @@ module Aws::WAF
4427
4934
  include Aws::Structure
4428
4935
  end
4429
4936
 
4937
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4938
+ # [AWS WAF Classic][1] in the developer guide.
4939
+ #
4940
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4941
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4942
+ # a single set of endpoints for regional and global use.
4943
+ #
4944
+ # </note>
4945
+ #
4430
4946
  # Specifies a `Predicate` (such as an `IPSet`) and indicates whether you
4431
4947
  # want to add it to a `Rule` or delete it from a `Rule`.
4432
4948
  #
4949
+ #
4950
+ #
4951
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
4952
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4953
+ #
4433
4954
  # @note When making an API call, you may pass RuleUpdate
4434
4955
  # data as a hash:
4435
4956
  #
@@ -4460,12 +4981,26 @@ module Aws::WAF
4460
4981
  include Aws::Structure
4461
4982
  end
4462
4983
 
4984
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
4985
+ # [AWS WAF Classic][1] in the developer guide.
4986
+ #
4987
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
4988
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
4989
+ # a single set of endpoints for regional and global use.
4990
+ #
4991
+ # </note>
4992
+ #
4463
4993
  # The response from a GetSampledRequests request includes a
4464
4994
  # `SampledHTTPRequests` complex type that appears as `SampledRequests`
4465
4995
  # in the response syntax. `SampledHTTPRequests` contains one
4466
4996
  # `SampledHTTPRequest` object for each web request that is returned by
4467
4997
  # `GetSampledRequests`.
4468
4998
  #
4999
+ #
5000
+ #
5001
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5002
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5003
+ #
4469
5004
  # @!attribute [rw] request
4470
5005
  # A complex type that contains detailed information about the request.
4471
5006
  # @return [Types::HTTPRequest]
@@ -4505,12 +5040,26 @@ module Aws::WAF
4505
5040
  include Aws::Structure
4506
5041
  end
4507
5042
 
5043
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5044
+ # [AWS WAF Classic][1] in the developer guide.
5045
+ #
5046
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5047
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5048
+ # a single set of endpoints for regional and global use.
5049
+ #
5050
+ # </note>
5051
+ #
4508
5052
  # Specifies a constraint on the size of a part of the web request. AWS
4509
5053
  # WAF uses the `Size`, `ComparisonOperator`, and `FieldToMatch` to build
4510
5054
  # an expression in the form of "`Size` `ComparisonOperator` size in
4511
5055
  # bytes of `FieldToMatch`". If that expression is true, the
4512
5056
  # `SizeConstraint` is considered to match.
4513
5057
  #
5058
+ #
5059
+ #
5060
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5061
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5062
+ #
4514
5063
  # @note When making an API call, you may pass SizeConstraint
4515
5064
  # data as a hash:
4516
5065
  #
@@ -4532,7 +5081,7 @@ module Aws::WAF
4532
5081
  # Text transformations eliminate some of the unusual formatting that
4533
5082
  # attackers use in web requests in an effort to bypass AWS WAF. If you
4534
5083
  # specify a transformation, AWS WAF performs the transformation on
4535
- # `FieldToMatch` before inspecting a request for a match.
5084
+ # `FieldToMatch` before inspecting it for a match.
4536
5085
  #
4537
5086
  # You can only specify a single type of TextTransformation.
4538
5087
  #
@@ -4661,12 +5210,26 @@ module Aws::WAF
4661
5210
  include Aws::Structure
4662
5211
  end
4663
5212
 
5213
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5214
+ # [AWS WAF Classic][1] in the developer guide.
5215
+ #
5216
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5217
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5218
+ # a single set of endpoints for regional and global use.
5219
+ #
5220
+ # </note>
5221
+ #
4664
5222
  # A complex type that contains `SizeConstraint` objects, which specify
4665
5223
  # the parts of web requests that you want AWS WAF to inspect the size
4666
5224
  # of. If a `SizeConstraintSet` contains more than one `SizeConstraint`
4667
5225
  # object, a request only needs to match one constraint to be considered
4668
5226
  # a match.
4669
5227
  #
5228
+ #
5229
+ #
5230
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5231
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5232
+ #
4670
5233
  # @!attribute [rw] size_constraint_set_id
4671
5234
  # A unique identifier for a `SizeConstraintSet`. You use
4672
5235
  # `SizeConstraintSetId` to get information about a `SizeConstraintSet`
@@ -4697,8 +5260,22 @@ module Aws::WAF
4697
5260
  include Aws::Structure
4698
5261
  end
4699
5262
 
5263
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5264
+ # [AWS WAF Classic][1] in the developer guide.
5265
+ #
5266
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5267
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5268
+ # a single set of endpoints for regional and global use.
5269
+ #
5270
+ # </note>
5271
+ #
4700
5272
  # The `Id` and `Name` of a `SizeConstraintSet`.
4701
5273
  #
5274
+ #
5275
+ #
5276
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5277
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5278
+ #
4702
5279
  # @!attribute [rw] size_constraint_set_id
4703
5280
  # A unique identifier for a `SizeConstraintSet`. You use
4704
5281
  # `SizeConstraintSetId` to get information about a `SizeConstraintSet`
@@ -4723,10 +5300,24 @@ module Aws::WAF
4723
5300
  include Aws::Structure
4724
5301
  end
4725
5302
 
5303
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5304
+ # [AWS WAF Classic][1] in the developer guide.
5305
+ #
5306
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5307
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5308
+ # a single set of endpoints for regional and global use.
5309
+ #
5310
+ # </note>
5311
+ #
4726
5312
  # Specifies the part of a web request that you want to inspect the size
4727
5313
  # of and indicates whether you want to add the specification to a
4728
5314
  # SizeConstraintSet or delete it from a `SizeConstraintSet`.
4729
5315
  #
5316
+ #
5317
+ #
5318
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5319
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5320
+ #
4730
5321
  # @note When making an API call, you may pass SizeConstraintSetUpdate
4731
5322
  # data as a hash:
4732
5323
  #
@@ -4765,6 +5356,15 @@ module Aws::WAF
4765
5356
  include Aws::Structure
4766
5357
  end
4767
5358
 
5359
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5360
+ # [AWS WAF Classic][1] in the developer guide.
5361
+ #
5362
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5363
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5364
+ # a single set of endpoints for regional and global use.
5365
+ #
5366
+ # </note>
5367
+ #
4768
5368
  # A complex type that contains `SqlInjectionMatchTuple` objects, which
4769
5369
  # specify the parts of web requests that you want AWS WAF to inspect for
4770
5370
  # snippets of malicious SQL code and, if you want AWS WAF to inspect a
@@ -4773,6 +5373,11 @@ module Aws::WAF
4773
5373
  # include snippets of SQL code in only one of the specified parts of the
4774
5374
  # request to be considered a match.
4775
5375
  #
5376
+ #
5377
+ #
5378
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5379
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5380
+ #
4776
5381
  # @!attribute [rw] sql_injection_match_set_id
4777
5382
  # A unique identifier for a `SqlInjectionMatchSet`. You use
4778
5383
  # `SqlInjectionMatchSetId` to get information about a
@@ -4804,8 +5409,22 @@ module Aws::WAF
4804
5409
  include Aws::Structure
4805
5410
  end
4806
5411
 
5412
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5413
+ # [AWS WAF Classic][1] in the developer guide.
5414
+ #
5415
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5416
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5417
+ # a single set of endpoints for regional and global use.
5418
+ #
5419
+ # </note>
5420
+ #
4807
5421
  # The `Id` and `Name` of a `SqlInjectionMatchSet`.
4808
5422
  #
5423
+ #
5424
+ #
5425
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5426
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5427
+ #
4809
5428
  # @!attribute [rw] sql_injection_match_set_id
4810
5429
  # A unique identifier for a `SqlInjectionMatchSet`. You use
4811
5430
  # `SqlInjectionMatchSetId` to get information about a
@@ -4831,11 +5450,25 @@ module Aws::WAF
4831
5450
  include Aws::Structure
4832
5451
  end
4833
5452
 
5453
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5454
+ # [AWS WAF Classic][1] in the developer guide.
5455
+ #
5456
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5457
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5458
+ # a single set of endpoints for regional and global use.
5459
+ #
5460
+ # </note>
5461
+ #
4834
5462
  # Specifies the part of a web request that you want to inspect for
4835
5463
  # snippets of malicious SQL code and indicates whether you want to add
4836
5464
  # the specification to a SqlInjectionMatchSet or delete it from a
4837
5465
  # `SqlInjectionMatchSet`.
4838
5466
  #
5467
+ #
5468
+ #
5469
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5470
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5471
+ #
4839
5472
  # @note When making an API call, you may pass SqlInjectionMatchSetUpdate
4840
5473
  # data as a hash:
4841
5474
  #
@@ -4870,10 +5503,24 @@ module Aws::WAF
4870
5503
  include Aws::Structure
4871
5504
  end
4872
5505
 
5506
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5507
+ # [AWS WAF Classic][1] in the developer guide.
5508
+ #
5509
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5510
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5511
+ # a single set of endpoints for regional and global use.
5512
+ #
5513
+ # </note>
5514
+ #
4873
5515
  # Specifies the part of a web request that you want AWS WAF to inspect
4874
5516
  # for snippets of malicious SQL code and, if you want AWS WAF to inspect
4875
5517
  # a header, the name of the header.
4876
5518
  #
5519
+ #
5520
+ #
5521
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5522
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5523
+ #
4877
5524
  # @note When making an API call, you may pass SqlInjectionMatchTuple
4878
5525
  # data as a hash:
4879
5526
  #
@@ -4894,7 +5541,7 @@ module Aws::WAF
4894
5541
  # Text transformations eliminate some of the unusual formatting that
4895
5542
  # attackers use in web requests in an effort to bypass AWS WAF. If you
4896
5543
  # specify a transformation, AWS WAF performs the transformation on
4897
- # `FieldToMatch` before inspecting a request for a match.
5544
+ # `FieldToMatch` before inspecting it for a match.
4898
5545
  #
4899
5546
  # You can only specify a single type of TextTransformation.
4900
5547
  #
@@ -4976,8 +5623,22 @@ module Aws::WAF
4976
5623
  include Aws::Structure
4977
5624
  end
4978
5625
 
5626
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5627
+ # [AWS WAF Classic][1] in the developer guide.
5628
+ #
5629
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5630
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5631
+ # a single set of endpoints for regional and global use.
5632
+ #
5633
+ # </note>
5634
+ #
4979
5635
  # A summary of the rule groups you are subscribed to.
4980
5636
  #
5637
+ #
5638
+ #
5639
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5640
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5641
+ #
4981
5642
  # @!attribute [rw] rule_group_id
4982
5643
  # A unique identifier for a `RuleGroup`.
4983
5644
  # @return [String]
@@ -5005,12 +5666,37 @@ module Aws::WAF
5005
5666
  include Aws::Structure
5006
5667
  end
5007
5668
 
5669
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5670
+ # [AWS WAF Classic][1] in the developer guide.
5671
+ #
5672
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5673
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5674
+ # a single set of endpoints for regional and global use.
5675
+ #
5676
+ # </note>
5677
+ #
5678
+ # A tag associated with an AWS resource. Tags are key:value pairs that
5679
+ # you can use to categorize and manage your resources, for purposes like
5680
+ # billing. For example, you might set the tag key to "customer" and
5681
+ # the value to the customer name or ID. You can specify one or more tags
5682
+ # to add to each AWS resource, up to 50 tags for a resource.
5683
+ #
5684
+ # Tagging is only available through the API, SDKs, and CLI. You can't
5685
+ # manage or view tags through the AWS WAF Classic console. You can tag
5686
+ # the AWS resources that you manage through AWS WAF Classic: web ACLs,
5687
+ # rule groups, and rules.
5688
+ #
5689
+ #
5690
+ #
5691
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5692
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5693
+ #
5008
5694
  # @note When making an API call, you may pass Tag
5009
5695
  # data as a hash:
5010
5696
  #
5011
5697
  # {
5012
- # key: "TagKey",
5013
- # value: "TagValue",
5698
+ # key: "TagKey", # required
5699
+ # value: "TagValue", # required
5014
5700
  # }
5015
5701
  #
5016
5702
  # @!attribute [rw] key
@@ -5027,6 +5713,32 @@ module Aws::WAF
5027
5713
  include Aws::Structure
5028
5714
  end
5029
5715
 
5716
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5717
+ # [AWS WAF Classic][1] in the developer guide.
5718
+ #
5719
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5720
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5721
+ # a single set of endpoints for regional and global use.
5722
+ #
5723
+ # </note>
5724
+ #
5725
+ # Information for a tag associated with an AWS resource. Tags are
5726
+ # key:value pairs that you can use to categorize and manage your
5727
+ # resources, for purposes like billing. For example, you might set the
5728
+ # tag key to "customer" and the value to the customer name or ID. You
5729
+ # can specify one or more tags to add to each AWS resource, up to 50
5730
+ # tags for a resource.
5731
+ #
5732
+ # Tagging is only available through the API, SDKs, and CLI. You can't
5733
+ # manage or view tags through the AWS WAF Classic console. You can tag
5734
+ # the AWS resources that you manage through AWS WAF Classic: web ACLs,
5735
+ # rule groups, and rules.
5736
+ #
5737
+ #
5738
+ #
5739
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5740
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5741
+ #
5030
5742
  # @!attribute [rw] resource_arn
5031
5743
  # @return [String]
5032
5744
  #
@@ -5048,8 +5760,8 @@ module Aws::WAF
5048
5760
  # resource_arn: "ResourceArn", # required
5049
5761
  # tags: [ # required
5050
5762
  # {
5051
- # key: "TagKey",
5052
- # value: "TagValue",
5763
+ # key: "TagKey", # required
5764
+ # value: "TagValue", # required
5053
5765
  # },
5054
5766
  # ],
5055
5767
  # }
@@ -5072,10 +5784,23 @@ module Aws::WAF
5072
5784
  #
5073
5785
  class TagResourceResponse < Aws::EmptyStructure; end
5074
5786
 
5787
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
5788
+ # [AWS WAF Classic][1] in the developer guide.
5789
+ #
5790
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
5791
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
5792
+ # a single set of endpoints for regional and global use.
5793
+ #
5794
+ # </note>
5795
+ #
5075
5796
  # In a GetSampledRequests request, the `StartTime` and `EndTime` objects
5076
5797
  # specify the time range for which you want AWS WAF to return a sample
5077
5798
  # of web requests.
5078
5799
  #
5800
+ # You must specify the times in Coordinated Universal Time (UTC) format.
5801
+ # UTC format includes the special designator, `Z`. For example,
5802
+ # `"2016-09-27T14:50Z"`.
5803
+ #
5079
5804
  # In a GetSampledRequests response, the `StartTime` and `EndTime`
5080
5805
  # objects specify the time range for which AWS WAF actually returned a
5081
5806
  # sample of web requests. AWS WAF gets the specified number of requests
@@ -5085,6 +5810,11 @@ module Aws::WAF
5085
5810
  # 5,000th request. In that case, `EndTime` is the time that AWS WAF
5086
5811
  # received the 5,000th request.
5087
5812
  #
5813
+ #
5814
+ #
5815
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
5816
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
5817
+ #
5088
5818
  # @note When making an API call, you may pass TimeWindow
5089
5819
  # data as a hash:
5090
5820
  #
@@ -5096,17 +5826,19 @@ module Aws::WAF
5096
5826
  # @!attribute [rw] start_time
5097
5827
  # The beginning of the time range from which you want
5098
5828
  # `GetSampledRequests` to return a sample of the requests that your
5099
- # AWS resource received. Specify the date and time in the following
5100
- # format: `"2016-09-27T14:50Z"`. You can specify any time range in the
5101
- # previous three hours.
5829
+ # AWS resource received. You must specify the date and time in
5830
+ # Coordinated Universal Time (UTC) format. UTC format includes the
5831
+ # special designator, `Z`. For example, `"2016-09-27T14:50Z"`. You can
5832
+ # specify any time range in the previous three hours.
5102
5833
  # @return [Time]
5103
5834
  #
5104
5835
  # @!attribute [rw] end_time
5105
5836
  # The end of the time range from which you want `GetSampledRequests`
5106
5837
  # to return a sample of the requests that your AWS resource received.
5107
- # Specify the date and time in the following format:
5108
- # `"2016-09-27T14:50Z"`. You can specify any time range in the
5109
- # previous three hours.
5838
+ # You must specify the date and time in Coordinated Universal Time
5839
+ # (UTC) format. UTC format includes the special designator, `Z`. For
5840
+ # example, `"2016-09-27T14:50Z"`. You can specify any time range in
5841
+ # the previous three hours.
5110
5842
  # @return [Time]
5111
5843
  #
5112
5844
  # @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TimeWindow AWS API Documentation
@@ -5961,6 +6693,46 @@ module Aws::WAF
5961
6693
  include Aws::Structure
5962
6694
  end
5963
6695
 
6696
+ # The operation failed due to a problem with the migration. The failure
6697
+ # cause is provided in the exception, in the `MigrationErrorType`\:
6698
+ #
6699
+ # * `ENTITY_NOT_SUPPORTED` - The web ACL has an unsupported entity but
6700
+ # the `IgnoreUnsupportedType` is not set to true.
6701
+ #
6702
+ # * `ENTITY_NOT_FOUND` - The web ACL doesn't exist.
6703
+ #
6704
+ # * `S3_BUCKET_NO_PERMISSION` - You don't have permission to perform
6705
+ # the `PutObject` action to the specified Amazon S3 bucket.
6706
+ #
6707
+ # * `S3_BUCKET_NOT_ACCESSIBLE` - The bucket policy doesn't allow AWS
6708
+ # WAF to perform the `PutObject` action in the bucket.
6709
+ #
6710
+ # * `S3_BUCKET_NOT_FOUND` - The S3 bucket doesn't exist.
6711
+ #
6712
+ # * `S3_BUCKET_INVALID_REGION` - The S3 bucket is not in the same Region
6713
+ # as the web ACL.
6714
+ #
6715
+ # * `S3_INTERNAL_ERROR` - AWS WAF failed to create the template in the
6716
+ # S3 bucket for another reason.
6717
+ #
6718
+ # @!attribute [rw] message
6719
+ # @return [String]
6720
+ #
6721
+ # @!attribute [rw] migration_error_type
6722
+ # @return [String]
6723
+ #
6724
+ # @!attribute [rw] migration_error_reason
6725
+ # @return [String]
6726
+ #
6727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFEntityMigrationException AWS API Documentation
6728
+ #
6729
+ class WAFEntityMigrationException < Struct.new(
6730
+ :message,
6731
+ :migration_error_type,
6732
+ :migration_error_reason)
6733
+ include Aws::Structure
6734
+ end
6735
+
5964
6736
  # The operation failed because of a system problem, even though the
5965
6737
  # request was valid. Retry your request.
5966
6738
  #
@@ -5974,6 +6746,13 @@ module Aws::WAF
5974
6746
  include Aws::Structure
5975
6747
  end
5976
6748
 
6749
+ # The operation failed because you tried to create, update, or delete an
6750
+ # object by using an invalid account identifier.
6751
+ #
6752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFInvalidAccountException AWS API Documentation
6753
+ #
6754
+ class WAFInvalidAccountException < Aws::EmptyStructure; end
6755
+
5977
6756
  # The operation failed because there was nothing to do. For example:
5978
6757
  #
5979
6758
  # * You tried to remove a `Rule` from a `WebACL`, but the `Rule` isn't
@@ -6259,6 +7038,15 @@ module Aws::WAF
6259
7038
  include Aws::Structure
6260
7039
  end
6261
7040
 
7041
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7042
+ # [AWS WAF Classic][1] in the developer guide.
7043
+ #
7044
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7045
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7046
+ # a single set of endpoints for regional and global use.
7047
+ #
7048
+ # </note>
7049
+ #
6262
7050
  # For the action that is associated with a rule in a `WebACL`, specifies
6263
7051
  # the action that you want AWS WAF to perform when a web request matches
6264
7052
  # all of the conditions in a rule. For the default action in a `WebACL`,
@@ -6266,6 +7054,11 @@ module Aws::WAF
6266
7054
  # doesn't match all of the conditions in any of the rules in a
6267
7055
  # `WebACL`.
6268
7056
  #
7057
+ #
7058
+ #
7059
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7060
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7061
+ #
6269
7062
  # @note When making an API call, you may pass WafAction
6270
7063
  # data as a hash:
6271
7064
  #
@@ -6295,9 +7088,23 @@ module Aws::WAF
6295
7088
  include Aws::Structure
6296
7089
  end
6297
7090
 
7091
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7092
+ # [AWS WAF Classic][1] in the developer guide.
7093
+ #
7094
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7095
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7096
+ # a single set of endpoints for regional and global use.
7097
+ #
7098
+ # </note>
7099
+ #
6298
7100
  # The action to take if any rule within the `RuleGroup` matches a
6299
7101
  # request.
6300
7102
  #
7103
+ #
7104
+ #
7105
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7106
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7107
+ #
6301
7108
  # @note When making an API call, you may pass WafOverrideAction
6302
7109
  # data as a hash:
6303
7110
  #
@@ -6318,6 +7125,15 @@ module Aws::WAF
6318
7125
  include Aws::Structure
6319
7126
  end
6320
7127
 
7128
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7129
+ # [AWS WAF Classic][1] in the developer guide.
7130
+ #
7131
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7132
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7133
+ # a single set of endpoints for regional and global use.
7134
+ #
7135
+ # </note>
7136
+ #
6321
7137
  # Contains the `Rules` that identify the requests that you want to
6322
7138
  # allow, block, or count. In a `WebACL`, you also specify a default
6323
7139
  # action (`ALLOW` or `BLOCK`), and the action for each `Rule` that you
@@ -6329,6 +7145,11 @@ module Aws::WAF
6329
7145
  # specifications to be allowed, blocked, or counted. For more
6330
7146
  # information, see UpdateWebACL.
6331
7147
  #
7148
+ #
7149
+ #
7150
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7151
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7152
+ #
6332
7153
  # @!attribute [rw] web_acl_id
6333
7154
  # A unique identifier for a `WebACL`. You use `WebACLId` to get
6334
7155
  # information about a `WebACL` (see GetWebACL), update a `WebACL` (see
@@ -6378,8 +7199,22 @@ module Aws::WAF
6378
7199
  include Aws::Structure
6379
7200
  end
6380
7201
 
7202
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7203
+ # [AWS WAF Classic][1] in the developer guide.
7204
+ #
7205
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7206
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7207
+ # a single set of endpoints for regional and global use.
7208
+ #
7209
+ # </note>
7210
+ #
6381
7211
  # Contains the identifier and the name or description of the WebACL.
6382
7212
  #
7213
+ #
7214
+ #
7215
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7216
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7217
+ #
6383
7218
  # @!attribute [rw] web_acl_id
6384
7219
  # A unique identifier for a `WebACL`. You use `WebACLId` to get
6385
7220
  # information about a `WebACL` (see GetWebACL), update a `WebACL` (see
@@ -6402,9 +7237,23 @@ module Aws::WAF
6402
7237
  include Aws::Structure
6403
7238
  end
6404
7239
 
7240
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7241
+ # [AWS WAF Classic][1] in the developer guide.
7242
+ #
7243
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7244
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7245
+ # a single set of endpoints for regional and global use.
7246
+ #
7247
+ # </note>
7248
+ #
6405
7249
  # Specifies whether to insert a `Rule` into or delete a `Rule` from a
6406
7250
  # `WebACL`.
6407
7251
  #
7252
+ #
7253
+ #
7254
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7255
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7256
+ #
6408
7257
  # @note When making an API call, you may pass WebACLUpdate
6409
7258
  # data as a hash:
6410
7259
  #
@@ -6448,6 +7297,15 @@ module Aws::WAF
6448
7297
  include Aws::Structure
6449
7298
  end
6450
7299
 
7300
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7301
+ # [AWS WAF Classic][1] in the developer guide.
7302
+ #
7303
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7304
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7305
+ # a single set of endpoints for regional and global use.
7306
+ #
7307
+ # </note>
7308
+ #
6451
7309
  # A complex type that contains `XssMatchTuple` objects, which specify
6452
7310
  # the parts of web requests that you want AWS WAF to inspect for
6453
7311
  # cross-site scripting attacks and, if you want AWS WAF to inspect a
@@ -6456,6 +7314,11 @@ module Aws::WAF
6456
7314
  # scripting attacks in only one of the specified parts of the request to
6457
7315
  # be considered a match.
6458
7316
  #
7317
+ #
7318
+ #
7319
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7320
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7321
+ #
6459
7322
  # @!attribute [rw] xss_match_set_id
6460
7323
  # A unique identifier for an `XssMatchSet`. You use `XssMatchSetId` to
6461
7324
  # get information about an `XssMatchSet` (see GetXssMatchSet), update
@@ -6485,8 +7348,22 @@ module Aws::WAF
6485
7348
  include Aws::Structure
6486
7349
  end
6487
7350
 
7351
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7352
+ # [AWS WAF Classic][1] in the developer guide.
7353
+ #
7354
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7355
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7356
+ # a single set of endpoints for regional and global use.
7357
+ #
7358
+ # </note>
7359
+ #
6488
7360
  # The `Id` and `Name` of an `XssMatchSet`.
6489
7361
  #
7362
+ #
7363
+ #
7364
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7365
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7366
+ #
6490
7367
  # @!attribute [rw] xss_match_set_id
6491
7368
  # A unique identifier for an `XssMatchSet`. You use `XssMatchSetId` to
6492
7369
  # get information about a `XssMatchSet` (see GetXssMatchSet), update
@@ -6510,10 +7387,24 @@ module Aws::WAF
6510
7387
  include Aws::Structure
6511
7388
  end
6512
7389
 
7390
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7391
+ # [AWS WAF Classic][1] in the developer guide.
7392
+ #
7393
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7394
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7395
+ # a single set of endpoints for regional and global use.
7396
+ #
7397
+ # </note>
7398
+ #
6513
7399
  # Specifies the part of a web request that you want to inspect for
6514
7400
  # cross-site scripting attacks and indicates whether you want to add the
6515
7401
  # specification to an XssMatchSet or delete it from an `XssMatchSet`.
6516
7402
  #
7403
+ #
7404
+ #
7405
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7406
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7407
+ #
6517
7408
  # @note When making an API call, you may pass XssMatchSetUpdate
6518
7409
  # data as a hash:
6519
7410
  #
@@ -6547,10 +7438,24 @@ module Aws::WAF
6547
7438
  include Aws::Structure
6548
7439
  end
6549
7440
 
7441
+ # <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
7442
+ # [AWS WAF Classic][1] in the developer guide.
7443
+ #
7444
+ # **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
7445
+ # the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
7446
+ # a single set of endpoints for regional and global use.
7447
+ #
7448
+ # </note>
7449
+ #
6550
7450
  # Specifies the part of a web request that you want AWS WAF to inspect
6551
7451
  # for cross-site scripting attacks and, if you want AWS WAF to inspect a
6552
7452
  # header, the name of the header.
6553
7453
  #
7454
+ #
7455
+ #
7456
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
7457
+ # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
7458
+ #
6554
7459
  # @note When making an API call, you may pass XssMatchTuple
6555
7460
  # data as a hash:
6556
7461
  #
@@ -6571,7 +7476,7 @@ module Aws::WAF
6571
7476
  # Text transformations eliminate some of the unusual formatting that
6572
7477
  # attackers use in web requests in an effort to bypass AWS WAF. If you
6573
7478
  # specify a transformation, AWS WAF performs the transformation on
6574
- # `FieldToMatch` before inspecting a request for a match.
7479
+ # `FieldToMatch` before inspecting it for a match.
6575
7480
  #
6576
7481
  # You can only specify a single type of TextTransformation.
6577
7482
  #