@aws-sdk/client-route53resolver 3.183.0 → 3.185.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 (91) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Route53Resolver.js +261 -254
  4. package/dist-es/Route53ResolverClient.js +28 -22
  5. package/dist-es/commands/AssociateFirewallRuleGroupCommand.js +28 -21
  6. package/dist-es/commands/AssociateResolverEndpointIpAddressCommand.js +28 -21
  7. package/dist-es/commands/AssociateResolverQueryLogConfigCommand.js +28 -21
  8. package/dist-es/commands/AssociateResolverRuleCommand.js +28 -21
  9. package/dist-es/commands/CreateFirewallDomainListCommand.js +28 -21
  10. package/dist-es/commands/CreateFirewallRuleCommand.js +28 -21
  11. package/dist-es/commands/CreateFirewallRuleGroupCommand.js +28 -21
  12. package/dist-es/commands/CreateResolverEndpointCommand.js +28 -21
  13. package/dist-es/commands/CreateResolverQueryLogConfigCommand.js +28 -21
  14. package/dist-es/commands/CreateResolverRuleCommand.js +28 -21
  15. package/dist-es/commands/DeleteFirewallDomainListCommand.js +28 -21
  16. package/dist-es/commands/DeleteFirewallRuleCommand.js +28 -21
  17. package/dist-es/commands/DeleteFirewallRuleGroupCommand.js +28 -21
  18. package/dist-es/commands/DeleteResolverEndpointCommand.js +28 -21
  19. package/dist-es/commands/DeleteResolverQueryLogConfigCommand.js +28 -21
  20. package/dist-es/commands/DeleteResolverRuleCommand.js +28 -21
  21. package/dist-es/commands/DisassociateFirewallRuleGroupCommand.js +28 -21
  22. package/dist-es/commands/DisassociateResolverEndpointIpAddressCommand.js +28 -21
  23. package/dist-es/commands/DisassociateResolverQueryLogConfigCommand.js +28 -21
  24. package/dist-es/commands/DisassociateResolverRuleCommand.js +28 -21
  25. package/dist-es/commands/GetFirewallConfigCommand.js +28 -21
  26. package/dist-es/commands/GetFirewallDomainListCommand.js +28 -21
  27. package/dist-es/commands/GetFirewallRuleGroupAssociationCommand.js +28 -21
  28. package/dist-es/commands/GetFirewallRuleGroupCommand.js +28 -21
  29. package/dist-es/commands/GetFirewallRuleGroupPolicyCommand.js +28 -21
  30. package/dist-es/commands/GetResolverConfigCommand.js +28 -21
  31. package/dist-es/commands/GetResolverDnssecConfigCommand.js +28 -21
  32. package/dist-es/commands/GetResolverEndpointCommand.js +28 -21
  33. package/dist-es/commands/GetResolverQueryLogConfigAssociationCommand.js +28 -21
  34. package/dist-es/commands/GetResolverQueryLogConfigCommand.js +28 -21
  35. package/dist-es/commands/GetResolverQueryLogConfigPolicyCommand.js +28 -21
  36. package/dist-es/commands/GetResolverRuleAssociationCommand.js +28 -21
  37. package/dist-es/commands/GetResolverRuleCommand.js +28 -21
  38. package/dist-es/commands/GetResolverRulePolicyCommand.js +28 -21
  39. package/dist-es/commands/ImportFirewallDomainsCommand.js +28 -21
  40. package/dist-es/commands/ListFirewallConfigsCommand.js +28 -21
  41. package/dist-es/commands/ListFirewallDomainListsCommand.js +28 -21
  42. package/dist-es/commands/ListFirewallDomainsCommand.js +28 -21
  43. package/dist-es/commands/ListFirewallRuleGroupAssociationsCommand.js +28 -21
  44. package/dist-es/commands/ListFirewallRuleGroupsCommand.js +28 -21
  45. package/dist-es/commands/ListFirewallRulesCommand.js +28 -21
  46. package/dist-es/commands/ListResolverConfigsCommand.js +28 -21
  47. package/dist-es/commands/ListResolverDnssecConfigsCommand.js +28 -21
  48. package/dist-es/commands/ListResolverEndpointIpAddressesCommand.js +28 -21
  49. package/dist-es/commands/ListResolverEndpointsCommand.js +28 -21
  50. package/dist-es/commands/ListResolverQueryLogConfigAssociationsCommand.js +28 -21
  51. package/dist-es/commands/ListResolverQueryLogConfigsCommand.js +28 -21
  52. package/dist-es/commands/ListResolverRuleAssociationsCommand.js +28 -21
  53. package/dist-es/commands/ListResolverRulesCommand.js +28 -21
  54. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  55. package/dist-es/commands/PutFirewallRuleGroupPolicyCommand.js +28 -21
  56. package/dist-es/commands/PutResolverQueryLogConfigPolicyCommand.js +28 -21
  57. package/dist-es/commands/PutResolverRulePolicyCommand.js +28 -21
  58. package/dist-es/commands/TagResourceCommand.js +28 -21
  59. package/dist-es/commands/UntagResourceCommand.js +28 -21
  60. package/dist-es/commands/UpdateFirewallConfigCommand.js +28 -21
  61. package/dist-es/commands/UpdateFirewallDomainsCommand.js +28 -21
  62. package/dist-es/commands/UpdateFirewallRuleCommand.js +28 -21
  63. package/dist-es/commands/UpdateFirewallRuleGroupAssociationCommand.js +28 -21
  64. package/dist-es/commands/UpdateResolverConfigCommand.js +28 -21
  65. package/dist-es/commands/UpdateResolverDnssecConfigCommand.js +28 -21
  66. package/dist-es/commands/UpdateResolverEndpointCommand.js +28 -21
  67. package/dist-es/commands/UpdateResolverRuleCommand.js +28 -21
  68. package/dist-es/endpoints.js +8 -8
  69. package/dist-es/models/Route53ResolverServiceException.js +10 -5
  70. package/dist-es/models/models_0.js +346 -639
  71. package/dist-es/pagination/ListFirewallConfigsPaginator.js +68 -25
  72. package/dist-es/pagination/ListFirewallDomainListsPaginator.js +68 -25
  73. package/dist-es/pagination/ListFirewallDomainsPaginator.js +68 -25
  74. package/dist-es/pagination/ListFirewallRuleGroupAssociationsPaginator.js +68 -25
  75. package/dist-es/pagination/ListFirewallRuleGroupsPaginator.js +68 -25
  76. package/dist-es/pagination/ListFirewallRulesPaginator.js +68 -25
  77. package/dist-es/pagination/ListResolverConfigsPaginator.js +68 -25
  78. package/dist-es/pagination/ListResolverDnssecConfigsPaginator.js +68 -25
  79. package/dist-es/pagination/ListResolverEndpointIpAddressesPaginator.js +68 -25
  80. package/dist-es/pagination/ListResolverEndpointsPaginator.js +68 -25
  81. package/dist-es/pagination/ListResolverQueryLogConfigAssociationsPaginator.js +68 -25
  82. package/dist-es/pagination/ListResolverQueryLogConfigsPaginator.js +68 -25
  83. package/dist-es/pagination/ListResolverRuleAssociationsPaginator.js +68 -25
  84. package/dist-es/pagination/ListResolverRulesPaginator.js +68 -25
  85. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  86. package/dist-es/protocols/Aws_json1_1.js +5596 -4270
  87. package/dist-es/runtimeConfig.browser.js +12 -26
  88. package/dist-es/runtimeConfig.js +12 -30
  89. package/dist-es/runtimeConfig.native.js +5 -8
  90. package/dist-es/runtimeConfig.shared.js +11 -8
  91. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class Route53ResolverClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var Route53ResolverClient = (function (_super) {
13
+ __extends(Route53ResolverClient, _super);
14
+ function Route53ResolverClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ Route53ResolverClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return Route53ResolverClient;
38
+ }(__Client));
39
+ export { Route53ResolverClient };
@@ -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 { AssociateFirewallRuleGroupRequestFilterSensitiveLog, AssociateFirewallRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AssociateFirewallRuleGroupCommand, serializeAws_json1_1AssociateFirewallRuleGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class AssociateFirewallRuleGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateFirewallRuleGroupCommand = (function (_super) {
7
+ __extends(AssociateFirewallRuleGroupCommand, _super);
8
+ function AssociateFirewallRuleGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateFirewallRuleGroupCommand.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 = "Route53ResolverClient";
15
- const commandName = "AssociateFirewallRuleGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "AssociateFirewallRuleGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateFirewallRuleGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateFirewallRuleGroupResponseFilterSensitiveLog,
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
+ AssociateFirewallRuleGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AssociateFirewallRuleGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateFirewallRuleGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AssociateFirewallRuleGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateFirewallRuleGroupCommand;
38
+ }($Command));
39
+ export { AssociateFirewallRuleGroupCommand };
@@ -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 { AssociateResolverEndpointIpAddressRequestFilterSensitiveLog, AssociateResolverEndpointIpAddressResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AssociateResolverEndpointIpAddressCommand, serializeAws_json1_1AssociateResolverEndpointIpAddressCommand, } from "../protocols/Aws_json1_1";
5
- export class AssociateResolverEndpointIpAddressCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateResolverEndpointIpAddressCommand = (function (_super) {
7
+ __extends(AssociateResolverEndpointIpAddressCommand, _super);
8
+ function AssociateResolverEndpointIpAddressCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateResolverEndpointIpAddressCommand.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 = "Route53ResolverClient";
15
- const commandName = "AssociateResolverEndpointIpAddressCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "AssociateResolverEndpointIpAddressCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateResolverEndpointIpAddressRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateResolverEndpointIpAddressResponseFilterSensitiveLog,
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
+ AssociateResolverEndpointIpAddressCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AssociateResolverEndpointIpAddressCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateResolverEndpointIpAddressCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AssociateResolverEndpointIpAddressCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateResolverEndpointIpAddressCommand;
38
+ }($Command));
39
+ export { AssociateResolverEndpointIpAddressCommand };
@@ -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 { AssociateResolverQueryLogConfigRequestFilterSensitiveLog, AssociateResolverQueryLogConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AssociateResolverQueryLogConfigCommand, serializeAws_json1_1AssociateResolverQueryLogConfigCommand, } from "../protocols/Aws_json1_1";
5
- export class AssociateResolverQueryLogConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateResolverQueryLogConfigCommand = (function (_super) {
7
+ __extends(AssociateResolverQueryLogConfigCommand, _super);
8
+ function AssociateResolverQueryLogConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateResolverQueryLogConfigCommand.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 = "Route53ResolverClient";
15
- const commandName = "AssociateResolverQueryLogConfigCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "AssociateResolverQueryLogConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateResolverQueryLogConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateResolverQueryLogConfigResponseFilterSensitiveLog,
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
+ AssociateResolverQueryLogConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AssociateResolverQueryLogConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateResolverQueryLogConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AssociateResolverQueryLogConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateResolverQueryLogConfigCommand;
38
+ }($Command));
39
+ export { AssociateResolverQueryLogConfigCommand };
@@ -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 { AssociateResolverRuleRequestFilterSensitiveLog, AssociateResolverRuleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AssociateResolverRuleCommand, serializeAws_json1_1AssociateResolverRuleCommand, } from "../protocols/Aws_json1_1";
5
- export class AssociateResolverRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateResolverRuleCommand = (function (_super) {
7
+ __extends(AssociateResolverRuleCommand, _super);
8
+ function AssociateResolverRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateResolverRuleCommand.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 = "Route53ResolverClient";
15
- const commandName = "AssociateResolverRuleCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "AssociateResolverRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateResolverRuleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateResolverRuleResponseFilterSensitiveLog,
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
+ AssociateResolverRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AssociateResolverRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateResolverRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AssociateResolverRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateResolverRuleCommand;
38
+ }($Command));
39
+ export { AssociateResolverRuleCommand };
@@ -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 { CreateFirewallDomainListRequestFilterSensitiveLog, CreateFirewallDomainListResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFirewallDomainListCommand, serializeAws_json1_1CreateFirewallDomainListCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateFirewallDomainListCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFirewallDomainListCommand = (function (_super) {
7
+ __extends(CreateFirewallDomainListCommand, _super);
8
+ function CreateFirewallDomainListCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFirewallDomainListCommand.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 = "Route53ResolverClient";
15
- const commandName = "CreateFirewallDomainListCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "CreateFirewallDomainListCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFirewallDomainListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFirewallDomainListResponseFilterSensitiveLog,
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
+ CreateFirewallDomainListCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateFirewallDomainListCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFirewallDomainListCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFirewallDomainListCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFirewallDomainListCommand;
38
+ }($Command));
39
+ export { CreateFirewallDomainListCommand };
@@ -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 { CreateFirewallRuleRequestFilterSensitiveLog, CreateFirewallRuleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFirewallRuleCommand, serializeAws_json1_1CreateFirewallRuleCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateFirewallRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFirewallRuleCommand = (function (_super) {
7
+ __extends(CreateFirewallRuleCommand, _super);
8
+ function CreateFirewallRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFirewallRuleCommand.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 = "Route53ResolverClient";
15
- const commandName = "CreateFirewallRuleCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "CreateFirewallRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFirewallRuleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFirewallRuleResponseFilterSensitiveLog,
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
+ CreateFirewallRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateFirewallRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFirewallRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFirewallRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFirewallRuleCommand;
38
+ }($Command));
39
+ export { CreateFirewallRuleCommand };
@@ -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 { CreateFirewallRuleGroupRequestFilterSensitiveLog, CreateFirewallRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFirewallRuleGroupCommand, serializeAws_json1_1CreateFirewallRuleGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateFirewallRuleGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFirewallRuleGroupCommand = (function (_super) {
7
+ __extends(CreateFirewallRuleGroupCommand, _super);
8
+ function CreateFirewallRuleGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFirewallRuleGroupCommand.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 = "Route53ResolverClient";
15
- const commandName = "CreateFirewallRuleGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "CreateFirewallRuleGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFirewallRuleGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFirewallRuleGroupResponseFilterSensitiveLog,
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
+ CreateFirewallRuleGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateFirewallRuleGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFirewallRuleGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFirewallRuleGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFirewallRuleGroupCommand;
38
+ }($Command));
39
+ export { CreateFirewallRuleGroupCommand };
@@ -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 { CreateResolverEndpointRequestFilterSensitiveLog, CreateResolverEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateResolverEndpointCommand, serializeAws_json1_1CreateResolverEndpointCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateResolverEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateResolverEndpointCommand = (function (_super) {
7
+ __extends(CreateResolverEndpointCommand, _super);
8
+ function CreateResolverEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateResolverEndpointCommand.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 = "Route53ResolverClient";
15
- const commandName = "CreateResolverEndpointCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "CreateResolverEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateResolverEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateResolverEndpointResponseFilterSensitiveLog,
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
+ CreateResolverEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateResolverEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateResolverEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateResolverEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateResolverEndpointCommand;
38
+ }($Command));
39
+ export { CreateResolverEndpointCommand };
@@ -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 { CreateResolverQueryLogConfigRequestFilterSensitiveLog, CreateResolverQueryLogConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateResolverQueryLogConfigCommand, serializeAws_json1_1CreateResolverQueryLogConfigCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateResolverQueryLogConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateResolverQueryLogConfigCommand = (function (_super) {
7
+ __extends(CreateResolverQueryLogConfigCommand, _super);
8
+ function CreateResolverQueryLogConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateResolverQueryLogConfigCommand.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 = "Route53ResolverClient";
15
- const commandName = "CreateResolverQueryLogConfigCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53ResolverClient";
18
+ var commandName = "CreateResolverQueryLogConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateResolverQueryLogConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateResolverQueryLogConfigResponseFilterSensitiveLog,
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
+ CreateResolverQueryLogConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateResolverQueryLogConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateResolverQueryLogConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateResolverQueryLogConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateResolverQueryLogConfigCommand;
38
+ }($Command));
39
+ export { CreateResolverQueryLogConfigCommand };