@aws-sdk/client-network-firewall 3.828.0 → 3.831.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 +56 -0
- package/dist-cjs/index.js +343 -58
- package/dist-es/NetworkFirewall.js +14 -0
- package/dist-es/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/AssociateAvailabilityZonesCommand.js +22 -0
- package/dist-es/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/DescribeRuleGroupSummaryCommand.js +22 -0
- package/dist-es/commands/DisassociateAvailabilityZonesCommand.js +22 -0
- package/dist-es/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/UpdateAvailabilityZoneChangeProtectionCommand.js +22 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +58 -39
- package/dist-es/protocols/Aws_json1_0.js +142 -6
- package/dist-types/NetworkFirewall.d.ts +50 -0
- package/dist-types/NetworkFirewallClient.d.ts +9 -2
- package/dist-types/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.d.ts +104 -0
- package/dist-types/commands/AssociateAvailabilityZonesCommand.d.ts +124 -0
- package/dist-types/commands/CreateFirewallCommand.d.ts +20 -0
- package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +1 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -1
- package/dist-types/commands/DeleteFirewallCommand.d.ts +13 -0
- package/dist-types/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.d.ts +103 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +5 -0
- package/dist-types/commands/DescribeFirewallCommand.d.ts +13 -0
- package/dist-types/commands/DescribeFirewallMetadataCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +6 -1
- package/dist-types/commands/DescribeRuleGroupSummaryCommand.d.ts +112 -0
- package/dist-types/commands/DisassociateAvailabilityZonesCommand.d.ts +123 -0
- package/dist-types/commands/ListFirewallsCommand.d.ts +1 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.d.ts +104 -0
- package/dist-types/commands/UpdateAvailabilityZoneChangeProtectionCommand.d.ts +111 -0
- package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +11 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/models/models_0.d.ts +884 -138
- package/dist-types/protocols/Aws_json1_0.d.ts +63 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/NetworkFirewall.d.ts +144 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateAvailabilityZonesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeRuleGroupSummaryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAvailabilityZonesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAvailabilityZoneChangeProtectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +170 -45
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +2 -2
|
@@ -3,6 +3,18 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { InsufficientCapacityException, InternalServerError, InvalidOperationException, InvalidRequestException, InvalidResourcePolicyException, InvalidTokenException, LimitExceededException, LogDestinationPermissionException, ResourceNotFoundException, ResourceOwnerCheckException, ThrottlingException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
5
|
import { NetworkFirewallServiceException as __BaseException } from "../models/NetworkFirewallServiceException";
|
|
6
|
+
export const se_AcceptNetworkFirewallTransitGatewayAttachmentCommand = async (input, context) => {
|
|
7
|
+
const headers = sharedHeaders("AcceptNetworkFirewallTransitGatewayAttachment");
|
|
8
|
+
let body;
|
|
9
|
+
body = JSON.stringify(_json(input));
|
|
10
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
+
};
|
|
12
|
+
export const se_AssociateAvailabilityZonesCommand = async (input, context) => {
|
|
13
|
+
const headers = sharedHeaders("AssociateAvailabilityZones");
|
|
14
|
+
let body;
|
|
15
|
+
body = JSON.stringify(_json(input));
|
|
16
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
+
};
|
|
6
18
|
export const se_AssociateFirewallPolicyCommand = async (input, context) => {
|
|
7
19
|
const headers = sharedHeaders("AssociateFirewallPolicy");
|
|
8
20
|
let body;
|
|
@@ -57,6 +69,12 @@ export const se_DeleteFirewallPolicyCommand = async (input, context) => {
|
|
|
57
69
|
body = JSON.stringify(_json(input));
|
|
58
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
71
|
};
|
|
72
|
+
export const se_DeleteNetworkFirewallTransitGatewayAttachmentCommand = async (input, context) => {
|
|
73
|
+
const headers = sharedHeaders("DeleteNetworkFirewallTransitGatewayAttachment");
|
|
74
|
+
let body;
|
|
75
|
+
body = JSON.stringify(_json(input));
|
|
76
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
+
};
|
|
60
78
|
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
61
79
|
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
62
80
|
let body;
|
|
@@ -129,6 +147,12 @@ export const se_DescribeRuleGroupMetadataCommand = async (input, context) => {
|
|
|
129
147
|
body = JSON.stringify(_json(input));
|
|
130
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
149
|
};
|
|
150
|
+
export const se_DescribeRuleGroupSummaryCommand = async (input, context) => {
|
|
151
|
+
const headers = sharedHeaders("DescribeRuleGroupSummary");
|
|
152
|
+
let body;
|
|
153
|
+
body = JSON.stringify(_json(input));
|
|
154
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
+
};
|
|
132
156
|
export const se_DescribeTLSInspectionConfigurationCommand = async (input, context) => {
|
|
133
157
|
const headers = sharedHeaders("DescribeTLSInspectionConfiguration");
|
|
134
158
|
let body;
|
|
@@ -141,6 +165,12 @@ export const se_DescribeVpcEndpointAssociationCommand = async (input, context) =
|
|
|
141
165
|
body = JSON.stringify(_json(input));
|
|
142
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
167
|
};
|
|
168
|
+
export const se_DisassociateAvailabilityZonesCommand = async (input, context) => {
|
|
169
|
+
const headers = sharedHeaders("DisassociateAvailabilityZones");
|
|
170
|
+
let body;
|
|
171
|
+
body = JSON.stringify(_json(input));
|
|
172
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
+
};
|
|
144
174
|
export const se_DisassociateSubnetsCommand = async (input, context) => {
|
|
145
175
|
const headers = sharedHeaders("DisassociateSubnets");
|
|
146
176
|
let body;
|
|
@@ -213,6 +243,12 @@ export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
|
213
243
|
body = JSON.stringify(_json(input));
|
|
214
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
245
|
};
|
|
246
|
+
export const se_RejectNetworkFirewallTransitGatewayAttachmentCommand = async (input, context) => {
|
|
247
|
+
const headers = sharedHeaders("RejectNetworkFirewallTransitGatewayAttachment");
|
|
248
|
+
let body;
|
|
249
|
+
body = JSON.stringify(_json(input));
|
|
250
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
+
};
|
|
216
252
|
export const se_StartAnalysisReportCommand = async (input, context) => {
|
|
217
253
|
const headers = sharedHeaders("StartAnalysisReport");
|
|
218
254
|
let body;
|
|
@@ -243,6 +279,12 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
243
279
|
body = JSON.stringify(_json(input));
|
|
244
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
281
|
};
|
|
282
|
+
export const se_UpdateAvailabilityZoneChangeProtectionCommand = async (input, context) => {
|
|
283
|
+
const headers = sharedHeaders("UpdateAvailabilityZoneChangeProtection");
|
|
284
|
+
let body;
|
|
285
|
+
body = JSON.stringify(_json(input));
|
|
286
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
+
};
|
|
246
288
|
export const se_UpdateFirewallAnalysisSettingsCommand = async (input, context) => {
|
|
247
289
|
const headers = sharedHeaders("UpdateFirewallAnalysisSettings");
|
|
248
290
|
let body;
|
|
@@ -303,6 +345,32 @@ export const se_UpdateTLSInspectionConfigurationCommand = async (input, context)
|
|
|
303
345
|
body = JSON.stringify(_json(input));
|
|
304
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
347
|
};
|
|
348
|
+
export const de_AcceptNetworkFirewallTransitGatewayAttachmentCommand = async (output, context) => {
|
|
349
|
+
if (output.statusCode >= 300) {
|
|
350
|
+
return de_CommandError(output, context);
|
|
351
|
+
}
|
|
352
|
+
const data = await parseBody(output.body, context);
|
|
353
|
+
let contents = {};
|
|
354
|
+
contents = _json(data);
|
|
355
|
+
const response = {
|
|
356
|
+
$metadata: deserializeMetadata(output),
|
|
357
|
+
...contents,
|
|
358
|
+
};
|
|
359
|
+
return response;
|
|
360
|
+
};
|
|
361
|
+
export const de_AssociateAvailabilityZonesCommand = async (output, context) => {
|
|
362
|
+
if (output.statusCode >= 300) {
|
|
363
|
+
return de_CommandError(output, context);
|
|
364
|
+
}
|
|
365
|
+
const data = await parseBody(output.body, context);
|
|
366
|
+
let contents = {};
|
|
367
|
+
contents = _json(data);
|
|
368
|
+
const response = {
|
|
369
|
+
$metadata: deserializeMetadata(output),
|
|
370
|
+
...contents,
|
|
371
|
+
};
|
|
372
|
+
return response;
|
|
373
|
+
};
|
|
306
374
|
export const de_AssociateFirewallPolicyCommand = async (output, context) => {
|
|
307
375
|
if (output.statusCode >= 300) {
|
|
308
376
|
return de_CommandError(output, context);
|
|
@@ -420,6 +488,19 @@ export const de_DeleteFirewallPolicyCommand = async (output, context) => {
|
|
|
420
488
|
};
|
|
421
489
|
return response;
|
|
422
490
|
};
|
|
491
|
+
export const de_DeleteNetworkFirewallTransitGatewayAttachmentCommand = async (output, context) => {
|
|
492
|
+
if (output.statusCode >= 300) {
|
|
493
|
+
return de_CommandError(output, context);
|
|
494
|
+
}
|
|
495
|
+
const data = await parseBody(output.body, context);
|
|
496
|
+
let contents = {};
|
|
497
|
+
contents = _json(data);
|
|
498
|
+
const response = {
|
|
499
|
+
$metadata: deserializeMetadata(output),
|
|
500
|
+
...contents,
|
|
501
|
+
};
|
|
502
|
+
return response;
|
|
503
|
+
};
|
|
423
504
|
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
424
505
|
if (output.statusCode >= 300) {
|
|
425
506
|
return de_CommandError(output, context);
|
|
@@ -576,6 +657,19 @@ export const de_DescribeRuleGroupMetadataCommand = async (output, context) => {
|
|
|
576
657
|
};
|
|
577
658
|
return response;
|
|
578
659
|
};
|
|
660
|
+
export const de_DescribeRuleGroupSummaryCommand = async (output, context) => {
|
|
661
|
+
if (output.statusCode >= 300) {
|
|
662
|
+
return de_CommandError(output, context);
|
|
663
|
+
}
|
|
664
|
+
const data = await parseBody(output.body, context);
|
|
665
|
+
let contents = {};
|
|
666
|
+
contents = _json(data);
|
|
667
|
+
const response = {
|
|
668
|
+
$metadata: deserializeMetadata(output),
|
|
669
|
+
...contents,
|
|
670
|
+
};
|
|
671
|
+
return response;
|
|
672
|
+
};
|
|
579
673
|
export const de_DescribeTLSInspectionConfigurationCommand = async (output, context) => {
|
|
580
674
|
if (output.statusCode >= 300) {
|
|
581
675
|
return de_CommandError(output, context);
|
|
@@ -602,6 +696,19 @@ export const de_DescribeVpcEndpointAssociationCommand = async (output, context)
|
|
|
602
696
|
};
|
|
603
697
|
return response;
|
|
604
698
|
};
|
|
699
|
+
export const de_DisassociateAvailabilityZonesCommand = async (output, context) => {
|
|
700
|
+
if (output.statusCode >= 300) {
|
|
701
|
+
return de_CommandError(output, context);
|
|
702
|
+
}
|
|
703
|
+
const data = await parseBody(output.body, context);
|
|
704
|
+
let contents = {};
|
|
705
|
+
contents = _json(data);
|
|
706
|
+
const response = {
|
|
707
|
+
$metadata: deserializeMetadata(output),
|
|
708
|
+
...contents,
|
|
709
|
+
};
|
|
710
|
+
return response;
|
|
711
|
+
};
|
|
605
712
|
export const de_DisassociateSubnetsCommand = async (output, context) => {
|
|
606
713
|
if (output.statusCode >= 300) {
|
|
607
714
|
return de_CommandError(output, context);
|
|
@@ -758,6 +865,19 @@ export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
|
758
865
|
};
|
|
759
866
|
return response;
|
|
760
867
|
};
|
|
868
|
+
export const de_RejectNetworkFirewallTransitGatewayAttachmentCommand = async (output, context) => {
|
|
869
|
+
if (output.statusCode >= 300) {
|
|
870
|
+
return de_CommandError(output, context);
|
|
871
|
+
}
|
|
872
|
+
const data = await parseBody(output.body, context);
|
|
873
|
+
let contents = {};
|
|
874
|
+
contents = _json(data);
|
|
875
|
+
const response = {
|
|
876
|
+
$metadata: deserializeMetadata(output),
|
|
877
|
+
...contents,
|
|
878
|
+
};
|
|
879
|
+
return response;
|
|
880
|
+
};
|
|
761
881
|
export const de_StartAnalysisReportCommand = async (output, context) => {
|
|
762
882
|
if (output.statusCode >= 300) {
|
|
763
883
|
return de_CommandError(output, context);
|
|
@@ -823,6 +943,19 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
823
943
|
};
|
|
824
944
|
return response;
|
|
825
945
|
};
|
|
946
|
+
export const de_UpdateAvailabilityZoneChangeProtectionCommand = async (output, context) => {
|
|
947
|
+
if (output.statusCode >= 300) {
|
|
948
|
+
return de_CommandError(output, context);
|
|
949
|
+
}
|
|
950
|
+
const data = await parseBody(output.body, context);
|
|
951
|
+
let contents = {};
|
|
952
|
+
contents = _json(data);
|
|
953
|
+
const response = {
|
|
954
|
+
$metadata: deserializeMetadata(output),
|
|
955
|
+
...contents,
|
|
956
|
+
};
|
|
957
|
+
return response;
|
|
958
|
+
};
|
|
826
959
|
export const de_UpdateFirewallAnalysisSettingsCommand = async (output, context) => {
|
|
827
960
|
if (output.statusCode >= 300) {
|
|
828
961
|
return de_CommandError(output, context);
|
|
@@ -963,15 +1096,9 @@ const de_CommandError = async (output, context) => {
|
|
|
963
1096
|
case "InternalServerError":
|
|
964
1097
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
965
1098
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
966
|
-
case "InvalidOperationException":
|
|
967
|
-
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
968
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
969
1099
|
case "InvalidRequestException":
|
|
970
1100
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
971
1101
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
972
|
-
case "InvalidTokenException":
|
|
973
|
-
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
974
|
-
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
975
1102
|
case "ResourceNotFoundException":
|
|
976
1103
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
977
1104
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -981,6 +1108,12 @@ const de_CommandError = async (output, context) => {
|
|
|
981
1108
|
case "InsufficientCapacityException":
|
|
982
1109
|
case "com.amazonaws.networkfirewall#InsufficientCapacityException":
|
|
983
1110
|
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
1111
|
+
case "InvalidOperationException":
|
|
1112
|
+
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
1113
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
1114
|
+
case "InvalidTokenException":
|
|
1115
|
+
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1116
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
984
1117
|
case "LimitExceededException":
|
|
985
1118
|
case "com.amazonaws.networkfirewall#LimitExceededException":
|
|
986
1119
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -1124,6 +1257,7 @@ const se_CreateRuleGroupRequest = (input, context) => {
|
|
|
1124
1257
|
RuleGroupName: [],
|
|
1125
1258
|
Rules: [],
|
|
1126
1259
|
SourceMetadata: _json,
|
|
1260
|
+
SummaryConfiguration: _json,
|
|
1127
1261
|
Tags: _json,
|
|
1128
1262
|
Type: [],
|
|
1129
1263
|
});
|
|
@@ -1139,6 +1273,7 @@ const se_UpdateRuleGroupRequest = (input, context) => {
|
|
|
1139
1273
|
RuleGroupName: [],
|
|
1140
1274
|
Rules: [],
|
|
1141
1275
|
SourceMetadata: _json,
|
|
1276
|
+
SummaryConfiguration: _json,
|
|
1142
1277
|
Type: [],
|
|
1143
1278
|
UpdateToken: [],
|
|
1144
1279
|
});
|
|
@@ -1339,6 +1474,7 @@ const de_RuleGroupResponse = (output, context) => {
|
|
|
1339
1474
|
RuleGroupStatus: __expectString,
|
|
1340
1475
|
SnsTopic: __expectString,
|
|
1341
1476
|
SourceMetadata: _json,
|
|
1477
|
+
SummaryConfiguration: _json,
|
|
1342
1478
|
Tags: _json,
|
|
1343
1479
|
Type: __expectString,
|
|
1344
1480
|
});
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand";
|
|
3
|
+
import { AssociateAvailabilityZonesCommandInput, AssociateAvailabilityZonesCommandOutput } from "./commands/AssociateAvailabilityZonesCommand";
|
|
2
4
|
import { AssociateFirewallPolicyCommandInput, AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
|
|
3
5
|
import { AssociateSubnetsCommandInput, AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
|
|
4
6
|
import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
@@ -8,6 +10,7 @@ import { CreateTLSInspectionConfigurationCommandInput, CreateTLSInspectionConfig
|
|
|
8
10
|
import { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
|
|
9
11
|
import { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
10
12
|
import { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
13
|
+
import { DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
11
14
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
12
15
|
import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
|
|
13
16
|
import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
@@ -20,8 +23,10 @@ import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationC
|
|
|
20
23
|
import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
|
|
21
24
|
import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
|
|
22
25
|
import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
|
|
26
|
+
import { DescribeRuleGroupSummaryCommandInput, DescribeRuleGroupSummaryCommandOutput } from "./commands/DescribeRuleGroupSummaryCommand";
|
|
23
27
|
import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
|
|
24
28
|
import { DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput } from "./commands/DescribeVpcEndpointAssociationCommand";
|
|
29
|
+
import { DisassociateAvailabilityZonesCommandInput, DisassociateAvailabilityZonesCommandOutput } from "./commands/DisassociateAvailabilityZonesCommand";
|
|
25
30
|
import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
26
31
|
import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
27
32
|
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
@@ -34,11 +39,13 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
34
39
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
35
40
|
import { ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput } from "./commands/ListVpcEndpointAssociationsCommand";
|
|
36
41
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
42
|
+
import { RejectNetworkFirewallTransitGatewayAttachmentCommandInput, RejectNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/RejectNetworkFirewallTransitGatewayAttachmentCommand";
|
|
37
43
|
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
38
44
|
import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
|
|
39
45
|
import { StartFlowFlushCommandInput, StartFlowFlushCommandOutput } from "./commands/StartFlowFlushCommand";
|
|
40
46
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
41
47
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
48
|
+
import { UpdateAvailabilityZoneChangeProtectionCommandInput, UpdateAvailabilityZoneChangeProtectionCommandOutput } from "./commands/UpdateAvailabilityZoneChangeProtectionCommand";
|
|
42
49
|
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
43
50
|
import { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
44
51
|
import { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
@@ -51,6 +58,18 @@ import { UpdateSubnetChangeProtectionCommandInput, UpdateSubnetChangeProtectionC
|
|
|
51
58
|
import { UpdateTLSInspectionConfigurationCommandInput, UpdateTLSInspectionConfigurationCommandOutput } from "./commands/UpdateTLSInspectionConfigurationCommand";
|
|
52
59
|
import { NetworkFirewallClient } from "./NetworkFirewallClient";
|
|
53
60
|
export interface NetworkFirewall {
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link AcceptNetworkFirewallTransitGatewayAttachmentCommand}
|
|
63
|
+
*/
|
|
64
|
+
acceptNetworkFirewallTransitGatewayAttachment(args: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput>;
|
|
65
|
+
acceptNetworkFirewallTransitGatewayAttachment(args: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, cb: (err: any, data?: AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
66
|
+
acceptNetworkFirewallTransitGatewayAttachment(args: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link AssociateAvailabilityZonesCommand}
|
|
69
|
+
*/
|
|
70
|
+
associateAvailabilityZones(args: AssociateAvailabilityZonesCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAvailabilityZonesCommandOutput>;
|
|
71
|
+
associateAvailabilityZones(args: AssociateAvailabilityZonesCommandInput, cb: (err: any, data?: AssociateAvailabilityZonesCommandOutput) => void): void;
|
|
72
|
+
associateAvailabilityZones(args: AssociateAvailabilityZonesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAvailabilityZonesCommandOutput) => void): void;
|
|
54
73
|
/**
|
|
55
74
|
* @see {@link AssociateFirewallPolicyCommand}
|
|
56
75
|
*/
|
|
@@ -107,6 +126,12 @@ export interface NetworkFirewall {
|
|
|
107
126
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFirewallPolicyCommandOutput>;
|
|
108
127
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void): void;
|
|
109
128
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void): void;
|
|
129
|
+
/**
|
|
130
|
+
* @see {@link DeleteNetworkFirewallTransitGatewayAttachmentCommand}
|
|
131
|
+
*/
|
|
132
|
+
deleteNetworkFirewallTransitGatewayAttachment(args: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput>;
|
|
133
|
+
deleteNetworkFirewallTransitGatewayAttachment(args: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, cb: (err: any, data?: DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
134
|
+
deleteNetworkFirewallTransitGatewayAttachment(args: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
110
135
|
/**
|
|
111
136
|
* @see {@link DeleteResourcePolicyCommand}
|
|
112
137
|
*/
|
|
@@ -187,6 +212,13 @@ export interface NetworkFirewall {
|
|
|
187
212
|
describeRuleGroupMetadata(args: DescribeRuleGroupMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupMetadataCommandOutput>;
|
|
188
213
|
describeRuleGroupMetadata(args: DescribeRuleGroupMetadataCommandInput, cb: (err: any, data?: DescribeRuleGroupMetadataCommandOutput) => void): void;
|
|
189
214
|
describeRuleGroupMetadata(args: DescribeRuleGroupMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupMetadataCommandOutput) => void): void;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link DescribeRuleGroupSummaryCommand}
|
|
217
|
+
*/
|
|
218
|
+
describeRuleGroupSummary(): Promise<DescribeRuleGroupSummaryCommandOutput>;
|
|
219
|
+
describeRuleGroupSummary(args: DescribeRuleGroupSummaryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupSummaryCommandOutput>;
|
|
220
|
+
describeRuleGroupSummary(args: DescribeRuleGroupSummaryCommandInput, cb: (err: any, data?: DescribeRuleGroupSummaryCommandOutput) => void): void;
|
|
221
|
+
describeRuleGroupSummary(args: DescribeRuleGroupSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupSummaryCommandOutput) => void): void;
|
|
190
222
|
/**
|
|
191
223
|
* @see {@link DescribeTLSInspectionConfigurationCommand}
|
|
192
224
|
*/
|
|
@@ -200,6 +232,12 @@ export interface NetworkFirewall {
|
|
|
200
232
|
describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcEndpointAssociationCommandOutput>;
|
|
201
233
|
describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, cb: (err: any, data?: DescribeVpcEndpointAssociationCommandOutput) => void): void;
|
|
202
234
|
describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcEndpointAssociationCommandOutput) => void): void;
|
|
235
|
+
/**
|
|
236
|
+
* @see {@link DisassociateAvailabilityZonesCommand}
|
|
237
|
+
*/
|
|
238
|
+
disassociateAvailabilityZones(args: DisassociateAvailabilityZonesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAvailabilityZonesCommandOutput>;
|
|
239
|
+
disassociateAvailabilityZones(args: DisassociateAvailabilityZonesCommandInput, cb: (err: any, data?: DisassociateAvailabilityZonesCommandOutput) => void): void;
|
|
240
|
+
disassociateAvailabilityZones(args: DisassociateAvailabilityZonesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateAvailabilityZonesCommandOutput) => void): void;
|
|
203
241
|
/**
|
|
204
242
|
* @see {@link DisassociateSubnetsCommand}
|
|
205
243
|
*/
|
|
@@ -278,6 +316,12 @@ export interface NetworkFirewall {
|
|
|
278
316
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
279
317
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
280
318
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
319
|
+
/**
|
|
320
|
+
* @see {@link RejectNetworkFirewallTransitGatewayAttachmentCommand}
|
|
321
|
+
*/
|
|
322
|
+
rejectNetworkFirewallTransitGatewayAttachment(args: RejectNetworkFirewallTransitGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<RejectNetworkFirewallTransitGatewayAttachmentCommandOutput>;
|
|
323
|
+
rejectNetworkFirewallTransitGatewayAttachment(args: RejectNetworkFirewallTransitGatewayAttachmentCommandInput, cb: (err: any, data?: RejectNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
324
|
+
rejectNetworkFirewallTransitGatewayAttachment(args: RejectNetworkFirewallTransitGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
281
325
|
/**
|
|
282
326
|
* @see {@link StartAnalysisReportCommand}
|
|
283
327
|
*/
|
|
@@ -308,6 +352,12 @@ export interface NetworkFirewall {
|
|
|
308
352
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
309
353
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
310
354
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
355
|
+
/**
|
|
356
|
+
* @see {@link UpdateAvailabilityZoneChangeProtectionCommand}
|
|
357
|
+
*/
|
|
358
|
+
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAvailabilityZoneChangeProtectionCommandOutput>;
|
|
359
|
+
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, cb: (err: any, data?: UpdateAvailabilityZoneChangeProtectionCommandOutput) => void): void;
|
|
360
|
+
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAvailabilityZoneChangeProtectionCommandOutput) => void): void;
|
|
311
361
|
/**
|
|
312
362
|
* @see {@link UpdateFirewallAnalysisSettingsCommand}
|
|
313
363
|
*/
|
|
@@ -7,6 +7,8 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand";
|
|
11
|
+
import { AssociateAvailabilityZonesCommandInput, AssociateAvailabilityZonesCommandOutput } from "./commands/AssociateAvailabilityZonesCommand";
|
|
10
12
|
import { AssociateFirewallPolicyCommandInput, AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
|
|
11
13
|
import { AssociateSubnetsCommandInput, AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
|
|
12
14
|
import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
@@ -16,6 +18,7 @@ import { CreateTLSInspectionConfigurationCommandInput, CreateTLSInspectionConfig
|
|
|
16
18
|
import { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
|
|
17
19
|
import { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
18
20
|
import { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
21
|
+
import { DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
19
22
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
20
23
|
import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
|
|
21
24
|
import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
@@ -28,8 +31,10 @@ import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationC
|
|
|
28
31
|
import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
|
|
29
32
|
import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
|
|
30
33
|
import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
|
|
34
|
+
import { DescribeRuleGroupSummaryCommandInput, DescribeRuleGroupSummaryCommandOutput } from "./commands/DescribeRuleGroupSummaryCommand";
|
|
31
35
|
import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
|
|
32
36
|
import { DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput } from "./commands/DescribeVpcEndpointAssociationCommand";
|
|
37
|
+
import { DisassociateAvailabilityZonesCommandInput, DisassociateAvailabilityZonesCommandOutput } from "./commands/DisassociateAvailabilityZonesCommand";
|
|
33
38
|
import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
34
39
|
import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
35
40
|
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
@@ -42,11 +47,13 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
42
47
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
43
48
|
import { ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput } from "./commands/ListVpcEndpointAssociationsCommand";
|
|
44
49
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
50
|
+
import { RejectNetworkFirewallTransitGatewayAttachmentCommandInput, RejectNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/RejectNetworkFirewallTransitGatewayAttachmentCommand";
|
|
45
51
|
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
46
52
|
import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
|
|
47
53
|
import { StartFlowFlushCommandInput, StartFlowFlushCommandOutput } from "./commands/StartFlowFlushCommand";
|
|
48
54
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
55
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
56
|
+
import { UpdateAvailabilityZoneChangeProtectionCommandInput, UpdateAvailabilityZoneChangeProtectionCommandOutput } from "./commands/UpdateAvailabilityZoneChangeProtectionCommand";
|
|
50
57
|
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
51
58
|
import { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
52
59
|
import { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
@@ -63,11 +70,11 @@ export { __Client };
|
|
|
63
70
|
/**
|
|
64
71
|
* @public
|
|
65
72
|
*/
|
|
66
|
-
export type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
73
|
+
export type ServiceInputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandInput | AssociateAvailabilityZonesCommandInput | AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteNetworkFirewallTransitGatewayAttachmentCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeRuleGroupSummaryCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DisassociateAvailabilityZonesCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | RejectNetworkFirewallTransitGatewayAttachmentCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAvailabilityZoneChangeProtectionCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
67
74
|
/**
|
|
68
75
|
* @public
|
|
69
76
|
*/
|
|
70
|
-
export type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
77
|
+
export type ServiceOutputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput | AssociateAvailabilityZonesCommandOutput | AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeRuleGroupSummaryCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DisassociateAvailabilityZonesCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | RejectNetworkFirewallTransitGatewayAttachmentCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityZoneChangeProtectionCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
71
78
|
/**
|
|
72
79
|
* @public
|
|
73
80
|
*/
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AcceptNetworkFirewallTransitGatewayAttachmentRequest, AcceptNetworkFirewallTransitGatewayAttachmentResponse } 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 AcceptNetworkFirewallTransitGatewayAttachmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AcceptNetworkFirewallTransitGatewayAttachmentCommandInput extends AcceptNetworkFirewallTransitGatewayAttachmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AcceptNetworkFirewallTransitGatewayAttachmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput extends AcceptNetworkFirewallTransitGatewayAttachmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AcceptNetworkFirewallTransitGatewayAttachmentCommand_base: {
|
|
25
|
+
new (input: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Accepts a transit gateway attachment request for Network Firewall. When you accept the attachment request, Network Firewall creates the necessary routing components to enable traffic flow between the transit gateway and firewall endpoints.</p>
|
|
31
|
+
* <p>You must accept a transit gateway attachment to complete the creation of a transit gateway-attached firewall, unless auto-accept is enabled on the transit gateway. After acceptance, use <a>DescribeFirewall</a> to verify the firewall status.</p>
|
|
32
|
+
* <p>To reject an attachment instead of accepting it, use <a>RejectNetworkFirewallTransitGatewayAttachment</a>.</p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>It can take several minutes for the attachment acceptance to complete and the firewall to become available.</p>
|
|
35
|
+
* </note>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { NetworkFirewallClient, AcceptNetworkFirewallTransitGatewayAttachmentCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
40
|
+
* // const { NetworkFirewallClient, AcceptNetworkFirewallTransitGatewayAttachmentCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
41
|
+
* const client = new NetworkFirewallClient(config);
|
|
42
|
+
* const input = { // AcceptNetworkFirewallTransitGatewayAttachmentRequest
|
|
43
|
+
* TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new AcceptNetworkFirewallTransitGatewayAttachmentCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // AcceptNetworkFirewallTransitGatewayAttachmentResponse
|
|
48
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
49
|
+
* // TransitGatewayAttachmentStatus: "CREATING" || "DELETING" || "DELETED" || "FAILED" || "ERROR" || "READY" || "PENDING_ACCEPTANCE" || "REJECTING" || "REJECTED", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param AcceptNetworkFirewallTransitGatewayAttachmentCommandInput - {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandInput}
|
|
55
|
+
* @returns {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput}
|
|
56
|
+
* @see {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerError} (server fault)
|
|
61
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
62
|
+
* system problem. Retry your request. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
65
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
66
|
+
* <ul>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
72
|
+
* types.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
76
|
+
* that isn't valid in the context of the request.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* </ul>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class AcceptNetworkFirewallTransitGatewayAttachmentCommand extends AcceptNetworkFirewallTransitGatewayAttachmentCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: AcceptNetworkFirewallTransitGatewayAttachmentRequest;
|
|
97
|
+
output: AcceptNetworkFirewallTransitGatewayAttachmentResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput;
|
|
101
|
+
output: AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|