@aws-sdk/client-mq 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.
@@ -574,7 +574,7 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
574
574
  contents.AuthenticationStrategy = (0, smithy_client_1.expectString)(data.authenticationStrategy);
575
575
  }
576
576
  if (data.created != null) {
577
- contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
577
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.created));
578
578
  }
579
579
  if (data.id != null) {
580
580
  contents.Id = (0, smithy_client_1.expectString)(data.id);
@@ -859,7 +859,7 @@ const deserializeAws_restJson1DescribeBrokerCommand = async (output, context) =>
859
859
  contents.Configurations = deserializeAws_restJson1Configurations(data.configurations, context);
860
860
  }
861
861
  if (data.created != null) {
862
- contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
862
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.created));
863
863
  }
864
864
  if (data.deploymentMode != null) {
865
865
  contents.DeploymentMode = (0, smithy_client_1.expectString)(data.deploymentMode);
@@ -1057,7 +1057,7 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
1057
1057
  contents.AuthenticationStrategy = (0, smithy_client_1.expectString)(data.authenticationStrategy);
1058
1058
  }
1059
1059
  if (data.created != null) {
1060
- contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
1060
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.created));
1061
1061
  }
1062
1062
  if (data.description != null) {
1063
1063
  contents.Description = (0, smithy_client_1.expectString)(data.description);
@@ -1124,7 +1124,7 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (outp
1124
1124
  contents.ConfigurationId = (0, smithy_client_1.expectString)(data.configurationId);
1125
1125
  }
1126
1126
  if (data.created != null) {
1127
- contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
1127
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.created));
1128
1128
  }
1129
1129
  if (data.data != null) {
1130
1130
  contents.Data = (0, smithy_client_1.expectString)(data.data);
@@ -1580,7 +1580,7 @@ const deserializeAws_restJson1UpdateConfigurationCommand = async (output, contex
1580
1580
  contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1581
1581
  }
1582
1582
  if (data.created != null) {
1583
- contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
1583
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.created));
1584
1584
  }
1585
1585
  if (data.id != null) {
1586
1586
  contents.Id = (0, smithy_client_1.expectString)(data.id);
@@ -2045,7 +2045,7 @@ const deserializeAws_restJson1BrokerSummary = (output, context) => {
2045
2045
  BrokerId: (0, smithy_client_1.expectString)(output.brokerId),
2046
2046
  BrokerName: (0, smithy_client_1.expectString)(output.brokerName),
2047
2047
  BrokerState: (0, smithy_client_1.expectString)(output.brokerState),
2048
- Created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.created)) : undefined,
2048
+ Created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.created)) : undefined,
2049
2049
  DeploymentMode: (0, smithy_client_1.expectString)(output.deploymentMode),
2050
2050
  EngineType: (0, smithy_client_1.expectString)(output.engineType),
2051
2051
  HostInstanceType: (0, smithy_client_1.expectString)(output.hostInstanceType),
@@ -2055,7 +2055,7 @@ const deserializeAws_restJson1Configuration = (output, context) => {
2055
2055
  return {
2056
2056
  Arn: (0, smithy_client_1.expectString)(output.arn),
2057
2057
  AuthenticationStrategy: (0, smithy_client_1.expectString)(output.authenticationStrategy),
2058
- Created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.created)) : undefined,
2058
+ Created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.created)) : undefined,
2059
2059
  Description: (0, smithy_client_1.expectString)(output.description),
2060
2060
  EngineType: (0, smithy_client_1.expectString)(output.engineType),
2061
2061
  EngineVersion: (0, smithy_client_1.expectString)(output.engineVersion),
@@ -2075,7 +2075,7 @@ const deserializeAws_restJson1ConfigurationId = (output, context) => {
2075
2075
  };
2076
2076
  const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
2077
2077
  return {
2078
- Created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.created)) : undefined,
2078
+ Created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.created)) : undefined,
2079
2079
  Description: (0, smithy_client_1.expectString)(output.description),
2080
2080
  Revision: (0, smithy_client_1.expectInt32)(output.revision),
2081
2081
  };
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, UnauthorizedException, } from "../models/models_0";
5
5
  import { MqServiceException as __BaseException } from "../models/MqServiceException";
@@ -548,7 +548,7 @@ export const deserializeAws_restJson1CreateConfigurationCommand = async (output,
548
548
  contents.AuthenticationStrategy = __expectString(data.authenticationStrategy);
549
549
  }
550
550
  if (data.created != null) {
551
- contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
551
+ contents.Created = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.created));
552
552
  }
553
553
  if (data.id != null) {
554
554
  contents.Id = __expectString(data.id);
@@ -827,7 +827,7 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (output, cont
827
827
  contents.Configurations = deserializeAws_restJson1Configurations(data.configurations, context);
828
828
  }
829
829
  if (data.created != null) {
830
- contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
830
+ contents.Created = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.created));
831
831
  }
832
832
  if (data.deploymentMode != null) {
833
833
  contents.DeploymentMode = __expectString(data.deploymentMode);
@@ -1022,7 +1022,7 @@ export const deserializeAws_restJson1DescribeConfigurationCommand = async (outpu
1022
1022
  contents.AuthenticationStrategy = __expectString(data.authenticationStrategy);
1023
1023
  }
1024
1024
  if (data.created != null) {
1025
- contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
1025
+ contents.Created = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.created));
1026
1026
  }
1027
1027
  if (data.description != null) {
1028
1028
  contents.Description = __expectString(data.description);
@@ -1088,7 +1088,7 @@ export const deserializeAws_restJson1DescribeConfigurationRevisionCommand = asyn
1088
1088
  contents.ConfigurationId = __expectString(data.configurationId);
1089
1089
  }
1090
1090
  if (data.created != null) {
1091
- contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
1091
+ contents.Created = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.created));
1092
1092
  }
1093
1093
  if (data.data != null) {
1094
1094
  contents.Data = __expectString(data.data);
@@ -1535,7 +1535,7 @@ export const deserializeAws_restJson1UpdateConfigurationCommand = async (output,
1535
1535
  contents.Arn = __expectString(data.arn);
1536
1536
  }
1537
1537
  if (data.created != null) {
1538
- contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
1538
+ contents.Created = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.created));
1539
1539
  }
1540
1540
  if (data.id != null) {
1541
1541
  contents.Id = __expectString(data.id);
@@ -1998,7 +1998,7 @@ const deserializeAws_restJson1BrokerSummary = (output, context) => {
1998
1998
  BrokerId: __expectString(output.brokerId),
1999
1999
  BrokerName: __expectString(output.brokerName),
2000
2000
  BrokerState: __expectString(output.brokerState),
2001
- Created: output.created != null ? __expectNonNull(__parseRfc3339DateTime(output.created)) : undefined,
2001
+ Created: output.created != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.created)) : undefined,
2002
2002
  DeploymentMode: __expectString(output.deploymentMode),
2003
2003
  EngineType: __expectString(output.engineType),
2004
2004
  HostInstanceType: __expectString(output.hostInstanceType),
@@ -2008,7 +2008,7 @@ const deserializeAws_restJson1Configuration = (output, context) => {
2008
2008
  return {
2009
2009
  Arn: __expectString(output.arn),
2010
2010
  AuthenticationStrategy: __expectString(output.authenticationStrategy),
2011
- Created: output.created != null ? __expectNonNull(__parseRfc3339DateTime(output.created)) : undefined,
2011
+ Created: output.created != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.created)) : undefined,
2012
2012
  Description: __expectString(output.description),
2013
2013
  EngineType: __expectString(output.engineType),
2014
2014
  EngineVersion: __expectString(output.engineVersion),
@@ -2028,7 +2028,7 @@ const deserializeAws_restJson1ConfigurationId = (output, context) => {
2028
2028
  };
2029
2029
  const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
2030
2030
  return {
2031
- Created: output.created != null ? __expectNonNull(__parseRfc3339DateTime(output.created)) : undefined,
2031
+ Created: output.created != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.created)) : undefined,
2032
2032
  Description: __expectString(output.description),
2033
2033
  Revision: __expectInt32(output.revision),
2034
2034
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mq",
3
3
  "description": "AWS SDK for JavaScript Mq 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",