@aws-sdk/client-network-firewall 3.183.0 → 3.186.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/CHANGELOG.md +24 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/models/models_0.js +8 -3
  4. package/dist-cjs/protocols/Aws_json1_0.js +4 -2
  5. package/dist-es/NetworkFirewall.js +133 -126
  6. package/dist-es/NetworkFirewallClient.js +28 -22
  7. package/dist-es/commands/AssociateFirewallPolicyCommand.js +28 -21
  8. package/dist-es/commands/AssociateSubnetsCommand.js +28 -21
  9. package/dist-es/commands/CreateFirewallCommand.js +28 -21
  10. package/dist-es/commands/CreateFirewallPolicyCommand.js +28 -21
  11. package/dist-es/commands/CreateRuleGroupCommand.js +28 -21
  12. package/dist-es/commands/DeleteFirewallCommand.js +28 -21
  13. package/dist-es/commands/DeleteFirewallPolicyCommand.js +28 -21
  14. package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
  15. package/dist-es/commands/DeleteRuleGroupCommand.js +28 -21
  16. package/dist-es/commands/DescribeFirewallCommand.js +28 -21
  17. package/dist-es/commands/DescribeFirewallPolicyCommand.js +28 -21
  18. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +28 -21
  19. package/dist-es/commands/DescribeResourcePolicyCommand.js +28 -21
  20. package/dist-es/commands/DescribeRuleGroupCommand.js +28 -21
  21. package/dist-es/commands/DescribeRuleGroupMetadataCommand.js +28 -21
  22. package/dist-es/commands/DisassociateSubnetsCommand.js +28 -21
  23. package/dist-es/commands/ListFirewallPoliciesCommand.js +28 -21
  24. package/dist-es/commands/ListFirewallsCommand.js +28 -21
  25. package/dist-es/commands/ListRuleGroupsCommand.js +28 -21
  26. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  27. package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
  28. package/dist-es/commands/TagResourceCommand.js +28 -21
  29. package/dist-es/commands/UntagResourceCommand.js +28 -21
  30. package/dist-es/commands/UpdateFirewallDeleteProtectionCommand.js +28 -21
  31. package/dist-es/commands/UpdateFirewallDescriptionCommand.js +28 -21
  32. package/dist-es/commands/UpdateFirewallEncryptionConfigurationCommand.js +28 -21
  33. package/dist-es/commands/UpdateFirewallPolicyChangeProtectionCommand.js +28 -21
  34. package/dist-es/commands/UpdateFirewallPolicyCommand.js +28 -21
  35. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +28 -21
  36. package/dist-es/commands/UpdateRuleGroupCommand.js +28 -21
  37. package/dist-es/commands/UpdateSubnetChangeProtectionCommand.js +28 -21
  38. package/dist-es/endpoints.js +8 -8
  39. package/dist-es/models/NetworkFirewallServiceException.js +10 -5
  40. package/dist-es/models/models_0.js +259 -471
  41. package/dist-es/pagination/ListFirewallPoliciesPaginator.js +68 -25
  42. package/dist-es/pagination/ListFirewallsPaginator.js +68 -25
  43. package/dist-es/pagination/ListRuleGroupsPaginator.js +68 -25
  44. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  45. package/dist-es/protocols/Aws_json1_0.js +3104 -2607
  46. package/dist-es/runtimeConfig.browser.js +12 -26
  47. package/dist-es/runtimeConfig.js +12 -30
  48. package/dist-es/runtimeConfig.native.js +5 -8
  49. package/dist-es/runtimeConfig.shared.js +11 -8
  50. package/dist-types/NetworkFirewall.d.ts +2 -2
  51. package/dist-types/NetworkFirewallClient.d.ts +2 -2
  52. package/dist-types/models/models_0.d.ts +20 -2
  53. package/dist-types/ts3.4/models/models_0.d.ts +5 -0
  54. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutResourcePolicyRequestFilterSensitiveLog, PutResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0PutResourcePolicyCommand, serializeAws_json1_0PutResourcePolicyCommand, } from "../protocols/Aws_json1_0";
5
- export class PutResourcePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutResourcePolicyCommand = (function (_super) {
7
+ __extends(PutResourcePolicyCommand, _super);
8
+ function PutResourcePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutResourcePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "PutResourcePolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "PutResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutResourcePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutResourcePolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutResourcePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0PutResourcePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutResourcePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0PutResourcePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutResourcePolicyCommand;
38
+ }($Command));
39
+ export { PutResourcePolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallDeleteProtectionRequestFilterSensitiveLog, UpdateFirewallDeleteProtectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand, serializeAws_json1_0UpdateFirewallDeleteProtectionCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateFirewallDeleteProtectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateFirewallDeleteProtectionCommand = (function (_super) {
7
+ __extends(UpdateFirewallDeleteProtectionCommand, _super);
8
+ function UpdateFirewallDeleteProtectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateFirewallDeleteProtectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UpdateFirewallDeleteProtectionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UpdateFirewallDeleteProtectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateFirewallDeleteProtectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateFirewallDeleteProtectionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateFirewallDeleteProtectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateFirewallDeleteProtectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateFirewallDeleteProtectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateFirewallDeleteProtectionCommand;
38
+ }($Command));
39
+ export { UpdateFirewallDeleteProtectionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallDescriptionRequestFilterSensitiveLog, UpdateFirewallDescriptionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateFirewallDescriptionCommand, serializeAws_json1_0UpdateFirewallDescriptionCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateFirewallDescriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateFirewallDescriptionCommand = (function (_super) {
7
+ __extends(UpdateFirewallDescriptionCommand, _super);
8
+ function UpdateFirewallDescriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateFirewallDescriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UpdateFirewallDescriptionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UpdateFirewallDescriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateFirewallDescriptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateFirewallDescriptionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateFirewallDescriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateFirewallDescriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateFirewallDescriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateFirewallDescriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateFirewallDescriptionCommand;
38
+ }($Command));
39
+ export { UpdateFirewallDescriptionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallEncryptionConfigurationRequestFilterSensitiveLog, UpdateFirewallEncryptionConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateFirewallEncryptionConfigurationCommand, serializeAws_json1_0UpdateFirewallEncryptionConfigurationCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateFirewallEncryptionConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateFirewallEncryptionConfigurationCommand = (function (_super) {
7
+ __extends(UpdateFirewallEncryptionConfigurationCommand, _super);
8
+ function UpdateFirewallEncryptionConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateFirewallEncryptionConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UpdateFirewallEncryptionConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UpdateFirewallEncryptionConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateFirewallEncryptionConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateFirewallEncryptionConfigurationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateFirewallEncryptionConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateFirewallEncryptionConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateFirewallEncryptionConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateFirewallEncryptionConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateFirewallEncryptionConfigurationCommand;
38
+ }($Command));
39
+ export { UpdateFirewallEncryptionConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallPolicyChangeProtectionRequestFilterSensitiveLog, UpdateFirewallPolicyChangeProtectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand, serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateFirewallPolicyChangeProtectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateFirewallPolicyChangeProtectionCommand = (function (_super) {
7
+ __extends(UpdateFirewallPolicyChangeProtectionCommand, _super);
8
+ function UpdateFirewallPolicyChangeProtectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateFirewallPolicyChangeProtectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UpdateFirewallPolicyChangeProtectionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UpdateFirewallPolicyChangeProtectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateFirewallPolicyChangeProtectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateFirewallPolicyChangeProtectionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateFirewallPolicyChangeProtectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateFirewallPolicyChangeProtectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateFirewallPolicyChangeProtectionCommand;
38
+ }($Command));
39
+ export { UpdateFirewallPolicyChangeProtectionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallPolicyRequestFilterSensitiveLog, UpdateFirewallPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateFirewallPolicyCommand, serializeAws_json1_0UpdateFirewallPolicyCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateFirewallPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateFirewallPolicyCommand = (function (_super) {
7
+ __extends(UpdateFirewallPolicyCommand, _super);
8
+ function UpdateFirewallPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateFirewallPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UpdateFirewallPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UpdateFirewallPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateFirewallPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateFirewallPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateFirewallPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateFirewallPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateFirewallPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateFirewallPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateFirewallPolicyCommand;
38
+ }($Command));
39
+ export { UpdateFirewallPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateLoggingConfigurationRequestFilterSensitiveLog, UpdateLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateLoggingConfigurationCommand, serializeAws_json1_0UpdateLoggingConfigurationCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateLoggingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateLoggingConfigurationCommand = (function (_super) {
7
+ __extends(UpdateLoggingConfigurationCommand, _super);
8
+ function UpdateLoggingConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateLoggingConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UpdateLoggingConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UpdateLoggingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateLoggingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateLoggingConfigurationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateLoggingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateLoggingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateLoggingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateLoggingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateLoggingConfigurationCommand;
38
+ }($Command));
39
+ export { UpdateLoggingConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateRuleGroupRequestFilterSensitiveLog, UpdateRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateRuleGroupCommand, serializeAws_json1_0UpdateRuleGroupCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateRuleGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateRuleGroupCommand = (function (_super) {
7
+ __extends(UpdateRuleGroupCommand, _super);
8
+ function UpdateRuleGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateRuleGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkFirewallClient";
15
- const commandName = "UpdateRuleGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "UpdateRuleGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateRuleGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateRuleGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateRuleGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateRuleGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateRuleGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateRuleGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateRuleGroupCommand;
38
+ }($Command));
39
+ export { UpdateRuleGroupCommand };