@aws-sdk/client-network-firewall 3.749.0 → 3.752.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 +36 -1
- package/dist-cjs/index.js +213 -0
- package/dist-es/NetworkFirewall.js +8 -0
- package/dist-es/commands/GetAnalysisReportResultsCommand.js +22 -0
- package/dist-es/commands/ListAnalysisReportsCommand.js +22 -0
- package/dist-es/commands/StartAnalysisReportCommand.js +22 -0
- package/dist-es/commands/UpdateFirewallAnalysisSettingsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/pagination/GetAnalysisReportResultsPaginator.js +4 -0
- package/dist-es/pagination/ListAnalysisReportsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +127 -0
- package/dist-types/NetworkFirewall.d.ts +34 -1
- package/dist-types/NetworkFirewallClient.d.ts +10 -3
- package/dist-types/commands/CreateFirewallCommand.d.ts +9 -2
- package/dist-types/commands/DeleteFirewallCommand.d.ts +3 -0
- package/dist-types/commands/DescribeFirewallCommand.d.ts +3 -0
- package/dist-types/commands/GetAnalysisReportResultsCommand.d.ts +121 -0
- package/dist-types/commands/ListAnalysisReportsCommand.d.ts +108 -0
- package/dist-types/commands/StartAnalysisReportCommand.d.ts +100 -0
- package/dist-types/commands/UpdateFirewallAnalysisSettingsCommand.d.ts +107 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +335 -6
- package/dist-types/pagination/GetAnalysisReportResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAnalysisReportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +36 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +70 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetAnalysisReportResultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAnalysisReportsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAnalysisReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFirewallAnalysisSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +76 -2
- package/dist-types/ts3.4/pagination/GetAnalysisReportResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAnalysisReportsPaginator.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 +48 -0
- package/package.json +11 -11
|
@@ -117,6 +117,18 @@ export const se_DisassociateSubnetsCommand = async (input, context) => {
|
|
|
117
117
|
body = JSON.stringify(_json(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
|
+
export const se_GetAnalysisReportResultsCommand = async (input, context) => {
|
|
121
|
+
const headers = sharedHeaders("GetAnalysisReportResults");
|
|
122
|
+
let body;
|
|
123
|
+
body = JSON.stringify(_json(input));
|
|
124
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
+
};
|
|
126
|
+
export const se_ListAnalysisReportsCommand = async (input, context) => {
|
|
127
|
+
const headers = sharedHeaders("ListAnalysisReports");
|
|
128
|
+
let body;
|
|
129
|
+
body = JSON.stringify(_json(input));
|
|
130
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
+
};
|
|
120
132
|
export const se_ListFirewallPoliciesCommand = async (input, context) => {
|
|
121
133
|
const headers = sharedHeaders("ListFirewallPolicies");
|
|
122
134
|
let body;
|
|
@@ -153,6 +165,12 @@ export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
|
153
165
|
body = JSON.stringify(_json(input));
|
|
154
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
167
|
};
|
|
168
|
+
export const se_StartAnalysisReportCommand = async (input, context) => {
|
|
169
|
+
const headers = sharedHeaders("StartAnalysisReport");
|
|
170
|
+
let body;
|
|
171
|
+
body = JSON.stringify(_json(input));
|
|
172
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
+
};
|
|
156
174
|
export const se_TagResourceCommand = async (input, context) => {
|
|
157
175
|
const headers = sharedHeaders("TagResource");
|
|
158
176
|
let body;
|
|
@@ -165,6 +183,12 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
165
183
|
body = JSON.stringify(_json(input));
|
|
166
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
185
|
};
|
|
186
|
+
export const se_UpdateFirewallAnalysisSettingsCommand = async (input, context) => {
|
|
187
|
+
const headers = sharedHeaders("UpdateFirewallAnalysisSettings");
|
|
188
|
+
let body;
|
|
189
|
+
body = JSON.stringify(_json(input));
|
|
190
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
+
};
|
|
168
192
|
export const se_UpdateFirewallDeleteProtectionCommand = async (input, context) => {
|
|
169
193
|
const headers = sharedHeaders("UpdateFirewallDeleteProtection");
|
|
170
194
|
let body;
|
|
@@ -466,6 +490,32 @@ export const de_DisassociateSubnetsCommand = async (output, context) => {
|
|
|
466
490
|
};
|
|
467
491
|
return response;
|
|
468
492
|
};
|
|
493
|
+
export const de_GetAnalysisReportResultsCommand = async (output, context) => {
|
|
494
|
+
if (output.statusCode >= 300) {
|
|
495
|
+
return de_CommandError(output, context);
|
|
496
|
+
}
|
|
497
|
+
const data = await parseBody(output.body, context);
|
|
498
|
+
let contents = {};
|
|
499
|
+
contents = de_GetAnalysisReportResultsResponse(data, context);
|
|
500
|
+
const response = {
|
|
501
|
+
$metadata: deserializeMetadata(output),
|
|
502
|
+
...contents,
|
|
503
|
+
};
|
|
504
|
+
return response;
|
|
505
|
+
};
|
|
506
|
+
export const de_ListAnalysisReportsCommand = async (output, context) => {
|
|
507
|
+
if (output.statusCode >= 300) {
|
|
508
|
+
return de_CommandError(output, context);
|
|
509
|
+
}
|
|
510
|
+
const data = await parseBody(output.body, context);
|
|
511
|
+
let contents = {};
|
|
512
|
+
contents = de_ListAnalysisReportsResponse(data, context);
|
|
513
|
+
const response = {
|
|
514
|
+
$metadata: deserializeMetadata(output),
|
|
515
|
+
...contents,
|
|
516
|
+
};
|
|
517
|
+
return response;
|
|
518
|
+
};
|
|
469
519
|
export const de_ListFirewallPoliciesCommand = async (output, context) => {
|
|
470
520
|
if (output.statusCode >= 300) {
|
|
471
521
|
return de_CommandError(output, context);
|
|
@@ -544,6 +594,19 @@ export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
|
544
594
|
};
|
|
545
595
|
return response;
|
|
546
596
|
};
|
|
597
|
+
export const de_StartAnalysisReportCommand = async (output, context) => {
|
|
598
|
+
if (output.statusCode >= 300) {
|
|
599
|
+
return de_CommandError(output, context);
|
|
600
|
+
}
|
|
601
|
+
const data = await parseBody(output.body, context);
|
|
602
|
+
let contents = {};
|
|
603
|
+
contents = _json(data);
|
|
604
|
+
const response = {
|
|
605
|
+
$metadata: deserializeMetadata(output),
|
|
606
|
+
...contents,
|
|
607
|
+
};
|
|
608
|
+
return response;
|
|
609
|
+
};
|
|
547
610
|
export const de_TagResourceCommand = async (output, context) => {
|
|
548
611
|
if (output.statusCode >= 300) {
|
|
549
612
|
return de_CommandError(output, context);
|
|
@@ -570,6 +633,19 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
570
633
|
};
|
|
571
634
|
return response;
|
|
572
635
|
};
|
|
636
|
+
export const de_UpdateFirewallAnalysisSettingsCommand = async (output, context) => {
|
|
637
|
+
if (output.statusCode >= 300) {
|
|
638
|
+
return de_CommandError(output, context);
|
|
639
|
+
}
|
|
640
|
+
const data = await parseBody(output.body, context);
|
|
641
|
+
let contents = {};
|
|
642
|
+
contents = _json(data);
|
|
643
|
+
const response = {
|
|
644
|
+
$metadata: deserializeMetadata(output),
|
|
645
|
+
...contents,
|
|
646
|
+
};
|
|
647
|
+
return response;
|
|
648
|
+
};
|
|
573
649
|
export const de_UpdateFirewallDeleteProtectionCommand = async (output, context) => {
|
|
574
650
|
if (output.statusCode >= 300) {
|
|
575
651
|
return de_CommandError(output, context);
|
|
@@ -877,6 +953,40 @@ const se_UpdateRuleGroupRequest = (input, context) => {
|
|
|
877
953
|
UpdateToken: [],
|
|
878
954
|
});
|
|
879
955
|
};
|
|
956
|
+
const de_AnalysisReport = (output, context) => {
|
|
957
|
+
return take(output, {
|
|
958
|
+
AnalysisReportId: __expectString,
|
|
959
|
+
AnalysisType: __expectString,
|
|
960
|
+
ReportTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
961
|
+
Status: __expectString,
|
|
962
|
+
});
|
|
963
|
+
};
|
|
964
|
+
const de_AnalysisReportResults = (output, context) => {
|
|
965
|
+
const retVal = (output || [])
|
|
966
|
+
.filter((e) => e != null)
|
|
967
|
+
.map((entry) => {
|
|
968
|
+
return de_AnalysisTypeReportResult(entry, context);
|
|
969
|
+
});
|
|
970
|
+
return retVal;
|
|
971
|
+
};
|
|
972
|
+
const de_AnalysisReports = (output, context) => {
|
|
973
|
+
const retVal = (output || [])
|
|
974
|
+
.filter((e) => e != null)
|
|
975
|
+
.map((entry) => {
|
|
976
|
+
return de_AnalysisReport(entry, context);
|
|
977
|
+
});
|
|
978
|
+
return retVal;
|
|
979
|
+
};
|
|
980
|
+
const de_AnalysisTypeReportResult = (output, context) => {
|
|
981
|
+
return take(output, {
|
|
982
|
+
Domain: __expectString,
|
|
983
|
+
FirstAccessed: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
984
|
+
Hits: _json,
|
|
985
|
+
LastAccessed: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
986
|
+
Protocol: __expectString,
|
|
987
|
+
UniqueSources: _json,
|
|
988
|
+
});
|
|
989
|
+
};
|
|
880
990
|
const de_CreateFirewallPolicyResponse = (output, context) => {
|
|
881
991
|
return take(output, {
|
|
882
992
|
FirewallPolicyResponse: (_) => de_FirewallPolicyResponse(_, context),
|
|
@@ -957,6 +1067,23 @@ const de_FirewallPolicyResponse = (output, context) => {
|
|
|
957
1067
|
Tags: _json,
|
|
958
1068
|
});
|
|
959
1069
|
};
|
|
1070
|
+
const de_GetAnalysisReportResultsResponse = (output, context) => {
|
|
1071
|
+
return take(output, {
|
|
1072
|
+
AnalysisReportResults: (_) => de_AnalysisReportResults(_, context),
|
|
1073
|
+
AnalysisType: __expectString,
|
|
1074
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1075
|
+
NextToken: __expectString,
|
|
1076
|
+
ReportTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1077
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1078
|
+
Status: __expectString,
|
|
1079
|
+
});
|
|
1080
|
+
};
|
|
1081
|
+
const de_ListAnalysisReportsResponse = (output, context) => {
|
|
1082
|
+
return take(output, {
|
|
1083
|
+
AnalysisReports: (_) => de_AnalysisReports(_, context),
|
|
1084
|
+
NextToken: __expectString,
|
|
1085
|
+
});
|
|
1086
|
+
};
|
|
960
1087
|
const de_RuleGroupResponse = (output, context) => {
|
|
961
1088
|
return take(output, {
|
|
962
1089
|
AnalysisResults: _json,
|
|
@@ -18,14 +18,18 @@ import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from ".
|
|
|
18
18
|
import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
|
|
19
19
|
import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
|
|
20
20
|
import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
21
|
+
import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
22
|
+
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
21
23
|
import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
22
24
|
import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
23
25
|
import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
|
|
24
26
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
25
27
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
26
28
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
29
|
+
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
27
30
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
28
31
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
|
+
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
29
33
|
import { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
30
34
|
import { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
31
35
|
import { UpdateFirewallEncryptionConfigurationCommandInput, UpdateFirewallEncryptionConfigurationCommandOutput } from "./commands/UpdateFirewallEncryptionConfigurationCommand";
|
|
@@ -161,6 +165,19 @@ export interface NetworkFirewall {
|
|
|
161
165
|
disassociateSubnets(args: DisassociateSubnetsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateSubnetsCommandOutput>;
|
|
162
166
|
disassociateSubnets(args: DisassociateSubnetsCommandInput, cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void): void;
|
|
163
167
|
disassociateSubnets(args: DisassociateSubnetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void): void;
|
|
168
|
+
/**
|
|
169
|
+
* @see {@link GetAnalysisReportResultsCommand}
|
|
170
|
+
*/
|
|
171
|
+
getAnalysisReportResults(args: GetAnalysisReportResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetAnalysisReportResultsCommandOutput>;
|
|
172
|
+
getAnalysisReportResults(args: GetAnalysisReportResultsCommandInput, cb: (err: any, data?: GetAnalysisReportResultsCommandOutput) => void): void;
|
|
173
|
+
getAnalysisReportResults(args: GetAnalysisReportResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalysisReportResultsCommandOutput) => void): void;
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link ListAnalysisReportsCommand}
|
|
176
|
+
*/
|
|
177
|
+
listAnalysisReports(): Promise<ListAnalysisReportsCommandOutput>;
|
|
178
|
+
listAnalysisReports(args: ListAnalysisReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalysisReportsCommandOutput>;
|
|
179
|
+
listAnalysisReports(args: ListAnalysisReportsCommandInput, cb: (err: any, data?: ListAnalysisReportsCommandOutput) => void): void;
|
|
180
|
+
listAnalysisReports(args: ListAnalysisReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalysisReportsCommandOutput) => void): void;
|
|
164
181
|
/**
|
|
165
182
|
* @see {@link ListFirewallPoliciesCommand}
|
|
166
183
|
*/
|
|
@@ -201,6 +218,12 @@ export interface NetworkFirewall {
|
|
|
201
218
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
202
219
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
203
220
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
221
|
+
/**
|
|
222
|
+
* @see {@link StartAnalysisReportCommand}
|
|
223
|
+
*/
|
|
224
|
+
startAnalysisReport(args: StartAnalysisReportCommandInput, options?: __HttpHandlerOptions): Promise<StartAnalysisReportCommandOutput>;
|
|
225
|
+
startAnalysisReport(args: StartAnalysisReportCommandInput, cb: (err: any, data?: StartAnalysisReportCommandOutput) => void): void;
|
|
226
|
+
startAnalysisReport(args: StartAnalysisReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAnalysisReportCommandOutput) => void): void;
|
|
204
227
|
/**
|
|
205
228
|
* @see {@link TagResourceCommand}
|
|
206
229
|
*/
|
|
@@ -213,6 +236,13 @@ export interface NetworkFirewall {
|
|
|
213
236
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
214
237
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
215
238
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
239
|
+
/**
|
|
240
|
+
* @see {@link UpdateFirewallAnalysisSettingsCommand}
|
|
241
|
+
*/
|
|
242
|
+
updateFirewallAnalysisSettings(): Promise<UpdateFirewallAnalysisSettingsCommandOutput>;
|
|
243
|
+
updateFirewallAnalysisSettings(args: UpdateFirewallAnalysisSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFirewallAnalysisSettingsCommandOutput>;
|
|
244
|
+
updateFirewallAnalysisSettings(args: UpdateFirewallAnalysisSettingsCommandInput, cb: (err: any, data?: UpdateFirewallAnalysisSettingsCommandOutput) => void): void;
|
|
245
|
+
updateFirewallAnalysisSettings(args: UpdateFirewallAnalysisSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFirewallAnalysisSettingsCommandOutput) => void): void;
|
|
216
246
|
/**
|
|
217
247
|
* @see {@link UpdateFirewallDeleteProtectionCommand}
|
|
218
248
|
*/
|
|
@@ -298,7 +328,10 @@ export interface NetworkFirewall {
|
|
|
298
328
|
* prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the
|
|
299
329
|
* perimeter of your VPC. This includes filtering traffic going to and coming from an internet
|
|
300
330
|
* gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible
|
|
301
|
-
* with Suricata, a free, open source network analysis and threat detection engine.
|
|
331
|
+
* with Suricata, a free, open source network analysis and threat detection engine.
|
|
332
|
+
* Network Firewall supports Suricata version 7.0.3. For information about Suricata,
|
|
333
|
+
* see the <a href="https://suricata.io/">Suricata website</a> and the
|
|
334
|
+
* <a href="https://suricata.readthedocs.io/en/suricata-7.0.3/">Suricata User Guide</a>. </p>
|
|
302
335
|
* <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
|
|
303
336
|
* The following are just a few examples: </p>
|
|
304
337
|
* <ul>
|
|
@@ -26,14 +26,18 @@ import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from ".
|
|
|
26
26
|
import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
|
|
27
27
|
import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
|
|
28
28
|
import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
29
|
+
import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
30
|
+
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
29
31
|
import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
30
32
|
import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
31
33
|
import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
|
|
32
34
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
33
35
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
34
36
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
37
|
+
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
35
38
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
39
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
40
|
+
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
37
41
|
import { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
38
42
|
import { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
39
43
|
import { UpdateFirewallEncryptionConfigurationCommandInput, UpdateFirewallEncryptionConfigurationCommandOutput } from "./commands/UpdateFirewallEncryptionConfigurationCommand";
|
|
@@ -49,11 +53,11 @@ export { __Client };
|
|
|
49
53
|
/**
|
|
50
54
|
* @public
|
|
51
55
|
*/
|
|
52
|
-
export type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DescribeFirewallCommandInput | DescribeFirewallPolicyCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeTLSInspectionConfigurationCommandInput | DisassociateSubnetsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | PutResourcePolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
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;
|
|
53
57
|
/**
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
|
-
export type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DisassociateSubnetsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
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;
|
|
57
61
|
/**
|
|
58
62
|
* @public
|
|
59
63
|
*/
|
|
@@ -231,7 +235,10 @@ export interface NetworkFirewallClientResolvedConfig extends NetworkFirewallClie
|
|
|
231
235
|
* prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the
|
|
232
236
|
* perimeter of your VPC. This includes filtering traffic going to and coming from an internet
|
|
233
237
|
* gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible
|
|
234
|
-
* with Suricata, a free, open source network analysis and threat detection engine.
|
|
238
|
+
* with Suricata, a free, open source network analysis and threat detection engine.
|
|
239
|
+
* Network Firewall supports Suricata version 7.0.3. For information about Suricata,
|
|
240
|
+
* see the <a href="https://suricata.io/">Suricata website</a> and the
|
|
241
|
+
* <a href="https://suricata.readthedocs.io/en/suricata-7.0.3/">Suricata User Guide</a>. </p>
|
|
235
242
|
* <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
|
|
236
243
|
* The following are just a few examples: </p>
|
|
237
244
|
* <ul>
|
|
@@ -34,6 +34,7 @@ declare const CreateFirewallCommand_base: {
|
|
|
34
34
|
* themselves, for example <a>UpdateLoggingConfiguration</a>, <a>AssociateSubnets</a>, and <a>UpdateFirewallDeleteProtection</a>. </p>
|
|
35
35
|
* <p>To manage a firewall's tags, use the standard Amazon Web Services resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
|
|
36
36
|
* <p>To retrieve information about firewalls, use <a>ListFirewalls</a> and <a>DescribeFirewall</a>.</p>
|
|
37
|
+
* <p>To generate a report on the last 30 days of traffic monitored by a firewall, use <a>StartAnalysisReport</a>.</p>
|
|
37
38
|
* @example
|
|
38
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
40
|
* ```javascript
|
|
@@ -43,8 +44,8 @@ declare const CreateFirewallCommand_base: {
|
|
|
43
44
|
* const input = { // CreateFirewallRequest
|
|
44
45
|
* FirewallName: "STRING_VALUE", // required
|
|
45
46
|
* FirewallPolicyArn: "STRING_VALUE", // required
|
|
46
|
-
* VpcId: "STRING_VALUE",
|
|
47
|
-
* SubnetMappings: [ // SubnetMappings
|
|
47
|
+
* VpcId: "STRING_VALUE",
|
|
48
|
+
* SubnetMappings: [ // SubnetMappings
|
|
48
49
|
* { // SubnetMapping
|
|
49
50
|
* SubnetId: "STRING_VALUE", // required
|
|
50
51
|
* IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
|
|
@@ -64,6 +65,9 @@ declare const CreateFirewallCommand_base: {
|
|
|
64
65
|
* KeyId: "STRING_VALUE",
|
|
65
66
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
66
67
|
* },
|
|
68
|
+
* EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
69
|
+
* "TLS_SNI" || "HTTP_HOST",
|
|
70
|
+
* ],
|
|
67
71
|
* };
|
|
68
72
|
* const command = new CreateFirewallCommand(input);
|
|
69
73
|
* const response = await client.send(command);
|
|
@@ -94,6 +98,9 @@ declare const CreateFirewallCommand_base: {
|
|
|
94
98
|
* // KeyId: "STRING_VALUE",
|
|
95
99
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
96
100
|
* // },
|
|
101
|
+
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
102
|
+
* // "TLS_SNI" || "HTTP_HOST",
|
|
103
|
+
* // ],
|
|
97
104
|
* // },
|
|
98
105
|
* // FirewallStatus: { // FirewallStatus
|
|
99
106
|
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
@@ -77,6 +77,9 @@ declare const DeleteFirewallCommand_base: {
|
|
|
77
77
|
* // KeyId: "STRING_VALUE",
|
|
78
78
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
79
79
|
* // },
|
|
80
|
+
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
81
|
+
* // "TLS_SNI" || "HTTP_HOST",
|
|
82
|
+
* // ],
|
|
80
83
|
* // },
|
|
81
84
|
* // FirewallStatus: { // FirewallStatus
|
|
82
85
|
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
@@ -68,6 +68,9 @@ declare const DescribeFirewallCommand_base: {
|
|
|
68
68
|
* // KeyId: "STRING_VALUE",
|
|
69
69
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
70
70
|
* // },
|
|
71
|
+
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
72
|
+
* // "TLS_SNI" || "HTTP_HOST",
|
|
73
|
+
* // ],
|
|
71
74
|
* // },
|
|
72
75
|
* // FirewallStatus: { // FirewallStatus
|
|
73
76
|
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetAnalysisReportResultsRequest, GetAnalysisReportResultsResponse } 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 GetAnalysisReportResultsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAnalysisReportResultsCommandInput extends GetAnalysisReportResultsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAnalysisReportResultsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAnalysisReportResultsCommandOutput extends GetAnalysisReportResultsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAnalysisReportResultsCommand_base: {
|
|
25
|
+
new (input: GetAnalysisReportResultsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetAnalysisReportResultsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The results of a <code>COMPLETED</code> analysis report generated with <a>StartAnalysisReport</a>.</p>
|
|
31
|
+
* <p>For more information, see <a>AnalysisTypeReportResult</a>. </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NetworkFirewallClient, GetAnalysisReportResultsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
36
|
+
* // const { NetworkFirewallClient, GetAnalysisReportResultsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
37
|
+
* const client = new NetworkFirewallClient(config);
|
|
38
|
+
* const input = { // GetAnalysisReportResultsRequest
|
|
39
|
+
* FirewallName: "STRING_VALUE",
|
|
40
|
+
* AnalysisReportId: "STRING_VALUE", // required
|
|
41
|
+
* FirewallArn: "STRING_VALUE",
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetAnalysisReportResultsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetAnalysisReportResultsResponse
|
|
48
|
+
* // Status: "STRING_VALUE",
|
|
49
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // ReportTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // AnalysisType: "TLS_SNI" || "HTTP_HOST",
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // AnalysisReportResults: [ // AnalysisReportResults
|
|
55
|
+
* // { // AnalysisTypeReportResult
|
|
56
|
+
* // Protocol: "STRING_VALUE",
|
|
57
|
+
* // FirstAccessed: new Date("TIMESTAMP"),
|
|
58
|
+
* // LastAccessed: new Date("TIMESTAMP"),
|
|
59
|
+
* // Domain: "STRING_VALUE",
|
|
60
|
+
* // Hits: { // Hits
|
|
61
|
+
* // Count: Number("int"),
|
|
62
|
+
* // },
|
|
63
|
+
* // UniqueSources: { // UniqueSources
|
|
64
|
+
* // Count: Number("int"),
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param GetAnalysisReportResultsCommandInput - {@link GetAnalysisReportResultsCommandInput}
|
|
73
|
+
* @returns {@link GetAnalysisReportResultsCommandOutput}
|
|
74
|
+
* @see {@link GetAnalysisReportResultsCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link GetAnalysisReportResultsCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerError} (server fault)
|
|
79
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
80
|
+
* system problem. Retry your request. </p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
83
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
84
|
+
* <ul>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
90
|
+
* types.</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* <li>
|
|
93
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
94
|
+
* that isn't valid in the context of the request.</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* </ul>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
102
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class GetAnalysisReportResultsCommand extends GetAnalysisReportResultsCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: GetAnalysisReportResultsRequest;
|
|
114
|
+
output: GetAnalysisReportResultsResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: GetAnalysisReportResultsCommandInput;
|
|
118
|
+
output: GetAnalysisReportResultsCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListAnalysisReportsRequest, ListAnalysisReportsResponse } 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 ListAnalysisReportsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAnalysisReportsCommandInput extends ListAnalysisReportsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAnalysisReportsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAnalysisReportsCommandOutput extends ListAnalysisReportsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAnalysisReportsCommand_base: {
|
|
25
|
+
new (input: ListAnalysisReportsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAnalysisReportsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of all traffic analysis reports generated within the last 30 days.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, ListAnalysisReportsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, ListAnalysisReportsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFirewallClient(config);
|
|
37
|
+
* const input = { // ListAnalysisReportsRequest
|
|
38
|
+
* FirewallName: "STRING_VALUE",
|
|
39
|
+
* FirewallArn: "STRING_VALUE",
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListAnalysisReportsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListAnalysisReportsResponse
|
|
46
|
+
* // AnalysisReports: [ // AnalysisReports
|
|
47
|
+
* // { // AnalysisReport
|
|
48
|
+
* // AnalysisReportId: "STRING_VALUE",
|
|
49
|
+
* // AnalysisType: "TLS_SNI" || "HTTP_HOST",
|
|
50
|
+
* // ReportTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // Status: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // NextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListAnalysisReportsCommandInput - {@link ListAnalysisReportsCommandInput}
|
|
60
|
+
* @returns {@link ListAnalysisReportsCommandOutput}
|
|
61
|
+
* @see {@link ListAnalysisReportsCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListAnalysisReportsCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerError} (server fault)
|
|
66
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
67
|
+
* system problem. Retry your request. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
70
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
77
|
+
* types.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
81
|
+
* that isn't valid in the context of the request.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* </ul>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ListAnalysisReportsCommand extends ListAnalysisReportsCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: ListAnalysisReportsRequest;
|
|
101
|
+
output: ListAnalysisReportsResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: ListAnalysisReportsCommandInput;
|
|
105
|
+
output: ListAnalysisReportsCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|