aws-sdk-wafv2 1.26.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +381 -7
- data/lib/aws-sdk-wafv2/client_api.rb +36 -1
- data/lib/aws-sdk-wafv2/types.rb +1096 -107
- data/lib/aws-sdk-wafv2.rb +1 -1
- metadata +4 -4
@@ -28,6 +28,9 @@ module Aws::WAFV2
|
|
28
28
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
29
29
|
ByteMatchStatement = Shapes::StructureShape.new(name: 'ByteMatchStatement')
|
30
30
|
CapacityUnit = Shapes::IntegerShape.new(name: 'CapacityUnit')
|
31
|
+
CaptchaAction = Shapes::StructureShape.new(name: 'CaptchaAction')
|
32
|
+
CaptchaConfig = Shapes::StructureShape.new(name: 'CaptchaConfig')
|
33
|
+
CaptchaResponse = Shapes::StructureShape.new(name: 'CaptchaResponse')
|
31
34
|
CheckCapacityRequest = Shapes::StructureShape.new(name: 'CheckCapacityRequest')
|
32
35
|
CheckCapacityResponse = Shapes::StructureShape.new(name: 'CheckCapacityResponse')
|
33
36
|
ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
|
@@ -80,6 +83,7 @@ module Aws::WAFV2
|
|
80
83
|
ErrorReason = Shapes::StringShape.new(name: 'ErrorReason')
|
81
84
|
ExcludedRule = Shapes::StructureShape.new(name: 'ExcludedRule')
|
82
85
|
ExcludedRules = Shapes::ListShape.new(name: 'ExcludedRules')
|
86
|
+
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
83
87
|
FallbackBehavior = Shapes::StringShape.new(name: 'FallbackBehavior')
|
84
88
|
FieldToMatch = Shapes::StructureShape.new(name: 'FieldToMatch')
|
85
89
|
FieldToMatchData = Shapes::StringShape.new(name: 'FieldToMatchData')
|
@@ -130,6 +134,7 @@ module Aws::WAFV2
|
|
130
134
|
IPSetSummaries = Shapes::ListShape.new(name: 'IPSetSummaries')
|
131
135
|
IPSetSummary = Shapes::StructureShape.new(name: 'IPSetSummary')
|
132
136
|
IPString = Shapes::StringShape.new(name: 'IPString')
|
137
|
+
ImmunityTimeProperty = Shapes::StructureShape.new(name: 'ImmunityTimeProperty')
|
133
138
|
JsonBody = Shapes::StructureShape.new(name: 'JsonBody')
|
134
139
|
JsonMatchPattern = Shapes::StructureShape.new(name: 'JsonMatchPattern')
|
135
140
|
JsonMatchScope = Shapes::StringShape.new(name: 'JsonMatchScope')
|
@@ -206,6 +211,7 @@ module Aws::WAFV2
|
|
206
211
|
RateLimit = Shapes::IntegerShape.new(name: 'RateLimit')
|
207
212
|
RedactedFields = Shapes::ListShape.new(name: 'RedactedFields')
|
208
213
|
Regex = Shapes::StructureShape.new(name: 'Regex')
|
214
|
+
RegexMatchStatement = Shapes::StructureShape.new(name: 'RegexMatchStatement')
|
209
215
|
RegexPatternSet = Shapes::StructureShape.new(name: 'RegexPatternSet')
|
210
216
|
RegexPatternSetReferenceStatement = Shapes::StructureShape.new(name: 'RegexPatternSetReferenceStatement')
|
211
217
|
RegexPatternSetSummaries = Shapes::ListShape.new(name: 'RegexPatternSetSummaries')
|
@@ -215,6 +221,7 @@ module Aws::WAFV2
|
|
215
221
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
216
222
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
217
223
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
224
|
+
ResponseCode = Shapes::IntegerShape.new(name: 'ResponseCode')
|
218
225
|
ResponseContent = Shapes::StringShape.new(name: 'ResponseContent')
|
219
226
|
ResponseContentType = Shapes::StringShape.new(name: 'ResponseContentType')
|
220
227
|
ResponseStatusCode = Shapes::IntegerShape.new(name: 'ResponseStatusCode')
|
@@ -237,6 +244,7 @@ module Aws::WAFV2
|
|
237
244
|
SingleQueryArgument = Shapes::StructureShape.new(name: 'SingleQueryArgument')
|
238
245
|
Size = Shapes::IntegerShape.new(name: 'Size')
|
239
246
|
SizeConstraintStatement = Shapes::StructureShape.new(name: 'SizeConstraintStatement')
|
247
|
+
SolveTimestamp = Shapes::IntegerShape.new(name: 'SolveTimestamp')
|
240
248
|
SqliMatchStatement = Shapes::StructureShape.new(name: 'SqliMatchStatement')
|
241
249
|
Statement = Shapes::StructureShape.new(name: 'Statement')
|
242
250
|
Statements = Shapes::ListShape.new(name: 'Statements')
|
@@ -254,6 +262,7 @@ module Aws::WAFV2
|
|
254
262
|
TextTransformations = Shapes::ListShape.new(name: 'TextTransformations')
|
255
263
|
TimeWindow = Shapes::StructureShape.new(name: 'TimeWindow')
|
256
264
|
TimeWindowDay = Shapes::IntegerShape.new(name: 'TimeWindowDay')
|
265
|
+
TimeWindowSecond = Shapes::IntegerShape.new(name: 'TimeWindowSecond')
|
257
266
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
258
267
|
URIString = Shapes::StringShape.new(name: 'URIString')
|
259
268
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -325,6 +334,17 @@ module Aws::WAFV2
|
|
325
334
|
ByteMatchStatement.add_member(:positional_constraint, Shapes::ShapeRef.new(shape: PositionalConstraint, required: true, location_name: "PositionalConstraint"))
|
326
335
|
ByteMatchStatement.struct_class = Types::ByteMatchStatement
|
327
336
|
|
337
|
+
CaptchaAction.add_member(:custom_request_handling, Shapes::ShapeRef.new(shape: CustomRequestHandling, location_name: "CustomRequestHandling"))
|
338
|
+
CaptchaAction.struct_class = Types::CaptchaAction
|
339
|
+
|
340
|
+
CaptchaConfig.add_member(:immunity_time_property, Shapes::ShapeRef.new(shape: ImmunityTimeProperty, location_name: "ImmunityTimeProperty"))
|
341
|
+
CaptchaConfig.struct_class = Types::CaptchaConfig
|
342
|
+
|
343
|
+
CaptchaResponse.add_member(:response_code, Shapes::ShapeRef.new(shape: ResponseCode, location_name: "ResponseCode"))
|
344
|
+
CaptchaResponse.add_member(:solve_timestamp, Shapes::ShapeRef.new(shape: SolveTimestamp, location_name: "SolveTimestamp"))
|
345
|
+
CaptchaResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
346
|
+
CaptchaResponse.struct_class = Types::CaptchaResponse
|
347
|
+
|
328
348
|
CheckCapacityRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
329
349
|
CheckCapacityRequest.add_member(:rules, Shapes::ShapeRef.new(shape: Rules, required: true, location_name: "Rules"))
|
330
350
|
CheckCapacityRequest.struct_class = Types::CheckCapacityRequest
|
@@ -385,6 +405,7 @@ module Aws::WAFV2
|
|
385
405
|
CreateWebACLRequest.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
|
386
406
|
CreateWebACLRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
387
407
|
CreateWebACLRequest.add_member(:custom_response_bodies, Shapes::ShapeRef.new(shape: CustomResponseBodies, location_name: "CustomResponseBodies"))
|
408
|
+
CreateWebACLRequest.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
|
388
409
|
CreateWebACLRequest.struct_class = Types::CreateWebACLRequest
|
389
410
|
|
390
411
|
CreateWebACLResponse.add_member(:summary, Shapes::ShapeRef.new(shape: WebACLSummary, location_name: "Summary"))
|
@@ -656,6 +677,9 @@ module Aws::WAFV2
|
|
656
677
|
IPSetSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ARN"))
|
657
678
|
IPSetSummary.struct_class = Types::IPSetSummary
|
658
679
|
|
680
|
+
ImmunityTimeProperty.add_member(:immunity_time, Shapes::ShapeRef.new(shape: TimeWindowSecond, required: true, location_name: "ImmunityTime"))
|
681
|
+
ImmunityTimeProperty.struct_class = Types::ImmunityTimeProperty
|
682
|
+
|
659
683
|
JsonBody.add_member(:match_pattern, Shapes::ShapeRef.new(shape: JsonMatchPattern, required: true, location_name: "MatchPattern"))
|
660
684
|
JsonBody.add_member(:match_scope, Shapes::ShapeRef.new(shape: JsonMatchScope, required: true, location_name: "MatchScope"))
|
661
685
|
JsonBody.add_member(:invalid_fallback_behavior, Shapes::ShapeRef.new(shape: BodyParsingFallbackBehavior, location_name: "InvalidFallbackBehavior"))
|
@@ -713,7 +737,7 @@ module Aws::WAFV2
|
|
713
737
|
ListIPSetsResponse.add_member(:ip_sets, Shapes::ShapeRef.new(shape: IPSetSummaries, location_name: "IPSets"))
|
714
738
|
ListIPSetsResponse.struct_class = Types::ListIPSetsResponse
|
715
739
|
|
716
|
-
ListLoggingConfigurationsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "Scope"))
|
740
|
+
ListLoggingConfigurationsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
717
741
|
ListLoggingConfigurationsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
718
742
|
ListLoggingConfigurationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
|
719
743
|
ListLoggingConfigurationsRequest.struct_class = Types::ListLoggingConfigurationsRequest
|
@@ -893,6 +917,11 @@ module Aws::WAFV2
|
|
893
917
|
Regex.add_member(:regex_string, Shapes::ShapeRef.new(shape: RegexPatternString, location_name: "RegexString"))
|
894
918
|
Regex.struct_class = Types::Regex
|
895
919
|
|
920
|
+
RegexMatchStatement.add_member(:regex_string, Shapes::ShapeRef.new(shape: RegexPatternString, required: true, location_name: "RegexString"))
|
921
|
+
RegexMatchStatement.add_member(:field_to_match, Shapes::ShapeRef.new(shape: FieldToMatch, required: true, location_name: "FieldToMatch"))
|
922
|
+
RegexMatchStatement.add_member(:text_transformations, Shapes::ShapeRef.new(shape: TextTransformations, required: true, location_name: "TextTransformations"))
|
923
|
+
RegexMatchStatement.struct_class = Types::RegexMatchStatement
|
924
|
+
|
896
925
|
RegexPatternSet.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location_name: "Name"))
|
897
926
|
RegexPatternSet.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, location_name: "Id"))
|
898
927
|
RegexPatternSet.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ARN"))
|
@@ -925,11 +954,13 @@ module Aws::WAFV2
|
|
925
954
|
Rule.add_member(:override_action, Shapes::ShapeRef.new(shape: OverrideAction, location_name: "OverrideAction"))
|
926
955
|
Rule.add_member(:rule_labels, Shapes::ShapeRef.new(shape: Labels, location_name: "RuleLabels"))
|
927
956
|
Rule.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
|
957
|
+
Rule.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
|
928
958
|
Rule.struct_class = Types::Rule
|
929
959
|
|
930
960
|
RuleAction.add_member(:block, Shapes::ShapeRef.new(shape: BlockAction, location_name: "Block"))
|
931
961
|
RuleAction.add_member(:allow, Shapes::ShapeRef.new(shape: AllowAction, location_name: "Allow"))
|
932
962
|
RuleAction.add_member(:count, Shapes::ShapeRef.new(shape: CountAction, location_name: "Count"))
|
963
|
+
RuleAction.add_member(:captcha, Shapes::ShapeRef.new(shape: CaptchaAction, location_name: "Captcha"))
|
933
964
|
RuleAction.struct_class = Types::RuleAction
|
934
965
|
|
935
966
|
RuleGroup.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
@@ -974,6 +1005,7 @@ module Aws::WAFV2
|
|
974
1005
|
SampledHTTPRequest.add_member(:request_headers_inserted, Shapes::ShapeRef.new(shape: HTTPHeaders, location_name: "RequestHeadersInserted"))
|
975
1006
|
SampledHTTPRequest.add_member(:response_code_sent, Shapes::ShapeRef.new(shape: ResponseStatusCode, location_name: "ResponseCodeSent"))
|
976
1007
|
SampledHTTPRequest.add_member(:labels, Shapes::ShapeRef.new(shape: Labels, location_name: "Labels"))
|
1008
|
+
SampledHTTPRequest.add_member(:captcha_response, Shapes::ShapeRef.new(shape: CaptchaResponse, location_name: "CaptchaResponse"))
|
977
1009
|
SampledHTTPRequest.struct_class = Types::SampledHTTPRequest
|
978
1010
|
|
979
1011
|
SampledHTTPRequests.member = Shapes::ShapeRef.new(shape: SampledHTTPRequest)
|
@@ -1008,6 +1040,7 @@ module Aws::WAFV2
|
|
1008
1040
|
Statement.add_member(:not_statement, Shapes::ShapeRef.new(shape: NotStatement, location_name: "NotStatement"))
|
1009
1041
|
Statement.add_member(:managed_rule_group_statement, Shapes::ShapeRef.new(shape: ManagedRuleGroupStatement, location_name: "ManagedRuleGroupStatement"))
|
1010
1042
|
Statement.add_member(:label_match_statement, Shapes::ShapeRef.new(shape: LabelMatchStatement, location_name: "LabelMatchStatement"))
|
1043
|
+
Statement.add_member(:regex_match_statement, Shapes::ShapeRef.new(shape: RegexMatchStatement, location_name: "RegexMatchStatement"))
|
1011
1044
|
Statement.struct_class = Types::Statement
|
1012
1045
|
|
1013
1046
|
Statements.member = Shapes::ShapeRef.new(shape: Statement)
|
@@ -1103,6 +1136,7 @@ module Aws::WAFV2
|
|
1103
1136
|
UpdateWebACLRequest.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
|
1104
1137
|
UpdateWebACLRequest.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, required: true, location_name: "LockToken"))
|
1105
1138
|
UpdateWebACLRequest.add_member(:custom_response_bodies, Shapes::ShapeRef.new(shape: CustomResponseBodies, location_name: "CustomResponseBodies"))
|
1139
|
+
UpdateWebACLRequest.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
|
1106
1140
|
UpdateWebACLRequest.struct_class = Types::UpdateWebACLRequest
|
1107
1141
|
|
1108
1142
|
UpdateWebACLResponse.add_member(:next_lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "NextLockToken"))
|
@@ -1186,6 +1220,7 @@ module Aws::WAFV2
|
|
1186
1220
|
WebACL.add_member(:managed_by_firewall_manager, Shapes::ShapeRef.new(shape: Boolean, location_name: "ManagedByFirewallManager"))
|
1187
1221
|
WebACL.add_member(:label_namespace, Shapes::ShapeRef.new(shape: LabelName, location_name: "LabelNamespace"))
|
1188
1222
|
WebACL.add_member(:custom_response_bodies, Shapes::ShapeRef.new(shape: CustomResponseBodies, location_name: "CustomResponseBodies"))
|
1223
|
+
WebACL.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
|
1189
1224
|
WebACL.struct_class = Types::WebACL
|
1190
1225
|
|
1191
1226
|
WebACLSummaries.member = Shapes::ShapeRef.new(shape: WebACLSummary)
|