@aws-sdk/client-network-firewall 3.758.0 → 3.772.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 (41) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +284 -29
  3. package/dist-es/NetworkFirewall.js +10 -0
  4. package/dist-es/commands/DescribeFlowOperationCommand.js +22 -0
  5. package/dist-es/commands/ListFlowOperationResultsCommand.js +22 -0
  6. package/dist-es/commands/ListFlowOperationsCommand.js +22 -0
  7. package/dist-es/commands/StartFlowCaptureCommand.js +22 -0
  8. package/dist-es/commands/StartFlowFlushCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +10 -0
  11. package/dist-es/pagination/ListFlowOperationResultsPaginator.js +4 -0
  12. package/dist-es/pagination/ListFlowOperationsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +2 -0
  14. package/dist-es/protocols/Aws_json1_0.js +141 -0
  15. package/dist-types/NetworkFirewall.d.ts +35 -0
  16. package/dist-types/NetworkFirewallClient.d.ts +7 -2
  17. package/dist-types/commands/DescribeFlowOperationCommand.d.ts +123 -0
  18. package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +126 -0
  19. package/dist-types/commands/ListFlowOperationsCommand.d.ts +113 -0
  20. package/dist-types/commands/StartFlowCaptureCommand.d.ts +124 -0
  21. package/dist-types/commands/StartFlowFlushCommand.d.ts +123 -0
  22. package/dist-types/commands/index.d.ts +5 -0
  23. package/dist-types/models/models_0.d.ts +497 -20
  24. package/dist-types/pagination/ListFlowOperationResultsPaginator.d.ts +7 -0
  25. package/dist-types/pagination/ListFlowOperationsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +2 -0
  27. package/dist-types/protocols/Aws_json1_0.d.ts +45 -0
  28. package/dist-types/ts3.4/NetworkFirewall.d.ts +85 -0
  29. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
  30. package/dist-types/ts3.4/commands/DescribeFlowOperationCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/ListFlowOperationResultsCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/ListFlowOperationsCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/StartFlowCaptureCommand.d.ts +50 -0
  34. package/dist-types/ts3.4/commands/StartFlowFlushCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +106 -0
  37. package/dist-types/ts3.4/pagination/ListFlowOperationResultsPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/ListFlowOperationsPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  40. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
  41. package/package.json +3 -3
@@ -661,6 +661,46 @@ export interface DescribeFirewallPolicyResponse {
661
661
  FirewallPolicyResponse: FirewallPolicyResponse | undefined;
662
662
  FirewallPolicy?: FirewallPolicy | undefined;
663
663
  }
664
+ export interface DescribeFlowOperationRequest {
665
+ FirewallArn: string | undefined;
666
+ AvailabilityZone?: string | undefined;
667
+ FlowOperationId: string | undefined;
668
+ }
669
+ export interface FlowFilter {
670
+ SourceAddress?: Address | undefined;
671
+ DestinationAddress?: Address | undefined;
672
+ SourcePort?: string | undefined;
673
+ DestinationPort?: string | undefined;
674
+ Protocols?: string[] | undefined;
675
+ }
676
+ export interface FlowOperation {
677
+ MinimumFlowAgeInSeconds?: number | undefined;
678
+ FlowFilters?: FlowFilter[] | undefined;
679
+ }
680
+ export declare const FlowOperationStatus: {
681
+ readonly COMPLETED: "COMPLETED";
682
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
683
+ readonly FAILED: "FAILED";
684
+ readonly IN_PROGRESS: "IN_PROGRESS";
685
+ };
686
+ export type FlowOperationStatus =
687
+ (typeof FlowOperationStatus)[keyof typeof FlowOperationStatus];
688
+ export declare const FlowOperationType: {
689
+ readonly FLOW_CAPTURE: "FLOW_CAPTURE";
690
+ readonly FLOW_FLUSH: "FLOW_FLUSH";
691
+ };
692
+ export type FlowOperationType =
693
+ (typeof FlowOperationType)[keyof typeof FlowOperationType];
694
+ export interface DescribeFlowOperationResponse {
695
+ FirewallArn?: string | undefined;
696
+ AvailabilityZone?: string | undefined;
697
+ FlowOperationId?: string | undefined;
698
+ FlowOperationType?: FlowOperationType | undefined;
699
+ FlowOperationStatus?: FlowOperationStatus | undefined;
700
+ StatusMessage?: string | undefined;
701
+ FlowRequestTimestamp?: Date | undefined;
702
+ FlowOperation?: FlowOperation | undefined;
703
+ }
664
704
  export interface DescribeLoggingConfigurationRequest {
665
705
  FirewallArn?: string | undefined;
666
706
  FirewallName?: string | undefined;
@@ -752,6 +792,22 @@ export interface FirewallPolicyMetadata {
752
792
  Name?: string | undefined;
753
793
  Arn?: string | undefined;
754
794
  }
795
+ export interface Flow {
796
+ SourceAddress?: Address | undefined;
797
+ DestinationAddress?: Address | undefined;
798
+ SourcePort?: string | undefined;
799
+ DestinationPort?: string | undefined;
800
+ Protocol?: string | undefined;
801
+ Age?: number | undefined;
802
+ PacketCount?: number | undefined;
803
+ ByteCount?: number | undefined;
804
+ }
805
+ export interface FlowOperationMetadata {
806
+ FlowOperationId?: string | undefined;
807
+ FlowOperationType?: FlowOperationType | undefined;
808
+ FlowRequestTimestamp?: Date | undefined;
809
+ FlowOperationStatus?: FlowOperationStatus | undefined;
810
+ }
755
811
  export interface GetAnalysisReportResultsRequest {
756
812
  FirewallName?: string | undefined;
757
813
  AnalysisReportId: string | undefined;
@@ -795,6 +851,34 @@ export interface ListFirewallsResponse {
795
851
  NextToken?: string | undefined;
796
852
  Firewalls?: FirewallMetadata[] | undefined;
797
853
  }
854
+ export interface ListFlowOperationResultsRequest {
855
+ FirewallArn: string | undefined;
856
+ FlowOperationId: string | undefined;
857
+ NextToken?: string | undefined;
858
+ MaxResults?: number | undefined;
859
+ AvailabilityZone?: string | undefined;
860
+ }
861
+ export interface ListFlowOperationResultsResponse {
862
+ FirewallArn?: string | undefined;
863
+ AvailabilityZone?: string | undefined;
864
+ FlowOperationId?: string | undefined;
865
+ FlowOperationStatus?: FlowOperationStatus | undefined;
866
+ StatusMessage?: string | undefined;
867
+ FlowRequestTimestamp?: Date | undefined;
868
+ Flows?: Flow[] | undefined;
869
+ NextToken?: string | undefined;
870
+ }
871
+ export interface ListFlowOperationsRequest {
872
+ FirewallArn: string | undefined;
873
+ AvailabilityZone?: string | undefined;
874
+ FlowOperationType?: FlowOperationType | undefined;
875
+ NextToken?: string | undefined;
876
+ MaxResults?: number | undefined;
877
+ }
878
+ export interface ListFlowOperationsResponse {
879
+ FlowOperations?: FlowOperationMetadata[] | undefined;
880
+ NextToken?: string | undefined;
881
+ }
798
882
  export declare const ResourceManagedType: {
799
883
  readonly AWS_MANAGED_DOMAIN_LISTS: "AWS_MANAGED_DOMAIN_LISTS";
800
884
  readonly AWS_MANAGED_THREAT_SIGNATURES: "AWS_MANAGED_THREAT_SIGNATURES";
@@ -869,6 +953,28 @@ export interface StartAnalysisReportRequest {
869
953
  export interface StartAnalysisReportResponse {
870
954
  AnalysisReportId: string | undefined;
871
955
  }
956
+ export interface StartFlowCaptureRequest {
957
+ FirewallArn: string | undefined;
958
+ AvailabilityZone?: string | undefined;
959
+ MinimumFlowAgeInSeconds?: number | undefined;
960
+ FlowFilters: FlowFilter[] | undefined;
961
+ }
962
+ export interface StartFlowCaptureResponse {
963
+ FirewallArn?: string | undefined;
964
+ FlowOperationId?: string | undefined;
965
+ FlowOperationStatus?: FlowOperationStatus | undefined;
966
+ }
967
+ export interface StartFlowFlushRequest {
968
+ FirewallArn: string | undefined;
969
+ AvailabilityZone?: string | undefined;
970
+ MinimumFlowAgeInSeconds?: number | undefined;
971
+ FlowFilters: FlowFilter[] | undefined;
972
+ }
973
+ export interface StartFlowFlushResponse {
974
+ FirewallArn?: string | undefined;
975
+ FlowOperationId?: string | undefined;
976
+ FlowOperationStatus?: FlowOperationStatus | undefined;
977
+ }
872
978
  export interface TagResourceRequest {
873
979
  ResourceArn: string | undefined;
874
980
  Tags: Tag[] | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFlowOperationResultsCommandInput,
4
+ ListFlowOperationResultsCommandOutput,
5
+ } from "../commands/ListFlowOperationResultsCommand";
6
+ import { NetworkFirewallPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFlowOperationResults: (
8
+ config: NetworkFirewallPaginationConfiguration,
9
+ input: ListFlowOperationResultsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListFlowOperationResultsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFlowOperationsCommandInput,
4
+ ListFlowOperationsCommandOutput,
5
+ } from "../commands/ListFlowOperationsCommand";
6
+ import { NetworkFirewallPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFlowOperations: (
8
+ config: NetworkFirewallPaginationConfiguration,
9
+ input: ListFlowOperationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListFlowOperationsCommandOutput>;
@@ -3,6 +3,8 @@ export * from "./Interfaces";
3
3
  export * from "./ListAnalysisReportsPaginator";
4
4
  export * from "./ListFirewallPoliciesPaginator";
5
5
  export * from "./ListFirewallsPaginator";
6
+ export * from "./ListFlowOperationResultsPaginator";
7
+ export * from "./ListFlowOperationsPaginator";
6
8
  export * from "./ListRuleGroupsPaginator";
7
9
  export * from "./ListTLSInspectionConfigurationsPaginator";
8
10
  export * from "./ListTagsForResourcePaginator";
@@ -55,6 +55,10 @@ import {
55
55
  DescribeFirewallPolicyCommandInput,
56
56
  DescribeFirewallPolicyCommandOutput,
57
57
  } from "../commands/DescribeFirewallPolicyCommand";
58
+ import {
59
+ DescribeFlowOperationCommandInput,
60
+ DescribeFlowOperationCommandOutput,
61
+ } from "../commands/DescribeFlowOperationCommand";
58
62
  import {
59
63
  DescribeLoggingConfigurationCommandInput,
60
64
  DescribeLoggingConfigurationCommandOutput,
@@ -95,6 +99,14 @@ import {
95
99
  ListFirewallsCommandInput,
96
100
  ListFirewallsCommandOutput,
97
101
  } from "../commands/ListFirewallsCommand";
102
+ import {
103
+ ListFlowOperationResultsCommandInput,
104
+ ListFlowOperationResultsCommandOutput,
105
+ } from "../commands/ListFlowOperationResultsCommand";
106
+ import {
107
+ ListFlowOperationsCommandInput,
108
+ ListFlowOperationsCommandOutput,
109
+ } from "../commands/ListFlowOperationsCommand";
98
110
  import {
99
111
  ListRuleGroupsCommandInput,
100
112
  ListRuleGroupsCommandOutput,
@@ -115,6 +127,14 @@ import {
115
127
  StartAnalysisReportCommandInput,
116
128
  StartAnalysisReportCommandOutput,
117
129
  } from "../commands/StartAnalysisReportCommand";
130
+ import {
131
+ StartFlowCaptureCommandInput,
132
+ StartFlowCaptureCommandOutput,
133
+ } from "../commands/StartFlowCaptureCommand";
134
+ import {
135
+ StartFlowFlushCommandInput,
136
+ StartFlowFlushCommandOutput,
137
+ } from "../commands/StartFlowFlushCommand";
118
138
  import {
119
139
  TagResourceCommandInput,
120
140
  TagResourceCommandOutput,
@@ -215,6 +235,10 @@ export declare const se_DescribeFirewallPolicyCommand: (
215
235
  input: DescribeFirewallPolicyCommandInput,
216
236
  context: __SerdeContext
217
237
  ) => Promise<__HttpRequest>;
238
+ export declare const se_DescribeFlowOperationCommand: (
239
+ input: DescribeFlowOperationCommandInput,
240
+ context: __SerdeContext
241
+ ) => Promise<__HttpRequest>;
218
242
  export declare const se_DescribeLoggingConfigurationCommand: (
219
243
  input: DescribeLoggingConfigurationCommandInput,
220
244
  context: __SerdeContext
@@ -255,6 +279,14 @@ export declare const se_ListFirewallsCommand: (
255
279
  input: ListFirewallsCommandInput,
256
280
  context: __SerdeContext
257
281
  ) => Promise<__HttpRequest>;
282
+ export declare const se_ListFlowOperationResultsCommand: (
283
+ input: ListFlowOperationResultsCommandInput,
284
+ context: __SerdeContext
285
+ ) => Promise<__HttpRequest>;
286
+ export declare const se_ListFlowOperationsCommand: (
287
+ input: ListFlowOperationsCommandInput,
288
+ context: __SerdeContext
289
+ ) => Promise<__HttpRequest>;
258
290
  export declare const se_ListRuleGroupsCommand: (
259
291
  input: ListRuleGroupsCommandInput,
260
292
  context: __SerdeContext
@@ -275,6 +307,14 @@ export declare const se_StartAnalysisReportCommand: (
275
307
  input: StartAnalysisReportCommandInput,
276
308
  context: __SerdeContext
277
309
  ) => Promise<__HttpRequest>;
310
+ export declare const se_StartFlowCaptureCommand: (
311
+ input: StartFlowCaptureCommandInput,
312
+ context: __SerdeContext
313
+ ) => Promise<__HttpRequest>;
314
+ export declare const se_StartFlowFlushCommand: (
315
+ input: StartFlowFlushCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
278
318
  export declare const se_TagResourceCommand: (
279
319
  input: TagResourceCommandInput,
280
320
  context: __SerdeContext
@@ -375,6 +415,10 @@ export declare const de_DescribeFirewallPolicyCommand: (
375
415
  output: __HttpResponse,
376
416
  context: __SerdeContext
377
417
  ) => Promise<DescribeFirewallPolicyCommandOutput>;
418
+ export declare const de_DescribeFlowOperationCommand: (
419
+ output: __HttpResponse,
420
+ context: __SerdeContext
421
+ ) => Promise<DescribeFlowOperationCommandOutput>;
378
422
  export declare const de_DescribeLoggingConfigurationCommand: (
379
423
  output: __HttpResponse,
380
424
  context: __SerdeContext
@@ -415,6 +459,14 @@ export declare const de_ListFirewallsCommand: (
415
459
  output: __HttpResponse,
416
460
  context: __SerdeContext
417
461
  ) => Promise<ListFirewallsCommandOutput>;
462
+ export declare const de_ListFlowOperationResultsCommand: (
463
+ output: __HttpResponse,
464
+ context: __SerdeContext
465
+ ) => Promise<ListFlowOperationResultsCommandOutput>;
466
+ export declare const de_ListFlowOperationsCommand: (
467
+ output: __HttpResponse,
468
+ context: __SerdeContext
469
+ ) => Promise<ListFlowOperationsCommandOutput>;
418
470
  export declare const de_ListRuleGroupsCommand: (
419
471
  output: __HttpResponse,
420
472
  context: __SerdeContext
@@ -435,6 +487,14 @@ export declare const de_StartAnalysisReportCommand: (
435
487
  output: __HttpResponse,
436
488
  context: __SerdeContext
437
489
  ) => Promise<StartAnalysisReportCommandOutput>;
490
+ export declare const de_StartFlowCaptureCommand: (
491
+ output: __HttpResponse,
492
+ context: __SerdeContext
493
+ ) => Promise<StartFlowCaptureCommandOutput>;
494
+ export declare const de_StartFlowFlushCommand: (
495
+ output: __HttpResponse,
496
+ context: __SerdeContext
497
+ ) => Promise<StartFlowFlushCommandOutput>;
438
498
  export declare const de_TagResourceCommand: (
439
499
  output: __HttpResponse,
440
500
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-network-firewall",
3
3
  "description": "AWS SDK for JavaScript Network Firewall Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-network-firewall",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",