@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,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 { ListFirewallRuleGroupsRequestFilterSensitiveLog, ListFirewallRuleGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListFirewallRuleGroupsCommand, serializeAws_json1_1ListFirewallRuleGroupsCommand, } from "../protocols/Aws_json1_1";
6
- var ListFirewallRuleGroupsCommand = (function (_super) {
7
- __extends(ListFirewallRuleGroupsCommand, _super);
8
- function ListFirewallRuleGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListFirewallRuleGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListFirewallRuleGroupsCommand.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 = "ListFirewallRuleGroupsCommand";
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 = "ListFirewallRuleGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListFirewallRuleGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListFirewallRuleGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListFirewallRuleGroupsCommand.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_1ListFirewallRuleGroupsCommand(input, context);
33
- };
34
- ListFirewallRuleGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListFirewallRuleGroupsCommand(output, context);
36
- };
37
- return ListFirewallRuleGroupsCommand;
38
- }($Command));
39
- export { ListFirewallRuleGroupsCommand };
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 { ListFirewallRulesRequestFilterSensitiveLog, ListFirewallRulesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListFirewallRulesCommand, serializeAws_json1_1ListFirewallRulesCommand, } from "../protocols/Aws_json1_1";
6
- var ListFirewallRulesCommand = (function (_super) {
7
- __extends(ListFirewallRulesCommand, _super);
8
- function ListFirewallRulesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListFirewallRulesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListFirewallRulesCommand.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 = "ListFirewallRulesCommand";
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 = "ListFirewallRulesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListFirewallRulesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListFirewallRulesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListFirewallRulesCommand.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_1ListFirewallRulesCommand(input, context);
33
- };
34
- ListFirewallRulesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListFirewallRulesCommand(output, context);
36
- };
37
- return ListFirewallRulesCommand;
38
- }($Command));
39
- export { ListFirewallRulesCommand };
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 { ListResolverConfigsRequestFilterSensitiveLog, ListResolverConfigsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverConfigsCommand, serializeAws_json1_1ListResolverConfigsCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverConfigsCommand = (function (_super) {
7
- __extends(ListResolverConfigsCommand, _super);
8
- function ListResolverConfigsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverConfigsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverConfigsCommand.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 = "ListResolverConfigsCommand";
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 = "ListResolverConfigsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverConfigsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverConfigsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverConfigsCommand.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_1ListResolverConfigsCommand(input, context);
33
- };
34
- ListResolverConfigsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverConfigsCommand(output, context);
36
- };
37
- return ListResolverConfigsCommand;
38
- }($Command));
39
- export { ListResolverConfigsCommand };
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 { ListResolverDnssecConfigsRequestFilterSensitiveLog, ListResolverDnssecConfigsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverDnssecConfigsCommand, serializeAws_json1_1ListResolverDnssecConfigsCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverDnssecConfigsCommand = (function (_super) {
7
- __extends(ListResolverDnssecConfigsCommand, _super);
8
- function ListResolverDnssecConfigsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverDnssecConfigsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverDnssecConfigsCommand.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 = "ListResolverDnssecConfigsCommand";
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 = "ListResolverDnssecConfigsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverDnssecConfigsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverDnssecConfigsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverDnssecConfigsCommand.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_1ListResolverDnssecConfigsCommand(input, context);
33
- };
34
- ListResolverDnssecConfigsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverDnssecConfigsCommand(output, context);
36
- };
37
- return ListResolverDnssecConfigsCommand;
38
- }($Command));
39
- export { ListResolverDnssecConfigsCommand };
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 { ListResolverEndpointIpAddressesRequestFilterSensitiveLog, ListResolverEndpointIpAddressesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverEndpointIpAddressesCommand, serializeAws_json1_1ListResolverEndpointIpAddressesCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverEndpointIpAddressesCommand = (function (_super) {
7
- __extends(ListResolverEndpointIpAddressesCommand, _super);
8
- function ListResolverEndpointIpAddressesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverEndpointIpAddressesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverEndpointIpAddressesCommand.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 = "ListResolverEndpointIpAddressesCommand";
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 = "ListResolverEndpointIpAddressesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverEndpointIpAddressesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverEndpointIpAddressesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverEndpointIpAddressesCommand.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_1ListResolverEndpointIpAddressesCommand(input, context);
33
- };
34
- ListResolverEndpointIpAddressesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverEndpointIpAddressesCommand(output, context);
36
- };
37
- return ListResolverEndpointIpAddressesCommand;
38
- }($Command));
39
- export { ListResolverEndpointIpAddressesCommand };
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 { ListResolverEndpointsRequestFilterSensitiveLog, ListResolverEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverEndpointsCommand, serializeAws_json1_1ListResolverEndpointsCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverEndpointsCommand = (function (_super) {
7
- __extends(ListResolverEndpointsCommand, _super);
8
- function ListResolverEndpointsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverEndpointsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverEndpointsCommand.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 = "ListResolverEndpointsCommand";
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 = "ListResolverEndpointsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverEndpointsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverEndpointsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverEndpointsCommand.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_1ListResolverEndpointsCommand(input, context);
33
- };
34
- ListResolverEndpointsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverEndpointsCommand(output, context);
36
- };
37
- return ListResolverEndpointsCommand;
38
- }($Command));
39
- export { ListResolverEndpointsCommand };
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 { ListResolverQueryLogConfigAssociationsRequestFilterSensitiveLog, ListResolverQueryLogConfigAssociationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverQueryLogConfigAssociationsCommand, serializeAws_json1_1ListResolverQueryLogConfigAssociationsCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverQueryLogConfigAssociationsCommand = (function (_super) {
7
- __extends(ListResolverQueryLogConfigAssociationsCommand, _super);
8
- function ListResolverQueryLogConfigAssociationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverQueryLogConfigAssociationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverQueryLogConfigAssociationsCommand.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 = "ListResolverQueryLogConfigAssociationsCommand";
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 = "ListResolverQueryLogConfigAssociationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverQueryLogConfigAssociationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverQueryLogConfigAssociationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverQueryLogConfigAssociationsCommand.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_1ListResolverQueryLogConfigAssociationsCommand(input, context);
33
- };
34
- ListResolverQueryLogConfigAssociationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverQueryLogConfigAssociationsCommand(output, context);
36
- };
37
- return ListResolverQueryLogConfigAssociationsCommand;
38
- }($Command));
39
- export { ListResolverQueryLogConfigAssociationsCommand };
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 { ListResolverQueryLogConfigsRequestFilterSensitiveLog, ListResolverQueryLogConfigsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverQueryLogConfigsCommand, serializeAws_json1_1ListResolverQueryLogConfigsCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverQueryLogConfigsCommand = (function (_super) {
7
- __extends(ListResolverQueryLogConfigsCommand, _super);
8
- function ListResolverQueryLogConfigsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverQueryLogConfigsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverQueryLogConfigsCommand.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 = "ListResolverQueryLogConfigsCommand";
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 = "ListResolverQueryLogConfigsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverQueryLogConfigsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverQueryLogConfigsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverQueryLogConfigsCommand.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_1ListResolverQueryLogConfigsCommand(input, context);
33
- };
34
- ListResolverQueryLogConfigsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverQueryLogConfigsCommand(output, context);
36
- };
37
- return ListResolverQueryLogConfigsCommand;
38
- }($Command));
39
- export { ListResolverQueryLogConfigsCommand };
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 { ListResolverRuleAssociationsRequestFilterSensitiveLog, ListResolverRuleAssociationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverRuleAssociationsCommand, serializeAws_json1_1ListResolverRuleAssociationsCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverRuleAssociationsCommand = (function (_super) {
7
- __extends(ListResolverRuleAssociationsCommand, _super);
8
- function ListResolverRuleAssociationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverRuleAssociationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverRuleAssociationsCommand.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 = "ListResolverRuleAssociationsCommand";
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 = "ListResolverRuleAssociationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverRuleAssociationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverRuleAssociationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverRuleAssociationsCommand.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_1ListResolverRuleAssociationsCommand(input, context);
33
- };
34
- ListResolverRuleAssociationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverRuleAssociationsCommand(output, context);
36
- };
37
- return ListResolverRuleAssociationsCommand;
38
- }($Command));
39
- export { ListResolverRuleAssociationsCommand };
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 { ListResolverRulesRequestFilterSensitiveLog, ListResolverRulesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResolverRulesCommand, serializeAws_json1_1ListResolverRulesCommand, } from "../protocols/Aws_json1_1";
6
- var ListResolverRulesCommand = (function (_super) {
7
- __extends(ListResolverRulesCommand, _super);
8
- function ListResolverRulesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResolverRulesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResolverRulesCommand.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 = "ListResolverRulesCommand";
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 = "ListResolverRulesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResolverRulesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResolverRulesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResolverRulesCommand.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_1ListResolverRulesCommand(input, context);
33
- };
34
- ListResolverRulesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResolverRulesCommand(output, context);
36
- };
37
- return ListResolverRulesCommand;
38
- }($Command));
39
- export { ListResolverRulesCommand };
31
+ }
32
+ }