@aws-sdk/client-route-53 3.200.0 → 3.201.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/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_restXml.js +77 -81
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/package.json +36 -36
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.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-route-53
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "route53",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -12,7 +12,7 @@ const Route53ServiceException_1 = require("../models/Route53ServiceException");
|
|
|
12
12
|
const serializeAws_restXmlActivateKeySigningKeyCommand = async (input, context) => {
|
|
13
13
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
14
14
|
const headers = {};
|
|
15
|
-
let resolvedPath = `${
|
|
15
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
16
16
|
"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/activate";
|
|
17
17
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
18
18
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
@@ -33,7 +33,7 @@ const serializeAws_restXmlAssociateVPCWithHostedZoneCommand = async (input, cont
|
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/xml",
|
|
35
35
|
};
|
|
36
|
-
let resolvedPath = `${
|
|
36
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
37
37
|
"/2013-04-01/hostedzone/{HostedZoneId}/associatevpc";
|
|
38
38
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
39
39
|
let body;
|
|
@@ -65,7 +65,7 @@ const serializeAws_restXmlChangeCidrCollectionCommand = async (input, context) =
|
|
|
65
65
|
const headers = {
|
|
66
66
|
"content-type": "application/xml",
|
|
67
67
|
};
|
|
68
|
-
let resolvedPath = `${
|
|
68
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/cidrcollection/{Id}";
|
|
69
69
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
70
70
|
let body;
|
|
71
71
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -100,7 +100,7 @@ const serializeAws_restXmlChangeResourceRecordSetsCommand = async (input, contex
|
|
|
100
100
|
const headers = {
|
|
101
101
|
"content-type": "application/xml",
|
|
102
102
|
};
|
|
103
|
-
let resolvedPath = `${
|
|
103
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
104
104
|
"/2013-04-01/hostedzone/{HostedZoneId}/rrset";
|
|
105
105
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
106
106
|
let body;
|
|
@@ -128,7 +128,7 @@ const serializeAws_restXmlChangeTagsForResourceCommand = async (input, context)
|
|
|
128
128
|
const headers = {
|
|
129
129
|
"content-type": "application/xml",
|
|
130
130
|
};
|
|
131
|
-
let resolvedPath = `${
|
|
131
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
132
132
|
"/2013-04-01/tags/{ResourceType}/{ResourceId}";
|
|
133
133
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceType", () => input.ResourceType, "{ResourceType}", false);
|
|
134
134
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceId", () => input.ResourceId, "{ResourceId}", false);
|
|
@@ -169,7 +169,7 @@ const serializeAws_restXmlCreateCidrCollectionCommand = async (input, context) =
|
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/xml",
|
|
171
171
|
};
|
|
172
|
-
const resolvedPath = `${
|
|
172
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/cidrcollection";
|
|
173
173
|
let body;
|
|
174
174
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
175
175
|
const bodyNode = new xml_builder_1.XmlNode("CreateCidrCollectionRequest");
|
|
@@ -199,7 +199,7 @@ const serializeAws_restXmlCreateHealthCheckCommand = async (input, context) => {
|
|
|
199
199
|
const headers = {
|
|
200
200
|
"content-type": "application/xml",
|
|
201
201
|
};
|
|
202
|
-
const resolvedPath = `${
|
|
202
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/healthcheck";
|
|
203
203
|
let body;
|
|
204
204
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
205
205
|
const bodyNode = new xml_builder_1.XmlNode("CreateHealthCheckRequest");
|
|
@@ -229,7 +229,7 @@ const serializeAws_restXmlCreateHostedZoneCommand = async (input, context) => {
|
|
|
229
229
|
const headers = {
|
|
230
230
|
"content-type": "application/xml",
|
|
231
231
|
};
|
|
232
|
-
const resolvedPath = `${
|
|
232
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzone";
|
|
233
233
|
let body;
|
|
234
234
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
235
235
|
const bodyNode = new xml_builder_1.XmlNode("CreateHostedZoneRequest");
|
|
@@ -271,7 +271,7 @@ const serializeAws_restXmlCreateKeySigningKeyCommand = async (input, context) =>
|
|
|
271
271
|
const headers = {
|
|
272
272
|
"content-type": "application/xml",
|
|
273
273
|
};
|
|
274
|
-
const resolvedPath = `${
|
|
274
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/keysigningkey";
|
|
275
275
|
let body;
|
|
276
276
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
277
277
|
const bodyNode = new xml_builder_1.XmlNode("CreateKeySigningKeyRequest");
|
|
@@ -313,7 +313,7 @@ const serializeAws_restXmlCreateQueryLoggingConfigCommand = async (input, contex
|
|
|
313
313
|
const headers = {
|
|
314
314
|
"content-type": "application/xml",
|
|
315
315
|
};
|
|
316
|
-
const resolvedPath = `${
|
|
316
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/queryloggingconfig";
|
|
317
317
|
let body;
|
|
318
318
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
319
319
|
const bodyNode = new xml_builder_1.XmlNode("CreateQueryLoggingConfigRequest");
|
|
@@ -345,7 +345,7 @@ const serializeAws_restXmlCreateReusableDelegationSetCommand = async (input, con
|
|
|
345
345
|
const headers = {
|
|
346
346
|
"content-type": "application/xml",
|
|
347
347
|
};
|
|
348
|
-
const resolvedPath = `${
|
|
348
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/delegationset";
|
|
349
349
|
let body;
|
|
350
350
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
351
351
|
const bodyNode = new xml_builder_1.XmlNode("CreateReusableDelegationSetRequest");
|
|
@@ -375,7 +375,7 @@ const serializeAws_restXmlCreateTrafficPolicyCommand = async (input, context) =>
|
|
|
375
375
|
const headers = {
|
|
376
376
|
"content-type": "application/xml",
|
|
377
377
|
};
|
|
378
|
-
const resolvedPath = `${
|
|
378
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicy";
|
|
379
379
|
let body;
|
|
380
380
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
381
381
|
const bodyNode = new xml_builder_1.XmlNode("CreateTrafficPolicyRequest");
|
|
@@ -409,7 +409,7 @@ const serializeAws_restXmlCreateTrafficPolicyInstanceCommand = async (input, con
|
|
|
409
409
|
const headers = {
|
|
410
410
|
"content-type": "application/xml",
|
|
411
411
|
};
|
|
412
|
-
const resolvedPath = `${
|
|
412
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicyinstance";
|
|
413
413
|
let body;
|
|
414
414
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
415
415
|
const bodyNode = new xml_builder_1.XmlNode("CreateTrafficPolicyInstanceRequest");
|
|
@@ -453,7 +453,7 @@ const serializeAws_restXmlCreateTrafficPolicyVersionCommand = async (input, cont
|
|
|
453
453
|
const headers = {
|
|
454
454
|
"content-type": "application/xml",
|
|
455
455
|
};
|
|
456
|
-
let resolvedPath = `${
|
|
456
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicy/{Id}";
|
|
457
457
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
458
458
|
let body;
|
|
459
459
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -484,7 +484,7 @@ const serializeAws_restXmlCreateVPCAssociationAuthorizationCommand = async (inpu
|
|
|
484
484
|
const headers = {
|
|
485
485
|
"content-type": "application/xml",
|
|
486
486
|
};
|
|
487
|
-
let resolvedPath = `${
|
|
487
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
488
488
|
"/2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation";
|
|
489
489
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
490
490
|
let body;
|
|
@@ -510,7 +510,7 @@ exports.serializeAws_restXmlCreateVPCAssociationAuthorizationCommand = serialize
|
|
|
510
510
|
const serializeAws_restXmlDeactivateKeySigningKeyCommand = async (input, context) => {
|
|
511
511
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
512
512
|
const headers = {};
|
|
513
|
-
let resolvedPath = `${
|
|
513
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
514
514
|
"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate";
|
|
515
515
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
516
516
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
@@ -529,7 +529,7 @@ exports.serializeAws_restXmlDeactivateKeySigningKeyCommand = serializeAws_restXm
|
|
|
529
529
|
const serializeAws_restXmlDeleteCidrCollectionCommand = async (input, context) => {
|
|
530
530
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
531
531
|
const headers = {};
|
|
532
|
-
let resolvedPath = `${
|
|
532
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/cidrcollection/{Id}";
|
|
533
533
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
534
534
|
let body;
|
|
535
535
|
return new protocol_http_1.HttpRequest({
|
|
@@ -546,7 +546,7 @@ exports.serializeAws_restXmlDeleteCidrCollectionCommand = serializeAws_restXmlDe
|
|
|
546
546
|
const serializeAws_restXmlDeleteHealthCheckCommand = async (input, context) => {
|
|
547
547
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
548
548
|
const headers = {};
|
|
549
|
-
let resolvedPath = `${
|
|
549
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/healthcheck/{HealthCheckId}";
|
|
550
550
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HealthCheckId", () => input.HealthCheckId, "{HealthCheckId}", false);
|
|
551
551
|
let body;
|
|
552
552
|
return new protocol_http_1.HttpRequest({
|
|
@@ -563,7 +563,7 @@ exports.serializeAws_restXmlDeleteHealthCheckCommand = serializeAws_restXmlDelet
|
|
|
563
563
|
const serializeAws_restXmlDeleteHostedZoneCommand = async (input, context) => {
|
|
564
564
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
565
565
|
const headers = {};
|
|
566
|
-
let resolvedPath = `${
|
|
566
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzone/{Id}";
|
|
567
567
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
568
568
|
let body;
|
|
569
569
|
return new protocol_http_1.HttpRequest({
|
|
@@ -580,7 +580,7 @@ exports.serializeAws_restXmlDeleteHostedZoneCommand = serializeAws_restXmlDelete
|
|
|
580
580
|
const serializeAws_restXmlDeleteKeySigningKeyCommand = async (input, context) => {
|
|
581
581
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
582
582
|
const headers = {};
|
|
583
|
-
let resolvedPath = `${
|
|
583
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
584
584
|
"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}";
|
|
585
585
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
586
586
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
@@ -599,7 +599,7 @@ exports.serializeAws_restXmlDeleteKeySigningKeyCommand = serializeAws_restXmlDel
|
|
|
599
599
|
const serializeAws_restXmlDeleteQueryLoggingConfigCommand = async (input, context) => {
|
|
600
600
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
601
601
|
const headers = {};
|
|
602
|
-
let resolvedPath = `${
|
|
602
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/queryloggingconfig/{Id}";
|
|
603
603
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
604
604
|
let body;
|
|
605
605
|
return new protocol_http_1.HttpRequest({
|
|
@@ -616,7 +616,7 @@ exports.serializeAws_restXmlDeleteQueryLoggingConfigCommand = serializeAws_restX
|
|
|
616
616
|
const serializeAws_restXmlDeleteReusableDelegationSetCommand = async (input, context) => {
|
|
617
617
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
618
618
|
const headers = {};
|
|
619
|
-
let resolvedPath = `${
|
|
619
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/delegationset/{Id}";
|
|
620
620
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
621
621
|
let body;
|
|
622
622
|
return new protocol_http_1.HttpRequest({
|
|
@@ -633,7 +633,7 @@ exports.serializeAws_restXmlDeleteReusableDelegationSetCommand = serializeAws_re
|
|
|
633
633
|
const serializeAws_restXmlDeleteTrafficPolicyCommand = async (input, context) => {
|
|
634
634
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
635
635
|
const headers = {};
|
|
636
|
-
let resolvedPath = `${
|
|
636
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicy/{Id}/{Version}";
|
|
637
637
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
638
638
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Version", () => input.Version.toString(), "{Version}", false);
|
|
639
639
|
let body;
|
|
@@ -651,7 +651,7 @@ exports.serializeAws_restXmlDeleteTrafficPolicyCommand = serializeAws_restXmlDel
|
|
|
651
651
|
const serializeAws_restXmlDeleteTrafficPolicyInstanceCommand = async (input, context) => {
|
|
652
652
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
653
653
|
const headers = {};
|
|
654
|
-
let resolvedPath = `${
|
|
654
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicyinstance/{Id}";
|
|
655
655
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
656
656
|
let body;
|
|
657
657
|
return new protocol_http_1.HttpRequest({
|
|
@@ -670,7 +670,7 @@ const serializeAws_restXmlDeleteVPCAssociationAuthorizationCommand = async (inpu
|
|
|
670
670
|
const headers = {
|
|
671
671
|
"content-type": "application/xml",
|
|
672
672
|
};
|
|
673
|
-
let resolvedPath = `${
|
|
673
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
674
674
|
"/2013-04-01/hostedzone/{HostedZoneId}/deauthorizevpcassociation";
|
|
675
675
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
676
676
|
let body;
|
|
@@ -696,7 +696,7 @@ exports.serializeAws_restXmlDeleteVPCAssociationAuthorizationCommand = serialize
|
|
|
696
696
|
const serializeAws_restXmlDisableHostedZoneDNSSECCommand = async (input, context) => {
|
|
697
697
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
698
698
|
const headers = {};
|
|
699
|
-
let resolvedPath = `${
|
|
699
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
700
700
|
"/2013-04-01/hostedzone/{HostedZoneId}/disable-dnssec";
|
|
701
701
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
702
702
|
let body;
|
|
@@ -716,7 +716,7 @@ const serializeAws_restXmlDisassociateVPCFromHostedZoneCommand = async (input, c
|
|
|
716
716
|
const headers = {
|
|
717
717
|
"content-type": "application/xml",
|
|
718
718
|
};
|
|
719
|
-
let resolvedPath = `${
|
|
719
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
720
720
|
"/2013-04-01/hostedzone/{HostedZoneId}/disassociatevpc";
|
|
721
721
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
722
722
|
let body;
|
|
@@ -746,7 +746,7 @@ exports.serializeAws_restXmlDisassociateVPCFromHostedZoneCommand = serializeAws_
|
|
|
746
746
|
const serializeAws_restXmlEnableHostedZoneDNSSECCommand = async (input, context) => {
|
|
747
747
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
748
748
|
const headers = {};
|
|
749
|
-
let resolvedPath = `${
|
|
749
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
750
750
|
"/2013-04-01/hostedzone/{HostedZoneId}/enable-dnssec";
|
|
751
751
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
752
752
|
let body;
|
|
@@ -764,7 +764,7 @@ exports.serializeAws_restXmlEnableHostedZoneDNSSECCommand = serializeAws_restXml
|
|
|
764
764
|
const serializeAws_restXmlGetAccountLimitCommand = async (input, context) => {
|
|
765
765
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
766
766
|
const headers = {};
|
|
767
|
-
let resolvedPath = `${
|
|
767
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/accountlimit/{Type}";
|
|
768
768
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Type", () => input.Type, "{Type}", false);
|
|
769
769
|
let body;
|
|
770
770
|
return new protocol_http_1.HttpRequest({
|
|
@@ -781,7 +781,7 @@ exports.serializeAws_restXmlGetAccountLimitCommand = serializeAws_restXmlGetAcco
|
|
|
781
781
|
const serializeAws_restXmlGetChangeCommand = async (input, context) => {
|
|
782
782
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
783
783
|
const headers = {};
|
|
784
|
-
let resolvedPath = `${
|
|
784
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/change/{Id}";
|
|
785
785
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
786
786
|
let body;
|
|
787
787
|
return new protocol_http_1.HttpRequest({
|
|
@@ -800,7 +800,7 @@ const serializeAws_restXmlGetCheckerIpRangesCommand = async (input, context) =>
|
|
|
800
800
|
const headers = {
|
|
801
801
|
"content-type": "application/xml",
|
|
802
802
|
};
|
|
803
|
-
const resolvedPath = `${
|
|
803
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/checkeripranges";
|
|
804
804
|
let body;
|
|
805
805
|
body = "";
|
|
806
806
|
return new protocol_http_1.HttpRequest({
|
|
@@ -817,7 +817,7 @@ exports.serializeAws_restXmlGetCheckerIpRangesCommand = serializeAws_restXmlGetC
|
|
|
817
817
|
const serializeAws_restXmlGetDNSSECCommand = async (input, context) => {
|
|
818
818
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
819
819
|
const headers = {};
|
|
820
|
-
let resolvedPath = `${
|
|
820
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
821
821
|
"/2013-04-01/hostedzone/{HostedZoneId}/dnssec";
|
|
822
822
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
823
823
|
let body;
|
|
@@ -835,7 +835,7 @@ exports.serializeAws_restXmlGetDNSSECCommand = serializeAws_restXmlGetDNSSECComm
|
|
|
835
835
|
const serializeAws_restXmlGetGeoLocationCommand = async (input, context) => {
|
|
836
836
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
837
837
|
const headers = {};
|
|
838
|
-
const resolvedPath = `${
|
|
838
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/geolocation";
|
|
839
839
|
const query = map({
|
|
840
840
|
continentcode: [, input.ContinentCode],
|
|
841
841
|
countrycode: [, input.CountryCode],
|
|
@@ -857,7 +857,7 @@ exports.serializeAws_restXmlGetGeoLocationCommand = serializeAws_restXmlGetGeoLo
|
|
|
857
857
|
const serializeAws_restXmlGetHealthCheckCommand = async (input, context) => {
|
|
858
858
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
859
859
|
const headers = {};
|
|
860
|
-
let resolvedPath = `${
|
|
860
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/healthcheck/{HealthCheckId}";
|
|
861
861
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HealthCheckId", () => input.HealthCheckId, "{HealthCheckId}", false);
|
|
862
862
|
let body;
|
|
863
863
|
return new protocol_http_1.HttpRequest({
|
|
@@ -876,7 +876,7 @@ const serializeAws_restXmlGetHealthCheckCountCommand = async (input, context) =>
|
|
|
876
876
|
const headers = {
|
|
877
877
|
"content-type": "application/xml",
|
|
878
878
|
};
|
|
879
|
-
const resolvedPath = `${
|
|
879
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/healthcheckcount";
|
|
880
880
|
let body;
|
|
881
881
|
body = "";
|
|
882
882
|
return new protocol_http_1.HttpRequest({
|
|
@@ -893,7 +893,7 @@ exports.serializeAws_restXmlGetHealthCheckCountCommand = serializeAws_restXmlGet
|
|
|
893
893
|
const serializeAws_restXmlGetHealthCheckLastFailureReasonCommand = async (input, context) => {
|
|
894
894
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
895
895
|
const headers = {};
|
|
896
|
-
let resolvedPath = `${
|
|
896
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
897
897
|
"/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason";
|
|
898
898
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HealthCheckId", () => input.HealthCheckId, "{HealthCheckId}", false);
|
|
899
899
|
let body;
|
|
@@ -911,7 +911,7 @@ exports.serializeAws_restXmlGetHealthCheckLastFailureReasonCommand = serializeAw
|
|
|
911
911
|
const serializeAws_restXmlGetHealthCheckStatusCommand = async (input, context) => {
|
|
912
912
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
913
913
|
const headers = {};
|
|
914
|
-
let resolvedPath = `${
|
|
914
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
915
915
|
"/2013-04-01/healthcheck/{HealthCheckId}/status";
|
|
916
916
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HealthCheckId", () => input.HealthCheckId, "{HealthCheckId}", false);
|
|
917
917
|
let body;
|
|
@@ -929,7 +929,7 @@ exports.serializeAws_restXmlGetHealthCheckStatusCommand = serializeAws_restXmlGe
|
|
|
929
929
|
const serializeAws_restXmlGetHostedZoneCommand = async (input, context) => {
|
|
930
930
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
931
931
|
const headers = {};
|
|
932
|
-
let resolvedPath = `${
|
|
932
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzone/{Id}";
|
|
933
933
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
934
934
|
let body;
|
|
935
935
|
return new protocol_http_1.HttpRequest({
|
|
@@ -948,7 +948,7 @@ const serializeAws_restXmlGetHostedZoneCountCommand = async (input, context) =>
|
|
|
948
948
|
const headers = {
|
|
949
949
|
"content-type": "application/xml",
|
|
950
950
|
};
|
|
951
|
-
const resolvedPath = `${
|
|
951
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzonecount";
|
|
952
952
|
let body;
|
|
953
953
|
body = "";
|
|
954
954
|
return new protocol_http_1.HttpRequest({
|
|
@@ -965,7 +965,7 @@ exports.serializeAws_restXmlGetHostedZoneCountCommand = serializeAws_restXmlGetH
|
|
|
965
965
|
const serializeAws_restXmlGetHostedZoneLimitCommand = async (input, context) => {
|
|
966
966
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
967
967
|
const headers = {};
|
|
968
|
-
let resolvedPath = `${
|
|
968
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
969
969
|
"/2013-04-01/hostedzonelimit/{HostedZoneId}/{Type}";
|
|
970
970
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Type", () => input.Type, "{Type}", false);
|
|
971
971
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
@@ -984,7 +984,7 @@ exports.serializeAws_restXmlGetHostedZoneLimitCommand = serializeAws_restXmlGetH
|
|
|
984
984
|
const serializeAws_restXmlGetQueryLoggingConfigCommand = async (input, context) => {
|
|
985
985
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
986
986
|
const headers = {};
|
|
987
|
-
let resolvedPath = `${
|
|
987
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/queryloggingconfig/{Id}";
|
|
988
988
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
989
989
|
let body;
|
|
990
990
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1001,7 +1001,7 @@ exports.serializeAws_restXmlGetQueryLoggingConfigCommand = serializeAws_restXmlG
|
|
|
1001
1001
|
const serializeAws_restXmlGetReusableDelegationSetCommand = async (input, context) => {
|
|
1002
1002
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1003
1003
|
const headers = {};
|
|
1004
|
-
let resolvedPath = `${
|
|
1004
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/delegationset/{Id}";
|
|
1005
1005
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1006
1006
|
let body;
|
|
1007
1007
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1018,7 +1018,7 @@ exports.serializeAws_restXmlGetReusableDelegationSetCommand = serializeAws_restX
|
|
|
1018
1018
|
const serializeAws_restXmlGetReusableDelegationSetLimitCommand = async (input, context) => {
|
|
1019
1019
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1020
1020
|
const headers = {};
|
|
1021
|
-
let resolvedPath = `${
|
|
1021
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1022
1022
|
"/2013-04-01/reusabledelegationsetlimit/{DelegationSetId}/{Type}";
|
|
1023
1023
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Type", () => input.Type, "{Type}", false);
|
|
1024
1024
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DelegationSetId", () => input.DelegationSetId, "{DelegationSetId}", false);
|
|
@@ -1037,7 +1037,7 @@ exports.serializeAws_restXmlGetReusableDelegationSetLimitCommand = serializeAws_
|
|
|
1037
1037
|
const serializeAws_restXmlGetTrafficPolicyCommand = async (input, context) => {
|
|
1038
1038
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1039
1039
|
const headers = {};
|
|
1040
|
-
let resolvedPath = `${
|
|
1040
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicy/{Id}/{Version}";
|
|
1041
1041
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1042
1042
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Version", () => input.Version.toString(), "{Version}", false);
|
|
1043
1043
|
let body;
|
|
@@ -1055,7 +1055,7 @@ exports.serializeAws_restXmlGetTrafficPolicyCommand = serializeAws_restXmlGetTra
|
|
|
1055
1055
|
const serializeAws_restXmlGetTrafficPolicyInstanceCommand = async (input, context) => {
|
|
1056
1056
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1057
1057
|
const headers = {};
|
|
1058
|
-
let resolvedPath = `${
|
|
1058
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicyinstance/{Id}";
|
|
1059
1059
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1060
1060
|
let body;
|
|
1061
1061
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1074,7 +1074,7 @@ const serializeAws_restXmlGetTrafficPolicyInstanceCountCommand = async (input, c
|
|
|
1074
1074
|
const headers = {
|
|
1075
1075
|
"content-type": "application/xml",
|
|
1076
1076
|
};
|
|
1077
|
-
const resolvedPath = `${
|
|
1077
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicyinstancecount";
|
|
1078
1078
|
let body;
|
|
1079
1079
|
body = "";
|
|
1080
1080
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1091,7 +1091,7 @@ exports.serializeAws_restXmlGetTrafficPolicyInstanceCountCommand = serializeAws_
|
|
|
1091
1091
|
const serializeAws_restXmlListCidrBlocksCommand = async (input, context) => {
|
|
1092
1092
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1093
1093
|
const headers = {};
|
|
1094
|
-
let resolvedPath = `${
|
|
1094
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1095
1095
|
"/2013-04-01/cidrcollection/{CollectionId}/cidrblocks";
|
|
1096
1096
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CollectionId", () => input.CollectionId, "{CollectionId}", false);
|
|
1097
1097
|
const query = map({
|
|
@@ -1115,7 +1115,7 @@ exports.serializeAws_restXmlListCidrBlocksCommand = serializeAws_restXmlListCidr
|
|
|
1115
1115
|
const serializeAws_restXmlListCidrCollectionsCommand = async (input, context) => {
|
|
1116
1116
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1117
1117
|
const headers = {};
|
|
1118
|
-
const resolvedPath = `${
|
|
1118
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/cidrcollection";
|
|
1119
1119
|
const query = map({
|
|
1120
1120
|
nexttoken: [, input.NextToken],
|
|
1121
1121
|
maxresults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
@@ -1136,7 +1136,7 @@ exports.serializeAws_restXmlListCidrCollectionsCommand = serializeAws_restXmlLis
|
|
|
1136
1136
|
const serializeAws_restXmlListCidrLocationsCommand = async (input, context) => {
|
|
1137
1137
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1138
1138
|
const headers = {};
|
|
1139
|
-
let resolvedPath = `${
|
|
1139
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/cidrcollection/{CollectionId}";
|
|
1140
1140
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CollectionId", () => input.CollectionId, "{CollectionId}", false);
|
|
1141
1141
|
const query = map({
|
|
1142
1142
|
nexttoken: [, input.NextToken],
|
|
@@ -1158,7 +1158,7 @@ exports.serializeAws_restXmlListCidrLocationsCommand = serializeAws_restXmlListC
|
|
|
1158
1158
|
const serializeAws_restXmlListGeoLocationsCommand = async (input, context) => {
|
|
1159
1159
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1160
1160
|
const headers = {};
|
|
1161
|
-
const resolvedPath = `${
|
|
1161
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/geolocations";
|
|
1162
1162
|
const query = map({
|
|
1163
1163
|
startcontinentcode: [, input.StartContinentCode],
|
|
1164
1164
|
startcountrycode: [, input.StartCountryCode],
|
|
@@ -1181,7 +1181,7 @@ exports.serializeAws_restXmlListGeoLocationsCommand = serializeAws_restXmlListGe
|
|
|
1181
1181
|
const serializeAws_restXmlListHealthChecksCommand = async (input, context) => {
|
|
1182
1182
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1183
1183
|
const headers = {};
|
|
1184
|
-
const resolvedPath = `${
|
|
1184
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/healthcheck";
|
|
1185
1185
|
const query = map({
|
|
1186
1186
|
marker: [, input.Marker],
|
|
1187
1187
|
maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
@@ -1202,7 +1202,7 @@ exports.serializeAws_restXmlListHealthChecksCommand = serializeAws_restXmlListHe
|
|
|
1202
1202
|
const serializeAws_restXmlListHostedZonesCommand = async (input, context) => {
|
|
1203
1203
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1204
1204
|
const headers = {};
|
|
1205
|
-
const resolvedPath = `${
|
|
1205
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzone";
|
|
1206
1206
|
const query = map({
|
|
1207
1207
|
marker: [, input.Marker],
|
|
1208
1208
|
maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
@@ -1224,7 +1224,7 @@ exports.serializeAws_restXmlListHostedZonesCommand = serializeAws_restXmlListHos
|
|
|
1224
1224
|
const serializeAws_restXmlListHostedZonesByNameCommand = async (input, context) => {
|
|
1225
1225
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1226
1226
|
const headers = {};
|
|
1227
|
-
const resolvedPath = `${
|
|
1227
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzonesbyname";
|
|
1228
1228
|
const query = map({
|
|
1229
1229
|
dnsname: [, input.DNSName],
|
|
1230
1230
|
hostedzoneid: [, input.HostedZoneId],
|
|
@@ -1246,7 +1246,7 @@ exports.serializeAws_restXmlListHostedZonesByNameCommand = serializeAws_restXmlL
|
|
|
1246
1246
|
const serializeAws_restXmlListHostedZonesByVPCCommand = async (input, context) => {
|
|
1247
1247
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1248
1248
|
const headers = {};
|
|
1249
|
-
const resolvedPath = `${
|
|
1249
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzonesbyvpc";
|
|
1250
1250
|
const query = map({
|
|
1251
1251
|
vpcid: [, input.VPCId],
|
|
1252
1252
|
vpcregion: [, input.VPCRegion],
|
|
@@ -1269,7 +1269,7 @@ exports.serializeAws_restXmlListHostedZonesByVPCCommand = serializeAws_restXmlLi
|
|
|
1269
1269
|
const serializeAws_restXmlListQueryLoggingConfigsCommand = async (input, context) => {
|
|
1270
1270
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1271
1271
|
const headers = {};
|
|
1272
|
-
const resolvedPath = `${
|
|
1272
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/queryloggingconfig";
|
|
1273
1273
|
const query = map({
|
|
1274
1274
|
hostedzoneid: [, input.HostedZoneId],
|
|
1275
1275
|
nexttoken: [, input.NextToken],
|
|
@@ -1291,7 +1291,7 @@ exports.serializeAws_restXmlListQueryLoggingConfigsCommand = serializeAws_restXm
|
|
|
1291
1291
|
const serializeAws_restXmlListResourceRecordSetsCommand = async (input, context) => {
|
|
1292
1292
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1293
1293
|
const headers = {};
|
|
1294
|
-
let resolvedPath = `${
|
|
1294
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1295
1295
|
"/2013-04-01/hostedzone/{HostedZoneId}/rrset";
|
|
1296
1296
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
1297
1297
|
const query = map({
|
|
@@ -1316,7 +1316,7 @@ exports.serializeAws_restXmlListResourceRecordSetsCommand = serializeAws_restXml
|
|
|
1316
1316
|
const serializeAws_restXmlListReusableDelegationSetsCommand = async (input, context) => {
|
|
1317
1317
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1318
1318
|
const headers = {};
|
|
1319
|
-
const resolvedPath = `${
|
|
1319
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/delegationset";
|
|
1320
1320
|
const query = map({
|
|
1321
1321
|
marker: [, input.Marker],
|
|
1322
1322
|
maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
@@ -1337,7 +1337,7 @@ exports.serializeAws_restXmlListReusableDelegationSetsCommand = serializeAws_res
|
|
|
1337
1337
|
const serializeAws_restXmlListTagsForResourceCommand = async (input, context) => {
|
|
1338
1338
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1339
1339
|
const headers = {};
|
|
1340
|
-
let resolvedPath = `${
|
|
1340
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1341
1341
|
"/2013-04-01/tags/{ResourceType}/{ResourceId}";
|
|
1342
1342
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceType", () => input.ResourceType, "{ResourceType}", false);
|
|
1343
1343
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceId", () => input.ResourceId, "{ResourceId}", false);
|
|
@@ -1358,7 +1358,7 @@ const serializeAws_restXmlListTagsForResourcesCommand = async (input, context) =
|
|
|
1358
1358
|
const headers = {
|
|
1359
1359
|
"content-type": "application/xml",
|
|
1360
1360
|
};
|
|
1361
|
-
let resolvedPath = `${
|
|
1361
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/tags/{ResourceType}";
|
|
1362
1362
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceType", () => input.ResourceType, "{ResourceType}", false);
|
|
1363
1363
|
let body;
|
|
1364
1364
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1387,7 +1387,7 @@ exports.serializeAws_restXmlListTagsForResourcesCommand = serializeAws_restXmlLi
|
|
|
1387
1387
|
const serializeAws_restXmlListTrafficPoliciesCommand = async (input, context) => {
|
|
1388
1388
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1389
1389
|
const headers = {};
|
|
1390
|
-
const resolvedPath = `${
|
|
1390
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicies";
|
|
1391
1391
|
const query = map({
|
|
1392
1392
|
trafficpolicyid: [, input.TrafficPolicyIdMarker],
|
|
1393
1393
|
maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
@@ -1408,7 +1408,7 @@ exports.serializeAws_restXmlListTrafficPoliciesCommand = serializeAws_restXmlLis
|
|
|
1408
1408
|
const serializeAws_restXmlListTrafficPolicyInstancesCommand = async (input, context) => {
|
|
1409
1409
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1410
1410
|
const headers = {};
|
|
1411
|
-
const resolvedPath = `${
|
|
1411
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicyinstances";
|
|
1412
1412
|
const query = map({
|
|
1413
1413
|
hostedzoneid: [, input.HostedZoneIdMarker],
|
|
1414
1414
|
trafficpolicyinstancename: [, input.TrafficPolicyInstanceNameMarker],
|
|
@@ -1431,7 +1431,7 @@ exports.serializeAws_restXmlListTrafficPolicyInstancesCommand = serializeAws_res
|
|
|
1431
1431
|
const serializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand = async (input, context) => {
|
|
1432
1432
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1433
1433
|
const headers = {};
|
|
1434
|
-
const resolvedPath = `${
|
|
1434
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1435
1435
|
"/2013-04-01/trafficpolicyinstances/hostedzone";
|
|
1436
1436
|
const query = map({
|
|
1437
1437
|
id: [, input.HostedZoneId],
|
|
@@ -1455,7 +1455,7 @@ exports.serializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand = seri
|
|
|
1455
1455
|
const serializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = async (input, context) => {
|
|
1456
1456
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1457
1457
|
const headers = {};
|
|
1458
|
-
const resolvedPath = `${
|
|
1458
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1459
1459
|
"/2013-04-01/trafficpolicyinstances/trafficpolicy";
|
|
1460
1460
|
const query = map({
|
|
1461
1461
|
id: [, input.TrafficPolicyId],
|
|
@@ -1481,7 +1481,7 @@ exports.serializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = serializ
|
|
|
1481
1481
|
const serializeAws_restXmlListTrafficPolicyVersionsCommand = async (input, context) => {
|
|
1482
1482
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1483
1483
|
const headers = {};
|
|
1484
|
-
let resolvedPath = `${
|
|
1484
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicies/{Id}/versions";
|
|
1485
1485
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1486
1486
|
const query = map({
|
|
1487
1487
|
trafficpolicyversion: [, input.TrafficPolicyVersionMarker],
|
|
@@ -1503,7 +1503,7 @@ exports.serializeAws_restXmlListTrafficPolicyVersionsCommand = serializeAws_rest
|
|
|
1503
1503
|
const serializeAws_restXmlListVPCAssociationAuthorizationsCommand = async (input, context) => {
|
|
1504
1504
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1505
1505
|
const headers = {};
|
|
1506
|
-
let resolvedPath = `${
|
|
1506
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1507
1507
|
"/2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation";
|
|
1508
1508
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HostedZoneId", () => input.HostedZoneId, "{HostedZoneId}", false);
|
|
1509
1509
|
const query = map({
|
|
@@ -1526,7 +1526,7 @@ exports.serializeAws_restXmlListVPCAssociationAuthorizationsCommand = serializeA
|
|
|
1526
1526
|
const serializeAws_restXmlTestDNSAnswerCommand = async (input, context) => {
|
|
1527
1527
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1528
1528
|
const headers = {};
|
|
1529
|
-
const resolvedPath = `${
|
|
1529
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/testdnsanswer";
|
|
1530
1530
|
const query = map({
|
|
1531
1531
|
hostedzoneid: [, input.HostedZoneId],
|
|
1532
1532
|
recordname: [, input.RecordName],
|
|
@@ -1553,7 +1553,7 @@ const serializeAws_restXmlUpdateHealthCheckCommand = async (input, context) => {
|
|
|
1553
1553
|
const headers = {
|
|
1554
1554
|
"content-type": "application/xml",
|
|
1555
1555
|
};
|
|
1556
|
-
let resolvedPath = `${
|
|
1556
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/healthcheck/{HealthCheckId}";
|
|
1557
1557
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "HealthCheckId", () => input.HealthCheckId, "{HealthCheckId}", false);
|
|
1558
1558
|
let body;
|
|
1559
1559
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1656,7 +1656,7 @@ const serializeAws_restXmlUpdateHostedZoneCommentCommand = async (input, context
|
|
|
1656
1656
|
const headers = {
|
|
1657
1657
|
"content-type": "application/xml",
|
|
1658
1658
|
};
|
|
1659
|
-
let resolvedPath = `${
|
|
1659
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzone/{Id}";
|
|
1660
1660
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1661
1661
|
let body;
|
|
1662
1662
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1683,7 +1683,7 @@ const serializeAws_restXmlUpdateTrafficPolicyCommentCommand = async (input, cont
|
|
|
1683
1683
|
const headers = {
|
|
1684
1684
|
"content-type": "application/xml",
|
|
1685
1685
|
};
|
|
1686
|
-
let resolvedPath = `${
|
|
1686
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicy/{Id}/{Version}";
|
|
1687
1687
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1688
1688
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Version", () => input.Version.toString(), "{Version}", false);
|
|
1689
1689
|
let body;
|
|
@@ -1711,7 +1711,7 @@ const serializeAws_restXmlUpdateTrafficPolicyInstanceCommand = async (input, con
|
|
|
1711
1711
|
const headers = {
|
|
1712
1712
|
"content-type": "application/xml",
|
|
1713
1713
|
};
|
|
1714
|
-
let resolvedPath = `${
|
|
1714
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/trafficpolicyinstance/{Id}";
|
|
1715
1715
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1716
1716
|
let body;
|
|
1717
1717
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -7161,15 +7161,12 @@ const deserializeAws_restXmlVPCs = (output, context) => {
|
|
|
7161
7161
|
return deserializeAws_restXmlVPC(entry, context);
|
|
7162
7162
|
});
|
|
7163
7163
|
};
|
|
7164
|
-
const deserializeMetadata = (output) => {
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
7171
|
-
});
|
|
7172
|
-
};
|
|
7164
|
+
const deserializeMetadata = (output) => ({
|
|
7165
|
+
httpStatusCode: output.statusCode,
|
|
7166
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
7167
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
7168
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
7169
|
+
});
|
|
7173
7170
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
7174
7171
|
if (streamBody instanceof Uint8Array) {
|
|
7175
7172
|
return Promise.resolve(streamBody);
|
|
@@ -7208,10 +7205,9 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7208
7205
|
return {};
|
|
7209
7206
|
});
|
|
7210
7207
|
const parseErrorBody = async (errorBody, context) => {
|
|
7211
|
-
var _a;
|
|
7212
7208
|
const value = await parseBody(errorBody, context);
|
|
7213
7209
|
if (value.Error) {
|
|
7214
|
-
value.Error.message =
|
|
7210
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
7215
7211
|
}
|
|
7216
7212
|
return value;
|
|
7217
7213
|
};
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2013-04-01",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "Route 53",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route-53",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.201.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,48 +19,48 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-sdk-route53": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.201.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.201.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-sdk-route53": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
43
|
+
"@aws-sdk/types": "3.201.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
45
45
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
57
|
-
"@aws-sdk/xml-builder": "3.
|
|
55
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.201.0",
|
|
57
|
+
"@aws-sdk/xml-builder": "3.201.0",
|
|
58
58
|
"fast-xml-parser": "4.0.11",
|
|
59
59
|
"tslib": "^2.3.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
63
|
-
"@tsconfig/
|
|
63
|
+
"@tsconfig/node14": "1.0.3",
|
|
64
64
|
"@types/node": "^12.7.5",
|
|
65
65
|
"concurrently": "7.0.0",
|
|
66
66
|
"downlevel-dts": "0.10.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"engines": {
|
|
77
|
-
"node": ">=
|
|
77
|
+
"node": ">=14.0.0"
|
|
78
78
|
},
|
|
79
79
|
"typesVersions": {
|
|
80
80
|
"<4.0": {
|