@aws-sdk/client-route-53 3.186.0 → 3.190.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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var Route53Client = (function (_super) {
13
- __extends(Route53Client, _super);
14
- function Route53Client(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class Route53Client extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- Route53Client.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return Route53Client;
38
- }(__Client));
39
- export { Route53Client };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -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 { ActivateKeySigningKeyRequestFilterSensitiveLog, ActivateKeySigningKeyResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlActivateKeySigningKeyCommand, serializeAws_restXmlActivateKeySigningKeyCommand, } from "../protocols/Aws_restXml";
7
- var ActivateKeySigningKeyCommand = (function (_super) {
8
- __extends(ActivateKeySigningKeyCommand, _super);
9
- function ActivateKeySigningKeyCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ActivateKeySigningKeyCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ActivateKeySigningKeyCommand.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 = "ActivateKeySigningKeyCommand";
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 = "ActivateKeySigningKeyCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ActivateKeySigningKeyRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ActivateKeySigningKeyResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ActivateKeySigningKeyCommand.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_restXmlActivateKeySigningKeyCommand(input, context);
35
- };
36
- ActivateKeySigningKeyCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlActivateKeySigningKeyCommand(output, context);
38
- };
39
- return ActivateKeySigningKeyCommand;
40
- }($Command));
41
- export { ActivateKeySigningKeyCommand };
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 { AssociateVPCWithHostedZoneRequestFilterSensitiveLog, AssociateVPCWithHostedZoneResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlAssociateVPCWithHostedZoneCommand, serializeAws_restXmlAssociateVPCWithHostedZoneCommand, } from "../protocols/Aws_restXml";
7
- var AssociateVPCWithHostedZoneCommand = (function (_super) {
8
- __extends(AssociateVPCWithHostedZoneCommand, _super);
9
- function AssociateVPCWithHostedZoneCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class AssociateVPCWithHostedZoneCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- AssociateVPCWithHostedZoneCommand.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 = "AssociateVPCWithHostedZoneCommand";
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 = "AssociateVPCWithHostedZoneCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: AssociateVPCWithHostedZoneRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: AssociateVPCWithHostedZoneResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- AssociateVPCWithHostedZoneCommand.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_restXmlAssociateVPCWithHostedZoneCommand(input, context);
35
- };
36
- AssociateVPCWithHostedZoneCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlAssociateVPCWithHostedZoneCommand(output, context);
38
- };
39
- return AssociateVPCWithHostedZoneCommand;
40
- }($Command));
41
- export { AssociateVPCWithHostedZoneCommand };
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 { ChangeCidrCollectionRequestFilterSensitiveLog, ChangeCidrCollectionResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlChangeCidrCollectionCommand, serializeAws_restXmlChangeCidrCollectionCommand, } from "../protocols/Aws_restXml";
7
- var ChangeCidrCollectionCommand = (function (_super) {
8
- __extends(ChangeCidrCollectionCommand, _super);
9
- function ChangeCidrCollectionCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ChangeCidrCollectionCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ChangeCidrCollectionCommand.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 = "ChangeCidrCollectionCommand";
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 = "ChangeCidrCollectionCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ChangeCidrCollectionRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ChangeCidrCollectionResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ChangeCidrCollectionCommand.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_restXmlChangeCidrCollectionCommand(input, context);
35
- };
36
- ChangeCidrCollectionCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlChangeCidrCollectionCommand(output, context);
38
- };
39
- return ChangeCidrCollectionCommand;
40
- }($Command));
41
- export { ChangeCidrCollectionCommand };
33
+ }
34
+ }
@@ -1,42 +1,35 @@
1
- import { __extends } from "tslib";
2
1
  import { getChangeResourceRecordSetsPlugin, 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 { ChangeResourceRecordSetsRequestFilterSensitiveLog, ChangeResourceRecordSetsResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlChangeResourceRecordSetsCommand, serializeAws_restXmlChangeResourceRecordSetsCommand, } from "../protocols/Aws_restXml";
7
- var ChangeResourceRecordSetsCommand = (function (_super) {
8
- __extends(ChangeResourceRecordSetsCommand, _super);
9
- function ChangeResourceRecordSetsCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ChangeResourceRecordSetsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ChangeResourceRecordSetsCommand.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(getChangeResourceRecordSetsPlugin(configuration));
17
14
  this.middlewareStack.use(getIdNormalizerPlugin(configuration));
18
- var stack = clientStack.concat(this.middlewareStack);
19
- var logger = configuration.logger;
20
- var clientName = "Route53Client";
21
- var commandName = "ChangeResourceRecordSetsCommand";
22
- var handlerExecutionContext = {
23
- logger: logger,
24
- clientName: clientName,
25
- commandName: commandName,
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Route53Client";
18
+ const commandName = "ChangeResourceRecordSetsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
26
23
  inputFilterSensitiveLog: ChangeResourceRecordSetsRequestFilterSensitiveLog,
27
24
  outputFilterSensitiveLog: ChangeResourceRecordSetsResponseFilterSensitiveLog,
28
25
  };
29
- var requestHandler = configuration.requestHandler;
30
- return stack.resolve(function (request) {
31
- return requestHandler.handle(request.request, options || {});
32
- }, handlerExecutionContext);
33
- };
34
- ChangeResourceRecordSetsCommand.prototype.serialize = function (input, context) {
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
35
30
  return serializeAws_restXmlChangeResourceRecordSetsCommand(input, context);
36
- };
37
- ChangeResourceRecordSetsCommand.prototype.deserialize = function (output, context) {
31
+ }
32
+ deserialize(output, context) {
38
33
  return deserializeAws_restXmlChangeResourceRecordSetsCommand(output, context);
39
- };
40
- return ChangeResourceRecordSetsCommand;
41
- }($Command));
42
- export { ChangeResourceRecordSetsCommand };
34
+ }
35
+ }
@@ -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 { ChangeTagsForResourceRequestFilterSensitiveLog, ChangeTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlChangeTagsForResourceCommand, serializeAws_restXmlChangeTagsForResourceCommand, } from "../protocols/Aws_restXml";
6
- var ChangeTagsForResourceCommand = (function (_super) {
7
- __extends(ChangeTagsForResourceCommand, _super);
8
- function ChangeTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ChangeTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ChangeTagsForResourceCommand.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 = "ChangeTagsForResourceCommand";
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 = "ChangeTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ChangeTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ChangeTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ChangeTagsForResourceCommand.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_restXmlChangeTagsForResourceCommand(input, context);
33
- };
34
- ChangeTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlChangeTagsForResourceCommand(output, context);
36
- };
37
- return ChangeTagsForResourceCommand;
38
- }($Command));
39
- export { ChangeTagsForResourceCommand };
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 { CreateCidrCollectionRequestFilterSensitiveLog, CreateCidrCollectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlCreateCidrCollectionCommand, serializeAws_restXmlCreateCidrCollectionCommand, } from "../protocols/Aws_restXml";
6
- var CreateCidrCollectionCommand = (function (_super) {
7
- __extends(CreateCidrCollectionCommand, _super);
8
- function CreateCidrCollectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateCidrCollectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateCidrCollectionCommand.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 = "CreateCidrCollectionCommand";
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 = "CreateCidrCollectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateCidrCollectionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateCidrCollectionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateCidrCollectionCommand.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_restXmlCreateCidrCollectionCommand(input, context);
33
- };
34
- CreateCidrCollectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlCreateCidrCollectionCommand(output, context);
36
- };
37
- return CreateCidrCollectionCommand;
38
- }($Command));
39
- export { CreateCidrCollectionCommand };
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 { CreateHealthCheckRequestFilterSensitiveLog, CreateHealthCheckResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restXmlCreateHealthCheckCommand, serializeAws_restXmlCreateHealthCheckCommand, } from "../protocols/Aws_restXml";
6
- var CreateHealthCheckCommand = (function (_super) {
7
- __extends(CreateHealthCheckCommand, _super);
8
- function CreateHealthCheckCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateHealthCheckCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateHealthCheckCommand.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 = "CreateHealthCheckCommand";
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 = "CreateHealthCheckCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateHealthCheckRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateHealthCheckResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateHealthCheckCommand.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_restXmlCreateHealthCheckCommand(input, context);
33
- };
34
- CreateHealthCheckCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restXmlCreateHealthCheckCommand(output, context);
36
- };
37
- return CreateHealthCheckCommand;
38
- }($Command));
39
- export { CreateHealthCheckCommand };
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 { CreateHostedZoneRequestFilterSensitiveLog, CreateHostedZoneResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlCreateHostedZoneCommand, serializeAws_restXmlCreateHostedZoneCommand, } from "../protocols/Aws_restXml";
7
- var CreateHostedZoneCommand = (function (_super) {
8
- __extends(CreateHostedZoneCommand, _super);
9
- function CreateHostedZoneCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class CreateHostedZoneCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- CreateHostedZoneCommand.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 = "CreateHostedZoneCommand";
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 = "CreateHostedZoneCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: CreateHostedZoneRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: CreateHostedZoneResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- CreateHostedZoneCommand.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_restXmlCreateHostedZoneCommand(input, context);
35
- };
36
- CreateHostedZoneCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlCreateHostedZoneCommand(output, context);
38
- };
39
- return CreateHostedZoneCommand;
40
- }($Command));
41
- export { CreateHostedZoneCommand };
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 { CreateKeySigningKeyRequestFilterSensitiveLog, CreateKeySigningKeyResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlCreateKeySigningKeyCommand, serializeAws_restXmlCreateKeySigningKeyCommand, } from "../protocols/Aws_restXml";
7
- var CreateKeySigningKeyCommand = (function (_super) {
8
- __extends(CreateKeySigningKeyCommand, _super);
9
- function CreateKeySigningKeyCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class CreateKeySigningKeyCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- CreateKeySigningKeyCommand.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 = "CreateKeySigningKeyCommand";
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 = "CreateKeySigningKeyCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: CreateKeySigningKeyRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: CreateKeySigningKeyResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- CreateKeySigningKeyCommand.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_restXmlCreateKeySigningKeyCommand(input, context);
35
- };
36
- CreateKeySigningKeyCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlCreateKeySigningKeyCommand(output, context);
38
- };
39
- return CreateKeySigningKeyCommand;
40
- }($Command));
41
- export { CreateKeySigningKeyCommand };
33
+ }
34
+ }