@aws-sdk/client-network-firewall 3.752.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.
- package/README.md +40 -0
- package/dist-cjs/index.js +284 -29
- package/dist-es/NetworkFirewall.js +10 -0
- package/dist-es/commands/DescribeFlowOperationCommand.js +22 -0
- package/dist-es/commands/ListFlowOperationResultsCommand.js +22 -0
- package/dist-es/commands/ListFlowOperationsCommand.js +22 -0
- package/dist-es/commands/StartFlowCaptureCommand.js +22 -0
- package/dist-es/commands/StartFlowFlushCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/pagination/ListFlowOperationResultsPaginator.js +4 -0
- package/dist-es/pagination/ListFlowOperationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +141 -0
- package/dist-types/NetworkFirewall.d.ts +35 -0
- package/dist-types/NetworkFirewallClient.d.ts +7 -2
- package/dist-types/commands/DescribeFlowOperationCommand.d.ts +123 -0
- package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +126 -0
- package/dist-types/commands/ListFlowOperationsCommand.d.ts +113 -0
- package/dist-types/commands/StartFlowCaptureCommand.d.ts +124 -0
- package/dist-types/commands/StartFlowFlushCommand.d.ts +123 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +497 -20
- package/dist-types/pagination/ListFlowOperationResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +45 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +85 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/DescribeFlowOperationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFlowOperationResultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFlowOperationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartFlowCaptureCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartFlowFlushCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +106 -0
- package/dist-types/ts3.4/pagination/ListFlowOperationResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +13 -13
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeFlowOperationCommand, se_DescribeFlowOperationCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeFlowOperationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFirewall_20201112", "DescribeFlowOperation", {})
|
|
17
|
+
.n("NetworkFirewallClient", "DescribeFlowOperationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeFlowOperationCommand)
|
|
20
|
+
.de(de_DescribeFlowOperationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListFlowOperationResultsCommand, se_ListFlowOperationResultsCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListFlowOperationResultsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFirewall_20201112", "ListFlowOperationResults", {})
|
|
17
|
+
.n("NetworkFirewallClient", "ListFlowOperationResultsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListFlowOperationResultsCommand)
|
|
20
|
+
.de(de_ListFlowOperationResultsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListFlowOperationsCommand, se_ListFlowOperationsCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListFlowOperationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFirewall_20201112", "ListFlowOperations", {})
|
|
17
|
+
.n("NetworkFirewallClient", "ListFlowOperationsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListFlowOperationsCommand)
|
|
20
|
+
.de(de_ListFlowOperationsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartFlowCaptureCommand, se_StartFlowCaptureCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartFlowCaptureCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFirewall_20201112", "StartFlowCapture", {})
|
|
17
|
+
.n("NetworkFirewallClient", "StartFlowCaptureCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartFlowCaptureCommand)
|
|
20
|
+
.de(de_StartFlowCaptureCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartFlowFlushCommand, se_StartFlowFlushCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartFlowFlushCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFirewall_20201112", "StartFlowFlush", {})
|
|
17
|
+
.n("NetworkFirewallClient", "StartFlowFlushCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartFlowFlushCommand)
|
|
20
|
+
.de(de_StartFlowFlushCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DeleteRuleGroupCommand";
|
|
|
11
11
|
export * from "./DeleteTLSInspectionConfigurationCommand";
|
|
12
12
|
export * from "./DescribeFirewallCommand";
|
|
13
13
|
export * from "./DescribeFirewallPolicyCommand";
|
|
14
|
+
export * from "./DescribeFlowOperationCommand";
|
|
14
15
|
export * from "./DescribeLoggingConfigurationCommand";
|
|
15
16
|
export * from "./DescribeResourcePolicyCommand";
|
|
16
17
|
export * from "./DescribeRuleGroupCommand";
|
|
@@ -21,11 +22,15 @@ export * from "./GetAnalysisReportResultsCommand";
|
|
|
21
22
|
export * from "./ListAnalysisReportsCommand";
|
|
22
23
|
export * from "./ListFirewallPoliciesCommand";
|
|
23
24
|
export * from "./ListFirewallsCommand";
|
|
25
|
+
export * from "./ListFlowOperationResultsCommand";
|
|
26
|
+
export * from "./ListFlowOperationsCommand";
|
|
24
27
|
export * from "./ListRuleGroupsCommand";
|
|
25
28
|
export * from "./ListTLSInspectionConfigurationsCommand";
|
|
26
29
|
export * from "./ListTagsForResourceCommand";
|
|
27
30
|
export * from "./PutResourcePolicyCommand";
|
|
28
31
|
export * from "./StartAnalysisReportCommand";
|
|
32
|
+
export * from "./StartFlowCaptureCommand";
|
|
33
|
+
export * from "./StartFlowFlushCommand";
|
|
29
34
|
export * from "./TagResourceCommand";
|
|
30
35
|
export * from "./UntagResourceCommand";
|
|
31
36
|
export * from "./UpdateFirewallAnalysisSettingsCommand";
|
|
@@ -254,6 +254,16 @@ export class InvalidResourcePolicyException extends __BaseException {
|
|
|
254
254
|
this.Message = opts.Message;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
+
export const FlowOperationStatus = {
|
|
258
|
+
COMPLETED: "COMPLETED",
|
|
259
|
+
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
260
|
+
FAILED: "FAILED",
|
|
261
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
262
|
+
};
|
|
263
|
+
export const FlowOperationType = {
|
|
264
|
+
FLOW_CAPTURE: "FLOW_CAPTURE",
|
|
265
|
+
FLOW_FLUSH: "FLOW_FLUSH",
|
|
266
|
+
};
|
|
257
267
|
export const LogDestinationType = {
|
|
258
268
|
CLOUDWATCH_LOGS: "CloudWatchLogs",
|
|
259
269
|
KINESIS_DATA_FIREHOSE: "KinesisDataFirehose",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListFlowOperationResultsCommand, } from "../commands/ListFlowOperationResultsCommand";
|
|
3
|
+
import { NetworkFirewallClient } from "../NetworkFirewallClient";
|
|
4
|
+
export const paginateListFlowOperationResults = createPaginator(NetworkFirewallClient, ListFlowOperationResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListFlowOperationsCommand, } from "../commands/ListFlowOperationsCommand";
|
|
3
|
+
import { NetworkFirewallClient } from "../NetworkFirewallClient";
|
|
4
|
+
export const paginateListFlowOperations = createPaginator(NetworkFirewallClient, ListFlowOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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";
|
|
@@ -81,6 +81,12 @@ export const se_DescribeFirewallPolicyCommand = async (input, context) => {
|
|
|
81
81
|
body = JSON.stringify(_json(input));
|
|
82
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
83
|
};
|
|
84
|
+
export const se_DescribeFlowOperationCommand = async (input, context) => {
|
|
85
|
+
const headers = sharedHeaders("DescribeFlowOperation");
|
|
86
|
+
let body;
|
|
87
|
+
body = JSON.stringify(_json(input));
|
|
88
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
+
};
|
|
84
90
|
export const se_DescribeLoggingConfigurationCommand = async (input, context) => {
|
|
85
91
|
const headers = sharedHeaders("DescribeLoggingConfiguration");
|
|
86
92
|
let body;
|
|
@@ -141,6 +147,18 @@ export const se_ListFirewallsCommand = async (input, context) => {
|
|
|
141
147
|
body = JSON.stringify(_json(input));
|
|
142
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
149
|
};
|
|
150
|
+
export const se_ListFlowOperationResultsCommand = async (input, context) => {
|
|
151
|
+
const headers = sharedHeaders("ListFlowOperationResults");
|
|
152
|
+
let body;
|
|
153
|
+
body = JSON.stringify(_json(input));
|
|
154
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
+
};
|
|
156
|
+
export const se_ListFlowOperationsCommand = async (input, context) => {
|
|
157
|
+
const headers = sharedHeaders("ListFlowOperations");
|
|
158
|
+
let body;
|
|
159
|
+
body = JSON.stringify(_json(input));
|
|
160
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
+
};
|
|
144
162
|
export const se_ListRuleGroupsCommand = async (input, context) => {
|
|
145
163
|
const headers = sharedHeaders("ListRuleGroups");
|
|
146
164
|
let body;
|
|
@@ -171,6 +189,18 @@ export const se_StartAnalysisReportCommand = async (input, context) => {
|
|
|
171
189
|
body = JSON.stringify(_json(input));
|
|
172
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
191
|
};
|
|
192
|
+
export const se_StartFlowCaptureCommand = async (input, context) => {
|
|
193
|
+
const headers = sharedHeaders("StartFlowCapture");
|
|
194
|
+
let body;
|
|
195
|
+
body = JSON.stringify(_json(input));
|
|
196
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
+
};
|
|
198
|
+
export const se_StartFlowFlushCommand = async (input, context) => {
|
|
199
|
+
const headers = sharedHeaders("StartFlowFlush");
|
|
200
|
+
let body;
|
|
201
|
+
body = JSON.stringify(_json(input));
|
|
202
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
+
};
|
|
174
204
|
export const se_TagResourceCommand = async (input, context) => {
|
|
175
205
|
const headers = sharedHeaders("TagResource");
|
|
176
206
|
let body;
|
|
@@ -412,6 +442,19 @@ export const de_DescribeFirewallPolicyCommand = async (output, context) => {
|
|
|
412
442
|
};
|
|
413
443
|
return response;
|
|
414
444
|
};
|
|
445
|
+
export const de_DescribeFlowOperationCommand = async (output, context) => {
|
|
446
|
+
if (output.statusCode >= 300) {
|
|
447
|
+
return de_CommandError(output, context);
|
|
448
|
+
}
|
|
449
|
+
const data = await parseBody(output.body, context);
|
|
450
|
+
let contents = {};
|
|
451
|
+
contents = de_DescribeFlowOperationResponse(data, context);
|
|
452
|
+
const response = {
|
|
453
|
+
$metadata: deserializeMetadata(output),
|
|
454
|
+
...contents,
|
|
455
|
+
};
|
|
456
|
+
return response;
|
|
457
|
+
};
|
|
415
458
|
export const de_DescribeLoggingConfigurationCommand = async (output, context) => {
|
|
416
459
|
if (output.statusCode >= 300) {
|
|
417
460
|
return de_CommandError(output, context);
|
|
@@ -542,6 +585,32 @@ export const de_ListFirewallsCommand = async (output, context) => {
|
|
|
542
585
|
};
|
|
543
586
|
return response;
|
|
544
587
|
};
|
|
588
|
+
export const de_ListFlowOperationResultsCommand = async (output, context) => {
|
|
589
|
+
if (output.statusCode >= 300) {
|
|
590
|
+
return de_CommandError(output, context);
|
|
591
|
+
}
|
|
592
|
+
const data = await parseBody(output.body, context);
|
|
593
|
+
let contents = {};
|
|
594
|
+
contents = de_ListFlowOperationResultsResponse(data, context);
|
|
595
|
+
const response = {
|
|
596
|
+
$metadata: deserializeMetadata(output),
|
|
597
|
+
...contents,
|
|
598
|
+
};
|
|
599
|
+
return response;
|
|
600
|
+
};
|
|
601
|
+
export const de_ListFlowOperationsCommand = async (output, context) => {
|
|
602
|
+
if (output.statusCode >= 300) {
|
|
603
|
+
return de_CommandError(output, context);
|
|
604
|
+
}
|
|
605
|
+
const data = await parseBody(output.body, context);
|
|
606
|
+
let contents = {};
|
|
607
|
+
contents = de_ListFlowOperationsResponse(data, context);
|
|
608
|
+
const response = {
|
|
609
|
+
$metadata: deserializeMetadata(output),
|
|
610
|
+
...contents,
|
|
611
|
+
};
|
|
612
|
+
return response;
|
|
613
|
+
};
|
|
545
614
|
export const de_ListRuleGroupsCommand = async (output, context) => {
|
|
546
615
|
if (output.statusCode >= 300) {
|
|
547
616
|
return de_CommandError(output, context);
|
|
@@ -607,6 +676,32 @@ export const de_StartAnalysisReportCommand = async (output, context) => {
|
|
|
607
676
|
};
|
|
608
677
|
return response;
|
|
609
678
|
};
|
|
679
|
+
export const de_StartFlowCaptureCommand = async (output, context) => {
|
|
680
|
+
if (output.statusCode >= 300) {
|
|
681
|
+
return de_CommandError(output, context);
|
|
682
|
+
}
|
|
683
|
+
const data = await parseBody(output.body, context);
|
|
684
|
+
let contents = {};
|
|
685
|
+
contents = _json(data);
|
|
686
|
+
const response = {
|
|
687
|
+
$metadata: deserializeMetadata(output),
|
|
688
|
+
...contents,
|
|
689
|
+
};
|
|
690
|
+
return response;
|
|
691
|
+
};
|
|
692
|
+
export const de_StartFlowFlushCommand = async (output, context) => {
|
|
693
|
+
if (output.statusCode >= 300) {
|
|
694
|
+
return de_CommandError(output, context);
|
|
695
|
+
}
|
|
696
|
+
const data = await parseBody(output.body, context);
|
|
697
|
+
let contents = {};
|
|
698
|
+
contents = _json(data);
|
|
699
|
+
const response = {
|
|
700
|
+
$metadata: deserializeMetadata(output),
|
|
701
|
+
...contents,
|
|
702
|
+
};
|
|
703
|
+
return response;
|
|
704
|
+
};
|
|
610
705
|
export const de_TagResourceCommand = async (output, context) => {
|
|
611
706
|
if (output.statusCode >= 300) {
|
|
612
707
|
return de_CommandError(output, context);
|
|
@@ -1027,6 +1122,18 @@ const de_DescribeFirewallPolicyResponse = (output, context) => {
|
|
|
1027
1122
|
UpdateToken: __expectString,
|
|
1028
1123
|
});
|
|
1029
1124
|
};
|
|
1125
|
+
const de_DescribeFlowOperationResponse = (output, context) => {
|
|
1126
|
+
return take(output, {
|
|
1127
|
+
AvailabilityZone: __expectString,
|
|
1128
|
+
FirewallArn: __expectString,
|
|
1129
|
+
FlowOperation: _json,
|
|
1130
|
+
FlowOperationId: __expectString,
|
|
1131
|
+
FlowOperationStatus: __expectString,
|
|
1132
|
+
FlowOperationType: __expectString,
|
|
1133
|
+
FlowRequestTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1134
|
+
StatusMessage: __expectString,
|
|
1135
|
+
});
|
|
1136
|
+
};
|
|
1030
1137
|
const de_DescribeRuleGroupMetadataResponse = (output, context) => {
|
|
1031
1138
|
return take(output, {
|
|
1032
1139
|
Capacity: __expectInt32,
|
|
@@ -1067,6 +1174,22 @@ const de_FirewallPolicyResponse = (output, context) => {
|
|
|
1067
1174
|
Tags: _json,
|
|
1068
1175
|
});
|
|
1069
1176
|
};
|
|
1177
|
+
const de_FlowOperationMetadata = (output, context) => {
|
|
1178
|
+
return take(output, {
|
|
1179
|
+
FlowOperationId: __expectString,
|
|
1180
|
+
FlowOperationStatus: __expectString,
|
|
1181
|
+
FlowOperationType: __expectString,
|
|
1182
|
+
FlowRequestTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1183
|
+
});
|
|
1184
|
+
};
|
|
1185
|
+
const de_FlowOperations = (output, context) => {
|
|
1186
|
+
const retVal = (output || [])
|
|
1187
|
+
.filter((e) => e != null)
|
|
1188
|
+
.map((entry) => {
|
|
1189
|
+
return de_FlowOperationMetadata(entry, context);
|
|
1190
|
+
});
|
|
1191
|
+
return retVal;
|
|
1192
|
+
};
|
|
1070
1193
|
const de_GetAnalysisReportResultsResponse = (output, context) => {
|
|
1071
1194
|
return take(output, {
|
|
1072
1195
|
AnalysisReportResults: (_) => de_AnalysisReportResults(_, context),
|
|
@@ -1084,6 +1207,24 @@ const de_ListAnalysisReportsResponse = (output, context) => {
|
|
|
1084
1207
|
NextToken: __expectString,
|
|
1085
1208
|
});
|
|
1086
1209
|
};
|
|
1210
|
+
const de_ListFlowOperationResultsResponse = (output, context) => {
|
|
1211
|
+
return take(output, {
|
|
1212
|
+
AvailabilityZone: __expectString,
|
|
1213
|
+
FirewallArn: __expectString,
|
|
1214
|
+
FlowOperationId: __expectString,
|
|
1215
|
+
FlowOperationStatus: __expectString,
|
|
1216
|
+
FlowRequestTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1217
|
+
Flows: _json,
|
|
1218
|
+
NextToken: __expectString,
|
|
1219
|
+
StatusMessage: __expectString,
|
|
1220
|
+
});
|
|
1221
|
+
};
|
|
1222
|
+
const de_ListFlowOperationsResponse = (output, context) => {
|
|
1223
|
+
return take(output, {
|
|
1224
|
+
FlowOperations: (_) => de_FlowOperations(_, context),
|
|
1225
|
+
NextToken: __expectString,
|
|
1226
|
+
});
|
|
1227
|
+
};
|
|
1087
1228
|
const de_RuleGroupResponse = (output, context) => {
|
|
1088
1229
|
return take(output, {
|
|
1089
1230
|
AnalysisResults: _json,
|
|
@@ -12,6 +12,7 @@ import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./com
|
|
|
12
12
|
import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
13
13
|
import { DescribeFirewallCommandInput, DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
|
|
14
14
|
import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
|
|
15
|
+
import { DescribeFlowOperationCommandInput, DescribeFlowOperationCommandOutput } from "./commands/DescribeFlowOperationCommand";
|
|
15
16
|
import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
|
|
16
17
|
import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
|
|
17
18
|
import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
|
|
@@ -22,11 +23,15 @@ import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOu
|
|
|
22
23
|
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
23
24
|
import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
24
25
|
import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
26
|
+
import { ListFlowOperationResultsCommandInput, ListFlowOperationResultsCommandOutput } from "./commands/ListFlowOperationResultsCommand";
|
|
27
|
+
import { ListFlowOperationsCommandInput, ListFlowOperationsCommandOutput } from "./commands/ListFlowOperationsCommand";
|
|
25
28
|
import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
|
|
26
29
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
30
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
28
31
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
29
32
|
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
33
|
+
import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
|
|
34
|
+
import { StartFlowFlushCommandInput, StartFlowFlushCommandOutput } from "./commands/StartFlowFlushCommand";
|
|
30
35
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
37
|
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
@@ -125,6 +130,12 @@ export interface NetworkFirewall {
|
|
|
125
130
|
describeFirewallPolicy(args: DescribeFirewallPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFirewallPolicyCommandOutput>;
|
|
126
131
|
describeFirewallPolicy(args: DescribeFirewallPolicyCommandInput, cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void): void;
|
|
127
132
|
describeFirewallPolicy(args: DescribeFirewallPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void): void;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link DescribeFlowOperationCommand}
|
|
135
|
+
*/
|
|
136
|
+
describeFlowOperation(args: DescribeFlowOperationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowOperationCommandOutput>;
|
|
137
|
+
describeFlowOperation(args: DescribeFlowOperationCommandInput, cb: (err: any, data?: DescribeFlowOperationCommandOutput) => void): void;
|
|
138
|
+
describeFlowOperation(args: DescribeFlowOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFlowOperationCommandOutput) => void): void;
|
|
128
139
|
/**
|
|
129
140
|
* @see {@link DescribeLoggingConfigurationCommand}
|
|
130
141
|
*/
|
|
@@ -192,6 +203,18 @@ export interface NetworkFirewall {
|
|
|
192
203
|
listFirewalls(args: ListFirewallsCommandInput, options?: __HttpHandlerOptions): Promise<ListFirewallsCommandOutput>;
|
|
193
204
|
listFirewalls(args: ListFirewallsCommandInput, cb: (err: any, data?: ListFirewallsCommandOutput) => void): void;
|
|
194
205
|
listFirewalls(args: ListFirewallsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFirewallsCommandOutput) => void): void;
|
|
206
|
+
/**
|
|
207
|
+
* @see {@link ListFlowOperationResultsCommand}
|
|
208
|
+
*/
|
|
209
|
+
listFlowOperationResults(args: ListFlowOperationResultsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowOperationResultsCommandOutput>;
|
|
210
|
+
listFlowOperationResults(args: ListFlowOperationResultsCommandInput, cb: (err: any, data?: ListFlowOperationResultsCommandOutput) => void): void;
|
|
211
|
+
listFlowOperationResults(args: ListFlowOperationResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowOperationResultsCommandOutput) => void): void;
|
|
212
|
+
/**
|
|
213
|
+
* @see {@link ListFlowOperationsCommand}
|
|
214
|
+
*/
|
|
215
|
+
listFlowOperations(args: ListFlowOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowOperationsCommandOutput>;
|
|
216
|
+
listFlowOperations(args: ListFlowOperationsCommandInput, cb: (err: any, data?: ListFlowOperationsCommandOutput) => void): void;
|
|
217
|
+
listFlowOperations(args: ListFlowOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowOperationsCommandOutput) => void): void;
|
|
195
218
|
/**
|
|
196
219
|
* @see {@link ListRuleGroupsCommand}
|
|
197
220
|
*/
|
|
@@ -224,6 +247,18 @@ export interface NetworkFirewall {
|
|
|
224
247
|
startAnalysisReport(args: StartAnalysisReportCommandInput, options?: __HttpHandlerOptions): Promise<StartAnalysisReportCommandOutput>;
|
|
225
248
|
startAnalysisReport(args: StartAnalysisReportCommandInput, cb: (err: any, data?: StartAnalysisReportCommandOutput) => void): void;
|
|
226
249
|
startAnalysisReport(args: StartAnalysisReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAnalysisReportCommandOutput) => void): void;
|
|
250
|
+
/**
|
|
251
|
+
* @see {@link StartFlowCaptureCommand}
|
|
252
|
+
*/
|
|
253
|
+
startFlowCapture(args: StartFlowCaptureCommandInput, options?: __HttpHandlerOptions): Promise<StartFlowCaptureCommandOutput>;
|
|
254
|
+
startFlowCapture(args: StartFlowCaptureCommandInput, cb: (err: any, data?: StartFlowCaptureCommandOutput) => void): void;
|
|
255
|
+
startFlowCapture(args: StartFlowCaptureCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFlowCaptureCommandOutput) => void): void;
|
|
256
|
+
/**
|
|
257
|
+
* @see {@link StartFlowFlushCommand}
|
|
258
|
+
*/
|
|
259
|
+
startFlowFlush(args: StartFlowFlushCommandInput, options?: __HttpHandlerOptions): Promise<StartFlowFlushCommandOutput>;
|
|
260
|
+
startFlowFlush(args: StartFlowFlushCommandInput, cb: (err: any, data?: StartFlowFlushCommandOutput) => void): void;
|
|
261
|
+
startFlowFlush(args: StartFlowFlushCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFlowFlushCommandOutput) => void): void;
|
|
227
262
|
/**
|
|
228
263
|
* @see {@link TagResourceCommand}
|
|
229
264
|
*/
|
|
@@ -20,6 +20,7 @@ import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./com
|
|
|
20
20
|
import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
21
21
|
import { DescribeFirewallCommandInput, DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
|
|
22
22
|
import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
|
|
23
|
+
import { DescribeFlowOperationCommandInput, DescribeFlowOperationCommandOutput } from "./commands/DescribeFlowOperationCommand";
|
|
23
24
|
import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
|
|
24
25
|
import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
|
|
25
26
|
import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
|
|
@@ -30,11 +31,15 @@ import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOu
|
|
|
30
31
|
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
31
32
|
import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
32
33
|
import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
34
|
+
import { ListFlowOperationResultsCommandInput, ListFlowOperationResultsCommandOutput } from "./commands/ListFlowOperationResultsCommand";
|
|
35
|
+
import { ListFlowOperationsCommandInput, ListFlowOperationsCommandOutput } from "./commands/ListFlowOperationsCommand";
|
|
33
36
|
import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
|
|
34
37
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
35
38
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
36
39
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
37
40
|
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
41
|
+
import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
|
|
42
|
+
import { StartFlowFlushCommandInput, StartFlowFlushCommandOutput } from "./commands/StartFlowFlushCommand";
|
|
38
43
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
39
44
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
40
45
|
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
@@ -53,11 +58,11 @@ export { __Client };
|
|
|
53
58
|
/**
|
|
54
59
|
* @public
|
|
55
60
|
*/
|
|
56
|
-
export type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DescribeFirewallCommandInput | DescribeFirewallPolicyCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeTLSInspectionConfigurationCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | PutResourcePolicyCommandInput | StartAnalysisReportCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
61
|
+
export type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DescribeFirewallCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeTLSInspectionConfigurationCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | PutResourcePolicyCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
57
62
|
/**
|
|
58
63
|
* @public
|
|
59
64
|
*/
|
|
60
|
-
export type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePolicyCommandOutput | StartAnalysisReportCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
65
|
+
export type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePolicyCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
61
66
|
/**
|
|
62
67
|
* @public
|
|
63
68
|
*/
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DescribeFlowOperationRequest, DescribeFlowOperationResponse } from "../models/models_0";
|
|
4
|
+
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeFlowOperationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeFlowOperationCommandInput extends DescribeFlowOperationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeFlowOperationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeFlowOperationCommandOutput extends DescribeFlowOperationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeFlowOperationCommand_base: {
|
|
25
|
+
new (input: DescribeFlowOperationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeFlowOperationCommandInput, DescribeFlowOperationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DescribeFlowOperationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeFlowOperationCommandInput, DescribeFlowOperationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns key information about a specific flow operation.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, DescribeFlowOperationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, DescribeFlowOperationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFirewallClient(config);
|
|
37
|
+
* const input = { // DescribeFlowOperationRequest
|
|
38
|
+
* FirewallArn: "STRING_VALUE", // required
|
|
39
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
40
|
+
* FlowOperationId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DescribeFlowOperationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribeFlowOperationResponse
|
|
45
|
+
* // FirewallArn: "STRING_VALUE",
|
|
46
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
47
|
+
* // FlowOperationId: "STRING_VALUE",
|
|
48
|
+
* // FlowOperationType: "FLOW_FLUSH" || "FLOW_CAPTURE",
|
|
49
|
+
* // FlowOperationStatus: "COMPLETED" || "IN_PROGRESS" || "FAILED" || "COMPLETED_WITH_ERRORS",
|
|
50
|
+
* // StatusMessage: "STRING_VALUE",
|
|
51
|
+
* // FlowRequestTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // FlowOperation: { // FlowOperation
|
|
53
|
+
* // MinimumFlowAgeInSeconds: Number("int"),
|
|
54
|
+
* // FlowFilters: [ // FlowFilters
|
|
55
|
+
* // { // FlowFilter
|
|
56
|
+
* // SourceAddress: { // Address
|
|
57
|
+
* // AddressDefinition: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // DestinationAddress: {
|
|
60
|
+
* // AddressDefinition: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // SourcePort: "STRING_VALUE",
|
|
63
|
+
* // DestinationPort: "STRING_VALUE",
|
|
64
|
+
* // Protocols: [ // ProtocolStrings
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param DescribeFlowOperationCommandInput - {@link DescribeFlowOperationCommandInput}
|
|
75
|
+
* @returns {@link DescribeFlowOperationCommandOutput}
|
|
76
|
+
* @see {@link DescribeFlowOperationCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link DescribeFlowOperationCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerError} (server fault)
|
|
81
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
82
|
+
* system problem. Retry your request. </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
85
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
86
|
+
* <ul>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
92
|
+
* types.</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
96
|
+
* that isn't valid in the context of the request.</p>
|
|
97
|
+
* </li>
|
|
98
|
+
* </ul>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
104
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class DescribeFlowOperationCommand extends DescribeFlowOperationCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: DescribeFlowOperationRequest;
|
|
116
|
+
output: DescribeFlowOperationResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: DescribeFlowOperationCommandInput;
|
|
120
|
+
output: DescribeFlowOperationCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|