@aws-sdk/client-route-53 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restXml.js +2 -2
  3. package/dist-es/Route53.js +289 -282
  4. package/dist-es/Route53Client.js +28 -22
  5. package/dist-es/commands/ActivateKeySigningKeyCommand.js +28 -21
  6. package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +28 -21
  7. package/dist-es/commands/ChangeCidrCollectionCommand.js +28 -21
  8. package/dist-es/commands/ChangeResourceRecordSetsCommand.js +28 -21
  9. package/dist-es/commands/ChangeTagsForResourceCommand.js +28 -21
  10. package/dist-es/commands/CreateCidrCollectionCommand.js +28 -21
  11. package/dist-es/commands/CreateHealthCheckCommand.js +28 -21
  12. package/dist-es/commands/CreateHostedZoneCommand.js +28 -21
  13. package/dist-es/commands/CreateKeySigningKeyCommand.js +28 -21
  14. package/dist-es/commands/CreateQueryLoggingConfigCommand.js +28 -21
  15. package/dist-es/commands/CreateReusableDelegationSetCommand.js +28 -21
  16. package/dist-es/commands/CreateTrafficPolicyCommand.js +28 -21
  17. package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +28 -21
  18. package/dist-es/commands/CreateTrafficPolicyVersionCommand.js +28 -21
  19. package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +28 -21
  20. package/dist-es/commands/DeactivateKeySigningKeyCommand.js +28 -21
  21. package/dist-es/commands/DeleteCidrCollectionCommand.js +28 -21
  22. package/dist-es/commands/DeleteHealthCheckCommand.js +28 -21
  23. package/dist-es/commands/DeleteHostedZoneCommand.js +28 -21
  24. package/dist-es/commands/DeleteKeySigningKeyCommand.js +28 -21
  25. package/dist-es/commands/DeleteQueryLoggingConfigCommand.js +28 -21
  26. package/dist-es/commands/DeleteReusableDelegationSetCommand.js +28 -21
  27. package/dist-es/commands/DeleteTrafficPolicyCommand.js +28 -21
  28. package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +28 -21
  29. package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +28 -21
  30. package/dist-es/commands/DisableHostedZoneDNSSECCommand.js +28 -21
  31. package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +28 -21
  32. package/dist-es/commands/EnableHostedZoneDNSSECCommand.js +28 -21
  33. package/dist-es/commands/GetAccountLimitCommand.js +28 -21
  34. package/dist-es/commands/GetChangeCommand.js +28 -21
  35. package/dist-es/commands/GetCheckerIpRangesCommand.js +28 -21
  36. package/dist-es/commands/GetDNSSECCommand.js +28 -21
  37. package/dist-es/commands/GetGeoLocationCommand.js +28 -21
  38. package/dist-es/commands/GetHealthCheckCommand.js +28 -21
  39. package/dist-es/commands/GetHealthCheckCountCommand.js +28 -21
  40. package/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js +28 -21
  41. package/dist-es/commands/GetHealthCheckStatusCommand.js +28 -21
  42. package/dist-es/commands/GetHostedZoneCommand.js +28 -21
  43. package/dist-es/commands/GetHostedZoneCountCommand.js +28 -21
  44. package/dist-es/commands/GetHostedZoneLimitCommand.js +28 -21
  45. package/dist-es/commands/GetQueryLoggingConfigCommand.js +28 -21
  46. package/dist-es/commands/GetReusableDelegationSetCommand.js +28 -21
  47. package/dist-es/commands/GetReusableDelegationSetLimitCommand.js +28 -21
  48. package/dist-es/commands/GetTrafficPolicyCommand.js +28 -21
  49. package/dist-es/commands/GetTrafficPolicyInstanceCommand.js +28 -21
  50. package/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js +28 -21
  51. package/dist-es/commands/ListCidrBlocksCommand.js +28 -21
  52. package/dist-es/commands/ListCidrCollectionsCommand.js +28 -21
  53. package/dist-es/commands/ListCidrLocationsCommand.js +28 -21
  54. package/dist-es/commands/ListGeoLocationsCommand.js +28 -21
  55. package/dist-es/commands/ListHealthChecksCommand.js +28 -21
  56. package/dist-es/commands/ListHostedZonesByNameCommand.js +28 -21
  57. package/dist-es/commands/ListHostedZonesByVPCCommand.js +28 -21
  58. package/dist-es/commands/ListHostedZonesCommand.js +28 -21
  59. package/dist-es/commands/ListQueryLoggingConfigsCommand.js +28 -21
  60. package/dist-es/commands/ListResourceRecordSetsCommand.js +28 -21
  61. package/dist-es/commands/ListReusableDelegationSetsCommand.js +28 -21
  62. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  63. package/dist-es/commands/ListTagsForResourcesCommand.js +28 -21
  64. package/dist-es/commands/ListTrafficPoliciesCommand.js +28 -21
  65. package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +28 -21
  66. package/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js +28 -21
  67. package/dist-es/commands/ListTrafficPolicyInstancesCommand.js +28 -21
  68. package/dist-es/commands/ListTrafficPolicyVersionsCommand.js +28 -21
  69. package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +28 -21
  70. package/dist-es/commands/TestDNSAnswerCommand.js +28 -21
  71. package/dist-es/commands/UpdateHealthCheckCommand.js +28 -21
  72. package/dist-es/commands/UpdateHostedZoneCommentCommand.js +28 -21
  73. package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +28 -21
  74. package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +28 -21
  75. package/dist-es/endpoints.js +8 -8
  76. package/dist-es/models/Route53ServiceException.js +10 -5
  77. package/dist-es/models/models_0.js +1015 -1372
  78. package/dist-es/pagination/ListCidrBlocksPaginator.js +68 -25
  79. package/dist-es/pagination/ListCidrCollectionsPaginator.js +68 -25
  80. package/dist-es/pagination/ListCidrLocationsPaginator.js +68 -25
  81. package/dist-es/pagination/ListHealthChecksPaginator.js +68 -25
  82. package/dist-es/pagination/ListHostedZonesPaginator.js +68 -25
  83. package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js +68 -25
  84. package/dist-es/protocols/Aws_restXml.js +7941 -5739
  85. package/dist-es/runtimeConfig.browser.js +12 -26
  86. package/dist-es/runtimeConfig.js +12 -30
  87. package/dist-es/runtimeConfig.native.js +5 -8
  88. package/dist-es/runtimeConfig.shared.js +11 -8
  89. package/dist-es/waiters/waitForResourceRecordSetsChanged.js +48 -28
  90. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourcesRequestFilterSensitiveLog, ListTagsForResourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restXmlListTagsForResourcesCommand, serializeAws_restXmlListTagsForResourcesCommand, } from "../protocols/Aws_restXml";
5
- export class ListTagsForResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourcesCommand = (function (_super) {
7
+ __extends(ListTagsForResourcesCommand, _super);
8
+ function ListTagsForResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "Route53Client";
15
- const commandName = "ListTagsForResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53Client";
18
+ var commandName = "ListTagsForResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourcesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restXmlListTagsForResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restXmlListTagsForResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourcesCommand;
38
+ }($Command));
39
+ export { ListTagsForResourcesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTrafficPoliciesRequestFilterSensitiveLog, ListTrafficPoliciesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restXmlListTrafficPoliciesCommand, serializeAws_restXmlListTrafficPoliciesCommand, } from "../protocols/Aws_restXml";
5
- export class ListTrafficPoliciesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTrafficPoliciesCommand = (function (_super) {
7
+ __extends(ListTrafficPoliciesCommand, _super);
8
+ function ListTrafficPoliciesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTrafficPoliciesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "Route53Client";
15
- const commandName = "ListTrafficPoliciesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53Client";
18
+ var commandName = "ListTrafficPoliciesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTrafficPoliciesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTrafficPoliciesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTrafficPoliciesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restXmlListTrafficPoliciesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTrafficPoliciesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restXmlListTrafficPoliciesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTrafficPoliciesCommand;
38
+ }($Command));
39
+ export { ListTrafficPoliciesCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListTrafficPolicyInstancesByHostedZoneRequestFilterSensitiveLog, ListTrafficPolicyInstancesByHostedZoneResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand, serializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand, } from "../protocols/Aws_restXml";
6
- export class ListTrafficPolicyInstancesByHostedZoneCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListTrafficPolicyInstancesByHostedZoneCommand = (function (_super) {
8
+ __extends(ListTrafficPolicyInstancesByHostedZoneCommand, _super);
9
+ function ListTrafficPolicyInstancesByHostedZoneCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListTrafficPolicyInstancesByHostedZoneCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "Route53Client";
17
- const commandName = "ListTrafficPolicyInstancesByHostedZoneCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "Route53Client";
20
+ var commandName = "ListTrafficPolicyInstancesByHostedZoneCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListTrafficPolicyInstancesByHostedZoneRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListTrafficPolicyInstancesByHostedZoneResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListTrafficPolicyInstancesByHostedZoneCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListTrafficPolicyInstancesByHostedZoneCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListTrafficPolicyInstancesByHostedZoneCommand;
40
+ }($Command));
41
+ export { ListTrafficPolicyInstancesByHostedZoneCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTrafficPolicyInstancesByPolicyRequestFilterSensitiveLog, ListTrafficPolicyInstancesByPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand, serializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand, } from "../protocols/Aws_restXml";
5
- export class ListTrafficPolicyInstancesByPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTrafficPolicyInstancesByPolicyCommand = (function (_super) {
7
+ __extends(ListTrafficPolicyInstancesByPolicyCommand, _super);
8
+ function ListTrafficPolicyInstancesByPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTrafficPolicyInstancesByPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "Route53Client";
15
- const commandName = "ListTrafficPolicyInstancesByPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53Client";
18
+ var commandName = "ListTrafficPolicyInstancesByPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTrafficPolicyInstancesByPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTrafficPolicyInstancesByPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTrafficPolicyInstancesByPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTrafficPolicyInstancesByPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTrafficPolicyInstancesByPolicyCommand;
38
+ }($Command));
39
+ export { ListTrafficPolicyInstancesByPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTrafficPolicyInstancesRequestFilterSensitiveLog, ListTrafficPolicyInstancesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restXmlListTrafficPolicyInstancesCommand, serializeAws_restXmlListTrafficPolicyInstancesCommand, } from "../protocols/Aws_restXml";
5
- export class ListTrafficPolicyInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTrafficPolicyInstancesCommand = (function (_super) {
7
+ __extends(ListTrafficPolicyInstancesCommand, _super);
8
+ function ListTrafficPolicyInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTrafficPolicyInstancesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "Route53Client";
15
- const commandName = "ListTrafficPolicyInstancesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53Client";
18
+ var commandName = "ListTrafficPolicyInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTrafficPolicyInstancesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTrafficPolicyInstancesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTrafficPolicyInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restXmlListTrafficPolicyInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTrafficPolicyInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restXmlListTrafficPolicyInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTrafficPolicyInstancesCommand;
38
+ }($Command));
39
+ export { ListTrafficPolicyInstancesCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListTrafficPolicyVersionsRequestFilterSensitiveLog, ListTrafficPolicyVersionsResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlListTrafficPolicyVersionsCommand, serializeAws_restXmlListTrafficPolicyVersionsCommand, } from "../protocols/Aws_restXml";
6
- export class ListTrafficPolicyVersionsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListTrafficPolicyVersionsCommand = (function (_super) {
8
+ __extends(ListTrafficPolicyVersionsCommand, _super);
9
+ function ListTrafficPolicyVersionsCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListTrafficPolicyVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "Route53Client";
17
- const commandName = "ListTrafficPolicyVersionsCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "Route53Client";
20
+ var commandName = "ListTrafficPolicyVersionsCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListTrafficPolicyVersionsRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListTrafficPolicyVersionsResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListTrafficPolicyVersionsCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlListTrafficPolicyVersionsCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListTrafficPolicyVersionsCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlListTrafficPolicyVersionsCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListTrafficPolicyVersionsCommand;
40
+ }($Command));
41
+ export { ListTrafficPolicyVersionsCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListVPCAssociationAuthorizationsRequestFilterSensitiveLog, ListVPCAssociationAuthorizationsResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlListVPCAssociationAuthorizationsCommand, serializeAws_restXmlListVPCAssociationAuthorizationsCommand, } from "../protocols/Aws_restXml";
6
- export class ListVPCAssociationAuthorizationsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListVPCAssociationAuthorizationsCommand = (function (_super) {
8
+ __extends(ListVPCAssociationAuthorizationsCommand, _super);
9
+ function ListVPCAssociationAuthorizationsCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListVPCAssociationAuthorizationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "Route53Client";
17
- const commandName = "ListVPCAssociationAuthorizationsCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "Route53Client";
20
+ var commandName = "ListVPCAssociationAuthorizationsCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListVPCAssociationAuthorizationsRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListVPCAssociationAuthorizationsResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListVPCAssociationAuthorizationsCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlListVPCAssociationAuthorizationsCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListVPCAssociationAuthorizationsCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlListVPCAssociationAuthorizationsCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListVPCAssociationAuthorizationsCommand;
40
+ }($Command));
41
+ export { ListVPCAssociationAuthorizationsCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { TestDNSAnswerRequestFilterSensitiveLog, TestDNSAnswerResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlTestDNSAnswerCommand, serializeAws_restXmlTestDNSAnswerCommand, } from "../protocols/Aws_restXml";
6
- export class TestDNSAnswerCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var TestDNSAnswerCommand = (function (_super) {
8
+ __extends(TestDNSAnswerCommand, _super);
9
+ function TestDNSAnswerCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ TestDNSAnswerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "Route53Client";
17
- const commandName = "TestDNSAnswerCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "Route53Client";
20
+ var commandName = "TestDNSAnswerCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: TestDNSAnswerRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: TestDNSAnswerResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ TestDNSAnswerCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlTestDNSAnswerCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ TestDNSAnswerCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlTestDNSAnswerCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return TestDNSAnswerCommand;
40
+ }($Command));
41
+ export { TestDNSAnswerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateHealthCheckRequestFilterSensitiveLog, UpdateHealthCheckResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restXmlUpdateHealthCheckCommand, serializeAws_restXmlUpdateHealthCheckCommand, } from "../protocols/Aws_restXml";
5
- export class UpdateHealthCheckCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateHealthCheckCommand = (function (_super) {
7
+ __extends(UpdateHealthCheckCommand, _super);
8
+ function UpdateHealthCheckCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateHealthCheckCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "Route53Client";
15
- const commandName = "UpdateHealthCheckCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Route53Client";
18
+ var commandName = "UpdateHealthCheckCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateHealthCheckRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateHealthCheckResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateHealthCheckCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restXmlUpdateHealthCheckCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateHealthCheckCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restXmlUpdateHealthCheckCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateHealthCheckCommand;
38
+ }($Command));
39
+ export { UpdateHealthCheckCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { UpdateHostedZoneCommentRequestFilterSensitiveLog, UpdateHostedZoneCommentResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlUpdateHostedZoneCommentCommand, serializeAws_restXmlUpdateHostedZoneCommentCommand, } from "../protocols/Aws_restXml";
6
- export class UpdateHostedZoneCommentCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var UpdateHostedZoneCommentCommand = (function (_super) {
8
+ __extends(UpdateHostedZoneCommentCommand, _super);
9
+ function UpdateHostedZoneCommentCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ UpdateHostedZoneCommentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "Route53Client";
17
- const commandName = "UpdateHostedZoneCommentCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "Route53Client";
20
+ var commandName = "UpdateHostedZoneCommentCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: UpdateHostedZoneCommentRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: UpdateHostedZoneCommentResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ UpdateHostedZoneCommentCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlUpdateHostedZoneCommentCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ UpdateHostedZoneCommentCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlUpdateHostedZoneCommentCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return UpdateHostedZoneCommentCommand;
40
+ }($Command));
41
+ export { UpdateHostedZoneCommentCommand };