@aws-sdk/client-network-firewall 3.169.0 → 3.171.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/NetworkFirewall.d.ts +543 -160
  3. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +291 -104
  4. package/dist-types/ts3.4/commands/AssociateFirewallPolicyCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/AssociateSubnetsCommand.d.ts +35 -17
  6. package/dist-types/ts3.4/commands/CreateFirewallCommand.d.ts +35 -17
  7. package/dist-types/ts3.4/commands/CreateFirewallPolicyCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/DeleteFirewallCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/DeleteFirewallPolicyCommand.d.ts +39 -17
  11. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -17
  12. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/DescribeFirewallCommand.d.ts +35 -17
  14. package/dist-types/ts3.4/commands/DescribeFirewallPolicyCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +39 -17
  16. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/DescribeRuleGroupCommand.d.ts +36 -17
  18. package/dist-types/ts3.4/commands/DescribeRuleGroupMetadataCommand.d.ts +39 -17
  19. package/dist-types/ts3.4/commands/DisassociateSubnetsCommand.d.ts +36 -17
  20. package/dist-types/ts3.4/commands/ListFirewallPoliciesCommand.d.ts +39 -17
  21. package/dist-types/ts3.4/commands/ListFirewallsCommand.d.ts +35 -17
  22. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +35 -17
  23. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  24. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +36 -17
  25. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  26. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
  27. package/dist-types/ts3.4/commands/UpdateFirewallDeleteProtectionCommand.d.ts +39 -17
  28. package/dist-types/ts3.4/commands/UpdateFirewallDescriptionCommand.d.ts +39 -17
  29. package/dist-types/ts3.4/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +39 -17
  30. package/dist-types/ts3.4/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +39 -17
  31. package/dist-types/ts3.4/commands/UpdateFirewallPolicyCommand.d.ts +39 -17
  32. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +39 -17
  33. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +35 -17
  34. package/dist-types/ts3.4/commands/UpdateSubnetChangeProtectionCommand.d.ts +39 -17
  35. package/dist-types/ts3.4/commands/index.d.ts +31 -31
  36. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  37. package/dist-types/ts3.4/index.d.ts +6 -6
  38. package/dist-types/ts3.4/models/NetworkFirewallServiceException.d.ts +7 -6
  39. package/dist-types/ts3.4/models/index.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +1042 -1344
  41. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  42. package/dist-types/ts3.4/pagination/ListFirewallPoliciesPaginator.d.ts +11 -4
  43. package/dist-types/ts3.4/pagination/ListFirewallsPaginator.d.ts +11 -4
  44. package/dist-types/ts3.4/pagination/ListRuleGroupsPaginator.d.ts +11 -4
  45. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -4
  46. package/dist-types/ts3.4/pagination/index.d.ts +5 -5
  47. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +377 -95
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -38
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +67 -38
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -37
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -11
  52. package/package.json +34 -34
@@ -1,1344 +1,1042 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { NetworkFirewallServiceException as __BaseException } from "./NetworkFirewallServiceException";
3
-
4
- export interface Dimension {
5
-
6
- Value: string | undefined;
7
- }
8
-
9
- export interface PublishMetricAction {
10
-
11
- Dimensions: Dimension[] | undefined;
12
- }
13
-
14
- export interface ActionDefinition {
15
-
16
- PublishMetricAction?: PublishMetricAction;
17
- }
18
-
19
- export interface Address {
20
-
21
- AddressDefinition: string | undefined;
22
- }
23
- export interface AssociateFirewallPolicyRequest {
24
-
25
- UpdateToken?: string;
26
-
27
- FirewallArn?: string;
28
-
29
- FirewallName?: string;
30
-
31
- FirewallPolicyArn: string | undefined;
32
- }
33
- export interface AssociateFirewallPolicyResponse {
34
-
35
- FirewallArn?: string;
36
-
37
- FirewallName?: string;
38
-
39
- FirewallPolicyArn?: string;
40
-
41
- UpdateToken?: string;
42
- }
43
-
44
- export declare class InternalServerError extends __BaseException {
45
- readonly name: "InternalServerError";
46
- readonly $fault: "server";
47
- Message?: string;
48
-
49
- constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
50
- }
51
-
52
- export declare class InvalidOperationException extends __BaseException {
53
- readonly name: "InvalidOperationException";
54
- readonly $fault: "client";
55
- Message?: string;
56
-
57
- constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
58
- }
59
-
60
- export declare class InvalidRequestException extends __BaseException {
61
- readonly name: "InvalidRequestException";
62
- readonly $fault: "client";
63
- Message?: string;
64
-
65
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
66
- }
67
-
68
- export declare class InvalidTokenException extends __BaseException {
69
- readonly name: "InvalidTokenException";
70
- readonly $fault: "client";
71
- Message?: string;
72
-
73
- constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
74
- }
75
-
76
- export declare class ResourceNotFoundException extends __BaseException {
77
- readonly name: "ResourceNotFoundException";
78
- readonly $fault: "client";
79
- Message?: string;
80
-
81
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
82
- }
83
-
84
- export declare class ThrottlingException extends __BaseException {
85
- readonly name: "ThrottlingException";
86
- readonly $fault: "client";
87
- Message?: string;
88
-
89
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
90
- }
91
-
92
- export interface SubnetMapping {
93
-
94
- SubnetId: string | undefined;
95
- }
96
- export interface AssociateSubnetsRequest {
97
-
98
- UpdateToken?: string;
99
-
100
- FirewallArn?: string;
101
-
102
- FirewallName?: string;
103
-
104
- SubnetMappings: SubnetMapping[] | undefined;
105
- }
106
- export interface AssociateSubnetsResponse {
107
-
108
- FirewallArn?: string;
109
-
110
- FirewallName?: string;
111
-
112
- SubnetMappings?: SubnetMapping[];
113
-
114
- UpdateToken?: string;
115
- }
116
-
117
- export declare class InsufficientCapacityException extends __BaseException {
118
- readonly name: "InsufficientCapacityException";
119
- readonly $fault: "server";
120
- Message?: string;
121
-
122
- constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
123
- }
124
- export declare enum AttachmentStatus {
125
- CREATING = "CREATING",
126
- DELETING = "DELETING",
127
- READY = "READY",
128
- SCALING = "SCALING"
129
- }
130
-
131
- export interface Attachment {
132
-
133
- SubnetId?: string;
134
-
135
- EndpointId?: string;
136
-
137
- Status?: AttachmentStatus | string;
138
- }
139
-
140
- export interface IPSetMetadata {
141
-
142
- ResolvedCIDRCount?: number;
143
- }
144
-
145
- export interface CIDRSummary {
146
-
147
- AvailableCIDRCount?: number;
148
-
149
- UtilizedCIDRCount?: number;
150
-
151
- IPSetReferences?: Record<string, IPSetMetadata>;
152
- }
153
-
154
- export interface CapacityUsageSummary {
155
-
156
- CIDRs?: CIDRSummary;
157
- }
158
- export declare enum ConfigurationSyncState {
159
- CAPACITY_CONSTRAINED = "CAPACITY_CONSTRAINED",
160
- IN_SYNC = "IN_SYNC",
161
- PENDING = "PENDING"
162
- }
163
- export declare enum EncryptionType {
164
- AWS_OWNED_KMS_KEY = "AWS_OWNED_KMS_KEY",
165
- CUSTOMER_KMS = "CUSTOMER_KMS"
166
- }
167
-
168
- export interface EncryptionConfiguration {
169
-
170
- KeyId?: string;
171
-
172
- Type: EncryptionType | string | undefined;
173
- }
174
-
175
- export interface Tag {
176
-
177
- Key: string | undefined;
178
-
179
- Value: string | undefined;
180
- }
181
- export interface CreateFirewallRequest {
182
-
183
- FirewallName: string | undefined;
184
-
185
- FirewallPolicyArn: string | undefined;
186
-
187
- VpcId: string | undefined;
188
-
189
- SubnetMappings: SubnetMapping[] | undefined;
190
-
191
- DeleteProtection?: boolean;
192
-
193
- SubnetChangeProtection?: boolean;
194
-
195
- FirewallPolicyChangeProtection?: boolean;
196
-
197
- Description?: string;
198
-
199
- Tags?: Tag[];
200
-
201
- EncryptionConfiguration?: EncryptionConfiguration;
202
- }
203
-
204
- export interface Firewall {
205
-
206
- FirewallName?: string;
207
-
208
- FirewallArn?: string;
209
-
210
- FirewallPolicyArn: string | undefined;
211
-
212
- VpcId: string | undefined;
213
-
214
- SubnetMappings: SubnetMapping[] | undefined;
215
-
216
- DeleteProtection?: boolean;
217
-
218
- SubnetChangeProtection?: boolean;
219
-
220
- FirewallPolicyChangeProtection?: boolean;
221
-
222
- Description?: string;
223
-
224
- FirewallId: string | undefined;
225
-
226
- Tags?: Tag[];
227
-
228
- EncryptionConfiguration?: EncryptionConfiguration;
229
- }
230
- export declare enum FirewallStatusValue {
231
- DELETING = "DELETING",
232
- PROVISIONING = "PROVISIONING",
233
- READY = "READY"
234
- }
235
- export declare enum PerObjectSyncStatus {
236
- CAPACITY_CONSTRAINED = "CAPACITY_CONSTRAINED",
237
- IN_SYNC = "IN_SYNC",
238
- PENDING = "PENDING"
239
- }
240
-
241
- export interface PerObjectStatus {
242
-
243
- SyncStatus?: PerObjectSyncStatus | string;
244
-
245
- UpdateToken?: string;
246
- }
247
-
248
- export interface SyncState {
249
-
250
- Attachment?: Attachment;
251
-
252
- Config?: Record<string, PerObjectStatus>;
253
- }
254
-
255
- export interface FirewallStatus {
256
-
257
- Status: FirewallStatusValue | string | undefined;
258
-
259
- ConfigurationSyncStateSummary: ConfigurationSyncState | string | undefined;
260
-
261
- SyncStates?: Record<string, SyncState>;
262
-
263
- CapacityUsageSummary?: CapacityUsageSummary;
264
- }
265
- export interface CreateFirewallResponse {
266
-
267
- Firewall?: Firewall;
268
-
269
- FirewallStatus?: FirewallStatus;
270
- }
271
-
272
- export declare class LimitExceededException extends __BaseException {
273
- readonly name: "LimitExceededException";
274
- readonly $fault: "client";
275
- Message?: string;
276
-
277
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
278
- }
279
- export declare enum RuleOrder {
280
- DEFAULT_ACTION_ORDER = "DEFAULT_ACTION_ORDER",
281
- STRICT_ORDER = "STRICT_ORDER"
282
- }
283
-
284
- export interface StatefulEngineOptions {
285
-
286
- RuleOrder?: RuleOrder | string;
287
- }
288
- export declare enum OverrideAction {
289
- DROP_TO_ALERT = "DROP_TO_ALERT"
290
- }
291
-
292
- export interface StatefulRuleGroupOverride {
293
-
294
- Action?: OverrideAction | string;
295
- }
296
-
297
- export interface StatefulRuleGroupReference {
298
-
299
- ResourceArn: string | undefined;
300
-
301
- Priority?: number;
302
-
303
- Override?: StatefulRuleGroupOverride;
304
- }
305
-
306
- export interface CustomAction {
307
-
308
- ActionName: string | undefined;
309
-
310
- ActionDefinition: ActionDefinition | undefined;
311
- }
312
-
313
- export interface StatelessRuleGroupReference {
314
-
315
- ResourceArn: string | undefined;
316
-
317
- Priority: number | undefined;
318
- }
319
-
320
- export interface FirewallPolicy {
321
-
322
- StatelessRuleGroupReferences?: StatelessRuleGroupReference[];
323
-
324
- StatelessDefaultActions: string[] | undefined;
325
-
326
- StatelessFragmentDefaultActions: string[] | undefined;
327
-
328
- StatelessCustomActions?: CustomAction[];
329
-
330
- StatefulRuleGroupReferences?: StatefulRuleGroupReference[];
331
-
332
- StatefulDefaultActions?: string[];
333
-
334
- StatefulEngineOptions?: StatefulEngineOptions;
335
- }
336
- export interface CreateFirewallPolicyRequest {
337
-
338
- FirewallPolicyName: string | undefined;
339
-
340
- FirewallPolicy: FirewallPolicy | undefined;
341
-
342
- Description?: string;
343
-
344
- Tags?: Tag[];
345
-
346
- DryRun?: boolean;
347
-
348
- EncryptionConfiguration?: EncryptionConfiguration;
349
- }
350
- export declare enum ResourceStatus {
351
- ACTIVE = "ACTIVE",
352
- DELETING = "DELETING"
353
- }
354
-
355
- export interface FirewallPolicyResponse {
356
-
357
- FirewallPolicyName: string | undefined;
358
-
359
- FirewallPolicyArn: string | undefined;
360
-
361
- FirewallPolicyId: string | undefined;
362
-
363
- Description?: string;
364
-
365
- FirewallPolicyStatus?: ResourceStatus | string;
366
-
367
- Tags?: Tag[];
368
-
369
- ConsumedStatelessRuleCapacity?: number;
370
-
371
- ConsumedStatefulRuleCapacity?: number;
372
-
373
- NumberOfAssociations?: number;
374
-
375
- EncryptionConfiguration?: EncryptionConfiguration;
376
-
377
- LastModifiedTime?: Date;
378
- }
379
- export interface CreateFirewallPolicyResponse {
380
-
381
- UpdateToken: string | undefined;
382
-
383
- FirewallPolicyResponse: FirewallPolicyResponse | undefined;
384
- }
385
-
386
- export interface IPSetReference {
387
-
388
- ReferenceArn?: string;
389
- }
390
-
391
- export interface ReferenceSets {
392
-
393
- IPSetReferences?: Record<string, IPSetReference>;
394
- }
395
- export declare enum GeneratedRulesType {
396
- ALLOWLIST = "ALLOWLIST",
397
- DENYLIST = "DENYLIST"
398
- }
399
- export declare enum TargetType {
400
- HTTP_HOST = "HTTP_HOST",
401
- TLS_SNI = "TLS_SNI"
402
- }
403
-
404
- export interface RulesSourceList {
405
-
406
- Targets: string[] | undefined;
407
-
408
- TargetTypes: (TargetType | string)[] | undefined;
409
-
410
- GeneratedRulesType: GeneratedRulesType | string | undefined;
411
- }
412
- export declare enum StatefulAction {
413
- ALERT = "ALERT",
414
- DROP = "DROP",
415
- PASS = "PASS"
416
- }
417
- export declare enum StatefulRuleDirection {
418
- ANY = "ANY",
419
- FORWARD = "FORWARD"
420
- }
421
- export declare enum StatefulRuleProtocol {
422
- ANY = "IP",
423
- DCERPC = "DCERPC",
424
- DHCP = "DHCP",
425
- DNS = "DNS",
426
- FTP = "FTP",
427
- HTTP = "HTTP",
428
- ICMP = "ICMP",
429
- IKEV2 = "IKEV2",
430
- IMAP = "IMAP",
431
- KRB5 = "KRB5",
432
- MSN = "MSN",
433
- NTP = "NTP",
434
- SMB = "SMB",
435
- SMTP = "SMTP",
436
- SSH = "SSH",
437
- TCP = "TCP",
438
- TFTP = "TFTP",
439
- TLS = "TLS",
440
- UDP = "UDP"
441
- }
442
-
443
- export interface Header {
444
-
445
- Protocol: StatefulRuleProtocol | string | undefined;
446
-
447
- Source: string | undefined;
448
-
449
- SourcePort: string | undefined;
450
-
451
- Direction: StatefulRuleDirection | string | undefined;
452
-
453
- Destination: string | undefined;
454
-
455
- DestinationPort: string | undefined;
456
- }
457
-
458
- export interface RuleOption {
459
-
460
- Keyword: string | undefined;
461
-
462
- Settings?: string[];
463
- }
464
-
465
- export interface StatefulRule {
466
-
467
- Action: StatefulAction | string | undefined;
468
-
469
- Header: Header | undefined;
470
-
471
- RuleOptions: RuleOption[] | undefined;
472
- }
473
-
474
- export interface PortRange {
475
-
476
- FromPort: number | undefined;
477
-
478
- ToPort: number | undefined;
479
- }
480
- export declare enum TCPFlag {
481
- ACK = "ACK",
482
- CWR = "CWR",
483
- ECE = "ECE",
484
- FIN = "FIN",
485
- PSH = "PSH",
486
- RST = "RST",
487
- SYN = "SYN",
488
- URG = "URG"
489
- }
490
-
491
- export interface TCPFlagField {
492
-
493
- Flags: (TCPFlag | string)[] | undefined;
494
-
495
- Masks?: (TCPFlag | string)[];
496
- }
497
-
498
- export interface MatchAttributes {
499
-
500
- Sources?: Address[];
501
-
502
- Destinations?: Address[];
503
-
504
- SourcePorts?: PortRange[];
505
-
506
- DestinationPorts?: PortRange[];
507
-
508
- Protocols?: number[];
509
-
510
- TCPFlags?: TCPFlagField[];
511
- }
512
-
513
- export interface RuleDefinition {
514
-
515
- MatchAttributes: MatchAttributes | undefined;
516
-
517
- Actions: string[] | undefined;
518
- }
519
-
520
- export interface StatelessRule {
521
-
522
- RuleDefinition: RuleDefinition | undefined;
523
-
524
- Priority: number | undefined;
525
- }
526
-
527
- export interface StatelessRulesAndCustomActions {
528
-
529
- StatelessRules: StatelessRule[] | undefined;
530
-
531
- CustomActions?: CustomAction[];
532
- }
533
-
534
- export interface RulesSource {
535
-
536
- RulesString?: string;
537
-
538
- RulesSourceList?: RulesSourceList;
539
-
540
- StatefulRules?: StatefulRule[];
541
-
542
- StatelessRulesAndCustomActions?: StatelessRulesAndCustomActions;
543
- }
544
-
545
- export interface IPSet {
546
-
547
- Definition: string[] | undefined;
548
- }
549
-
550
- export interface PortSet {
551
-
552
- Definition?: string[];
553
- }
554
-
555
- export interface RuleVariables {
556
-
557
- IPSets?: Record<string, IPSet>;
558
-
559
- PortSets?: Record<string, PortSet>;
560
- }
561
-
562
- export interface StatefulRuleOptions {
563
-
564
- RuleOrder?: RuleOrder | string;
565
- }
566
-
567
- export interface RuleGroup {
568
-
569
- RuleVariables?: RuleVariables;
570
-
571
- ReferenceSets?: ReferenceSets;
572
-
573
- RulesSource: RulesSource | undefined;
574
-
575
- StatefulRuleOptions?: StatefulRuleOptions;
576
- }
577
-
578
- export interface SourceMetadata {
579
-
580
- SourceArn?: string;
581
-
582
- SourceUpdateToken?: string;
583
- }
584
- export declare enum RuleGroupType {
585
- STATEFUL = "STATEFUL",
586
- STATELESS = "STATELESS"
587
- }
588
- export interface CreateRuleGroupRequest {
589
-
590
- RuleGroupName: string | undefined;
591
-
592
- RuleGroup?: RuleGroup;
593
-
594
- Rules?: string;
595
-
596
- Type: RuleGroupType | string | undefined;
597
-
598
- Description?: string;
599
-
600
- Capacity: number | undefined;
601
-
602
- Tags?: Tag[];
603
-
604
- DryRun?: boolean;
605
-
606
- EncryptionConfiguration?: EncryptionConfiguration;
607
-
608
- SourceMetadata?: SourceMetadata;
609
- }
610
-
611
- export interface RuleGroupResponse {
612
-
613
- RuleGroupArn: string | undefined;
614
-
615
- RuleGroupName: string | undefined;
616
-
617
- RuleGroupId: string | undefined;
618
-
619
- Description?: string;
620
-
621
- Type?: RuleGroupType | string;
622
-
623
- Capacity?: number;
624
-
625
- RuleGroupStatus?: ResourceStatus | string;
626
-
627
- Tags?: Tag[];
628
-
629
- ConsumedCapacity?: number;
630
-
631
- NumberOfAssociations?: number;
632
-
633
- EncryptionConfiguration?: EncryptionConfiguration;
634
-
635
- SourceMetadata?: SourceMetadata;
636
-
637
- SnsTopic?: string;
638
-
639
- LastModifiedTime?: Date;
640
- }
641
- export interface CreateRuleGroupResponse {
642
-
643
- UpdateToken: string | undefined;
644
-
645
- RuleGroupResponse: RuleGroupResponse | undefined;
646
- }
647
- export interface DeleteFirewallRequest {
648
-
649
- FirewallName?: string;
650
-
651
- FirewallArn?: string;
652
- }
653
- export interface DeleteFirewallResponse {
654
-
655
- Firewall?: Firewall;
656
-
657
- FirewallStatus?: FirewallStatus;
658
- }
659
-
660
- export declare class UnsupportedOperationException extends __BaseException {
661
- readonly name: "UnsupportedOperationException";
662
- readonly $fault: "client";
663
- Message?: string;
664
-
665
- constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
666
- }
667
- export interface DeleteFirewallPolicyRequest {
668
-
669
- FirewallPolicyName?: string;
670
-
671
- FirewallPolicyArn?: string;
672
- }
673
- export interface DeleteFirewallPolicyResponse {
674
-
675
- FirewallPolicyResponse: FirewallPolicyResponse | undefined;
676
- }
677
- export interface DeleteResourcePolicyRequest {
678
-
679
- ResourceArn: string | undefined;
680
- }
681
- export interface DeleteResourcePolicyResponse {
682
- }
683
-
684
- export declare class InvalidResourcePolicyException extends __BaseException {
685
- readonly name: "InvalidResourcePolicyException";
686
- readonly $fault: "client";
687
- Message?: string;
688
-
689
- constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
690
- }
691
- export interface DeleteRuleGroupRequest {
692
-
693
- RuleGroupName?: string;
694
-
695
- RuleGroupArn?: string;
696
-
697
- Type?: RuleGroupType | string;
698
- }
699
- export interface DeleteRuleGroupResponse {
700
-
701
- RuleGroupResponse: RuleGroupResponse | undefined;
702
- }
703
- export interface DescribeFirewallRequest {
704
-
705
- FirewallName?: string;
706
-
707
- FirewallArn?: string;
708
- }
709
- export interface DescribeFirewallResponse {
710
-
711
- UpdateToken?: string;
712
-
713
- Firewall?: Firewall;
714
-
715
- FirewallStatus?: FirewallStatus;
716
- }
717
- export interface DescribeFirewallPolicyRequest {
718
-
719
- FirewallPolicyName?: string;
720
-
721
- FirewallPolicyArn?: string;
722
- }
723
- export interface DescribeFirewallPolicyResponse {
724
-
725
- UpdateToken: string | undefined;
726
-
727
- FirewallPolicyResponse: FirewallPolicyResponse | undefined;
728
-
729
- FirewallPolicy?: FirewallPolicy;
730
- }
731
- export interface DescribeLoggingConfigurationRequest {
732
-
733
- FirewallArn?: string;
734
-
735
- FirewallName?: string;
736
- }
737
- export declare enum LogDestinationType {
738
- CLOUDWATCH_LOGS = "CloudWatchLogs",
739
- KINESIS_DATA_FIREHOSE = "KinesisDataFirehose",
740
- S3 = "S3"
741
- }
742
- export declare enum LogType {
743
- ALERT = "ALERT",
744
- FLOW = "FLOW"
745
- }
746
-
747
- export interface LogDestinationConfig {
748
-
749
- LogType: LogType | string | undefined;
750
-
751
- LogDestinationType: LogDestinationType | string | undefined;
752
-
753
- LogDestination: Record<string, string> | undefined;
754
- }
755
-
756
- export interface LoggingConfiguration {
757
-
758
- LogDestinationConfigs: LogDestinationConfig[] | undefined;
759
- }
760
- export interface DescribeLoggingConfigurationResponse {
761
-
762
- FirewallArn?: string;
763
-
764
- LoggingConfiguration?: LoggingConfiguration;
765
- }
766
- export interface DescribeResourcePolicyRequest {
767
-
768
- ResourceArn: string | undefined;
769
- }
770
- export interface DescribeResourcePolicyResponse {
771
-
772
- Policy?: string;
773
- }
774
- export interface DescribeRuleGroupRequest {
775
-
776
- RuleGroupName?: string;
777
-
778
- RuleGroupArn?: string;
779
-
780
- Type?: RuleGroupType | string;
781
- }
782
- export interface DescribeRuleGroupResponse {
783
-
784
- UpdateToken: string | undefined;
785
-
786
- RuleGroup?: RuleGroup;
787
-
788
- RuleGroupResponse: RuleGroupResponse | undefined;
789
- }
790
- export interface DescribeRuleGroupMetadataRequest {
791
-
792
- RuleGroupName?: string;
793
-
794
- RuleGroupArn?: string;
795
-
796
- Type?: RuleGroupType | string;
797
- }
798
- export interface DescribeRuleGroupMetadataResponse {
799
-
800
- RuleGroupArn: string | undefined;
801
-
802
- RuleGroupName: string | undefined;
803
-
804
- Description?: string;
805
-
806
- Type?: RuleGroupType | string;
807
-
808
- Capacity?: number;
809
-
810
- StatefulRuleOptions?: StatefulRuleOptions;
811
-
812
- LastModifiedTime?: Date;
813
- }
814
- export interface DisassociateSubnetsRequest {
815
-
816
- UpdateToken?: string;
817
-
818
- FirewallArn?: string;
819
-
820
- FirewallName?: string;
821
-
822
- SubnetIds: string[] | undefined;
823
- }
824
- export interface DisassociateSubnetsResponse {
825
-
826
- FirewallArn?: string;
827
-
828
- FirewallName?: string;
829
-
830
- SubnetMappings?: SubnetMapping[];
831
-
832
- UpdateToken?: string;
833
- }
834
-
835
- export interface FirewallMetadata {
836
-
837
- FirewallName?: string;
838
-
839
- FirewallArn?: string;
840
- }
841
-
842
- export interface FirewallPolicyMetadata {
843
-
844
- Name?: string;
845
-
846
- Arn?: string;
847
- }
848
- export interface ListFirewallPoliciesRequest {
849
-
850
- NextToken?: string;
851
-
852
- MaxResults?: number;
853
- }
854
- export interface ListFirewallPoliciesResponse {
855
-
856
- NextToken?: string;
857
-
858
- FirewallPolicies?: FirewallPolicyMetadata[];
859
- }
860
- export interface ListFirewallsRequest {
861
-
862
- NextToken?: string;
863
-
864
- VpcIds?: string[];
865
-
866
- MaxResults?: number;
867
- }
868
- export interface ListFirewallsResponse {
869
-
870
- NextToken?: string;
871
-
872
- Firewalls?: FirewallMetadata[];
873
- }
874
- export declare enum ResourceManagedType {
875
- AWS_MANAGED_DOMAIN_LISTS = "AWS_MANAGED_DOMAIN_LISTS",
876
- AWS_MANAGED_THREAT_SIGNATURES = "AWS_MANAGED_THREAT_SIGNATURES"
877
- }
878
- export declare enum ResourceManagedStatus {
879
- ACCOUNT = "ACCOUNT",
880
- MANAGED = "MANAGED"
881
- }
882
- export interface ListRuleGroupsRequest {
883
-
884
- NextToken?: string;
885
-
886
- MaxResults?: number;
887
-
888
- Scope?: ResourceManagedStatus | string;
889
-
890
- ManagedType?: ResourceManagedType | string;
891
-
892
- Type?: RuleGroupType | string;
893
- }
894
-
895
- export interface RuleGroupMetadata {
896
-
897
- Name?: string;
898
-
899
- Arn?: string;
900
- }
901
- export interface ListRuleGroupsResponse {
902
-
903
- NextToken?: string;
904
-
905
- RuleGroups?: RuleGroupMetadata[];
906
- }
907
- export interface ListTagsForResourceRequest {
908
-
909
- NextToken?: string;
910
-
911
- MaxResults?: number;
912
-
913
- ResourceArn: string | undefined;
914
- }
915
- export interface ListTagsForResourceResponse {
916
-
917
- NextToken?: string;
918
-
919
- Tags?: Tag[];
920
- }
921
-
922
- export declare class LogDestinationPermissionException extends __BaseException {
923
- readonly name: "LogDestinationPermissionException";
924
- readonly $fault: "client";
925
- Message?: string;
926
-
927
- constructor(opts: __ExceptionOptionType<LogDestinationPermissionException, __BaseException>);
928
- }
929
- export interface PutResourcePolicyRequest {
930
-
931
- ResourceArn: string | undefined;
932
-
933
- Policy: string | undefined;
934
- }
935
- export interface PutResourcePolicyResponse {
936
- }
937
- export interface TagResourceRequest {
938
-
939
- ResourceArn: string | undefined;
940
-
941
- Tags: Tag[] | undefined;
942
- }
943
- export interface TagResourceResponse {
944
- }
945
- export interface UntagResourceRequest {
946
-
947
- ResourceArn: string | undefined;
948
-
949
- TagKeys: string[] | undefined;
950
- }
951
- export interface UntagResourceResponse {
952
- }
953
-
954
- export declare class ResourceOwnerCheckException extends __BaseException {
955
- readonly name: "ResourceOwnerCheckException";
956
- readonly $fault: "client";
957
- Message?: string;
958
-
959
- constructor(opts: __ExceptionOptionType<ResourceOwnerCheckException, __BaseException>);
960
- }
961
- export interface UpdateFirewallDeleteProtectionRequest {
962
-
963
- UpdateToken?: string;
964
-
965
- FirewallArn?: string;
966
-
967
- FirewallName?: string;
968
-
969
- DeleteProtection: boolean | undefined;
970
- }
971
- export interface UpdateFirewallDeleteProtectionResponse {
972
-
973
- FirewallArn?: string;
974
-
975
- FirewallName?: string;
976
-
977
- DeleteProtection?: boolean;
978
-
979
- UpdateToken?: string;
980
- }
981
- export interface UpdateFirewallDescriptionRequest {
982
-
983
- UpdateToken?: string;
984
-
985
- FirewallArn?: string;
986
-
987
- FirewallName?: string;
988
-
989
- Description?: string;
990
- }
991
- export interface UpdateFirewallDescriptionResponse {
992
-
993
- FirewallArn?: string;
994
-
995
- FirewallName?: string;
996
-
997
- Description?: string;
998
-
999
- UpdateToken?: string;
1000
- }
1001
- export interface UpdateFirewallEncryptionConfigurationRequest {
1002
-
1003
- UpdateToken?: string;
1004
-
1005
- FirewallArn?: string;
1006
-
1007
- FirewallName?: string;
1008
-
1009
- EncryptionConfiguration?: EncryptionConfiguration;
1010
- }
1011
- export interface UpdateFirewallEncryptionConfigurationResponse {
1012
-
1013
- FirewallArn?: string;
1014
-
1015
- FirewallName?: string;
1016
-
1017
- UpdateToken?: string;
1018
-
1019
- EncryptionConfiguration?: EncryptionConfiguration;
1020
- }
1021
- export interface UpdateFirewallPolicyRequest {
1022
-
1023
- UpdateToken: string | undefined;
1024
-
1025
- FirewallPolicyArn?: string;
1026
-
1027
- FirewallPolicyName?: string;
1028
-
1029
- FirewallPolicy: FirewallPolicy | undefined;
1030
-
1031
- Description?: string;
1032
-
1033
- DryRun?: boolean;
1034
-
1035
- EncryptionConfiguration?: EncryptionConfiguration;
1036
- }
1037
- export interface UpdateFirewallPolicyResponse {
1038
-
1039
- UpdateToken: string | undefined;
1040
-
1041
- FirewallPolicyResponse: FirewallPolicyResponse | undefined;
1042
- }
1043
- export interface UpdateFirewallPolicyChangeProtectionRequest {
1044
-
1045
- UpdateToken?: string;
1046
-
1047
- FirewallArn?: string;
1048
-
1049
- FirewallName?: string;
1050
-
1051
- FirewallPolicyChangeProtection: boolean | undefined;
1052
- }
1053
- export interface UpdateFirewallPolicyChangeProtectionResponse {
1054
-
1055
- UpdateToken?: string;
1056
-
1057
- FirewallArn?: string;
1058
-
1059
- FirewallName?: string;
1060
-
1061
- FirewallPolicyChangeProtection?: boolean;
1062
- }
1063
- export interface UpdateLoggingConfigurationRequest {
1064
-
1065
- FirewallArn?: string;
1066
-
1067
- FirewallName?: string;
1068
-
1069
- LoggingConfiguration?: LoggingConfiguration;
1070
- }
1071
- export interface UpdateLoggingConfigurationResponse {
1072
-
1073
- FirewallArn?: string;
1074
-
1075
- FirewallName?: string;
1076
-
1077
- LoggingConfiguration?: LoggingConfiguration;
1078
- }
1079
- export interface UpdateRuleGroupRequest {
1080
-
1081
- UpdateToken: string | undefined;
1082
-
1083
- RuleGroupArn?: string;
1084
-
1085
- RuleGroupName?: string;
1086
-
1087
- RuleGroup?: RuleGroup;
1088
-
1089
- Rules?: string;
1090
-
1091
- Type?: RuleGroupType | string;
1092
-
1093
- Description?: string;
1094
-
1095
- DryRun?: boolean;
1096
-
1097
- EncryptionConfiguration?: EncryptionConfiguration;
1098
-
1099
- SourceMetadata?: SourceMetadata;
1100
- }
1101
- export interface UpdateRuleGroupResponse {
1102
-
1103
- UpdateToken: string | undefined;
1104
-
1105
- RuleGroupResponse: RuleGroupResponse | undefined;
1106
- }
1107
- export interface UpdateSubnetChangeProtectionRequest {
1108
-
1109
- UpdateToken?: string;
1110
-
1111
- FirewallArn?: string;
1112
-
1113
- FirewallName?: string;
1114
-
1115
- SubnetChangeProtection: boolean | undefined;
1116
- }
1117
- export interface UpdateSubnetChangeProtectionResponse {
1118
-
1119
- UpdateToken?: string;
1120
-
1121
- FirewallArn?: string;
1122
-
1123
- FirewallName?: string;
1124
-
1125
- SubnetChangeProtection?: boolean;
1126
- }
1127
-
1128
- export declare const DimensionFilterSensitiveLog: (obj: Dimension) => any;
1129
-
1130
- export declare const PublishMetricActionFilterSensitiveLog: (obj: PublishMetricAction) => any;
1131
-
1132
- export declare const ActionDefinitionFilterSensitiveLog: (obj: ActionDefinition) => any;
1133
-
1134
- export declare const AddressFilterSensitiveLog: (obj: Address) => any;
1135
-
1136
- export declare const AssociateFirewallPolicyRequestFilterSensitiveLog: (obj: AssociateFirewallPolicyRequest) => any;
1137
-
1138
- export declare const AssociateFirewallPolicyResponseFilterSensitiveLog: (obj: AssociateFirewallPolicyResponse) => any;
1139
-
1140
- export declare const SubnetMappingFilterSensitiveLog: (obj: SubnetMapping) => any;
1141
-
1142
- export declare const AssociateSubnetsRequestFilterSensitiveLog: (obj: AssociateSubnetsRequest) => any;
1143
-
1144
- export declare const AssociateSubnetsResponseFilterSensitiveLog: (obj: AssociateSubnetsResponse) => any;
1145
-
1146
- export declare const AttachmentFilterSensitiveLog: (obj: Attachment) => any;
1147
-
1148
- export declare const IPSetMetadataFilterSensitiveLog: (obj: IPSetMetadata) => any;
1149
-
1150
- export declare const CIDRSummaryFilterSensitiveLog: (obj: CIDRSummary) => any;
1151
-
1152
- export declare const CapacityUsageSummaryFilterSensitiveLog: (obj: CapacityUsageSummary) => any;
1153
-
1154
- export declare const EncryptionConfigurationFilterSensitiveLog: (obj: EncryptionConfiguration) => any;
1155
-
1156
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1157
-
1158
- export declare const CreateFirewallRequestFilterSensitiveLog: (obj: CreateFirewallRequest) => any;
1159
-
1160
- export declare const FirewallFilterSensitiveLog: (obj: Firewall) => any;
1161
-
1162
- export declare const PerObjectStatusFilterSensitiveLog: (obj: PerObjectStatus) => any;
1163
-
1164
- export declare const SyncStateFilterSensitiveLog: (obj: SyncState) => any;
1165
-
1166
- export declare const FirewallStatusFilterSensitiveLog: (obj: FirewallStatus) => any;
1167
-
1168
- export declare const CreateFirewallResponseFilterSensitiveLog: (obj: CreateFirewallResponse) => any;
1169
-
1170
- export declare const StatefulEngineOptionsFilterSensitiveLog: (obj: StatefulEngineOptions) => any;
1171
-
1172
- export declare const StatefulRuleGroupOverrideFilterSensitiveLog: (obj: StatefulRuleGroupOverride) => any;
1173
-
1174
- export declare const StatefulRuleGroupReferenceFilterSensitiveLog: (obj: StatefulRuleGroupReference) => any;
1175
-
1176
- export declare const CustomActionFilterSensitiveLog: (obj: CustomAction) => any;
1177
-
1178
- export declare const StatelessRuleGroupReferenceFilterSensitiveLog: (obj: StatelessRuleGroupReference) => any;
1179
-
1180
- export declare const FirewallPolicyFilterSensitiveLog: (obj: FirewallPolicy) => any;
1181
-
1182
- export declare const CreateFirewallPolicyRequestFilterSensitiveLog: (obj: CreateFirewallPolicyRequest) => any;
1183
-
1184
- export declare const FirewallPolicyResponseFilterSensitiveLog: (obj: FirewallPolicyResponse) => any;
1185
-
1186
- export declare const CreateFirewallPolicyResponseFilterSensitiveLog: (obj: CreateFirewallPolicyResponse) => any;
1187
-
1188
- export declare const IPSetReferenceFilterSensitiveLog: (obj: IPSetReference) => any;
1189
-
1190
- export declare const ReferenceSetsFilterSensitiveLog: (obj: ReferenceSets) => any;
1191
-
1192
- export declare const RulesSourceListFilterSensitiveLog: (obj: RulesSourceList) => any;
1193
-
1194
- export declare const HeaderFilterSensitiveLog: (obj: Header) => any;
1195
-
1196
- export declare const RuleOptionFilterSensitiveLog: (obj: RuleOption) => any;
1197
-
1198
- export declare const StatefulRuleFilterSensitiveLog: (obj: StatefulRule) => any;
1199
-
1200
- export declare const PortRangeFilterSensitiveLog: (obj: PortRange) => any;
1201
-
1202
- export declare const TCPFlagFieldFilterSensitiveLog: (obj: TCPFlagField) => any;
1203
-
1204
- export declare const MatchAttributesFilterSensitiveLog: (obj: MatchAttributes) => any;
1205
-
1206
- export declare const RuleDefinitionFilterSensitiveLog: (obj: RuleDefinition) => any;
1207
-
1208
- export declare const StatelessRuleFilterSensitiveLog: (obj: StatelessRule) => any;
1209
-
1210
- export declare const StatelessRulesAndCustomActionsFilterSensitiveLog: (obj: StatelessRulesAndCustomActions) => any;
1211
-
1212
- export declare const RulesSourceFilterSensitiveLog: (obj: RulesSource) => any;
1213
-
1214
- export declare const IPSetFilterSensitiveLog: (obj: IPSet) => any;
1215
-
1216
- export declare const PortSetFilterSensitiveLog: (obj: PortSet) => any;
1217
-
1218
- export declare const RuleVariablesFilterSensitiveLog: (obj: RuleVariables) => any;
1219
-
1220
- export declare const StatefulRuleOptionsFilterSensitiveLog: (obj: StatefulRuleOptions) => any;
1221
-
1222
- export declare const RuleGroupFilterSensitiveLog: (obj: RuleGroup) => any;
1223
-
1224
- export declare const SourceMetadataFilterSensitiveLog: (obj: SourceMetadata) => any;
1225
-
1226
- export declare const CreateRuleGroupRequestFilterSensitiveLog: (obj: CreateRuleGroupRequest) => any;
1227
-
1228
- export declare const RuleGroupResponseFilterSensitiveLog: (obj: RuleGroupResponse) => any;
1229
-
1230
- export declare const CreateRuleGroupResponseFilterSensitiveLog: (obj: CreateRuleGroupResponse) => any;
1231
-
1232
- export declare const DeleteFirewallRequestFilterSensitiveLog: (obj: DeleteFirewallRequest) => any;
1233
-
1234
- export declare const DeleteFirewallResponseFilterSensitiveLog: (obj: DeleteFirewallResponse) => any;
1235
-
1236
- export declare const DeleteFirewallPolicyRequestFilterSensitiveLog: (obj: DeleteFirewallPolicyRequest) => any;
1237
-
1238
- export declare const DeleteFirewallPolicyResponseFilterSensitiveLog: (obj: DeleteFirewallPolicyResponse) => any;
1239
-
1240
- export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (obj: DeleteResourcePolicyRequest) => any;
1241
-
1242
- export declare const DeleteResourcePolicyResponseFilterSensitiveLog: (obj: DeleteResourcePolicyResponse) => any;
1243
-
1244
- export declare const DeleteRuleGroupRequestFilterSensitiveLog: (obj: DeleteRuleGroupRequest) => any;
1245
-
1246
- export declare const DeleteRuleGroupResponseFilterSensitiveLog: (obj: DeleteRuleGroupResponse) => any;
1247
-
1248
- export declare const DescribeFirewallRequestFilterSensitiveLog: (obj: DescribeFirewallRequest) => any;
1249
-
1250
- export declare const DescribeFirewallResponseFilterSensitiveLog: (obj: DescribeFirewallResponse) => any;
1251
-
1252
- export declare const DescribeFirewallPolicyRequestFilterSensitiveLog: (obj: DescribeFirewallPolicyRequest) => any;
1253
-
1254
- export declare const DescribeFirewallPolicyResponseFilterSensitiveLog: (obj: DescribeFirewallPolicyResponse) => any;
1255
-
1256
- export declare const DescribeLoggingConfigurationRequestFilterSensitiveLog: (obj: DescribeLoggingConfigurationRequest) => any;
1257
-
1258
- export declare const LogDestinationConfigFilterSensitiveLog: (obj: LogDestinationConfig) => any;
1259
-
1260
- export declare const LoggingConfigurationFilterSensitiveLog: (obj: LoggingConfiguration) => any;
1261
-
1262
- export declare const DescribeLoggingConfigurationResponseFilterSensitiveLog: (obj: DescribeLoggingConfigurationResponse) => any;
1263
-
1264
- export declare const DescribeResourcePolicyRequestFilterSensitiveLog: (obj: DescribeResourcePolicyRequest) => any;
1265
-
1266
- export declare const DescribeResourcePolicyResponseFilterSensitiveLog: (obj: DescribeResourcePolicyResponse) => any;
1267
-
1268
- export declare const DescribeRuleGroupRequestFilterSensitiveLog: (obj: DescribeRuleGroupRequest) => any;
1269
-
1270
- export declare const DescribeRuleGroupResponseFilterSensitiveLog: (obj: DescribeRuleGroupResponse) => any;
1271
-
1272
- export declare const DescribeRuleGroupMetadataRequestFilterSensitiveLog: (obj: DescribeRuleGroupMetadataRequest) => any;
1273
-
1274
- export declare const DescribeRuleGroupMetadataResponseFilterSensitiveLog: (obj: DescribeRuleGroupMetadataResponse) => any;
1275
-
1276
- export declare const DisassociateSubnetsRequestFilterSensitiveLog: (obj: DisassociateSubnetsRequest) => any;
1277
-
1278
- export declare const DisassociateSubnetsResponseFilterSensitiveLog: (obj: DisassociateSubnetsResponse) => any;
1279
-
1280
- export declare const FirewallMetadataFilterSensitiveLog: (obj: FirewallMetadata) => any;
1281
-
1282
- export declare const FirewallPolicyMetadataFilterSensitiveLog: (obj: FirewallPolicyMetadata) => any;
1283
-
1284
- export declare const ListFirewallPoliciesRequestFilterSensitiveLog: (obj: ListFirewallPoliciesRequest) => any;
1285
-
1286
- export declare const ListFirewallPoliciesResponseFilterSensitiveLog: (obj: ListFirewallPoliciesResponse) => any;
1287
-
1288
- export declare const ListFirewallsRequestFilterSensitiveLog: (obj: ListFirewallsRequest) => any;
1289
-
1290
- export declare const ListFirewallsResponseFilterSensitiveLog: (obj: ListFirewallsResponse) => any;
1291
-
1292
- export declare const ListRuleGroupsRequestFilterSensitiveLog: (obj: ListRuleGroupsRequest) => any;
1293
-
1294
- export declare const RuleGroupMetadataFilterSensitiveLog: (obj: RuleGroupMetadata) => any;
1295
-
1296
- export declare const ListRuleGroupsResponseFilterSensitiveLog: (obj: ListRuleGroupsResponse) => any;
1297
-
1298
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
1299
-
1300
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1301
-
1302
- export declare const PutResourcePolicyRequestFilterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
1303
-
1304
- export declare const PutResourcePolicyResponseFilterSensitiveLog: (obj: PutResourcePolicyResponse) => any;
1305
-
1306
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
1307
-
1308
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
1309
-
1310
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
1311
-
1312
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
1313
-
1314
- export declare const UpdateFirewallDeleteProtectionRequestFilterSensitiveLog: (obj: UpdateFirewallDeleteProtectionRequest) => any;
1315
-
1316
- export declare const UpdateFirewallDeleteProtectionResponseFilterSensitiveLog: (obj: UpdateFirewallDeleteProtectionResponse) => any;
1317
-
1318
- export declare const UpdateFirewallDescriptionRequestFilterSensitiveLog: (obj: UpdateFirewallDescriptionRequest) => any;
1319
-
1320
- export declare const UpdateFirewallDescriptionResponseFilterSensitiveLog: (obj: UpdateFirewallDescriptionResponse) => any;
1321
-
1322
- export declare const UpdateFirewallEncryptionConfigurationRequestFilterSensitiveLog: (obj: UpdateFirewallEncryptionConfigurationRequest) => any;
1323
-
1324
- export declare const UpdateFirewallEncryptionConfigurationResponseFilterSensitiveLog: (obj: UpdateFirewallEncryptionConfigurationResponse) => any;
1325
-
1326
- export declare const UpdateFirewallPolicyRequestFilterSensitiveLog: (obj: UpdateFirewallPolicyRequest) => any;
1327
-
1328
- export declare const UpdateFirewallPolicyResponseFilterSensitiveLog: (obj: UpdateFirewallPolicyResponse) => any;
1329
-
1330
- export declare const UpdateFirewallPolicyChangeProtectionRequestFilterSensitiveLog: (obj: UpdateFirewallPolicyChangeProtectionRequest) => any;
1331
-
1332
- export declare const UpdateFirewallPolicyChangeProtectionResponseFilterSensitiveLog: (obj: UpdateFirewallPolicyChangeProtectionResponse) => any;
1333
-
1334
- export declare const UpdateLoggingConfigurationRequestFilterSensitiveLog: (obj: UpdateLoggingConfigurationRequest) => any;
1335
-
1336
- export declare const UpdateLoggingConfigurationResponseFilterSensitiveLog: (obj: UpdateLoggingConfigurationResponse) => any;
1337
-
1338
- export declare const UpdateRuleGroupRequestFilterSensitiveLog: (obj: UpdateRuleGroupRequest) => any;
1339
-
1340
- export declare const UpdateRuleGroupResponseFilterSensitiveLog: (obj: UpdateRuleGroupResponse) => any;
1341
-
1342
- export declare const UpdateSubnetChangeProtectionRequestFilterSensitiveLog: (obj: UpdateSubnetChangeProtectionRequest) => any;
1343
-
1344
- export declare const UpdateSubnetChangeProtectionResponseFilterSensitiveLog: (obj: UpdateSubnetChangeProtectionResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { NetworkFirewallServiceException as __BaseException } from "./NetworkFirewallServiceException";
3
+ export interface Dimension {
4
+ Value: string | undefined;
5
+ }
6
+ export interface PublishMetricAction {
7
+ Dimensions: Dimension[] | undefined;
8
+ }
9
+ export interface ActionDefinition {
10
+ PublishMetricAction?: PublishMetricAction;
11
+ }
12
+ export interface Address {
13
+ AddressDefinition: string | undefined;
14
+ }
15
+ export interface AssociateFirewallPolicyRequest {
16
+ UpdateToken?: string;
17
+ FirewallArn?: string;
18
+ FirewallName?: string;
19
+ FirewallPolicyArn: string | undefined;
20
+ }
21
+ export interface AssociateFirewallPolicyResponse {
22
+ FirewallArn?: string;
23
+ FirewallName?: string;
24
+ FirewallPolicyArn?: string;
25
+ UpdateToken?: string;
26
+ }
27
+ export declare class InternalServerError extends __BaseException {
28
+ readonly name: "InternalServerError";
29
+ readonly $fault: "server";
30
+ Message?: string;
31
+ constructor(
32
+ opts: __ExceptionOptionType<InternalServerError, __BaseException>
33
+ );
34
+ }
35
+ export declare class InvalidOperationException extends __BaseException {
36
+ readonly name: "InvalidOperationException";
37
+ readonly $fault: "client";
38
+ Message?: string;
39
+ constructor(
40
+ opts: __ExceptionOptionType<InvalidOperationException, __BaseException>
41
+ );
42
+ }
43
+ export declare class InvalidRequestException extends __BaseException {
44
+ readonly name: "InvalidRequestException";
45
+ readonly $fault: "client";
46
+ Message?: string;
47
+ constructor(
48
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
49
+ );
50
+ }
51
+ export declare class InvalidTokenException extends __BaseException {
52
+ readonly name: "InvalidTokenException";
53
+ readonly $fault: "client";
54
+ Message?: string;
55
+ constructor(
56
+ opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
57
+ );
58
+ }
59
+ export declare class ResourceNotFoundException extends __BaseException {
60
+ readonly name: "ResourceNotFoundException";
61
+ readonly $fault: "client";
62
+ Message?: string;
63
+ constructor(
64
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
65
+ );
66
+ }
67
+ export declare class ThrottlingException extends __BaseException {
68
+ readonly name: "ThrottlingException";
69
+ readonly $fault: "client";
70
+ Message?: string;
71
+ constructor(
72
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
73
+ );
74
+ }
75
+ export interface SubnetMapping {
76
+ SubnetId: string | undefined;
77
+ }
78
+ export interface AssociateSubnetsRequest {
79
+ UpdateToken?: string;
80
+ FirewallArn?: string;
81
+ FirewallName?: string;
82
+ SubnetMappings: SubnetMapping[] | undefined;
83
+ }
84
+ export interface AssociateSubnetsResponse {
85
+ FirewallArn?: string;
86
+ FirewallName?: string;
87
+ SubnetMappings?: SubnetMapping[];
88
+ UpdateToken?: string;
89
+ }
90
+ export declare class InsufficientCapacityException extends __BaseException {
91
+ readonly name: "InsufficientCapacityException";
92
+ readonly $fault: "server";
93
+ Message?: string;
94
+ constructor(
95
+ opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
96
+ );
97
+ }
98
+ export declare enum AttachmentStatus {
99
+ CREATING = "CREATING",
100
+ DELETING = "DELETING",
101
+ READY = "READY",
102
+ SCALING = "SCALING",
103
+ }
104
+ export interface Attachment {
105
+ SubnetId?: string;
106
+ EndpointId?: string;
107
+ Status?: AttachmentStatus | string;
108
+ }
109
+ export interface IPSetMetadata {
110
+ ResolvedCIDRCount?: number;
111
+ }
112
+ export interface CIDRSummary {
113
+ AvailableCIDRCount?: number;
114
+ UtilizedCIDRCount?: number;
115
+ IPSetReferences?: Record<string, IPSetMetadata>;
116
+ }
117
+ export interface CapacityUsageSummary {
118
+ CIDRs?: CIDRSummary;
119
+ }
120
+ export declare enum ConfigurationSyncState {
121
+ CAPACITY_CONSTRAINED = "CAPACITY_CONSTRAINED",
122
+ IN_SYNC = "IN_SYNC",
123
+ PENDING = "PENDING",
124
+ }
125
+ export declare enum EncryptionType {
126
+ AWS_OWNED_KMS_KEY = "AWS_OWNED_KMS_KEY",
127
+ CUSTOMER_KMS = "CUSTOMER_KMS",
128
+ }
129
+ export interface EncryptionConfiguration {
130
+ KeyId?: string;
131
+ Type: EncryptionType | string | undefined;
132
+ }
133
+ export interface Tag {
134
+ Key: string | undefined;
135
+ Value: string | undefined;
136
+ }
137
+ export interface CreateFirewallRequest {
138
+ FirewallName: string | undefined;
139
+ FirewallPolicyArn: string | undefined;
140
+ VpcId: string | undefined;
141
+ SubnetMappings: SubnetMapping[] | undefined;
142
+ DeleteProtection?: boolean;
143
+ SubnetChangeProtection?: boolean;
144
+ FirewallPolicyChangeProtection?: boolean;
145
+ Description?: string;
146
+ Tags?: Tag[];
147
+ EncryptionConfiguration?: EncryptionConfiguration;
148
+ }
149
+ export interface Firewall {
150
+ FirewallName?: string;
151
+ FirewallArn?: string;
152
+ FirewallPolicyArn: string | undefined;
153
+ VpcId: string | undefined;
154
+ SubnetMappings: SubnetMapping[] | undefined;
155
+ DeleteProtection?: boolean;
156
+ SubnetChangeProtection?: boolean;
157
+ FirewallPolicyChangeProtection?: boolean;
158
+ Description?: string;
159
+ FirewallId: string | undefined;
160
+ Tags?: Tag[];
161
+ EncryptionConfiguration?: EncryptionConfiguration;
162
+ }
163
+ export declare enum FirewallStatusValue {
164
+ DELETING = "DELETING",
165
+ PROVISIONING = "PROVISIONING",
166
+ READY = "READY",
167
+ }
168
+ export declare enum PerObjectSyncStatus {
169
+ CAPACITY_CONSTRAINED = "CAPACITY_CONSTRAINED",
170
+ IN_SYNC = "IN_SYNC",
171
+ PENDING = "PENDING",
172
+ }
173
+ export interface PerObjectStatus {
174
+ SyncStatus?: PerObjectSyncStatus | string;
175
+ UpdateToken?: string;
176
+ }
177
+ export interface SyncState {
178
+ Attachment?: Attachment;
179
+ Config?: Record<string, PerObjectStatus>;
180
+ }
181
+ export interface FirewallStatus {
182
+ Status: FirewallStatusValue | string | undefined;
183
+ ConfigurationSyncStateSummary: ConfigurationSyncState | string | undefined;
184
+ SyncStates?: Record<string, SyncState>;
185
+ CapacityUsageSummary?: CapacityUsageSummary;
186
+ }
187
+ export interface CreateFirewallResponse {
188
+ Firewall?: Firewall;
189
+ FirewallStatus?: FirewallStatus;
190
+ }
191
+ export declare class LimitExceededException extends __BaseException {
192
+ readonly name: "LimitExceededException";
193
+ readonly $fault: "client";
194
+ Message?: string;
195
+ constructor(
196
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
197
+ );
198
+ }
199
+ export declare enum RuleOrder {
200
+ DEFAULT_ACTION_ORDER = "DEFAULT_ACTION_ORDER",
201
+ STRICT_ORDER = "STRICT_ORDER",
202
+ }
203
+ export interface StatefulEngineOptions {
204
+ RuleOrder?: RuleOrder | string;
205
+ }
206
+ export declare enum OverrideAction {
207
+ DROP_TO_ALERT = "DROP_TO_ALERT",
208
+ }
209
+ export interface StatefulRuleGroupOverride {
210
+ Action?: OverrideAction | string;
211
+ }
212
+ export interface StatefulRuleGroupReference {
213
+ ResourceArn: string | undefined;
214
+ Priority?: number;
215
+ Override?: StatefulRuleGroupOverride;
216
+ }
217
+ export interface CustomAction {
218
+ ActionName: string | undefined;
219
+ ActionDefinition: ActionDefinition | undefined;
220
+ }
221
+ export interface StatelessRuleGroupReference {
222
+ ResourceArn: string | undefined;
223
+ Priority: number | undefined;
224
+ }
225
+ export interface FirewallPolicy {
226
+ StatelessRuleGroupReferences?: StatelessRuleGroupReference[];
227
+ StatelessDefaultActions: string[] | undefined;
228
+ StatelessFragmentDefaultActions: string[] | undefined;
229
+ StatelessCustomActions?: CustomAction[];
230
+ StatefulRuleGroupReferences?: StatefulRuleGroupReference[];
231
+ StatefulDefaultActions?: string[];
232
+ StatefulEngineOptions?: StatefulEngineOptions;
233
+ }
234
+ export interface CreateFirewallPolicyRequest {
235
+ FirewallPolicyName: string | undefined;
236
+ FirewallPolicy: FirewallPolicy | undefined;
237
+ Description?: string;
238
+ Tags?: Tag[];
239
+ DryRun?: boolean;
240
+ EncryptionConfiguration?: EncryptionConfiguration;
241
+ }
242
+ export declare enum ResourceStatus {
243
+ ACTIVE = "ACTIVE",
244
+ DELETING = "DELETING",
245
+ }
246
+ export interface FirewallPolicyResponse {
247
+ FirewallPolicyName: string | undefined;
248
+ FirewallPolicyArn: string | undefined;
249
+ FirewallPolicyId: string | undefined;
250
+ Description?: string;
251
+ FirewallPolicyStatus?: ResourceStatus | string;
252
+ Tags?: Tag[];
253
+ ConsumedStatelessRuleCapacity?: number;
254
+ ConsumedStatefulRuleCapacity?: number;
255
+ NumberOfAssociations?: number;
256
+ EncryptionConfiguration?: EncryptionConfiguration;
257
+ LastModifiedTime?: Date;
258
+ }
259
+ export interface CreateFirewallPolicyResponse {
260
+ UpdateToken: string | undefined;
261
+ FirewallPolicyResponse: FirewallPolicyResponse | undefined;
262
+ }
263
+ export interface IPSetReference {
264
+ ReferenceArn?: string;
265
+ }
266
+ export interface ReferenceSets {
267
+ IPSetReferences?: Record<string, IPSetReference>;
268
+ }
269
+ export declare enum GeneratedRulesType {
270
+ ALLOWLIST = "ALLOWLIST",
271
+ DENYLIST = "DENYLIST",
272
+ }
273
+ export declare enum TargetType {
274
+ HTTP_HOST = "HTTP_HOST",
275
+ TLS_SNI = "TLS_SNI",
276
+ }
277
+ export interface RulesSourceList {
278
+ Targets: string[] | undefined;
279
+ TargetTypes: (TargetType | string)[] | undefined;
280
+ GeneratedRulesType: GeneratedRulesType | string | undefined;
281
+ }
282
+ export declare enum StatefulAction {
283
+ ALERT = "ALERT",
284
+ DROP = "DROP",
285
+ PASS = "PASS",
286
+ }
287
+ export declare enum StatefulRuleDirection {
288
+ ANY = "ANY",
289
+ FORWARD = "FORWARD",
290
+ }
291
+ export declare enum StatefulRuleProtocol {
292
+ ANY = "IP",
293
+ DCERPC = "DCERPC",
294
+ DHCP = "DHCP",
295
+ DNS = "DNS",
296
+ FTP = "FTP",
297
+ HTTP = "HTTP",
298
+ ICMP = "ICMP",
299
+ IKEV2 = "IKEV2",
300
+ IMAP = "IMAP",
301
+ KRB5 = "KRB5",
302
+ MSN = "MSN",
303
+ NTP = "NTP",
304
+ SMB = "SMB",
305
+ SMTP = "SMTP",
306
+ SSH = "SSH",
307
+ TCP = "TCP",
308
+ TFTP = "TFTP",
309
+ TLS = "TLS",
310
+ UDP = "UDP",
311
+ }
312
+ export interface Header {
313
+ Protocol: StatefulRuleProtocol | string | undefined;
314
+ Source: string | undefined;
315
+ SourcePort: string | undefined;
316
+ Direction: StatefulRuleDirection | string | undefined;
317
+ Destination: string | undefined;
318
+ DestinationPort: string | undefined;
319
+ }
320
+ export interface RuleOption {
321
+ Keyword: string | undefined;
322
+ Settings?: string[];
323
+ }
324
+ export interface StatefulRule {
325
+ Action: StatefulAction | string | undefined;
326
+ Header: Header | undefined;
327
+ RuleOptions: RuleOption[] | undefined;
328
+ }
329
+ export interface PortRange {
330
+ FromPort: number | undefined;
331
+ ToPort: number | undefined;
332
+ }
333
+ export declare enum TCPFlag {
334
+ ACK = "ACK",
335
+ CWR = "CWR",
336
+ ECE = "ECE",
337
+ FIN = "FIN",
338
+ PSH = "PSH",
339
+ RST = "RST",
340
+ SYN = "SYN",
341
+ URG = "URG",
342
+ }
343
+ export interface TCPFlagField {
344
+ Flags: (TCPFlag | string)[] | undefined;
345
+ Masks?: (TCPFlag | string)[];
346
+ }
347
+ export interface MatchAttributes {
348
+ Sources?: Address[];
349
+ Destinations?: Address[];
350
+ SourcePorts?: PortRange[];
351
+ DestinationPorts?: PortRange[];
352
+ Protocols?: number[];
353
+ TCPFlags?: TCPFlagField[];
354
+ }
355
+ export interface RuleDefinition {
356
+ MatchAttributes: MatchAttributes | undefined;
357
+ Actions: string[] | undefined;
358
+ }
359
+ export interface StatelessRule {
360
+ RuleDefinition: RuleDefinition | undefined;
361
+ Priority: number | undefined;
362
+ }
363
+ export interface StatelessRulesAndCustomActions {
364
+ StatelessRules: StatelessRule[] | undefined;
365
+ CustomActions?: CustomAction[];
366
+ }
367
+ export interface RulesSource {
368
+ RulesString?: string;
369
+ RulesSourceList?: RulesSourceList;
370
+ StatefulRules?: StatefulRule[];
371
+ StatelessRulesAndCustomActions?: StatelessRulesAndCustomActions;
372
+ }
373
+ export interface IPSet {
374
+ Definition: string[] | undefined;
375
+ }
376
+ export interface PortSet {
377
+ Definition?: string[];
378
+ }
379
+ export interface RuleVariables {
380
+ IPSets?: Record<string, IPSet>;
381
+ PortSets?: Record<string, PortSet>;
382
+ }
383
+ export interface StatefulRuleOptions {
384
+ RuleOrder?: RuleOrder | string;
385
+ }
386
+ export interface RuleGroup {
387
+ RuleVariables?: RuleVariables;
388
+ ReferenceSets?: ReferenceSets;
389
+ RulesSource: RulesSource | undefined;
390
+ StatefulRuleOptions?: StatefulRuleOptions;
391
+ }
392
+ export interface SourceMetadata {
393
+ SourceArn?: string;
394
+ SourceUpdateToken?: string;
395
+ }
396
+ export declare enum RuleGroupType {
397
+ STATEFUL = "STATEFUL",
398
+ STATELESS = "STATELESS",
399
+ }
400
+ export interface CreateRuleGroupRequest {
401
+ RuleGroupName: string | undefined;
402
+ RuleGroup?: RuleGroup;
403
+ Rules?: string;
404
+ Type: RuleGroupType | string | undefined;
405
+ Description?: string;
406
+ Capacity: number | undefined;
407
+ Tags?: Tag[];
408
+ DryRun?: boolean;
409
+ EncryptionConfiguration?: EncryptionConfiguration;
410
+ SourceMetadata?: SourceMetadata;
411
+ }
412
+ export interface RuleGroupResponse {
413
+ RuleGroupArn: string | undefined;
414
+ RuleGroupName: string | undefined;
415
+ RuleGroupId: string | undefined;
416
+ Description?: string;
417
+ Type?: RuleGroupType | string;
418
+ Capacity?: number;
419
+ RuleGroupStatus?: ResourceStatus | string;
420
+ Tags?: Tag[];
421
+ ConsumedCapacity?: number;
422
+ NumberOfAssociations?: number;
423
+ EncryptionConfiguration?: EncryptionConfiguration;
424
+ SourceMetadata?: SourceMetadata;
425
+ SnsTopic?: string;
426
+ LastModifiedTime?: Date;
427
+ }
428
+ export interface CreateRuleGroupResponse {
429
+ UpdateToken: string | undefined;
430
+ RuleGroupResponse: RuleGroupResponse | undefined;
431
+ }
432
+ export interface DeleteFirewallRequest {
433
+ FirewallName?: string;
434
+ FirewallArn?: string;
435
+ }
436
+ export interface DeleteFirewallResponse {
437
+ Firewall?: Firewall;
438
+ FirewallStatus?: FirewallStatus;
439
+ }
440
+ export declare class UnsupportedOperationException extends __BaseException {
441
+ readonly name: "UnsupportedOperationException";
442
+ readonly $fault: "client";
443
+ Message?: string;
444
+ constructor(
445
+ opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
446
+ );
447
+ }
448
+ export interface DeleteFirewallPolicyRequest {
449
+ FirewallPolicyName?: string;
450
+ FirewallPolicyArn?: string;
451
+ }
452
+ export interface DeleteFirewallPolicyResponse {
453
+ FirewallPolicyResponse: FirewallPolicyResponse | undefined;
454
+ }
455
+ export interface DeleteResourcePolicyRequest {
456
+ ResourceArn: string | undefined;
457
+ }
458
+ export interface DeleteResourcePolicyResponse {}
459
+ export declare class InvalidResourcePolicyException extends __BaseException {
460
+ readonly name: "InvalidResourcePolicyException";
461
+ readonly $fault: "client";
462
+ Message?: string;
463
+ constructor(
464
+ opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>
465
+ );
466
+ }
467
+ export interface DeleteRuleGroupRequest {
468
+ RuleGroupName?: string;
469
+ RuleGroupArn?: string;
470
+ Type?: RuleGroupType | string;
471
+ }
472
+ export interface DeleteRuleGroupResponse {
473
+ RuleGroupResponse: RuleGroupResponse | undefined;
474
+ }
475
+ export interface DescribeFirewallRequest {
476
+ FirewallName?: string;
477
+ FirewallArn?: string;
478
+ }
479
+ export interface DescribeFirewallResponse {
480
+ UpdateToken?: string;
481
+ Firewall?: Firewall;
482
+ FirewallStatus?: FirewallStatus;
483
+ }
484
+ export interface DescribeFirewallPolicyRequest {
485
+ FirewallPolicyName?: string;
486
+ FirewallPolicyArn?: string;
487
+ }
488
+ export interface DescribeFirewallPolicyResponse {
489
+ UpdateToken: string | undefined;
490
+ FirewallPolicyResponse: FirewallPolicyResponse | undefined;
491
+ FirewallPolicy?: FirewallPolicy;
492
+ }
493
+ export interface DescribeLoggingConfigurationRequest {
494
+ FirewallArn?: string;
495
+ FirewallName?: string;
496
+ }
497
+ export declare enum LogDestinationType {
498
+ CLOUDWATCH_LOGS = "CloudWatchLogs",
499
+ KINESIS_DATA_FIREHOSE = "KinesisDataFirehose",
500
+ S3 = "S3",
501
+ }
502
+ export declare enum LogType {
503
+ ALERT = "ALERT",
504
+ FLOW = "FLOW",
505
+ }
506
+ export interface LogDestinationConfig {
507
+ LogType: LogType | string | undefined;
508
+ LogDestinationType: LogDestinationType | string | undefined;
509
+ LogDestination: Record<string, string> | undefined;
510
+ }
511
+ export interface LoggingConfiguration {
512
+ LogDestinationConfigs: LogDestinationConfig[] | undefined;
513
+ }
514
+ export interface DescribeLoggingConfigurationResponse {
515
+ FirewallArn?: string;
516
+ LoggingConfiguration?: LoggingConfiguration;
517
+ }
518
+ export interface DescribeResourcePolicyRequest {
519
+ ResourceArn: string | undefined;
520
+ }
521
+ export interface DescribeResourcePolicyResponse {
522
+ Policy?: string;
523
+ }
524
+ export interface DescribeRuleGroupRequest {
525
+ RuleGroupName?: string;
526
+ RuleGroupArn?: string;
527
+ Type?: RuleGroupType | string;
528
+ }
529
+ export interface DescribeRuleGroupResponse {
530
+ UpdateToken: string | undefined;
531
+ RuleGroup?: RuleGroup;
532
+ RuleGroupResponse: RuleGroupResponse | undefined;
533
+ }
534
+ export interface DescribeRuleGroupMetadataRequest {
535
+ RuleGroupName?: string;
536
+ RuleGroupArn?: string;
537
+ Type?: RuleGroupType | string;
538
+ }
539
+ export interface DescribeRuleGroupMetadataResponse {
540
+ RuleGroupArn: string | undefined;
541
+ RuleGroupName: string | undefined;
542
+ Description?: string;
543
+ Type?: RuleGroupType | string;
544
+ Capacity?: number;
545
+ StatefulRuleOptions?: StatefulRuleOptions;
546
+ LastModifiedTime?: Date;
547
+ }
548
+ export interface DisassociateSubnetsRequest {
549
+ UpdateToken?: string;
550
+ FirewallArn?: string;
551
+ FirewallName?: string;
552
+ SubnetIds: string[] | undefined;
553
+ }
554
+ export interface DisassociateSubnetsResponse {
555
+ FirewallArn?: string;
556
+ FirewallName?: string;
557
+ SubnetMappings?: SubnetMapping[];
558
+ UpdateToken?: string;
559
+ }
560
+ export interface FirewallMetadata {
561
+ FirewallName?: string;
562
+ FirewallArn?: string;
563
+ }
564
+ export interface FirewallPolicyMetadata {
565
+ Name?: string;
566
+ Arn?: string;
567
+ }
568
+ export interface ListFirewallPoliciesRequest {
569
+ NextToken?: string;
570
+ MaxResults?: number;
571
+ }
572
+ export interface ListFirewallPoliciesResponse {
573
+ NextToken?: string;
574
+ FirewallPolicies?: FirewallPolicyMetadata[];
575
+ }
576
+ export interface ListFirewallsRequest {
577
+ NextToken?: string;
578
+ VpcIds?: string[];
579
+ MaxResults?: number;
580
+ }
581
+ export interface ListFirewallsResponse {
582
+ NextToken?: string;
583
+ Firewalls?: FirewallMetadata[];
584
+ }
585
+ export declare enum ResourceManagedType {
586
+ AWS_MANAGED_DOMAIN_LISTS = "AWS_MANAGED_DOMAIN_LISTS",
587
+ AWS_MANAGED_THREAT_SIGNATURES = "AWS_MANAGED_THREAT_SIGNATURES",
588
+ }
589
+ export declare enum ResourceManagedStatus {
590
+ ACCOUNT = "ACCOUNT",
591
+ MANAGED = "MANAGED",
592
+ }
593
+ export interface ListRuleGroupsRequest {
594
+ NextToken?: string;
595
+ MaxResults?: number;
596
+ Scope?: ResourceManagedStatus | string;
597
+ ManagedType?: ResourceManagedType | string;
598
+ Type?: RuleGroupType | string;
599
+ }
600
+ export interface RuleGroupMetadata {
601
+ Name?: string;
602
+ Arn?: string;
603
+ }
604
+ export interface ListRuleGroupsResponse {
605
+ NextToken?: string;
606
+ RuleGroups?: RuleGroupMetadata[];
607
+ }
608
+ export interface ListTagsForResourceRequest {
609
+ NextToken?: string;
610
+ MaxResults?: number;
611
+ ResourceArn: string | undefined;
612
+ }
613
+ export interface ListTagsForResourceResponse {
614
+ NextToken?: string;
615
+ Tags?: Tag[];
616
+ }
617
+ export declare class LogDestinationPermissionException extends __BaseException {
618
+ readonly name: "LogDestinationPermissionException";
619
+ readonly $fault: "client";
620
+ Message?: string;
621
+ constructor(
622
+ opts: __ExceptionOptionType<
623
+ LogDestinationPermissionException,
624
+ __BaseException
625
+ >
626
+ );
627
+ }
628
+ export interface PutResourcePolicyRequest {
629
+ ResourceArn: string | undefined;
630
+ Policy: string | undefined;
631
+ }
632
+ export interface PutResourcePolicyResponse {}
633
+ export interface TagResourceRequest {
634
+ ResourceArn: string | undefined;
635
+ Tags: Tag[] | undefined;
636
+ }
637
+ export interface TagResourceResponse {}
638
+ export interface UntagResourceRequest {
639
+ ResourceArn: string | undefined;
640
+ TagKeys: string[] | undefined;
641
+ }
642
+ export interface UntagResourceResponse {}
643
+ export declare class ResourceOwnerCheckException extends __BaseException {
644
+ readonly name: "ResourceOwnerCheckException";
645
+ readonly $fault: "client";
646
+ Message?: string;
647
+ constructor(
648
+ opts: __ExceptionOptionType<ResourceOwnerCheckException, __BaseException>
649
+ );
650
+ }
651
+ export interface UpdateFirewallDeleteProtectionRequest {
652
+ UpdateToken?: string;
653
+ FirewallArn?: string;
654
+ FirewallName?: string;
655
+ DeleteProtection: boolean | undefined;
656
+ }
657
+ export interface UpdateFirewallDeleteProtectionResponse {
658
+ FirewallArn?: string;
659
+ FirewallName?: string;
660
+ DeleteProtection?: boolean;
661
+ UpdateToken?: string;
662
+ }
663
+ export interface UpdateFirewallDescriptionRequest {
664
+ UpdateToken?: string;
665
+ FirewallArn?: string;
666
+ FirewallName?: string;
667
+ Description?: string;
668
+ }
669
+ export interface UpdateFirewallDescriptionResponse {
670
+ FirewallArn?: string;
671
+ FirewallName?: string;
672
+ Description?: string;
673
+ UpdateToken?: string;
674
+ }
675
+ export interface UpdateFirewallEncryptionConfigurationRequest {
676
+ UpdateToken?: string;
677
+ FirewallArn?: string;
678
+ FirewallName?: string;
679
+ EncryptionConfiguration?: EncryptionConfiguration;
680
+ }
681
+ export interface UpdateFirewallEncryptionConfigurationResponse {
682
+ FirewallArn?: string;
683
+ FirewallName?: string;
684
+ UpdateToken?: string;
685
+ EncryptionConfiguration?: EncryptionConfiguration;
686
+ }
687
+ export interface UpdateFirewallPolicyRequest {
688
+ UpdateToken: string | undefined;
689
+ FirewallPolicyArn?: string;
690
+ FirewallPolicyName?: string;
691
+ FirewallPolicy: FirewallPolicy | undefined;
692
+ Description?: string;
693
+ DryRun?: boolean;
694
+ EncryptionConfiguration?: EncryptionConfiguration;
695
+ }
696
+ export interface UpdateFirewallPolicyResponse {
697
+ UpdateToken: string | undefined;
698
+ FirewallPolicyResponse: FirewallPolicyResponse | undefined;
699
+ }
700
+ export interface UpdateFirewallPolicyChangeProtectionRequest {
701
+ UpdateToken?: string;
702
+ FirewallArn?: string;
703
+ FirewallName?: string;
704
+ FirewallPolicyChangeProtection: boolean | undefined;
705
+ }
706
+ export interface UpdateFirewallPolicyChangeProtectionResponse {
707
+ UpdateToken?: string;
708
+ FirewallArn?: string;
709
+ FirewallName?: string;
710
+ FirewallPolicyChangeProtection?: boolean;
711
+ }
712
+ export interface UpdateLoggingConfigurationRequest {
713
+ FirewallArn?: string;
714
+ FirewallName?: string;
715
+ LoggingConfiguration?: LoggingConfiguration;
716
+ }
717
+ export interface UpdateLoggingConfigurationResponse {
718
+ FirewallArn?: string;
719
+ FirewallName?: string;
720
+ LoggingConfiguration?: LoggingConfiguration;
721
+ }
722
+ export interface UpdateRuleGroupRequest {
723
+ UpdateToken: string | undefined;
724
+ RuleGroupArn?: string;
725
+ RuleGroupName?: string;
726
+ RuleGroup?: RuleGroup;
727
+ Rules?: string;
728
+ Type?: RuleGroupType | string;
729
+ Description?: string;
730
+ DryRun?: boolean;
731
+ EncryptionConfiguration?: EncryptionConfiguration;
732
+ SourceMetadata?: SourceMetadata;
733
+ }
734
+ export interface UpdateRuleGroupResponse {
735
+ UpdateToken: string | undefined;
736
+ RuleGroupResponse: RuleGroupResponse | undefined;
737
+ }
738
+ export interface UpdateSubnetChangeProtectionRequest {
739
+ UpdateToken?: string;
740
+ FirewallArn?: string;
741
+ FirewallName?: string;
742
+ SubnetChangeProtection: boolean | undefined;
743
+ }
744
+ export interface UpdateSubnetChangeProtectionResponse {
745
+ UpdateToken?: string;
746
+ FirewallArn?: string;
747
+ FirewallName?: string;
748
+ SubnetChangeProtection?: boolean;
749
+ }
750
+ export declare const DimensionFilterSensitiveLog: (obj: Dimension) => any;
751
+ export declare const PublishMetricActionFilterSensitiveLog: (
752
+ obj: PublishMetricAction
753
+ ) => any;
754
+ export declare const ActionDefinitionFilterSensitiveLog: (
755
+ obj: ActionDefinition
756
+ ) => any;
757
+ export declare const AddressFilterSensitiveLog: (obj: Address) => any;
758
+ export declare const AssociateFirewallPolicyRequestFilterSensitiveLog: (
759
+ obj: AssociateFirewallPolicyRequest
760
+ ) => any;
761
+ export declare const AssociateFirewallPolicyResponseFilterSensitiveLog: (
762
+ obj: AssociateFirewallPolicyResponse
763
+ ) => any;
764
+ export declare const SubnetMappingFilterSensitiveLog: (
765
+ obj: SubnetMapping
766
+ ) => any;
767
+ export declare const AssociateSubnetsRequestFilterSensitiveLog: (
768
+ obj: AssociateSubnetsRequest
769
+ ) => any;
770
+ export declare const AssociateSubnetsResponseFilterSensitiveLog: (
771
+ obj: AssociateSubnetsResponse
772
+ ) => any;
773
+ export declare const AttachmentFilterSensitiveLog: (obj: Attachment) => any;
774
+ export declare const IPSetMetadataFilterSensitiveLog: (
775
+ obj: IPSetMetadata
776
+ ) => any;
777
+ export declare const CIDRSummaryFilterSensitiveLog: (obj: CIDRSummary) => any;
778
+ export declare const CapacityUsageSummaryFilterSensitiveLog: (
779
+ obj: CapacityUsageSummary
780
+ ) => any;
781
+ export declare const EncryptionConfigurationFilterSensitiveLog: (
782
+ obj: EncryptionConfiguration
783
+ ) => any;
784
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
785
+ export declare const CreateFirewallRequestFilterSensitiveLog: (
786
+ obj: CreateFirewallRequest
787
+ ) => any;
788
+ export declare const FirewallFilterSensitiveLog: (obj: Firewall) => any;
789
+ export declare const PerObjectStatusFilterSensitiveLog: (
790
+ obj: PerObjectStatus
791
+ ) => any;
792
+ export declare const SyncStateFilterSensitiveLog: (obj: SyncState) => any;
793
+ export declare const FirewallStatusFilterSensitiveLog: (
794
+ obj: FirewallStatus
795
+ ) => any;
796
+ export declare const CreateFirewallResponseFilterSensitiveLog: (
797
+ obj: CreateFirewallResponse
798
+ ) => any;
799
+ export declare const StatefulEngineOptionsFilterSensitiveLog: (
800
+ obj: StatefulEngineOptions
801
+ ) => any;
802
+ export declare const StatefulRuleGroupOverrideFilterSensitiveLog: (
803
+ obj: StatefulRuleGroupOverride
804
+ ) => any;
805
+ export declare const StatefulRuleGroupReferenceFilterSensitiveLog: (
806
+ obj: StatefulRuleGroupReference
807
+ ) => any;
808
+ export declare const CustomActionFilterSensitiveLog: (obj: CustomAction) => any;
809
+ export declare const StatelessRuleGroupReferenceFilterSensitiveLog: (
810
+ obj: StatelessRuleGroupReference
811
+ ) => any;
812
+ export declare const FirewallPolicyFilterSensitiveLog: (
813
+ obj: FirewallPolicy
814
+ ) => any;
815
+ export declare const CreateFirewallPolicyRequestFilterSensitiveLog: (
816
+ obj: CreateFirewallPolicyRequest
817
+ ) => any;
818
+ export declare const FirewallPolicyResponseFilterSensitiveLog: (
819
+ obj: FirewallPolicyResponse
820
+ ) => any;
821
+ export declare const CreateFirewallPolicyResponseFilterSensitiveLog: (
822
+ obj: CreateFirewallPolicyResponse
823
+ ) => any;
824
+ export declare const IPSetReferenceFilterSensitiveLog: (
825
+ obj: IPSetReference
826
+ ) => any;
827
+ export declare const ReferenceSetsFilterSensitiveLog: (
828
+ obj: ReferenceSets
829
+ ) => any;
830
+ export declare const RulesSourceListFilterSensitiveLog: (
831
+ obj: RulesSourceList
832
+ ) => any;
833
+ export declare const HeaderFilterSensitiveLog: (obj: Header) => any;
834
+ export declare const RuleOptionFilterSensitiveLog: (obj: RuleOption) => any;
835
+ export declare const StatefulRuleFilterSensitiveLog: (obj: StatefulRule) => any;
836
+ export declare const PortRangeFilterSensitiveLog: (obj: PortRange) => any;
837
+ export declare const TCPFlagFieldFilterSensitiveLog: (obj: TCPFlagField) => any;
838
+ export declare const MatchAttributesFilterSensitiveLog: (
839
+ obj: MatchAttributes
840
+ ) => any;
841
+ export declare const RuleDefinitionFilterSensitiveLog: (
842
+ obj: RuleDefinition
843
+ ) => any;
844
+ export declare const StatelessRuleFilterSensitiveLog: (
845
+ obj: StatelessRule
846
+ ) => any;
847
+ export declare const StatelessRulesAndCustomActionsFilterSensitiveLog: (
848
+ obj: StatelessRulesAndCustomActions
849
+ ) => any;
850
+ export declare const RulesSourceFilterSensitiveLog: (obj: RulesSource) => any;
851
+ export declare const IPSetFilterSensitiveLog: (obj: IPSet) => any;
852
+ export declare const PortSetFilterSensitiveLog: (obj: PortSet) => any;
853
+ export declare const RuleVariablesFilterSensitiveLog: (
854
+ obj: RuleVariables
855
+ ) => any;
856
+ export declare const StatefulRuleOptionsFilterSensitiveLog: (
857
+ obj: StatefulRuleOptions
858
+ ) => any;
859
+ export declare const RuleGroupFilterSensitiveLog: (obj: RuleGroup) => any;
860
+ export declare const SourceMetadataFilterSensitiveLog: (
861
+ obj: SourceMetadata
862
+ ) => any;
863
+ export declare const CreateRuleGroupRequestFilterSensitiveLog: (
864
+ obj: CreateRuleGroupRequest
865
+ ) => any;
866
+ export declare const RuleGroupResponseFilterSensitiveLog: (
867
+ obj: RuleGroupResponse
868
+ ) => any;
869
+ export declare const CreateRuleGroupResponseFilterSensitiveLog: (
870
+ obj: CreateRuleGroupResponse
871
+ ) => any;
872
+ export declare const DeleteFirewallRequestFilterSensitiveLog: (
873
+ obj: DeleteFirewallRequest
874
+ ) => any;
875
+ export declare const DeleteFirewallResponseFilterSensitiveLog: (
876
+ obj: DeleteFirewallResponse
877
+ ) => any;
878
+ export declare const DeleteFirewallPolicyRequestFilterSensitiveLog: (
879
+ obj: DeleteFirewallPolicyRequest
880
+ ) => any;
881
+ export declare const DeleteFirewallPolicyResponseFilterSensitiveLog: (
882
+ obj: DeleteFirewallPolicyResponse
883
+ ) => any;
884
+ export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (
885
+ obj: DeleteResourcePolicyRequest
886
+ ) => any;
887
+ export declare const DeleteResourcePolicyResponseFilterSensitiveLog: (
888
+ obj: DeleteResourcePolicyResponse
889
+ ) => any;
890
+ export declare const DeleteRuleGroupRequestFilterSensitiveLog: (
891
+ obj: DeleteRuleGroupRequest
892
+ ) => any;
893
+ export declare const DeleteRuleGroupResponseFilterSensitiveLog: (
894
+ obj: DeleteRuleGroupResponse
895
+ ) => any;
896
+ export declare const DescribeFirewallRequestFilterSensitiveLog: (
897
+ obj: DescribeFirewallRequest
898
+ ) => any;
899
+ export declare const DescribeFirewallResponseFilterSensitiveLog: (
900
+ obj: DescribeFirewallResponse
901
+ ) => any;
902
+ export declare const DescribeFirewallPolicyRequestFilterSensitiveLog: (
903
+ obj: DescribeFirewallPolicyRequest
904
+ ) => any;
905
+ export declare const DescribeFirewallPolicyResponseFilterSensitiveLog: (
906
+ obj: DescribeFirewallPolicyResponse
907
+ ) => any;
908
+ export declare const DescribeLoggingConfigurationRequestFilterSensitiveLog: (
909
+ obj: DescribeLoggingConfigurationRequest
910
+ ) => any;
911
+ export declare const LogDestinationConfigFilterSensitiveLog: (
912
+ obj: LogDestinationConfig
913
+ ) => any;
914
+ export declare const LoggingConfigurationFilterSensitiveLog: (
915
+ obj: LoggingConfiguration
916
+ ) => any;
917
+ export declare const DescribeLoggingConfigurationResponseFilterSensitiveLog: (
918
+ obj: DescribeLoggingConfigurationResponse
919
+ ) => any;
920
+ export declare const DescribeResourcePolicyRequestFilterSensitiveLog: (
921
+ obj: DescribeResourcePolicyRequest
922
+ ) => any;
923
+ export declare const DescribeResourcePolicyResponseFilterSensitiveLog: (
924
+ obj: DescribeResourcePolicyResponse
925
+ ) => any;
926
+ export declare const DescribeRuleGroupRequestFilterSensitiveLog: (
927
+ obj: DescribeRuleGroupRequest
928
+ ) => any;
929
+ export declare const DescribeRuleGroupResponseFilterSensitiveLog: (
930
+ obj: DescribeRuleGroupResponse
931
+ ) => any;
932
+ export declare const DescribeRuleGroupMetadataRequestFilterSensitiveLog: (
933
+ obj: DescribeRuleGroupMetadataRequest
934
+ ) => any;
935
+ export declare const DescribeRuleGroupMetadataResponseFilterSensitiveLog: (
936
+ obj: DescribeRuleGroupMetadataResponse
937
+ ) => any;
938
+ export declare const DisassociateSubnetsRequestFilterSensitiveLog: (
939
+ obj: DisassociateSubnetsRequest
940
+ ) => any;
941
+ export declare const DisassociateSubnetsResponseFilterSensitiveLog: (
942
+ obj: DisassociateSubnetsResponse
943
+ ) => any;
944
+ export declare const FirewallMetadataFilterSensitiveLog: (
945
+ obj: FirewallMetadata
946
+ ) => any;
947
+ export declare const FirewallPolicyMetadataFilterSensitiveLog: (
948
+ obj: FirewallPolicyMetadata
949
+ ) => any;
950
+ export declare const ListFirewallPoliciesRequestFilterSensitiveLog: (
951
+ obj: ListFirewallPoliciesRequest
952
+ ) => any;
953
+ export declare const ListFirewallPoliciesResponseFilterSensitiveLog: (
954
+ obj: ListFirewallPoliciesResponse
955
+ ) => any;
956
+ export declare const ListFirewallsRequestFilterSensitiveLog: (
957
+ obj: ListFirewallsRequest
958
+ ) => any;
959
+ export declare const ListFirewallsResponseFilterSensitiveLog: (
960
+ obj: ListFirewallsResponse
961
+ ) => any;
962
+ export declare const ListRuleGroupsRequestFilterSensitiveLog: (
963
+ obj: ListRuleGroupsRequest
964
+ ) => any;
965
+ export declare const RuleGroupMetadataFilterSensitiveLog: (
966
+ obj: RuleGroupMetadata
967
+ ) => any;
968
+ export declare const ListRuleGroupsResponseFilterSensitiveLog: (
969
+ obj: ListRuleGroupsResponse
970
+ ) => any;
971
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
972
+ obj: ListTagsForResourceRequest
973
+ ) => any;
974
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
975
+ obj: ListTagsForResourceResponse
976
+ ) => any;
977
+ export declare const PutResourcePolicyRequestFilterSensitiveLog: (
978
+ obj: PutResourcePolicyRequest
979
+ ) => any;
980
+ export declare const PutResourcePolicyResponseFilterSensitiveLog: (
981
+ obj: PutResourcePolicyResponse
982
+ ) => any;
983
+ export declare const TagResourceRequestFilterSensitiveLog: (
984
+ obj: TagResourceRequest
985
+ ) => any;
986
+ export declare const TagResourceResponseFilterSensitiveLog: (
987
+ obj: TagResourceResponse
988
+ ) => any;
989
+ export declare const UntagResourceRequestFilterSensitiveLog: (
990
+ obj: UntagResourceRequest
991
+ ) => any;
992
+ export declare const UntagResourceResponseFilterSensitiveLog: (
993
+ obj: UntagResourceResponse
994
+ ) => any;
995
+ export declare const UpdateFirewallDeleteProtectionRequestFilterSensitiveLog: (
996
+ obj: UpdateFirewallDeleteProtectionRequest
997
+ ) => any;
998
+ export declare const UpdateFirewallDeleteProtectionResponseFilterSensitiveLog: (
999
+ obj: UpdateFirewallDeleteProtectionResponse
1000
+ ) => any;
1001
+ export declare const UpdateFirewallDescriptionRequestFilterSensitiveLog: (
1002
+ obj: UpdateFirewallDescriptionRequest
1003
+ ) => any;
1004
+ export declare const UpdateFirewallDescriptionResponseFilterSensitiveLog: (
1005
+ obj: UpdateFirewallDescriptionResponse
1006
+ ) => any;
1007
+ export declare const UpdateFirewallEncryptionConfigurationRequestFilterSensitiveLog: (
1008
+ obj: UpdateFirewallEncryptionConfigurationRequest
1009
+ ) => any;
1010
+ export declare const UpdateFirewallEncryptionConfigurationResponseFilterSensitiveLog: (
1011
+ obj: UpdateFirewallEncryptionConfigurationResponse
1012
+ ) => any;
1013
+ export declare const UpdateFirewallPolicyRequestFilterSensitiveLog: (
1014
+ obj: UpdateFirewallPolicyRequest
1015
+ ) => any;
1016
+ export declare const UpdateFirewallPolicyResponseFilterSensitiveLog: (
1017
+ obj: UpdateFirewallPolicyResponse
1018
+ ) => any;
1019
+ export declare const UpdateFirewallPolicyChangeProtectionRequestFilterSensitiveLog: (
1020
+ obj: UpdateFirewallPolicyChangeProtectionRequest
1021
+ ) => any;
1022
+ export declare const UpdateFirewallPolicyChangeProtectionResponseFilterSensitiveLog: (
1023
+ obj: UpdateFirewallPolicyChangeProtectionResponse
1024
+ ) => any;
1025
+ export declare const UpdateLoggingConfigurationRequestFilterSensitiveLog: (
1026
+ obj: UpdateLoggingConfigurationRequest
1027
+ ) => any;
1028
+ export declare const UpdateLoggingConfigurationResponseFilterSensitiveLog: (
1029
+ obj: UpdateLoggingConfigurationResponse
1030
+ ) => any;
1031
+ export declare const UpdateRuleGroupRequestFilterSensitiveLog: (
1032
+ obj: UpdateRuleGroupRequest
1033
+ ) => any;
1034
+ export declare const UpdateRuleGroupResponseFilterSensitiveLog: (
1035
+ obj: UpdateRuleGroupResponse
1036
+ ) => any;
1037
+ export declare const UpdateSubnetChangeProtectionRequestFilterSensitiveLog: (
1038
+ obj: UpdateSubnetChangeProtectionRequest
1039
+ ) => any;
1040
+ export declare const UpdateSubnetChangeProtectionResponseFilterSensitiveLog: (
1041
+ obj: UpdateSubnetChangeProtectionResponse
1042
+ ) => any;