aws-sdk-wafregional 1.28.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-wafregional.rb +1 -1
- data/lib/aws-sdk-wafregional/client.rb +1236 -94
- data/lib/aws-sdk-wafregional/client_api.rb +36 -2
- data/lib/aws-sdk-wafregional/errors.rb +26 -0
- data/lib/aws-sdk-wafregional/resource.rb +1 -7
- data/lib/aws-sdk-wafregional/types.rb +928 -30
- metadata +3 -3
@@ -49,6 +49,8 @@ module Aws::WAFRegional
|
|
49
49
|
CreateSizeConstraintSetResponse = Shapes::StructureShape.new(name: 'CreateSizeConstraintSetResponse')
|
50
50
|
CreateSqlInjectionMatchSetRequest = Shapes::StructureShape.new(name: 'CreateSqlInjectionMatchSetRequest')
|
51
51
|
CreateSqlInjectionMatchSetResponse = Shapes::StructureShape.new(name: 'CreateSqlInjectionMatchSetResponse')
|
52
|
+
CreateWebACLMigrationStackRequest = Shapes::StructureShape.new(name: 'CreateWebACLMigrationStackRequest')
|
53
|
+
CreateWebACLMigrationStackResponse = Shapes::StructureShape.new(name: 'CreateWebACLMigrationStackResponse')
|
52
54
|
CreateWebACLRequest = Shapes::StructureShape.new(name: 'CreateWebACLRequest')
|
53
55
|
CreateWebACLResponse = Shapes::StructureShape.new(name: 'CreateWebACLResponse')
|
54
56
|
CreateXssMatchSetRequest = Shapes::StructureShape.new(name: 'CreateXssMatchSetRequest')
|
@@ -83,6 +85,7 @@ module Aws::WAFRegional
|
|
83
85
|
DeleteXssMatchSetResponse = Shapes::StructureShape.new(name: 'DeleteXssMatchSetResponse')
|
84
86
|
DisassociateWebACLRequest = Shapes::StructureShape.new(name: 'DisassociateWebACLRequest')
|
85
87
|
DisassociateWebACLResponse = Shapes::StructureShape.new(name: 'DisassociateWebACLResponse')
|
88
|
+
ErrorReason = Shapes::StringShape.new(name: 'ErrorReason')
|
86
89
|
ExcludedRule = Shapes::StructureShape.new(name: 'ExcludedRule')
|
87
90
|
ExcludedRules = Shapes::ListShape.new(name: 'ExcludedRules')
|
88
91
|
FieldToMatch = Shapes::StructureShape.new(name: 'FieldToMatch')
|
@@ -151,6 +154,7 @@ module Aws::WAFRegional
|
|
151
154
|
IPSetUpdate = Shapes::StructureShape.new(name: 'IPSetUpdate')
|
152
155
|
IPSetUpdates = Shapes::ListShape.new(name: 'IPSetUpdates')
|
153
156
|
IPString = Shapes::StringShape.new(name: 'IPString')
|
157
|
+
IgnoreUnsupportedType = Shapes::BooleanShape.new(name: 'IgnoreUnsupportedType')
|
154
158
|
ListActivatedRulesInRuleGroupRequest = Shapes::StructureShape.new(name: 'ListActivatedRulesInRuleGroupRequest')
|
155
159
|
ListActivatedRulesInRuleGroupResponse = Shapes::StructureShape.new(name: 'ListActivatedRulesInRuleGroupResponse')
|
156
160
|
ListByteMatchSetsRequest = Shapes::StructureShape.new(name: 'ListByteMatchSetsRequest')
|
@@ -193,6 +197,7 @@ module Aws::WAFRegional
|
|
193
197
|
MatchFieldData = Shapes::StringShape.new(name: 'MatchFieldData')
|
194
198
|
MatchFieldType = Shapes::StringShape.new(name: 'MatchFieldType')
|
195
199
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
200
|
+
MigrationErrorType = Shapes::StringShape.new(name: 'MigrationErrorType')
|
196
201
|
Negated = Shapes::BooleanShape.new(name: 'Negated')
|
197
202
|
NextMarker = Shapes::StringShape.new(name: 'NextMarker')
|
198
203
|
PaginationLimit = Shapes::IntegerShape.new(name: 'PaginationLimit')
|
@@ -243,6 +248,8 @@ module Aws::WAFRegional
|
|
243
248
|
RuleSummary = Shapes::StructureShape.new(name: 'RuleSummary')
|
244
249
|
RuleUpdate = Shapes::StructureShape.new(name: 'RuleUpdate')
|
245
250
|
RuleUpdates = Shapes::ListShape.new(name: 'RuleUpdates')
|
251
|
+
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
252
|
+
S3ObjectUrl = Shapes::StringShape.new(name: 'S3ObjectUrl')
|
246
253
|
SampleWeight = Shapes::IntegerShape.new(name: 'SampleWeight')
|
247
254
|
SampledHTTPRequest = Shapes::StructureShape.new(name: 'SampledHTTPRequest')
|
248
255
|
SampledHTTPRequests = Shapes::ListShape.new(name: 'SampledHTTPRequests')
|
@@ -303,6 +310,7 @@ module Aws::WAFRegional
|
|
303
310
|
UpdateXssMatchSetResponse = Shapes::StructureShape.new(name: 'UpdateXssMatchSetResponse')
|
304
311
|
WAFBadRequestException = Shapes::StructureShape.new(name: 'WAFBadRequestException')
|
305
312
|
WAFDisallowedNameException = Shapes::StructureShape.new(name: 'WAFDisallowedNameException')
|
313
|
+
WAFEntityMigrationException = Shapes::StructureShape.new(name: 'WAFEntityMigrationException')
|
306
314
|
WAFInternalErrorException = Shapes::StructureShape.new(name: 'WAFInternalErrorException')
|
307
315
|
WAFInvalidAccountException = Shapes::StructureShape.new(name: 'WAFInvalidAccountException')
|
308
316
|
WAFInvalidOperationException = Shapes::StructureShape.new(name: 'WAFInvalidOperationException')
|
@@ -468,6 +476,14 @@ module Aws::WAFRegional
|
|
468
476
|
CreateSqlInjectionMatchSetResponse.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, location_name: "ChangeToken"))
|
469
477
|
CreateSqlInjectionMatchSetResponse.struct_class = Types::CreateSqlInjectionMatchSetResponse
|
470
478
|
|
479
|
+
CreateWebACLMigrationStackRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "WebACLId"))
|
480
|
+
CreateWebACLMigrationStackRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "S3BucketName"))
|
481
|
+
CreateWebACLMigrationStackRequest.add_member(:ignore_unsupported_type, Shapes::ShapeRef.new(shape: IgnoreUnsupportedType, required: true, location_name: "IgnoreUnsupportedType"))
|
482
|
+
CreateWebACLMigrationStackRequest.struct_class = Types::CreateWebACLMigrationStackRequest
|
483
|
+
|
484
|
+
CreateWebACLMigrationStackResponse.add_member(:s3_object_url, Shapes::ShapeRef.new(shape: S3ObjectUrl, required: true, location_name: "S3ObjectUrl"))
|
485
|
+
CreateWebACLMigrationStackResponse.struct_class = Types::CreateWebACLMigrationStackResponse
|
486
|
+
|
471
487
|
CreateWebACLRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
|
472
488
|
CreateWebACLRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
473
489
|
CreateWebACLRequest.add_member(:default_action, Shapes::ShapeRef.new(shape: WafAction, required: true, location_name: "DefaultAction"))
|
@@ -1096,8 +1112,8 @@ module Aws::WAFRegional
|
|
1096
1112
|
SubscribedRuleGroupSummary.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
1097
1113
|
SubscribedRuleGroupSummary.struct_class = Types::SubscribedRuleGroupSummary
|
1098
1114
|
|
1099
|
-
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
1100
|
-
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
1115
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
1116
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
1101
1117
|
Tag.struct_class = Types::Tag
|
1102
1118
|
|
1103
1119
|
TagInfoForResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceARN"))
|
@@ -1228,6 +1244,11 @@ module Aws::WAFRegional
|
|
1228
1244
|
WAFDisallowedNameException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1229
1245
|
WAFDisallowedNameException.struct_class = Types::WAFDisallowedNameException
|
1230
1246
|
|
1247
|
+
WAFEntityMigrationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1248
|
+
WAFEntityMigrationException.add_member(:migration_error_type, Shapes::ShapeRef.new(shape: MigrationErrorType, location_name: "MigrationErrorType"))
|
1249
|
+
WAFEntityMigrationException.add_member(:migration_error_reason, Shapes::ShapeRef.new(shape: ErrorReason, location_name: "MigrationErrorReason"))
|
1250
|
+
WAFEntityMigrationException.struct_class = Types::WAFEntityMigrationException
|
1251
|
+
|
1231
1252
|
WAFInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1232
1253
|
WAFInternalErrorException.struct_class = Types::WAFInternalErrorException
|
1233
1254
|
|
@@ -1519,6 +1540,19 @@ module Aws::WAFRegional
|
|
1519
1540
|
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1520
1541
|
end)
|
1521
1542
|
|
1543
|
+
api.add_operation(:create_web_acl_migration_stack, Seahorse::Model::Operation.new.tap do |o|
|
1544
|
+
o.name = "CreateWebACLMigrationStack"
|
1545
|
+
o.http_method = "POST"
|
1546
|
+
o.http_request_uri = "/"
|
1547
|
+
o.input = Shapes::ShapeRef.new(shape: CreateWebACLMigrationStackRequest)
|
1548
|
+
o.output = Shapes::ShapeRef.new(shape: CreateWebACLMigrationStackResponse)
|
1549
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1550
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1551
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1552
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1553
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFEntityMigrationException)
|
1554
|
+
end)
|
1555
|
+
|
1522
1556
|
api.add_operation(:create_xss_match_set, Seahorse::Model::Operation.new.tap do |o|
|
1523
1557
|
o.name = "CreateXssMatchSet"
|
1524
1558
|
o.http_method = "POST"
|
@@ -27,6 +27,7 @@ module Aws::WAFRegional
|
|
27
27
|
# ## Error Classes
|
28
28
|
# * {WAFBadRequestException}
|
29
29
|
# * {WAFDisallowedNameException}
|
30
|
+
# * {WAFEntityMigrationException}
|
30
31
|
# * {WAFInternalErrorException}
|
31
32
|
# * {WAFInvalidAccountException}
|
32
33
|
# * {WAFInvalidOperationException}
|
@@ -81,6 +82,31 @@ module Aws::WAFRegional
|
|
81
82
|
end
|
82
83
|
end
|
83
84
|
|
85
|
+
class WAFEntityMigrationException < ServiceError
|
86
|
+
|
87
|
+
# @param [Seahorse::Client::RequestContext] context
|
88
|
+
# @param [String] message
|
89
|
+
# @param [Aws::WAFRegional::Types::WAFEntityMigrationException] data
|
90
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
91
|
+
super(context, message, data)
|
92
|
+
end
|
93
|
+
|
94
|
+
# @return [String]
|
95
|
+
def message
|
96
|
+
@message || @data[:message]
|
97
|
+
end
|
98
|
+
|
99
|
+
# @return [String]
|
100
|
+
def migration_error_type
|
101
|
+
@data[:migration_error_type]
|
102
|
+
end
|
103
|
+
|
104
|
+
# @return [String]
|
105
|
+
def migration_error_reason
|
106
|
+
@data[:migration_error_reason]
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
84
110
|
class WAFInternalErrorException < ServiceError
|
85
111
|
|
86
112
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::WAFRegional
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::WAFRegional::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::WAFRegional::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::WAFRegional::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -8,6 +8,15 @@
|
|
8
8
|
module Aws::WAFRegional
|
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::WAFRegional
|
|
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
|
#
|
@@ -199,6 +213,15 @@ module Aws::WAFRegional
|
|
199
213
|
#
|
200
214
|
class AssociateWebACLResponse < Aws::EmptyStructure; end
|
201
215
|
|
216
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
217
|
+
# [AWS WAF Classic][1] in the developer guide.
|
218
|
+
#
|
219
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
220
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
221
|
+
# a single set of endpoints for regional and global use.
|
222
|
+
#
|
223
|
+
# </note>
|
224
|
+
#
|
202
225
|
# In a GetByteMatchSet request, `ByteMatchSet` is a complex type that
|
203
226
|
# contains the `ByteMatchSetId` and `Name` of a `ByteMatchSet`, and the
|
204
227
|
# values that you specified when you updated the `ByteMatchSet`.
|
@@ -210,6 +233,11 @@ module Aws::WAFRegional
|
|
210
233
|
# match the settings in only one `ByteMatchTuple` to be considered a
|
211
234
|
# match.
|
212
235
|
#
|
236
|
+
#
|
237
|
+
#
|
238
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
239
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
240
|
+
#
|
213
241
|
# @!attribute [rw] byte_match_set_id
|
214
242
|
# The `ByteMatchSetId` for a `ByteMatchSet`. You use `ByteMatchSetId`
|
215
243
|
# to get information about a `ByteMatchSet` (see GetByteMatchSet),
|
@@ -243,9 +271,23 @@ module Aws::WAFRegional
|
|
243
271
|
include Aws::Structure
|
244
272
|
end
|
245
273
|
|
274
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
275
|
+
# [AWS WAF Classic][1] in the developer guide.
|
276
|
+
#
|
277
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
278
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
279
|
+
# a single set of endpoints for regional and global use.
|
280
|
+
#
|
281
|
+
# </note>
|
282
|
+
#
|
246
283
|
# Returned by ListByteMatchSets. Each `ByteMatchSetSummary` object
|
247
284
|
# includes the `Name` and `ByteMatchSetId` for one ByteMatchSet.
|
248
285
|
#
|
286
|
+
#
|
287
|
+
#
|
288
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
289
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
290
|
+
#
|
249
291
|
# @!attribute [rw] byte_match_set_id
|
250
292
|
# The `ByteMatchSetId` for a `ByteMatchSet`. You use `ByteMatchSetId`
|
251
293
|
# to get information about a `ByteMatchSet`, update a `ByteMatchSet`,
|
@@ -269,10 +311,24 @@ module Aws::WAFRegional
|
|
269
311
|
include Aws::Structure
|
270
312
|
end
|
271
313
|
|
314
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
315
|
+
# [AWS WAF Classic][1] in the developer guide.
|
316
|
+
#
|
317
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
318
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
319
|
+
# a single set of endpoints for regional and global use.
|
320
|
+
#
|
321
|
+
# </note>
|
322
|
+
#
|
272
323
|
# In an UpdateByteMatchSet request, `ByteMatchSetUpdate` specifies
|
273
324
|
# whether to insert or delete a ByteMatchTuple and includes the settings
|
274
325
|
# for the `ByteMatchTuple`.
|
275
326
|
#
|
327
|
+
#
|
328
|
+
#
|
329
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
330
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
331
|
+
#
|
276
332
|
# @note When making an API call, you may pass ByteMatchSetUpdate
|
277
333
|
# data as a hash:
|
278
334
|
#
|
@@ -309,10 +365,24 @@ module Aws::WAFRegional
|
|
309
365
|
include Aws::Structure
|
310
366
|
end
|
311
367
|
|
368
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
369
|
+
# [AWS WAF Classic][1] in the developer guide.
|
370
|
+
#
|
371
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
372
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
373
|
+
# a single set of endpoints for regional and global use.
|
374
|
+
#
|
375
|
+
# </note>
|
376
|
+
#
|
312
377
|
# The bytes (typically a string that corresponds with ASCII characters)
|
313
378
|
# that you want AWS WAF to search for in web requests, the location in
|
314
379
|
# requests that you want AWS WAF to search, and other settings.
|
315
380
|
#
|
381
|
+
#
|
382
|
+
#
|
383
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
384
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
385
|
+
#
|
316
386
|
# @note When making an API call, you may pass ByteMatchTuple
|
317
387
|
# data as a hash:
|
318
388
|
#
|
@@ -399,7 +469,7 @@ module Aws::WAFRegional
|
|
399
469
|
# Text transformations eliminate some of the unusual formatting that
|
400
470
|
# attackers use in web requests in an effort to bypass AWS WAF. If you
|
401
471
|
# specify a transformation, AWS WAF performs the transformation on
|
402
|
-
# `
|
472
|
+
# `FieldToMatch` before inspecting it for a match.
|
403
473
|
#
|
404
474
|
# You can only specify a single type of TextTransformation.
|
405
475
|
#
|
@@ -673,8 +743,8 @@ module Aws::WAFRegional
|
|
673
743
|
# change_token: "ChangeToken", # required
|
674
744
|
# tags: [
|
675
745
|
# {
|
676
|
-
# key: "TagKey",
|
677
|
-
# value: "TagValue",
|
746
|
+
# key: "TagKey", # required
|
747
|
+
# value: "TagValue", # required
|
678
748
|
# },
|
679
749
|
# ],
|
680
750
|
# }
|
@@ -845,8 +915,8 @@ module Aws::WAFRegional
|
|
845
915
|
# change_token: "ChangeToken", # required
|
846
916
|
# tags: [
|
847
917
|
# {
|
848
|
-
# key: "TagKey",
|
849
|
-
# value: "TagValue",
|
918
|
+
# key: "TagKey", # required
|
919
|
+
# value: "TagValue", # required
|
850
920
|
# },
|
851
921
|
# ],
|
852
922
|
# }
|
@@ -909,8 +979,8 @@ module Aws::WAFRegional
|
|
909
979
|
# change_token: "ChangeToken", # required
|
910
980
|
# tags: [
|
911
981
|
# {
|
912
|
-
# key: "TagKey",
|
913
|
-
# value: "TagValue",
|
982
|
+
# key: "TagKey", # required
|
983
|
+
# value: "TagValue", # required
|
914
984
|
# },
|
915
985
|
# ],
|
916
986
|
# }
|
@@ -1057,6 +1127,66 @@ module Aws::WAFRegional
|
|
1057
1127
|
include Aws::Structure
|
1058
1128
|
end
|
1059
1129
|
|
1130
|
+
# @note When making an API call, you may pass CreateWebACLMigrationStackRequest
|
1131
|
+
# data as a hash:
|
1132
|
+
#
|
1133
|
+
# {
|
1134
|
+
# web_acl_id: "ResourceId", # required
|
1135
|
+
# s3_bucket_name: "S3BucketName", # required
|
1136
|
+
# ignore_unsupported_type: false, # required
|
1137
|
+
# }
|
1138
|
+
#
|
1139
|
+
# @!attribute [rw] web_acl_id
|
1140
|
+
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1141
|
+
# v2.
|
1142
|
+
# @return [String]
|
1143
|
+
#
|
1144
|
+
# @!attribute [rw] s3_bucket_name
|
1145
|
+
# The name of the Amazon S3 bucket to store the CloudFormation
|
1146
|
+
# template in. The S3 bucket must be configured as follows for the
|
1147
|
+
# migration:
|
1148
|
+
#
|
1149
|
+
# * The bucket name must start with `aws-waf-migration-`. For example,
|
1150
|
+
# `aws-waf-migration-my-web-acl`.
|
1151
|
+
#
|
1152
|
+
# * The bucket must be in the Region where you are deploying the
|
1153
|
+
# template. For example, for a web ACL in us-west-2, you must use an
|
1154
|
+
# Amazon S3 bucket in us-west-2 and you must deploy the template
|
1155
|
+
# stack to us-west-2.
|
1156
|
+
#
|
1157
|
+
# * The bucket policies must permit the migration process to write
|
1158
|
+
# data. For listings of the bucket policies, see the Examples
|
1159
|
+
# section.
|
1160
|
+
# @return [String]
|
1161
|
+
#
|
1162
|
+
# @!attribute [rw] ignore_unsupported_type
|
1163
|
+
# Indicates whether to exclude entities that can't be migrated or to
|
1164
|
+
# stop the migration. Set this to true to ignore unsupported entities
|
1165
|
+
# in the web ACL during the migration. Otherwise, if AWS WAF
|
1166
|
+
# encounters unsupported entities, it stops the process and throws an
|
1167
|
+
# exception.
|
1168
|
+
# @return [Boolean]
|
1169
|
+
#
|
1170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStackRequest AWS API Documentation
|
1171
|
+
#
|
1172
|
+
class CreateWebACLMigrationStackRequest < Struct.new(
|
1173
|
+
:web_acl_id,
|
1174
|
+
:s3_bucket_name,
|
1175
|
+
:ignore_unsupported_type)
|
1176
|
+
include Aws::Structure
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# @!attribute [rw] s3_object_url
|
1180
|
+
# The URL of the template created in Amazon S3.
|
1181
|
+
# @return [String]
|
1182
|
+
#
|
1183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStackResponse AWS API Documentation
|
1184
|
+
#
|
1185
|
+
class CreateWebACLMigrationStackResponse < Struct.new(
|
1186
|
+
:s3_object_url)
|
1187
|
+
include Aws::Structure
|
1188
|
+
end
|
1189
|
+
|
1060
1190
|
# @note When making an API call, you may pass CreateWebACLRequest
|
1061
1191
|
# data as a hash:
|
1062
1192
|
#
|
@@ -1069,8 +1199,8 @@ module Aws::WAFRegional
|
|
1069
1199
|
# change_token: "ChangeToken", # required
|
1070
1200
|
# tags: [
|
1071
1201
|
# {
|
1072
|
-
# key: "TagKey",
|
1073
|
-
# value: "TagValue",
|
1202
|
+
# key: "TagKey", # required
|
1203
|
+
# value: "TagValue", # required
|
1074
1204
|
# },
|
1075
1205
|
# ],
|
1076
1206
|
# }
|
@@ -1735,10 +1865,24 @@ module Aws::WAFRegional
|
|
1735
1865
|
#
|
1736
1866
|
class DisassociateWebACLResponse < Aws::EmptyStructure; end
|
1737
1867
|
|
1868
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1869
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1870
|
+
#
|
1871
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1872
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1873
|
+
# a single set of endpoints for regional and global use.
|
1874
|
+
#
|
1875
|
+
# </note>
|
1876
|
+
#
|
1738
1877
|
# The rule to exclude from a rule group. This is applicable only when
|
1739
1878
|
# the `ActivatedRule` refers to a `RuleGroup`. The rule must belong to
|
1740
1879
|
# the `RuleGroup` that is specified by the `ActivatedRule`.
|
1741
1880
|
#
|
1881
|
+
#
|
1882
|
+
#
|
1883
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1884
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1885
|
+
#
|
1742
1886
|
# @note When making an API call, you may pass ExcludedRule
|
1743
1887
|
# data as a hash:
|
1744
1888
|
#
|
@@ -1757,8 +1901,22 @@ module Aws::WAFRegional
|
|
1757
1901
|
include Aws::Structure
|
1758
1902
|
end
|
1759
1903
|
|
1904
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1905
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1906
|
+
#
|
1907
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1908
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1909
|
+
# a single set of endpoints for regional and global use.
|
1910
|
+
#
|
1911
|
+
# </note>
|
1912
|
+
#
|
1760
1913
|
# Specifies where in a web request to look for `TargetString`.
|
1761
1914
|
#
|
1915
|
+
#
|
1916
|
+
#
|
1917
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1918
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1919
|
+
#
|
1762
1920
|
# @note When making an API call, you may pass FieldToMatch
|
1763
1921
|
# data as a hash:
|
1764
1922
|
#
|
@@ -1827,9 +1985,23 @@ module Aws::WAFRegional
|
|
1827
1985
|
include Aws::Structure
|
1828
1986
|
end
|
1829
1987
|
|
1988
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1989
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1990
|
+
#
|
1991
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1992
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1993
|
+
# a single set of endpoints for regional and global use.
|
1994
|
+
#
|
1995
|
+
# </note>
|
1996
|
+
#
|
1830
1997
|
# The country from which web requests originate that you want AWS WAF to
|
1831
1998
|
# search for.
|
1832
1999
|
#
|
2000
|
+
#
|
2001
|
+
#
|
2002
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2003
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2004
|
+
#
|
1833
2005
|
# @note When making an API call, you may pass GeoMatchConstraint
|
1834
2006
|
# data as a hash:
|
1835
2007
|
#
|
@@ -1855,8 +2027,22 @@ module Aws::WAFRegional
|
|
1855
2027
|
include Aws::Structure
|
1856
2028
|
end
|
1857
2029
|
|
2030
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2031
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2032
|
+
#
|
2033
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2034
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2035
|
+
# a single set of endpoints for regional and global use.
|
2036
|
+
#
|
2037
|
+
# </note>
|
2038
|
+
#
|
1858
2039
|
# Contains one or more countries that AWS WAF will search for.
|
1859
2040
|
#
|
2041
|
+
#
|
2042
|
+
#
|
2043
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2044
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2045
|
+
#
|
1860
2046
|
# @!attribute [rw] geo_match_set_id
|
1861
2047
|
# The `GeoMatchSetId` for an `GeoMatchSet`. You use `GeoMatchSetId` to
|
1862
2048
|
# get information about a `GeoMatchSet` (see GeoMatchSet), update a
|
@@ -1887,8 +2073,22 @@ module Aws::WAFRegional
|
|
1887
2073
|
include Aws::Structure
|
1888
2074
|
end
|
1889
2075
|
|
2076
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2077
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2078
|
+
#
|
2079
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2080
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2081
|
+
# a single set of endpoints for regional and global use.
|
2082
|
+
#
|
2083
|
+
# </note>
|
2084
|
+
#
|
1890
2085
|
# Contains the identifier and the name of the `GeoMatchSet`.
|
1891
2086
|
#
|
2087
|
+
#
|
2088
|
+
#
|
2089
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2090
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2091
|
+
#
|
1892
2092
|
# @!attribute [rw] geo_match_set_id
|
1893
2093
|
# The `GeoMatchSetId` for an GeoMatchSet. You can use `GeoMatchSetId`
|
1894
2094
|
# in a GetGeoMatchSet request to get detailed information about an
|
@@ -1908,9 +2108,23 @@ module Aws::WAFRegional
|
|
1908
2108
|
include Aws::Structure
|
1909
2109
|
end
|
1910
2110
|
|
2111
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2112
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2113
|
+
#
|
2114
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2115
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2116
|
+
# a single set of endpoints for regional and global use.
|
2117
|
+
#
|
2118
|
+
# </note>
|
2119
|
+
#
|
1911
2120
|
# Specifies the type of update to perform to an GeoMatchSet with
|
1912
2121
|
# UpdateGeoMatchSet.
|
1913
2122
|
#
|
2123
|
+
#
|
2124
|
+
#
|
2125
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2126
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2127
|
+
#
|
1914
2128
|
# @note When making an API call, you may pass GeoMatchSetUpdate
|
1915
2129
|
# data as a hash:
|
1916
2130
|
#
|
@@ -2404,9 +2618,10 @@ module Aws::WAFRegional
|
|
2404
2618
|
# @!attribute [rw] time_window
|
2405
2619
|
# The start date and time and the end date and time of the range for
|
2406
2620
|
# which you want `GetSampledRequests` to return a sample of requests.
|
2407
|
-
#
|
2408
|
-
#
|
2409
|
-
#
|
2621
|
+
# You must specify the times in Coordinated Universal Time (UTC)
|
2622
|
+
# format. UTC format includes the special designator, `Z`. For
|
2623
|
+
# example, `"2016-09-27T14:50Z"`. You can specify any time range in
|
2624
|
+
# the previous three hours.
|
2410
2625
|
# @return [Types::TimeWindow]
|
2411
2626
|
#
|
2412
2627
|
# @!attribute [rw] max_items
|
@@ -2444,7 +2659,8 @@ module Aws::WAFRegional
|
|
2444
2659
|
# `GetSampledRequests` request. However, if your AWS resource received
|
2445
2660
|
# more than 5,000 requests during the time range that you specified in
|
2446
2661
|
# the request, `GetSampledRequests` returns the time range for the
|
2447
|
-
# first 5,000 requests.
|
2662
|
+
# first 5,000 requests. Times are in Coordinated Universal Time (UTC)
|
2663
|
+
# format.
|
2448
2664
|
# @return [Types::TimeWindow]
|
2449
2665
|
#
|
2450
2666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequestsResponse AWS API Documentation
|
@@ -2671,12 +2887,26 @@ module Aws::WAFRegional
|
|
2671
2887
|
include Aws::Structure
|
2672
2888
|
end
|
2673
2889
|
|
2890
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2891
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2892
|
+
#
|
2893
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2894
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2895
|
+
# a single set of endpoints for regional and global use.
|
2896
|
+
#
|
2897
|
+
# </note>
|
2898
|
+
#
|
2674
2899
|
# The response from a GetSampledRequests request includes an
|
2675
2900
|
# `HTTPHeader` complex type that appears as `Headers` in the response
|
2676
2901
|
# syntax. `HTTPHeader` contains the names and values of all of the
|
2677
2902
|
# headers that appear in one of the web requests that were returned by
|
2678
2903
|
# `GetSampledRequests`.
|
2679
2904
|
#
|
2905
|
+
#
|
2906
|
+
#
|
2907
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2908
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2909
|
+
#
|
2680
2910
|
# @!attribute [rw] name
|
2681
2911
|
# The name of one of the headers in the sampled web request.
|
2682
2912
|
# @return [String]
|
@@ -2693,11 +2923,25 @@ module Aws::WAFRegional
|
|
2693
2923
|
include Aws::Structure
|
2694
2924
|
end
|
2695
2925
|
|
2926
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2927
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2928
|
+
#
|
2929
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2930
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2931
|
+
# a single set of endpoints for regional and global use.
|
2932
|
+
#
|
2933
|
+
# </note>
|
2934
|
+
#
|
2696
2935
|
# The response from a GetSampledRequests request includes an
|
2697
2936
|
# `HTTPRequest` complex type that appears as `Request` in the response
|
2698
2937
|
# syntax. `HTTPRequest` contains information about one of the web
|
2699
2938
|
# requests that were returned by `GetSampledRequests`.
|
2700
2939
|
#
|
2940
|
+
#
|
2941
|
+
#
|
2942
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2943
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2944
|
+
#
|
2701
2945
|
# @!attribute [rw] client_ip
|
2702
2946
|
# The IP address that the request originated from. If the `WebACL` is
|
2703
2947
|
# associated with a CloudFront distribution, this is the value of one
|
@@ -2754,6 +2998,15 @@ module Aws::WAFRegional
|
|
2754
2998
|
include Aws::Structure
|
2755
2999
|
end
|
2756
3000
|
|
3001
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3002
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3003
|
+
#
|
3004
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3005
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3006
|
+
# a single set of endpoints for regional and global use.
|
3007
|
+
#
|
3008
|
+
# </note>
|
3009
|
+
#
|
2757
3010
|
# Contains one or more IP addresses or blocks of IP addresses specified
|
2758
3011
|
# in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports
|
2759
3012
|
# IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF
|
@@ -2764,11 +3017,13 @@ module Aws::WAFRegional
|
|
2764
3017
|
# range of IP addresses, you can specify /8 or any range between /16
|
2765
3018
|
# through /32 (for IPv4) or /24, /32, /48, /56, /64, or /128 (for IPv6).
|
2766
3019
|
# For more information about CIDR notation, see the Wikipedia entry
|
2767
|
-
# [Classless Inter-Domain Routing][
|
3020
|
+
# [Classless Inter-Domain Routing][3].
|
2768
3021
|
#
|
2769
3022
|
#
|
2770
3023
|
#
|
2771
|
-
# [1]: https://
|
3024
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3025
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3026
|
+
# [3]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
2772
3027
|
#
|
2773
3028
|
# @!attribute [rw] ip_set_id
|
2774
3029
|
# The `IPSetId` for an `IPSet`. You use `IPSetId` to get information
|
@@ -2802,9 +3057,23 @@ module Aws::WAFRegional
|
|
2802
3057
|
include Aws::Structure
|
2803
3058
|
end
|
2804
3059
|
|
3060
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3061
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3062
|
+
#
|
3063
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3064
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3065
|
+
# a single set of endpoints for regional and global use.
|
3066
|
+
#
|
3067
|
+
# </note>
|
3068
|
+
#
|
2805
3069
|
# Specifies the IP address type (`IPV4` or `IPV6`) and the IP address
|
2806
3070
|
# range (in CIDR format) that web requests originate from.
|
2807
3071
|
#
|
3072
|
+
#
|
3073
|
+
#
|
3074
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3075
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3076
|
+
#
|
2808
3077
|
# @note When making an API call, you may pass IPSetDescriptor
|
2809
3078
|
# data as a hash:
|
2810
3079
|
#
|
@@ -2857,8 +3126,22 @@ module Aws::WAFRegional
|
|
2857
3126
|
include Aws::Structure
|
2858
3127
|
end
|
2859
3128
|
|
3129
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3130
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3131
|
+
#
|
3132
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3133
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3134
|
+
# a single set of endpoints for regional and global use.
|
3135
|
+
#
|
3136
|
+
# </note>
|
3137
|
+
#
|
2860
3138
|
# Contains the identifier and the name of the `IPSet`.
|
2861
3139
|
#
|
3140
|
+
#
|
3141
|
+
#
|
3142
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3143
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3144
|
+
#
|
2862
3145
|
# @!attribute [rw] ip_set_id
|
2863
3146
|
# The `IPSetId` for an IPSet. You can use `IPSetId` in a GetIPSet
|
2864
3147
|
# request to get detailed information about an IPSet.
|
@@ -2877,8 +3160,22 @@ module Aws::WAFRegional
|
|
2877
3160
|
include Aws::Structure
|
2878
3161
|
end
|
2879
3162
|
|
3163
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3164
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3165
|
+
#
|
3166
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3167
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3168
|
+
# a single set of endpoints for regional and global use.
|
3169
|
+
#
|
3170
|
+
# </note>
|
3171
|
+
#
|
2880
3172
|
# Specifies the type of update to perform to an IPSet with UpdateIPSet.
|
2881
3173
|
#
|
3174
|
+
#
|
3175
|
+
#
|
3176
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3177
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3178
|
+
#
|
2882
3179
|
# @note When making an API call, you may pass IPSetUpdate
|
2883
3180
|
# data as a hash:
|
2884
3181
|
#
|
@@ -3808,9 +4105,23 @@ module Aws::WAFRegional
|
|
3808
4105
|
include Aws::Structure
|
3809
4106
|
end
|
3810
4107
|
|
4108
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4109
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4110
|
+
#
|
4111
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4112
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4113
|
+
# a single set of endpoints for regional and global use.
|
4114
|
+
#
|
4115
|
+
# </note>
|
4116
|
+
#
|
3811
4117
|
# The Amazon Kinesis Data Firehose, `RedactedFields` information, and
|
3812
4118
|
# the web ACL Amazon Resource Name (ARN).
|
3813
4119
|
#
|
4120
|
+
#
|
4121
|
+
#
|
4122
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4123
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4124
|
+
#
|
3814
4125
|
# @note When making an API call, you may pass LoggingConfiguration
|
3815
4126
|
# data as a hash:
|
3816
4127
|
#
|
@@ -3849,12 +4160,26 @@ module Aws::WAFRegional
|
|
3849
4160
|
include Aws::Structure
|
3850
4161
|
end
|
3851
4162
|
|
4163
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4164
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4165
|
+
#
|
4166
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4167
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4168
|
+
# a single set of endpoints for regional and global use.
|
4169
|
+
#
|
4170
|
+
# </note>
|
4171
|
+
#
|
3852
4172
|
# Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
|
3853
4173
|
# RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you
|
3854
4174
|
# want to add to a `Rule` and, for each object, indicates whether you
|
3855
4175
|
# want to negate the settings, for example, requests that do NOT
|
3856
4176
|
# originate from the IP address 192.0.2.44.
|
3857
4177
|
#
|
4178
|
+
#
|
4179
|
+
#
|
4180
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4181
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4182
|
+
#
|
3858
4183
|
# @note When making an API call, you may pass Predicate
|
3859
4184
|
# data as a hash:
|
3860
4185
|
#
|
@@ -3973,6 +4298,15 @@ module Aws::WAFRegional
|
|
3973
4298
|
#
|
3974
4299
|
class PutPermissionPolicyResponse < Aws::EmptyStructure; end
|
3975
4300
|
|
4301
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4302
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4303
|
+
#
|
4304
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4305
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4306
|
+
# a single set of endpoints for regional and global use.
|
4307
|
+
#
|
4308
|
+
# </note>
|
4309
|
+
#
|
3976
4310
|
# A `RateBasedRule` is identical to a regular Rule, with one addition: a
|
3977
4311
|
# `RateBasedRule` counts the number of requests that arrive from a
|
3978
4312
|
# specified IP address every five minutes. For example, based on recent
|
@@ -3983,12 +4317,17 @@ module Aws::WAFRegional
|
|
3983
4317
|
#
|
3984
4318
|
# * They contain the value `BadBot` in the `User-Agent` header.
|
3985
4319
|
#
|
3986
|
-
# In the rule, you also define the rate limit as
|
4320
|
+
# In the rule, you also define the rate limit as 1,000.
|
3987
4321
|
#
|
3988
|
-
# Requests that meet both of these conditions and exceed
|
4322
|
+
# Requests that meet both of these conditions and exceed 1,000 requests
|
3989
4323
|
# every five minutes trigger the rule's action (block or count), which
|
3990
4324
|
# is defined in the web ACL.
|
3991
4325
|
#
|
4326
|
+
#
|
4327
|
+
#
|
4328
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4329
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4330
|
+
#
|
3992
4331
|
# @!attribute [rw] rule_id
|
3993
4332
|
# A unique identifier for a `RateBasedRule`. You use `RuleId` to get
|
3994
4333
|
# more information about a `RateBasedRule` (see GetRateBasedRule),
|
@@ -4046,6 +4385,15 @@ module Aws::WAFRegional
|
|
4046
4385
|
include Aws::Structure
|
4047
4386
|
end
|
4048
4387
|
|
4388
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4389
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4390
|
+
#
|
4391
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4392
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4393
|
+
# a single set of endpoints for regional and global use.
|
4394
|
+
#
|
4395
|
+
# </note>
|
4396
|
+
#
|
4049
4397
|
# In a GetRegexMatchSet request, `RegexMatchSet` is a complex type that
|
4050
4398
|
# contains the `RegexMatchSetId` and `Name` of a `RegexMatchSet`, and
|
4051
4399
|
# the values that you specified when you updated the `RegexMatchSet`.
|
@@ -4057,6 +4405,11 @@ module Aws::WAFRegional
|
|
4057
4405
|
# match the settings in only one `ByteMatchTuple` to be considered a
|
4058
4406
|
# match.
|
4059
4407
|
#
|
4408
|
+
#
|
4409
|
+
#
|
4410
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4411
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4412
|
+
#
|
4060
4413
|
# @!attribute [rw] regex_match_set_id
|
4061
4414
|
# The `RegexMatchSetId` for a `RegexMatchSet`. You use
|
4062
4415
|
# `RegexMatchSetId` to get information about a `RegexMatchSet` (see
|
@@ -4098,9 +4451,23 @@ module Aws::WAFRegional
|
|
4098
4451
|
include Aws::Structure
|
4099
4452
|
end
|
4100
4453
|
|
4454
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4455
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4456
|
+
#
|
4457
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4458
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4459
|
+
# a single set of endpoints for regional and global use.
|
4460
|
+
#
|
4461
|
+
# </note>
|
4462
|
+
#
|
4101
4463
|
# Returned by ListRegexMatchSets. Each `RegexMatchSetSummary` object
|
4102
4464
|
# includes the `Name` and `RegexMatchSetId` for one RegexMatchSet.
|
4103
4465
|
#
|
4466
|
+
#
|
4467
|
+
#
|
4468
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4469
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4470
|
+
#
|
4104
4471
|
# @!attribute [rw] regex_match_set_id
|
4105
4472
|
# The `RegexMatchSetId` for a `RegexMatchSet`. You use
|
4106
4473
|
# `RegexMatchSetId` to get information about a `RegexMatchSet`, update
|
@@ -4124,10 +4491,24 @@ module Aws::WAFRegional
|
|
4124
4491
|
include Aws::Structure
|
4125
4492
|
end
|
4126
4493
|
|
4494
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4495
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4496
|
+
#
|
4497
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4498
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4499
|
+
# a single set of endpoints for regional and global use.
|
4500
|
+
#
|
4501
|
+
# </note>
|
4502
|
+
#
|
4127
4503
|
# In an UpdateRegexMatchSet request, `RegexMatchSetUpdate` specifies
|
4128
4504
|
# whether to insert or delete a RegexMatchTuple and includes the
|
4129
4505
|
# settings for the `RegexMatchTuple`.
|
4130
4506
|
#
|
4507
|
+
#
|
4508
|
+
#
|
4509
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4510
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4511
|
+
#
|
4131
4512
|
# @note When making an API call, you may pass RegexMatchSetUpdate
|
4132
4513
|
# data as a hash:
|
4133
4514
|
#
|
@@ -4164,6 +4545,15 @@ module Aws::WAFRegional
|
|
4164
4545
|
include Aws::Structure
|
4165
4546
|
end
|
4166
4547
|
|
4548
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4549
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4550
|
+
#
|
4551
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4552
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4553
|
+
# a single set of endpoints for regional and global use.
|
4554
|
+
#
|
4555
|
+
# </note>
|
4556
|
+
#
|
4167
4557
|
# The regular expression pattern that you want AWS WAF to search for in
|
4168
4558
|
# web requests, the location in requests that you want AWS WAF to
|
4169
4559
|
# search, and other settings. Each `RegexMatchTuple` object contains:
|
@@ -4178,6 +4568,11 @@ module Aws::WAFRegional
|
|
4178
4568
|
# converting it to lowercase, before inspecting it for the specified
|
4179
4569
|
# string.
|
4180
4570
|
#
|
4571
|
+
#
|
4572
|
+
#
|
4573
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4574
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4575
|
+
#
|
4181
4576
|
# @note When making an API call, you may pass RegexMatchTuple
|
4182
4577
|
# data as a hash:
|
4183
4578
|
#
|
@@ -4294,10 +4689,24 @@ module Aws::WAFRegional
|
|
4294
4689
|
include Aws::Structure
|
4295
4690
|
end
|
4296
4691
|
|
4692
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4693
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4694
|
+
#
|
4695
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4696
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4697
|
+
# a single set of endpoints for regional and global use.
|
4698
|
+
#
|
4699
|
+
# </note>
|
4700
|
+
#
|
4297
4701
|
# The `RegexPatternSet` specifies the regular expression (regex) pattern
|
4298
4702
|
# that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. You can
|
4299
4703
|
# then configure AWS WAF to reject those requests.
|
4300
4704
|
#
|
4705
|
+
#
|
4706
|
+
#
|
4707
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4708
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4709
|
+
#
|
4301
4710
|
# @!attribute [rw] regex_pattern_set_id
|
4302
4711
|
# The identifier for the `RegexPatternSet`. You use
|
4303
4712
|
# `RegexPatternSetId` to get information about a `RegexPatternSet`,
|
@@ -4327,9 +4736,23 @@ module Aws::WAFRegional
|
|
4327
4736
|
include Aws::Structure
|
4328
4737
|
end
|
4329
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
|
+
#
|
4330
4748
|
# Returned by ListRegexPatternSets. Each `RegexPatternSetSummary` object
|
4331
4749
|
# includes the `Name` and `RegexPatternSetId` for one RegexPatternSet.
|
4332
4750
|
#
|
4751
|
+
#
|
4752
|
+
#
|
4753
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4754
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4755
|
+
#
|
4333
4756
|
# @!attribute [rw] regex_pattern_set_id
|
4334
4757
|
# The `RegexPatternSetId` for a `RegexPatternSet`. You use
|
4335
4758
|
# `RegexPatternSetId` to get information about a `RegexPatternSet`,
|
@@ -4353,10 +4776,24 @@ module Aws::WAFRegional
|
|
4353
4776
|
include Aws::Structure
|
4354
4777
|
end
|
4355
4778
|
|
4779
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4780
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4781
|
+
#
|
4782
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4783
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4784
|
+
# a single set of endpoints for regional and global use.
|
4785
|
+
#
|
4786
|
+
# </note>
|
4787
|
+
#
|
4356
4788
|
# In an UpdateRegexPatternSet request, `RegexPatternSetUpdate` specifies
|
4357
4789
|
# whether to insert or delete a `RegexPatternString` and includes the
|
4358
4790
|
# settings for the `RegexPatternString`.
|
4359
4791
|
#
|
4792
|
+
#
|
4793
|
+
#
|
4794
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4795
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4796
|
+
#
|
4360
4797
|
# @note When making an API call, you may pass RegexPatternSetUpdate
|
4361
4798
|
# data as a hash:
|
4362
4799
|
#
|
@@ -4382,6 +4819,15 @@ module Aws::WAFRegional
|
|
4382
4819
|
include Aws::Structure
|
4383
4820
|
end
|
4384
4821
|
|
4822
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4823
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4824
|
+
#
|
4825
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4826
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4827
|
+
# a single set of endpoints for regional and global use.
|
4828
|
+
#
|
4829
|
+
# </note>
|
4830
|
+
#
|
4385
4831
|
# A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet
|
4386
4832
|
# objects that identify the web requests that you want to allow, block,
|
4387
4833
|
# or count. For example, you might create a `Rule` that includes the
|
@@ -4397,6 +4843,11 @@ module Aws::WAFRegional
|
|
4397
4843
|
# `192.0.2.44` AND include a `User-Agent` header for which the value is
|
4398
4844
|
# `BadBot`.
|
4399
4845
|
#
|
4846
|
+
#
|
4847
|
+
#
|
4848
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4849
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4850
|
+
#
|
4400
4851
|
# @!attribute [rw] rule_id
|
4401
4852
|
# A unique identifier for a `Rule`. You use `RuleId` to get more
|
4402
4853
|
# information about a `Rule` (see GetRule), update a `Rule` (see
|
@@ -4437,6 +4888,15 @@ module Aws::WAFRegional
|
|
4437
4888
|
include Aws::Structure
|
4438
4889
|
end
|
4439
4890
|
|
4891
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4892
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4893
|
+
#
|
4894
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4895
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4896
|
+
# a single set of endpoints for regional and global use.
|
4897
|
+
#
|
4898
|
+
# </note>
|
4899
|
+
#
|
4440
4900
|
# A collection of predefined rules that you can add to a web ACL.
|
4441
4901
|
#
|
4442
4902
|
# Rule groups are subject to the following limits:
|
@@ -4448,6 +4908,11 @@ module Aws::WAFRegional
|
|
4448
4908
|
#
|
4449
4909
|
# * Ten rules per rule group.
|
4450
4910
|
#
|
4911
|
+
#
|
4912
|
+
#
|
4913
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4914
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4915
|
+
#
|
4451
4916
|
# @!attribute [rw] rule_group_id
|
4452
4917
|
# A unique identifier for a `RuleGroup`. You use `RuleGroupId` to get
|
4453
4918
|
# more information about a `RuleGroup` (see GetRuleGroup), update a
|
@@ -4481,9 +4946,23 @@ module Aws::WAFRegional
|
|
4481
4946
|
include Aws::Structure
|
4482
4947
|
end
|
4483
4948
|
|
4949
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4950
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4951
|
+
#
|
4952
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4953
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4954
|
+
# a single set of endpoints for regional and global use.
|
4955
|
+
#
|
4956
|
+
# </note>
|
4957
|
+
#
|
4484
4958
|
# Contains the identifier and the friendly name or description of the
|
4485
4959
|
# `RuleGroup`.
|
4486
4960
|
#
|
4961
|
+
#
|
4962
|
+
#
|
4963
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4964
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4965
|
+
#
|
4487
4966
|
# @!attribute [rw] rule_group_id
|
4488
4967
|
# A unique identifier for a `RuleGroup`. You use `RuleGroupId` to get
|
4489
4968
|
# more information about a `RuleGroup` (see GetRuleGroup), update a
|
@@ -4507,9 +4986,23 @@ module Aws::WAFRegional
|
|
4507
4986
|
include Aws::Structure
|
4508
4987
|
end
|
4509
4988
|
|
4989
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4990
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4991
|
+
#
|
4992
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4993
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4994
|
+
# a single set of endpoints for regional and global use.
|
4995
|
+
#
|
4996
|
+
# </note>
|
4997
|
+
#
|
4510
4998
|
# Specifies an `ActivatedRule` and indicates whether you want to add it
|
4511
4999
|
# to a `RuleGroup` or delete it from a `RuleGroup`.
|
4512
5000
|
#
|
5001
|
+
#
|
5002
|
+
#
|
5003
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5004
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5005
|
+
#
|
4513
5006
|
# @note When making an API call, you may pass RuleGroupUpdate
|
4514
5007
|
# data as a hash:
|
4515
5008
|
#
|
@@ -4553,9 +5046,23 @@ module Aws::WAFRegional
|
|
4553
5046
|
include Aws::Structure
|
4554
5047
|
end
|
4555
5048
|
|
5049
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5050
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5051
|
+
#
|
5052
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5053
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5054
|
+
# a single set of endpoints for regional and global use.
|
5055
|
+
#
|
5056
|
+
# </note>
|
5057
|
+
#
|
4556
5058
|
# Contains the identifier and the friendly name or description of the
|
4557
5059
|
# `Rule`.
|
4558
5060
|
#
|
5061
|
+
#
|
5062
|
+
#
|
5063
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5064
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5065
|
+
#
|
4559
5066
|
# @!attribute [rw] rule_id
|
4560
5067
|
# A unique identifier for a `Rule`. You use `RuleId` to get more
|
4561
5068
|
# information about a `Rule` (see GetRule), update a `Rule` (see
|
@@ -4579,9 +5086,23 @@ module Aws::WAFRegional
|
|
4579
5086
|
include Aws::Structure
|
4580
5087
|
end
|
4581
5088
|
|
5089
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5090
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5091
|
+
#
|
5092
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5093
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5094
|
+
# a single set of endpoints for regional and global use.
|
5095
|
+
#
|
5096
|
+
# </note>
|
5097
|
+
#
|
4582
5098
|
# Specifies a `Predicate` (such as an `IPSet`) and indicates whether you
|
4583
5099
|
# want to add it to a `Rule` or delete it from a `Rule`.
|
4584
5100
|
#
|
5101
|
+
#
|
5102
|
+
#
|
5103
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5104
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5105
|
+
#
|
4585
5106
|
# @note When making an API call, you may pass RuleUpdate
|
4586
5107
|
# data as a hash:
|
4587
5108
|
#
|
@@ -4612,12 +5133,26 @@ module Aws::WAFRegional
|
|
4612
5133
|
include Aws::Structure
|
4613
5134
|
end
|
4614
5135
|
|
5136
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5137
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5138
|
+
#
|
5139
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5140
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5141
|
+
# a single set of endpoints for regional and global use.
|
5142
|
+
#
|
5143
|
+
# </note>
|
5144
|
+
#
|
4615
5145
|
# The response from a GetSampledRequests request includes a
|
4616
5146
|
# `SampledHTTPRequests` complex type that appears as `SampledRequests`
|
4617
5147
|
# in the response syntax. `SampledHTTPRequests` contains one
|
4618
5148
|
# `SampledHTTPRequest` object for each web request that is returned by
|
4619
5149
|
# `GetSampledRequests`.
|
4620
5150
|
#
|
5151
|
+
#
|
5152
|
+
#
|
5153
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5154
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5155
|
+
#
|
4621
5156
|
# @!attribute [rw] request
|
4622
5157
|
# A complex type that contains detailed information about the request.
|
4623
5158
|
# @return [Types::HTTPRequest]
|
@@ -4657,12 +5192,26 @@ module Aws::WAFRegional
|
|
4657
5192
|
include Aws::Structure
|
4658
5193
|
end
|
4659
5194
|
|
5195
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5196
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5197
|
+
#
|
5198
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5199
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5200
|
+
# a single set of endpoints for regional and global use.
|
5201
|
+
#
|
5202
|
+
# </note>
|
5203
|
+
#
|
4660
5204
|
# Specifies a constraint on the size of a part of the web request. AWS
|
4661
5205
|
# WAF uses the `Size`, `ComparisonOperator`, and `FieldToMatch` to build
|
4662
5206
|
# an expression in the form of "`Size` `ComparisonOperator` size in
|
4663
5207
|
# bytes of `FieldToMatch`". If that expression is true, the
|
4664
5208
|
# `SizeConstraint` is considered to match.
|
4665
5209
|
#
|
5210
|
+
#
|
5211
|
+
#
|
5212
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5213
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5214
|
+
#
|
4666
5215
|
# @note When making an API call, you may pass SizeConstraint
|
4667
5216
|
# data as a hash:
|
4668
5217
|
#
|
@@ -4684,7 +5233,7 @@ module Aws::WAFRegional
|
|
4684
5233
|
# Text transformations eliminate some of the unusual formatting that
|
4685
5234
|
# attackers use in web requests in an effort to bypass AWS WAF. If you
|
4686
5235
|
# specify a transformation, AWS WAF performs the transformation on
|
4687
|
-
# `FieldToMatch` before inspecting
|
5236
|
+
# `FieldToMatch` before inspecting it for a match.
|
4688
5237
|
#
|
4689
5238
|
# You can only specify a single type of TextTransformation.
|
4690
5239
|
#
|
@@ -4813,12 +5362,26 @@ module Aws::WAFRegional
|
|
4813
5362
|
include Aws::Structure
|
4814
5363
|
end
|
4815
5364
|
|
5365
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5366
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5367
|
+
#
|
5368
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5369
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5370
|
+
# a single set of endpoints for regional and global use.
|
5371
|
+
#
|
5372
|
+
# </note>
|
5373
|
+
#
|
4816
5374
|
# A complex type that contains `SizeConstraint` objects, which specify
|
4817
5375
|
# the parts of web requests that you want AWS WAF to inspect the size
|
4818
5376
|
# of. If a `SizeConstraintSet` contains more than one `SizeConstraint`
|
4819
5377
|
# object, a request only needs to match one constraint to be considered
|
4820
5378
|
# a match.
|
4821
5379
|
#
|
5380
|
+
#
|
5381
|
+
#
|
5382
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5383
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5384
|
+
#
|
4822
5385
|
# @!attribute [rw] size_constraint_set_id
|
4823
5386
|
# A unique identifier for a `SizeConstraintSet`. You use
|
4824
5387
|
# `SizeConstraintSetId` to get information about a `SizeConstraintSet`
|
@@ -4849,8 +5412,22 @@ module Aws::WAFRegional
|
|
4849
5412
|
include Aws::Structure
|
4850
5413
|
end
|
4851
5414
|
|
5415
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5416
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5417
|
+
#
|
5418
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5419
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5420
|
+
# a single set of endpoints for regional and global use.
|
5421
|
+
#
|
5422
|
+
# </note>
|
5423
|
+
#
|
4852
5424
|
# The `Id` and `Name` of a `SizeConstraintSet`.
|
4853
5425
|
#
|
5426
|
+
#
|
5427
|
+
#
|
5428
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5429
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5430
|
+
#
|
4854
5431
|
# @!attribute [rw] size_constraint_set_id
|
4855
5432
|
# A unique identifier for a `SizeConstraintSet`. You use
|
4856
5433
|
# `SizeConstraintSetId` to get information about a `SizeConstraintSet`
|
@@ -4875,10 +5452,24 @@ module Aws::WAFRegional
|
|
4875
5452
|
include Aws::Structure
|
4876
5453
|
end
|
4877
5454
|
|
5455
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5456
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5457
|
+
#
|
5458
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5459
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5460
|
+
# a single set of endpoints for regional and global use.
|
5461
|
+
#
|
5462
|
+
# </note>
|
5463
|
+
#
|
4878
5464
|
# Specifies the part of a web request that you want to inspect the size
|
4879
5465
|
# of and indicates whether you want to add the specification to a
|
4880
5466
|
# SizeConstraintSet or delete it from a `SizeConstraintSet`.
|
4881
5467
|
#
|
5468
|
+
#
|
5469
|
+
#
|
5470
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5471
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5472
|
+
#
|
4882
5473
|
# @note When making an API call, you may pass SizeConstraintSetUpdate
|
4883
5474
|
# data as a hash:
|
4884
5475
|
#
|
@@ -4917,6 +5508,15 @@ module Aws::WAFRegional
|
|
4917
5508
|
include Aws::Structure
|
4918
5509
|
end
|
4919
5510
|
|
5511
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5512
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5513
|
+
#
|
5514
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5515
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5516
|
+
# a single set of endpoints for regional and global use.
|
5517
|
+
#
|
5518
|
+
# </note>
|
5519
|
+
#
|
4920
5520
|
# A complex type that contains `SqlInjectionMatchTuple` objects, which
|
4921
5521
|
# specify the parts of web requests that you want AWS WAF to inspect for
|
4922
5522
|
# snippets of malicious SQL code and, if you want AWS WAF to inspect a
|
@@ -4925,6 +5525,11 @@ module Aws::WAFRegional
|
|
4925
5525
|
# include snippets of SQL code in only one of the specified parts of the
|
4926
5526
|
# request to be considered a match.
|
4927
5527
|
#
|
5528
|
+
#
|
5529
|
+
#
|
5530
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5531
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5532
|
+
#
|
4928
5533
|
# @!attribute [rw] sql_injection_match_set_id
|
4929
5534
|
# A unique identifier for a `SqlInjectionMatchSet`. You use
|
4930
5535
|
# `SqlInjectionMatchSetId` to get information about a
|
@@ -4956,8 +5561,22 @@ module Aws::WAFRegional
|
|
4956
5561
|
include Aws::Structure
|
4957
5562
|
end
|
4958
5563
|
|
5564
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5565
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5566
|
+
#
|
5567
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5568
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5569
|
+
# a single set of endpoints for regional and global use.
|
5570
|
+
#
|
5571
|
+
# </note>
|
5572
|
+
#
|
4959
5573
|
# The `Id` and `Name` of a `SqlInjectionMatchSet`.
|
4960
5574
|
#
|
5575
|
+
#
|
5576
|
+
#
|
5577
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5578
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5579
|
+
#
|
4961
5580
|
# @!attribute [rw] sql_injection_match_set_id
|
4962
5581
|
# A unique identifier for a `SqlInjectionMatchSet`. You use
|
4963
5582
|
# `SqlInjectionMatchSetId` to get information about a
|
@@ -4983,11 +5602,25 @@ module Aws::WAFRegional
|
|
4983
5602
|
include Aws::Structure
|
4984
5603
|
end
|
4985
5604
|
|
5605
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5606
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5607
|
+
#
|
5608
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5609
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5610
|
+
# a single set of endpoints for regional and global use.
|
5611
|
+
#
|
5612
|
+
# </note>
|
5613
|
+
#
|
4986
5614
|
# Specifies the part of a web request that you want to inspect for
|
4987
5615
|
# snippets of malicious SQL code and indicates whether you want to add
|
4988
5616
|
# the specification to a SqlInjectionMatchSet or delete it from a
|
4989
5617
|
# `SqlInjectionMatchSet`.
|
4990
5618
|
#
|
5619
|
+
#
|
5620
|
+
#
|
5621
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5622
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5623
|
+
#
|
4991
5624
|
# @note When making an API call, you may pass SqlInjectionMatchSetUpdate
|
4992
5625
|
# data as a hash:
|
4993
5626
|
#
|
@@ -5022,10 +5655,24 @@ module Aws::WAFRegional
|
|
5022
5655
|
include Aws::Structure
|
5023
5656
|
end
|
5024
5657
|
|
5658
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5659
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5660
|
+
#
|
5661
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5662
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5663
|
+
# a single set of endpoints for regional and global use.
|
5664
|
+
#
|
5665
|
+
# </note>
|
5666
|
+
#
|
5025
5667
|
# Specifies the part of a web request that you want AWS WAF to inspect
|
5026
5668
|
# for snippets of malicious SQL code and, if you want AWS WAF to inspect
|
5027
5669
|
# a header, the name of the header.
|
5028
5670
|
#
|
5671
|
+
#
|
5672
|
+
#
|
5673
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5674
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5675
|
+
#
|
5029
5676
|
# @note When making an API call, you may pass SqlInjectionMatchTuple
|
5030
5677
|
# data as a hash:
|
5031
5678
|
#
|
@@ -5046,7 +5693,7 @@ module Aws::WAFRegional
|
|
5046
5693
|
# Text transformations eliminate some of the unusual formatting that
|
5047
5694
|
# attackers use in web requests in an effort to bypass AWS WAF. If you
|
5048
5695
|
# specify a transformation, AWS WAF performs the transformation on
|
5049
|
-
# `FieldToMatch` before inspecting
|
5696
|
+
# `FieldToMatch` before inspecting it for a match.
|
5050
5697
|
#
|
5051
5698
|
# You can only specify a single type of TextTransformation.
|
5052
5699
|
#
|
@@ -5128,8 +5775,22 @@ module Aws::WAFRegional
|
|
5128
5775
|
include Aws::Structure
|
5129
5776
|
end
|
5130
5777
|
|
5778
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5779
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5780
|
+
#
|
5781
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5782
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5783
|
+
# a single set of endpoints for regional and global use.
|
5784
|
+
#
|
5785
|
+
# </note>
|
5786
|
+
#
|
5131
5787
|
# A summary of the rule groups you are subscribed to.
|
5132
5788
|
#
|
5789
|
+
#
|
5790
|
+
#
|
5791
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5792
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5793
|
+
#
|
5133
5794
|
# @!attribute [rw] rule_group_id
|
5134
5795
|
# A unique identifier for a `RuleGroup`.
|
5135
5796
|
# @return [String]
|
@@ -5157,12 +5818,37 @@ module Aws::WAFRegional
|
|
5157
5818
|
include Aws::Structure
|
5158
5819
|
end
|
5159
5820
|
|
5821
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5822
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5823
|
+
#
|
5824
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5825
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5826
|
+
# a single set of endpoints for regional and global use.
|
5827
|
+
#
|
5828
|
+
# </note>
|
5829
|
+
#
|
5830
|
+
# A tag associated with an AWS resource. Tags are key:value pairs that
|
5831
|
+
# you can use to categorize and manage your resources, for purposes like
|
5832
|
+
# billing. For example, you might set the tag key to "customer" and
|
5833
|
+
# the value to the customer name or ID. You can specify one or more tags
|
5834
|
+
# to add to each AWS resource, up to 50 tags for a resource.
|
5835
|
+
#
|
5836
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
5837
|
+
# manage or view tags through the AWS WAF Classic console. You can tag
|
5838
|
+
# the AWS resources that you manage through AWS WAF Classic: web ACLs,
|
5839
|
+
# rule groups, and rules.
|
5840
|
+
#
|
5841
|
+
#
|
5842
|
+
#
|
5843
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5844
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5845
|
+
#
|
5160
5846
|
# @note When making an API call, you may pass Tag
|
5161
5847
|
# data as a hash:
|
5162
5848
|
#
|
5163
5849
|
# {
|
5164
|
-
# key: "TagKey",
|
5165
|
-
# value: "TagValue",
|
5850
|
+
# key: "TagKey", # required
|
5851
|
+
# value: "TagValue", # required
|
5166
5852
|
# }
|
5167
5853
|
#
|
5168
5854
|
# @!attribute [rw] key
|
@@ -5179,6 +5865,32 @@ module Aws::WAFRegional
|
|
5179
5865
|
include Aws::Structure
|
5180
5866
|
end
|
5181
5867
|
|
5868
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5869
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5870
|
+
#
|
5871
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5872
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5873
|
+
# a single set of endpoints for regional and global use.
|
5874
|
+
#
|
5875
|
+
# </note>
|
5876
|
+
#
|
5877
|
+
# Information for a tag associated with an AWS resource. Tags are
|
5878
|
+
# key:value pairs that you can use to categorize and manage your
|
5879
|
+
# resources, for purposes like billing. For example, you might set the
|
5880
|
+
# tag key to "customer" and the value to the customer name or ID. You
|
5881
|
+
# can specify one or more tags to add to each AWS resource, up to 50
|
5882
|
+
# tags for a resource.
|
5883
|
+
#
|
5884
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
5885
|
+
# manage or view tags through the AWS WAF Classic console. You can tag
|
5886
|
+
# the AWS resources that you manage through AWS WAF Classic: web ACLs,
|
5887
|
+
# rule groups, and rules.
|
5888
|
+
#
|
5889
|
+
#
|
5890
|
+
#
|
5891
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5892
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5893
|
+
#
|
5182
5894
|
# @!attribute [rw] resource_arn
|
5183
5895
|
# @return [String]
|
5184
5896
|
#
|
@@ -5200,8 +5912,8 @@ module Aws::WAFRegional
|
|
5200
5912
|
# resource_arn: "ResourceArn", # required
|
5201
5913
|
# tags: [ # required
|
5202
5914
|
# {
|
5203
|
-
# key: "TagKey",
|
5204
|
-
# value: "TagValue",
|
5915
|
+
# key: "TagKey", # required
|
5916
|
+
# value: "TagValue", # required
|
5205
5917
|
# },
|
5206
5918
|
# ],
|
5207
5919
|
# }
|
@@ -5224,10 +5936,23 @@ module Aws::WAFRegional
|
|
5224
5936
|
#
|
5225
5937
|
class TagResourceResponse < Aws::EmptyStructure; end
|
5226
5938
|
|
5939
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5940
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5941
|
+
#
|
5942
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5943
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5944
|
+
# a single set of endpoints for regional and global use.
|
5945
|
+
#
|
5946
|
+
# </note>
|
5947
|
+
#
|
5227
5948
|
# In a GetSampledRequests request, the `StartTime` and `EndTime` objects
|
5228
5949
|
# specify the time range for which you want AWS WAF to return a sample
|
5229
5950
|
# of web requests.
|
5230
5951
|
#
|
5952
|
+
# You must specify the times in Coordinated Universal Time (UTC) format.
|
5953
|
+
# UTC format includes the special designator, `Z`. For example,
|
5954
|
+
# `"2016-09-27T14:50Z"`.
|
5955
|
+
#
|
5231
5956
|
# In a GetSampledRequests response, the `StartTime` and `EndTime`
|
5232
5957
|
# objects specify the time range for which AWS WAF actually returned a
|
5233
5958
|
# sample of web requests. AWS WAF gets the specified number of requests
|
@@ -5237,6 +5962,11 @@ module Aws::WAFRegional
|
|
5237
5962
|
# 5,000th request. In that case, `EndTime` is the time that AWS WAF
|
5238
5963
|
# received the 5,000th request.
|
5239
5964
|
#
|
5965
|
+
#
|
5966
|
+
#
|
5967
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5968
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5969
|
+
#
|
5240
5970
|
# @note When making an API call, you may pass TimeWindow
|
5241
5971
|
# data as a hash:
|
5242
5972
|
#
|
@@ -5248,17 +5978,19 @@ module Aws::WAFRegional
|
|
5248
5978
|
# @!attribute [rw] start_time
|
5249
5979
|
# The beginning of the time range from which you want
|
5250
5980
|
# `GetSampledRequests` to return a sample of the requests that your
|
5251
|
-
# AWS resource received.
|
5252
|
-
#
|
5253
|
-
#
|
5981
|
+
# AWS resource received. You must specify the date and time in
|
5982
|
+
# Coordinated Universal Time (UTC) format. UTC format includes the
|
5983
|
+
# special designator, `Z`. For example, `"2016-09-27T14:50Z"`. You can
|
5984
|
+
# specify any time range in the previous three hours.
|
5254
5985
|
# @return [Time]
|
5255
5986
|
#
|
5256
5987
|
# @!attribute [rw] end_time
|
5257
5988
|
# The end of the time range from which you want `GetSampledRequests`
|
5258
5989
|
# to return a sample of the requests that your AWS resource received.
|
5259
|
-
#
|
5260
|
-
#
|
5261
|
-
#
|
5990
|
+
# You must specify the date and time in Coordinated Universal Time
|
5991
|
+
# (UTC) format. UTC format includes the special designator, `Z`. For
|
5992
|
+
# example, `"2016-09-27T14:50Z"`. You can specify any time range in
|
5993
|
+
# the previous three hours.
|
5262
5994
|
# @return [Time]
|
5263
5995
|
#
|
5264
5996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/TimeWindow AWS API Documentation
|
@@ -6113,6 +6845,46 @@ module Aws::WAFRegional
|
|
6113
6845
|
include Aws::Structure
|
6114
6846
|
end
|
6115
6847
|
|
6848
|
+
# The operation failed due to a problem with the migration. The failure
|
6849
|
+
# cause is provided in the exception, in the `MigrationErrorType`\:
|
6850
|
+
#
|
6851
|
+
# * `ENTITY_NOT_SUPPORTED` - The web ACL has an unsupported entity but
|
6852
|
+
# the `IgnoreUnsupportedType` is not set to true.
|
6853
|
+
#
|
6854
|
+
# * `ENTITY_NOT_FOUND` - The web ACL doesn't exist.
|
6855
|
+
#
|
6856
|
+
# * `S3_BUCKET_NO_PERMISSION` - You don't have permission to perform
|
6857
|
+
# the `PutObject` action to the specified Amazon S3 bucket.
|
6858
|
+
#
|
6859
|
+
# * `S3_BUCKET_NOT_ACCESSIBLE` - The bucket policy doesn't allow AWS
|
6860
|
+
# WAF to perform the `PutObject` action in the bucket.
|
6861
|
+
#
|
6862
|
+
# * `S3_BUCKET_NOT_FOUND` - The S3 bucket doesn't exist.
|
6863
|
+
#
|
6864
|
+
# * `S3_BUCKET_INVALID_REGION` - The S3 bucket is not in the same Region
|
6865
|
+
# as the web ACL.
|
6866
|
+
#
|
6867
|
+
# * `S3_INTERNAL_ERROR` - AWS WAF failed to create the template in the
|
6868
|
+
# S3 bucket for another reason.
|
6869
|
+
#
|
6870
|
+
# @!attribute [rw] message
|
6871
|
+
# @return [String]
|
6872
|
+
#
|
6873
|
+
# @!attribute [rw] migration_error_type
|
6874
|
+
# @return [String]
|
6875
|
+
#
|
6876
|
+
# @!attribute [rw] migration_error_reason
|
6877
|
+
# @return [String]
|
6878
|
+
#
|
6879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/WAFEntityMigrationException AWS API Documentation
|
6880
|
+
#
|
6881
|
+
class WAFEntityMigrationException < Struct.new(
|
6882
|
+
:message,
|
6883
|
+
:migration_error_type,
|
6884
|
+
:migration_error_reason)
|
6885
|
+
include Aws::Structure
|
6886
|
+
end
|
6887
|
+
|
6116
6888
|
# The operation failed because of a system problem, even though the
|
6117
6889
|
# request was valid. Retry your request.
|
6118
6890
|
#
|
@@ -6431,6 +7203,15 @@ module Aws::WAFRegional
|
|
6431
7203
|
include Aws::Structure
|
6432
7204
|
end
|
6433
7205
|
|
7206
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7207
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7208
|
+
#
|
7209
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7210
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7211
|
+
# a single set of endpoints for regional and global use.
|
7212
|
+
#
|
7213
|
+
# </note>
|
7214
|
+
#
|
6434
7215
|
# For the action that is associated with a rule in a `WebACL`, specifies
|
6435
7216
|
# the action that you want AWS WAF to perform when a web request matches
|
6436
7217
|
# all of the conditions in a rule. For the default action in a `WebACL`,
|
@@ -6438,6 +7219,11 @@ module Aws::WAFRegional
|
|
6438
7219
|
# doesn't match all of the conditions in any of the rules in a
|
6439
7220
|
# `WebACL`.
|
6440
7221
|
#
|
7222
|
+
#
|
7223
|
+
#
|
7224
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7225
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7226
|
+
#
|
6441
7227
|
# @note When making an API call, you may pass WafAction
|
6442
7228
|
# data as a hash:
|
6443
7229
|
#
|
@@ -6467,9 +7253,23 @@ module Aws::WAFRegional
|
|
6467
7253
|
include Aws::Structure
|
6468
7254
|
end
|
6469
7255
|
|
7256
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7257
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7258
|
+
#
|
7259
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7260
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7261
|
+
# a single set of endpoints for regional and global use.
|
7262
|
+
#
|
7263
|
+
# </note>
|
7264
|
+
#
|
6470
7265
|
# The action to take if any rule within the `RuleGroup` matches a
|
6471
7266
|
# request.
|
6472
7267
|
#
|
7268
|
+
#
|
7269
|
+
#
|
7270
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7271
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7272
|
+
#
|
6473
7273
|
# @note When making an API call, you may pass WafOverrideAction
|
6474
7274
|
# data as a hash:
|
6475
7275
|
#
|
@@ -6490,6 +7290,15 @@ module Aws::WAFRegional
|
|
6490
7290
|
include Aws::Structure
|
6491
7291
|
end
|
6492
7292
|
|
7293
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7294
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7295
|
+
#
|
7296
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7297
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7298
|
+
# a single set of endpoints for regional and global use.
|
7299
|
+
#
|
7300
|
+
# </note>
|
7301
|
+
#
|
6493
7302
|
# Contains the `Rules` that identify the requests that you want to
|
6494
7303
|
# allow, block, or count. In a `WebACL`, you also specify a default
|
6495
7304
|
# action (`ALLOW` or `BLOCK`), and the action for each `Rule` that you
|
@@ -6501,6 +7310,11 @@ module Aws::WAFRegional
|
|
6501
7310
|
# specifications to be allowed, blocked, or counted. For more
|
6502
7311
|
# information, see UpdateWebACL.
|
6503
7312
|
#
|
7313
|
+
#
|
7314
|
+
#
|
7315
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7316
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7317
|
+
#
|
6504
7318
|
# @!attribute [rw] web_acl_id
|
6505
7319
|
# A unique identifier for a `WebACL`. You use `WebACLId` to get
|
6506
7320
|
# information about a `WebACL` (see GetWebACL), update a `WebACL` (see
|
@@ -6550,8 +7364,22 @@ module Aws::WAFRegional
|
|
6550
7364
|
include Aws::Structure
|
6551
7365
|
end
|
6552
7366
|
|
7367
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7368
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7369
|
+
#
|
7370
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7371
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7372
|
+
# a single set of endpoints for regional and global use.
|
7373
|
+
#
|
7374
|
+
# </note>
|
7375
|
+
#
|
6553
7376
|
# Contains the identifier and the name or description of the WebACL.
|
6554
7377
|
#
|
7378
|
+
#
|
7379
|
+
#
|
7380
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7381
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7382
|
+
#
|
6555
7383
|
# @!attribute [rw] web_acl_id
|
6556
7384
|
# A unique identifier for a `WebACL`. You use `WebACLId` to get
|
6557
7385
|
# information about a `WebACL` (see GetWebACL), update a `WebACL` (see
|
@@ -6574,9 +7402,23 @@ module Aws::WAFRegional
|
|
6574
7402
|
include Aws::Structure
|
6575
7403
|
end
|
6576
7404
|
|
7405
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7406
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7407
|
+
#
|
7408
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7409
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7410
|
+
# a single set of endpoints for regional and global use.
|
7411
|
+
#
|
7412
|
+
# </note>
|
7413
|
+
#
|
6577
7414
|
# Specifies whether to insert a `Rule` into or delete a `Rule` from a
|
6578
7415
|
# `WebACL`.
|
6579
7416
|
#
|
7417
|
+
#
|
7418
|
+
#
|
7419
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7420
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7421
|
+
#
|
6580
7422
|
# @note When making an API call, you may pass WebACLUpdate
|
6581
7423
|
# data as a hash:
|
6582
7424
|
#
|
@@ -6620,6 +7462,15 @@ module Aws::WAFRegional
|
|
6620
7462
|
include Aws::Structure
|
6621
7463
|
end
|
6622
7464
|
|
7465
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7466
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7467
|
+
#
|
7468
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7469
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7470
|
+
# a single set of endpoints for regional and global use.
|
7471
|
+
#
|
7472
|
+
# </note>
|
7473
|
+
#
|
6623
7474
|
# A complex type that contains `XssMatchTuple` objects, which specify
|
6624
7475
|
# the parts of web requests that you want AWS WAF to inspect for
|
6625
7476
|
# cross-site scripting attacks and, if you want AWS WAF to inspect a
|
@@ -6628,6 +7479,11 @@ module Aws::WAFRegional
|
|
6628
7479
|
# scripting attacks in only one of the specified parts of the request to
|
6629
7480
|
# be considered a match.
|
6630
7481
|
#
|
7482
|
+
#
|
7483
|
+
#
|
7484
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7485
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7486
|
+
#
|
6631
7487
|
# @!attribute [rw] xss_match_set_id
|
6632
7488
|
# A unique identifier for an `XssMatchSet`. You use `XssMatchSetId` to
|
6633
7489
|
# get information about an `XssMatchSet` (see GetXssMatchSet), update
|
@@ -6657,8 +7513,22 @@ module Aws::WAFRegional
|
|
6657
7513
|
include Aws::Structure
|
6658
7514
|
end
|
6659
7515
|
|
7516
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7517
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7518
|
+
#
|
7519
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7520
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7521
|
+
# a single set of endpoints for regional and global use.
|
7522
|
+
#
|
7523
|
+
# </note>
|
7524
|
+
#
|
6660
7525
|
# The `Id` and `Name` of an `XssMatchSet`.
|
6661
7526
|
#
|
7527
|
+
#
|
7528
|
+
#
|
7529
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7530
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7531
|
+
#
|
6662
7532
|
# @!attribute [rw] xss_match_set_id
|
6663
7533
|
# A unique identifier for an `XssMatchSet`. You use `XssMatchSetId` to
|
6664
7534
|
# get information about a `XssMatchSet` (see GetXssMatchSet), update
|
@@ -6682,10 +7552,24 @@ module Aws::WAFRegional
|
|
6682
7552
|
include Aws::Structure
|
6683
7553
|
end
|
6684
7554
|
|
7555
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7556
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7557
|
+
#
|
7558
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7559
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7560
|
+
# a single set of endpoints for regional and global use.
|
7561
|
+
#
|
7562
|
+
# </note>
|
7563
|
+
#
|
6685
7564
|
# Specifies the part of a web request that you want to inspect for
|
6686
7565
|
# cross-site scripting attacks and indicates whether you want to add the
|
6687
7566
|
# specification to an XssMatchSet or delete it from an `XssMatchSet`.
|
6688
7567
|
#
|
7568
|
+
#
|
7569
|
+
#
|
7570
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7571
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7572
|
+
#
|
6689
7573
|
# @note When making an API call, you may pass XssMatchSetUpdate
|
6690
7574
|
# data as a hash:
|
6691
7575
|
#
|
@@ -6719,10 +7603,24 @@ module Aws::WAFRegional
|
|
6719
7603
|
include Aws::Structure
|
6720
7604
|
end
|
6721
7605
|
|
7606
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
7607
|
+
# [AWS WAF Classic][1] in the developer guide.
|
7608
|
+
#
|
7609
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
7610
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
7611
|
+
# a single set of endpoints for regional and global use.
|
7612
|
+
#
|
7613
|
+
# </note>
|
7614
|
+
#
|
6722
7615
|
# Specifies the part of a web request that you want AWS WAF to inspect
|
6723
7616
|
# for cross-site scripting attacks and, if you want AWS WAF to inspect a
|
6724
7617
|
# header, the name of the header.
|
6725
7618
|
#
|
7619
|
+
#
|
7620
|
+
#
|
7621
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7622
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7623
|
+
#
|
6726
7624
|
# @note When making an API call, you may pass XssMatchTuple
|
6727
7625
|
# data as a hash:
|
6728
7626
|
#
|
@@ -6743,7 +7641,7 @@ module Aws::WAFRegional
|
|
6743
7641
|
# Text transformations eliminate some of the unusual formatting that
|
6744
7642
|
# attackers use in web requests in an effort to bypass AWS WAF. If you
|
6745
7643
|
# specify a transformation, AWS WAF performs the transformation on
|
6746
|
-
# `FieldToMatch` before inspecting
|
7644
|
+
# `FieldToMatch` before inspecting it for a match.
|
6747
7645
|
#
|
6748
7646
|
# You can only specify a single type of TextTransformation.
|
6749
7647
|
#
|