@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 { CreateResolverRuleRequestFilterSensitiveLog, CreateResolverRuleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateResolverRuleCommand, serializeAws_json1_1CreateResolverRuleCommand, } from "../protocols/Aws_json1_1";
6
- var CreateResolverRuleCommand = (function (_super) {
7
- __extends(CreateResolverRuleCommand, _super);
8
- function CreateResolverRuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateResolverRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateResolverRuleCommand.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 = "CreateResolverRuleCommand";
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 = "CreateResolverRuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateResolverRuleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateResolverRuleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateResolverRuleCommand.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_1CreateResolverRuleCommand(input, context);
33
- };
34
- CreateResolverRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateResolverRuleCommand(output, context);
36
- };
37
- return CreateResolverRuleCommand;
38
- }($Command));
39
- export { CreateResolverRuleCommand };
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 { DeleteFirewallDomainListRequestFilterSensitiveLog, DeleteFirewallDomainListResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFirewallDomainListCommand, serializeAws_json1_1DeleteFirewallDomainListCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFirewallDomainListCommand = (function (_super) {
7
- __extends(DeleteFirewallDomainListCommand, _super);
8
- function DeleteFirewallDomainListCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFirewallDomainListCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFirewallDomainListCommand.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 = "DeleteFirewallDomainListCommand";
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 = "DeleteFirewallDomainListCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFirewallDomainListRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFirewallDomainListResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFirewallDomainListCommand.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_1DeleteFirewallDomainListCommand(input, context);
33
- };
34
- DeleteFirewallDomainListCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFirewallDomainListCommand(output, context);
36
- };
37
- return DeleteFirewallDomainListCommand;
38
- }($Command));
39
- export { DeleteFirewallDomainListCommand };
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 { DeleteFirewallRuleRequestFilterSensitiveLog, DeleteFirewallRuleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFirewallRuleCommand, serializeAws_json1_1DeleteFirewallRuleCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFirewallRuleCommand = (function (_super) {
7
- __extends(DeleteFirewallRuleCommand, _super);
8
- function DeleteFirewallRuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFirewallRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFirewallRuleCommand.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 = "DeleteFirewallRuleCommand";
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 = "DeleteFirewallRuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFirewallRuleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFirewallRuleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFirewallRuleCommand.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_1DeleteFirewallRuleCommand(input, context);
33
- };
34
- DeleteFirewallRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFirewallRuleCommand(output, context);
36
- };
37
- return DeleteFirewallRuleCommand;
38
- }($Command));
39
- export { DeleteFirewallRuleCommand };
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 { DeleteFirewallRuleGroupRequestFilterSensitiveLog, DeleteFirewallRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFirewallRuleGroupCommand, serializeAws_json1_1DeleteFirewallRuleGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFirewallRuleGroupCommand = (function (_super) {
7
- __extends(DeleteFirewallRuleGroupCommand, _super);
8
- function DeleteFirewallRuleGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFirewallRuleGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFirewallRuleGroupCommand.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 = "DeleteFirewallRuleGroupCommand";
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 = "DeleteFirewallRuleGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFirewallRuleGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFirewallRuleGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFirewallRuleGroupCommand.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_1DeleteFirewallRuleGroupCommand(input, context);
33
- };
34
- DeleteFirewallRuleGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFirewallRuleGroupCommand(output, context);
36
- };
37
- return DeleteFirewallRuleGroupCommand;
38
- }($Command));
39
- export { DeleteFirewallRuleGroupCommand };
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 { DeleteResolverEndpointRequestFilterSensitiveLog, DeleteResolverEndpointResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteResolverEndpointCommand, serializeAws_json1_1DeleteResolverEndpointCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteResolverEndpointCommand = (function (_super) {
7
- __extends(DeleteResolverEndpointCommand, _super);
8
- function DeleteResolverEndpointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteResolverEndpointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteResolverEndpointCommand.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 = "DeleteResolverEndpointCommand";
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 = "DeleteResolverEndpointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteResolverEndpointRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteResolverEndpointResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteResolverEndpointCommand.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_1DeleteResolverEndpointCommand(input, context);
33
- };
34
- DeleteResolverEndpointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteResolverEndpointCommand(output, context);
36
- };
37
- return DeleteResolverEndpointCommand;
38
- }($Command));
39
- export { DeleteResolverEndpointCommand };
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 { DeleteResolverQueryLogConfigRequestFilterSensitiveLog, DeleteResolverQueryLogConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteResolverQueryLogConfigCommand, serializeAws_json1_1DeleteResolverQueryLogConfigCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteResolverQueryLogConfigCommand = (function (_super) {
7
- __extends(DeleteResolverQueryLogConfigCommand, _super);
8
- function DeleteResolverQueryLogConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteResolverQueryLogConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteResolverQueryLogConfigCommand.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 = "DeleteResolverQueryLogConfigCommand";
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 = "DeleteResolverQueryLogConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteResolverQueryLogConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteResolverQueryLogConfigResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteResolverQueryLogConfigCommand.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_1DeleteResolverQueryLogConfigCommand(input, context);
33
- };
34
- DeleteResolverQueryLogConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteResolverQueryLogConfigCommand(output, context);
36
- };
37
- return DeleteResolverQueryLogConfigCommand;
38
- }($Command));
39
- export { DeleteResolverQueryLogConfigCommand };
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 { DeleteResolverRuleRequestFilterSensitiveLog, DeleteResolverRuleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteResolverRuleCommand, serializeAws_json1_1DeleteResolverRuleCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteResolverRuleCommand = (function (_super) {
7
- __extends(DeleteResolverRuleCommand, _super);
8
- function DeleteResolverRuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteResolverRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteResolverRuleCommand.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 = "DeleteResolverRuleCommand";
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 = "DeleteResolverRuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteResolverRuleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteResolverRuleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteResolverRuleCommand.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_1DeleteResolverRuleCommand(input, context);
33
- };
34
- DeleteResolverRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteResolverRuleCommand(output, context);
36
- };
37
- return DeleteResolverRuleCommand;
38
- }($Command));
39
- export { DeleteResolverRuleCommand };
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 { DisassociateFirewallRuleGroupRequestFilterSensitiveLog, DisassociateFirewallRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociateFirewallRuleGroupCommand, serializeAws_json1_1DisassociateFirewallRuleGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociateFirewallRuleGroupCommand = (function (_super) {
7
- __extends(DisassociateFirewallRuleGroupCommand, _super);
8
- function DisassociateFirewallRuleGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateFirewallRuleGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateFirewallRuleGroupCommand.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 = "DisassociateFirewallRuleGroupCommand";
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 = "DisassociateFirewallRuleGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateFirewallRuleGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateFirewallRuleGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateFirewallRuleGroupCommand.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_1DisassociateFirewallRuleGroupCommand(input, context);
33
- };
34
- DisassociateFirewallRuleGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociateFirewallRuleGroupCommand(output, context);
36
- };
37
- return DisassociateFirewallRuleGroupCommand;
38
- }($Command));
39
- export { DisassociateFirewallRuleGroupCommand };
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 { DisassociateResolverEndpointIpAddressRequestFilterSensitiveLog, DisassociateResolverEndpointIpAddressResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociateResolverEndpointIpAddressCommand, serializeAws_json1_1DisassociateResolverEndpointIpAddressCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociateResolverEndpointIpAddressCommand = (function (_super) {
7
- __extends(DisassociateResolverEndpointIpAddressCommand, _super);
8
- function DisassociateResolverEndpointIpAddressCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateResolverEndpointIpAddressCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateResolverEndpointIpAddressCommand.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 = "DisassociateResolverEndpointIpAddressCommand";
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 = "DisassociateResolverEndpointIpAddressCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateResolverEndpointIpAddressRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateResolverEndpointIpAddressResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateResolverEndpointIpAddressCommand.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_1DisassociateResolverEndpointIpAddressCommand(input, context);
33
- };
34
- DisassociateResolverEndpointIpAddressCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociateResolverEndpointIpAddressCommand(output, context);
36
- };
37
- return DisassociateResolverEndpointIpAddressCommand;
38
- }($Command));
39
- export { DisassociateResolverEndpointIpAddressCommand };
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 { DisassociateResolverQueryLogConfigRequestFilterSensitiveLog, DisassociateResolverQueryLogConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociateResolverQueryLogConfigCommand, serializeAws_json1_1DisassociateResolverQueryLogConfigCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociateResolverQueryLogConfigCommand = (function (_super) {
7
- __extends(DisassociateResolverQueryLogConfigCommand, _super);
8
- function DisassociateResolverQueryLogConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateResolverQueryLogConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateResolverQueryLogConfigCommand.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 = "DisassociateResolverQueryLogConfigCommand";
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 = "DisassociateResolverQueryLogConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateResolverQueryLogConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateResolverQueryLogConfigResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateResolverQueryLogConfigCommand.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_1DisassociateResolverQueryLogConfigCommand(input, context);
33
- };
34
- DisassociateResolverQueryLogConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociateResolverQueryLogConfigCommand(output, context);
36
- };
37
- return DisassociateResolverQueryLogConfigCommand;
38
- }($Command));
39
- export { DisassociateResolverQueryLogConfigCommand };
31
+ }
32
+ }