@aws-sdk/client-route-53 3.100.0 → 3.107.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 (119) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +2 -1
  3. package/dist-cjs/Route53.js +90 -0
  4. package/dist-cjs/Route53Client.js +2 -0
  5. package/dist-cjs/commands/ChangeCidrCollectionCommand.js +38 -0
  6. package/dist-cjs/commands/CreateCidrCollectionCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteCidrCollectionCommand.js +38 -0
  8. package/dist-cjs/commands/ListCidrBlocksCommand.js +36 -0
  9. package/dist-cjs/commands/ListCidrCollectionsCommand.js +36 -0
  10. package/dist-cjs/commands/ListCidrLocationsCommand.js +36 -0
  11. package/dist-cjs/commands/index.js +6 -0
  12. package/dist-cjs/models/models_0.js +202 -5
  13. package/dist-cjs/pagination/ListCidrBlocksPaginator.js +36 -0
  14. package/dist-cjs/pagination/ListCidrCollectionsPaginator.js +36 -0
  15. package/dist-cjs/pagination/ListCidrLocationsPaginator.js +36 -0
  16. package/dist-cjs/pagination/index.js +3 -0
  17. package/dist-cjs/protocols/Aws_restXml.js +816 -91
  18. package/dist-es/Route53.js +90 -0
  19. package/dist-es/Route53Client.js +2 -0
  20. package/dist-es/commands/ChangeCidrCollectionCommand.js +41 -0
  21. package/dist-es/commands/CreateCidrCollectionCommand.js +39 -0
  22. package/dist-es/commands/DeleteCidrCollectionCommand.js +41 -0
  23. package/dist-es/commands/ListCidrBlocksCommand.js +39 -0
  24. package/dist-es/commands/ListCidrCollectionsCommand.js +39 -0
  25. package/dist-es/commands/ListCidrLocationsCommand.js +39 -0
  26. package/dist-es/commands/index.js +6 -0
  27. package/dist-es/models/models_0.js +155 -0
  28. package/dist-es/pagination/ListCidrBlocksPaginator.js +75 -0
  29. package/dist-es/pagination/ListCidrCollectionsPaginator.js +75 -0
  30. package/dist-es/pagination/ListCidrLocationsPaginator.js +75 -0
  31. package/dist-es/pagination/index.js +3 -0
  32. package/dist-es/protocols/Aws_restXml.js +998 -127
  33. package/dist-types/Route53.d.ts +768 -557
  34. package/dist-types/Route53Client.d.ts +10 -3
  35. package/dist-types/commands/ActivateKeySigningKeyCommand.d.ts +2 -2
  36. package/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +19 -18
  37. package/dist-types/commands/ChangeCidrCollectionCommand.d.ts +60 -0
  38. package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +63 -53
  39. package/dist-types/commands/ChangeTagsForResourceCommand.d.ts +2 -3
  40. package/dist-types/commands/CreateCidrCollectionCommand.d.ts +37 -0
  41. package/dist-types/commands/CreateHealthCheckCommand.d.ts +20 -19
  42. package/dist-types/commands/CreateHostedZoneCommand.d.ts +40 -31
  43. package/dist-types/commands/CreateKeySigningKeyCommand.d.ts +2 -1
  44. package/dist-types/commands/CreateQueryLoggingConfigCommand.d.ts +103 -74
  45. package/dist-types/commands/CreateReusableDelegationSetCommand.d.ts +42 -35
  46. package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +3 -2
  47. package/dist-types/commands/CreateTrafficPolicyInstanceCommand.d.ts +6 -4
  48. package/dist-types/commands/CreateTrafficPolicyVersionCommand.d.ts +7 -5
  49. package/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +10 -8
  50. package/dist-types/commands/DeactivateKeySigningKeyCommand.d.ts +2 -2
  51. package/dist-types/commands/DeleteCidrCollectionCommand.d.ts +36 -0
  52. package/dist-types/commands/DeleteHealthCheckCommand.d.ts +12 -11
  53. package/dist-types/commands/DeleteHostedZoneCommand.d.ts +33 -30
  54. package/dist-types/commands/DeleteKeySigningKeyCommand.d.ts +4 -4
  55. package/dist-types/commands/DeleteQueryLoggingConfigCommand.d.ts +4 -5
  56. package/dist-types/commands/DeleteReusableDelegationSetCommand.d.ts +5 -4
  57. package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +10 -9
  58. package/dist-types/commands/DeleteTrafficPolicyInstanceCommand.d.ts +4 -2
  59. package/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +10 -7
  60. package/dist-types/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -2
  61. package/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +30 -23
  62. package/dist-types/commands/GetAccountLimitCommand.d.ts +7 -8
  63. package/dist-types/commands/GetChangeCommand.d.ts +5 -3
  64. package/dist-types/commands/GetCheckerIpRangesCommand.d.ts +7 -5
  65. package/dist-types/commands/GetDNSSECCommand.d.ts +2 -1
  66. package/dist-types/commands/GetGeoLocationCommand.d.ts +17 -12
  67. package/dist-types/commands/GetHealthCheckStatusCommand.d.ts +4 -2
  68. package/dist-types/commands/GetHostedZoneCommand.d.ts +2 -1
  69. package/dist-types/commands/GetHostedZoneLimitCommand.d.ts +5 -5
  70. package/dist-types/commands/GetQueryLoggingConfigCommand.d.ts +2 -5
  71. package/dist-types/commands/GetReusableDelegationSetCommand.d.ts +2 -2
  72. package/dist-types/commands/GetReusableDelegationSetLimitCommand.d.ts +5 -4
  73. package/dist-types/commands/GetTrafficPolicyCommand.d.ts +2 -3
  74. package/dist-types/commands/GetTrafficPolicyInstanceCommand.d.ts +7 -4
  75. package/dist-types/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -1
  76. package/dist-types/commands/ListCidrBlocksCommand.d.ts +35 -0
  77. package/dist-types/commands/ListCidrCollectionsCommand.d.ts +36 -0
  78. package/dist-types/commands/ListCidrLocationsCommand.d.ts +36 -0
  79. package/dist-types/commands/ListGeoLocationsCommand.d.ts +8 -5
  80. package/dist-types/commands/ListHostedZonesByNameCommand.d.ts +38 -27
  81. package/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +22 -18
  82. package/dist-types/commands/ListHostedZonesCommand.d.ts +6 -4
  83. package/dist-types/commands/ListQueryLoggingConfigsCommand.d.ts +6 -8
  84. package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +42 -35
  85. package/dist-types/commands/ListReusableDelegationSetsCommand.d.ts +2 -1
  86. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -3
  87. package/dist-types/commands/ListTagsForResourcesCommand.d.ts +2 -3
  88. package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +5 -7
  89. package/dist-types/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +10 -6
  90. package/dist-types/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +10 -6
  91. package/dist-types/commands/ListTrafficPolicyInstancesCommand.d.ts +9 -5
  92. package/dist-types/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -1
  93. package/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +5 -4
  94. package/dist-types/commands/TestDNSAnswerCommand.d.ts +3 -2
  95. package/dist-types/commands/UpdateHealthCheckCommand.d.ts +3 -3
  96. package/dist-types/commands/UpdateTrafficPolicyInstanceCommand.d.ts +15 -8
  97. package/dist-types/commands/index.d.ts +6 -0
  98. package/dist-types/models/models_0.d.ts +3053 -1877
  99. package/dist-types/pagination/ListCidrBlocksPaginator.d.ts +4 -0
  100. package/dist-types/pagination/ListCidrCollectionsPaginator.d.ts +4 -0
  101. package/dist-types/pagination/ListCidrLocationsPaginator.d.ts +4 -0
  102. package/dist-types/pagination/index.d.ts +3 -0
  103. package/dist-types/protocols/Aws_restXml.d.ts +18 -0
  104. package/dist-types/ts3.4/Route53.d.ts +14 -0
  105. package/dist-types/ts3.4/Route53Client.d.ts +8 -2
  106. package/dist-types/ts3.4/commands/ChangeCidrCollectionCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/CreateCidrCollectionCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/DeleteCidrCollectionCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/ListCidrBlocksCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/ListCidrCollectionsCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/ListCidrLocationsCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  113. package/dist-types/ts3.4/models/models_0.d.ts +248 -0
  114. package/dist-types/ts3.4/pagination/ListCidrBlocksPaginator.d.ts +4 -0
  115. package/dist-types/ts3.4/pagination/ListCidrCollectionsPaginator.d.ts +4 -0
  116. package/dist-types/ts3.4/pagination/ListCidrLocationsPaginator.d.ts +4 -0
  117. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  118. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +18 -0
  119. package/package.json +4 -3
@@ -1,8 +1,10 @@
1
1
  import { __extends } from "tslib";
2
2
  import { ActivateKeySigningKeyCommand, } from "./commands/ActivateKeySigningKeyCommand";
3
3
  import { AssociateVPCWithHostedZoneCommand, } from "./commands/AssociateVPCWithHostedZoneCommand";
4
+ import { ChangeCidrCollectionCommand, } from "./commands/ChangeCidrCollectionCommand";
4
5
  import { ChangeResourceRecordSetsCommand, } from "./commands/ChangeResourceRecordSetsCommand";
5
6
  import { ChangeTagsForResourceCommand, } from "./commands/ChangeTagsForResourceCommand";
7
+ import { CreateCidrCollectionCommand, } from "./commands/CreateCidrCollectionCommand";
6
8
  import { CreateHealthCheckCommand, } from "./commands/CreateHealthCheckCommand";
7
9
  import { CreateHostedZoneCommand, } from "./commands/CreateHostedZoneCommand";
8
10
  import { CreateKeySigningKeyCommand, } from "./commands/CreateKeySigningKeyCommand";
@@ -13,6 +15,7 @@ import { CreateTrafficPolicyInstanceCommand, } from "./commands/CreateTrafficPol
13
15
  import { CreateTrafficPolicyVersionCommand, } from "./commands/CreateTrafficPolicyVersionCommand";
14
16
  import { CreateVPCAssociationAuthorizationCommand, } from "./commands/CreateVPCAssociationAuthorizationCommand";
15
17
  import { DeactivateKeySigningKeyCommand, } from "./commands/DeactivateKeySigningKeyCommand";
18
+ import { DeleteCidrCollectionCommand, } from "./commands/DeleteCidrCollectionCommand";
16
19
  import { DeleteHealthCheckCommand, } from "./commands/DeleteHealthCheckCommand";
17
20
  import { DeleteHostedZoneCommand, } from "./commands/DeleteHostedZoneCommand";
18
21
  import { DeleteKeySigningKeyCommand, } from "./commands/DeleteKeySigningKeyCommand";
@@ -42,6 +45,9 @@ import { GetReusableDelegationSetLimitCommand, } from "./commands/GetReusableDel
42
45
  import { GetTrafficPolicyCommand, } from "./commands/GetTrafficPolicyCommand";
43
46
  import { GetTrafficPolicyInstanceCommand, } from "./commands/GetTrafficPolicyInstanceCommand";
44
47
  import { GetTrafficPolicyInstanceCountCommand, } from "./commands/GetTrafficPolicyInstanceCountCommand";
48
+ import { ListCidrBlocksCommand, } from "./commands/ListCidrBlocksCommand";
49
+ import { ListCidrCollectionsCommand, } from "./commands/ListCidrCollectionsCommand";
50
+ import { ListCidrLocationsCommand, } from "./commands/ListCidrLocationsCommand";
45
51
  import { ListGeoLocationsCommand, } from "./commands/ListGeoLocationsCommand";
46
52
  import { ListHealthChecksCommand, } from "./commands/ListHealthChecksCommand";
47
53
  import { ListHostedZonesByNameCommand, } from "./commands/ListHostedZonesByNameCommand";
@@ -97,6 +103,20 @@ var Route53 = (function (_super) {
97
103
  return this.send(command, optionsOrCb);
98
104
  }
99
105
  };
106
+ Route53.prototype.changeCidrCollection = function (args, optionsOrCb, cb) {
107
+ var command = new ChangeCidrCollectionCommand(args);
108
+ if (typeof optionsOrCb === "function") {
109
+ this.send(command, optionsOrCb);
110
+ }
111
+ else if (typeof cb === "function") {
112
+ if (typeof optionsOrCb !== "object")
113
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
114
+ this.send(command, optionsOrCb || {}, cb);
115
+ }
116
+ else {
117
+ return this.send(command, optionsOrCb);
118
+ }
119
+ };
100
120
  Route53.prototype.changeResourceRecordSets = function (args, optionsOrCb, cb) {
101
121
  var command = new ChangeResourceRecordSetsCommand(args);
102
122
  if (typeof optionsOrCb === "function") {
@@ -125,6 +145,20 @@ var Route53 = (function (_super) {
125
145
  return this.send(command, optionsOrCb);
126
146
  }
127
147
  };
148
+ Route53.prototype.createCidrCollection = function (args, optionsOrCb, cb) {
149
+ var command = new CreateCidrCollectionCommand(args);
150
+ if (typeof optionsOrCb === "function") {
151
+ this.send(command, optionsOrCb);
152
+ }
153
+ else if (typeof cb === "function") {
154
+ if (typeof optionsOrCb !== "object")
155
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
156
+ this.send(command, optionsOrCb || {}, cb);
157
+ }
158
+ else {
159
+ return this.send(command, optionsOrCb);
160
+ }
161
+ };
128
162
  Route53.prototype.createHealthCheck = function (args, optionsOrCb, cb) {
129
163
  var command = new CreateHealthCheckCommand(args);
130
164
  if (typeof optionsOrCb === "function") {
@@ -265,6 +299,20 @@ var Route53 = (function (_super) {
265
299
  return this.send(command, optionsOrCb);
266
300
  }
267
301
  };
302
+ Route53.prototype.deleteCidrCollection = function (args, optionsOrCb, cb) {
303
+ var command = new DeleteCidrCollectionCommand(args);
304
+ if (typeof optionsOrCb === "function") {
305
+ this.send(command, optionsOrCb);
306
+ }
307
+ else if (typeof cb === "function") {
308
+ if (typeof optionsOrCb !== "object")
309
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
310
+ this.send(command, optionsOrCb || {}, cb);
311
+ }
312
+ else {
313
+ return this.send(command, optionsOrCb);
314
+ }
315
+ };
268
316
  Route53.prototype.deleteHealthCheck = function (args, optionsOrCb, cb) {
269
317
  var command = new DeleteHealthCheckCommand(args);
270
318
  if (typeof optionsOrCb === "function") {
@@ -671,6 +719,48 @@ var Route53 = (function (_super) {
671
719
  return this.send(command, optionsOrCb);
672
720
  }
673
721
  };
722
+ Route53.prototype.listCidrBlocks = function (args, optionsOrCb, cb) {
723
+ var command = new ListCidrBlocksCommand(args);
724
+ if (typeof optionsOrCb === "function") {
725
+ this.send(command, optionsOrCb);
726
+ }
727
+ else if (typeof cb === "function") {
728
+ if (typeof optionsOrCb !== "object")
729
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
730
+ this.send(command, optionsOrCb || {}, cb);
731
+ }
732
+ else {
733
+ return this.send(command, optionsOrCb);
734
+ }
735
+ };
736
+ Route53.prototype.listCidrCollections = function (args, optionsOrCb, cb) {
737
+ var command = new ListCidrCollectionsCommand(args);
738
+ if (typeof optionsOrCb === "function") {
739
+ this.send(command, optionsOrCb);
740
+ }
741
+ else if (typeof cb === "function") {
742
+ if (typeof optionsOrCb !== "object")
743
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
744
+ this.send(command, optionsOrCb || {}, cb);
745
+ }
746
+ else {
747
+ return this.send(command, optionsOrCb);
748
+ }
749
+ };
750
+ Route53.prototype.listCidrLocations = function (args, optionsOrCb, cb) {
751
+ var command = new ListCidrLocationsCommand(args);
752
+ if (typeof optionsOrCb === "function") {
753
+ this.send(command, optionsOrCb);
754
+ }
755
+ else if (typeof cb === "function") {
756
+ if (typeof optionsOrCb !== "object")
757
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
758
+ this.send(command, optionsOrCb || {}, cb);
759
+ }
760
+ else {
761
+ return this.send(command, optionsOrCb);
762
+ }
763
+ };
674
764
  Route53.prototype.listGeoLocations = function (args, optionsOrCb, cb) {
675
765
  var command = new ListGeoLocationsCommand(args);
676
766
  if (typeof optionsOrCb === "function") {
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var Route53Client = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -0,0 +1,41 @@
1
+ import { __extends } from "tslib";
2
+ import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
3
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
+ import { Command as $Command } from "@aws-sdk/smithy-client";
5
+ import { ChangeCidrCollectionRequest, ChangeCidrCollectionResponse } from "../models/models_0";
6
+ 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;
13
+ }
14
+ ChangeCidrCollectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
15
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
+ 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,
25
+ inputFilterSensitiveLog: ChangeCidrCollectionRequest.filterSensitiveLog,
26
+ outputFilterSensitiveLog: ChangeCidrCollectionResponse.filterSensitiveLog,
27
+ };
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) {
34
+ return serializeAws_restXmlChangeCidrCollectionCommand(input, context);
35
+ };
36
+ ChangeCidrCollectionCommand.prototype.deserialize = function (output, context) {
37
+ return deserializeAws_restXmlChangeCidrCollectionCommand(output, context);
38
+ };
39
+ return ChangeCidrCollectionCommand;
40
+ }($Command));
41
+ export { ChangeCidrCollectionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateCidrCollectionRequest, CreateCidrCollectionResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ CreateCidrCollectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: CreateCidrCollectionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateCidrCollectionResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restXmlCreateCidrCollectionCommand(input, context);
33
+ };
34
+ CreateCidrCollectionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restXmlCreateCidrCollectionCommand(output, context);
36
+ };
37
+ return CreateCidrCollectionCommand;
38
+ }($Command));
39
+ export { CreateCidrCollectionCommand };
@@ -0,0 +1,41 @@
1
+ import { __extends } from "tslib";
2
+ import { getIdNormalizerPlugin } from "@aws-sdk/middleware-sdk-route53";
3
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
+ import { Command as $Command } from "@aws-sdk/smithy-client";
5
+ import { DeleteCidrCollectionRequest, DeleteCidrCollectionResponse } from "../models/models_0";
6
+ import { deserializeAws_restXmlDeleteCidrCollectionCommand, serializeAws_restXmlDeleteCidrCollectionCommand, } from "../protocols/Aws_restXml";
7
+ var DeleteCidrCollectionCommand = (function (_super) {
8
+ __extends(DeleteCidrCollectionCommand, _super);
9
+ function DeleteCidrCollectionCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
13
+ }
14
+ DeleteCidrCollectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
15
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use(getIdNormalizerPlugin(configuration));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "Route53Client";
20
+ var commandName = "DeleteCidrCollectionCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
25
+ inputFilterSensitiveLog: DeleteCidrCollectionRequest.filterSensitiveLog,
26
+ outputFilterSensitiveLog: DeleteCidrCollectionResponse.filterSensitiveLog,
27
+ };
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteCidrCollectionCommand.prototype.serialize = function (input, context) {
34
+ return serializeAws_restXmlDeleteCidrCollectionCommand(input, context);
35
+ };
36
+ DeleteCidrCollectionCommand.prototype.deserialize = function (output, context) {
37
+ return deserializeAws_restXmlDeleteCidrCollectionCommand(output, context);
38
+ };
39
+ return DeleteCidrCollectionCommand;
40
+ }($Command));
41
+ export { DeleteCidrCollectionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCidrBlocksRequest, ListCidrBlocksResponse } from "../models/models_0";
5
+ import { deserializeAws_restXmlListCidrBlocksCommand, serializeAws_restXmlListCidrBlocksCommand, } from "../protocols/Aws_restXml";
6
+ var ListCidrBlocksCommand = (function (_super) {
7
+ __extends(ListCidrBlocksCommand, _super);
8
+ function ListCidrBlocksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListCidrBlocksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "ListCidrBlocksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListCidrBlocksRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListCidrBlocksResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCidrBlocksCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restXmlListCidrBlocksCommand(input, context);
33
+ };
34
+ ListCidrBlocksCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restXmlListCidrBlocksCommand(output, context);
36
+ };
37
+ return ListCidrBlocksCommand;
38
+ }($Command));
39
+ export { ListCidrBlocksCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCidrCollectionsRequest, ListCidrCollectionsResponse } from "../models/models_0";
5
+ import { deserializeAws_restXmlListCidrCollectionsCommand, serializeAws_restXmlListCidrCollectionsCommand, } from "../protocols/Aws_restXml";
6
+ var ListCidrCollectionsCommand = (function (_super) {
7
+ __extends(ListCidrCollectionsCommand, _super);
8
+ function ListCidrCollectionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListCidrCollectionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "ListCidrCollectionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListCidrCollectionsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListCidrCollectionsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCidrCollectionsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restXmlListCidrCollectionsCommand(input, context);
33
+ };
34
+ ListCidrCollectionsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restXmlListCidrCollectionsCommand(output, context);
36
+ };
37
+ return ListCidrCollectionsCommand;
38
+ }($Command));
39
+ export { ListCidrCollectionsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCidrLocationsRequest, ListCidrLocationsResponse } from "../models/models_0";
5
+ import { deserializeAws_restXmlListCidrLocationsCommand, serializeAws_restXmlListCidrLocationsCommand, } from "../protocols/Aws_restXml";
6
+ var ListCidrLocationsCommand = (function (_super) {
7
+ __extends(ListCidrLocationsCommand, _super);
8
+ function ListCidrLocationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListCidrLocationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "ListCidrLocationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListCidrLocationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListCidrLocationsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCidrLocationsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restXmlListCidrLocationsCommand(input, context);
33
+ };
34
+ ListCidrLocationsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restXmlListCidrLocationsCommand(output, context);
36
+ };
37
+ return ListCidrLocationsCommand;
38
+ }($Command));
39
+ export { ListCidrLocationsCommand };
@@ -1,7 +1,9 @@
1
1
  export * from "./ActivateKeySigningKeyCommand";
2
2
  export * from "./AssociateVPCWithHostedZoneCommand";
3
+ export * from "./ChangeCidrCollectionCommand";
3
4
  export * from "./ChangeResourceRecordSetsCommand";
4
5
  export * from "./ChangeTagsForResourceCommand";
6
+ export * from "./CreateCidrCollectionCommand";
5
7
  export * from "./CreateHealthCheckCommand";
6
8
  export * from "./CreateHostedZoneCommand";
7
9
  export * from "./CreateKeySigningKeyCommand";
@@ -12,6 +14,7 @@ export * from "./CreateTrafficPolicyInstanceCommand";
12
14
  export * from "./CreateTrafficPolicyVersionCommand";
13
15
  export * from "./CreateVPCAssociationAuthorizationCommand";
14
16
  export * from "./DeactivateKeySigningKeyCommand";
17
+ export * from "./DeleteCidrCollectionCommand";
15
18
  export * from "./DeleteHealthCheckCommand";
16
19
  export * from "./DeleteHostedZoneCommand";
17
20
  export * from "./DeleteKeySigningKeyCommand";
@@ -41,6 +44,9 @@ export * from "./GetReusableDelegationSetLimitCommand";
41
44
  export * from "./GetTrafficPolicyCommand";
42
45
  export * from "./GetTrafficPolicyInstanceCommand";
43
46
  export * from "./GetTrafficPolicyInstanceCountCommand";
47
+ export * from "./ListCidrBlocksCommand";
48
+ export * from "./ListCidrCollectionsCommand";
49
+ export * from "./ListCidrLocationsCommand";
44
50
  export * from "./ListGeoLocationsCommand";
45
51
  export * from "./ListHealthChecksCommand";
46
52
  export * from "./ListHostedZonesByNameCommand";
@@ -192,6 +192,66 @@ var PublicZoneVPCAssociation = (function (_super) {
192
192
  return PublicZoneVPCAssociation;
193
193
  }(__BaseException));
194
194
  export { PublicZoneVPCAssociation };
195
+ export var CidrCollectionChangeAction;
196
+ (function (CidrCollectionChangeAction) {
197
+ CidrCollectionChangeAction["DELETE_IF_EXISTS"] = "DELETE_IF_EXISTS";
198
+ CidrCollectionChangeAction["PUT"] = "PUT";
199
+ })(CidrCollectionChangeAction || (CidrCollectionChangeAction = {}));
200
+ export var CidrCollectionChange;
201
+ (function (CidrCollectionChange) {
202
+ CidrCollectionChange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
203
+ })(CidrCollectionChange || (CidrCollectionChange = {}));
204
+ export var ChangeCidrCollectionRequest;
205
+ (function (ChangeCidrCollectionRequest) {
206
+ ChangeCidrCollectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
207
+ })(ChangeCidrCollectionRequest || (ChangeCidrCollectionRequest = {}));
208
+ export var ChangeCidrCollectionResponse;
209
+ (function (ChangeCidrCollectionResponse) {
210
+ ChangeCidrCollectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
211
+ })(ChangeCidrCollectionResponse || (ChangeCidrCollectionResponse = {}));
212
+ var CidrBlockInUseException = (function (_super) {
213
+ __extends(CidrBlockInUseException, _super);
214
+ function CidrBlockInUseException(opts) {
215
+ var _this = _super.call(this, __assign({ name: "CidrBlockInUseException", $fault: "client" }, opts)) || this;
216
+ _this.name = "CidrBlockInUseException";
217
+ _this.$fault = "client";
218
+ Object.setPrototypeOf(_this, CidrBlockInUseException.prototype);
219
+ _this.Message = opts.Message;
220
+ return _this;
221
+ }
222
+ return CidrBlockInUseException;
223
+ }(__BaseException));
224
+ export { CidrBlockInUseException };
225
+ var CidrCollectionVersionMismatchException = (function (_super) {
226
+ __extends(CidrCollectionVersionMismatchException, _super);
227
+ function CidrCollectionVersionMismatchException(opts) {
228
+ var _this = _super.call(this, __assign({ name: "CidrCollectionVersionMismatchException", $fault: "client" }, opts)) || this;
229
+ _this.name = "CidrCollectionVersionMismatchException";
230
+ _this.$fault = "client";
231
+ Object.setPrototypeOf(_this, CidrCollectionVersionMismatchException.prototype);
232
+ _this.Message = opts.Message;
233
+ return _this;
234
+ }
235
+ return CidrCollectionVersionMismatchException;
236
+ }(__BaseException));
237
+ export { CidrCollectionVersionMismatchException };
238
+ var NoSuchCidrCollectionException = (function (_super) {
239
+ __extends(NoSuchCidrCollectionException, _super);
240
+ function NoSuchCidrCollectionException(opts) {
241
+ var _this = _super.call(this, __assign({ name: "NoSuchCidrCollectionException", $fault: "client" }, opts)) || this;
242
+ _this.name = "NoSuchCidrCollectionException";
243
+ _this.$fault = "client";
244
+ Object.setPrototypeOf(_this, NoSuchCidrCollectionException.prototype);
245
+ _this.Message = opts.Message;
246
+ return _this;
247
+ }
248
+ return NoSuchCidrCollectionException;
249
+ }(__BaseException));
250
+ export { NoSuchCidrCollectionException };
251
+ export var CidrRoutingConfig;
252
+ (function (CidrRoutingConfig) {
253
+ CidrRoutingConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
254
+ })(CidrRoutingConfig || (CidrRoutingConfig = {}));
195
255
  export var GeoLocation;
196
256
  (function (GeoLocation) {
197
257
  GeoLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -269,6 +329,31 @@ var ThrottlingException = (function (_super) {
269
329
  return ThrottlingException;
270
330
  }(__BaseException));
271
331
  export { ThrottlingException };
332
+ var CidrCollectionAlreadyExistsException = (function (_super) {
333
+ __extends(CidrCollectionAlreadyExistsException, _super);
334
+ function CidrCollectionAlreadyExistsException(opts) {
335
+ var _this = _super.call(this, __assign({ name: "CidrCollectionAlreadyExistsException", $fault: "client" }, opts)) || this;
336
+ _this.name = "CidrCollectionAlreadyExistsException";
337
+ _this.$fault = "client";
338
+ Object.setPrototypeOf(_this, CidrCollectionAlreadyExistsException.prototype);
339
+ _this.Message = opts.Message;
340
+ return _this;
341
+ }
342
+ return CidrCollectionAlreadyExistsException;
343
+ }(__BaseException));
344
+ export { CidrCollectionAlreadyExistsException };
345
+ export var CreateCidrCollectionRequest;
346
+ (function (CreateCidrCollectionRequest) {
347
+ CreateCidrCollectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
348
+ })(CreateCidrCollectionRequest || (CreateCidrCollectionRequest = {}));
349
+ export var CidrCollection;
350
+ (function (CidrCollection) {
351
+ CidrCollection.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
352
+ })(CidrCollection || (CidrCollection = {}));
353
+ export var CreateCidrCollectionResponse;
354
+ (function (CreateCidrCollectionResponse) {
355
+ CreateCidrCollectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
356
+ })(CreateCidrCollectionResponse || (CreateCidrCollectionResponse = {}));
272
357
  export var HealthCheckType;
273
358
  (function (HealthCheckType) {
274
359
  HealthCheckType["CALCULATED"] = "CALCULATED";
@@ -744,6 +829,27 @@ var KeySigningKeyInUse = (function (_super) {
744
829
  return KeySigningKeyInUse;
745
830
  }(__BaseException));
746
831
  export { KeySigningKeyInUse };
832
+ var CidrCollectionInUseException = (function (_super) {
833
+ __extends(CidrCollectionInUseException, _super);
834
+ function CidrCollectionInUseException(opts) {
835
+ var _this = _super.call(this, __assign({ name: "CidrCollectionInUseException", $fault: "client" }, opts)) || this;
836
+ _this.name = "CidrCollectionInUseException";
837
+ _this.$fault = "client";
838
+ Object.setPrototypeOf(_this, CidrCollectionInUseException.prototype);
839
+ _this.Message = opts.Message;
840
+ return _this;
841
+ }
842
+ return CidrCollectionInUseException;
843
+ }(__BaseException));
844
+ export { CidrCollectionInUseException };
845
+ export var DeleteCidrCollectionRequest;
846
+ (function (DeleteCidrCollectionRequest) {
847
+ DeleteCidrCollectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
848
+ })(DeleteCidrCollectionRequest || (DeleteCidrCollectionRequest = {}));
849
+ export var DeleteCidrCollectionResponse;
850
+ (function (DeleteCidrCollectionResponse) {
851
+ DeleteCidrCollectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
852
+ })(DeleteCidrCollectionResponse || (DeleteCidrCollectionResponse = {}));
747
853
  export var DeleteHealthCheckRequest;
748
854
  (function (DeleteHealthCheckRequest) {
749
855
  DeleteHealthCheckRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1192,6 +1298,55 @@ export var GetTrafficPolicyInstanceCountResponse;
1192
1298
  (function (GetTrafficPolicyInstanceCountResponse) {
1193
1299
  GetTrafficPolicyInstanceCountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1194
1300
  })(GetTrafficPolicyInstanceCountResponse || (GetTrafficPolicyInstanceCountResponse = {}));
1301
+ export var ListCidrBlocksRequest;
1302
+ (function (ListCidrBlocksRequest) {
1303
+ ListCidrBlocksRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1304
+ })(ListCidrBlocksRequest || (ListCidrBlocksRequest = {}));
1305
+ export var CidrBlockSummary;
1306
+ (function (CidrBlockSummary) {
1307
+ CidrBlockSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1308
+ })(CidrBlockSummary || (CidrBlockSummary = {}));
1309
+ export var ListCidrBlocksResponse;
1310
+ (function (ListCidrBlocksResponse) {
1311
+ ListCidrBlocksResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1312
+ })(ListCidrBlocksResponse || (ListCidrBlocksResponse = {}));
1313
+ var NoSuchCidrLocationException = (function (_super) {
1314
+ __extends(NoSuchCidrLocationException, _super);
1315
+ function NoSuchCidrLocationException(opts) {
1316
+ var _this = _super.call(this, __assign({ name: "NoSuchCidrLocationException", $fault: "client" }, opts)) || this;
1317
+ _this.name = "NoSuchCidrLocationException";
1318
+ _this.$fault = "client";
1319
+ Object.setPrototypeOf(_this, NoSuchCidrLocationException.prototype);
1320
+ _this.Message = opts.Message;
1321
+ return _this;
1322
+ }
1323
+ return NoSuchCidrLocationException;
1324
+ }(__BaseException));
1325
+ export { NoSuchCidrLocationException };
1326
+ export var ListCidrCollectionsRequest;
1327
+ (function (ListCidrCollectionsRequest) {
1328
+ ListCidrCollectionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1329
+ })(ListCidrCollectionsRequest || (ListCidrCollectionsRequest = {}));
1330
+ export var CollectionSummary;
1331
+ (function (CollectionSummary) {
1332
+ CollectionSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1333
+ })(CollectionSummary || (CollectionSummary = {}));
1334
+ export var ListCidrCollectionsResponse;
1335
+ (function (ListCidrCollectionsResponse) {
1336
+ ListCidrCollectionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1337
+ })(ListCidrCollectionsResponse || (ListCidrCollectionsResponse = {}));
1338
+ export var ListCidrLocationsRequest;
1339
+ (function (ListCidrLocationsRequest) {
1340
+ ListCidrLocationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1341
+ })(ListCidrLocationsRequest || (ListCidrLocationsRequest = {}));
1342
+ export var LocationSummary;
1343
+ (function (LocationSummary) {
1344
+ LocationSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1345
+ })(LocationSummary || (LocationSummary = {}));
1346
+ export var ListCidrLocationsResponse;
1347
+ (function (ListCidrLocationsResponse) {
1348
+ ListCidrLocationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1349
+ })(ListCidrLocationsResponse || (ListCidrLocationsResponse = {}));
1195
1350
  export var ListGeoLocationsRequest;
1196
1351
  (function (ListGeoLocationsRequest) {
1197
1352
  ListGeoLocationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };