@aws-sdk/client-route-53 3.103.0 → 3.109.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 +30 -0
- package/dist-cjs/Route53Client.js +2 -0
- package/dist-cjs/protocols/Aws_restXml.js +35 -31
- package/dist-es/Route53Client.js +2 -0
- package/dist-es/protocols/Aws_restXml.js +35 -31
- package/package.json +32 -31
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-route-53
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.103.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.102.0...v3.103.0) (2022-06-01)
|
|
7
37
|
|
|
8
38
|
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class Route53Client extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3797,7 +3797,7 @@ const deserializeAws_restXmlGetCheckerIpRangesCommand = async (output, context)
|
|
|
3797
3797
|
if (data.CheckerIpRanges === "") {
|
|
3798
3798
|
contents.CheckerIpRanges = [];
|
|
3799
3799
|
}
|
|
3800
|
-
if (data["CheckerIpRanges"] !== undefined && data["CheckerIpRanges"]["member"] !== undefined) {
|
|
3800
|
+
else if (data["CheckerIpRanges"] !== undefined && data["CheckerIpRanges"]["member"] !== undefined) {
|
|
3801
3801
|
contents.CheckerIpRanges = deserializeAws_restXmlCheckerIpRanges((0, smithy_client_1.getArrayIfSingleItem)(data["CheckerIpRanges"]["member"]), context);
|
|
3802
3802
|
}
|
|
3803
3803
|
return Promise.resolve(contents);
|
|
@@ -3835,7 +3835,7 @@ const deserializeAws_restXmlGetDNSSECCommand = async (output, context) => {
|
|
|
3835
3835
|
if (data.KeySigningKeys === "") {
|
|
3836
3836
|
contents.KeySigningKeys = [];
|
|
3837
3837
|
}
|
|
3838
|
-
if (data["KeySigningKeys"] !== undefined && data["KeySigningKeys"]["member"] !== undefined) {
|
|
3838
|
+
else if (data["KeySigningKeys"] !== undefined && data["KeySigningKeys"]["member"] !== undefined) {
|
|
3839
3839
|
contents.KeySigningKeys = deserializeAws_restXmlKeySigningKeys((0, smithy_client_1.getArrayIfSingleItem)(data["KeySigningKeys"]["member"]), context);
|
|
3840
3840
|
}
|
|
3841
3841
|
if (data["Status"] !== undefined) {
|
|
@@ -4001,7 +4001,7 @@ const deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand = async (outp
|
|
|
4001
4001
|
if (data.HealthCheckObservations === "") {
|
|
4002
4002
|
contents.HealthCheckObservations = [];
|
|
4003
4003
|
}
|
|
4004
|
-
if (data["HealthCheckObservations"] !== undefined &&
|
|
4004
|
+
else if (data["HealthCheckObservations"] !== undefined &&
|
|
4005
4005
|
data["HealthCheckObservations"]["HealthCheckObservation"] !== undefined) {
|
|
4006
4006
|
contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations((0, smithy_client_1.getArrayIfSingleItem)(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
|
|
4007
4007
|
}
|
|
@@ -4045,7 +4045,7 @@ const deserializeAws_restXmlGetHealthCheckStatusCommand = async (output, context
|
|
|
4045
4045
|
if (data.HealthCheckObservations === "") {
|
|
4046
4046
|
contents.HealthCheckObservations = [];
|
|
4047
4047
|
}
|
|
4048
|
-
if (data["HealthCheckObservations"] !== undefined &&
|
|
4048
|
+
else if (data["HealthCheckObservations"] !== undefined &&
|
|
4049
4049
|
data["HealthCheckObservations"]["HealthCheckObservation"] !== undefined) {
|
|
4050
4050
|
contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations((0, smithy_client_1.getArrayIfSingleItem)(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
|
|
4051
4051
|
}
|
|
@@ -4097,7 +4097,7 @@ const deserializeAws_restXmlGetHostedZoneCommand = async (output, context) => {
|
|
|
4097
4097
|
if (data.VPCs === "") {
|
|
4098
4098
|
contents.VPCs = [];
|
|
4099
4099
|
}
|
|
4100
|
-
if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
4100
|
+
else if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
4101
4101
|
contents.VPCs = deserializeAws_restXmlVPCs((0, smithy_client_1.getArrayIfSingleItem)(data["VPCs"]["VPC"]), context);
|
|
4102
4102
|
}
|
|
4103
4103
|
return Promise.resolve(contents);
|
|
@@ -4466,7 +4466,7 @@ const deserializeAws_restXmlListCidrBlocksCommand = async (output, context) => {
|
|
|
4466
4466
|
if (data.CidrBlocks === "") {
|
|
4467
4467
|
contents.CidrBlocks = [];
|
|
4468
4468
|
}
|
|
4469
|
-
if (data["CidrBlocks"] !== undefined && data["CidrBlocks"]["member"] !== undefined) {
|
|
4469
|
+
else if (data["CidrBlocks"] !== undefined && data["CidrBlocks"]["member"] !== undefined) {
|
|
4470
4470
|
contents.CidrBlocks = deserializeAws_restXmlCidrBlockSummaries((0, smithy_client_1.getArrayIfSingleItem)(data["CidrBlocks"]["member"]), context);
|
|
4471
4471
|
}
|
|
4472
4472
|
if (data["NextToken"] !== undefined) {
|
|
@@ -4516,7 +4516,7 @@ const deserializeAws_restXmlListCidrCollectionsCommand = async (output, context)
|
|
|
4516
4516
|
if (data.CidrCollections === "") {
|
|
4517
4517
|
contents.CidrCollections = [];
|
|
4518
4518
|
}
|
|
4519
|
-
if (data["CidrCollections"] !== undefined && data["CidrCollections"]["member"] !== undefined) {
|
|
4519
|
+
else if (data["CidrCollections"] !== undefined && data["CidrCollections"]["member"] !== undefined) {
|
|
4520
4520
|
contents.CidrCollections = deserializeAws_restXmlCollectionSummaries((0, smithy_client_1.getArrayIfSingleItem)(data["CidrCollections"]["member"]), context);
|
|
4521
4521
|
}
|
|
4522
4522
|
if (data["NextToken"] !== undefined) {
|
|
@@ -4560,7 +4560,7 @@ const deserializeAws_restXmlListCidrLocationsCommand = async (output, context) =
|
|
|
4560
4560
|
if (data.CidrLocations === "") {
|
|
4561
4561
|
contents.CidrLocations = [];
|
|
4562
4562
|
}
|
|
4563
|
-
if (data["CidrLocations"] !== undefined && data["CidrLocations"]["member"] !== undefined) {
|
|
4563
|
+
else if (data["CidrLocations"] !== undefined && data["CidrLocations"]["member"] !== undefined) {
|
|
4564
4564
|
contents.CidrLocations = deserializeAws_restXmlLocationSummaries((0, smithy_client_1.getArrayIfSingleItem)(data["CidrLocations"]["member"]), context);
|
|
4565
4565
|
}
|
|
4566
4566
|
if (data["NextToken"] !== undefined) {
|
|
@@ -4611,7 +4611,7 @@ const deserializeAws_restXmlListGeoLocationsCommand = async (output, context) =>
|
|
|
4611
4611
|
if (data.GeoLocationDetailsList === "") {
|
|
4612
4612
|
contents.GeoLocationDetailsList = [];
|
|
4613
4613
|
}
|
|
4614
|
-
if (data["GeoLocationDetailsList"] !== undefined &&
|
|
4614
|
+
else if (data["GeoLocationDetailsList"] !== undefined &&
|
|
4615
4615
|
data["GeoLocationDetailsList"]["GeoLocationDetails"] !== undefined) {
|
|
4616
4616
|
contents.GeoLocationDetailsList = deserializeAws_restXmlGeoLocationDetailsList((0, smithy_client_1.getArrayIfSingleItem)(data["GeoLocationDetailsList"]["GeoLocationDetails"]), context);
|
|
4617
4617
|
}
|
|
@@ -4671,7 +4671,7 @@ const deserializeAws_restXmlListHealthChecksCommand = async (output, context) =>
|
|
|
4671
4671
|
if (data.HealthChecks === "") {
|
|
4672
4672
|
contents.HealthChecks = [];
|
|
4673
4673
|
}
|
|
4674
|
-
if (data["HealthChecks"] !== undefined && data["HealthChecks"]["HealthCheck"] !== undefined) {
|
|
4674
|
+
else if (data["HealthChecks"] !== undefined && data["HealthChecks"]["HealthCheck"] !== undefined) {
|
|
4675
4675
|
contents.HealthChecks = deserializeAws_restXmlHealthChecks((0, smithy_client_1.getArrayIfSingleItem)(data["HealthChecks"]["HealthCheck"]), context);
|
|
4676
4676
|
}
|
|
4677
4677
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -4730,7 +4730,7 @@ const deserializeAws_restXmlListHostedZonesCommand = async (output, context) =>
|
|
|
4730
4730
|
if (data.HostedZones === "") {
|
|
4731
4731
|
contents.HostedZones = [];
|
|
4732
4732
|
}
|
|
4733
|
-
if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
4733
|
+
else if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
4734
4734
|
contents.HostedZones = deserializeAws_restXmlHostedZones((0, smithy_client_1.getArrayIfSingleItem)(data["HostedZones"]["HostedZone"]), context);
|
|
4735
4735
|
}
|
|
4736
4736
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -4800,7 +4800,7 @@ const deserializeAws_restXmlListHostedZonesByNameCommand = async (output, contex
|
|
|
4800
4800
|
if (data.HostedZones === "") {
|
|
4801
4801
|
contents.HostedZones = [];
|
|
4802
4802
|
}
|
|
4803
|
-
if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
4803
|
+
else if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
4804
4804
|
contents.HostedZones = deserializeAws_restXmlHostedZones((0, smithy_client_1.getArrayIfSingleItem)(data["HostedZones"]["HostedZone"]), context);
|
|
4805
4805
|
}
|
|
4806
4806
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -4857,7 +4857,8 @@ const deserializeAws_restXmlListHostedZonesByVPCCommand = async (output, context
|
|
|
4857
4857
|
if (data.HostedZoneSummaries === "") {
|
|
4858
4858
|
contents.HostedZoneSummaries = [];
|
|
4859
4859
|
}
|
|
4860
|
-
if (data["HostedZoneSummaries"] !== undefined &&
|
|
4860
|
+
else if (data["HostedZoneSummaries"] !== undefined &&
|
|
4861
|
+
data["HostedZoneSummaries"]["HostedZoneSummary"] !== undefined) {
|
|
4861
4862
|
contents.HostedZoneSummaries = deserializeAws_restXmlHostedZoneSummaries((0, smithy_client_1.getArrayIfSingleItem)(data["HostedZoneSummaries"]["HostedZoneSummary"]), context);
|
|
4862
4863
|
}
|
|
4863
4864
|
if (data["MaxItems"] !== undefined) {
|
|
@@ -4910,7 +4911,8 @@ const deserializeAws_restXmlListQueryLoggingConfigsCommand = async (output, cont
|
|
|
4910
4911
|
if (data.QueryLoggingConfigs === "") {
|
|
4911
4912
|
contents.QueryLoggingConfigs = [];
|
|
4912
4913
|
}
|
|
4913
|
-
if (data["QueryLoggingConfigs"] !== undefined &&
|
|
4914
|
+
else if (data["QueryLoggingConfigs"] !== undefined &&
|
|
4915
|
+
data["QueryLoggingConfigs"]["QueryLoggingConfig"] !== undefined) {
|
|
4914
4916
|
contents.QueryLoggingConfigs = deserializeAws_restXmlQueryLoggingConfigs((0, smithy_client_1.getArrayIfSingleItem)(data["QueryLoggingConfigs"]["QueryLoggingConfig"]), context);
|
|
4915
4917
|
}
|
|
4916
4918
|
return Promise.resolve(contents);
|
|
@@ -4976,7 +4978,8 @@ const deserializeAws_restXmlListResourceRecordSetsCommand = async (output, conte
|
|
|
4976
4978
|
if (data.ResourceRecordSets === "") {
|
|
4977
4979
|
contents.ResourceRecordSets = [];
|
|
4978
4980
|
}
|
|
4979
|
-
if (data["ResourceRecordSets"] !== undefined &&
|
|
4981
|
+
else if (data["ResourceRecordSets"] !== undefined &&
|
|
4982
|
+
data["ResourceRecordSets"]["ResourceRecordSet"] !== undefined) {
|
|
4980
4983
|
contents.ResourceRecordSets = deserializeAws_restXmlResourceRecordSets((0, smithy_client_1.getArrayIfSingleItem)(data["ResourceRecordSets"]["ResourceRecordSet"]), context);
|
|
4981
4984
|
}
|
|
4982
4985
|
return Promise.resolve(contents);
|
|
@@ -5023,7 +5026,7 @@ const deserializeAws_restXmlListReusableDelegationSetsCommand = async (output, c
|
|
|
5023
5026
|
if (data.DelegationSets === "") {
|
|
5024
5027
|
contents.DelegationSets = [];
|
|
5025
5028
|
}
|
|
5026
|
-
if (data["DelegationSets"] !== undefined && data["DelegationSets"]["DelegationSet"] !== undefined) {
|
|
5029
|
+
else if (data["DelegationSets"] !== undefined && data["DelegationSets"]["DelegationSet"] !== undefined) {
|
|
5027
5030
|
contents.DelegationSets = deserializeAws_restXmlDelegationSets((0, smithy_client_1.getArrayIfSingleItem)(data["DelegationSets"]["DelegationSet"]), context);
|
|
5028
5031
|
}
|
|
5029
5032
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -5124,7 +5127,7 @@ const deserializeAws_restXmlListTagsForResourcesCommand = async (output, context
|
|
|
5124
5127
|
if (data.ResourceTagSets === "") {
|
|
5125
5128
|
contents.ResourceTagSets = [];
|
|
5126
5129
|
}
|
|
5127
|
-
if (data["ResourceTagSets"] !== undefined && data["ResourceTagSets"]["ResourceTagSet"] !== undefined) {
|
|
5130
|
+
else if (data["ResourceTagSets"] !== undefined && data["ResourceTagSets"]["ResourceTagSet"] !== undefined) {
|
|
5128
5131
|
contents.ResourceTagSets = deserializeAws_restXmlResourceTagSetList((0, smithy_client_1.getArrayIfSingleItem)(data["ResourceTagSets"]["ResourceTagSet"]), context);
|
|
5129
5132
|
}
|
|
5130
5133
|
return Promise.resolve(contents);
|
|
@@ -5188,7 +5191,7 @@ const deserializeAws_restXmlListTrafficPoliciesCommand = async (output, context)
|
|
|
5188
5191
|
if (data.TrafficPolicySummaries === "") {
|
|
5189
5192
|
contents.TrafficPolicySummaries = [];
|
|
5190
5193
|
}
|
|
5191
|
-
if (data["TrafficPolicySummaries"] !== undefined &&
|
|
5194
|
+
else if (data["TrafficPolicySummaries"] !== undefined &&
|
|
5192
5195
|
data["TrafficPolicySummaries"]["TrafficPolicySummary"] !== undefined) {
|
|
5193
5196
|
contents.TrafficPolicySummaries = deserializeAws_restXmlTrafficPolicySummaries((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicySummaries"]["TrafficPolicySummary"]), context);
|
|
5194
5197
|
}
|
|
@@ -5249,7 +5252,7 @@ const deserializeAws_restXmlListTrafficPolicyInstancesCommand = async (output, c
|
|
|
5249
5252
|
if (data.TrafficPolicyInstances === "") {
|
|
5250
5253
|
contents.TrafficPolicyInstances = [];
|
|
5251
5254
|
}
|
|
5252
|
-
if (data["TrafficPolicyInstances"] !== undefined &&
|
|
5255
|
+
else if (data["TrafficPolicyInstances"] !== undefined &&
|
|
5253
5256
|
data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
|
|
5254
5257
|
contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
|
|
5255
5258
|
}
|
|
@@ -5309,7 +5312,7 @@ const deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand = asyn
|
|
|
5309
5312
|
if (data.TrafficPolicyInstances === "") {
|
|
5310
5313
|
contents.TrafficPolicyInstances = [];
|
|
5311
5314
|
}
|
|
5312
|
-
if (data["TrafficPolicyInstances"] !== undefined &&
|
|
5315
|
+
else if (data["TrafficPolicyInstances"] !== undefined &&
|
|
5313
5316
|
data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
|
|
5314
5317
|
contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
|
|
5315
5318
|
}
|
|
@@ -5376,7 +5379,7 @@ const deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = async (o
|
|
|
5376
5379
|
if (data.TrafficPolicyInstances === "") {
|
|
5377
5380
|
contents.TrafficPolicyInstances = [];
|
|
5378
5381
|
}
|
|
5379
|
-
if (data["TrafficPolicyInstances"] !== undefined &&
|
|
5382
|
+
else if (data["TrafficPolicyInstances"] !== undefined &&
|
|
5380
5383
|
data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
|
|
5381
5384
|
contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
|
|
5382
5385
|
}
|
|
@@ -5432,7 +5435,7 @@ const deserializeAws_restXmlListTrafficPolicyVersionsCommand = async (output, co
|
|
|
5432
5435
|
if (data.TrafficPolicies === "") {
|
|
5433
5436
|
contents.TrafficPolicies = [];
|
|
5434
5437
|
}
|
|
5435
|
-
if (data["TrafficPolicies"] !== undefined && data["TrafficPolicies"]["TrafficPolicy"] !== undefined) {
|
|
5438
|
+
else if (data["TrafficPolicies"] !== undefined && data["TrafficPolicies"]["TrafficPolicy"] !== undefined) {
|
|
5436
5439
|
contents.TrafficPolicies = deserializeAws_restXmlTrafficPolicies((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicies"]["TrafficPolicy"]), context);
|
|
5437
5440
|
}
|
|
5438
5441
|
if (data["TrafficPolicyVersionMarker"] !== undefined) {
|
|
@@ -5486,7 +5489,7 @@ const deserializeAws_restXmlListVPCAssociationAuthorizationsCommand = async (out
|
|
|
5486
5489
|
if (data.VPCs === "") {
|
|
5487
5490
|
contents.VPCs = [];
|
|
5488
5491
|
}
|
|
5489
|
-
if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
5492
|
+
else if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
5490
5493
|
contents.VPCs = deserializeAws_restXmlVPCs((0, smithy_client_1.getArrayIfSingleItem)(data["VPCs"]["VPC"]), context);
|
|
5491
5494
|
}
|
|
5492
5495
|
return Promise.resolve(contents);
|
|
@@ -5543,7 +5546,7 @@ const deserializeAws_restXmlTestDNSAnswerCommand = async (output, context) => {
|
|
|
5543
5546
|
if (data.RecordData === "") {
|
|
5544
5547
|
contents.RecordData = [];
|
|
5545
5548
|
}
|
|
5546
|
-
if (data["RecordData"] !== undefined && data["RecordData"]["RecordDataEntry"] !== undefined) {
|
|
5549
|
+
else if (data["RecordData"] !== undefined && data["RecordData"]["RecordDataEntry"] !== undefined) {
|
|
5547
5550
|
contents.RecordData = deserializeAws_restXmlRecordData((0, smithy_client_1.getArrayIfSingleItem)(data["RecordData"]["RecordDataEntry"]), context);
|
|
5548
5551
|
}
|
|
5549
5552
|
if (data["RecordName"] !== undefined) {
|
|
@@ -6058,7 +6061,7 @@ const deserializeAws_restXmlInvalidChangeBatchResponse = async (parsedOutput, co
|
|
|
6058
6061
|
if (data.messages === "") {
|
|
6059
6062
|
contents.messages = [];
|
|
6060
6063
|
}
|
|
6061
|
-
if (data["messages"] !== undefined && data["messages"]["Message"] !== undefined) {
|
|
6064
|
+
else if (data["messages"] !== undefined && data["messages"]["Message"] !== undefined) {
|
|
6062
6065
|
contents.messages = deserializeAws_restXmlErrorMessages((0, smithy_client_1.getArrayIfSingleItem)(data["messages"]["Message"]), context);
|
|
6063
6066
|
}
|
|
6064
6067
|
const exception = new models_0_1.InvalidChangeBatch({
|
|
@@ -7219,7 +7222,7 @@ const deserializeAws_restXmlCloudWatchAlarmConfiguration = (output, context) =>
|
|
|
7219
7222
|
if (output.Dimensions === "") {
|
|
7220
7223
|
contents.Dimensions = [];
|
|
7221
7224
|
}
|
|
7222
|
-
if (output["Dimensions"] !== undefined && output["Dimensions"]["Dimension"] !== undefined) {
|
|
7225
|
+
else if (output["Dimensions"] !== undefined && output["Dimensions"]["Dimension"] !== undefined) {
|
|
7223
7226
|
contents.Dimensions = deserializeAws_restXmlDimensionList((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["Dimension"]), context);
|
|
7224
7227
|
}
|
|
7225
7228
|
return contents;
|
|
@@ -7270,7 +7273,7 @@ const deserializeAws_restXmlDelegationSet = (output, context) => {
|
|
|
7270
7273
|
if (output.NameServers === "") {
|
|
7271
7274
|
contents.NameServers = [];
|
|
7272
7275
|
}
|
|
7273
|
-
if (output["NameServers"] !== undefined && output["NameServers"]["NameServer"] !== undefined) {
|
|
7276
|
+
else if (output["NameServers"] !== undefined && output["NameServers"]["NameServer"] !== undefined) {
|
|
7274
7277
|
contents.NameServers = deserializeAws_restXmlDelegationSetNameServers((0, smithy_client_1.getArrayIfSingleItem)(output["NameServers"]["NameServer"]), context);
|
|
7275
7278
|
}
|
|
7276
7279
|
return contents;
|
|
@@ -7486,7 +7489,8 @@ const deserializeAws_restXmlHealthCheckConfig = (output, context) => {
|
|
|
7486
7489
|
if (output.ChildHealthChecks === "") {
|
|
7487
7490
|
contents.ChildHealthChecks = [];
|
|
7488
7491
|
}
|
|
7489
|
-
if (output["ChildHealthChecks"] !== undefined &&
|
|
7492
|
+
else if (output["ChildHealthChecks"] !== undefined &&
|
|
7493
|
+
output["ChildHealthChecks"]["ChildHealthCheck"] !== undefined) {
|
|
7490
7494
|
contents.ChildHealthChecks = deserializeAws_restXmlChildHealthCheckList((0, smithy_client_1.getArrayIfSingleItem)(output["ChildHealthChecks"]["ChildHealthCheck"]), context);
|
|
7491
7495
|
}
|
|
7492
7496
|
if (output["EnableSNI"] !== undefined) {
|
|
@@ -7495,7 +7499,7 @@ const deserializeAws_restXmlHealthCheckConfig = (output, context) => {
|
|
|
7495
7499
|
if (output.Regions === "") {
|
|
7496
7500
|
contents.Regions = [];
|
|
7497
7501
|
}
|
|
7498
|
-
if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
7502
|
+
else if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
7499
7503
|
contents.Regions = deserializeAws_restXmlHealthCheckRegionList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
|
|
7500
7504
|
}
|
|
7501
7505
|
if (output["AlarmIdentifier"] !== undefined) {
|
|
@@ -7875,7 +7879,7 @@ const deserializeAws_restXmlResourceRecordSet = (output, context) => {
|
|
|
7875
7879
|
if (output.ResourceRecords === "") {
|
|
7876
7880
|
contents.ResourceRecords = [];
|
|
7877
7881
|
}
|
|
7878
|
-
if (output["ResourceRecords"] !== undefined && output["ResourceRecords"]["ResourceRecord"] !== undefined) {
|
|
7882
|
+
else if (output["ResourceRecords"] !== undefined && output["ResourceRecords"]["ResourceRecord"] !== undefined) {
|
|
7879
7883
|
contents.ResourceRecords = deserializeAws_restXmlResourceRecords((0, smithy_client_1.getArrayIfSingleItem)(output["ResourceRecords"]["ResourceRecord"]), context);
|
|
7880
7884
|
}
|
|
7881
7885
|
if (output["AliasTarget"] !== undefined) {
|
|
@@ -7917,7 +7921,7 @@ const deserializeAws_restXmlResourceTagSet = (output, context) => {
|
|
|
7917
7921
|
if (output.Tags === "") {
|
|
7918
7922
|
contents.Tags = [];
|
|
7919
7923
|
}
|
|
7920
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
7924
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
7921
7925
|
contents.Tags = deserializeAws_restXmlTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
7922
7926
|
}
|
|
7923
7927
|
return contents;
|
package/dist-es/Route53Client.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var Route53Client = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -4752,7 +4752,7 @@ export var deserializeAws_restXmlGetCheckerIpRangesCommand = function (output, c
|
|
|
4752
4752
|
if (data.CheckerIpRanges === "") {
|
|
4753
4753
|
contents.CheckerIpRanges = [];
|
|
4754
4754
|
}
|
|
4755
|
-
if (data["CheckerIpRanges"] !== undefined && data["CheckerIpRanges"]["member"] !== undefined) {
|
|
4755
|
+
else if (data["CheckerIpRanges"] !== undefined && data["CheckerIpRanges"]["member"] !== undefined) {
|
|
4756
4756
|
contents.CheckerIpRanges = deserializeAws_restXmlCheckerIpRanges(__getArrayIfSingleItem(data["CheckerIpRanges"]["member"]), context);
|
|
4757
4757
|
}
|
|
4758
4758
|
return [2, Promise.resolve(contents)];
|
|
@@ -4807,7 +4807,7 @@ export var deserializeAws_restXmlGetDNSSECCommand = function (output, context) {
|
|
|
4807
4807
|
if (data.KeySigningKeys === "") {
|
|
4808
4808
|
contents.KeySigningKeys = [];
|
|
4809
4809
|
}
|
|
4810
|
-
if (data["KeySigningKeys"] !== undefined && data["KeySigningKeys"]["member"] !== undefined) {
|
|
4810
|
+
else if (data["KeySigningKeys"] !== undefined && data["KeySigningKeys"]["member"] !== undefined) {
|
|
4811
4811
|
contents.KeySigningKeys = deserializeAws_restXmlKeySigningKeys(__getArrayIfSingleItem(data["KeySigningKeys"]["member"]), context);
|
|
4812
4812
|
}
|
|
4813
4813
|
if (data["Status"] !== undefined) {
|
|
@@ -5052,7 +5052,7 @@ export var deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand = functi
|
|
|
5052
5052
|
if (data.HealthCheckObservations === "") {
|
|
5053
5053
|
contents.HealthCheckObservations = [];
|
|
5054
5054
|
}
|
|
5055
|
-
if (data["HealthCheckObservations"] !== undefined &&
|
|
5055
|
+
else if (data["HealthCheckObservations"] !== undefined &&
|
|
5056
5056
|
data["HealthCheckObservations"]["HealthCheckObservation"] !== undefined) {
|
|
5057
5057
|
contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations(__getArrayIfSingleItem(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
|
|
5058
5058
|
}
|
|
@@ -5116,7 +5116,7 @@ export var deserializeAws_restXmlGetHealthCheckStatusCommand = function (output,
|
|
|
5116
5116
|
if (data.HealthCheckObservations === "") {
|
|
5117
5117
|
contents.HealthCheckObservations = [];
|
|
5118
5118
|
}
|
|
5119
|
-
if (data["HealthCheckObservations"] !== undefined &&
|
|
5119
|
+
else if (data["HealthCheckObservations"] !== undefined &&
|
|
5120
5120
|
data["HealthCheckObservations"]["HealthCheckObservation"] !== undefined) {
|
|
5121
5121
|
contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations(__getArrayIfSingleItem(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
|
|
5122
5122
|
}
|
|
@@ -5188,7 +5188,7 @@ export var deserializeAws_restXmlGetHostedZoneCommand = function (output, contex
|
|
|
5188
5188
|
if (data.VPCs === "") {
|
|
5189
5189
|
contents.VPCs = [];
|
|
5190
5190
|
}
|
|
5191
|
-
if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
5191
|
+
else if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
5192
5192
|
contents.VPCs = deserializeAws_restXmlVPCs(__getArrayIfSingleItem(data["VPCs"]["VPC"]), context);
|
|
5193
5193
|
}
|
|
5194
5194
|
return [2, Promise.resolve(contents)];
|
|
@@ -5735,7 +5735,7 @@ export var deserializeAws_restXmlListCidrBlocksCommand = function (output, conte
|
|
|
5735
5735
|
if (data.CidrBlocks === "") {
|
|
5736
5736
|
contents.CidrBlocks = [];
|
|
5737
5737
|
}
|
|
5738
|
-
if (data["CidrBlocks"] !== undefined && data["CidrBlocks"]["member"] !== undefined) {
|
|
5738
|
+
else if (data["CidrBlocks"] !== undefined && data["CidrBlocks"]["member"] !== undefined) {
|
|
5739
5739
|
contents.CidrBlocks = deserializeAws_restXmlCidrBlockSummaries(__getArrayIfSingleItem(data["CidrBlocks"]["member"]), context);
|
|
5740
5740
|
}
|
|
5741
5741
|
if (data["NextToken"] !== undefined) {
|
|
@@ -5806,7 +5806,7 @@ export var deserializeAws_restXmlListCidrCollectionsCommand = function (output,
|
|
|
5806
5806
|
if (data.CidrCollections === "") {
|
|
5807
5807
|
contents.CidrCollections = [];
|
|
5808
5808
|
}
|
|
5809
|
-
if (data["CidrCollections"] !== undefined && data["CidrCollections"]["member"] !== undefined) {
|
|
5809
|
+
else if (data["CidrCollections"] !== undefined && data["CidrCollections"]["member"] !== undefined) {
|
|
5810
5810
|
contents.CidrCollections = deserializeAws_restXmlCollectionSummaries(__getArrayIfSingleItem(data["CidrCollections"]["member"]), context);
|
|
5811
5811
|
}
|
|
5812
5812
|
if (data["NextToken"] !== undefined) {
|
|
@@ -5869,7 +5869,7 @@ export var deserializeAws_restXmlListCidrLocationsCommand = function (output, co
|
|
|
5869
5869
|
if (data.CidrLocations === "") {
|
|
5870
5870
|
contents.CidrLocations = [];
|
|
5871
5871
|
}
|
|
5872
|
-
if (data["CidrLocations"] !== undefined && data["CidrLocations"]["member"] !== undefined) {
|
|
5872
|
+
else if (data["CidrLocations"] !== undefined && data["CidrLocations"]["member"] !== undefined) {
|
|
5873
5873
|
contents.CidrLocations = deserializeAws_restXmlLocationSummaries(__getArrayIfSingleItem(data["CidrLocations"]["member"]), context);
|
|
5874
5874
|
}
|
|
5875
5875
|
if (data["NextToken"] !== undefined) {
|
|
@@ -5940,7 +5940,7 @@ export var deserializeAws_restXmlListGeoLocationsCommand = function (output, con
|
|
|
5940
5940
|
if (data.GeoLocationDetailsList === "") {
|
|
5941
5941
|
contents.GeoLocationDetailsList = [];
|
|
5942
5942
|
}
|
|
5943
|
-
if (data["GeoLocationDetailsList"] !== undefined &&
|
|
5943
|
+
else if (data["GeoLocationDetailsList"] !== undefined &&
|
|
5944
5944
|
data["GeoLocationDetailsList"]["GeoLocationDetails"] !== undefined) {
|
|
5945
5945
|
contents.GeoLocationDetailsList = deserializeAws_restXmlGeoLocationDetailsList(__getArrayIfSingleItem(data["GeoLocationDetailsList"]["GeoLocationDetails"]), context);
|
|
5946
5946
|
}
|
|
@@ -6019,7 +6019,7 @@ export var deserializeAws_restXmlListHealthChecksCommand = function (output, con
|
|
|
6019
6019
|
if (data.HealthChecks === "") {
|
|
6020
6020
|
contents.HealthChecks = [];
|
|
6021
6021
|
}
|
|
6022
|
-
if (data["HealthChecks"] !== undefined && data["HealthChecks"]["HealthCheck"] !== undefined) {
|
|
6022
|
+
else if (data["HealthChecks"] !== undefined && data["HealthChecks"]["HealthCheck"] !== undefined) {
|
|
6023
6023
|
contents.HealthChecks = deserializeAws_restXmlHealthChecks(__getArrayIfSingleItem(data["HealthChecks"]["HealthCheck"]), context);
|
|
6024
6024
|
}
|
|
6025
6025
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -6098,7 +6098,7 @@ export var deserializeAws_restXmlListHostedZonesCommand = function (output, cont
|
|
|
6098
6098
|
if (data.HostedZones === "") {
|
|
6099
6099
|
contents.HostedZones = [];
|
|
6100
6100
|
}
|
|
6101
|
-
if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
6101
|
+
else if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
6102
6102
|
contents.HostedZones = deserializeAws_restXmlHostedZones(__getArrayIfSingleItem(data["HostedZones"]["HostedZone"]), context);
|
|
6103
6103
|
}
|
|
6104
6104
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -6189,7 +6189,7 @@ export var deserializeAws_restXmlListHostedZonesByNameCommand = function (output
|
|
|
6189
6189
|
if (data.HostedZones === "") {
|
|
6190
6190
|
contents.HostedZones = [];
|
|
6191
6191
|
}
|
|
6192
|
-
if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
6192
|
+
else if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
|
|
6193
6193
|
contents.HostedZones = deserializeAws_restXmlHostedZones(__getArrayIfSingleItem(data["HostedZones"]["HostedZone"]), context);
|
|
6194
6194
|
}
|
|
6195
6195
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -6266,7 +6266,8 @@ export var deserializeAws_restXmlListHostedZonesByVPCCommand = function (output,
|
|
|
6266
6266
|
if (data.HostedZoneSummaries === "") {
|
|
6267
6267
|
contents.HostedZoneSummaries = [];
|
|
6268
6268
|
}
|
|
6269
|
-
if (data["HostedZoneSummaries"] !== undefined &&
|
|
6269
|
+
else if (data["HostedZoneSummaries"] !== undefined &&
|
|
6270
|
+
data["HostedZoneSummaries"]["HostedZoneSummary"] !== undefined) {
|
|
6270
6271
|
contents.HostedZoneSummaries = deserializeAws_restXmlHostedZoneSummaries(__getArrayIfSingleItem(data["HostedZoneSummaries"]["HostedZoneSummary"]), context);
|
|
6271
6272
|
}
|
|
6272
6273
|
if (data["MaxItems"] !== undefined) {
|
|
@@ -6339,7 +6340,8 @@ export var deserializeAws_restXmlListQueryLoggingConfigsCommand = function (outp
|
|
|
6339
6340
|
if (data.QueryLoggingConfigs === "") {
|
|
6340
6341
|
contents.QueryLoggingConfigs = [];
|
|
6341
6342
|
}
|
|
6342
|
-
if (data["QueryLoggingConfigs"] !== undefined &&
|
|
6343
|
+
else if (data["QueryLoggingConfigs"] !== undefined &&
|
|
6344
|
+
data["QueryLoggingConfigs"]["QueryLoggingConfig"] !== undefined) {
|
|
6343
6345
|
contents.QueryLoggingConfigs = deserializeAws_restXmlQueryLoggingConfigs(__getArrayIfSingleItem(data["QueryLoggingConfigs"]["QueryLoggingConfig"]), context);
|
|
6344
6346
|
}
|
|
6345
6347
|
return [2, Promise.resolve(contents)];
|
|
@@ -6426,7 +6428,8 @@ export var deserializeAws_restXmlListResourceRecordSetsCommand = function (outpu
|
|
|
6426
6428
|
if (data.ResourceRecordSets === "") {
|
|
6427
6429
|
contents.ResourceRecordSets = [];
|
|
6428
6430
|
}
|
|
6429
|
-
if (data["ResourceRecordSets"] !== undefined &&
|
|
6431
|
+
else if (data["ResourceRecordSets"] !== undefined &&
|
|
6432
|
+
data["ResourceRecordSets"]["ResourceRecordSet"] !== undefined) {
|
|
6430
6433
|
contents.ResourceRecordSets = deserializeAws_restXmlResourceRecordSets(__getArrayIfSingleItem(data["ResourceRecordSets"]["ResourceRecordSet"]), context);
|
|
6431
6434
|
}
|
|
6432
6435
|
return [2, Promise.resolve(contents)];
|
|
@@ -6493,7 +6496,7 @@ export var deserializeAws_restXmlListReusableDelegationSetsCommand = function (o
|
|
|
6493
6496
|
if (data.DelegationSets === "") {
|
|
6494
6497
|
contents.DelegationSets = [];
|
|
6495
6498
|
}
|
|
6496
|
-
if (data["DelegationSets"] !== undefined && data["DelegationSets"]["DelegationSet"] !== undefined) {
|
|
6499
|
+
else if (data["DelegationSets"] !== undefined && data["DelegationSets"]["DelegationSet"] !== undefined) {
|
|
6497
6500
|
contents.DelegationSets = deserializeAws_restXmlDelegationSets(__getArrayIfSingleItem(data["DelegationSets"]["DelegationSet"]), context);
|
|
6498
6501
|
}
|
|
6499
6502
|
if (data["IsTruncated"] !== undefined) {
|
|
@@ -6636,7 +6639,7 @@ export var deserializeAws_restXmlListTagsForResourcesCommand = function (output,
|
|
|
6636
6639
|
if (data.ResourceTagSets === "") {
|
|
6637
6640
|
contents.ResourceTagSets = [];
|
|
6638
6641
|
}
|
|
6639
|
-
if (data["ResourceTagSets"] !== undefined && data["ResourceTagSets"]["ResourceTagSet"] !== undefined) {
|
|
6642
|
+
else if (data["ResourceTagSets"] !== undefined && data["ResourceTagSets"]["ResourceTagSet"] !== undefined) {
|
|
6640
6643
|
contents.ResourceTagSets = deserializeAws_restXmlResourceTagSetList(__getArrayIfSingleItem(data["ResourceTagSets"]["ResourceTagSet"]), context);
|
|
6641
6644
|
}
|
|
6642
6645
|
return [2, Promise.resolve(contents)];
|
|
@@ -6723,7 +6726,7 @@ export var deserializeAws_restXmlListTrafficPoliciesCommand = function (output,
|
|
|
6723
6726
|
if (data.TrafficPolicySummaries === "") {
|
|
6724
6727
|
contents.TrafficPolicySummaries = [];
|
|
6725
6728
|
}
|
|
6726
|
-
if (data["TrafficPolicySummaries"] !== undefined &&
|
|
6729
|
+
else if (data["TrafficPolicySummaries"] !== undefined &&
|
|
6727
6730
|
data["TrafficPolicySummaries"]["TrafficPolicySummary"] !== undefined) {
|
|
6728
6731
|
contents.TrafficPolicySummaries = deserializeAws_restXmlTrafficPolicySummaries(__getArrayIfSingleItem(data["TrafficPolicySummaries"]["TrafficPolicySummary"]), context);
|
|
6729
6732
|
}
|
|
@@ -6803,7 +6806,7 @@ export var deserializeAws_restXmlListTrafficPolicyInstancesCommand = function (o
|
|
|
6803
6806
|
if (data.TrafficPolicyInstances === "") {
|
|
6804
6807
|
contents.TrafficPolicyInstances = [];
|
|
6805
6808
|
}
|
|
6806
|
-
if (data["TrafficPolicyInstances"] !== undefined &&
|
|
6809
|
+
else if (data["TrafficPolicyInstances"] !== undefined &&
|
|
6807
6810
|
data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
|
|
6808
6811
|
contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances(__getArrayIfSingleItem(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
|
|
6809
6812
|
}
|
|
@@ -6883,7 +6886,7 @@ export var deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand =
|
|
|
6883
6886
|
if (data.TrafficPolicyInstances === "") {
|
|
6884
6887
|
contents.TrafficPolicyInstances = [];
|
|
6885
6888
|
}
|
|
6886
|
-
if (data["TrafficPolicyInstances"] !== undefined &&
|
|
6889
|
+
else if (data["TrafficPolicyInstances"] !== undefined &&
|
|
6887
6890
|
data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
|
|
6888
6891
|
contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances(__getArrayIfSingleItem(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
|
|
6889
6892
|
}
|
|
@@ -6971,7 +6974,7 @@ export var deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = fun
|
|
|
6971
6974
|
if (data.TrafficPolicyInstances === "") {
|
|
6972
6975
|
contents.TrafficPolicyInstances = [];
|
|
6973
6976
|
}
|
|
6974
|
-
if (data["TrafficPolicyInstances"] !== undefined &&
|
|
6977
|
+
else if (data["TrafficPolicyInstances"] !== undefined &&
|
|
6975
6978
|
data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
|
|
6976
6979
|
contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances(__getArrayIfSingleItem(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
|
|
6977
6980
|
}
|
|
@@ -7048,7 +7051,7 @@ export var deserializeAws_restXmlListTrafficPolicyVersionsCommand = function (ou
|
|
|
7048
7051
|
if (data.TrafficPolicies === "") {
|
|
7049
7052
|
contents.TrafficPolicies = [];
|
|
7050
7053
|
}
|
|
7051
|
-
if (data["TrafficPolicies"] !== undefined && data["TrafficPolicies"]["TrafficPolicy"] !== undefined) {
|
|
7054
|
+
else if (data["TrafficPolicies"] !== undefined && data["TrafficPolicies"]["TrafficPolicy"] !== undefined) {
|
|
7052
7055
|
contents.TrafficPolicies = deserializeAws_restXmlTrafficPolicies(__getArrayIfSingleItem(data["TrafficPolicies"]["TrafficPolicy"]), context);
|
|
7053
7056
|
}
|
|
7054
7057
|
if (data["TrafficPolicyVersionMarker"] !== undefined) {
|
|
@@ -7122,7 +7125,7 @@ export var deserializeAws_restXmlListVPCAssociationAuthorizationsCommand = funct
|
|
|
7122
7125
|
if (data.VPCs === "") {
|
|
7123
7126
|
contents.VPCs = [];
|
|
7124
7127
|
}
|
|
7125
|
-
if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
7128
|
+
else if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
|
|
7126
7129
|
contents.VPCs = deserializeAws_restXmlVPCs(__getArrayIfSingleItem(data["VPCs"]["VPC"]), context);
|
|
7127
7130
|
}
|
|
7128
7131
|
return [2, Promise.resolve(contents)];
|
|
@@ -7200,7 +7203,7 @@ export var deserializeAws_restXmlTestDNSAnswerCommand = function (output, contex
|
|
|
7200
7203
|
if (data.RecordData === "") {
|
|
7201
7204
|
contents.RecordData = [];
|
|
7202
7205
|
}
|
|
7203
|
-
if (data["RecordData"] !== undefined && data["RecordData"]["RecordDataEntry"] !== undefined) {
|
|
7206
|
+
else if (data["RecordData"] !== undefined && data["RecordData"]["RecordDataEntry"] !== undefined) {
|
|
7204
7207
|
contents.RecordData = deserializeAws_restXmlRecordData(__getArrayIfSingleItem(data["RecordData"]["RecordDataEntry"]), context);
|
|
7205
7208
|
}
|
|
7206
7209
|
if (data["RecordName"] !== undefined) {
|
|
@@ -7815,7 +7818,7 @@ var deserializeAws_restXmlInvalidChangeBatchResponse = function (parsedOutput, c
|
|
|
7815
7818
|
if (data.messages === "") {
|
|
7816
7819
|
contents.messages = [];
|
|
7817
7820
|
}
|
|
7818
|
-
if (data["messages"] !== undefined && data["messages"]["Message"] !== undefined) {
|
|
7821
|
+
else if (data["messages"] !== undefined && data["messages"]["Message"] !== undefined) {
|
|
7819
7822
|
contents.messages = deserializeAws_restXmlErrorMessages(__getArrayIfSingleItem(data["messages"]["Message"]), context);
|
|
7820
7823
|
}
|
|
7821
7824
|
exception = new InvalidChangeBatch(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
@@ -8974,7 +8977,7 @@ var deserializeAws_restXmlCloudWatchAlarmConfiguration = function (output, conte
|
|
|
8974
8977
|
if (output.Dimensions === "") {
|
|
8975
8978
|
contents.Dimensions = [];
|
|
8976
8979
|
}
|
|
8977
|
-
if (output["Dimensions"] !== undefined && output["Dimensions"]["Dimension"] !== undefined) {
|
|
8980
|
+
else if (output["Dimensions"] !== undefined && output["Dimensions"]["Dimension"] !== undefined) {
|
|
8978
8981
|
contents.Dimensions = deserializeAws_restXmlDimensionList(__getArrayIfSingleItem(output["Dimensions"]["Dimension"]), context);
|
|
8979
8982
|
}
|
|
8980
8983
|
return contents;
|
|
@@ -9025,7 +9028,7 @@ var deserializeAws_restXmlDelegationSet = function (output, context) {
|
|
|
9025
9028
|
if (output.NameServers === "") {
|
|
9026
9029
|
contents.NameServers = [];
|
|
9027
9030
|
}
|
|
9028
|
-
if (output["NameServers"] !== undefined && output["NameServers"]["NameServer"] !== undefined) {
|
|
9031
|
+
else if (output["NameServers"] !== undefined && output["NameServers"]["NameServer"] !== undefined) {
|
|
9029
9032
|
contents.NameServers = deserializeAws_restXmlDelegationSetNameServers(__getArrayIfSingleItem(output["NameServers"]["NameServer"]), context);
|
|
9030
9033
|
}
|
|
9031
9034
|
return contents;
|
|
@@ -9241,7 +9244,8 @@ var deserializeAws_restXmlHealthCheckConfig = function (output, context) {
|
|
|
9241
9244
|
if (output.ChildHealthChecks === "") {
|
|
9242
9245
|
contents.ChildHealthChecks = [];
|
|
9243
9246
|
}
|
|
9244
|
-
if (output["ChildHealthChecks"] !== undefined &&
|
|
9247
|
+
else if (output["ChildHealthChecks"] !== undefined &&
|
|
9248
|
+
output["ChildHealthChecks"]["ChildHealthCheck"] !== undefined) {
|
|
9245
9249
|
contents.ChildHealthChecks = deserializeAws_restXmlChildHealthCheckList(__getArrayIfSingleItem(output["ChildHealthChecks"]["ChildHealthCheck"]), context);
|
|
9246
9250
|
}
|
|
9247
9251
|
if (output["EnableSNI"] !== undefined) {
|
|
@@ -9250,7 +9254,7 @@ var deserializeAws_restXmlHealthCheckConfig = function (output, context) {
|
|
|
9250
9254
|
if (output.Regions === "") {
|
|
9251
9255
|
contents.Regions = [];
|
|
9252
9256
|
}
|
|
9253
|
-
if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
9257
|
+
else if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
9254
9258
|
contents.Regions = deserializeAws_restXmlHealthCheckRegionList(__getArrayIfSingleItem(output["Regions"]["Region"]), context);
|
|
9255
9259
|
}
|
|
9256
9260
|
if (output["AlarmIdentifier"] !== undefined) {
|
|
@@ -9630,7 +9634,7 @@ var deserializeAws_restXmlResourceRecordSet = function (output, context) {
|
|
|
9630
9634
|
if (output.ResourceRecords === "") {
|
|
9631
9635
|
contents.ResourceRecords = [];
|
|
9632
9636
|
}
|
|
9633
|
-
if (output["ResourceRecords"] !== undefined && output["ResourceRecords"]["ResourceRecord"] !== undefined) {
|
|
9637
|
+
else if (output["ResourceRecords"] !== undefined && output["ResourceRecords"]["ResourceRecord"] !== undefined) {
|
|
9634
9638
|
contents.ResourceRecords = deserializeAws_restXmlResourceRecords(__getArrayIfSingleItem(output["ResourceRecords"]["ResourceRecord"]), context);
|
|
9635
9639
|
}
|
|
9636
9640
|
if (output["AliasTarget"] !== undefined) {
|
|
@@ -9672,7 +9676,7 @@ var deserializeAws_restXmlResourceTagSet = function (output, context) {
|
|
|
9672
9676
|
if (output.Tags === "") {
|
|
9673
9677
|
contents.Tags = [];
|
|
9674
9678
|
}
|
|
9675
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
9679
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
9676
9680
|
contents.Tags = deserializeAws_restXmlTagList(__getArrayIfSingleItem(output["Tags"]["Tag"]), context);
|
|
9677
9681
|
}
|
|
9678
9682
|
return contents;
|
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.109.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",
|
|
@@ -18,39 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/middleware-
|
|
32
|
-
"@aws-sdk/middleware-
|
|
33
|
-
"@aws-sdk/middleware-
|
|
34
|
-
"@aws-sdk/middleware-
|
|
35
|
-
"@aws-sdk/middleware-
|
|
36
|
-
"@aws-sdk/
|
|
37
|
-
"@aws-sdk/node-
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/
|
|
40
|
-
"@aws-sdk/
|
|
41
|
-
"@aws-sdk/
|
|
42
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.109.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.109.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.109.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.109.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.109.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.109.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.109.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.109.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.109.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.109.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.109.0",
|
|
32
|
+
"@aws-sdk/middleware-sdk-route53": "3.109.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.109.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.109.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.109.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.109.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.109.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.109.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.109.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.109.0",
|
|
41
|
+
"@aws-sdk/types": "3.109.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.109.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
44
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
46
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
53
|
-
"@aws-sdk/xml-builder": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.109.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.109.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.109.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
53
|
+
"@aws-sdk/util-waiter": "3.109.0",
|
|
54
|
+
"@aws-sdk/xml-builder": "3.109.0",
|
|
54
55
|
"entities": "2.2.0",
|
|
55
56
|
"fast-xml-parser": "3.19.0",
|
|
56
57
|
"tslib": "^2.3.1"
|