@aws-sdk/client-route-53 3.216.0 → 3.218.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.
@@ -1248,8 +1248,8 @@ const serializeAws_restXmlListHostedZonesByVPCCommand = async (input, context) =
1248
1248
  const headers = {};
1249
1249
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzonesbyvpc";
1250
1250
  const query = map({
1251
- vpcid: [, input.VPCId],
1252
- vpcregion: [, input.VPCRegion],
1251
+ vpcid: [, (0, smithy_client_1.expectNonNull)(input.VPCId, `VPCId`)],
1252
+ vpcregion: [, (0, smithy_client_1.expectNonNull)(input.VPCRegion, `VPCRegion`)],
1253
1253
  maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
1254
1254
  nexttoken: [, input.NextToken],
1255
1255
  });
@@ -1434,7 +1434,7 @@ const serializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand = async
1434
1434
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1435
1435
  "/2013-04-01/trafficpolicyinstances/hostedzone";
1436
1436
  const query = map({
1437
- id: [, input.HostedZoneId],
1437
+ id: [, (0, smithy_client_1.expectNonNull)(input.HostedZoneId, `HostedZoneId`)],
1438
1438
  trafficpolicyinstancename: [, input.TrafficPolicyInstanceNameMarker],
1439
1439
  trafficpolicyinstancetype: [, input.TrafficPolicyInstanceTypeMarker],
1440
1440
  maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
@@ -1458,8 +1458,11 @@ const serializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = async (inp
1458
1458
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1459
1459
  "/2013-04-01/trafficpolicyinstances/trafficpolicy";
1460
1460
  const query = map({
1461
- id: [, input.TrafficPolicyId],
1462
- version: [() => input.TrafficPolicyVersion !== void 0, () => input.TrafficPolicyVersion.toString()],
1461
+ id: [, (0, smithy_client_1.expectNonNull)(input.TrafficPolicyId, `TrafficPolicyId`)],
1462
+ version: [
1463
+ (0, smithy_client_1.expectNonNull)(input.TrafficPolicyVersion, `TrafficPolicyVersion`) != null,
1464
+ () => input.TrafficPolicyVersion.toString(),
1465
+ ],
1463
1466
  hostedzoneid: [, input.HostedZoneIdMarker],
1464
1467
  trafficpolicyinstancename: [, input.TrafficPolicyInstanceNameMarker],
1465
1468
  trafficpolicyinstancetype: [, input.TrafficPolicyInstanceTypeMarker],
@@ -1528,9 +1531,9 @@ const serializeAws_restXmlTestDNSAnswerCommand = async (input, context) => {
1528
1531
  const headers = {};
1529
1532
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/testdnsanswer";
1530
1533
  const query = map({
1531
- hostedzoneid: [, input.HostedZoneId],
1532
- recordname: [, input.RecordName],
1533
- recordtype: [, input.RecordType],
1534
+ hostedzoneid: [, (0, smithy_client_1.expectNonNull)(input.HostedZoneId, `HostedZoneId`)],
1535
+ recordname: [, (0, smithy_client_1.expectNonNull)(input.RecordName, `RecordName`)],
1536
+ recordtype: [, (0, smithy_client_1.expectNonNull)(input.RecordType, `RecordType`)],
1534
1537
  resolverip: [, input.ResolverIP],
1535
1538
  edns0clientsubnetip: [, input.EDNS0ClientSubnetIP],
1536
1539
  edns0clientsubnetmask: [, input.EDNS0ClientSubnetMask],
@@ -1190,8 +1190,8 @@ export const serializeAws_restXmlListHostedZonesByVPCCommand = async (input, con
1190
1190
  const headers = {};
1191
1191
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/hostedzonesbyvpc";
1192
1192
  const query = map({
1193
- vpcid: [, input.VPCId],
1194
- vpcregion: [, input.VPCRegion],
1193
+ vpcid: [, __expectNonNull(input.VPCId, `VPCId`)],
1194
+ vpcregion: [, __expectNonNull(input.VPCRegion, `VPCRegion`)],
1195
1195
  maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
1196
1196
  nexttoken: [, input.NextToken],
1197
1197
  });
@@ -1368,7 +1368,7 @@ export const serializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand =
1368
1368
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1369
1369
  "/2013-04-01/trafficpolicyinstances/hostedzone";
1370
1370
  const query = map({
1371
- id: [, input.HostedZoneId],
1371
+ id: [, __expectNonNull(input.HostedZoneId, `HostedZoneId`)],
1372
1372
  trafficpolicyinstancename: [, input.TrafficPolicyInstanceNameMarker],
1373
1373
  trafficpolicyinstancetype: [, input.TrafficPolicyInstanceTypeMarker],
1374
1374
  maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
@@ -1391,8 +1391,11 @@ export const serializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = asy
1391
1391
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1392
1392
  "/2013-04-01/trafficpolicyinstances/trafficpolicy";
1393
1393
  const query = map({
1394
- id: [, input.TrafficPolicyId],
1395
- version: [() => input.TrafficPolicyVersion !== void 0, () => input.TrafficPolicyVersion.toString()],
1394
+ id: [, __expectNonNull(input.TrafficPolicyId, `TrafficPolicyId`)],
1395
+ version: [
1396
+ __expectNonNull(input.TrafficPolicyVersion, `TrafficPolicyVersion`) != null,
1397
+ () => input.TrafficPolicyVersion.toString(),
1398
+ ],
1396
1399
  hostedzoneid: [, input.HostedZoneIdMarker],
1397
1400
  trafficpolicyinstancename: [, input.TrafficPolicyInstanceNameMarker],
1398
1401
  trafficpolicyinstancetype: [, input.TrafficPolicyInstanceTypeMarker],
@@ -1458,9 +1461,9 @@ export const serializeAws_restXmlTestDNSAnswerCommand = async (input, context) =
1458
1461
  const headers = {};
1459
1462
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2013-04-01/testdnsanswer";
1460
1463
  const query = map({
1461
- hostedzoneid: [, input.HostedZoneId],
1462
- recordname: [, input.RecordName],
1463
- recordtype: [, input.RecordType],
1464
+ hostedzoneid: [, __expectNonNull(input.HostedZoneId, `HostedZoneId`)],
1465
+ recordname: [, __expectNonNull(input.RecordName, `RecordName`)],
1466
+ recordtype: [, __expectNonNull(input.RecordType, `RecordType`)],
1464
1467
  resolverip: [, input.ResolverIP],
1465
1468
  edns0clientsubnetip: [, input.EDNS0ClientSubnetIP],
1466
1469
  edns0clientsubnetmask: [, input.EDNS0ClientSubnetMask],
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.216.0",
4
+ "version": "3.218.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,9 +19,9 @@
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.216.0",
22
+ "@aws-sdk/client-sts": "3.218.0",
23
23
  "@aws-sdk/config-resolver": "3.215.0",
24
- "@aws-sdk/credential-provider-node": "3.216.0",
24
+ "@aws-sdk/credential-provider-node": "3.218.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.215.0",
26
26
  "@aws-sdk/hash-node": "3.215.0",
27
27
  "@aws-sdk/invalid-dependency": "3.215.0",