aws-sdk-networkfirewall 1.39.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs ADDED
@@ -0,0 +1,982 @@
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::NetworkFirewall
9
+ module Types
10
+
11
+ class ActionDefinition
12
+ attr_accessor publish_metric_action: Types::PublishMetricAction
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class Address
17
+ attr_accessor address_definition: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class AnalysisResult
22
+ attr_accessor identified_rule_ids: ::Array[::String]
23
+ attr_accessor identified_type: ("STATELESS_RULE_FORWARDING_ASYMMETRICALLY" | "STATELESS_RULE_CONTAINS_TCP_FLAGS")
24
+ attr_accessor analysis_detail: ::String
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class AssociateFirewallPolicyRequest
29
+ attr_accessor update_token: ::String
30
+ attr_accessor firewall_arn: ::String
31
+ attr_accessor firewall_name: ::String
32
+ attr_accessor firewall_policy_arn: ::String
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class AssociateFirewallPolicyResponse
37
+ attr_accessor firewall_arn: ::String
38
+ attr_accessor firewall_name: ::String
39
+ attr_accessor firewall_policy_arn: ::String
40
+ attr_accessor update_token: ::String
41
+ SENSITIVE: []
42
+ end
43
+
44
+ class AssociateSubnetsRequest
45
+ attr_accessor update_token: ::String
46
+ attr_accessor firewall_arn: ::String
47
+ attr_accessor firewall_name: ::String
48
+ attr_accessor subnet_mappings: ::Array[Types::SubnetMapping]
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class AssociateSubnetsResponse
53
+ attr_accessor firewall_arn: ::String
54
+ attr_accessor firewall_name: ::String
55
+ attr_accessor subnet_mappings: ::Array[Types::SubnetMapping]
56
+ attr_accessor update_token: ::String
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class Attachment
61
+ attr_accessor subnet_id: ::String
62
+ attr_accessor endpoint_id: ::String
63
+ attr_accessor status: ("CREATING" | "DELETING" | "FAILED" | "ERROR" | "SCALING" | "READY")
64
+ attr_accessor status_message: ::String
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class CIDRSummary
69
+ attr_accessor available_cidr_count: ::Integer
70
+ attr_accessor utilized_cidr_count: ::Integer
71
+ attr_accessor ip_set_references: ::Hash[::String, Types::IPSetMetadata]
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class CapacityUsageSummary
76
+ attr_accessor cid_rs: Types::CIDRSummary
77
+ SENSITIVE: []
78
+ end
79
+
80
+ class CheckCertificateRevocationStatusActions
81
+ attr_accessor revoked_status_action: ("PASS" | "DROP" | "REJECT")
82
+ attr_accessor unknown_status_action: ("PASS" | "DROP" | "REJECT")
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class CreateFirewallPolicyRequest
87
+ attr_accessor firewall_policy_name: ::String
88
+ attr_accessor firewall_policy: Types::FirewallPolicy
89
+ attr_accessor description: ::String
90
+ attr_accessor tags: ::Array[Types::Tag]
91
+ attr_accessor dry_run: bool
92
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class CreateFirewallPolicyResponse
97
+ attr_accessor update_token: ::String
98
+ attr_accessor firewall_policy_response: Types::FirewallPolicyResponse
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class CreateFirewallRequest
103
+ attr_accessor firewall_name: ::String
104
+ attr_accessor firewall_policy_arn: ::String
105
+ attr_accessor vpc_id: ::String
106
+ attr_accessor subnet_mappings: ::Array[Types::SubnetMapping]
107
+ attr_accessor delete_protection: bool
108
+ attr_accessor subnet_change_protection: bool
109
+ attr_accessor firewall_policy_change_protection: bool
110
+ attr_accessor description: ::String
111
+ attr_accessor tags: ::Array[Types::Tag]
112
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class CreateFirewallResponse
117
+ attr_accessor firewall: Types::Firewall
118
+ attr_accessor firewall_status: Types::FirewallStatus
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class CreateRuleGroupRequest
123
+ attr_accessor rule_group_name: ::String
124
+ attr_accessor rule_group: Types::RuleGroup
125
+ attr_accessor rules: ::String
126
+ attr_accessor type: ("STATELESS" | "STATEFUL")
127
+ attr_accessor description: ::String
128
+ attr_accessor capacity: ::Integer
129
+ attr_accessor tags: ::Array[Types::Tag]
130
+ attr_accessor dry_run: bool
131
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
132
+ attr_accessor source_metadata: Types::SourceMetadata
133
+ attr_accessor analyze_rule_group: bool
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class CreateRuleGroupResponse
138
+ attr_accessor update_token: ::String
139
+ attr_accessor rule_group_response: Types::RuleGroupResponse
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class CreateTLSInspectionConfigurationRequest
144
+ attr_accessor tls_inspection_configuration_name: ::String
145
+ attr_accessor tls_inspection_configuration: Types::TLSInspectionConfiguration
146
+ attr_accessor description: ::String
147
+ attr_accessor tags: ::Array[Types::Tag]
148
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
149
+ SENSITIVE: []
150
+ end
151
+
152
+ class CreateTLSInspectionConfigurationResponse
153
+ attr_accessor update_token: ::String
154
+ attr_accessor tls_inspection_configuration_response: Types::TLSInspectionConfigurationResponse
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class CustomAction
159
+ attr_accessor action_name: ::String
160
+ attr_accessor action_definition: Types::ActionDefinition
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class DeleteFirewallPolicyRequest
165
+ attr_accessor firewall_policy_name: ::String
166
+ attr_accessor firewall_policy_arn: ::String
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class DeleteFirewallPolicyResponse
171
+ attr_accessor firewall_policy_response: Types::FirewallPolicyResponse
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class DeleteFirewallRequest
176
+ attr_accessor firewall_name: ::String
177
+ attr_accessor firewall_arn: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class DeleteFirewallResponse
182
+ attr_accessor firewall: Types::Firewall
183
+ attr_accessor firewall_status: Types::FirewallStatus
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class DeleteResourcePolicyRequest
188
+ attr_accessor resource_arn: ::String
189
+ SENSITIVE: []
190
+ end
191
+
192
+ class DeleteResourcePolicyResponse < Aws::EmptyStructure
193
+ end
194
+
195
+ class DeleteRuleGroupRequest
196
+ attr_accessor rule_group_name: ::String
197
+ attr_accessor rule_group_arn: ::String
198
+ attr_accessor type: ("STATELESS" | "STATEFUL")
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class DeleteRuleGroupResponse
203
+ attr_accessor rule_group_response: Types::RuleGroupResponse
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class DeleteTLSInspectionConfigurationRequest
208
+ attr_accessor tls_inspection_configuration_arn: ::String
209
+ attr_accessor tls_inspection_configuration_name: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class DeleteTLSInspectionConfigurationResponse
214
+ attr_accessor tls_inspection_configuration_response: Types::TLSInspectionConfigurationResponse
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class DescribeFirewallPolicyRequest
219
+ attr_accessor firewall_policy_name: ::String
220
+ attr_accessor firewall_policy_arn: ::String
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class DescribeFirewallPolicyResponse
225
+ attr_accessor update_token: ::String
226
+ attr_accessor firewall_policy_response: Types::FirewallPolicyResponse
227
+ attr_accessor firewall_policy: Types::FirewallPolicy
228
+ SENSITIVE: []
229
+ end
230
+
231
+ class DescribeFirewallRequest
232
+ attr_accessor firewall_name: ::String
233
+ attr_accessor firewall_arn: ::String
234
+ SENSITIVE: []
235
+ end
236
+
237
+ class DescribeFirewallResponse
238
+ attr_accessor update_token: ::String
239
+ attr_accessor firewall: Types::Firewall
240
+ attr_accessor firewall_status: Types::FirewallStatus
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class DescribeLoggingConfigurationRequest
245
+ attr_accessor firewall_arn: ::String
246
+ attr_accessor firewall_name: ::String
247
+ SENSITIVE: []
248
+ end
249
+
250
+ class DescribeLoggingConfigurationResponse
251
+ attr_accessor firewall_arn: ::String
252
+ attr_accessor logging_configuration: Types::LoggingConfiguration
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class DescribeResourcePolicyRequest
257
+ attr_accessor resource_arn: ::String
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class DescribeResourcePolicyResponse
262
+ attr_accessor policy: ::String
263
+ SENSITIVE: []
264
+ end
265
+
266
+ class DescribeRuleGroupMetadataRequest
267
+ attr_accessor rule_group_name: ::String
268
+ attr_accessor rule_group_arn: ::String
269
+ attr_accessor type: ("STATELESS" | "STATEFUL")
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class DescribeRuleGroupMetadataResponse
274
+ attr_accessor rule_group_arn: ::String
275
+ attr_accessor rule_group_name: ::String
276
+ attr_accessor description: ::String
277
+ attr_accessor type: ("STATELESS" | "STATEFUL")
278
+ attr_accessor capacity: ::Integer
279
+ attr_accessor stateful_rule_options: Types::StatefulRuleOptions
280
+ attr_accessor last_modified_time: ::Time
281
+ SENSITIVE: []
282
+ end
283
+
284
+ class DescribeRuleGroupRequest
285
+ attr_accessor rule_group_name: ::String
286
+ attr_accessor rule_group_arn: ::String
287
+ attr_accessor type: ("STATELESS" | "STATEFUL")
288
+ attr_accessor analyze_rule_group: bool
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class DescribeRuleGroupResponse
293
+ attr_accessor update_token: ::String
294
+ attr_accessor rule_group: Types::RuleGroup
295
+ attr_accessor rule_group_response: Types::RuleGroupResponse
296
+ SENSITIVE: []
297
+ end
298
+
299
+ class DescribeTLSInspectionConfigurationRequest
300
+ attr_accessor tls_inspection_configuration_arn: ::String
301
+ attr_accessor tls_inspection_configuration_name: ::String
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class DescribeTLSInspectionConfigurationResponse
306
+ attr_accessor update_token: ::String
307
+ attr_accessor tls_inspection_configuration: Types::TLSInspectionConfiguration
308
+ attr_accessor tls_inspection_configuration_response: Types::TLSInspectionConfigurationResponse
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class Dimension
313
+ attr_accessor value: ::String
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class DisassociateSubnetsRequest
318
+ attr_accessor update_token: ::String
319
+ attr_accessor firewall_arn: ::String
320
+ attr_accessor firewall_name: ::String
321
+ attr_accessor subnet_ids: ::Array[::String]
322
+ SENSITIVE: []
323
+ end
324
+
325
+ class DisassociateSubnetsResponse
326
+ attr_accessor firewall_arn: ::String
327
+ attr_accessor firewall_name: ::String
328
+ attr_accessor subnet_mappings: ::Array[Types::SubnetMapping]
329
+ attr_accessor update_token: ::String
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class EncryptionConfiguration
334
+ attr_accessor key_id: ::String
335
+ attr_accessor type: ("CUSTOMER_KMS" | "AWS_OWNED_KMS_KEY")
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class Firewall
340
+ attr_accessor firewall_name: ::String
341
+ attr_accessor firewall_arn: ::String
342
+ attr_accessor firewall_policy_arn: ::String
343
+ attr_accessor vpc_id: ::String
344
+ attr_accessor subnet_mappings: ::Array[Types::SubnetMapping]
345
+ attr_accessor delete_protection: bool
346
+ attr_accessor subnet_change_protection: bool
347
+ attr_accessor firewall_policy_change_protection: bool
348
+ attr_accessor description: ::String
349
+ attr_accessor firewall_id: ::String
350
+ attr_accessor tags: ::Array[Types::Tag]
351
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
352
+ SENSITIVE: []
353
+ end
354
+
355
+ class FirewallMetadata
356
+ attr_accessor firewall_name: ::String
357
+ attr_accessor firewall_arn: ::String
358
+ SENSITIVE: []
359
+ end
360
+
361
+ class FirewallPolicy
362
+ attr_accessor stateless_rule_group_references: ::Array[Types::StatelessRuleGroupReference]
363
+ attr_accessor stateless_default_actions: ::Array[::String]
364
+ attr_accessor stateless_fragment_default_actions: ::Array[::String]
365
+ attr_accessor stateless_custom_actions: ::Array[Types::CustomAction]
366
+ attr_accessor stateful_rule_group_references: ::Array[Types::StatefulRuleGroupReference]
367
+ attr_accessor stateful_default_actions: ::Array[::String]
368
+ attr_accessor stateful_engine_options: Types::StatefulEngineOptions
369
+ attr_accessor tls_inspection_configuration_arn: ::String
370
+ attr_accessor policy_variables: Types::PolicyVariables
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class FirewallPolicyMetadata
375
+ attr_accessor name: ::String
376
+ attr_accessor arn: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class FirewallPolicyResponse
381
+ attr_accessor firewall_policy_name: ::String
382
+ attr_accessor firewall_policy_arn: ::String
383
+ attr_accessor firewall_policy_id: ::String
384
+ attr_accessor description: ::String
385
+ attr_accessor firewall_policy_status: ("ACTIVE" | "DELETING" | "ERROR")
386
+ attr_accessor tags: ::Array[Types::Tag]
387
+ attr_accessor consumed_stateless_rule_capacity: ::Integer
388
+ attr_accessor consumed_stateful_rule_capacity: ::Integer
389
+ attr_accessor number_of_associations: ::Integer
390
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
391
+ attr_accessor last_modified_time: ::Time
392
+ SENSITIVE: []
393
+ end
394
+
395
+ class FirewallStatus
396
+ attr_accessor status: ("PROVISIONING" | "DELETING" | "READY")
397
+ attr_accessor configuration_sync_state_summary: ("PENDING" | "IN_SYNC" | "CAPACITY_CONSTRAINED")
398
+ attr_accessor sync_states: ::Hash[::String, Types::SyncState]
399
+ attr_accessor capacity_usage_summary: Types::CapacityUsageSummary
400
+ SENSITIVE: []
401
+ end
402
+
403
+ class Header
404
+ attr_accessor protocol: ("IP" | "TCP" | "UDP" | "ICMP" | "HTTP" | "FTP" | "TLS" | "SMB" | "DNS" | "DCERPC" | "SSH" | "SMTP" | "IMAP" | "MSN" | "KRB5" | "IKEV2" | "TFTP" | "NTP" | "DHCP")
405
+ attr_accessor source: ::String
406
+ attr_accessor source_port: ::String
407
+ attr_accessor direction: ("FORWARD" | "ANY")
408
+ attr_accessor destination: ::String
409
+ attr_accessor destination_port: ::String
410
+ SENSITIVE: []
411
+ end
412
+
413
+ class IPSet
414
+ attr_accessor definition: ::Array[::String]
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class IPSetMetadata
419
+ attr_accessor resolved_cidr_count: ::Integer
420
+ SENSITIVE: []
421
+ end
422
+
423
+ class IPSetReference
424
+ attr_accessor reference_arn: ::String
425
+ SENSITIVE: []
426
+ end
427
+
428
+ class InsufficientCapacityException
429
+ attr_accessor message: ::String
430
+ SENSITIVE: []
431
+ end
432
+
433
+ class InternalServerError
434
+ attr_accessor message: ::String
435
+ SENSITIVE: []
436
+ end
437
+
438
+ class InvalidOperationException
439
+ attr_accessor message: ::String
440
+ SENSITIVE: []
441
+ end
442
+
443
+ class InvalidRequestException
444
+ attr_accessor message: ::String
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class InvalidResourcePolicyException
449
+ attr_accessor message: ::String
450
+ SENSITIVE: []
451
+ end
452
+
453
+ class InvalidTokenException
454
+ attr_accessor message: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class LimitExceededException
459
+ attr_accessor message: ::String
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class ListFirewallPoliciesRequest
464
+ attr_accessor next_token: ::String
465
+ attr_accessor max_results: ::Integer
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class ListFirewallPoliciesResponse
470
+ attr_accessor next_token: ::String
471
+ attr_accessor firewall_policies: ::Array[Types::FirewallPolicyMetadata]
472
+ SENSITIVE: []
473
+ end
474
+
475
+ class ListFirewallsRequest
476
+ attr_accessor next_token: ::String
477
+ attr_accessor vpc_ids: ::Array[::String]
478
+ attr_accessor max_results: ::Integer
479
+ SENSITIVE: []
480
+ end
481
+
482
+ class ListFirewallsResponse
483
+ attr_accessor next_token: ::String
484
+ attr_accessor firewalls: ::Array[Types::FirewallMetadata]
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class ListRuleGroupsRequest
489
+ attr_accessor next_token: ::String
490
+ attr_accessor max_results: ::Integer
491
+ attr_accessor scope: ("MANAGED" | "ACCOUNT")
492
+ attr_accessor managed_type: ("AWS_MANAGED_THREAT_SIGNATURES" | "AWS_MANAGED_DOMAIN_LISTS")
493
+ attr_accessor type: ("STATELESS" | "STATEFUL")
494
+ SENSITIVE: []
495
+ end
496
+
497
+ class ListRuleGroupsResponse
498
+ attr_accessor next_token: ::String
499
+ attr_accessor rule_groups: ::Array[Types::RuleGroupMetadata]
500
+ SENSITIVE: []
501
+ end
502
+
503
+ class ListTLSInspectionConfigurationsRequest
504
+ attr_accessor next_token: ::String
505
+ attr_accessor max_results: ::Integer
506
+ SENSITIVE: []
507
+ end
508
+
509
+ class ListTLSInspectionConfigurationsResponse
510
+ attr_accessor next_token: ::String
511
+ attr_accessor tls_inspection_configurations: ::Array[Types::TLSInspectionConfigurationMetadata]
512
+ SENSITIVE: []
513
+ end
514
+
515
+ class ListTagsForResourceRequest
516
+ attr_accessor next_token: ::String
517
+ attr_accessor max_results: ::Integer
518
+ attr_accessor resource_arn: ::String
519
+ SENSITIVE: []
520
+ end
521
+
522
+ class ListTagsForResourceResponse
523
+ attr_accessor next_token: ::String
524
+ attr_accessor tags: ::Array[Types::Tag]
525
+ SENSITIVE: []
526
+ end
527
+
528
+ class LogDestinationConfig
529
+ attr_accessor log_type: ("ALERT" | "FLOW")
530
+ attr_accessor log_destination_type: ("S3" | "CloudWatchLogs" | "KinesisDataFirehose")
531
+ attr_accessor log_destination: ::Hash[::String, ::String]
532
+ SENSITIVE: []
533
+ end
534
+
535
+ class LogDestinationPermissionException
536
+ attr_accessor message: ::String
537
+ SENSITIVE: []
538
+ end
539
+
540
+ class LoggingConfiguration
541
+ attr_accessor log_destination_configs: ::Array[Types::LogDestinationConfig]
542
+ SENSITIVE: []
543
+ end
544
+
545
+ class MatchAttributes
546
+ attr_accessor sources: ::Array[Types::Address]
547
+ attr_accessor destinations: ::Array[Types::Address]
548
+ attr_accessor source_ports: ::Array[Types::PortRange]
549
+ attr_accessor destination_ports: ::Array[Types::PortRange]
550
+ attr_accessor protocols: ::Array[::Integer]
551
+ attr_accessor tcp_flags: ::Array[Types::TCPFlagField]
552
+ SENSITIVE: []
553
+ end
554
+
555
+ class PerObjectStatus
556
+ attr_accessor sync_status: ("PENDING" | "IN_SYNC" | "CAPACITY_CONSTRAINED")
557
+ attr_accessor update_token: ::String
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class PolicyVariables
562
+ attr_accessor rule_variables: ::Hash[::String, Types::IPSet]
563
+ SENSITIVE: []
564
+ end
565
+
566
+ class PortRange
567
+ attr_accessor from_port: ::Integer
568
+ attr_accessor to_port: ::Integer
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class PortSet
573
+ attr_accessor definition: ::Array[::String]
574
+ SENSITIVE: []
575
+ end
576
+
577
+ class PublishMetricAction
578
+ attr_accessor dimensions: ::Array[Types::Dimension]
579
+ SENSITIVE: []
580
+ end
581
+
582
+ class PutResourcePolicyRequest
583
+ attr_accessor resource_arn: ::String
584
+ attr_accessor policy: ::String
585
+ SENSITIVE: []
586
+ end
587
+
588
+ class PutResourcePolicyResponse < Aws::EmptyStructure
589
+ end
590
+
591
+ class ReferenceSets
592
+ attr_accessor ip_set_references: ::Hash[::String, Types::IPSetReference]
593
+ SENSITIVE: []
594
+ end
595
+
596
+ class ResourceNotFoundException
597
+ attr_accessor message: ::String
598
+ SENSITIVE: []
599
+ end
600
+
601
+ class ResourceOwnerCheckException
602
+ attr_accessor message: ::String
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class RuleDefinition
607
+ attr_accessor match_attributes: Types::MatchAttributes
608
+ attr_accessor actions: ::Array[::String]
609
+ SENSITIVE: []
610
+ end
611
+
612
+ class RuleGroup
613
+ attr_accessor rule_variables: Types::RuleVariables
614
+ attr_accessor reference_sets: Types::ReferenceSets
615
+ attr_accessor rules_source: Types::RulesSource
616
+ attr_accessor stateful_rule_options: Types::StatefulRuleOptions
617
+ SENSITIVE: []
618
+ end
619
+
620
+ class RuleGroupMetadata
621
+ attr_accessor name: ::String
622
+ attr_accessor arn: ::String
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class RuleGroupResponse
627
+ attr_accessor rule_group_arn: ::String
628
+ attr_accessor rule_group_name: ::String
629
+ attr_accessor rule_group_id: ::String
630
+ attr_accessor description: ::String
631
+ attr_accessor type: ("STATELESS" | "STATEFUL")
632
+ attr_accessor capacity: ::Integer
633
+ attr_accessor rule_group_status: ("ACTIVE" | "DELETING" | "ERROR")
634
+ attr_accessor tags: ::Array[Types::Tag]
635
+ attr_accessor consumed_capacity: ::Integer
636
+ attr_accessor number_of_associations: ::Integer
637
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
638
+ attr_accessor source_metadata: Types::SourceMetadata
639
+ attr_accessor sns_topic: ::String
640
+ attr_accessor last_modified_time: ::Time
641
+ attr_accessor analysis_results: ::Array[Types::AnalysisResult]
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class RuleOption
646
+ attr_accessor keyword: ::String
647
+ attr_accessor settings: ::Array[::String]
648
+ SENSITIVE: []
649
+ end
650
+
651
+ class RuleVariables
652
+ attr_accessor ip_sets: ::Hash[::String, Types::IPSet]
653
+ attr_accessor port_sets: ::Hash[::String, Types::PortSet]
654
+ SENSITIVE: []
655
+ end
656
+
657
+ class RulesSource
658
+ attr_accessor rules_string: ::String
659
+ attr_accessor rules_source_list: Types::RulesSourceList
660
+ attr_accessor stateful_rules: ::Array[Types::StatefulRule]
661
+ attr_accessor stateless_rules_and_custom_actions: Types::StatelessRulesAndCustomActions
662
+ SENSITIVE: []
663
+ end
664
+
665
+ class RulesSourceList
666
+ attr_accessor targets: ::Array[::String]
667
+ attr_accessor target_types: ::Array[("TLS_SNI" | "HTTP_HOST")]
668
+ attr_accessor generated_rules_type: ("ALLOWLIST" | "DENYLIST")
669
+ SENSITIVE: []
670
+ end
671
+
672
+ class ServerCertificate
673
+ attr_accessor resource_arn: ::String
674
+ SENSITIVE: []
675
+ end
676
+
677
+ class ServerCertificateConfiguration
678
+ attr_accessor server_certificates: ::Array[Types::ServerCertificate]
679
+ attr_accessor scopes: ::Array[Types::ServerCertificateScope]
680
+ attr_accessor certificate_authority_arn: ::String
681
+ attr_accessor check_certificate_revocation_status: Types::CheckCertificateRevocationStatusActions
682
+ SENSITIVE: []
683
+ end
684
+
685
+ class ServerCertificateScope
686
+ attr_accessor sources: ::Array[Types::Address]
687
+ attr_accessor destinations: ::Array[Types::Address]
688
+ attr_accessor source_ports: ::Array[Types::PortRange]
689
+ attr_accessor destination_ports: ::Array[Types::PortRange]
690
+ attr_accessor protocols: ::Array[::Integer]
691
+ SENSITIVE: []
692
+ end
693
+
694
+ class SourceMetadata
695
+ attr_accessor source_arn: ::String
696
+ attr_accessor source_update_token: ::String
697
+ SENSITIVE: []
698
+ end
699
+
700
+ class StatefulEngineOptions
701
+ attr_accessor rule_order: ("DEFAULT_ACTION_ORDER" | "STRICT_ORDER")
702
+ attr_accessor stream_exception_policy: ("DROP" | "CONTINUE" | "REJECT")
703
+ SENSITIVE: []
704
+ end
705
+
706
+ class StatefulRule
707
+ attr_accessor action: ("PASS" | "DROP" | "ALERT" | "REJECT")
708
+ attr_accessor header: Types::Header
709
+ attr_accessor rule_options: ::Array[Types::RuleOption]
710
+ SENSITIVE: []
711
+ end
712
+
713
+ class StatefulRuleGroupOverride
714
+ attr_accessor action: ("DROP_TO_ALERT")
715
+ SENSITIVE: []
716
+ end
717
+
718
+ class StatefulRuleGroupReference
719
+ attr_accessor resource_arn: ::String
720
+ attr_accessor priority: ::Integer
721
+ attr_accessor override: Types::StatefulRuleGroupOverride
722
+ SENSITIVE: []
723
+ end
724
+
725
+ class StatefulRuleOptions
726
+ attr_accessor rule_order: ("DEFAULT_ACTION_ORDER" | "STRICT_ORDER")
727
+ SENSITIVE: []
728
+ end
729
+
730
+ class StatelessRule
731
+ attr_accessor rule_definition: Types::RuleDefinition
732
+ attr_accessor priority: ::Integer
733
+ SENSITIVE: []
734
+ end
735
+
736
+ class StatelessRuleGroupReference
737
+ attr_accessor resource_arn: ::String
738
+ attr_accessor priority: ::Integer
739
+ SENSITIVE: []
740
+ end
741
+
742
+ class StatelessRulesAndCustomActions
743
+ attr_accessor stateless_rules: ::Array[Types::StatelessRule]
744
+ attr_accessor custom_actions: ::Array[Types::CustomAction]
745
+ SENSITIVE: []
746
+ end
747
+
748
+ class SubnetMapping
749
+ attr_accessor subnet_id: ::String
750
+ attr_accessor ip_address_type: ("DUALSTACK" | "IPV4" | "IPV6")
751
+ SENSITIVE: []
752
+ end
753
+
754
+ class SyncState
755
+ attr_accessor attachment: Types::Attachment
756
+ attr_accessor config: ::Hash[::String, Types::PerObjectStatus]
757
+ SENSITIVE: []
758
+ end
759
+
760
+ class TCPFlagField
761
+ attr_accessor flags: ::Array[("FIN" | "SYN" | "RST" | "PSH" | "ACK" | "URG" | "ECE" | "CWR")]
762
+ attr_accessor masks: ::Array[("FIN" | "SYN" | "RST" | "PSH" | "ACK" | "URG" | "ECE" | "CWR")]
763
+ SENSITIVE: []
764
+ end
765
+
766
+ class TLSInspectionConfiguration
767
+ attr_accessor server_certificate_configurations: ::Array[Types::ServerCertificateConfiguration]
768
+ SENSITIVE: []
769
+ end
770
+
771
+ class TLSInspectionConfigurationMetadata
772
+ attr_accessor name: ::String
773
+ attr_accessor arn: ::String
774
+ SENSITIVE: []
775
+ end
776
+
777
+ class TLSInspectionConfigurationResponse
778
+ attr_accessor tls_inspection_configuration_arn: ::String
779
+ attr_accessor tls_inspection_configuration_name: ::String
780
+ attr_accessor tls_inspection_configuration_id: ::String
781
+ attr_accessor tls_inspection_configuration_status: ("ACTIVE" | "DELETING" | "ERROR")
782
+ attr_accessor description: ::String
783
+ attr_accessor tags: ::Array[Types::Tag]
784
+ attr_accessor last_modified_time: ::Time
785
+ attr_accessor number_of_associations: ::Integer
786
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
787
+ attr_accessor certificates: ::Array[Types::TlsCertificateData]
788
+ attr_accessor certificate_authority: Types::TlsCertificateData
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class Tag
793
+ attr_accessor key: ::String
794
+ attr_accessor value: ::String
795
+ SENSITIVE: []
796
+ end
797
+
798
+ class TagResourceRequest
799
+ attr_accessor resource_arn: ::String
800
+ attr_accessor tags: ::Array[Types::Tag]
801
+ SENSITIVE: []
802
+ end
803
+
804
+ class TagResourceResponse < Aws::EmptyStructure
805
+ end
806
+
807
+ class ThrottlingException
808
+ attr_accessor message: ::String
809
+ SENSITIVE: []
810
+ end
811
+
812
+ class TlsCertificateData
813
+ attr_accessor certificate_arn: ::String
814
+ attr_accessor certificate_serial: ::String
815
+ attr_accessor status: ::String
816
+ attr_accessor status_message: ::String
817
+ SENSITIVE: []
818
+ end
819
+
820
+ class UnsupportedOperationException
821
+ attr_accessor message: ::String
822
+ SENSITIVE: []
823
+ end
824
+
825
+ class UntagResourceRequest
826
+ attr_accessor resource_arn: ::String
827
+ attr_accessor tag_keys: ::Array[::String]
828
+ SENSITIVE: []
829
+ end
830
+
831
+ class UntagResourceResponse < Aws::EmptyStructure
832
+ end
833
+
834
+ class UpdateFirewallDeleteProtectionRequest
835
+ attr_accessor update_token: ::String
836
+ attr_accessor firewall_arn: ::String
837
+ attr_accessor firewall_name: ::String
838
+ attr_accessor delete_protection: bool
839
+ SENSITIVE: []
840
+ end
841
+
842
+ class UpdateFirewallDeleteProtectionResponse
843
+ attr_accessor firewall_arn: ::String
844
+ attr_accessor firewall_name: ::String
845
+ attr_accessor delete_protection: bool
846
+ attr_accessor update_token: ::String
847
+ SENSITIVE: []
848
+ end
849
+
850
+ class UpdateFirewallDescriptionRequest
851
+ attr_accessor update_token: ::String
852
+ attr_accessor firewall_arn: ::String
853
+ attr_accessor firewall_name: ::String
854
+ attr_accessor description: ::String
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class UpdateFirewallDescriptionResponse
859
+ attr_accessor firewall_arn: ::String
860
+ attr_accessor firewall_name: ::String
861
+ attr_accessor description: ::String
862
+ attr_accessor update_token: ::String
863
+ SENSITIVE: []
864
+ end
865
+
866
+ class UpdateFirewallEncryptionConfigurationRequest
867
+ attr_accessor update_token: ::String
868
+ attr_accessor firewall_arn: ::String
869
+ attr_accessor firewall_name: ::String
870
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
871
+ SENSITIVE: []
872
+ end
873
+
874
+ class UpdateFirewallEncryptionConfigurationResponse
875
+ attr_accessor firewall_arn: ::String
876
+ attr_accessor firewall_name: ::String
877
+ attr_accessor update_token: ::String
878
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
879
+ SENSITIVE: []
880
+ end
881
+
882
+ class UpdateFirewallPolicyChangeProtectionRequest
883
+ attr_accessor update_token: ::String
884
+ attr_accessor firewall_arn: ::String
885
+ attr_accessor firewall_name: ::String
886
+ attr_accessor firewall_policy_change_protection: bool
887
+ SENSITIVE: []
888
+ end
889
+
890
+ class UpdateFirewallPolicyChangeProtectionResponse
891
+ attr_accessor update_token: ::String
892
+ attr_accessor firewall_arn: ::String
893
+ attr_accessor firewall_name: ::String
894
+ attr_accessor firewall_policy_change_protection: bool
895
+ SENSITIVE: []
896
+ end
897
+
898
+ class UpdateFirewallPolicyRequest
899
+ attr_accessor update_token: ::String
900
+ attr_accessor firewall_policy_arn: ::String
901
+ attr_accessor firewall_policy_name: ::String
902
+ attr_accessor firewall_policy: Types::FirewallPolicy
903
+ attr_accessor description: ::String
904
+ attr_accessor dry_run: bool
905
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
906
+ SENSITIVE: []
907
+ end
908
+
909
+ class UpdateFirewallPolicyResponse
910
+ attr_accessor update_token: ::String
911
+ attr_accessor firewall_policy_response: Types::FirewallPolicyResponse
912
+ SENSITIVE: []
913
+ end
914
+
915
+ class UpdateLoggingConfigurationRequest
916
+ attr_accessor firewall_arn: ::String
917
+ attr_accessor firewall_name: ::String
918
+ attr_accessor logging_configuration: Types::LoggingConfiguration
919
+ SENSITIVE: []
920
+ end
921
+
922
+ class UpdateLoggingConfigurationResponse
923
+ attr_accessor firewall_arn: ::String
924
+ attr_accessor firewall_name: ::String
925
+ attr_accessor logging_configuration: Types::LoggingConfiguration
926
+ SENSITIVE: []
927
+ end
928
+
929
+ class UpdateRuleGroupRequest
930
+ attr_accessor update_token: ::String
931
+ attr_accessor rule_group_arn: ::String
932
+ attr_accessor rule_group_name: ::String
933
+ attr_accessor rule_group: Types::RuleGroup
934
+ attr_accessor rules: ::String
935
+ attr_accessor type: ("STATELESS" | "STATEFUL")
936
+ attr_accessor description: ::String
937
+ attr_accessor dry_run: bool
938
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
939
+ attr_accessor source_metadata: Types::SourceMetadata
940
+ attr_accessor analyze_rule_group: bool
941
+ SENSITIVE: []
942
+ end
943
+
944
+ class UpdateRuleGroupResponse
945
+ attr_accessor update_token: ::String
946
+ attr_accessor rule_group_response: Types::RuleGroupResponse
947
+ SENSITIVE: []
948
+ end
949
+
950
+ class UpdateSubnetChangeProtectionRequest
951
+ attr_accessor update_token: ::String
952
+ attr_accessor firewall_arn: ::String
953
+ attr_accessor firewall_name: ::String
954
+ attr_accessor subnet_change_protection: bool
955
+ SENSITIVE: []
956
+ end
957
+
958
+ class UpdateSubnetChangeProtectionResponse
959
+ attr_accessor update_token: ::String
960
+ attr_accessor firewall_arn: ::String
961
+ attr_accessor firewall_name: ::String
962
+ attr_accessor subnet_change_protection: bool
963
+ SENSITIVE: []
964
+ end
965
+
966
+ class UpdateTLSInspectionConfigurationRequest
967
+ attr_accessor tls_inspection_configuration_arn: ::String
968
+ attr_accessor tls_inspection_configuration_name: ::String
969
+ attr_accessor tls_inspection_configuration: Types::TLSInspectionConfiguration
970
+ attr_accessor description: ::String
971
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
972
+ attr_accessor update_token: ::String
973
+ SENSITIVE: []
974
+ end
975
+
976
+ class UpdateTLSInspectionConfigurationResponse
977
+ attr_accessor update_token: ::String
978
+ attr_accessor tls_inspection_configuration_response: Types::TLSInspectionConfigurationResponse
979
+ SENSITIVE: []
980
+ end
981
+ end
982
+ end