@aws-sdk/client-route-53 3.180.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 +26 -0
  2. package/dist-cjs/protocols/Aws_restXml.js +93 -85
  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 +5751 -7938
  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 +36 -36
@@ -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 { DeleteHostedZoneRequestFilterSensitiveLog, DeleteHostedZoneResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteHostedZoneCommand, serializeAws_restXmlDeleteHostedZoneCommand, } from "../protocols/Aws_restXml";
7
- var DeleteHostedZoneCommand = (function (_super) {
8
- __extends(DeleteHostedZoneCommand, _super);
9
- function DeleteHostedZoneCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteHostedZoneCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteHostedZoneCommand.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 = "DeleteHostedZoneCommand";
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 = "DeleteHostedZoneCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteHostedZoneRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DeleteHostedZoneResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteHostedZoneCommand.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_restXmlDeleteHostedZoneCommand(input, context);
35
- };
36
- DeleteHostedZoneCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteHostedZoneCommand(output, context);
38
- };
39
- return DeleteHostedZoneCommand;
40
- }($Command));
41
- export { DeleteHostedZoneCommand };
33
+ }
34
+ }
@@ -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 { DeleteKeySigningKeyRequestFilterSensitiveLog, DeleteKeySigningKeyResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteKeySigningKeyCommand, serializeAws_restXmlDeleteKeySigningKeyCommand, } from "../protocols/Aws_restXml";
7
- var DeleteKeySigningKeyCommand = (function (_super) {
8
- __extends(DeleteKeySigningKeyCommand, _super);
9
- function DeleteKeySigningKeyCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteKeySigningKeyCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteKeySigningKeyCommand.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 = "DeleteKeySigningKeyCommand";
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 = "DeleteKeySigningKeyCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteKeySigningKeyRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DeleteKeySigningKeyResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteKeySigningKeyCommand.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_restXmlDeleteKeySigningKeyCommand(input, context);
35
- };
36
- DeleteKeySigningKeyCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteKeySigningKeyCommand(output, context);
38
- };
39
- return DeleteKeySigningKeyCommand;
40
- }($Command));
41
- export { DeleteKeySigningKeyCommand };
33
+ }
34
+ }
@@ -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 { DeleteQueryLoggingConfigRequestFilterSensitiveLog, DeleteQueryLoggingConfigResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteQueryLoggingConfigCommand, serializeAws_restXmlDeleteQueryLoggingConfigCommand, } from "../protocols/Aws_restXml";
7
- var DeleteQueryLoggingConfigCommand = (function (_super) {
8
- __extends(DeleteQueryLoggingConfigCommand, _super);
9
- function DeleteQueryLoggingConfigCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteQueryLoggingConfigCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteQueryLoggingConfigCommand.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 = "DeleteQueryLoggingConfigCommand";
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 = "DeleteQueryLoggingConfigCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteQueryLoggingConfigRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DeleteQueryLoggingConfigResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteQueryLoggingConfigCommand.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_restXmlDeleteQueryLoggingConfigCommand(input, context);
35
- };
36
- DeleteQueryLoggingConfigCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteQueryLoggingConfigCommand(output, context);
38
- };
39
- return DeleteQueryLoggingConfigCommand;
40
- }($Command));
41
- export { DeleteQueryLoggingConfigCommand };
33
+ }
34
+ }
@@ -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 { DeleteReusableDelegationSetRequestFilterSensitiveLog, DeleteReusableDelegationSetResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteReusableDelegationSetCommand, serializeAws_restXmlDeleteReusableDelegationSetCommand, } from "../protocols/Aws_restXml";
7
- var DeleteReusableDelegationSetCommand = (function (_super) {
8
- __extends(DeleteReusableDelegationSetCommand, _super);
9
- function DeleteReusableDelegationSetCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteReusableDelegationSetCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteReusableDelegationSetCommand.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 = "DeleteReusableDelegationSetCommand";
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 = "DeleteReusableDelegationSetCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteReusableDelegationSetRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DeleteReusableDelegationSetResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteReusableDelegationSetCommand.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_restXmlDeleteReusableDelegationSetCommand(input, context);
35
- };
36
- DeleteReusableDelegationSetCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteReusableDelegationSetCommand(output, context);
38
- };
39
- return DeleteReusableDelegationSetCommand;
40
- }($Command));
41
- export { DeleteReusableDelegationSetCommand };
33
+ }
34
+ }
@@ -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 { DeleteTrafficPolicyRequestFilterSensitiveLog, DeleteTrafficPolicyResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteTrafficPolicyCommand, serializeAws_restXmlDeleteTrafficPolicyCommand, } from "../protocols/Aws_restXml";
7
- var DeleteTrafficPolicyCommand = (function (_super) {
8
- __extends(DeleteTrafficPolicyCommand, _super);
9
- function DeleteTrafficPolicyCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteTrafficPolicyCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteTrafficPolicyCommand.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 = "DeleteTrafficPolicyCommand";
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 = "DeleteTrafficPolicyCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteTrafficPolicyRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DeleteTrafficPolicyResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteTrafficPolicyCommand.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_restXmlDeleteTrafficPolicyCommand(input, context);
35
- };
36
- DeleteTrafficPolicyCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteTrafficPolicyCommand(output, context);
38
- };
39
- return DeleteTrafficPolicyCommand;
40
- }($Command));
41
- export { DeleteTrafficPolicyCommand };
33
+ }
34
+ }
@@ -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 { DeleteTrafficPolicyInstanceRequestFilterSensitiveLog, DeleteTrafficPolicyInstanceResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteTrafficPolicyInstanceCommand, serializeAws_restXmlDeleteTrafficPolicyInstanceCommand, } from "../protocols/Aws_restXml";
7
- var DeleteTrafficPolicyInstanceCommand = (function (_super) {
8
- __extends(DeleteTrafficPolicyInstanceCommand, _super);
9
- function DeleteTrafficPolicyInstanceCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteTrafficPolicyInstanceCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteTrafficPolicyInstanceCommand.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 = "DeleteTrafficPolicyInstanceCommand";
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 = "DeleteTrafficPolicyInstanceCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteTrafficPolicyInstanceRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DeleteTrafficPolicyInstanceResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteTrafficPolicyInstanceCommand.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_restXmlDeleteTrafficPolicyInstanceCommand(input, context);
35
- };
36
- DeleteTrafficPolicyInstanceCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteTrafficPolicyInstanceCommand(output, context);
38
- };
39
- return DeleteTrafficPolicyInstanceCommand;
40
- }($Command));
41
- export { DeleteTrafficPolicyInstanceCommand };
33
+ }
34
+ }
@@ -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 { DeleteVPCAssociationAuthorizationRequestFilterSensitiveLog, DeleteVPCAssociationAuthorizationResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteVPCAssociationAuthorizationCommand, serializeAws_restXmlDeleteVPCAssociationAuthorizationCommand, } from "../protocols/Aws_restXml";
7
- var DeleteVPCAssociationAuthorizationCommand = (function (_super) {
8
- __extends(DeleteVPCAssociationAuthorizationCommand, _super);
9
- function DeleteVPCAssociationAuthorizationCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteVPCAssociationAuthorizationCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteVPCAssociationAuthorizationCommand.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 = "DeleteVPCAssociationAuthorizationCommand";
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 = "DeleteVPCAssociationAuthorizationCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteVPCAssociationAuthorizationRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DeleteVPCAssociationAuthorizationResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteVPCAssociationAuthorizationCommand.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_restXmlDeleteVPCAssociationAuthorizationCommand(input, context);
35
- };
36
- DeleteVPCAssociationAuthorizationCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteVPCAssociationAuthorizationCommand(output, context);
38
- };
39
- return DeleteVPCAssociationAuthorizationCommand;
40
- }($Command));
41
- export { DeleteVPCAssociationAuthorizationCommand };
33
+ }
34
+ }
@@ -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 { DisableHostedZoneDNSSECRequestFilterSensitiveLog, DisableHostedZoneDNSSECResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDisableHostedZoneDNSSECCommand, serializeAws_restXmlDisableHostedZoneDNSSECCommand, } from "../protocols/Aws_restXml";
7
- var DisableHostedZoneDNSSECCommand = (function (_super) {
8
- __extends(DisableHostedZoneDNSSECCommand, _super);
9
- function DisableHostedZoneDNSSECCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DisableHostedZoneDNSSECCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DisableHostedZoneDNSSECCommand.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 = "DisableHostedZoneDNSSECCommand";
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 = "DisableHostedZoneDNSSECCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DisableHostedZoneDNSSECRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DisableHostedZoneDNSSECResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DisableHostedZoneDNSSECCommand.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_restXmlDisableHostedZoneDNSSECCommand(input, context);
35
- };
36
- DisableHostedZoneDNSSECCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDisableHostedZoneDNSSECCommand(output, context);
38
- };
39
- return DisableHostedZoneDNSSECCommand;
40
- }($Command));
41
- export { DisableHostedZoneDNSSECCommand };
33
+ }
34
+ }
@@ -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 { DisassociateVPCFromHostedZoneRequestFilterSensitiveLog, DisassociateVPCFromHostedZoneResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDisassociateVPCFromHostedZoneCommand, serializeAws_restXmlDisassociateVPCFromHostedZoneCommand, } from "../protocols/Aws_restXml";
7
- var DisassociateVPCFromHostedZoneCommand = (function (_super) {
8
- __extends(DisassociateVPCFromHostedZoneCommand, _super);
9
- function DisassociateVPCFromHostedZoneCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DisassociateVPCFromHostedZoneCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DisassociateVPCFromHostedZoneCommand.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 = "DisassociateVPCFromHostedZoneCommand";
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 = "DisassociateVPCFromHostedZoneCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DisassociateVPCFromHostedZoneRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: DisassociateVPCFromHostedZoneResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DisassociateVPCFromHostedZoneCommand.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_restXmlDisassociateVPCFromHostedZoneCommand(input, context);
35
- };
36
- DisassociateVPCFromHostedZoneCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDisassociateVPCFromHostedZoneCommand(output, context);
38
- };
39
- return DisassociateVPCFromHostedZoneCommand;
40
- }($Command));
41
- export { DisassociateVPCFromHostedZoneCommand };
33
+ }
34
+ }