@aws-sdk/client-network-firewall 3.301.0 → 3.306.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 (54) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/NetworkFirewall.js +75 -0
  3. package/dist-cjs/commands/CreateTLSInspectionConfigurationCommand.js +45 -0
  4. package/dist-cjs/commands/DeleteTLSInspectionConfigurationCommand.js +45 -0
  5. package/dist-cjs/commands/DescribeTLSInspectionConfigurationCommand.js +45 -0
  6. package/dist-cjs/commands/ListTLSInspectionConfigurationsCommand.js +45 -0
  7. package/dist-cjs/commands/UpdateTLSInspectionConfigurationCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +114 -135
  11. package/dist-cjs/pagination/ListTLSInspectionConfigurationsPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_json1_0.js +540 -2
  14. package/dist-es/NetworkFirewall.js +75 -0
  15. package/dist-es/commands/CreateTLSInspectionConfigurationCommand.js +41 -0
  16. package/dist-es/commands/DeleteTLSInspectionConfigurationCommand.js +41 -0
  17. package/dist-es/commands/DescribeTLSInspectionConfigurationCommand.js +41 -0
  18. package/dist-es/commands/ListTLSInspectionConfigurationsCommand.js +41 -0
  19. package/dist-es/commands/UpdateTLSInspectionConfigurationCommand.js +41 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/endpoint/ruleset.js +3 -3
  22. package/dist-es/models/models_0.js +114 -135
  23. package/dist-es/pagination/ListTLSInspectionConfigurationsPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_json1_0.js +528 -0
  26. package/dist-types/NetworkFirewall.d.ts +53 -0
  27. package/dist-types/NetworkFirewallClient.d.ts +7 -2
  28. package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +1 -0
  29. package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +145 -0
  30. package/dist-types/commands/DeleteTLSInspectionConfigurationCommand.d.ts +94 -0
  31. package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +90 -0
  32. package/dist-types/commands/ListTLSInspectionConfigurationsCommand.d.ts +87 -0
  33. package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +1 -0
  34. package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +144 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  37. package/dist-types/models/models_0.d.ts +558 -115
  38. package/dist-types/pagination/ListTLSInspectionConfigurationsPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +1 -0
  40. package/dist-types/protocols/Aws_json1_0.d.ts +15 -0
  41. package/dist-types/ts3.4/NetworkFirewall.d.ts +91 -0
  42. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +32 -2
  43. package/dist-types/ts3.4/commands/CreateTLSInspectionConfigurationCommand.d.ts +41 -0
  44. package/dist-types/ts3.4/commands/DeleteTLSInspectionConfigurationCommand.d.ts +41 -0
  45. package/dist-types/ts3.4/commands/DescribeTLSInspectionConfigurationCommand.d.ts +41 -0
  46. package/dist-types/ts3.4/commands/ListTLSInspectionConfigurationsCommand.d.ts +41 -0
  47. package/dist-types/ts3.4/commands/UpdateTLSInspectionConfigurationCommand.d.ts +41 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  49. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +244 -113
  51. package/dist-types/ts3.4/pagination/ListTLSInspectionConfigurationsPaginator.d.ts +11 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  53. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
  54. package/package.json +34 -34
package/README.md CHANGED
@@ -322,6 +322,14 @@ CreateRuleGroup
322
322
 
323
323
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/createrulegroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/createrulegroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/createrulegroupcommandoutput.html)
324
324
 
325
+ </details>
326
+ <details>
327
+ <summary>
328
+ CreateTLSInspectionConfiguration
329
+ </summary>
330
+
331
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/createtlsinspectionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/createtlsinspectionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/createtlsinspectionconfigurationcommandoutput.html)
332
+
325
333
  </details>
326
334
  <details>
327
335
  <summary>
@@ -354,6 +362,14 @@ DeleteRuleGroup
354
362
 
355
363
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/deleterulegroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/deleterulegroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/deleterulegroupcommandoutput.html)
356
364
 
365
+ </details>
366
+ <details>
367
+ <summary>
368
+ DeleteTLSInspectionConfiguration
369
+ </summary>
370
+
371
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/deletetlsinspectionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/deletetlsinspectionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/deletetlsinspectionconfigurationcommandoutput.html)
372
+
357
373
  </details>
358
374
  <details>
359
375
  <summary>
@@ -402,6 +418,14 @@ DescribeRuleGroupMetadata
402
418
 
403
419
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/describerulegroupmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/describerulegroupmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/describerulegroupmetadatacommandoutput.html)
404
420
 
421
+ </details>
422
+ <details>
423
+ <summary>
424
+ DescribeTLSInspectionConfiguration
425
+ </summary>
426
+
427
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/describetlsinspectionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/describetlsinspectionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/describetlsinspectionconfigurationcommandoutput.html)
428
+
405
429
  </details>
406
430
  <details>
407
431
  <summary>
@@ -442,6 +466,14 @@ ListTagsForResource
442
466
 
443
467
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/listtagsforresourcecommandoutput.html)
444
468
 
469
+ </details>
470
+ <details>
471
+ <summary>
472
+ ListTLSInspectionConfigurations
473
+ </summary>
474
+
475
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/listtlsinspectionconfigurationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/listtlsinspectionconfigurationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/listtlsinspectionconfigurationscommandoutput.html)
476
+
445
477
  </details>
446
478
  <details>
447
479
  <summary>
@@ -531,3 +563,11 @@ UpdateSubnetChangeProtection
531
563
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/updatesubnetchangeprotectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/updatesubnetchangeprotectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/updatesubnetchangeprotectioncommandoutput.html)
532
564
 
533
565
  </details>
566
+ <details>
567
+ <summary>
568
+ UpdateTLSInspectionConfiguration
569
+ </summary>
570
+
571
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/classes/updatetlsinspectionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/updatetlsinspectionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-network-firewall/interfaces/updatetlsinspectionconfigurationcommandoutput.html)
572
+
573
+ </details>
@@ -6,21 +6,25 @@ const AssociateSubnetsCommand_1 = require("./commands/AssociateSubnetsCommand");
6
6
  const CreateFirewallCommand_1 = require("./commands/CreateFirewallCommand");
7
7
  const CreateFirewallPolicyCommand_1 = require("./commands/CreateFirewallPolicyCommand");
8
8
  const CreateRuleGroupCommand_1 = require("./commands/CreateRuleGroupCommand");
9
+ const CreateTLSInspectionConfigurationCommand_1 = require("./commands/CreateTLSInspectionConfigurationCommand");
9
10
  const DeleteFirewallCommand_1 = require("./commands/DeleteFirewallCommand");
10
11
  const DeleteFirewallPolicyCommand_1 = require("./commands/DeleteFirewallPolicyCommand");
11
12
  const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
12
13
  const DeleteRuleGroupCommand_1 = require("./commands/DeleteRuleGroupCommand");
14
+ const DeleteTLSInspectionConfigurationCommand_1 = require("./commands/DeleteTLSInspectionConfigurationCommand");
13
15
  const DescribeFirewallCommand_1 = require("./commands/DescribeFirewallCommand");
14
16
  const DescribeFirewallPolicyCommand_1 = require("./commands/DescribeFirewallPolicyCommand");
15
17
  const DescribeLoggingConfigurationCommand_1 = require("./commands/DescribeLoggingConfigurationCommand");
16
18
  const DescribeResourcePolicyCommand_1 = require("./commands/DescribeResourcePolicyCommand");
17
19
  const DescribeRuleGroupCommand_1 = require("./commands/DescribeRuleGroupCommand");
18
20
  const DescribeRuleGroupMetadataCommand_1 = require("./commands/DescribeRuleGroupMetadataCommand");
21
+ const DescribeTLSInspectionConfigurationCommand_1 = require("./commands/DescribeTLSInspectionConfigurationCommand");
19
22
  const DisassociateSubnetsCommand_1 = require("./commands/DisassociateSubnetsCommand");
20
23
  const ListFirewallPoliciesCommand_1 = require("./commands/ListFirewallPoliciesCommand");
21
24
  const ListFirewallsCommand_1 = require("./commands/ListFirewallsCommand");
22
25
  const ListRuleGroupsCommand_1 = require("./commands/ListRuleGroupsCommand");
23
26
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
27
+ const ListTLSInspectionConfigurationsCommand_1 = require("./commands/ListTLSInspectionConfigurationsCommand");
24
28
  const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
25
29
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
26
30
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
@@ -32,6 +36,7 @@ const UpdateFirewallPolicyCommand_1 = require("./commands/UpdateFirewallPolicyCo
32
36
  const UpdateLoggingConfigurationCommand_1 = require("./commands/UpdateLoggingConfigurationCommand");
33
37
  const UpdateRuleGroupCommand_1 = require("./commands/UpdateRuleGroupCommand");
34
38
  const UpdateSubnetChangeProtectionCommand_1 = require("./commands/UpdateSubnetChangeProtectionCommand");
39
+ const UpdateTLSInspectionConfigurationCommand_1 = require("./commands/UpdateTLSInspectionConfigurationCommand");
35
40
  const NetworkFirewallClient_1 = require("./NetworkFirewallClient");
36
41
  class NetworkFirewall extends NetworkFirewallClient_1.NetworkFirewallClient {
37
42
  associateFirewallPolicy(args, optionsOrCb, cb) {
@@ -104,6 +109,20 @@ class NetworkFirewall extends NetworkFirewallClient_1.NetworkFirewallClient {
104
109
  return this.send(command, optionsOrCb);
105
110
  }
106
111
  }
112
+ createTLSInspectionConfiguration(args, optionsOrCb, cb) {
113
+ const command = new CreateTLSInspectionConfigurationCommand_1.CreateTLSInspectionConfigurationCommand(args);
114
+ if (typeof optionsOrCb === "function") {
115
+ this.send(command, optionsOrCb);
116
+ }
117
+ else if (typeof cb === "function") {
118
+ if (typeof optionsOrCb !== "object")
119
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
120
+ this.send(command, optionsOrCb || {}, cb);
121
+ }
122
+ else {
123
+ return this.send(command, optionsOrCb);
124
+ }
125
+ }
107
126
  deleteFirewall(args, optionsOrCb, cb) {
108
127
  const command = new DeleteFirewallCommand_1.DeleteFirewallCommand(args);
109
128
  if (typeof optionsOrCb === "function") {
@@ -160,6 +179,20 @@ class NetworkFirewall extends NetworkFirewallClient_1.NetworkFirewallClient {
160
179
  return this.send(command, optionsOrCb);
161
180
  }
162
181
  }
182
+ deleteTLSInspectionConfiguration(args, optionsOrCb, cb) {
183
+ const command = new DeleteTLSInspectionConfigurationCommand_1.DeleteTLSInspectionConfigurationCommand(args);
184
+ if (typeof optionsOrCb === "function") {
185
+ this.send(command, optionsOrCb);
186
+ }
187
+ else if (typeof cb === "function") {
188
+ if (typeof optionsOrCb !== "object")
189
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
190
+ this.send(command, optionsOrCb || {}, cb);
191
+ }
192
+ else {
193
+ return this.send(command, optionsOrCb);
194
+ }
195
+ }
163
196
  describeFirewall(args, optionsOrCb, cb) {
164
197
  const command = new DescribeFirewallCommand_1.DescribeFirewallCommand(args);
165
198
  if (typeof optionsOrCb === "function") {
@@ -244,6 +277,20 @@ class NetworkFirewall extends NetworkFirewallClient_1.NetworkFirewallClient {
244
277
  return this.send(command, optionsOrCb);
245
278
  }
246
279
  }
280
+ describeTLSInspectionConfiguration(args, optionsOrCb, cb) {
281
+ const command = new DescribeTLSInspectionConfigurationCommand_1.DescribeTLSInspectionConfigurationCommand(args);
282
+ if (typeof optionsOrCb === "function") {
283
+ this.send(command, optionsOrCb);
284
+ }
285
+ else if (typeof cb === "function") {
286
+ if (typeof optionsOrCb !== "object")
287
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
288
+ this.send(command, optionsOrCb || {}, cb);
289
+ }
290
+ else {
291
+ return this.send(command, optionsOrCb);
292
+ }
293
+ }
247
294
  disassociateSubnets(args, optionsOrCb, cb) {
248
295
  const command = new DisassociateSubnetsCommand_1.DisassociateSubnetsCommand(args);
249
296
  if (typeof optionsOrCb === "function") {
@@ -314,6 +361,20 @@ class NetworkFirewall extends NetworkFirewallClient_1.NetworkFirewallClient {
314
361
  return this.send(command, optionsOrCb);
315
362
  }
316
363
  }
364
+ listTLSInspectionConfigurations(args, optionsOrCb, cb) {
365
+ const command = new ListTLSInspectionConfigurationsCommand_1.ListTLSInspectionConfigurationsCommand(args);
366
+ if (typeof optionsOrCb === "function") {
367
+ this.send(command, optionsOrCb);
368
+ }
369
+ else if (typeof cb === "function") {
370
+ if (typeof optionsOrCb !== "object")
371
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
372
+ this.send(command, optionsOrCb || {}, cb);
373
+ }
374
+ else {
375
+ return this.send(command, optionsOrCb);
376
+ }
377
+ }
317
378
  putResourcePolicy(args, optionsOrCb, cb) {
318
379
  const command = new PutResourcePolicyCommand_1.PutResourcePolicyCommand(args);
319
380
  if (typeof optionsOrCb === "function") {
@@ -468,5 +529,19 @@ class NetworkFirewall extends NetworkFirewallClient_1.NetworkFirewallClient {
468
529
  return this.send(command, optionsOrCb);
469
530
  }
470
531
  }
532
+ updateTLSInspectionConfiguration(args, optionsOrCb, cb) {
533
+ const command = new UpdateTLSInspectionConfigurationCommand_1.UpdateTLSInspectionConfigurationCommand(args);
534
+ if (typeof optionsOrCb === "function") {
535
+ this.send(command, optionsOrCb);
536
+ }
537
+ else if (typeof cb === "function") {
538
+ if (typeof optionsOrCb !== "object")
539
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
540
+ this.send(command, optionsOrCb || {}, cb);
541
+ }
542
+ else {
543
+ return this.send(command, optionsOrCb);
544
+ }
545
+ }
471
546
  }
472
547
  exports.NetworkFirewall = NetworkFirewall;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateTLSInspectionConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class CreateTLSInspectionConfigurationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateTLSInspectionConfigurationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NetworkFirewallClient";
27
+ const commandName = "CreateTLSInspectionConfigurationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_0_1.serializeAws_json1_0CreateTLSInspectionConfigurationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CreateTLSInspectionConfigurationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.CreateTLSInspectionConfigurationCommand = CreateTLSInspectionConfigurationCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteTLSInspectionConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class DeleteTLSInspectionConfigurationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteTLSInspectionConfigurationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NetworkFirewallClient";
27
+ const commandName = "DeleteTLSInspectionConfigurationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_0_1.serializeAws_json1_0DeleteTLSInspectionConfigurationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteTLSInspectionConfigurationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DeleteTLSInspectionConfigurationCommand = DeleteTLSInspectionConfigurationCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeTLSInspectionConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class DescribeTLSInspectionConfigurationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeTLSInspectionConfigurationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NetworkFirewallClient";
27
+ const commandName = "DescribeTLSInspectionConfigurationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_0_1.serializeAws_json1_0DescribeTLSInspectionConfigurationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeTLSInspectionConfigurationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeTLSInspectionConfigurationCommand = DescribeTLSInspectionConfigurationCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTLSInspectionConfigurationsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class ListTLSInspectionConfigurationsCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTLSInspectionConfigurationsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NetworkFirewallClient";
27
+ const commandName = "ListTLSInspectionConfigurationsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListTLSInspectionConfigurationsCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListTLSInspectionConfigurationsCommand)(output, context);
43
+ }
44
+ }
45
+ exports.ListTLSInspectionConfigurationsCommand = ListTLSInspectionConfigurationsCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateTLSInspectionConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class UpdateTLSInspectionConfigurationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTLSInspectionConfigurationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NetworkFirewallClient";
27
+ const commandName = "UpdateTLSInspectionConfigurationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_0_1.serializeAws_json1_0UpdateTLSInspectionConfigurationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_0_1.deserializeAws_json1_0UpdateTLSInspectionConfigurationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.UpdateTLSInspectionConfigurationCommand = UpdateTLSInspectionConfigurationCommand;
@@ -6,20 +6,24 @@ tslib_1.__exportStar(require("./AssociateSubnetsCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateFirewallCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateFirewallPolicyCommand"), exports);
8
8
  tslib_1.__exportStar(require("./CreateRuleGroupCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateTLSInspectionConfigurationCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DeleteFirewallCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DeleteFirewallPolicyCommand"), exports);
11
12
  tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
12
13
  tslib_1.__exportStar(require("./DeleteRuleGroupCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteTLSInspectionConfigurationCommand"), exports);
13
15
  tslib_1.__exportStar(require("./DescribeFirewallCommand"), exports);
14
16
  tslib_1.__exportStar(require("./DescribeFirewallPolicyCommand"), exports);
15
17
  tslib_1.__exportStar(require("./DescribeLoggingConfigurationCommand"), exports);
16
18
  tslib_1.__exportStar(require("./DescribeResourcePolicyCommand"), exports);
17
19
  tslib_1.__exportStar(require("./DescribeRuleGroupCommand"), exports);
18
20
  tslib_1.__exportStar(require("./DescribeRuleGroupMetadataCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeTLSInspectionConfigurationCommand"), exports);
19
22
  tslib_1.__exportStar(require("./DisassociateSubnetsCommand"), exports);
20
23
  tslib_1.__exportStar(require("./ListFirewallPoliciesCommand"), exports);
21
24
  tslib_1.__exportStar(require("./ListFirewallsCommand"), exports);
22
25
  tslib_1.__exportStar(require("./ListRuleGroupsCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListTLSInspectionConfigurationsCommand"), exports);
23
27
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
24
28
  tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
25
29
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
@@ -32,3 +36,4 @@ tslib_1.__exportStar(require("./UpdateFirewallPolicyCommand"), exports);
32
36
  tslib_1.__exportStar(require("./UpdateLoggingConfigurationCommand"), exports);
33
37
  tslib_1.__exportStar(require("./UpdateRuleGroupCommand"), exports);
34
38
  tslib_1.__exportStar(require("./UpdateSubnetChangeProtectionCommand"), exports);
39
+ tslib_1.__exportStar(require("./UpdateTLSInspectionConfigurationCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "fn", r = "argv", s = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;