@aws-sdk/client-route-53 3.100.0 → 3.103.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.
- package/CHANGELOG.md +11 -0
- package/README.md +2 -1
- package/dist-cjs/Route53.js +90 -0
- package/dist-cjs/commands/ChangeCidrCollectionCommand.js +38 -0
- package/dist-cjs/commands/CreateCidrCollectionCommand.js +36 -0
- package/dist-cjs/commands/DeleteCidrCollectionCommand.js +38 -0
- package/dist-cjs/commands/ListCidrBlocksCommand.js +36 -0
- package/dist-cjs/commands/ListCidrCollectionsCommand.js +36 -0
- package/dist-cjs/commands/ListCidrLocationsCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +202 -5
- package/dist-cjs/pagination/ListCidrBlocksPaginator.js +36 -0
- package/dist-cjs/pagination/ListCidrCollectionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListCidrLocationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restXml.js +784 -63
- package/dist-es/Route53.js +90 -0
- package/dist-es/commands/ChangeCidrCollectionCommand.js +41 -0
- package/dist-es/commands/CreateCidrCollectionCommand.js +39 -0
- package/dist-es/commands/DeleteCidrCollectionCommand.js +41 -0
- package/dist-es/commands/ListCidrBlocksCommand.js +39 -0
- package/dist-es/commands/ListCidrCollectionsCommand.js +39 -0
- package/dist-es/commands/ListCidrLocationsCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +155 -0
- package/dist-es/pagination/ListCidrBlocksPaginator.js +75 -0
- package/dist-es/pagination/ListCidrCollectionsPaginator.js +75 -0
- package/dist-es/pagination/ListCidrLocationsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restXml.js +966 -99
- package/dist-types/Route53.d.ts +768 -557
- package/dist-types/Route53Client.d.ts +10 -3
- package/dist-types/commands/ActivateKeySigningKeyCommand.d.ts +2 -2
- package/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +19 -18
- package/dist-types/commands/ChangeCidrCollectionCommand.d.ts +60 -0
- package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +63 -53
- package/dist-types/commands/ChangeTagsForResourceCommand.d.ts +2 -3
- package/dist-types/commands/CreateCidrCollectionCommand.d.ts +37 -0
- package/dist-types/commands/CreateHealthCheckCommand.d.ts +20 -19
- package/dist-types/commands/CreateHostedZoneCommand.d.ts +40 -31
- package/dist-types/commands/CreateKeySigningKeyCommand.d.ts +2 -1
- package/dist-types/commands/CreateQueryLoggingConfigCommand.d.ts +103 -74
- package/dist-types/commands/CreateReusableDelegationSetCommand.d.ts +42 -35
- package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +3 -2
- package/dist-types/commands/CreateTrafficPolicyInstanceCommand.d.ts +6 -4
- package/dist-types/commands/CreateTrafficPolicyVersionCommand.d.ts +7 -5
- package/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +10 -8
- package/dist-types/commands/DeactivateKeySigningKeyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteCidrCollectionCommand.d.ts +36 -0
- package/dist-types/commands/DeleteHealthCheckCommand.d.ts +12 -11
- package/dist-types/commands/DeleteHostedZoneCommand.d.ts +33 -30
- package/dist-types/commands/DeleteKeySigningKeyCommand.d.ts +4 -4
- package/dist-types/commands/DeleteQueryLoggingConfigCommand.d.ts +4 -5
- package/dist-types/commands/DeleteReusableDelegationSetCommand.d.ts +5 -4
- package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +10 -9
- package/dist-types/commands/DeleteTrafficPolicyInstanceCommand.d.ts +4 -2
- package/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +10 -7
- package/dist-types/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +30 -23
- package/dist-types/commands/GetAccountLimitCommand.d.ts +7 -8
- package/dist-types/commands/GetChangeCommand.d.ts +5 -3
- package/dist-types/commands/GetCheckerIpRangesCommand.d.ts +7 -5
- package/dist-types/commands/GetDNSSECCommand.d.ts +2 -1
- package/dist-types/commands/GetGeoLocationCommand.d.ts +17 -12
- package/dist-types/commands/GetHealthCheckStatusCommand.d.ts +4 -2
- package/dist-types/commands/GetHostedZoneCommand.d.ts +2 -1
- package/dist-types/commands/GetHostedZoneLimitCommand.d.ts +5 -5
- package/dist-types/commands/GetQueryLoggingConfigCommand.d.ts +2 -5
- package/dist-types/commands/GetReusableDelegationSetCommand.d.ts +2 -2
- package/dist-types/commands/GetReusableDelegationSetLimitCommand.d.ts +5 -4
- package/dist-types/commands/GetTrafficPolicyCommand.d.ts +2 -3
- package/dist-types/commands/GetTrafficPolicyInstanceCommand.d.ts +7 -4
- package/dist-types/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -1
- package/dist-types/commands/ListCidrBlocksCommand.d.ts +35 -0
- package/dist-types/commands/ListCidrCollectionsCommand.d.ts +36 -0
- package/dist-types/commands/ListCidrLocationsCommand.d.ts +36 -0
- package/dist-types/commands/ListGeoLocationsCommand.d.ts +8 -5
- package/dist-types/commands/ListHostedZonesByNameCommand.d.ts +38 -27
- package/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +22 -18
- package/dist-types/commands/ListHostedZonesCommand.d.ts +6 -4
- package/dist-types/commands/ListQueryLoggingConfigsCommand.d.ts +6 -8
- package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +42 -35
- package/dist-types/commands/ListReusableDelegationSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -3
- package/dist-types/commands/ListTagsForResourcesCommand.d.ts +2 -3
- package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +5 -7
- package/dist-types/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +10 -6
- package/dist-types/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +10 -6
- package/dist-types/commands/ListTrafficPolicyInstancesCommand.d.ts +9 -5
- package/dist-types/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +5 -4
- package/dist-types/commands/TestDNSAnswerCommand.d.ts +3 -2
- package/dist-types/commands/UpdateHealthCheckCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTrafficPolicyInstanceCommand.d.ts +15 -8
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +3053 -1877
- package/dist-types/pagination/ListCidrBlocksPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCidrCollectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCidrLocationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restXml.d.ts +18 -0
- package/dist-types/ts3.4/Route53.d.ts +14 -0
- package/dist-types/ts3.4/Route53Client.d.ts +8 -2
- package/dist-types/ts3.4/commands/ChangeCidrCollectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCidrCollectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCidrCollectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCidrBlocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCidrCollectionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCidrLocationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +248 -0
- package/dist-types/ts3.4/pagination/ListCidrBlocksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCidrCollectionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCidrLocationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +18 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.103.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.102.0...v3.103.0) (2022-06-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-route-53:** Add new APIs to support Route 53 IP Based Routing ([d277dd7](https://github.com/aws/aws-sdk-js-v3/commit/d277dd727758767240696db1784b5126823b9f22))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-route-53
|
package/README.md
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Route53 Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
|
|
12
|
+
<p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
|
|
13
|
+
service.</p>
|
|
13
14
|
|
|
14
15
|
## Installing
|
|
15
16
|
|
package/dist-cjs/Route53.js
CHANGED
|
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Route53 = void 0;
|
|
4
4
|
const ActivateKeySigningKeyCommand_1 = require("./commands/ActivateKeySigningKeyCommand");
|
|
5
5
|
const AssociateVPCWithHostedZoneCommand_1 = require("./commands/AssociateVPCWithHostedZoneCommand");
|
|
6
|
+
const ChangeCidrCollectionCommand_1 = require("./commands/ChangeCidrCollectionCommand");
|
|
6
7
|
const ChangeResourceRecordSetsCommand_1 = require("./commands/ChangeResourceRecordSetsCommand");
|
|
7
8
|
const ChangeTagsForResourceCommand_1 = require("./commands/ChangeTagsForResourceCommand");
|
|
9
|
+
const CreateCidrCollectionCommand_1 = require("./commands/CreateCidrCollectionCommand");
|
|
8
10
|
const CreateHealthCheckCommand_1 = require("./commands/CreateHealthCheckCommand");
|
|
9
11
|
const CreateHostedZoneCommand_1 = require("./commands/CreateHostedZoneCommand");
|
|
10
12
|
const CreateKeySigningKeyCommand_1 = require("./commands/CreateKeySigningKeyCommand");
|
|
@@ -15,6 +17,7 @@ const CreateTrafficPolicyInstanceCommand_1 = require("./commands/CreateTrafficPo
|
|
|
15
17
|
const CreateTrafficPolicyVersionCommand_1 = require("./commands/CreateTrafficPolicyVersionCommand");
|
|
16
18
|
const CreateVPCAssociationAuthorizationCommand_1 = require("./commands/CreateVPCAssociationAuthorizationCommand");
|
|
17
19
|
const DeactivateKeySigningKeyCommand_1 = require("./commands/DeactivateKeySigningKeyCommand");
|
|
20
|
+
const DeleteCidrCollectionCommand_1 = require("./commands/DeleteCidrCollectionCommand");
|
|
18
21
|
const DeleteHealthCheckCommand_1 = require("./commands/DeleteHealthCheckCommand");
|
|
19
22
|
const DeleteHostedZoneCommand_1 = require("./commands/DeleteHostedZoneCommand");
|
|
20
23
|
const DeleteKeySigningKeyCommand_1 = require("./commands/DeleteKeySigningKeyCommand");
|
|
@@ -44,6 +47,9 @@ const GetReusableDelegationSetLimitCommand_1 = require("./commands/GetReusableDe
|
|
|
44
47
|
const GetTrafficPolicyCommand_1 = require("./commands/GetTrafficPolicyCommand");
|
|
45
48
|
const GetTrafficPolicyInstanceCommand_1 = require("./commands/GetTrafficPolicyInstanceCommand");
|
|
46
49
|
const GetTrafficPolicyInstanceCountCommand_1 = require("./commands/GetTrafficPolicyInstanceCountCommand");
|
|
50
|
+
const ListCidrBlocksCommand_1 = require("./commands/ListCidrBlocksCommand");
|
|
51
|
+
const ListCidrCollectionsCommand_1 = require("./commands/ListCidrCollectionsCommand");
|
|
52
|
+
const ListCidrLocationsCommand_1 = require("./commands/ListCidrLocationsCommand");
|
|
47
53
|
const ListGeoLocationsCommand_1 = require("./commands/ListGeoLocationsCommand");
|
|
48
54
|
const ListHealthChecksCommand_1 = require("./commands/ListHealthChecksCommand");
|
|
49
55
|
const ListHostedZonesByNameCommand_1 = require("./commands/ListHostedZonesByNameCommand");
|
|
@@ -95,6 +101,20 @@ class Route53 extends Route53Client_1.Route53Client {
|
|
|
95
101
|
return this.send(command, optionsOrCb);
|
|
96
102
|
}
|
|
97
103
|
}
|
|
104
|
+
changeCidrCollection(args, optionsOrCb, cb) {
|
|
105
|
+
const command = new ChangeCidrCollectionCommand_1.ChangeCidrCollectionCommand(args);
|
|
106
|
+
if (typeof optionsOrCb === "function") {
|
|
107
|
+
this.send(command, optionsOrCb);
|
|
108
|
+
}
|
|
109
|
+
else if (typeof cb === "function") {
|
|
110
|
+
if (typeof optionsOrCb !== "object")
|
|
111
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
112
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
return this.send(command, optionsOrCb);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
98
118
|
changeResourceRecordSets(args, optionsOrCb, cb) {
|
|
99
119
|
const command = new ChangeResourceRecordSetsCommand_1.ChangeResourceRecordSetsCommand(args);
|
|
100
120
|
if (typeof optionsOrCb === "function") {
|
|
@@ -123,6 +143,20 @@ class Route53 extends Route53Client_1.Route53Client {
|
|
|
123
143
|
return this.send(command, optionsOrCb);
|
|
124
144
|
}
|
|
125
145
|
}
|
|
146
|
+
createCidrCollection(args, optionsOrCb, cb) {
|
|
147
|
+
const command = new CreateCidrCollectionCommand_1.CreateCidrCollectionCommand(args);
|
|
148
|
+
if (typeof optionsOrCb === "function") {
|
|
149
|
+
this.send(command, optionsOrCb);
|
|
150
|
+
}
|
|
151
|
+
else if (typeof cb === "function") {
|
|
152
|
+
if (typeof optionsOrCb !== "object")
|
|
153
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
154
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
return this.send(command, optionsOrCb);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
126
160
|
createHealthCheck(args, optionsOrCb, cb) {
|
|
127
161
|
const command = new CreateHealthCheckCommand_1.CreateHealthCheckCommand(args);
|
|
128
162
|
if (typeof optionsOrCb === "function") {
|
|
@@ -263,6 +297,20 @@ class Route53 extends Route53Client_1.Route53Client {
|
|
|
263
297
|
return this.send(command, optionsOrCb);
|
|
264
298
|
}
|
|
265
299
|
}
|
|
300
|
+
deleteCidrCollection(args, optionsOrCb, cb) {
|
|
301
|
+
const command = new DeleteCidrCollectionCommand_1.DeleteCidrCollectionCommand(args);
|
|
302
|
+
if (typeof optionsOrCb === "function") {
|
|
303
|
+
this.send(command, optionsOrCb);
|
|
304
|
+
}
|
|
305
|
+
else if (typeof cb === "function") {
|
|
306
|
+
if (typeof optionsOrCb !== "object")
|
|
307
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
308
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
return this.send(command, optionsOrCb);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
266
314
|
deleteHealthCheck(args, optionsOrCb, cb) {
|
|
267
315
|
const command = new DeleteHealthCheckCommand_1.DeleteHealthCheckCommand(args);
|
|
268
316
|
if (typeof optionsOrCb === "function") {
|
|
@@ -669,6 +717,48 @@ class Route53 extends Route53Client_1.Route53Client {
|
|
|
669
717
|
return this.send(command, optionsOrCb);
|
|
670
718
|
}
|
|
671
719
|
}
|
|
720
|
+
listCidrBlocks(args, optionsOrCb, cb) {
|
|
721
|
+
const command = new ListCidrBlocksCommand_1.ListCidrBlocksCommand(args);
|
|
722
|
+
if (typeof optionsOrCb === "function") {
|
|
723
|
+
this.send(command, optionsOrCb);
|
|
724
|
+
}
|
|
725
|
+
else if (typeof cb === "function") {
|
|
726
|
+
if (typeof optionsOrCb !== "object")
|
|
727
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
728
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
729
|
+
}
|
|
730
|
+
else {
|
|
731
|
+
return this.send(command, optionsOrCb);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
listCidrCollections(args, optionsOrCb, cb) {
|
|
735
|
+
const command = new ListCidrCollectionsCommand_1.ListCidrCollectionsCommand(args);
|
|
736
|
+
if (typeof optionsOrCb === "function") {
|
|
737
|
+
this.send(command, optionsOrCb);
|
|
738
|
+
}
|
|
739
|
+
else if (typeof cb === "function") {
|
|
740
|
+
if (typeof optionsOrCb !== "object")
|
|
741
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
742
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
743
|
+
}
|
|
744
|
+
else {
|
|
745
|
+
return this.send(command, optionsOrCb);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
listCidrLocations(args, optionsOrCb, cb) {
|
|
749
|
+
const command = new ListCidrLocationsCommand_1.ListCidrLocationsCommand(args);
|
|
750
|
+
if (typeof optionsOrCb === "function") {
|
|
751
|
+
this.send(command, optionsOrCb);
|
|
752
|
+
}
|
|
753
|
+
else if (typeof cb === "function") {
|
|
754
|
+
if (typeof optionsOrCb !== "object")
|
|
755
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
756
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
757
|
+
}
|
|
758
|
+
else {
|
|
759
|
+
return this.send(command, optionsOrCb);
|
|
760
|
+
}
|
|
761
|
+
}
|
|
672
762
|
listGeoLocations(args, optionsOrCb, cb) {
|
|
673
763
|
const command = new ListGeoLocationsCommand_1.ListGeoLocationsCommand(args);
|
|
674
764
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChangeCidrCollectionCommand = void 0;
|
|
4
|
+
const middleware_sdk_route53_1 = require("@aws-sdk/middleware-sdk-route53");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
9
|
+
class ChangeCidrCollectionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_sdk_route53_1.getIdNormalizerPlugin)(configuration));
|
|
17
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
const { logger } = configuration;
|
|
19
|
+
const clientName = "Route53Client";
|
|
20
|
+
const commandName = "ChangeCidrCollectionCommand";
|
|
21
|
+
const handlerExecutionContext = {
|
|
22
|
+
logger,
|
|
23
|
+
clientName,
|
|
24
|
+
commandName,
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.ChangeCidrCollectionRequest.filterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.ChangeCidrCollectionResponse.filterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
const { requestHandler } = configuration;
|
|
29
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
+
}
|
|
31
|
+
serialize(input, context) {
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlChangeCidrCollectionCommand)(input, context);
|
|
33
|
+
}
|
|
34
|
+
deserialize(output, context) {
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlChangeCidrCollectionCommand)(output, context);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.ChangeCidrCollectionCommand = ChangeCidrCollectionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateCidrCollectionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class CreateCidrCollectionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Route53Client";
|
|
18
|
+
const commandName = "CreateCidrCollectionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateCidrCollectionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateCidrCollectionResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlCreateCidrCollectionCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlCreateCidrCollectionCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateCidrCollectionCommand = CreateCidrCollectionCommand;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteCidrCollectionCommand = void 0;
|
|
4
|
+
const middleware_sdk_route53_1 = require("@aws-sdk/middleware-sdk-route53");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
9
|
+
class DeleteCidrCollectionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_sdk_route53_1.getIdNormalizerPlugin)(configuration));
|
|
17
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
const { logger } = configuration;
|
|
19
|
+
const clientName = "Route53Client";
|
|
20
|
+
const commandName = "DeleteCidrCollectionCommand";
|
|
21
|
+
const handlerExecutionContext = {
|
|
22
|
+
logger,
|
|
23
|
+
clientName,
|
|
24
|
+
commandName,
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.DeleteCidrCollectionRequest.filterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.DeleteCidrCollectionResponse.filterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
const { requestHandler } = configuration;
|
|
29
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
+
}
|
|
31
|
+
serialize(input, context) {
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteCidrCollectionCommand)(input, context);
|
|
33
|
+
}
|
|
34
|
+
deserialize(output, context) {
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteCidrCollectionCommand)(output, context);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.DeleteCidrCollectionCommand = DeleteCidrCollectionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCidrBlocksCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class ListCidrBlocksCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Route53Client";
|
|
18
|
+
const commandName = "ListCidrBlocksCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListCidrBlocksRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListCidrBlocksResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListCidrBlocksCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListCidrBlocksCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListCidrBlocksCommand = ListCidrBlocksCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCidrCollectionsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class ListCidrCollectionsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Route53Client";
|
|
18
|
+
const commandName = "ListCidrCollectionsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListCidrCollectionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListCidrCollectionsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListCidrCollectionsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListCidrCollectionsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListCidrCollectionsCommand = ListCidrCollectionsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCidrLocationsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
+
class ListCidrLocationsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Route53Client";
|
|
18
|
+
const commandName = "ListCidrLocationsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListCidrLocationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListCidrLocationsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListCidrLocationsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListCidrLocationsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListCidrLocationsCommand = ListCidrLocationsCommand;
|
|
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./ActivateKeySigningKeyCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./AssociateVPCWithHostedZoneCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ChangeCidrCollectionCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ChangeResourceRecordSetsCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ChangeTagsForResourceCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateCidrCollectionCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./CreateHealthCheckCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./CreateHostedZoneCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./CreateKeySigningKeyCommand"), exports);
|
|
@@ -15,6 +17,7 @@ tslib_1.__exportStar(require("./CreateTrafficPolicyInstanceCommand"), exports);
|
|
|
15
17
|
tslib_1.__exportStar(require("./CreateTrafficPolicyVersionCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./CreateVPCAssociationAuthorizationCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./DeactivateKeySigningKeyCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteCidrCollectionCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./DeleteHealthCheckCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./DeleteHostedZoneCommand"), exports);
|
|
20
23
|
tslib_1.__exportStar(require("./DeleteKeySigningKeyCommand"), exports);
|
|
@@ -44,6 +47,9 @@ tslib_1.__exportStar(require("./GetReusableDelegationSetLimitCommand"), exports)
|
|
|
44
47
|
tslib_1.__exportStar(require("./GetTrafficPolicyCommand"), exports);
|
|
45
48
|
tslib_1.__exportStar(require("./GetTrafficPolicyInstanceCommand"), exports);
|
|
46
49
|
tslib_1.__exportStar(require("./GetTrafficPolicyInstanceCountCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./ListCidrBlocksCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./ListCidrCollectionsCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./ListCidrLocationsCommand"), exports);
|
|
47
53
|
tslib_1.__exportStar(require("./ListGeoLocationsCommand"), exports);
|
|
48
54
|
tslib_1.__exportStar(require("./ListHealthChecksCommand"), exports);
|
|
49
55
|
tslib_1.__exportStar(require("./ListHostedZonesByNameCommand"), exports);
|