@aws-sdk/client-route-53 3.185.0 → 3.188.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 +16 -0
  2. package/dist-cjs/protocols/Aws_restXml.js +8 -4
  3. package/dist-es/Route53.js +282 -289
  4. package/dist-es/Route53Client.js +22 -28
  5. package/dist-es/commands/ActivateKeySigningKeyCommand.js +21 -28
  6. package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +21 -28
  7. package/dist-es/commands/ChangeCidrCollectionCommand.js +21 -28
  8. package/dist-es/commands/ChangeResourceRecordSetsCommand.js +21 -28
  9. package/dist-es/commands/ChangeTagsForResourceCommand.js +21 -28
  10. package/dist-es/commands/CreateCidrCollectionCommand.js +21 -28
  11. package/dist-es/commands/CreateHealthCheckCommand.js +21 -28
  12. package/dist-es/commands/CreateHostedZoneCommand.js +21 -28
  13. package/dist-es/commands/CreateKeySigningKeyCommand.js +21 -28
  14. package/dist-es/commands/CreateQueryLoggingConfigCommand.js +21 -28
  15. package/dist-es/commands/CreateReusableDelegationSetCommand.js +21 -28
  16. package/dist-es/commands/CreateTrafficPolicyCommand.js +21 -28
  17. package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +21 -28
  18. package/dist-es/commands/CreateTrafficPolicyVersionCommand.js +21 -28
  19. package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +21 -28
  20. package/dist-es/commands/DeactivateKeySigningKeyCommand.js +21 -28
  21. package/dist-es/commands/DeleteCidrCollectionCommand.js +21 -28
  22. package/dist-es/commands/DeleteHealthCheckCommand.js +21 -28
  23. package/dist-es/commands/DeleteHostedZoneCommand.js +21 -28
  24. package/dist-es/commands/DeleteKeySigningKeyCommand.js +21 -28
  25. package/dist-es/commands/DeleteQueryLoggingConfigCommand.js +21 -28
  26. package/dist-es/commands/DeleteReusableDelegationSetCommand.js +21 -28
  27. package/dist-es/commands/DeleteTrafficPolicyCommand.js +21 -28
  28. package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +21 -28
  29. package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +21 -28
  30. package/dist-es/commands/DisableHostedZoneDNSSECCommand.js +21 -28
  31. package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +21 -28
  32. package/dist-es/commands/EnableHostedZoneDNSSECCommand.js +21 -28
  33. package/dist-es/commands/GetAccountLimitCommand.js +21 -28
  34. package/dist-es/commands/GetChangeCommand.js +21 -28
  35. package/dist-es/commands/GetCheckerIpRangesCommand.js +21 -28
  36. package/dist-es/commands/GetDNSSECCommand.js +21 -28
  37. package/dist-es/commands/GetGeoLocationCommand.js +21 -28
  38. package/dist-es/commands/GetHealthCheckCommand.js +21 -28
  39. package/dist-es/commands/GetHealthCheckCountCommand.js +21 -28
  40. package/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js +21 -28
  41. package/dist-es/commands/GetHealthCheckStatusCommand.js +21 -28
  42. package/dist-es/commands/GetHostedZoneCommand.js +21 -28
  43. package/dist-es/commands/GetHostedZoneCountCommand.js +21 -28
  44. package/dist-es/commands/GetHostedZoneLimitCommand.js +21 -28
  45. package/dist-es/commands/GetQueryLoggingConfigCommand.js +21 -28
  46. package/dist-es/commands/GetReusableDelegationSetCommand.js +21 -28
  47. package/dist-es/commands/GetReusableDelegationSetLimitCommand.js +21 -28
  48. package/dist-es/commands/GetTrafficPolicyCommand.js +21 -28
  49. package/dist-es/commands/GetTrafficPolicyInstanceCommand.js +21 -28
  50. package/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js +21 -28
  51. package/dist-es/commands/ListCidrBlocksCommand.js +21 -28
  52. package/dist-es/commands/ListCidrCollectionsCommand.js +21 -28
  53. package/dist-es/commands/ListCidrLocationsCommand.js +21 -28
  54. package/dist-es/commands/ListGeoLocationsCommand.js +21 -28
  55. package/dist-es/commands/ListHealthChecksCommand.js +21 -28
  56. package/dist-es/commands/ListHostedZonesByNameCommand.js +21 -28
  57. package/dist-es/commands/ListHostedZonesByVPCCommand.js +21 -28
  58. package/dist-es/commands/ListHostedZonesCommand.js +21 -28
  59. package/dist-es/commands/ListQueryLoggingConfigsCommand.js +21 -28
  60. package/dist-es/commands/ListResourceRecordSetsCommand.js +21 -28
  61. package/dist-es/commands/ListReusableDelegationSetsCommand.js +21 -28
  62. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  63. package/dist-es/commands/ListTagsForResourcesCommand.js +21 -28
  64. package/dist-es/commands/ListTrafficPoliciesCommand.js +21 -28
  65. package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +21 -28
  66. package/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js +21 -28
  67. package/dist-es/commands/ListTrafficPolicyInstancesCommand.js +21 -28
  68. package/dist-es/commands/ListTrafficPolicyVersionsCommand.js +21 -28
  69. package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +21 -28
  70. package/dist-es/commands/TestDNSAnswerCommand.js +21 -28
  71. package/dist-es/commands/UpdateHealthCheckCommand.js +21 -28
  72. package/dist-es/commands/UpdateHostedZoneCommentCommand.js +21 -28
  73. package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +21 -28
  74. package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +21 -28
  75. package/dist-es/endpoints.js +8 -8
  76. package/dist-es/models/Route53ServiceException.js +5 -10
  77. package/dist-es/models/models_0.js +1372 -1015
  78. package/dist-es/pagination/ListCidrBlocksPaginator.js +25 -68
  79. package/dist-es/pagination/ListCidrCollectionsPaginator.js +25 -68
  80. package/dist-es/pagination/ListCidrLocationsPaginator.js +25 -68
  81. package/dist-es/pagination/ListHealthChecksPaginator.js +25 -68
  82. package/dist-es/pagination/ListHostedZonesPaginator.js +25 -68
  83. package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js +25 -68
  84. package/dist-es/protocols/Aws_restXml.js +5758 -7956
  85. package/dist-es/runtimeConfig.browser.js +26 -12
  86. package/dist-es/runtimeConfig.js +30 -12
  87. package/dist-es/runtimeConfig.native.js +8 -5
  88. package/dist-es/runtimeConfig.shared.js +8 -11
  89. package/dist-es/waiters/waitForResourceRecordSetsChanged.js +28 -48
  90. package/package.json +37 -38
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
3
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { EnableHostedZoneDNSSECRequestFilterSensitiveLog, EnableHostedZoneDNSSECResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlEnableHostedZoneDNSSECCommand, serializeAws_restXmlEnableHostedZoneDNSSECCommand, } from "../protocols/Aws_restXml";
7
- var EnableHostedZoneDNSSECCommand = (function (_super) {
8
- __extends(EnableHostedZoneDNSSECCommand, _super);
9
- function EnableHostedZoneDNSSECCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class EnableHostedZoneDNSSECCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- EnableHostedZoneDNSSECCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "Route53Client";
20
- var commandName = "EnableHostedZoneDNSSECCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "Route53Client";
17
+ const commandName = "EnableHostedZoneDNSSECCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: EnableHostedZoneDNSSECRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: EnableHostedZoneDNSSECResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- EnableHostedZoneDNSSECCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_restXmlEnableHostedZoneDNSSECCommand(input, context);
35
- };
36
- EnableHostedZoneDNSSECCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlEnableHostedZoneDNSSECCommand(output, context);
38
- };
39
- return EnableHostedZoneDNSSECCommand;
40
- }($Command));
41
- export { EnableHostedZoneDNSSECCommand };
33
+ }
34
+ }
@@ -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 { GetAccountLimitRequestFilterSensitiveLog, GetAccountLimitResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlGetAccountLimitCommand, serializeAws_restXmlGetAccountLimitCommand, } from "../protocols/Aws_restXml";
6
- var GetAccountLimitCommand = (function (_super) {
7
- __extends(GetAccountLimitCommand, _super);
8
- function GetAccountLimitCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAccountLimitCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAccountLimitCommand.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 = "Route53Client";
18
- var commandName = "GetAccountLimitCommand";
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 = "Route53Client";
15
+ const commandName = "GetAccountLimitCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAccountLimitRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAccountLimitResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAccountLimitCommand.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_restXmlGetAccountLimitCommand(input, context);
33
- };
34
- GetAccountLimitCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetAccountLimitCommand(output, context);
36
- };
37
- return GetAccountLimitCommand;
38
- }($Command));
39
- export { GetAccountLimitCommand };
31
+ }
32
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
3
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { GetChangeRequestFilterSensitiveLog, GetChangeResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlGetChangeCommand, serializeAws_restXmlGetChangeCommand } from "../protocols/Aws_restXml";
7
- var GetChangeCommand = (function (_super) {
8
- __extends(GetChangeCommand, _super);
9
- function GetChangeCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class GetChangeCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- GetChangeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "Route53Client";
20
- var commandName = "GetChangeCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "Route53Client";
17
+ const commandName = "GetChangeCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: GetChangeRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: GetChangeResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- GetChangeCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_restXmlGetChangeCommand(input, context);
35
- };
36
- GetChangeCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlGetChangeCommand(output, context);
38
- };
39
- return GetChangeCommand;
40
- }($Command));
41
- export { GetChangeCommand };
33
+ }
34
+ }
@@ -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 { GetCheckerIpRangesRequestFilterSensitiveLog, GetCheckerIpRangesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlGetCheckerIpRangesCommand, serializeAws_restXmlGetCheckerIpRangesCommand, } from "../protocols/Aws_restXml";
6
- var GetCheckerIpRangesCommand = (function (_super) {
7
- __extends(GetCheckerIpRangesCommand, _super);
8
- function GetCheckerIpRangesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetCheckerIpRangesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetCheckerIpRangesCommand.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 = "Route53Client";
18
- var commandName = "GetCheckerIpRangesCommand";
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 = "Route53Client";
15
+ const commandName = "GetCheckerIpRangesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetCheckerIpRangesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetCheckerIpRangesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetCheckerIpRangesCommand.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_restXmlGetCheckerIpRangesCommand(input, context);
33
- };
34
- GetCheckerIpRangesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetCheckerIpRangesCommand(output, context);
36
- };
37
- return GetCheckerIpRangesCommand;
38
- }($Command));
39
- export { GetCheckerIpRangesCommand };
31
+ }
32
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
3
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { GetDNSSECRequestFilterSensitiveLog, GetDNSSECResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlGetDNSSECCommand, serializeAws_restXmlGetDNSSECCommand } from "../protocols/Aws_restXml";
7
- var GetDNSSECCommand = (function (_super) {
8
- __extends(GetDNSSECCommand, _super);
9
- function GetDNSSECCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class GetDNSSECCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- GetDNSSECCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "Route53Client";
20
- var commandName = "GetDNSSECCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "Route53Client";
17
+ const commandName = "GetDNSSECCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: GetDNSSECRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: GetDNSSECResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- GetDNSSECCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_restXmlGetDNSSECCommand(input, context);
35
- };
36
- GetDNSSECCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlGetDNSSECCommand(output, context);
38
- };
39
- return GetDNSSECCommand;
40
- }($Command));
41
- export { GetDNSSECCommand };
33
+ }
34
+ }
@@ -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 { GetGeoLocationRequestFilterSensitiveLog, GetGeoLocationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlGetGeoLocationCommand, serializeAws_restXmlGetGeoLocationCommand, } from "../protocols/Aws_restXml";
6
- var GetGeoLocationCommand = (function (_super) {
7
- __extends(GetGeoLocationCommand, _super);
8
- function GetGeoLocationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetGeoLocationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetGeoLocationCommand.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 = "Route53Client";
18
- var commandName = "GetGeoLocationCommand";
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 = "Route53Client";
15
+ const commandName = "GetGeoLocationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetGeoLocationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetGeoLocationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetGeoLocationCommand.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_restXmlGetGeoLocationCommand(input, context);
33
- };
34
- GetGeoLocationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetGeoLocationCommand(output, context);
36
- };
37
- return GetGeoLocationCommand;
38
- }($Command));
39
- export { GetGeoLocationCommand };
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 { GetHealthCheckRequestFilterSensitiveLog, GetHealthCheckResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlGetHealthCheckCommand, serializeAws_restXmlGetHealthCheckCommand, } from "../protocols/Aws_restXml";
6
- var GetHealthCheckCommand = (function (_super) {
7
- __extends(GetHealthCheckCommand, _super);
8
- function GetHealthCheckCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetHealthCheckCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetHealthCheckCommand.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 = "Route53Client";
18
- var commandName = "GetHealthCheckCommand";
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 = "Route53Client";
15
+ const commandName = "GetHealthCheckCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetHealthCheckRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetHealthCheckResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetHealthCheckCommand.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_restXmlGetHealthCheckCommand(input, context);
33
- };
34
- GetHealthCheckCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetHealthCheckCommand(output, context);
36
- };
37
- return GetHealthCheckCommand;
38
- }($Command));
39
- export { GetHealthCheckCommand };
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 { GetHealthCheckCountRequestFilterSensitiveLog, GetHealthCheckCountResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlGetHealthCheckCountCommand, serializeAws_restXmlGetHealthCheckCountCommand, } from "../protocols/Aws_restXml";
6
- var GetHealthCheckCountCommand = (function (_super) {
7
- __extends(GetHealthCheckCountCommand, _super);
8
- function GetHealthCheckCountCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetHealthCheckCountCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetHealthCheckCountCommand.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 = "Route53Client";
18
- var commandName = "GetHealthCheckCountCommand";
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 = "Route53Client";
15
+ const commandName = "GetHealthCheckCountCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetHealthCheckCountRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetHealthCheckCountResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetHealthCheckCountCommand.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_restXmlGetHealthCheckCountCommand(input, context);
33
- };
34
- GetHealthCheckCountCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetHealthCheckCountCommand(output, context);
36
- };
37
- return GetHealthCheckCountCommand;
38
- }($Command));
39
- export { GetHealthCheckCountCommand };
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 { GetHealthCheckLastFailureReasonRequestFilterSensitiveLog, GetHealthCheckLastFailureReasonResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand, serializeAws_restXmlGetHealthCheckLastFailureReasonCommand, } from "../protocols/Aws_restXml";
6
- var GetHealthCheckLastFailureReasonCommand = (function (_super) {
7
- __extends(GetHealthCheckLastFailureReasonCommand, _super);
8
- function GetHealthCheckLastFailureReasonCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetHealthCheckLastFailureReasonCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetHealthCheckLastFailureReasonCommand.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 = "Route53Client";
18
- var commandName = "GetHealthCheckLastFailureReasonCommand";
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 = "Route53Client";
15
+ const commandName = "GetHealthCheckLastFailureReasonCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetHealthCheckLastFailureReasonRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetHealthCheckLastFailureReasonResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetHealthCheckLastFailureReasonCommand.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_restXmlGetHealthCheckLastFailureReasonCommand(input, context);
33
- };
34
- GetHealthCheckLastFailureReasonCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand(output, context);
36
- };
37
- return GetHealthCheckLastFailureReasonCommand;
38
- }($Command));
39
- export { GetHealthCheckLastFailureReasonCommand };
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 { GetHealthCheckStatusRequestFilterSensitiveLog, GetHealthCheckStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlGetHealthCheckStatusCommand, serializeAws_restXmlGetHealthCheckStatusCommand, } from "../protocols/Aws_restXml";
6
- var GetHealthCheckStatusCommand = (function (_super) {
7
- __extends(GetHealthCheckStatusCommand, _super);
8
- function GetHealthCheckStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetHealthCheckStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetHealthCheckStatusCommand.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 = "Route53Client";
18
- var commandName = "GetHealthCheckStatusCommand";
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 = "Route53Client";
15
+ const commandName = "GetHealthCheckStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetHealthCheckStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetHealthCheckStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetHealthCheckStatusCommand.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_restXmlGetHealthCheckStatusCommand(input, context);
33
- };
34
- GetHealthCheckStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlGetHealthCheckStatusCommand(output, context);
36
- };
37
- return GetHealthCheckStatusCommand;
38
- }($Command));
39
- export { GetHealthCheckStatusCommand };
31
+ }
32
+ }