aws-sdk-networkfirewall 1.39.0 → 1.40.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkfirewall/client.rb +1 -1
- data/lib/aws-sdk-networkfirewall/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-networkfirewall.rb +1 -1
- data/sig/client.rbs +1031 -0
- data/sig/errors.rbs +52 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +982 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,1031 @@
|
|
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 NetworkFirewall
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/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 _AssociateFirewallPolicyResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateFirewallPolicyResponse]
|
78
|
+
def firewall_arn: () -> ::String
|
79
|
+
def firewall_name: () -> ::String
|
80
|
+
def firewall_policy_arn: () -> ::String
|
81
|
+
def update_token: () -> ::String
|
82
|
+
end
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#associate_firewall_policy-instance_method
|
84
|
+
def associate_firewall_policy: (
|
85
|
+
?update_token: ::String,
|
86
|
+
?firewall_arn: ::String,
|
87
|
+
?firewall_name: ::String,
|
88
|
+
firewall_policy_arn: ::String
|
89
|
+
) -> _AssociateFirewallPolicyResponseSuccess
|
90
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateFirewallPolicyResponseSuccess
|
91
|
+
|
92
|
+
interface _AssociateSubnetsResponseSuccess
|
93
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSubnetsResponse]
|
94
|
+
def firewall_arn: () -> ::String
|
95
|
+
def firewall_name: () -> ::String
|
96
|
+
def subnet_mappings: () -> ::Array[Types::SubnetMapping]
|
97
|
+
def update_token: () -> ::String
|
98
|
+
end
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#associate_subnets-instance_method
|
100
|
+
def associate_subnets: (
|
101
|
+
?update_token: ::String,
|
102
|
+
?firewall_arn: ::String,
|
103
|
+
?firewall_name: ::String,
|
104
|
+
subnet_mappings: Array[
|
105
|
+
{
|
106
|
+
subnet_id: ::String,
|
107
|
+
ip_address_type: ("DUALSTACK" | "IPV4" | "IPV6")?
|
108
|
+
},
|
109
|
+
]
|
110
|
+
) -> _AssociateSubnetsResponseSuccess
|
111
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSubnetsResponseSuccess
|
112
|
+
|
113
|
+
interface _CreateFirewallResponseSuccess
|
114
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFirewallResponse]
|
115
|
+
def firewall: () -> Types::Firewall
|
116
|
+
def firewall_status: () -> Types::FirewallStatus
|
117
|
+
end
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#create_firewall-instance_method
|
119
|
+
def create_firewall: (
|
120
|
+
firewall_name: ::String,
|
121
|
+
firewall_policy_arn: ::String,
|
122
|
+
vpc_id: ::String,
|
123
|
+
subnet_mappings: Array[
|
124
|
+
{
|
125
|
+
subnet_id: ::String,
|
126
|
+
ip_address_type: ("DUALSTACK" | "IPV4" | "IPV6")?
|
127
|
+
},
|
128
|
+
],
|
129
|
+
?delete_protection: bool,
|
130
|
+
?subnet_change_protection: bool,
|
131
|
+
?firewall_policy_change_protection: bool,
|
132
|
+
?description: ::String,
|
133
|
+
?tags: Array[
|
134
|
+
{
|
135
|
+
key: ::String,
|
136
|
+
value: ::String
|
137
|
+
},
|
138
|
+
],
|
139
|
+
?encryption_configuration: {
|
140
|
+
key_id: ::String?,
|
141
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
142
|
+
}
|
143
|
+
) -> _CreateFirewallResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFirewallResponseSuccess
|
145
|
+
|
146
|
+
interface _CreateFirewallPolicyResponseSuccess
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFirewallPolicyResponse]
|
148
|
+
def update_token: () -> ::String
|
149
|
+
def firewall_policy_response: () -> Types::FirewallPolicyResponse
|
150
|
+
end
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#create_firewall_policy-instance_method
|
152
|
+
def create_firewall_policy: (
|
153
|
+
firewall_policy_name: ::String,
|
154
|
+
firewall_policy: {
|
155
|
+
stateless_rule_group_references: Array[
|
156
|
+
{
|
157
|
+
resource_arn: ::String,
|
158
|
+
priority: ::Integer
|
159
|
+
},
|
160
|
+
]?,
|
161
|
+
stateless_default_actions: Array[::String],
|
162
|
+
stateless_fragment_default_actions: Array[::String],
|
163
|
+
stateless_custom_actions: Array[
|
164
|
+
{
|
165
|
+
action_name: ::String,
|
166
|
+
action_definition: {
|
167
|
+
publish_metric_action: {
|
168
|
+
dimensions: Array[
|
169
|
+
{
|
170
|
+
value: ::String
|
171
|
+
},
|
172
|
+
]
|
173
|
+
}?
|
174
|
+
}
|
175
|
+
},
|
176
|
+
]?,
|
177
|
+
stateful_rule_group_references: Array[
|
178
|
+
{
|
179
|
+
resource_arn: ::String,
|
180
|
+
priority: ::Integer?,
|
181
|
+
override: {
|
182
|
+
action: ("DROP_TO_ALERT")?
|
183
|
+
}?
|
184
|
+
},
|
185
|
+
]?,
|
186
|
+
stateful_default_actions: Array[::String]?,
|
187
|
+
stateful_engine_options: {
|
188
|
+
rule_order: ("DEFAULT_ACTION_ORDER" | "STRICT_ORDER")?,
|
189
|
+
stream_exception_policy: ("DROP" | "CONTINUE" | "REJECT")?
|
190
|
+
}?,
|
191
|
+
tls_inspection_configuration_arn: ::String?,
|
192
|
+
policy_variables: {
|
193
|
+
rule_variables: Hash[::String, {
|
194
|
+
definition: Array[::String]
|
195
|
+
}]?
|
196
|
+
}?
|
197
|
+
},
|
198
|
+
?description: ::String,
|
199
|
+
?tags: Array[
|
200
|
+
{
|
201
|
+
key: ::String,
|
202
|
+
value: ::String
|
203
|
+
},
|
204
|
+
],
|
205
|
+
?dry_run: bool,
|
206
|
+
?encryption_configuration: {
|
207
|
+
key_id: ::String?,
|
208
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
209
|
+
}
|
210
|
+
) -> _CreateFirewallPolicyResponseSuccess
|
211
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFirewallPolicyResponseSuccess
|
212
|
+
|
213
|
+
interface _CreateRuleGroupResponseSuccess
|
214
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleGroupResponse]
|
215
|
+
def update_token: () -> ::String
|
216
|
+
def rule_group_response: () -> Types::RuleGroupResponse
|
217
|
+
end
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#create_rule_group-instance_method
|
219
|
+
def create_rule_group: (
|
220
|
+
rule_group_name: ::String,
|
221
|
+
?rule_group: {
|
222
|
+
rule_variables: {
|
223
|
+
ip_sets: Hash[::String, {
|
224
|
+
definition: Array[::String]
|
225
|
+
}]?,
|
226
|
+
port_sets: Hash[::String, {
|
227
|
+
definition: Array[::String]?
|
228
|
+
}]?
|
229
|
+
}?,
|
230
|
+
reference_sets: {
|
231
|
+
ip_set_references: Hash[::String, {
|
232
|
+
reference_arn: ::String?
|
233
|
+
}]?
|
234
|
+
}?,
|
235
|
+
rules_source: {
|
236
|
+
rules_string: ::String?,
|
237
|
+
rules_source_list: {
|
238
|
+
targets: Array[::String],
|
239
|
+
target_types: Array[("TLS_SNI" | "HTTP_HOST")],
|
240
|
+
generated_rules_type: ("ALLOWLIST" | "DENYLIST")
|
241
|
+
}?,
|
242
|
+
stateful_rules: Array[
|
243
|
+
{
|
244
|
+
action: ("PASS" | "DROP" | "ALERT" | "REJECT"),
|
245
|
+
header: {
|
246
|
+
protocol: ("IP" | "TCP" | "UDP" | "ICMP" | "HTTP" | "FTP" | "TLS" | "SMB" | "DNS" | "DCERPC" | "SSH" | "SMTP" | "IMAP" | "MSN" | "KRB5" | "IKEV2" | "TFTP" | "NTP" | "DHCP"),
|
247
|
+
source: ::String,
|
248
|
+
source_port: ::String,
|
249
|
+
direction: ("FORWARD" | "ANY"),
|
250
|
+
destination: ::String,
|
251
|
+
destination_port: ::String
|
252
|
+
},
|
253
|
+
rule_options: Array[
|
254
|
+
{
|
255
|
+
keyword: ::String,
|
256
|
+
settings: Array[::String]?
|
257
|
+
},
|
258
|
+
]
|
259
|
+
},
|
260
|
+
]?,
|
261
|
+
stateless_rules_and_custom_actions: {
|
262
|
+
stateless_rules: Array[
|
263
|
+
{
|
264
|
+
rule_definition: {
|
265
|
+
match_attributes: {
|
266
|
+
sources: Array[
|
267
|
+
{
|
268
|
+
address_definition: ::String
|
269
|
+
},
|
270
|
+
]?,
|
271
|
+
destinations: Array[
|
272
|
+
{
|
273
|
+
address_definition: ::String
|
274
|
+
},
|
275
|
+
]?,
|
276
|
+
source_ports: Array[
|
277
|
+
{
|
278
|
+
from_port: ::Integer,
|
279
|
+
to_port: ::Integer
|
280
|
+
},
|
281
|
+
]?,
|
282
|
+
destination_ports: Array[
|
283
|
+
{
|
284
|
+
from_port: ::Integer,
|
285
|
+
to_port: ::Integer
|
286
|
+
},
|
287
|
+
]?,
|
288
|
+
protocols: Array[::Integer]?,
|
289
|
+
tcp_flags: Array[
|
290
|
+
{
|
291
|
+
flags: Array[("FIN" | "SYN" | "RST" | "PSH" | "ACK" | "URG" | "ECE" | "CWR")],
|
292
|
+
masks: Array[("FIN" | "SYN" | "RST" | "PSH" | "ACK" | "URG" | "ECE" | "CWR")]?
|
293
|
+
},
|
294
|
+
]?
|
295
|
+
},
|
296
|
+
actions: Array[::String]
|
297
|
+
},
|
298
|
+
priority: ::Integer
|
299
|
+
},
|
300
|
+
],
|
301
|
+
custom_actions: Array[
|
302
|
+
{
|
303
|
+
action_name: ::String,
|
304
|
+
action_definition: {
|
305
|
+
publish_metric_action: {
|
306
|
+
dimensions: Array[
|
307
|
+
{
|
308
|
+
value: ::String
|
309
|
+
},
|
310
|
+
]
|
311
|
+
}?
|
312
|
+
}
|
313
|
+
},
|
314
|
+
]?
|
315
|
+
}?
|
316
|
+
},
|
317
|
+
stateful_rule_options: {
|
318
|
+
rule_order: ("DEFAULT_ACTION_ORDER" | "STRICT_ORDER")?
|
319
|
+
}?
|
320
|
+
},
|
321
|
+
?rules: ::String,
|
322
|
+
type: ("STATELESS" | "STATEFUL"),
|
323
|
+
?description: ::String,
|
324
|
+
capacity: ::Integer,
|
325
|
+
?tags: Array[
|
326
|
+
{
|
327
|
+
key: ::String,
|
328
|
+
value: ::String
|
329
|
+
},
|
330
|
+
],
|
331
|
+
?dry_run: bool,
|
332
|
+
?encryption_configuration: {
|
333
|
+
key_id: ::String?,
|
334
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
335
|
+
},
|
336
|
+
?source_metadata: {
|
337
|
+
source_arn: ::String?,
|
338
|
+
source_update_token: ::String?
|
339
|
+
},
|
340
|
+
?analyze_rule_group: bool
|
341
|
+
) -> _CreateRuleGroupResponseSuccess
|
342
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleGroupResponseSuccess
|
343
|
+
|
344
|
+
interface _CreateTLSInspectionConfigurationResponseSuccess
|
345
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTLSInspectionConfigurationResponse]
|
346
|
+
def update_token: () -> ::String
|
347
|
+
def tls_inspection_configuration_response: () -> Types::TLSInspectionConfigurationResponse
|
348
|
+
end
|
349
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#create_tls_inspection_configuration-instance_method
|
350
|
+
def create_tls_inspection_configuration: (
|
351
|
+
tls_inspection_configuration_name: ::String,
|
352
|
+
tls_inspection_configuration: {
|
353
|
+
server_certificate_configurations: Array[
|
354
|
+
{
|
355
|
+
server_certificates: Array[
|
356
|
+
{
|
357
|
+
resource_arn: ::String?
|
358
|
+
},
|
359
|
+
]?,
|
360
|
+
scopes: Array[
|
361
|
+
{
|
362
|
+
sources: Array[
|
363
|
+
{
|
364
|
+
address_definition: ::String
|
365
|
+
},
|
366
|
+
]?,
|
367
|
+
destinations: Array[
|
368
|
+
{
|
369
|
+
address_definition: ::String
|
370
|
+
},
|
371
|
+
]?,
|
372
|
+
source_ports: Array[
|
373
|
+
{
|
374
|
+
from_port: ::Integer,
|
375
|
+
to_port: ::Integer
|
376
|
+
},
|
377
|
+
]?,
|
378
|
+
destination_ports: Array[
|
379
|
+
{
|
380
|
+
from_port: ::Integer,
|
381
|
+
to_port: ::Integer
|
382
|
+
},
|
383
|
+
]?,
|
384
|
+
protocols: Array[::Integer]?
|
385
|
+
},
|
386
|
+
]?,
|
387
|
+
certificate_authority_arn: ::String?,
|
388
|
+
check_certificate_revocation_status: {
|
389
|
+
revoked_status_action: ("PASS" | "DROP" | "REJECT")?,
|
390
|
+
unknown_status_action: ("PASS" | "DROP" | "REJECT")?
|
391
|
+
}?
|
392
|
+
},
|
393
|
+
]?
|
394
|
+
},
|
395
|
+
?description: ::String,
|
396
|
+
?tags: Array[
|
397
|
+
{
|
398
|
+
key: ::String,
|
399
|
+
value: ::String
|
400
|
+
},
|
401
|
+
],
|
402
|
+
?encryption_configuration: {
|
403
|
+
key_id: ::String?,
|
404
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
405
|
+
}
|
406
|
+
) -> _CreateTLSInspectionConfigurationResponseSuccess
|
407
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTLSInspectionConfigurationResponseSuccess
|
408
|
+
|
409
|
+
interface _DeleteFirewallResponseSuccess
|
410
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFirewallResponse]
|
411
|
+
def firewall: () -> Types::Firewall
|
412
|
+
def firewall_status: () -> Types::FirewallStatus
|
413
|
+
end
|
414
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#delete_firewall-instance_method
|
415
|
+
def delete_firewall: (
|
416
|
+
?firewall_name: ::String,
|
417
|
+
?firewall_arn: ::String
|
418
|
+
) -> _DeleteFirewallResponseSuccess
|
419
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFirewallResponseSuccess
|
420
|
+
|
421
|
+
interface _DeleteFirewallPolicyResponseSuccess
|
422
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFirewallPolicyResponse]
|
423
|
+
def firewall_policy_response: () -> Types::FirewallPolicyResponse
|
424
|
+
end
|
425
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#delete_firewall_policy-instance_method
|
426
|
+
def delete_firewall_policy: (
|
427
|
+
?firewall_policy_name: ::String,
|
428
|
+
?firewall_policy_arn: ::String
|
429
|
+
) -> _DeleteFirewallPolicyResponseSuccess
|
430
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFirewallPolicyResponseSuccess
|
431
|
+
|
432
|
+
interface _DeleteResourcePolicyResponseSuccess
|
433
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
|
434
|
+
end
|
435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#delete_resource_policy-instance_method
|
436
|
+
def delete_resource_policy: (
|
437
|
+
resource_arn: ::String
|
438
|
+
) -> _DeleteResourcePolicyResponseSuccess
|
439
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
440
|
+
|
441
|
+
interface _DeleteRuleGroupResponseSuccess
|
442
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleGroupResponse]
|
443
|
+
def rule_group_response: () -> Types::RuleGroupResponse
|
444
|
+
end
|
445
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#delete_rule_group-instance_method
|
446
|
+
def delete_rule_group: (
|
447
|
+
?rule_group_name: ::String,
|
448
|
+
?rule_group_arn: ::String,
|
449
|
+
?type: ("STATELESS" | "STATEFUL")
|
450
|
+
) -> _DeleteRuleGroupResponseSuccess
|
451
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleGroupResponseSuccess
|
452
|
+
|
453
|
+
interface _DeleteTLSInspectionConfigurationResponseSuccess
|
454
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTLSInspectionConfigurationResponse]
|
455
|
+
def tls_inspection_configuration_response: () -> Types::TLSInspectionConfigurationResponse
|
456
|
+
end
|
457
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#delete_tls_inspection_configuration-instance_method
|
458
|
+
def delete_tls_inspection_configuration: (
|
459
|
+
?tls_inspection_configuration_arn: ::String,
|
460
|
+
?tls_inspection_configuration_name: ::String
|
461
|
+
) -> _DeleteTLSInspectionConfigurationResponseSuccess
|
462
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTLSInspectionConfigurationResponseSuccess
|
463
|
+
|
464
|
+
interface _DescribeFirewallResponseSuccess
|
465
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFirewallResponse]
|
466
|
+
def update_token: () -> ::String
|
467
|
+
def firewall: () -> Types::Firewall
|
468
|
+
def firewall_status: () -> Types::FirewallStatus
|
469
|
+
end
|
470
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_firewall-instance_method
|
471
|
+
def describe_firewall: (
|
472
|
+
?firewall_name: ::String,
|
473
|
+
?firewall_arn: ::String
|
474
|
+
) -> _DescribeFirewallResponseSuccess
|
475
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFirewallResponseSuccess
|
476
|
+
|
477
|
+
interface _DescribeFirewallPolicyResponseSuccess
|
478
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFirewallPolicyResponse]
|
479
|
+
def update_token: () -> ::String
|
480
|
+
def firewall_policy_response: () -> Types::FirewallPolicyResponse
|
481
|
+
def firewall_policy: () -> Types::FirewallPolicy
|
482
|
+
end
|
483
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_firewall_policy-instance_method
|
484
|
+
def describe_firewall_policy: (
|
485
|
+
?firewall_policy_name: ::String,
|
486
|
+
?firewall_policy_arn: ::String
|
487
|
+
) -> _DescribeFirewallPolicyResponseSuccess
|
488
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFirewallPolicyResponseSuccess
|
489
|
+
|
490
|
+
interface _DescribeLoggingConfigurationResponseSuccess
|
491
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLoggingConfigurationResponse]
|
492
|
+
def firewall_arn: () -> ::String
|
493
|
+
def logging_configuration: () -> Types::LoggingConfiguration
|
494
|
+
end
|
495
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_logging_configuration-instance_method
|
496
|
+
def describe_logging_configuration: (
|
497
|
+
?firewall_arn: ::String,
|
498
|
+
?firewall_name: ::String
|
499
|
+
) -> _DescribeLoggingConfigurationResponseSuccess
|
500
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLoggingConfigurationResponseSuccess
|
501
|
+
|
502
|
+
interface _DescribeResourcePolicyResponseSuccess
|
503
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourcePolicyResponse]
|
504
|
+
def policy: () -> ::String
|
505
|
+
end
|
506
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_resource_policy-instance_method
|
507
|
+
def describe_resource_policy: (
|
508
|
+
resource_arn: ::String
|
509
|
+
) -> _DescribeResourcePolicyResponseSuccess
|
510
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePolicyResponseSuccess
|
511
|
+
|
512
|
+
interface _DescribeRuleGroupResponseSuccess
|
513
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRuleGroupResponse]
|
514
|
+
def update_token: () -> ::String
|
515
|
+
def rule_group: () -> Types::RuleGroup
|
516
|
+
def rule_group_response: () -> Types::RuleGroupResponse
|
517
|
+
end
|
518
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_rule_group-instance_method
|
519
|
+
def describe_rule_group: (
|
520
|
+
?rule_group_name: ::String,
|
521
|
+
?rule_group_arn: ::String,
|
522
|
+
?type: ("STATELESS" | "STATEFUL"),
|
523
|
+
?analyze_rule_group: bool
|
524
|
+
) -> _DescribeRuleGroupResponseSuccess
|
525
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRuleGroupResponseSuccess
|
526
|
+
|
527
|
+
interface _DescribeRuleGroupMetadataResponseSuccess
|
528
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRuleGroupMetadataResponse]
|
529
|
+
def rule_group_arn: () -> ::String
|
530
|
+
def rule_group_name: () -> ::String
|
531
|
+
def description: () -> ::String
|
532
|
+
def type: () -> ("STATELESS" | "STATEFUL")
|
533
|
+
def capacity: () -> ::Integer
|
534
|
+
def stateful_rule_options: () -> Types::StatefulRuleOptions
|
535
|
+
def last_modified_time: () -> ::Time
|
536
|
+
end
|
537
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_rule_group_metadata-instance_method
|
538
|
+
def describe_rule_group_metadata: (
|
539
|
+
?rule_group_name: ::String,
|
540
|
+
?rule_group_arn: ::String,
|
541
|
+
?type: ("STATELESS" | "STATEFUL")
|
542
|
+
) -> _DescribeRuleGroupMetadataResponseSuccess
|
543
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRuleGroupMetadataResponseSuccess
|
544
|
+
|
545
|
+
interface _DescribeTLSInspectionConfigurationResponseSuccess
|
546
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTLSInspectionConfigurationResponse]
|
547
|
+
def update_token: () -> ::String
|
548
|
+
def tls_inspection_configuration: () -> Types::TLSInspectionConfiguration
|
549
|
+
def tls_inspection_configuration_response: () -> Types::TLSInspectionConfigurationResponse
|
550
|
+
end
|
551
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_tls_inspection_configuration-instance_method
|
552
|
+
def describe_tls_inspection_configuration: (
|
553
|
+
?tls_inspection_configuration_arn: ::String,
|
554
|
+
?tls_inspection_configuration_name: ::String
|
555
|
+
) -> _DescribeTLSInspectionConfigurationResponseSuccess
|
556
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTLSInspectionConfigurationResponseSuccess
|
557
|
+
|
558
|
+
interface _DisassociateSubnetsResponseSuccess
|
559
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSubnetsResponse]
|
560
|
+
def firewall_arn: () -> ::String
|
561
|
+
def firewall_name: () -> ::String
|
562
|
+
def subnet_mappings: () -> ::Array[Types::SubnetMapping]
|
563
|
+
def update_token: () -> ::String
|
564
|
+
end
|
565
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#disassociate_subnets-instance_method
|
566
|
+
def disassociate_subnets: (
|
567
|
+
?update_token: ::String,
|
568
|
+
?firewall_arn: ::String,
|
569
|
+
?firewall_name: ::String,
|
570
|
+
subnet_ids: Array[::String]
|
571
|
+
) -> _DisassociateSubnetsResponseSuccess
|
572
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSubnetsResponseSuccess
|
573
|
+
|
574
|
+
interface _ListFirewallPoliciesResponseSuccess
|
575
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFirewallPoliciesResponse]
|
576
|
+
def next_token: () -> ::String
|
577
|
+
def firewall_policies: () -> ::Array[Types::FirewallPolicyMetadata]
|
578
|
+
end
|
579
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#list_firewall_policies-instance_method
|
580
|
+
def list_firewall_policies: (
|
581
|
+
?next_token: ::String,
|
582
|
+
?max_results: ::Integer
|
583
|
+
) -> _ListFirewallPoliciesResponseSuccess
|
584
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFirewallPoliciesResponseSuccess
|
585
|
+
|
586
|
+
interface _ListFirewallsResponseSuccess
|
587
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFirewallsResponse]
|
588
|
+
def next_token: () -> ::String
|
589
|
+
def firewalls: () -> ::Array[Types::FirewallMetadata]
|
590
|
+
end
|
591
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#list_firewalls-instance_method
|
592
|
+
def list_firewalls: (
|
593
|
+
?next_token: ::String,
|
594
|
+
?vpc_ids: Array[::String],
|
595
|
+
?max_results: ::Integer
|
596
|
+
) -> _ListFirewallsResponseSuccess
|
597
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFirewallsResponseSuccess
|
598
|
+
|
599
|
+
interface _ListRuleGroupsResponseSuccess
|
600
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleGroupsResponse]
|
601
|
+
def next_token: () -> ::String
|
602
|
+
def rule_groups: () -> ::Array[Types::RuleGroupMetadata]
|
603
|
+
end
|
604
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#list_rule_groups-instance_method
|
605
|
+
def list_rule_groups: (
|
606
|
+
?next_token: ::String,
|
607
|
+
?max_results: ::Integer,
|
608
|
+
?scope: ("MANAGED" | "ACCOUNT"),
|
609
|
+
?managed_type: ("AWS_MANAGED_THREAT_SIGNATURES" | "AWS_MANAGED_DOMAIN_LISTS"),
|
610
|
+
?type: ("STATELESS" | "STATEFUL")
|
611
|
+
) -> _ListRuleGroupsResponseSuccess
|
612
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleGroupsResponseSuccess
|
613
|
+
|
614
|
+
interface _ListTLSInspectionConfigurationsResponseSuccess
|
615
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTLSInspectionConfigurationsResponse]
|
616
|
+
def next_token: () -> ::String
|
617
|
+
def tls_inspection_configurations: () -> ::Array[Types::TLSInspectionConfigurationMetadata]
|
618
|
+
end
|
619
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#list_tls_inspection_configurations-instance_method
|
620
|
+
def list_tls_inspection_configurations: (
|
621
|
+
?next_token: ::String,
|
622
|
+
?max_results: ::Integer
|
623
|
+
) -> _ListTLSInspectionConfigurationsResponseSuccess
|
624
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTLSInspectionConfigurationsResponseSuccess
|
625
|
+
|
626
|
+
interface _ListTagsForResourceResponseSuccess
|
627
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
628
|
+
def next_token: () -> ::String
|
629
|
+
def tags: () -> ::Array[Types::Tag]
|
630
|
+
end
|
631
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#list_tags_for_resource-instance_method
|
632
|
+
def list_tags_for_resource: (
|
633
|
+
?next_token: ::String,
|
634
|
+
?max_results: ::Integer,
|
635
|
+
resource_arn: ::String
|
636
|
+
) -> _ListTagsForResourceResponseSuccess
|
637
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
638
|
+
|
639
|
+
interface _PutResourcePolicyResponseSuccess
|
640
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
641
|
+
end
|
642
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#put_resource_policy-instance_method
|
643
|
+
def put_resource_policy: (
|
644
|
+
resource_arn: ::String,
|
645
|
+
policy: ::String
|
646
|
+
) -> _PutResourcePolicyResponseSuccess
|
647
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
648
|
+
|
649
|
+
interface _TagResourceResponseSuccess
|
650
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
651
|
+
end
|
652
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#tag_resource-instance_method
|
653
|
+
def tag_resource: (
|
654
|
+
resource_arn: ::String,
|
655
|
+
tags: Array[
|
656
|
+
{
|
657
|
+
key: ::String,
|
658
|
+
value: ::String
|
659
|
+
},
|
660
|
+
]
|
661
|
+
) -> _TagResourceResponseSuccess
|
662
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
663
|
+
|
664
|
+
interface _UntagResourceResponseSuccess
|
665
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
666
|
+
end
|
667
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#untag_resource-instance_method
|
668
|
+
def untag_resource: (
|
669
|
+
resource_arn: ::String,
|
670
|
+
tag_keys: Array[::String]
|
671
|
+
) -> _UntagResourceResponseSuccess
|
672
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
673
|
+
|
674
|
+
interface _UpdateFirewallDeleteProtectionResponseSuccess
|
675
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFirewallDeleteProtectionResponse]
|
676
|
+
def firewall_arn: () -> ::String
|
677
|
+
def firewall_name: () -> ::String
|
678
|
+
def delete_protection: () -> bool
|
679
|
+
def update_token: () -> ::String
|
680
|
+
end
|
681
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_firewall_delete_protection-instance_method
|
682
|
+
def update_firewall_delete_protection: (
|
683
|
+
?update_token: ::String,
|
684
|
+
?firewall_arn: ::String,
|
685
|
+
?firewall_name: ::String,
|
686
|
+
delete_protection: bool
|
687
|
+
) -> _UpdateFirewallDeleteProtectionResponseSuccess
|
688
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFirewallDeleteProtectionResponseSuccess
|
689
|
+
|
690
|
+
interface _UpdateFirewallDescriptionResponseSuccess
|
691
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFirewallDescriptionResponse]
|
692
|
+
def firewall_arn: () -> ::String
|
693
|
+
def firewall_name: () -> ::String
|
694
|
+
def description: () -> ::String
|
695
|
+
def update_token: () -> ::String
|
696
|
+
end
|
697
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_firewall_description-instance_method
|
698
|
+
def update_firewall_description: (
|
699
|
+
?update_token: ::String,
|
700
|
+
?firewall_arn: ::String,
|
701
|
+
?firewall_name: ::String,
|
702
|
+
?description: ::String
|
703
|
+
) -> _UpdateFirewallDescriptionResponseSuccess
|
704
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFirewallDescriptionResponseSuccess
|
705
|
+
|
706
|
+
interface _UpdateFirewallEncryptionConfigurationResponseSuccess
|
707
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFirewallEncryptionConfigurationResponse]
|
708
|
+
def firewall_arn: () -> ::String
|
709
|
+
def firewall_name: () -> ::String
|
710
|
+
def update_token: () -> ::String
|
711
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
712
|
+
end
|
713
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_firewall_encryption_configuration-instance_method
|
714
|
+
def update_firewall_encryption_configuration: (
|
715
|
+
?update_token: ::String,
|
716
|
+
?firewall_arn: ::String,
|
717
|
+
?firewall_name: ::String,
|
718
|
+
?encryption_configuration: {
|
719
|
+
key_id: ::String?,
|
720
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
721
|
+
}
|
722
|
+
) -> _UpdateFirewallEncryptionConfigurationResponseSuccess
|
723
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFirewallEncryptionConfigurationResponseSuccess
|
724
|
+
|
725
|
+
interface _UpdateFirewallPolicyResponseSuccess
|
726
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFirewallPolicyResponse]
|
727
|
+
def update_token: () -> ::String
|
728
|
+
def firewall_policy_response: () -> Types::FirewallPolicyResponse
|
729
|
+
end
|
730
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_firewall_policy-instance_method
|
731
|
+
def update_firewall_policy: (
|
732
|
+
update_token: ::String,
|
733
|
+
?firewall_policy_arn: ::String,
|
734
|
+
?firewall_policy_name: ::String,
|
735
|
+
firewall_policy: {
|
736
|
+
stateless_rule_group_references: Array[
|
737
|
+
{
|
738
|
+
resource_arn: ::String,
|
739
|
+
priority: ::Integer
|
740
|
+
},
|
741
|
+
]?,
|
742
|
+
stateless_default_actions: Array[::String],
|
743
|
+
stateless_fragment_default_actions: Array[::String],
|
744
|
+
stateless_custom_actions: Array[
|
745
|
+
{
|
746
|
+
action_name: ::String,
|
747
|
+
action_definition: {
|
748
|
+
publish_metric_action: {
|
749
|
+
dimensions: Array[
|
750
|
+
{
|
751
|
+
value: ::String
|
752
|
+
},
|
753
|
+
]
|
754
|
+
}?
|
755
|
+
}
|
756
|
+
},
|
757
|
+
]?,
|
758
|
+
stateful_rule_group_references: Array[
|
759
|
+
{
|
760
|
+
resource_arn: ::String,
|
761
|
+
priority: ::Integer?,
|
762
|
+
override: {
|
763
|
+
action: ("DROP_TO_ALERT")?
|
764
|
+
}?
|
765
|
+
},
|
766
|
+
]?,
|
767
|
+
stateful_default_actions: Array[::String]?,
|
768
|
+
stateful_engine_options: {
|
769
|
+
rule_order: ("DEFAULT_ACTION_ORDER" | "STRICT_ORDER")?,
|
770
|
+
stream_exception_policy: ("DROP" | "CONTINUE" | "REJECT")?
|
771
|
+
}?,
|
772
|
+
tls_inspection_configuration_arn: ::String?,
|
773
|
+
policy_variables: {
|
774
|
+
rule_variables: Hash[::String, {
|
775
|
+
definition: Array[::String]
|
776
|
+
}]?
|
777
|
+
}?
|
778
|
+
},
|
779
|
+
?description: ::String,
|
780
|
+
?dry_run: bool,
|
781
|
+
?encryption_configuration: {
|
782
|
+
key_id: ::String?,
|
783
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
784
|
+
}
|
785
|
+
) -> _UpdateFirewallPolicyResponseSuccess
|
786
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFirewallPolicyResponseSuccess
|
787
|
+
|
788
|
+
interface _UpdateFirewallPolicyChangeProtectionResponseSuccess
|
789
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFirewallPolicyChangeProtectionResponse]
|
790
|
+
def update_token: () -> ::String
|
791
|
+
def firewall_arn: () -> ::String
|
792
|
+
def firewall_name: () -> ::String
|
793
|
+
def firewall_policy_change_protection: () -> bool
|
794
|
+
end
|
795
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_firewall_policy_change_protection-instance_method
|
796
|
+
def update_firewall_policy_change_protection: (
|
797
|
+
?update_token: ::String,
|
798
|
+
?firewall_arn: ::String,
|
799
|
+
?firewall_name: ::String,
|
800
|
+
firewall_policy_change_protection: bool
|
801
|
+
) -> _UpdateFirewallPolicyChangeProtectionResponseSuccess
|
802
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFirewallPolicyChangeProtectionResponseSuccess
|
803
|
+
|
804
|
+
interface _UpdateLoggingConfigurationResponseSuccess
|
805
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLoggingConfigurationResponse]
|
806
|
+
def firewall_arn: () -> ::String
|
807
|
+
def firewall_name: () -> ::String
|
808
|
+
def logging_configuration: () -> Types::LoggingConfiguration
|
809
|
+
end
|
810
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_logging_configuration-instance_method
|
811
|
+
def update_logging_configuration: (
|
812
|
+
?firewall_arn: ::String,
|
813
|
+
?firewall_name: ::String,
|
814
|
+
?logging_configuration: {
|
815
|
+
log_destination_configs: Array[
|
816
|
+
{
|
817
|
+
log_type: ("ALERT" | "FLOW"),
|
818
|
+
log_destination_type: ("S3" | "CloudWatchLogs" | "KinesisDataFirehose"),
|
819
|
+
log_destination: Hash[::String, ::String]
|
820
|
+
},
|
821
|
+
]
|
822
|
+
}
|
823
|
+
) -> _UpdateLoggingConfigurationResponseSuccess
|
824
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLoggingConfigurationResponseSuccess
|
825
|
+
|
826
|
+
interface _UpdateRuleGroupResponseSuccess
|
827
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleGroupResponse]
|
828
|
+
def update_token: () -> ::String
|
829
|
+
def rule_group_response: () -> Types::RuleGroupResponse
|
830
|
+
end
|
831
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_rule_group-instance_method
|
832
|
+
def update_rule_group: (
|
833
|
+
update_token: ::String,
|
834
|
+
?rule_group_arn: ::String,
|
835
|
+
?rule_group_name: ::String,
|
836
|
+
?rule_group: {
|
837
|
+
rule_variables: {
|
838
|
+
ip_sets: Hash[::String, {
|
839
|
+
definition: Array[::String]
|
840
|
+
}]?,
|
841
|
+
port_sets: Hash[::String, {
|
842
|
+
definition: Array[::String]?
|
843
|
+
}]?
|
844
|
+
}?,
|
845
|
+
reference_sets: {
|
846
|
+
ip_set_references: Hash[::String, {
|
847
|
+
reference_arn: ::String?
|
848
|
+
}]?
|
849
|
+
}?,
|
850
|
+
rules_source: {
|
851
|
+
rules_string: ::String?,
|
852
|
+
rules_source_list: {
|
853
|
+
targets: Array[::String],
|
854
|
+
target_types: Array[("TLS_SNI" | "HTTP_HOST")],
|
855
|
+
generated_rules_type: ("ALLOWLIST" | "DENYLIST")
|
856
|
+
}?,
|
857
|
+
stateful_rules: Array[
|
858
|
+
{
|
859
|
+
action: ("PASS" | "DROP" | "ALERT" | "REJECT"),
|
860
|
+
header: {
|
861
|
+
protocol: ("IP" | "TCP" | "UDP" | "ICMP" | "HTTP" | "FTP" | "TLS" | "SMB" | "DNS" | "DCERPC" | "SSH" | "SMTP" | "IMAP" | "MSN" | "KRB5" | "IKEV2" | "TFTP" | "NTP" | "DHCP"),
|
862
|
+
source: ::String,
|
863
|
+
source_port: ::String,
|
864
|
+
direction: ("FORWARD" | "ANY"),
|
865
|
+
destination: ::String,
|
866
|
+
destination_port: ::String
|
867
|
+
},
|
868
|
+
rule_options: Array[
|
869
|
+
{
|
870
|
+
keyword: ::String,
|
871
|
+
settings: Array[::String]?
|
872
|
+
},
|
873
|
+
]
|
874
|
+
},
|
875
|
+
]?,
|
876
|
+
stateless_rules_and_custom_actions: {
|
877
|
+
stateless_rules: Array[
|
878
|
+
{
|
879
|
+
rule_definition: {
|
880
|
+
match_attributes: {
|
881
|
+
sources: Array[
|
882
|
+
{
|
883
|
+
address_definition: ::String
|
884
|
+
},
|
885
|
+
]?,
|
886
|
+
destinations: Array[
|
887
|
+
{
|
888
|
+
address_definition: ::String
|
889
|
+
},
|
890
|
+
]?,
|
891
|
+
source_ports: Array[
|
892
|
+
{
|
893
|
+
from_port: ::Integer,
|
894
|
+
to_port: ::Integer
|
895
|
+
},
|
896
|
+
]?,
|
897
|
+
destination_ports: Array[
|
898
|
+
{
|
899
|
+
from_port: ::Integer,
|
900
|
+
to_port: ::Integer
|
901
|
+
},
|
902
|
+
]?,
|
903
|
+
protocols: Array[::Integer]?,
|
904
|
+
tcp_flags: Array[
|
905
|
+
{
|
906
|
+
flags: Array[("FIN" | "SYN" | "RST" | "PSH" | "ACK" | "URG" | "ECE" | "CWR")],
|
907
|
+
masks: Array[("FIN" | "SYN" | "RST" | "PSH" | "ACK" | "URG" | "ECE" | "CWR")]?
|
908
|
+
},
|
909
|
+
]?
|
910
|
+
},
|
911
|
+
actions: Array[::String]
|
912
|
+
},
|
913
|
+
priority: ::Integer
|
914
|
+
},
|
915
|
+
],
|
916
|
+
custom_actions: Array[
|
917
|
+
{
|
918
|
+
action_name: ::String,
|
919
|
+
action_definition: {
|
920
|
+
publish_metric_action: {
|
921
|
+
dimensions: Array[
|
922
|
+
{
|
923
|
+
value: ::String
|
924
|
+
},
|
925
|
+
]
|
926
|
+
}?
|
927
|
+
}
|
928
|
+
},
|
929
|
+
]?
|
930
|
+
}?
|
931
|
+
},
|
932
|
+
stateful_rule_options: {
|
933
|
+
rule_order: ("DEFAULT_ACTION_ORDER" | "STRICT_ORDER")?
|
934
|
+
}?
|
935
|
+
},
|
936
|
+
?rules: ::String,
|
937
|
+
?type: ("STATELESS" | "STATEFUL"),
|
938
|
+
?description: ::String,
|
939
|
+
?dry_run: bool,
|
940
|
+
?encryption_configuration: {
|
941
|
+
key_id: ::String?,
|
942
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
943
|
+
},
|
944
|
+
?source_metadata: {
|
945
|
+
source_arn: ::String?,
|
946
|
+
source_update_token: ::String?
|
947
|
+
},
|
948
|
+
?analyze_rule_group: bool
|
949
|
+
) -> _UpdateRuleGroupResponseSuccess
|
950
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleGroupResponseSuccess
|
951
|
+
|
952
|
+
interface _UpdateSubnetChangeProtectionResponseSuccess
|
953
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubnetChangeProtectionResponse]
|
954
|
+
def update_token: () -> ::String
|
955
|
+
def firewall_arn: () -> ::String
|
956
|
+
def firewall_name: () -> ::String
|
957
|
+
def subnet_change_protection: () -> bool
|
958
|
+
end
|
959
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_subnet_change_protection-instance_method
|
960
|
+
def update_subnet_change_protection: (
|
961
|
+
?update_token: ::String,
|
962
|
+
?firewall_arn: ::String,
|
963
|
+
?firewall_name: ::String,
|
964
|
+
subnet_change_protection: bool
|
965
|
+
) -> _UpdateSubnetChangeProtectionResponseSuccess
|
966
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSubnetChangeProtectionResponseSuccess
|
967
|
+
|
968
|
+
interface _UpdateTLSInspectionConfigurationResponseSuccess
|
969
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTLSInspectionConfigurationResponse]
|
970
|
+
def update_token: () -> ::String
|
971
|
+
def tls_inspection_configuration_response: () -> Types::TLSInspectionConfigurationResponse
|
972
|
+
end
|
973
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#update_tls_inspection_configuration-instance_method
|
974
|
+
def update_tls_inspection_configuration: (
|
975
|
+
?tls_inspection_configuration_arn: ::String,
|
976
|
+
?tls_inspection_configuration_name: ::String,
|
977
|
+
tls_inspection_configuration: {
|
978
|
+
server_certificate_configurations: Array[
|
979
|
+
{
|
980
|
+
server_certificates: Array[
|
981
|
+
{
|
982
|
+
resource_arn: ::String?
|
983
|
+
},
|
984
|
+
]?,
|
985
|
+
scopes: Array[
|
986
|
+
{
|
987
|
+
sources: Array[
|
988
|
+
{
|
989
|
+
address_definition: ::String
|
990
|
+
},
|
991
|
+
]?,
|
992
|
+
destinations: Array[
|
993
|
+
{
|
994
|
+
address_definition: ::String
|
995
|
+
},
|
996
|
+
]?,
|
997
|
+
source_ports: Array[
|
998
|
+
{
|
999
|
+
from_port: ::Integer,
|
1000
|
+
to_port: ::Integer
|
1001
|
+
},
|
1002
|
+
]?,
|
1003
|
+
destination_ports: Array[
|
1004
|
+
{
|
1005
|
+
from_port: ::Integer,
|
1006
|
+
to_port: ::Integer
|
1007
|
+
},
|
1008
|
+
]?,
|
1009
|
+
protocols: Array[::Integer]?
|
1010
|
+
},
|
1011
|
+
]?,
|
1012
|
+
certificate_authority_arn: ::String?,
|
1013
|
+
check_certificate_revocation_status: {
|
1014
|
+
revoked_status_action: ("PASS" | "DROP" | "REJECT")?,
|
1015
|
+
unknown_status_action: ("PASS" | "DROP" | "REJECT")?
|
1016
|
+
}?
|
1017
|
+
},
|
1018
|
+
]?
|
1019
|
+
},
|
1020
|
+
?description: ::String,
|
1021
|
+
?encryption_configuration: {
|
1022
|
+
key_id: ::String?,
|
1023
|
+
type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
|
1024
|
+
},
|
1025
|
+
update_token: ::String
|
1026
|
+
) -> _UpdateTLSInspectionConfigurationResponseSuccess
|
1027
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTLSInspectionConfigurationResponseSuccess
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|