aws-sdk-waf 1.57.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1141 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module WAF
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CreateByteMatchSetResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateByteMatchSetResponse]
78
+ def byte_match_set: () -> Types::ByteMatchSet
79
+ def change_token: () -> ::String
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_byte_match_set-instance_method
82
+ def create_byte_match_set: (
83
+ name: ::String,
84
+ change_token: ::String
85
+ ) -> _CreateByteMatchSetResponseSuccess
86
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateByteMatchSetResponseSuccess
87
+
88
+ interface _CreateGeoMatchSetResponseSuccess
89
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGeoMatchSetResponse]
90
+ def geo_match_set: () -> Types::GeoMatchSet
91
+ def change_token: () -> ::String
92
+ end
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_geo_match_set-instance_method
94
+ def create_geo_match_set: (
95
+ name: ::String,
96
+ change_token: ::String
97
+ ) -> _CreateGeoMatchSetResponseSuccess
98
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGeoMatchSetResponseSuccess
99
+
100
+ interface _CreateIPSetResponseSuccess
101
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateIPSetResponse]
102
+ def ip_set: () -> Types::IPSet
103
+ def change_token: () -> ::String
104
+ end
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_ip_set-instance_method
106
+ def create_ip_set: (
107
+ name: ::String,
108
+ change_token: ::String
109
+ ) -> _CreateIPSetResponseSuccess
110
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIPSetResponseSuccess
111
+
112
+ interface _CreateRateBasedRuleResponseSuccess
113
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRateBasedRuleResponse]
114
+ def rule: () -> Types::RateBasedRule
115
+ def change_token: () -> ::String
116
+ end
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_rate_based_rule-instance_method
118
+ def create_rate_based_rule: (
119
+ name: ::String,
120
+ metric_name: ::String,
121
+ rate_key: ("IP"),
122
+ rate_limit: ::Integer,
123
+ change_token: ::String,
124
+ ?tags: Array[
125
+ {
126
+ key: ::String,
127
+ value: ::String
128
+ },
129
+ ]
130
+ ) -> _CreateRateBasedRuleResponseSuccess
131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRateBasedRuleResponseSuccess
132
+
133
+ interface _CreateRegexMatchSetResponseSuccess
134
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRegexMatchSetResponse]
135
+ def regex_match_set: () -> Types::RegexMatchSet
136
+ def change_token: () -> ::String
137
+ end
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_regex_match_set-instance_method
139
+ def create_regex_match_set: (
140
+ name: ::String,
141
+ change_token: ::String
142
+ ) -> _CreateRegexMatchSetResponseSuccess
143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRegexMatchSetResponseSuccess
144
+
145
+ interface _CreateRegexPatternSetResponseSuccess
146
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRegexPatternSetResponse]
147
+ def regex_pattern_set: () -> Types::RegexPatternSet
148
+ def change_token: () -> ::String
149
+ end
150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_regex_pattern_set-instance_method
151
+ def create_regex_pattern_set: (
152
+ name: ::String,
153
+ change_token: ::String
154
+ ) -> _CreateRegexPatternSetResponseSuccess
155
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRegexPatternSetResponseSuccess
156
+
157
+ interface _CreateRuleResponseSuccess
158
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleResponse]
159
+ def rule: () -> Types::Rule
160
+ def change_token: () -> ::String
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_rule-instance_method
163
+ def create_rule: (
164
+ name: ::String,
165
+ metric_name: ::String,
166
+ change_token: ::String,
167
+ ?tags: Array[
168
+ {
169
+ key: ::String,
170
+ value: ::String
171
+ },
172
+ ]
173
+ ) -> _CreateRuleResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
175
+
176
+ interface _CreateRuleGroupResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleGroupResponse]
178
+ def rule_group: () -> Types::RuleGroup
179
+ def change_token: () -> ::String
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_rule_group-instance_method
182
+ def create_rule_group: (
183
+ name: ::String,
184
+ metric_name: ::String,
185
+ change_token: ::String,
186
+ ?tags: Array[
187
+ {
188
+ key: ::String,
189
+ value: ::String
190
+ },
191
+ ]
192
+ ) -> _CreateRuleGroupResponseSuccess
193
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleGroupResponseSuccess
194
+
195
+ interface _CreateSizeConstraintSetResponseSuccess
196
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSizeConstraintSetResponse]
197
+ def size_constraint_set: () -> Types::SizeConstraintSet
198
+ def change_token: () -> ::String
199
+ end
200
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_size_constraint_set-instance_method
201
+ def create_size_constraint_set: (
202
+ name: ::String,
203
+ change_token: ::String
204
+ ) -> _CreateSizeConstraintSetResponseSuccess
205
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSizeConstraintSetResponseSuccess
206
+
207
+ interface _CreateSqlInjectionMatchSetResponseSuccess
208
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSqlInjectionMatchSetResponse]
209
+ def sql_injection_match_set: () -> Types::SqlInjectionMatchSet
210
+ def change_token: () -> ::String
211
+ end
212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_sql_injection_match_set-instance_method
213
+ def create_sql_injection_match_set: (
214
+ name: ::String,
215
+ change_token: ::String
216
+ ) -> _CreateSqlInjectionMatchSetResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSqlInjectionMatchSetResponseSuccess
218
+
219
+ interface _CreateWebACLResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebACLResponse]
221
+ def web_acl: () -> Types::WebACL
222
+ def change_token: () -> ::String
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_web_acl-instance_method
225
+ def create_web_acl: (
226
+ name: ::String,
227
+ metric_name: ::String,
228
+ default_action: {
229
+ type: ("BLOCK" | "ALLOW" | "COUNT")
230
+ },
231
+ change_token: ::String,
232
+ ?tags: Array[
233
+ {
234
+ key: ::String,
235
+ value: ::String
236
+ },
237
+ ]
238
+ ) -> _CreateWebACLResponseSuccess
239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebACLResponseSuccess
240
+
241
+ interface _CreateWebACLMigrationStackResponseSuccess
242
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebACLMigrationStackResponse]
243
+ def s3_object_url: () -> ::String
244
+ end
245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_web_acl_migration_stack-instance_method
246
+ def create_web_acl_migration_stack: (
247
+ web_acl_id: ::String,
248
+ s3_bucket_name: ::String,
249
+ ignore_unsupported_type: bool
250
+ ) -> _CreateWebACLMigrationStackResponseSuccess
251
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebACLMigrationStackResponseSuccess
252
+
253
+ interface _CreateXssMatchSetResponseSuccess
254
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateXssMatchSetResponse]
255
+ def xss_match_set: () -> Types::XssMatchSet
256
+ def change_token: () -> ::String
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#create_xss_match_set-instance_method
259
+ def create_xss_match_set: (
260
+ name: ::String,
261
+ change_token: ::String
262
+ ) -> _CreateXssMatchSetResponseSuccess
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateXssMatchSetResponseSuccess
264
+
265
+ interface _DeleteByteMatchSetResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteByteMatchSetResponse]
267
+ def change_token: () -> ::String
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_byte_match_set-instance_method
270
+ def delete_byte_match_set: (
271
+ byte_match_set_id: ::String,
272
+ change_token: ::String
273
+ ) -> _DeleteByteMatchSetResponseSuccess
274
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteByteMatchSetResponseSuccess
275
+
276
+ interface _DeleteGeoMatchSetResponseSuccess
277
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGeoMatchSetResponse]
278
+ def change_token: () -> ::String
279
+ end
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_geo_match_set-instance_method
281
+ def delete_geo_match_set: (
282
+ geo_match_set_id: ::String,
283
+ change_token: ::String
284
+ ) -> _DeleteGeoMatchSetResponseSuccess
285
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGeoMatchSetResponseSuccess
286
+
287
+ interface _DeleteIPSetResponseSuccess
288
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIPSetResponse]
289
+ def change_token: () -> ::String
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_ip_set-instance_method
292
+ def delete_ip_set: (
293
+ ip_set_id: ::String,
294
+ change_token: ::String
295
+ ) -> _DeleteIPSetResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIPSetResponseSuccess
297
+
298
+ interface _DeleteLoggingConfigurationResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLoggingConfigurationResponse]
300
+ end
301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_logging_configuration-instance_method
302
+ def delete_logging_configuration: (
303
+ resource_arn: ::String
304
+ ) -> _DeleteLoggingConfigurationResponseSuccess
305
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLoggingConfigurationResponseSuccess
306
+
307
+ interface _DeletePermissionPolicyResponseSuccess
308
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePermissionPolicyResponse]
309
+ end
310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_permission_policy-instance_method
311
+ def delete_permission_policy: (
312
+ resource_arn: ::String
313
+ ) -> _DeletePermissionPolicyResponseSuccess
314
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePermissionPolicyResponseSuccess
315
+
316
+ interface _DeleteRateBasedRuleResponseSuccess
317
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRateBasedRuleResponse]
318
+ def change_token: () -> ::String
319
+ end
320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_rate_based_rule-instance_method
321
+ def delete_rate_based_rule: (
322
+ rule_id: ::String,
323
+ change_token: ::String
324
+ ) -> _DeleteRateBasedRuleResponseSuccess
325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRateBasedRuleResponseSuccess
326
+
327
+ interface _DeleteRegexMatchSetResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRegexMatchSetResponse]
329
+ def change_token: () -> ::String
330
+ end
331
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_regex_match_set-instance_method
332
+ def delete_regex_match_set: (
333
+ regex_match_set_id: ::String,
334
+ change_token: ::String
335
+ ) -> _DeleteRegexMatchSetResponseSuccess
336
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRegexMatchSetResponseSuccess
337
+
338
+ interface _DeleteRegexPatternSetResponseSuccess
339
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRegexPatternSetResponse]
340
+ def change_token: () -> ::String
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_regex_pattern_set-instance_method
343
+ def delete_regex_pattern_set: (
344
+ regex_pattern_set_id: ::String,
345
+ change_token: ::String
346
+ ) -> _DeleteRegexPatternSetResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRegexPatternSetResponseSuccess
348
+
349
+ interface _DeleteRuleResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleResponse]
351
+ def change_token: () -> ::String
352
+ end
353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_rule-instance_method
354
+ def delete_rule: (
355
+ rule_id: ::String,
356
+ change_token: ::String
357
+ ) -> _DeleteRuleResponseSuccess
358
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleResponseSuccess
359
+
360
+ interface _DeleteRuleGroupResponseSuccess
361
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleGroupResponse]
362
+ def change_token: () -> ::String
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_rule_group-instance_method
365
+ def delete_rule_group: (
366
+ rule_group_id: ::String,
367
+ change_token: ::String
368
+ ) -> _DeleteRuleGroupResponseSuccess
369
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleGroupResponseSuccess
370
+
371
+ interface _DeleteSizeConstraintSetResponseSuccess
372
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSizeConstraintSetResponse]
373
+ def change_token: () -> ::String
374
+ end
375
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_size_constraint_set-instance_method
376
+ def delete_size_constraint_set: (
377
+ size_constraint_set_id: ::String,
378
+ change_token: ::String
379
+ ) -> _DeleteSizeConstraintSetResponseSuccess
380
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSizeConstraintSetResponseSuccess
381
+
382
+ interface _DeleteSqlInjectionMatchSetResponseSuccess
383
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSqlInjectionMatchSetResponse]
384
+ def change_token: () -> ::String
385
+ end
386
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_sql_injection_match_set-instance_method
387
+ def delete_sql_injection_match_set: (
388
+ sql_injection_match_set_id: ::String,
389
+ change_token: ::String
390
+ ) -> _DeleteSqlInjectionMatchSetResponseSuccess
391
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSqlInjectionMatchSetResponseSuccess
392
+
393
+ interface _DeleteWebACLResponseSuccess
394
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWebACLResponse]
395
+ def change_token: () -> ::String
396
+ end
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_web_acl-instance_method
398
+ def delete_web_acl: (
399
+ web_acl_id: ::String,
400
+ change_token: ::String
401
+ ) -> _DeleteWebACLResponseSuccess
402
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWebACLResponseSuccess
403
+
404
+ interface _DeleteXssMatchSetResponseSuccess
405
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteXssMatchSetResponse]
406
+ def change_token: () -> ::String
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#delete_xss_match_set-instance_method
409
+ def delete_xss_match_set: (
410
+ xss_match_set_id: ::String,
411
+ change_token: ::String
412
+ ) -> _DeleteXssMatchSetResponseSuccess
413
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteXssMatchSetResponseSuccess
414
+
415
+ interface _GetByteMatchSetResponseSuccess
416
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetByteMatchSetResponse]
417
+ def byte_match_set: () -> Types::ByteMatchSet
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_byte_match_set-instance_method
420
+ def get_byte_match_set: (
421
+ byte_match_set_id: ::String
422
+ ) -> _GetByteMatchSetResponseSuccess
423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetByteMatchSetResponseSuccess
424
+
425
+ interface _GetChangeTokenResponseSuccess
426
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChangeTokenResponse]
427
+ def change_token: () -> ::String
428
+ end
429
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_change_token-instance_method
430
+ def get_change_token: (
431
+ ) -> _GetChangeTokenResponseSuccess
432
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChangeTokenResponseSuccess
433
+
434
+ interface _GetChangeTokenStatusResponseSuccess
435
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChangeTokenStatusResponse]
436
+ def change_token_status: () -> ("PROVISIONED" | "PENDING" | "INSYNC")
437
+ end
438
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_change_token_status-instance_method
439
+ def get_change_token_status: (
440
+ change_token: ::String
441
+ ) -> _GetChangeTokenStatusResponseSuccess
442
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChangeTokenStatusResponseSuccess
443
+
444
+ interface _GetGeoMatchSetResponseSuccess
445
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGeoMatchSetResponse]
446
+ def geo_match_set: () -> Types::GeoMatchSet
447
+ end
448
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_geo_match_set-instance_method
449
+ def get_geo_match_set: (
450
+ geo_match_set_id: ::String
451
+ ) -> _GetGeoMatchSetResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGeoMatchSetResponseSuccess
453
+
454
+ interface _GetIPSetResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIPSetResponse]
456
+ def ip_set: () -> Types::IPSet
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_ip_set-instance_method
459
+ def get_ip_set: (
460
+ ip_set_id: ::String
461
+ ) -> _GetIPSetResponseSuccess
462
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIPSetResponseSuccess
463
+
464
+ interface _GetLoggingConfigurationResponseSuccess
465
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLoggingConfigurationResponse]
466
+ def logging_configuration: () -> Types::LoggingConfiguration
467
+ end
468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_logging_configuration-instance_method
469
+ def get_logging_configuration: (
470
+ resource_arn: ::String
471
+ ) -> _GetLoggingConfigurationResponseSuccess
472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLoggingConfigurationResponseSuccess
473
+
474
+ interface _GetPermissionPolicyResponseSuccess
475
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPermissionPolicyResponse]
476
+ def policy: () -> ::String
477
+ end
478
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_permission_policy-instance_method
479
+ def get_permission_policy: (
480
+ resource_arn: ::String
481
+ ) -> _GetPermissionPolicyResponseSuccess
482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPermissionPolicyResponseSuccess
483
+
484
+ interface _GetRateBasedRuleResponseSuccess
485
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRateBasedRuleResponse]
486
+ def rule: () -> Types::RateBasedRule
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_rate_based_rule-instance_method
489
+ def get_rate_based_rule: (
490
+ rule_id: ::String
491
+ ) -> _GetRateBasedRuleResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRateBasedRuleResponseSuccess
493
+
494
+ interface _GetRateBasedRuleManagedKeysResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRateBasedRuleManagedKeysResponse]
496
+ def managed_keys: () -> ::Array[::String]
497
+ def next_marker: () -> ::String
498
+ end
499
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_rate_based_rule_managed_keys-instance_method
500
+ def get_rate_based_rule_managed_keys: (
501
+ rule_id: ::String,
502
+ ?next_marker: ::String
503
+ ) -> _GetRateBasedRuleManagedKeysResponseSuccess
504
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRateBasedRuleManagedKeysResponseSuccess
505
+
506
+ interface _GetRegexMatchSetResponseSuccess
507
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRegexMatchSetResponse]
508
+ def regex_match_set: () -> Types::RegexMatchSet
509
+ end
510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_regex_match_set-instance_method
511
+ def get_regex_match_set: (
512
+ regex_match_set_id: ::String
513
+ ) -> _GetRegexMatchSetResponseSuccess
514
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegexMatchSetResponseSuccess
515
+
516
+ interface _GetRegexPatternSetResponseSuccess
517
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRegexPatternSetResponse]
518
+ def regex_pattern_set: () -> Types::RegexPatternSet
519
+ end
520
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_regex_pattern_set-instance_method
521
+ def get_regex_pattern_set: (
522
+ regex_pattern_set_id: ::String
523
+ ) -> _GetRegexPatternSetResponseSuccess
524
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegexPatternSetResponseSuccess
525
+
526
+ interface _GetRuleResponseSuccess
527
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleResponse]
528
+ def rule: () -> Types::Rule
529
+ end
530
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_rule-instance_method
531
+ def get_rule: (
532
+ rule_id: ::String
533
+ ) -> _GetRuleResponseSuccess
534
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRuleResponseSuccess
535
+
536
+ interface _GetRuleGroupResponseSuccess
537
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleGroupResponse]
538
+ def rule_group: () -> Types::RuleGroup
539
+ end
540
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_rule_group-instance_method
541
+ def get_rule_group: (
542
+ rule_group_id: ::String
543
+ ) -> _GetRuleGroupResponseSuccess
544
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRuleGroupResponseSuccess
545
+
546
+ interface _GetSampledRequestsResponseSuccess
547
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSampledRequestsResponse]
548
+ def sampled_requests: () -> ::Array[Types::SampledHTTPRequest]
549
+ def population_size: () -> ::Integer
550
+ def time_window: () -> Types::TimeWindow
551
+ end
552
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_sampled_requests-instance_method
553
+ def get_sampled_requests: (
554
+ web_acl_id: ::String,
555
+ rule_id: ::String,
556
+ time_window: {
557
+ start_time: ::Time,
558
+ end_time: ::Time
559
+ },
560
+ max_items: ::Integer
561
+ ) -> _GetSampledRequestsResponseSuccess
562
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSampledRequestsResponseSuccess
563
+
564
+ interface _GetSizeConstraintSetResponseSuccess
565
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSizeConstraintSetResponse]
566
+ def size_constraint_set: () -> Types::SizeConstraintSet
567
+ end
568
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_size_constraint_set-instance_method
569
+ def get_size_constraint_set: (
570
+ size_constraint_set_id: ::String
571
+ ) -> _GetSizeConstraintSetResponseSuccess
572
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSizeConstraintSetResponseSuccess
573
+
574
+ interface _GetSqlInjectionMatchSetResponseSuccess
575
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSqlInjectionMatchSetResponse]
576
+ def sql_injection_match_set: () -> Types::SqlInjectionMatchSet
577
+ end
578
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_sql_injection_match_set-instance_method
579
+ def get_sql_injection_match_set: (
580
+ sql_injection_match_set_id: ::String
581
+ ) -> _GetSqlInjectionMatchSetResponseSuccess
582
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSqlInjectionMatchSetResponseSuccess
583
+
584
+ interface _GetWebACLResponseSuccess
585
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWebACLResponse]
586
+ def web_acl: () -> Types::WebACL
587
+ end
588
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_web_acl-instance_method
589
+ def get_web_acl: (
590
+ web_acl_id: ::String
591
+ ) -> _GetWebACLResponseSuccess
592
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWebACLResponseSuccess
593
+
594
+ interface _GetXssMatchSetResponseSuccess
595
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetXssMatchSetResponse]
596
+ def xss_match_set: () -> Types::XssMatchSet
597
+ end
598
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#get_xss_match_set-instance_method
599
+ def get_xss_match_set: (
600
+ xss_match_set_id: ::String
601
+ ) -> _GetXssMatchSetResponseSuccess
602
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetXssMatchSetResponseSuccess
603
+
604
+ interface _ListActivatedRulesInRuleGroupResponseSuccess
605
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListActivatedRulesInRuleGroupResponse]
606
+ def next_marker: () -> ::String
607
+ def activated_rules: () -> ::Array[Types::ActivatedRule]
608
+ end
609
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_activated_rules_in_rule_group-instance_method
610
+ def list_activated_rules_in_rule_group: (
611
+ ?rule_group_id: ::String,
612
+ ?next_marker: ::String,
613
+ ?limit: ::Integer
614
+ ) -> _ListActivatedRulesInRuleGroupResponseSuccess
615
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActivatedRulesInRuleGroupResponseSuccess
616
+
617
+ interface _ListByteMatchSetsResponseSuccess
618
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListByteMatchSetsResponse]
619
+ def next_marker: () -> ::String
620
+ def byte_match_sets: () -> ::Array[Types::ByteMatchSetSummary]
621
+ end
622
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_byte_match_sets-instance_method
623
+ def list_byte_match_sets: (
624
+ ?next_marker: ::String,
625
+ ?limit: ::Integer
626
+ ) -> _ListByteMatchSetsResponseSuccess
627
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListByteMatchSetsResponseSuccess
628
+
629
+ interface _ListGeoMatchSetsResponseSuccess
630
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGeoMatchSetsResponse]
631
+ def next_marker: () -> ::String
632
+ def geo_match_sets: () -> ::Array[Types::GeoMatchSetSummary]
633
+ end
634
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_geo_match_sets-instance_method
635
+ def list_geo_match_sets: (
636
+ ?next_marker: ::String,
637
+ ?limit: ::Integer
638
+ ) -> _ListGeoMatchSetsResponseSuccess
639
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGeoMatchSetsResponseSuccess
640
+
641
+ interface _ListIPSetsResponseSuccess
642
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIPSetsResponse]
643
+ def next_marker: () -> ::String
644
+ def ip_sets: () -> ::Array[Types::IPSetSummary]
645
+ end
646
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_ip_sets-instance_method
647
+ def list_ip_sets: (
648
+ ?next_marker: ::String,
649
+ ?limit: ::Integer
650
+ ) -> _ListIPSetsResponseSuccess
651
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIPSetsResponseSuccess
652
+
653
+ interface _ListLoggingConfigurationsResponseSuccess
654
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLoggingConfigurationsResponse]
655
+ def logging_configurations: () -> ::Array[Types::LoggingConfiguration]
656
+ def next_marker: () -> ::String
657
+ end
658
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_logging_configurations-instance_method
659
+ def list_logging_configurations: (
660
+ ?next_marker: ::String,
661
+ ?limit: ::Integer
662
+ ) -> _ListLoggingConfigurationsResponseSuccess
663
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLoggingConfigurationsResponseSuccess
664
+
665
+ interface _ListRateBasedRulesResponseSuccess
666
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRateBasedRulesResponse]
667
+ def next_marker: () -> ::String
668
+ def rules: () -> ::Array[Types::RuleSummary]
669
+ end
670
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_rate_based_rules-instance_method
671
+ def list_rate_based_rules: (
672
+ ?next_marker: ::String,
673
+ ?limit: ::Integer
674
+ ) -> _ListRateBasedRulesResponseSuccess
675
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRateBasedRulesResponseSuccess
676
+
677
+ interface _ListRegexMatchSetsResponseSuccess
678
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRegexMatchSetsResponse]
679
+ def next_marker: () -> ::String
680
+ def regex_match_sets: () -> ::Array[Types::RegexMatchSetSummary]
681
+ end
682
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_regex_match_sets-instance_method
683
+ def list_regex_match_sets: (
684
+ ?next_marker: ::String,
685
+ ?limit: ::Integer
686
+ ) -> _ListRegexMatchSetsResponseSuccess
687
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegexMatchSetsResponseSuccess
688
+
689
+ interface _ListRegexPatternSetsResponseSuccess
690
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRegexPatternSetsResponse]
691
+ def next_marker: () -> ::String
692
+ def regex_pattern_sets: () -> ::Array[Types::RegexPatternSetSummary]
693
+ end
694
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_regex_pattern_sets-instance_method
695
+ def list_regex_pattern_sets: (
696
+ ?next_marker: ::String,
697
+ ?limit: ::Integer
698
+ ) -> _ListRegexPatternSetsResponseSuccess
699
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegexPatternSetsResponseSuccess
700
+
701
+ interface _ListRuleGroupsResponseSuccess
702
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleGroupsResponse]
703
+ def next_marker: () -> ::String
704
+ def rule_groups: () -> ::Array[Types::RuleGroupSummary]
705
+ end
706
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_rule_groups-instance_method
707
+ def list_rule_groups: (
708
+ ?next_marker: ::String,
709
+ ?limit: ::Integer
710
+ ) -> _ListRuleGroupsResponseSuccess
711
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleGroupsResponseSuccess
712
+
713
+ interface _ListRulesResponseSuccess
714
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRulesResponse]
715
+ def next_marker: () -> ::String
716
+ def rules: () -> ::Array[Types::RuleSummary]
717
+ end
718
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_rules-instance_method
719
+ def list_rules: (
720
+ ?next_marker: ::String,
721
+ ?limit: ::Integer
722
+ ) -> _ListRulesResponseSuccess
723
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesResponseSuccess
724
+
725
+ interface _ListSizeConstraintSetsResponseSuccess
726
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSizeConstraintSetsResponse]
727
+ def next_marker: () -> ::String
728
+ def size_constraint_sets: () -> ::Array[Types::SizeConstraintSetSummary]
729
+ end
730
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_size_constraint_sets-instance_method
731
+ def list_size_constraint_sets: (
732
+ ?next_marker: ::String,
733
+ ?limit: ::Integer
734
+ ) -> _ListSizeConstraintSetsResponseSuccess
735
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSizeConstraintSetsResponseSuccess
736
+
737
+ interface _ListSqlInjectionMatchSetsResponseSuccess
738
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSqlInjectionMatchSetsResponse]
739
+ def next_marker: () -> ::String
740
+ def sql_injection_match_sets: () -> ::Array[Types::SqlInjectionMatchSetSummary]
741
+ end
742
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_sql_injection_match_sets-instance_method
743
+ def list_sql_injection_match_sets: (
744
+ ?next_marker: ::String,
745
+ ?limit: ::Integer
746
+ ) -> _ListSqlInjectionMatchSetsResponseSuccess
747
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSqlInjectionMatchSetsResponseSuccess
748
+
749
+ interface _ListSubscribedRuleGroupsResponseSuccess
750
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSubscribedRuleGroupsResponse]
751
+ def next_marker: () -> ::String
752
+ def rule_groups: () -> ::Array[Types::SubscribedRuleGroupSummary]
753
+ end
754
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_subscribed_rule_groups-instance_method
755
+ def list_subscribed_rule_groups: (
756
+ ?next_marker: ::String,
757
+ ?limit: ::Integer
758
+ ) -> _ListSubscribedRuleGroupsResponseSuccess
759
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSubscribedRuleGroupsResponseSuccess
760
+
761
+ interface _ListTagsForResourceResponseSuccess
762
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
763
+ def next_marker: () -> ::String
764
+ def tag_info_for_resource: () -> Types::TagInfoForResource
765
+ end
766
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_tags_for_resource-instance_method
767
+ def list_tags_for_resource: (
768
+ ?next_marker: ::String,
769
+ ?limit: ::Integer,
770
+ resource_arn: ::String
771
+ ) -> _ListTagsForResourceResponseSuccess
772
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
773
+
774
+ interface _ListWebACLsResponseSuccess
775
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWebACLsResponse]
776
+ def next_marker: () -> ::String
777
+ def web_acls: () -> ::Array[Types::WebACLSummary]
778
+ end
779
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_web_acls-instance_method
780
+ def list_web_acls: (
781
+ ?next_marker: ::String,
782
+ ?limit: ::Integer
783
+ ) -> _ListWebACLsResponseSuccess
784
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebACLsResponseSuccess
785
+
786
+ interface _ListXssMatchSetsResponseSuccess
787
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListXssMatchSetsResponse]
788
+ def next_marker: () -> ::String
789
+ def xss_match_sets: () -> ::Array[Types::XssMatchSetSummary]
790
+ end
791
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#list_xss_match_sets-instance_method
792
+ def list_xss_match_sets: (
793
+ ?next_marker: ::String,
794
+ ?limit: ::Integer
795
+ ) -> _ListXssMatchSetsResponseSuccess
796
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListXssMatchSetsResponseSuccess
797
+
798
+ interface _PutLoggingConfigurationResponseSuccess
799
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutLoggingConfigurationResponse]
800
+ def logging_configuration: () -> Types::LoggingConfiguration
801
+ end
802
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#put_logging_configuration-instance_method
803
+ def put_logging_configuration: (
804
+ logging_configuration: {
805
+ resource_arn: ::String,
806
+ log_destination_configs: Array[::String],
807
+ redacted_fields: Array[
808
+ {
809
+ type: ("URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"),
810
+ data: ::String?
811
+ },
812
+ ]?
813
+ }
814
+ ) -> _PutLoggingConfigurationResponseSuccess
815
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLoggingConfigurationResponseSuccess
816
+
817
+ interface _PutPermissionPolicyResponseSuccess
818
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutPermissionPolicyResponse]
819
+ end
820
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#put_permission_policy-instance_method
821
+ def put_permission_policy: (
822
+ resource_arn: ::String,
823
+ policy: ::String
824
+ ) -> _PutPermissionPolicyResponseSuccess
825
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPermissionPolicyResponseSuccess
826
+
827
+ interface _TagResourceResponseSuccess
828
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
829
+ end
830
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#tag_resource-instance_method
831
+ def tag_resource: (
832
+ resource_arn: ::String,
833
+ tags: Array[
834
+ {
835
+ key: ::String,
836
+ value: ::String
837
+ },
838
+ ]
839
+ ) -> _TagResourceResponseSuccess
840
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
841
+
842
+ interface _UntagResourceResponseSuccess
843
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
844
+ end
845
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#untag_resource-instance_method
846
+ def untag_resource: (
847
+ resource_arn: ::String,
848
+ tag_keys: Array[::String]
849
+ ) -> _UntagResourceResponseSuccess
850
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
851
+
852
+ interface _UpdateByteMatchSetResponseSuccess
853
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateByteMatchSetResponse]
854
+ def change_token: () -> ::String
855
+ end
856
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_byte_match_set-instance_method
857
+ def update_byte_match_set: (
858
+ byte_match_set_id: ::String,
859
+ change_token: ::String,
860
+ updates: Array[
861
+ {
862
+ action: ("INSERT" | "DELETE"),
863
+ byte_match_tuple: {
864
+ field_to_match: {
865
+ type: ("URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"),
866
+ data: ::String?
867
+ },
868
+ target_string: ::String,
869
+ text_transformation: ("NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE"),
870
+ positional_constraint: ("EXACTLY" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CONTAINS_WORD")
871
+ }
872
+ },
873
+ ]
874
+ ) -> _UpdateByteMatchSetResponseSuccess
875
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateByteMatchSetResponseSuccess
876
+
877
+ interface _UpdateGeoMatchSetResponseSuccess
878
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGeoMatchSetResponse]
879
+ def change_token: () -> ::String
880
+ end
881
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_geo_match_set-instance_method
882
+ def update_geo_match_set: (
883
+ geo_match_set_id: ::String,
884
+ change_token: ::String,
885
+ updates: Array[
886
+ {
887
+ action: ("INSERT" | "DELETE"),
888
+ geo_match_constraint: {
889
+ type: ("Country"),
890
+ value: ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW")
891
+ }
892
+ },
893
+ ]
894
+ ) -> _UpdateGeoMatchSetResponseSuccess
895
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGeoMatchSetResponseSuccess
896
+
897
+ interface _UpdateIPSetResponseSuccess
898
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIPSetResponse]
899
+ def change_token: () -> ::String
900
+ end
901
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_ip_set-instance_method
902
+ def update_ip_set: (
903
+ ip_set_id: ::String,
904
+ change_token: ::String,
905
+ updates: Array[
906
+ {
907
+ action: ("INSERT" | "DELETE"),
908
+ ip_set_descriptor: {
909
+ type: ("IPV4" | "IPV6"),
910
+ value: ::String
911
+ }
912
+ },
913
+ ]
914
+ ) -> _UpdateIPSetResponseSuccess
915
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIPSetResponseSuccess
916
+
917
+ interface _UpdateRateBasedRuleResponseSuccess
918
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRateBasedRuleResponse]
919
+ def change_token: () -> ::String
920
+ end
921
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_rate_based_rule-instance_method
922
+ def update_rate_based_rule: (
923
+ rule_id: ::String,
924
+ change_token: ::String,
925
+ updates: Array[
926
+ {
927
+ action: ("INSERT" | "DELETE"),
928
+ predicate: {
929
+ negated: bool,
930
+ type: ("IPMatch" | "ByteMatch" | "SqlInjectionMatch" | "GeoMatch" | "SizeConstraint" | "XssMatch" | "RegexMatch"),
931
+ data_id: ::String
932
+ }
933
+ },
934
+ ],
935
+ rate_limit: ::Integer
936
+ ) -> _UpdateRateBasedRuleResponseSuccess
937
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRateBasedRuleResponseSuccess
938
+
939
+ interface _UpdateRegexMatchSetResponseSuccess
940
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRegexMatchSetResponse]
941
+ def change_token: () -> ::String
942
+ end
943
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_regex_match_set-instance_method
944
+ def update_regex_match_set: (
945
+ regex_match_set_id: ::String,
946
+ updates: Array[
947
+ {
948
+ action: ("INSERT" | "DELETE"),
949
+ regex_match_tuple: {
950
+ field_to_match: {
951
+ type: ("URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"),
952
+ data: ::String?
953
+ },
954
+ text_transformation: ("NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE"),
955
+ regex_pattern_set_id: ::String
956
+ }
957
+ },
958
+ ],
959
+ change_token: ::String
960
+ ) -> _UpdateRegexMatchSetResponseSuccess
961
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRegexMatchSetResponseSuccess
962
+
963
+ interface _UpdateRegexPatternSetResponseSuccess
964
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRegexPatternSetResponse]
965
+ def change_token: () -> ::String
966
+ end
967
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_regex_pattern_set-instance_method
968
+ def update_regex_pattern_set: (
969
+ regex_pattern_set_id: ::String,
970
+ updates: Array[
971
+ {
972
+ action: ("INSERT" | "DELETE"),
973
+ regex_pattern_string: ::String
974
+ },
975
+ ],
976
+ change_token: ::String
977
+ ) -> _UpdateRegexPatternSetResponseSuccess
978
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRegexPatternSetResponseSuccess
979
+
980
+ interface _UpdateRuleResponseSuccess
981
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleResponse]
982
+ def change_token: () -> ::String
983
+ end
984
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_rule-instance_method
985
+ def update_rule: (
986
+ rule_id: ::String,
987
+ change_token: ::String,
988
+ updates: Array[
989
+ {
990
+ action: ("INSERT" | "DELETE"),
991
+ predicate: {
992
+ negated: bool,
993
+ type: ("IPMatch" | "ByteMatch" | "SqlInjectionMatch" | "GeoMatch" | "SizeConstraint" | "XssMatch" | "RegexMatch"),
994
+ data_id: ::String
995
+ }
996
+ },
997
+ ]
998
+ ) -> _UpdateRuleResponseSuccess
999
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleResponseSuccess
1000
+
1001
+ interface _UpdateRuleGroupResponseSuccess
1002
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleGroupResponse]
1003
+ def change_token: () -> ::String
1004
+ end
1005
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_rule_group-instance_method
1006
+ def update_rule_group: (
1007
+ rule_group_id: ::String,
1008
+ updates: Array[
1009
+ {
1010
+ action: ("INSERT" | "DELETE"),
1011
+ activated_rule: {
1012
+ priority: ::Integer,
1013
+ rule_id: ::String,
1014
+ action: {
1015
+ type: ("BLOCK" | "ALLOW" | "COUNT")
1016
+ }?,
1017
+ override_action: {
1018
+ type: ("NONE" | "COUNT")
1019
+ }?,
1020
+ type: ("REGULAR" | "RATE_BASED" | "GROUP")?,
1021
+ excluded_rules: Array[
1022
+ {
1023
+ rule_id: ::String
1024
+ },
1025
+ ]?
1026
+ }
1027
+ },
1028
+ ],
1029
+ change_token: ::String
1030
+ ) -> _UpdateRuleGroupResponseSuccess
1031
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleGroupResponseSuccess
1032
+
1033
+ interface _UpdateSizeConstraintSetResponseSuccess
1034
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSizeConstraintSetResponse]
1035
+ def change_token: () -> ::String
1036
+ end
1037
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_size_constraint_set-instance_method
1038
+ def update_size_constraint_set: (
1039
+ size_constraint_set_id: ::String,
1040
+ change_token: ::String,
1041
+ updates: Array[
1042
+ {
1043
+ action: ("INSERT" | "DELETE"),
1044
+ size_constraint: {
1045
+ field_to_match: {
1046
+ type: ("URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"),
1047
+ data: ::String?
1048
+ },
1049
+ text_transformation: ("NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE"),
1050
+ comparison_operator: ("EQ" | "NE" | "LE" | "LT" | "GE" | "GT"),
1051
+ size: ::Integer
1052
+ }
1053
+ },
1054
+ ]
1055
+ ) -> _UpdateSizeConstraintSetResponseSuccess
1056
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSizeConstraintSetResponseSuccess
1057
+
1058
+ interface _UpdateSqlInjectionMatchSetResponseSuccess
1059
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSqlInjectionMatchSetResponse]
1060
+ def change_token: () -> ::String
1061
+ end
1062
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_sql_injection_match_set-instance_method
1063
+ def update_sql_injection_match_set: (
1064
+ sql_injection_match_set_id: ::String,
1065
+ change_token: ::String,
1066
+ updates: Array[
1067
+ {
1068
+ action: ("INSERT" | "DELETE"),
1069
+ sql_injection_match_tuple: {
1070
+ field_to_match: {
1071
+ type: ("URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"),
1072
+ data: ::String?
1073
+ },
1074
+ text_transformation: ("NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE")
1075
+ }
1076
+ },
1077
+ ]
1078
+ ) -> _UpdateSqlInjectionMatchSetResponseSuccess
1079
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSqlInjectionMatchSetResponseSuccess
1080
+
1081
+ interface _UpdateWebACLResponseSuccess
1082
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWebACLResponse]
1083
+ def change_token: () -> ::String
1084
+ end
1085
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_web_acl-instance_method
1086
+ def update_web_acl: (
1087
+ web_acl_id: ::String,
1088
+ change_token: ::String,
1089
+ ?updates: Array[
1090
+ {
1091
+ action: ("INSERT" | "DELETE"),
1092
+ activated_rule: {
1093
+ priority: ::Integer,
1094
+ rule_id: ::String,
1095
+ action: {
1096
+ type: ("BLOCK" | "ALLOW" | "COUNT")
1097
+ }?,
1098
+ override_action: {
1099
+ type: ("NONE" | "COUNT")
1100
+ }?,
1101
+ type: ("REGULAR" | "RATE_BASED" | "GROUP")?,
1102
+ excluded_rules: Array[
1103
+ {
1104
+ rule_id: ::String
1105
+ },
1106
+ ]?
1107
+ }
1108
+ },
1109
+ ],
1110
+ ?default_action: {
1111
+ type: ("BLOCK" | "ALLOW" | "COUNT")
1112
+ }
1113
+ ) -> _UpdateWebACLResponseSuccess
1114
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebACLResponseSuccess
1115
+
1116
+ interface _UpdateXssMatchSetResponseSuccess
1117
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateXssMatchSetResponse]
1118
+ def change_token: () -> ::String
1119
+ end
1120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAF/Client.html#update_xss_match_set-instance_method
1121
+ def update_xss_match_set: (
1122
+ xss_match_set_id: ::String,
1123
+ change_token: ::String,
1124
+ updates: Array[
1125
+ {
1126
+ action: ("INSERT" | "DELETE"),
1127
+ xss_match_tuple: {
1128
+ field_to_match: {
1129
+ type: ("URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"),
1130
+ data: ::String?
1131
+ },
1132
+ text_transformation: ("NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE")
1133
+ }
1134
+ },
1135
+ ]
1136
+ ) -> _UpdateXssMatchSetResponseSuccess
1137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateXssMatchSetResponseSuccess
1138
+ end
1139
+ end
1140
+ end
1141
+