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