@aws-sdk/client-elastic-load-balancing-v2 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.
@@ -4668,7 +4668,7 @@ const deserializeAws_queryLoadBalancer = (output, context) => {
4668
4668
  contents.CanonicalHostedZoneId = (0, smithy_client_1.expectString)(output["CanonicalHostedZoneId"]);
4669
4669
  }
4670
4670
  if (output["CreatedTime"] !== undefined) {
4671
- contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedTime"]));
4671
+ contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedTime"]));
4672
4672
  }
4673
4673
  if (output["LoadBalancerName"] !== undefined) {
4674
4674
  contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
@@ -5624,7 +5624,7 @@ const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
5624
5624
  .map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
5625
5625
  .join("&");
5626
5626
  const loadQueryErrorCode = (output, data) => {
5627
- if (data.Error.Code !== undefined) {
5627
+ if (data.Error?.Code !== undefined) {
5628
5628
  return data.Error.Code;
5629
5629
  }
5630
5630
  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, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { ElasticLoadBalancingV2ServiceException as __BaseException } from "../models/ElasticLoadBalancingV2ServiceException";
5
5
  import { AllocationIdNotFoundException, ALPNPolicyNotSupportedException, AvailabilityZoneNotSupportedException, CertificateNotFoundException, DuplicateListenerException, DuplicateLoadBalancerNameException, DuplicateTagKeysException, DuplicateTargetGroupNameException, HealthUnavailableException, IncompatibleProtocolsException, InvalidConfigurationRequestException, InvalidLoadBalancerActionException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, InvalidTargetException, ListenerNotFoundException, LoadBalancerNotFoundException, OperationNotPermittedException, PriorityInUseException, ResourceInUseException, RuleNotFoundException, SSLPolicyNotFoundException, SubnetNotFoundException, TargetGroupAssociationLimitException, TargetGroupNotFoundException, TooManyActionsException, TooManyCertificatesException, TooManyListenersException, TooManyLoadBalancersException, TooManyRegistrationsForTargetIdException, TooManyRulesException, TooManyTagsException, TooManyTargetGroupsException, TooManyTargetsException, TooManyUniqueTargetGroupsPerLoadBalancerException, UnsupportedProtocolException, } from "../models/models_0";
@@ -4596,7 +4596,7 @@ const deserializeAws_queryLoadBalancer = (output, context) => {
4596
4596
  contents.CanonicalHostedZoneId = __expectString(output["CanonicalHostedZoneId"]);
4597
4597
  }
4598
4598
  if (output["CreatedTime"] !== undefined) {
4599
- contents.CreatedTime = __expectNonNull(__parseRfc3339DateTime(output["CreatedTime"]));
4599
+ contents.CreatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedTime"]));
4600
4600
  }
4601
4601
  if (output["LoadBalancerName"] !== undefined) {
4602
4602
  contents.LoadBalancerName = __expectString(output["LoadBalancerName"]);
@@ -5552,7 +5552,7 @@ const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
5552
5552
  .map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
5553
5553
  .join("&");
5554
5554
  const loadQueryErrorCode = (output, data) => {
5555
- if (data.Error.Code !== undefined) {
5555
+ if (data.Error?.Code !== undefined) {
5556
5556
  return data.Error.Code;
5557
5557
  }
5558
5558
  if (output.statusCode == 404) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elastic-load-balancing-v2",
3
3
  "description": "AWS SDK for JavaScript Elastic Load Balancing V2 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",
@@ -39,14 +39,14 @@
39
39
  "@aws-sdk/node-config-provider": "3.259.0",
40
40
  "@aws-sdk/node-http-handler": "3.257.0",
41
41
  "@aws-sdk/protocol-http": "3.257.0",
42
- "@aws-sdk/smithy-client": "3.257.0",
42
+ "@aws-sdk/smithy-client": "3.261.0",
43
43
  "@aws-sdk/types": "3.257.0",
44
44
  "@aws-sdk/url-parser": "3.257.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.257.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.259.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.261.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.261.0",
50
50
  "@aws-sdk/util-endpoints": "3.257.0",
51
51
  "@aws-sdk/util-retry": "3.257.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.257.0",