@aws-sdk/client-route-53 3.259.0 → 3.262.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.
@@ -6212,7 +6212,7 @@ const deserializeAws_restXmlChangeInfo = (output, context) => {
6212
6212
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6213
6213
  }
6214
6214
  if (output["SubmittedAt"] !== undefined) {
6215
- contents.SubmittedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["SubmittedAt"]));
6215
+ contents.SubmittedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["SubmittedAt"]));
6216
6216
  }
6217
6217
  if (output["Comment"] !== undefined) {
6218
6218
  contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
@@ -6794,10 +6794,10 @@ const deserializeAws_restXmlKeySigningKey = (output, context) => {
6794
6794
  contents.StatusMessage = (0, smithy_client_1.expectString)(output["StatusMessage"]);
6795
6795
  }
6796
6796
  if (output["CreatedDate"] !== undefined) {
6797
- contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedDate"]));
6797
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedDate"]));
6798
6798
  }
6799
6799
  if (output["LastModifiedDate"] !== undefined) {
6800
- contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastModifiedDate"]));
6800
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastModifiedDate"]));
6801
6801
  }
6802
6802
  return contents;
6803
6803
  };
@@ -7004,7 +7004,7 @@ const deserializeAws_restXmlStatusReport = (output, context) => {
7004
7004
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7005
7005
  }
7006
7006
  if (output["CheckedTime"] !== undefined) {
7007
- contents.CheckedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CheckedTime"]));
7007
+ contents.CheckedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CheckedTime"]));
7008
7008
  }
7009
7009
  return contents;
7010
7010
  };
@@ -7215,7 +7215,7 @@ const parseErrorBody = async (errorBody, context) => {
7215
7215
  return value;
7216
7216
  };
7217
7217
  const loadRestXmlErrorCode = (output, data) => {
7218
- if (data.Error.Code !== undefined) {
7218
+ if (data.Error?.Code !== undefined) {
7219
7219
  return data.Error.Code;
7220
7220
  }
7221
7221
  if (output.statusCode == 404) {
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map as __map, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map as __map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
4
4
  import { XMLParser } from "fast-xml-parser";
5
5
  import { CidrBlockInUseException, CidrCollectionAlreadyExistsException, CidrCollectionInUseException, CidrCollectionVersionMismatchException, ConcurrentModification, ConflictingDomainExists, ConflictingTypes, DelegationSetAlreadyCreated, DelegationSetAlreadyReusable, DelegationSetInUse, DelegationSetNotAvailable, DelegationSetNotReusable, DNSSECNotFound, HealthCheckAlreadyExists, HealthCheckInUse, HealthCheckVersionMismatch, HostedZoneAlreadyExists, HostedZoneNotEmpty, HostedZoneNotFound, HostedZoneNotPrivate, HostedZonePartiallyDelegated, IncompatibleVersion, InsufficientCloudWatchLogsResourcePolicy, InvalidArgument, InvalidChangeBatch, InvalidDomainName, InvalidInput, InvalidKeySigningKeyName, InvalidKeySigningKeyStatus, InvalidKMSArn, InvalidPaginationToken, InvalidSigningStatus, InvalidTrafficPolicyDocument, InvalidVPCId, KeySigningKeyAlreadyExists, KeySigningKeyInParentDSRecord, KeySigningKeyInUse, KeySigningKeyWithActiveStatusNotFound, LastVPCAssociation, LimitsExceeded, NoSuchChange, NoSuchCidrCollectionException, NoSuchCidrLocationException, NoSuchCloudWatchLogsLogGroup, NoSuchDelegationSet, NoSuchGeoLocation, NoSuchHealthCheck, NoSuchHostedZone, NoSuchKeySigningKey, NoSuchQueryLoggingConfig, NoSuchTrafficPolicy, NoSuchTrafficPolicyInstance, NotAuthorizedException, PriorRequestNotComplete, PublicZoneVPCAssociation, QueryLoggingConfigAlreadyExists, ThrottlingException, TooManyHealthChecks, TooManyHostedZones, TooManyKeySigningKeys, TooManyTrafficPolicies, TooManyTrafficPolicyInstances, TooManyTrafficPolicyVersionsForCurrentPolicy, TooManyVPCAssociationAuthorizations, TrafficPolicyAlreadyExists, TrafficPolicyInstanceAlreadyExists, TrafficPolicyInUse, VPCAssociationAuthorizationNotFound, VPCAssociationNotFound, } from "../models/models_0";
@@ -6067,7 +6067,7 @@ const deserializeAws_restXmlChangeInfo = (output, context) => {
6067
6067
  contents.Status = __expectString(output["Status"]);
6068
6068
  }
6069
6069
  if (output["SubmittedAt"] !== undefined) {
6070
- contents.SubmittedAt = __expectNonNull(__parseRfc3339DateTime(output["SubmittedAt"]));
6070
+ contents.SubmittedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["SubmittedAt"]));
6071
6071
  }
6072
6072
  if (output["Comment"] !== undefined) {
6073
6073
  contents.Comment = __expectString(output["Comment"]);
@@ -6649,10 +6649,10 @@ const deserializeAws_restXmlKeySigningKey = (output, context) => {
6649
6649
  contents.StatusMessage = __expectString(output["StatusMessage"]);
6650
6650
  }
6651
6651
  if (output["CreatedDate"] !== undefined) {
6652
- contents.CreatedDate = __expectNonNull(__parseRfc3339DateTime(output["CreatedDate"]));
6652
+ contents.CreatedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedDate"]));
6653
6653
  }
6654
6654
  if (output["LastModifiedDate"] !== undefined) {
6655
- contents.LastModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedDate"]));
6655
+ contents.LastModifiedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastModifiedDate"]));
6656
6656
  }
6657
6657
  return contents;
6658
6658
  };
@@ -6859,7 +6859,7 @@ const deserializeAws_restXmlStatusReport = (output, context) => {
6859
6859
  contents.Status = __expectString(output["Status"]);
6860
6860
  }
6861
6861
  if (output["CheckedTime"] !== undefined) {
6862
- contents.CheckedTime = __expectNonNull(__parseRfc3339DateTime(output["CheckedTime"]));
6862
+ contents.CheckedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CheckedTime"]));
6863
6863
  }
6864
6864
  return contents;
6865
6865
  };
@@ -7070,7 +7070,7 @@ const parseErrorBody = async (errorBody, context) => {
7070
7070
  return value;
7071
7071
  };
7072
7072
  const loadRestXmlErrorCode = (output, data) => {
7073
- if (data.Error.Code !== undefined) {
7073
+ if (data.Error?.Code !== undefined) {
7074
7074
  return data.Error.Code;
7075
7075
  }
7076
7076
  if (output.statusCode == 404) {
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.259.0",
4
+ "version": "3.262.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.259.0",
23
+ "@aws-sdk/client-sts": "3.262.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.259.0",
25
+ "@aws-sdk/credential-provider-node": "3.261.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.259.0",
41
41
  "@aws-sdk/node-http-handler": "3.257.0",
42
42
  "@aws-sdk/protocol-http": "3.257.0",
43
- "@aws-sdk/smithy-client": "3.257.0",
43
+ "@aws-sdk/smithy-client": "3.261.0",
44
44
  "@aws-sdk/types": "3.257.0",
45
45
  "@aws-sdk/url-parser": "3.257.0",
46
46
  "@aws-sdk/util-base64": "3.208.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.188.0",
48
48
  "@aws-sdk/util-body-length-node": "3.208.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.257.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.259.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.261.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.261.0",
51
51
  "@aws-sdk/util-endpoints": "3.257.0",
52
52
  "@aws-sdk/util-retry": "3.257.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.257.0",