@aws-sdk/client-network-firewall 3.816.0 → 3.819.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +50 -2
  2. package/dist-cjs/index.js +198 -3
  3. package/dist-cjs/runtimeConfig.js +4 -1
  4. package/dist-es/NetworkFirewall.js +10 -0
  5. package/dist-es/commands/CreateVpcEndpointAssociationCommand.js +22 -0
  6. package/dist-es/commands/DeleteVpcEndpointAssociationCommand.js +22 -0
  7. package/dist-es/commands/DescribeFirewallMetadataCommand.js +22 -0
  8. package/dist-es/commands/DescribeVpcEndpointAssociationCommand.js +22 -0
  9. package/dist-es/commands/ListVpcEndpointAssociationsCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/pagination/ListVpcEndpointAssociationsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_json1_0.js +99 -0
  14. package/dist-es/runtimeConfig.js +4 -1
  15. package/dist-types/NetworkFirewall.d.ts +50 -5
  16. package/dist-types/NetworkFirewallClient.d.ts +20 -7
  17. package/dist-types/commands/CreateFirewallCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateVpcEndpointAssociationCommand.d.ts +150 -0
  19. package/dist-types/commands/DeleteFirewallCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteVpcEndpointAssociationCommand.d.ts +137 -0
  21. package/dist-types/commands/DescribeFirewallCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeFirewallMetadataCommand.d.ts +107 -0
  23. package/dist-types/commands/DescribeFlowOperationCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeVpcEndpointAssociationCommand.d.ts +127 -0
  25. package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +4 -0
  26. package/dist-types/commands/ListFlowOperationsCommand.d.ts +2 -0
  27. package/dist-types/commands/ListVpcEndpointAssociationsCommand.d.ts +105 -0
  28. package/dist-types/commands/PutResourcePolicyCommand.d.ts +5 -4
  29. package/dist-types/commands/StartFlowCaptureCommand.d.ts +2 -0
  30. package/dist-types/commands/StartFlowFlushCommand.d.ts +2 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/index.d.ts +13 -5
  33. package/dist-types/models/models_0.d.ts +467 -43
  34. package/dist-types/pagination/ListVpcEndpointAssociationsPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_json1_0.d.ts +45 -0
  37. package/dist-types/ts3.4/NetworkFirewall.d.ts +87 -0
  38. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/CreateVpcEndpointAssociationCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DeleteVpcEndpointAssociationCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/DescribeFirewallMetadataCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListVpcEndpointAssociationsCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +83 -0
  46. package/dist-types/ts3.4/pagination/ListVpcEndpointAssociationsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
  49. package/package.json +2 -2
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeVpcEndpointAssociationCommand, se_DescribeVpcEndpointAssociationCommand, } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DescribeVpcEndpointAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("NetworkFirewall_20201112", "DescribeVpcEndpointAssociation", {})
17
+ .n("NetworkFirewallClient", "DescribeVpcEndpointAssociationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeVpcEndpointAssociationCommand)
20
+ .de(de_DescribeVpcEndpointAssociationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListVpcEndpointAssociationsCommand, se_ListVpcEndpointAssociationsCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListVpcEndpointAssociationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("NetworkFirewall_20201112", "ListVpcEndpointAssociations", {})
17
+ .n("NetworkFirewallClient", "ListVpcEndpointAssociationsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListVpcEndpointAssociationsCommand)
20
+ .de(de_ListVpcEndpointAssociationsCommand)
21
+ .build() {
22
+ }
@@ -4,12 +4,15 @@ export * from "./CreateFirewallCommand";
4
4
  export * from "./CreateFirewallPolicyCommand";
5
5
  export * from "./CreateRuleGroupCommand";
6
6
  export * from "./CreateTLSInspectionConfigurationCommand";
7
+ export * from "./CreateVpcEndpointAssociationCommand";
7
8
  export * from "./DeleteFirewallCommand";
8
9
  export * from "./DeleteFirewallPolicyCommand";
9
10
  export * from "./DeleteResourcePolicyCommand";
10
11
  export * from "./DeleteRuleGroupCommand";
11
12
  export * from "./DeleteTLSInspectionConfigurationCommand";
13
+ export * from "./DeleteVpcEndpointAssociationCommand";
12
14
  export * from "./DescribeFirewallCommand";
15
+ export * from "./DescribeFirewallMetadataCommand";
13
16
  export * from "./DescribeFirewallPolicyCommand";
14
17
  export * from "./DescribeFlowOperationCommand";
15
18
  export * from "./DescribeLoggingConfigurationCommand";
@@ -17,6 +20,7 @@ export * from "./DescribeResourcePolicyCommand";
17
20
  export * from "./DescribeRuleGroupCommand";
18
21
  export * from "./DescribeRuleGroupMetadataCommand";
19
22
  export * from "./DescribeTLSInspectionConfigurationCommand";
23
+ export * from "./DescribeVpcEndpointAssociationCommand";
20
24
  export * from "./DisassociateSubnetsCommand";
21
25
  export * from "./GetAnalysisReportResultsCommand";
22
26
  export * from "./ListAnalysisReportsCommand";
@@ -27,6 +31,7 @@ export * from "./ListFlowOperationsCommand";
27
31
  export * from "./ListRuleGroupsCommand";
28
32
  export * from "./ListTLSInspectionConfigurationsCommand";
29
33
  export * from "./ListTagsForResourceCommand";
34
+ export * from "./ListVpcEndpointAssociationsCommand";
30
35
  export * from "./PutResourcePolicyCommand";
31
36
  export * from "./StartAnalysisReportCommand";
32
37
  export * from "./StartFlowCaptureCommand";
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListVpcEndpointAssociationsCommand, } from "../commands/ListVpcEndpointAssociationsCommand";
3
+ import { NetworkFirewallClient } from "../NetworkFirewallClient";
4
+ export const paginateListVpcEndpointAssociations = createPaginator(NetworkFirewallClient, ListVpcEndpointAssociationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -8,3 +8,4 @@ export * from "./ListFlowOperationsPaginator";
8
8
  export * from "./ListRuleGroupsPaginator";
9
9
  export * from "./ListTLSInspectionConfigurationsPaginator";
10
10
  export * from "./ListTagsForResourcePaginator";
11
+ export * from "./ListVpcEndpointAssociationsPaginator";
@@ -39,6 +39,12 @@ export const se_CreateTLSInspectionConfigurationCommand = async (input, context)
39
39
  body = JSON.stringify(_json(input));
40
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
41
  };
42
+ export const se_CreateVpcEndpointAssociationCommand = async (input, context) => {
43
+ const headers = sharedHeaders("CreateVpcEndpointAssociation");
44
+ let body;
45
+ body = JSON.stringify(_json(input));
46
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
47
+ };
42
48
  export const se_DeleteFirewallCommand = async (input, context) => {
43
49
  const headers = sharedHeaders("DeleteFirewall");
44
50
  let body;
@@ -69,12 +75,24 @@ export const se_DeleteTLSInspectionConfigurationCommand = async (input, context)
69
75
  body = JSON.stringify(_json(input));
70
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
71
77
  };
78
+ export const se_DeleteVpcEndpointAssociationCommand = async (input, context) => {
79
+ const headers = sharedHeaders("DeleteVpcEndpointAssociation");
80
+ let body;
81
+ body = JSON.stringify(_json(input));
82
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
83
+ };
72
84
  export const se_DescribeFirewallCommand = async (input, context) => {
73
85
  const headers = sharedHeaders("DescribeFirewall");
74
86
  let body;
75
87
  body = JSON.stringify(_json(input));
76
88
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
89
  };
90
+ export const se_DescribeFirewallMetadataCommand = async (input, context) => {
91
+ const headers = sharedHeaders("DescribeFirewallMetadata");
92
+ let body;
93
+ body = JSON.stringify(_json(input));
94
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
95
+ };
78
96
  export const se_DescribeFirewallPolicyCommand = async (input, context) => {
79
97
  const headers = sharedHeaders("DescribeFirewallPolicy");
80
98
  let body;
@@ -117,6 +135,12 @@ export const se_DescribeTLSInspectionConfigurationCommand = async (input, contex
117
135
  body = JSON.stringify(_json(input));
118
136
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
119
137
  };
138
+ export const se_DescribeVpcEndpointAssociationCommand = async (input, context) => {
139
+ const headers = sharedHeaders("DescribeVpcEndpointAssociation");
140
+ let body;
141
+ body = JSON.stringify(_json(input));
142
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
143
+ };
120
144
  export const se_DisassociateSubnetsCommand = async (input, context) => {
121
145
  const headers = sharedHeaders("DisassociateSubnets");
122
146
  let body;
@@ -177,6 +201,12 @@ export const se_ListTLSInspectionConfigurationsCommand = async (input, context)
177
201
  body = JSON.stringify(_json(input));
178
202
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
179
203
  };
204
+ export const se_ListVpcEndpointAssociationsCommand = async (input, context) => {
205
+ const headers = sharedHeaders("ListVpcEndpointAssociations");
206
+ let body;
207
+ body = JSON.stringify(_json(input));
208
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
209
+ };
180
210
  export const se_PutResourcePolicyCommand = async (input, context) => {
181
211
  const headers = sharedHeaders("PutResourcePolicy");
182
212
  let body;
@@ -351,6 +381,19 @@ export const de_CreateTLSInspectionConfigurationCommand = async (output, context
351
381
  };
352
382
  return response;
353
383
  };
384
+ export const de_CreateVpcEndpointAssociationCommand = async (output, context) => {
385
+ if (output.statusCode >= 300) {
386
+ return de_CommandError(output, context);
387
+ }
388
+ const data = await parseBody(output.body, context);
389
+ let contents = {};
390
+ contents = _json(data);
391
+ const response = {
392
+ $metadata: deserializeMetadata(output),
393
+ ...contents,
394
+ };
395
+ return response;
396
+ };
354
397
  export const de_DeleteFirewallCommand = async (output, context) => {
355
398
  if (output.statusCode >= 300) {
356
399
  return de_CommandError(output, context);
@@ -416,6 +459,19 @@ export const de_DeleteTLSInspectionConfigurationCommand = async (output, context
416
459
  };
417
460
  return response;
418
461
  };
462
+ export const de_DeleteVpcEndpointAssociationCommand = async (output, context) => {
463
+ if (output.statusCode >= 300) {
464
+ return de_CommandError(output, context);
465
+ }
466
+ const data = await parseBody(output.body, context);
467
+ let contents = {};
468
+ contents = _json(data);
469
+ const response = {
470
+ $metadata: deserializeMetadata(output),
471
+ ...contents,
472
+ };
473
+ return response;
474
+ };
419
475
  export const de_DescribeFirewallCommand = async (output, context) => {
420
476
  if (output.statusCode >= 300) {
421
477
  return de_CommandError(output, context);
@@ -429,6 +485,19 @@ export const de_DescribeFirewallCommand = async (output, context) => {
429
485
  };
430
486
  return response;
431
487
  };
488
+ export const de_DescribeFirewallMetadataCommand = async (output, context) => {
489
+ if (output.statusCode >= 300) {
490
+ return de_CommandError(output, context);
491
+ }
492
+ const data = await parseBody(output.body, context);
493
+ let contents = {};
494
+ contents = _json(data);
495
+ const response = {
496
+ $metadata: deserializeMetadata(output),
497
+ ...contents,
498
+ };
499
+ return response;
500
+ };
432
501
  export const de_DescribeFirewallPolicyCommand = async (output, context) => {
433
502
  if (output.statusCode >= 300) {
434
503
  return de_CommandError(output, context);
@@ -520,6 +589,19 @@ export const de_DescribeTLSInspectionConfigurationCommand = async (output, conte
520
589
  };
521
590
  return response;
522
591
  };
592
+ export const de_DescribeVpcEndpointAssociationCommand = async (output, context) => {
593
+ if (output.statusCode >= 300) {
594
+ return de_CommandError(output, context);
595
+ }
596
+ const data = await parseBody(output.body, context);
597
+ let contents = {};
598
+ contents = _json(data);
599
+ const response = {
600
+ $metadata: deserializeMetadata(output),
601
+ ...contents,
602
+ };
603
+ return response;
604
+ };
523
605
  export const de_DisassociateSubnetsCommand = async (output, context) => {
524
606
  if (output.statusCode >= 300) {
525
607
  return de_CommandError(output, context);
@@ -650,6 +732,19 @@ export const de_ListTLSInspectionConfigurationsCommand = async (output, context)
650
732
  };
651
733
  return response;
652
734
  };
735
+ export const de_ListVpcEndpointAssociationsCommand = async (output, context) => {
736
+ if (output.statusCode >= 300) {
737
+ return de_CommandError(output, context);
738
+ }
739
+ const data = await parseBody(output.body, context);
740
+ let contents = {};
741
+ contents = _json(data);
742
+ const response = {
743
+ $metadata: deserializeMetadata(output),
744
+ ...contents,
745
+ };
746
+ return response;
747
+ };
653
748
  export const de_PutResourcePolicyCommand = async (output, context) => {
654
749
  if (output.statusCode >= 300) {
655
750
  return de_CommandError(output, context);
@@ -1132,6 +1227,8 @@ const de_DescribeFlowOperationResponse = (output, context) => {
1132
1227
  FlowOperationType: __expectString,
1133
1228
  FlowRequestTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1134
1229
  StatusMessage: __expectString,
1230
+ VpcEndpointAssociationArn: __expectString,
1231
+ VpcEndpointId: __expectString,
1135
1232
  });
1136
1233
  };
1137
1234
  const de_DescribeRuleGroupMetadataResponse = (output, context) => {
@@ -1217,6 +1314,8 @@ const de_ListFlowOperationResultsResponse = (output, context) => {
1217
1314
  Flows: _json,
1218
1315
  NextToken: __expectString,
1219
1316
  StatusMessage: __expectString,
1317
+ VpcEndpointAssociationArn: __expectString,
1318
+ VpcEndpointId: __expectString,
1220
1319
  });
1221
1320
  };
1222
1321
  const de_ListFlowOperationsResponse = (output, context) => {
@@ -19,7 +19,10 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
- const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
22
+ const loaderConfig = {
23
+ profile: config?.profile,
24
+ logger: clientSharedValues.logger,
25
+ };
23
26
  return {
24
27
  ...clientSharedValues,
25
28
  ...config,
@@ -5,12 +5,15 @@ import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./comma
5
5
  import { CreateFirewallPolicyCommandInput, CreateFirewallPolicyCommandOutput } from "./commands/CreateFirewallPolicyCommand";
6
6
  import { CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput } from "./commands/CreateRuleGroupCommand";
7
7
  import { CreateTLSInspectionConfigurationCommandInput, CreateTLSInspectionConfigurationCommandOutput } from "./commands/CreateTLSInspectionConfigurationCommand";
8
+ import { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
8
9
  import { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
9
10
  import { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
10
11
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
11
12
  import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
12
13
  import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
14
+ import { DeleteVpcEndpointAssociationCommandInput, DeleteVpcEndpointAssociationCommandOutput } from "./commands/DeleteVpcEndpointAssociationCommand";
13
15
  import { DescribeFirewallCommandInput, DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
16
+ import { DescribeFirewallMetadataCommandInput, DescribeFirewallMetadataCommandOutput } from "./commands/DescribeFirewallMetadataCommand";
14
17
  import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
15
18
  import { DescribeFlowOperationCommandInput, DescribeFlowOperationCommandOutput } from "./commands/DescribeFlowOperationCommand";
16
19
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
@@ -18,6 +21,7 @@ import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput
18
21
  import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
19
22
  import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
20
23
  import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
24
+ import { DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput } from "./commands/DescribeVpcEndpointAssociationCommand";
21
25
  import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
22
26
  import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
23
27
  import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
@@ -28,6 +32,7 @@ import { ListFlowOperationsCommandInput, ListFlowOperationsCommandOutput } from
28
32
  import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
29
33
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
34
  import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
35
+ import { ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput } from "./commands/ListVpcEndpointAssociationsCommand";
31
36
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
32
37
  import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
33
38
  import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
@@ -82,6 +87,12 @@ export interface NetworkFirewall {
82
87
  createTLSInspectionConfiguration(args: CreateTLSInspectionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateTLSInspectionConfigurationCommandOutput>;
83
88
  createTLSInspectionConfiguration(args: CreateTLSInspectionConfigurationCommandInput, cb: (err: any, data?: CreateTLSInspectionConfigurationCommandOutput) => void): void;
84
89
  createTLSInspectionConfiguration(args: CreateTLSInspectionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTLSInspectionConfigurationCommandOutput) => void): void;
90
+ /**
91
+ * @see {@link CreateVpcEndpointAssociationCommand}
92
+ */
93
+ createVpcEndpointAssociation(args: CreateVpcEndpointAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcEndpointAssociationCommandOutput>;
94
+ createVpcEndpointAssociation(args: CreateVpcEndpointAssociationCommandInput, cb: (err: any, data?: CreateVpcEndpointAssociationCommandOutput) => void): void;
95
+ createVpcEndpointAssociation(args: CreateVpcEndpointAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcEndpointAssociationCommandOutput) => void): void;
85
96
  /**
86
97
  * @see {@link DeleteFirewallCommand}
87
98
  */
@@ -116,6 +127,12 @@ export interface NetworkFirewall {
116
127
  deleteTLSInspectionConfiguration(args: DeleteTLSInspectionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTLSInspectionConfigurationCommandOutput>;
117
128
  deleteTLSInspectionConfiguration(args: DeleteTLSInspectionConfigurationCommandInput, cb: (err: any, data?: DeleteTLSInspectionConfigurationCommandOutput) => void): void;
118
129
  deleteTLSInspectionConfiguration(args: DeleteTLSInspectionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTLSInspectionConfigurationCommandOutput) => void): void;
130
+ /**
131
+ * @see {@link DeleteVpcEndpointAssociationCommand}
132
+ */
133
+ deleteVpcEndpointAssociation(args: DeleteVpcEndpointAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcEndpointAssociationCommandOutput>;
134
+ deleteVpcEndpointAssociation(args: DeleteVpcEndpointAssociationCommandInput, cb: (err: any, data?: DeleteVpcEndpointAssociationCommandOutput) => void): void;
135
+ deleteVpcEndpointAssociation(args: DeleteVpcEndpointAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcEndpointAssociationCommandOutput) => void): void;
119
136
  /**
120
137
  * @see {@link DescribeFirewallCommand}
121
138
  */
@@ -123,6 +140,13 @@ export interface NetworkFirewall {
123
140
  describeFirewall(args: DescribeFirewallCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFirewallCommandOutput>;
124
141
  describeFirewall(args: DescribeFirewallCommandInput, cb: (err: any, data?: DescribeFirewallCommandOutput) => void): void;
125
142
  describeFirewall(args: DescribeFirewallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFirewallCommandOutput) => void): void;
143
+ /**
144
+ * @see {@link DescribeFirewallMetadataCommand}
145
+ */
146
+ describeFirewallMetadata(): Promise<DescribeFirewallMetadataCommandOutput>;
147
+ describeFirewallMetadata(args: DescribeFirewallMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFirewallMetadataCommandOutput>;
148
+ describeFirewallMetadata(args: DescribeFirewallMetadataCommandInput, cb: (err: any, data?: DescribeFirewallMetadataCommandOutput) => void): void;
149
+ describeFirewallMetadata(args: DescribeFirewallMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFirewallMetadataCommandOutput) => void): void;
126
150
  /**
127
151
  * @see {@link DescribeFirewallPolicyCommand}
128
152
  */
@@ -170,6 +194,12 @@ export interface NetworkFirewall {
170
194
  describeTLSInspectionConfiguration(args: DescribeTLSInspectionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTLSInspectionConfigurationCommandOutput>;
171
195
  describeTLSInspectionConfiguration(args: DescribeTLSInspectionConfigurationCommandInput, cb: (err: any, data?: DescribeTLSInspectionConfigurationCommandOutput) => void): void;
172
196
  describeTLSInspectionConfiguration(args: DescribeTLSInspectionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTLSInspectionConfigurationCommandOutput) => void): void;
197
+ /**
198
+ * @see {@link DescribeVpcEndpointAssociationCommand}
199
+ */
200
+ describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcEndpointAssociationCommandOutput>;
201
+ describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, cb: (err: any, data?: DescribeVpcEndpointAssociationCommandOutput) => void): void;
202
+ describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcEndpointAssociationCommandOutput) => void): void;
173
203
  /**
174
204
  * @see {@link DisassociateSubnetsCommand}
175
205
  */
@@ -235,6 +265,13 @@ export interface NetworkFirewall {
235
265
  listTLSInspectionConfigurations(args: ListTLSInspectionConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListTLSInspectionConfigurationsCommandOutput>;
236
266
  listTLSInspectionConfigurations(args: ListTLSInspectionConfigurationsCommandInput, cb: (err: any, data?: ListTLSInspectionConfigurationsCommandOutput) => void): void;
237
267
  listTLSInspectionConfigurations(args: ListTLSInspectionConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTLSInspectionConfigurationsCommandOutput) => void): void;
268
+ /**
269
+ * @see {@link ListVpcEndpointAssociationsCommand}
270
+ */
271
+ listVpcEndpointAssociations(): Promise<ListVpcEndpointAssociationsCommandOutput>;
272
+ listVpcEndpointAssociations(args: ListVpcEndpointAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcEndpointAssociationsCommandOutput>;
273
+ listVpcEndpointAssociations(args: ListVpcEndpointAssociationsCommandInput, cb: (err: any, data?: ListVpcEndpointAssociationsCommandOutput) => void): void;
274
+ listVpcEndpointAssociations(args: ListVpcEndpointAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcEndpointAssociationsCommandOutput) => void): void;
238
275
  /**
239
276
  * @see {@link PutResourcePolicyCommand}
240
277
  */
@@ -399,12 +436,17 @@ export interface NetworkFirewall {
399
436
  * subnet for the sole use of Network Firewall. </p>
400
437
  * </li>
401
438
  * <li>
402
- * <p>In Network Firewall, create stateless and stateful rule groups,
439
+ * <p>In Network Firewall, define the firewall behavior as follows: </p>
440
+ * <ol>
441
+ * <li>
442
+ * <p>Create stateless and stateful rule groups,
403
443
  * to define the components of the network traffic filtering behavior that you want your firewall to have. </p>
404
- * </li>
405
- * <li>
406
- * <p>In Network Firewall, create a firewall policy that uses your rule groups and
407
- * specifies additional default traffic filtering behavior. </p>
444
+ * </li>
445
+ * <li>
446
+ * <p>Create a firewall policy that uses your rule groups and
447
+ * specifies additional default traffic filtering behavior. </p>
448
+ * </li>
449
+ * </ol>
408
450
  * </li>
409
451
  * <li>
410
452
  * <p>In Network Firewall, create a firewall and specify your new firewall policy and
@@ -416,6 +458,9 @@ export interface NetworkFirewall {
416
458
  * endpoints.</p>
417
459
  * </li>
418
460
  * </ol>
461
+ * <p>After your firewall is established, you can add firewall endpoints for new Availability Zones by following the prior steps for the Amazon VPC setup and
462
+ * firewall subnet definitions. You can also add endpoints to Availability Zones that you're using in the firewall, either for the same VPC
463
+ * or for another VPC, by following the prior steps for the Amazon VPC setup, and defining the new VPC subnets as VPC endpoint associations. </p>
419
464
  * @public
420
465
  */
421
466
  export declare class NetworkFirewall extends NetworkFirewallClient implements NetworkFirewall {
@@ -13,12 +13,15 @@ import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./comma
13
13
  import { CreateFirewallPolicyCommandInput, CreateFirewallPolicyCommandOutput } from "./commands/CreateFirewallPolicyCommand";
14
14
  import { CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput } from "./commands/CreateRuleGroupCommand";
15
15
  import { CreateTLSInspectionConfigurationCommandInput, CreateTLSInspectionConfigurationCommandOutput } from "./commands/CreateTLSInspectionConfigurationCommand";
16
+ import { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
16
17
  import { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
17
18
  import { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
18
19
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
19
20
  import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
20
21
  import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
22
+ import { DeleteVpcEndpointAssociationCommandInput, DeleteVpcEndpointAssociationCommandOutput } from "./commands/DeleteVpcEndpointAssociationCommand";
21
23
  import { DescribeFirewallCommandInput, DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
24
+ import { DescribeFirewallMetadataCommandInput, DescribeFirewallMetadataCommandOutput } from "./commands/DescribeFirewallMetadataCommand";
22
25
  import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
23
26
  import { DescribeFlowOperationCommandInput, DescribeFlowOperationCommandOutput } from "./commands/DescribeFlowOperationCommand";
24
27
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
@@ -26,6 +29,7 @@ import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput
26
29
  import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
27
30
  import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
28
31
  import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
32
+ import { DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput } from "./commands/DescribeVpcEndpointAssociationCommand";
29
33
  import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
30
34
  import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
31
35
  import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
@@ -36,6 +40,7 @@ import { ListFlowOperationsCommandInput, ListFlowOperationsCommandOutput } from
36
40
  import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
37
41
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
38
42
  import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
43
+ import { ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput } from "./commands/ListVpcEndpointAssociationsCommand";
39
44
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
40
45
  import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
41
46
  import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
@@ -58,11 +63,11 @@ export { __Client };
58
63
  /**
59
64
  * @public
60
65
  */
61
- export type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DescribeFirewallCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeTLSInspectionConfigurationCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | PutResourcePolicyCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
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;
62
67
  /**
63
68
  * @public
64
69
  */
65
- export type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePolicyCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
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;
66
71
  /**
67
72
  * @public
68
73
  */
@@ -276,12 +281,17 @@ export interface NetworkFirewallClientResolvedConfig extends NetworkFirewallClie
276
281
  * subnet for the sole use of Network Firewall. </p>
277
282
  * </li>
278
283
  * <li>
279
- * <p>In Network Firewall, create stateless and stateful rule groups,
284
+ * <p>In Network Firewall, define the firewall behavior as follows: </p>
285
+ * <ol>
286
+ * <li>
287
+ * <p>Create stateless and stateful rule groups,
280
288
  * to define the components of the network traffic filtering behavior that you want your firewall to have. </p>
281
- * </li>
282
- * <li>
283
- * <p>In Network Firewall, create a firewall policy that uses your rule groups and
284
- * specifies additional default traffic filtering behavior. </p>
289
+ * </li>
290
+ * <li>
291
+ * <p>Create a firewall policy that uses your rule groups and
292
+ * specifies additional default traffic filtering behavior. </p>
293
+ * </li>
294
+ * </ol>
285
295
  * </li>
286
296
  * <li>
287
297
  * <p>In Network Firewall, create a firewall and specify your new firewall policy and
@@ -293,6 +303,9 @@ export interface NetworkFirewallClientResolvedConfig extends NetworkFirewallClie
293
303
  * endpoints.</p>
294
304
  * </li>
295
305
  * </ol>
306
+ * <p>After your firewall is established, you can add firewall endpoints for new Availability Zones by following the prior steps for the Amazon VPC setup and
307
+ * firewall subnet definitions. You can also add endpoints to Availability Zones that you're using in the firewall, either for the same VPC
308
+ * or for another VPC, by following the prior steps for the Amazon VPC setup, and defining the new VPC subnets as VPC endpoint associations. </p>
296
309
  * @public
297
310
  */
298
311
  export declare class NetworkFirewallClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, NetworkFirewallClientResolvedConfig> {
@@ -98,6 +98,7 @@ declare const CreateFirewallCommand_base: {
98
98
  * // KeyId: "STRING_VALUE",
99
99
  * // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
100
100
  * // },
101
+ * // NumberOfAssociations: Number("int"),
101
102
  * // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
102
103
  * // "TLS_SNI" || "HTTP_HOST",
103
104
  * // ],