@aws-sdk/client-timestream-write 3.121.0 → 3.127.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 CHANGED
@@ -3,6 +3,14 @@
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-timestream-write
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
15
 
8
16
 
@@ -1003,40 +1003,38 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
1003
1003
  };
1004
1004
  const serializeAws_json1_0CreateDatabaseRequest = (input, context) => {
1005
1005
  return {
1006
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1007
- ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
1008
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
1006
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1007
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
1008
+ ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
1009
1009
  };
1010
1010
  };
1011
1011
  const serializeAws_json1_0CreateTableRequest = (input, context) => {
1012
1012
  return {
1013
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1014
- ...(input.MagneticStoreWriteProperties !== undefined &&
1015
- input.MagneticStoreWriteProperties !== null && {
1013
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1014
+ ...(input.MagneticStoreWriteProperties != null && {
1016
1015
  MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
1017
1016
  }),
1018
- ...(input.RetentionProperties !== undefined &&
1019
- input.RetentionProperties !== null && {
1017
+ ...(input.RetentionProperties != null && {
1020
1018
  RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
1021
1019
  }),
1022
- ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
1023
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
1020
+ ...(input.TableName != null && { TableName: input.TableName }),
1021
+ ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
1024
1022
  };
1025
1023
  };
1026
1024
  const serializeAws_json1_0DeleteDatabaseRequest = (input, context) => {
1027
1025
  return {
1028
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1026
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1029
1027
  };
1030
1028
  };
1031
1029
  const serializeAws_json1_0DeleteTableRequest = (input, context) => {
1032
1030
  return {
1033
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1034
- ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
1031
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1032
+ ...(input.TableName != null && { TableName: input.TableName }),
1035
1033
  };
1036
1034
  };
1037
1035
  const serializeAws_json1_0DescribeDatabaseRequest = (input, context) => {
1038
1036
  return {
1039
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1037
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1040
1038
  };
1041
1039
  };
1042
1040
  const serializeAws_json1_0DescribeEndpointsRequest = (input, context) => {
@@ -1044,16 +1042,15 @@ const serializeAws_json1_0DescribeEndpointsRequest = (input, context) => {
1044
1042
  };
1045
1043
  const serializeAws_json1_0DescribeTableRequest = (input, context) => {
1046
1044
  return {
1047
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1048
- ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
1045
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1046
+ ...(input.TableName != null && { TableName: input.TableName }),
1049
1047
  };
1050
1048
  };
1051
1049
  const serializeAws_json1_0Dimension = (input, context) => {
1052
1050
  return {
1053
- ...(input.DimensionValueType !== undefined &&
1054
- input.DimensionValueType !== null && { DimensionValueType: input.DimensionValueType }),
1055
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1056
- ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
1051
+ ...(input.DimensionValueType != null && { DimensionValueType: input.DimensionValueType }),
1052
+ ...(input.Name != null && { Name: input.Name }),
1053
+ ...(input.Value != null && { Value: input.Value }),
1057
1054
  };
1058
1055
  };
1059
1056
  const serializeAws_json1_0Dimensions = (input, context) => {
@@ -1068,45 +1065,42 @@ const serializeAws_json1_0Dimensions = (input, context) => {
1068
1065
  };
1069
1066
  const serializeAws_json1_0ListDatabasesRequest = (input, context) => {
1070
1067
  return {
1071
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
1072
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
1068
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1069
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
1073
1070
  };
1074
1071
  };
1075
1072
  const serializeAws_json1_0ListTablesRequest = (input, context) => {
1076
1073
  return {
1077
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1078
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
1079
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
1074
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1075
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1076
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
1080
1077
  };
1081
1078
  };
1082
1079
  const serializeAws_json1_0ListTagsForResourceRequest = (input, context) => {
1083
1080
  return {
1084
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
1081
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1085
1082
  };
1086
1083
  };
1087
1084
  const serializeAws_json1_0MagneticStoreRejectedDataLocation = (input, context) => {
1088
1085
  return {
1089
- ...(input.S3Configuration !== undefined &&
1090
- input.S3Configuration !== null && {
1086
+ ...(input.S3Configuration != null && {
1091
1087
  S3Configuration: serializeAws_json1_0S3Configuration(input.S3Configuration, context),
1092
1088
  }),
1093
1089
  };
1094
1090
  };
1095
1091
  const serializeAws_json1_0MagneticStoreWriteProperties = (input, context) => {
1096
1092
  return {
1097
- ...(input.EnableMagneticStoreWrites !== undefined &&
1098
- input.EnableMagneticStoreWrites !== null && { EnableMagneticStoreWrites: input.EnableMagneticStoreWrites }),
1099
- ...(input.MagneticStoreRejectedDataLocation !== undefined &&
1100
- input.MagneticStoreRejectedDataLocation !== null && {
1093
+ ...(input.EnableMagneticStoreWrites != null && { EnableMagneticStoreWrites: input.EnableMagneticStoreWrites }),
1094
+ ...(input.MagneticStoreRejectedDataLocation != null && {
1101
1095
  MagneticStoreRejectedDataLocation: serializeAws_json1_0MagneticStoreRejectedDataLocation(input.MagneticStoreRejectedDataLocation, context),
1102
1096
  }),
1103
1097
  };
1104
1098
  };
1105
1099
  const serializeAws_json1_0MeasureValue = (input, context) => {
1106
1100
  return {
1107
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1108
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
1109
- ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
1101
+ ...(input.Name != null && { Name: input.Name }),
1102
+ ...(input.Type != null && { Type: input.Type }),
1103
+ ...(input.Value != null && { Value: input.Value }),
1110
1104
  };
1111
1105
  };
1112
1106
  const serializeAws_json1_0MeasureValues = (input, context) => {
@@ -1121,19 +1115,16 @@ const serializeAws_json1_0MeasureValues = (input, context) => {
1121
1115
  };
1122
1116
  const serializeAws_json1_0_Record = (input, context) => {
1123
1117
  return {
1124
- ...(input.Dimensions !== undefined &&
1125
- input.Dimensions !== null && { Dimensions: serializeAws_json1_0Dimensions(input.Dimensions, context) }),
1126
- ...(input.MeasureName !== undefined && input.MeasureName !== null && { MeasureName: input.MeasureName }),
1127
- ...(input.MeasureValue !== undefined && input.MeasureValue !== null && { MeasureValue: input.MeasureValue }),
1128
- ...(input.MeasureValueType !== undefined &&
1129
- input.MeasureValueType !== null && { MeasureValueType: input.MeasureValueType }),
1130
- ...(input.MeasureValues !== undefined &&
1131
- input.MeasureValues !== null && {
1118
+ ...(input.Dimensions != null && { Dimensions: serializeAws_json1_0Dimensions(input.Dimensions, context) }),
1119
+ ...(input.MeasureName != null && { MeasureName: input.MeasureName }),
1120
+ ...(input.MeasureValue != null && { MeasureValue: input.MeasureValue }),
1121
+ ...(input.MeasureValueType != null && { MeasureValueType: input.MeasureValueType }),
1122
+ ...(input.MeasureValues != null && {
1132
1123
  MeasureValues: serializeAws_json1_0MeasureValues(input.MeasureValues, context),
1133
1124
  }),
1134
- ...(input.Time !== undefined && input.Time !== null && { Time: input.Time }),
1135
- ...(input.TimeUnit !== undefined && input.TimeUnit !== null && { TimeUnit: input.TimeUnit }),
1136
- ...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
1125
+ ...(input.Time != null && { Time: input.Time }),
1126
+ ...(input.TimeUnit != null && { TimeUnit: input.TimeUnit }),
1127
+ ...(input.Version != null && { Version: input.Version }),
1137
1128
  };
1138
1129
  };
1139
1130
  const serializeAws_json1_0Records = (input, context) => {
@@ -1148,30 +1139,26 @@ const serializeAws_json1_0Records = (input, context) => {
1148
1139
  };
1149
1140
  const serializeAws_json1_0RetentionProperties = (input, context) => {
1150
1141
  return {
1151
- ...(input.MagneticStoreRetentionPeriodInDays !== undefined &&
1152
- input.MagneticStoreRetentionPeriodInDays !== null && {
1142
+ ...(input.MagneticStoreRetentionPeriodInDays != null && {
1153
1143
  MagneticStoreRetentionPeriodInDays: input.MagneticStoreRetentionPeriodInDays,
1154
1144
  }),
1155
- ...(input.MemoryStoreRetentionPeriodInHours !== undefined &&
1156
- input.MemoryStoreRetentionPeriodInHours !== null && {
1145
+ ...(input.MemoryStoreRetentionPeriodInHours != null && {
1157
1146
  MemoryStoreRetentionPeriodInHours: input.MemoryStoreRetentionPeriodInHours,
1158
1147
  }),
1159
1148
  };
1160
1149
  };
1161
1150
  const serializeAws_json1_0S3Configuration = (input, context) => {
1162
1151
  return {
1163
- ...(input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName }),
1164
- ...(input.EncryptionOption !== undefined &&
1165
- input.EncryptionOption !== null && { EncryptionOption: input.EncryptionOption }),
1166
- ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
1167
- ...(input.ObjectKeyPrefix !== undefined &&
1168
- input.ObjectKeyPrefix !== null && { ObjectKeyPrefix: input.ObjectKeyPrefix }),
1152
+ ...(input.BucketName != null && { BucketName: input.BucketName }),
1153
+ ...(input.EncryptionOption != null && { EncryptionOption: input.EncryptionOption }),
1154
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
1155
+ ...(input.ObjectKeyPrefix != null && { ObjectKeyPrefix: input.ObjectKeyPrefix }),
1169
1156
  };
1170
1157
  };
1171
1158
  const serializeAws_json1_0Tag = (input, context) => {
1172
1159
  return {
1173
- ...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
1174
- ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
1160
+ ...(input.Key != null && { Key: input.Key }),
1161
+ ...(input.Value != null && { Value: input.Value }),
1175
1162
  };
1176
1163
  };
1177
1164
  const serializeAws_json1_0TagKeyList = (input, context) => {
@@ -1196,47 +1183,42 @@ const serializeAws_json1_0TagList = (input, context) => {
1196
1183
  };
1197
1184
  const serializeAws_json1_0TagResourceRequest = (input, context) => {
1198
1185
  return {
1199
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
1200
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
1186
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1187
+ ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
1201
1188
  };
1202
1189
  };
1203
1190
  const serializeAws_json1_0UntagResourceRequest = (input, context) => {
1204
1191
  return {
1205
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
1206
- ...(input.TagKeys !== undefined &&
1207
- input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }),
1192
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1193
+ ...(input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }),
1208
1194
  };
1209
1195
  };
1210
1196
  const serializeAws_json1_0UpdateDatabaseRequest = (input, context) => {
1211
1197
  return {
1212
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1213
- ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
1198
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1199
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
1214
1200
  };
1215
1201
  };
1216
1202
  const serializeAws_json1_0UpdateTableRequest = (input, context) => {
1217
1203
  return {
1218
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1219
- ...(input.MagneticStoreWriteProperties !== undefined &&
1220
- input.MagneticStoreWriteProperties !== null && {
1204
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1205
+ ...(input.MagneticStoreWriteProperties != null && {
1221
1206
  MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
1222
1207
  }),
1223
- ...(input.RetentionProperties !== undefined &&
1224
- input.RetentionProperties !== null && {
1208
+ ...(input.RetentionProperties != null && {
1225
1209
  RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
1226
1210
  }),
1227
- ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
1211
+ ...(input.TableName != null && { TableName: input.TableName }),
1228
1212
  };
1229
1213
  };
1230
1214
  const serializeAws_json1_0WriteRecordsRequest = (input, context) => {
1231
1215
  return {
1232
- ...(input.CommonAttributes !== undefined &&
1233
- input.CommonAttributes !== null && {
1216
+ ...(input.CommonAttributes != null && {
1234
1217
  CommonAttributes: serializeAws_json1_0_Record(input.CommonAttributes, context),
1235
1218
  }),
1236
- ...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
1237
- ...(input.Records !== undefined &&
1238
- input.Records !== null && { Records: serializeAws_json1_0Records(input.Records, context) }),
1239
- ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
1219
+ ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
1220
+ ...(input.Records != null && { Records: serializeAws_json1_0Records(input.Records, context) }),
1221
+ ...(input.TableName != null && { TableName: input.TableName }),
1240
1222
  };
1241
1223
  };
1242
1224
  const deserializeAws_json1_0AccessDeniedException = (output, context) => {
@@ -1251,27 +1233,23 @@ const deserializeAws_json1_0ConflictException = (output, context) => {
1251
1233
  };
1252
1234
  const deserializeAws_json1_0CreateDatabaseResponse = (output, context) => {
1253
1235
  return {
1254
- Database: output.Database !== undefined && output.Database !== null
1255
- ? deserializeAws_json1_0Database(output.Database, context)
1256
- : undefined,
1236
+ Database: output.Database != null ? deserializeAws_json1_0Database(output.Database, context) : undefined,
1257
1237
  };
1258
1238
  };
1259
1239
  const deserializeAws_json1_0CreateTableResponse = (output, context) => {
1260
1240
  return {
1261
- Table: output.Table !== undefined && output.Table !== null
1262
- ? deserializeAws_json1_0Table(output.Table, context)
1263
- : undefined,
1241
+ Table: output.Table != null ? deserializeAws_json1_0Table(output.Table, context) : undefined,
1264
1242
  };
1265
1243
  };
1266
1244
  const deserializeAws_json1_0Database = (output, context) => {
1267
1245
  return {
1268
1246
  Arn: (0, smithy_client_1.expectString)(output.Arn),
1269
- CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1247
+ CreationTime: output.CreationTime != null
1270
1248
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1271
1249
  : undefined,
1272
1250
  DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
1273
1251
  KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
1274
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
1252
+ LastUpdatedTime: output.LastUpdatedTime != null
1275
1253
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
1276
1254
  : undefined,
1277
1255
  TableCount: (0, smithy_client_1.expectLong)(output.TableCount),
@@ -1290,23 +1268,17 @@ const deserializeAws_json1_0DatabaseList = (output, context) => {
1290
1268
  };
1291
1269
  const deserializeAws_json1_0DescribeDatabaseResponse = (output, context) => {
1292
1270
  return {
1293
- Database: output.Database !== undefined && output.Database !== null
1294
- ? deserializeAws_json1_0Database(output.Database, context)
1295
- : undefined,
1271
+ Database: output.Database != null ? deserializeAws_json1_0Database(output.Database, context) : undefined,
1296
1272
  };
1297
1273
  };
1298
1274
  const deserializeAws_json1_0DescribeEndpointsResponse = (output, context) => {
1299
1275
  return {
1300
- Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
1301
- ? deserializeAws_json1_0Endpoints(output.Endpoints, context)
1302
- : undefined,
1276
+ Endpoints: output.Endpoints != null ? deserializeAws_json1_0Endpoints(output.Endpoints, context) : undefined,
1303
1277
  };
1304
1278
  };
1305
1279
  const deserializeAws_json1_0DescribeTableResponse = (output, context) => {
1306
1280
  return {
1307
- Table: output.Table !== undefined && output.Table !== null
1308
- ? deserializeAws_json1_0Table(output.Table, context)
1309
- : undefined,
1281
+ Table: output.Table != null ? deserializeAws_json1_0Table(output.Table, context) : undefined,
1310
1282
  };
1311
1283
  };
1312
1284
  const deserializeAws_json1_0Endpoint = (output, context) => {
@@ -1338,30 +1310,24 @@ const deserializeAws_json1_0InvalidEndpointException = (output, context) => {
1338
1310
  };
1339
1311
  const deserializeAws_json1_0ListDatabasesResponse = (output, context) => {
1340
1312
  return {
1341
- Databases: output.Databases !== undefined && output.Databases !== null
1342
- ? deserializeAws_json1_0DatabaseList(output.Databases, context)
1343
- : undefined,
1313
+ Databases: output.Databases != null ? deserializeAws_json1_0DatabaseList(output.Databases, context) : undefined,
1344
1314
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1345
1315
  };
1346
1316
  };
1347
1317
  const deserializeAws_json1_0ListTablesResponse = (output, context) => {
1348
1318
  return {
1349
1319
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1350
- Tables: output.Tables !== undefined && output.Tables !== null
1351
- ? deserializeAws_json1_0TableList(output.Tables, context)
1352
- : undefined,
1320
+ Tables: output.Tables != null ? deserializeAws_json1_0TableList(output.Tables, context) : undefined,
1353
1321
  };
1354
1322
  };
1355
1323
  const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
1356
1324
  return {
1357
- Tags: output.Tags !== undefined && output.Tags !== null
1358
- ? deserializeAws_json1_0TagList(output.Tags, context)
1359
- : undefined,
1325
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
1360
1326
  };
1361
1327
  };
1362
1328
  const deserializeAws_json1_0MagneticStoreRejectedDataLocation = (output, context) => {
1363
1329
  return {
1364
- S3Configuration: output.S3Configuration !== undefined && output.S3Configuration !== null
1330
+ S3Configuration: output.S3Configuration != null
1365
1331
  ? deserializeAws_json1_0S3Configuration(output.S3Configuration, context)
1366
1332
  : undefined,
1367
1333
  };
@@ -1369,7 +1335,7 @@ const deserializeAws_json1_0MagneticStoreRejectedDataLocation = (output, context
1369
1335
  const deserializeAws_json1_0MagneticStoreWriteProperties = (output, context) => {
1370
1336
  return {
1371
1337
  EnableMagneticStoreWrites: (0, smithy_client_1.expectBoolean)(output.EnableMagneticStoreWrites),
1372
- MagneticStoreRejectedDataLocation: output.MagneticStoreRejectedDataLocation !== undefined && output.MagneticStoreRejectedDataLocation !== null
1338
+ MagneticStoreRejectedDataLocation: output.MagneticStoreRejectedDataLocation != null
1373
1339
  ? deserializeAws_json1_0MagneticStoreRejectedDataLocation(output.MagneticStoreRejectedDataLocation, context)
1374
1340
  : undefined,
1375
1341
  };
@@ -1402,7 +1368,7 @@ const deserializeAws_json1_0RejectedRecords = (output, context) => {
1402
1368
  const deserializeAws_json1_0RejectedRecordsException = (output, context) => {
1403
1369
  return {
1404
1370
  Message: (0, smithy_client_1.expectString)(output.Message),
1405
- RejectedRecords: output.RejectedRecords !== undefined && output.RejectedRecords !== null
1371
+ RejectedRecords: output.RejectedRecords != null
1406
1372
  ? deserializeAws_json1_0RejectedRecords(output.RejectedRecords, context)
1407
1373
  : undefined,
1408
1374
  };
@@ -1434,17 +1400,17 @@ const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) =>
1434
1400
  const deserializeAws_json1_0Table = (output, context) => {
1435
1401
  return {
1436
1402
  Arn: (0, smithy_client_1.expectString)(output.Arn),
1437
- CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1403
+ CreationTime: output.CreationTime != null
1438
1404
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1439
1405
  : undefined,
1440
1406
  DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
1441
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
1407
+ LastUpdatedTime: output.LastUpdatedTime != null
1442
1408
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
1443
1409
  : undefined,
1444
- MagneticStoreWriteProperties: output.MagneticStoreWriteProperties !== undefined && output.MagneticStoreWriteProperties !== null
1410
+ MagneticStoreWriteProperties: output.MagneticStoreWriteProperties != null
1445
1411
  ? deserializeAws_json1_0MagneticStoreWriteProperties(output.MagneticStoreWriteProperties, context)
1446
1412
  : undefined,
1447
- RetentionProperties: output.RetentionProperties !== undefined && output.RetentionProperties !== null
1413
+ RetentionProperties: output.RetentionProperties != null
1448
1414
  ? deserializeAws_json1_0RetentionProperties(output.RetentionProperties, context)
1449
1415
  : undefined,
1450
1416
  TableName: (0, smithy_client_1.expectString)(output.TableName),
@@ -1492,16 +1458,12 @@ const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
1492
1458
  };
1493
1459
  const deserializeAws_json1_0UpdateDatabaseResponse = (output, context) => {
1494
1460
  return {
1495
- Database: output.Database !== undefined && output.Database !== null
1496
- ? deserializeAws_json1_0Database(output.Database, context)
1497
- : undefined,
1461
+ Database: output.Database != null ? deserializeAws_json1_0Database(output.Database, context) : undefined,
1498
1462
  };
1499
1463
  };
1500
1464
  const deserializeAws_json1_0UpdateTableResponse = (output, context) => {
1501
1465
  return {
1502
- Table: output.Table !== undefined && output.Table !== null
1503
- ? deserializeAws_json1_0Table(output.Table, context)
1504
- : undefined,
1466
+ Table: output.Table != null ? deserializeAws_json1_0Table(output.Table, context) : undefined,
1505
1467
  };
1506
1468
  };
1507
1469
  const deserializeAws_json1_0ValidationException = (output, context) => {
@@ -1511,7 +1473,7 @@ const deserializeAws_json1_0ValidationException = (output, context) => {
1511
1473
  };
1512
1474
  const deserializeAws_json1_0WriteRecordsResponse = (output, context) => {
1513
1475
  return {
1514
- RecordsIngested: output.RecordsIngested !== undefined && output.RecordsIngested !== null
1476
+ RecordsIngested: output.RecordsIngested != null
1515
1477
  ? deserializeAws_json1_0RecordsIngested(output.RecordsIngested, context)
1516
1478
  : undefined,
1517
1479
  };
@@ -1303,35 +1303,32 @@ var deserializeAws_json1_0ValidationExceptionResponse = function (parsedOutput,
1303
1303
  });
1304
1304
  }); };
1305
1305
  var serializeAws_json1_0CreateDatabaseRequest = function (input, context) {
1306
- return __assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
1306
+ return __assign(__assign(__assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
1307
1307
  };
1308
1308
  var serializeAws_json1_0CreateTableRequest = function (input, context) {
1309
- return __assign(__assign(__assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.MagneticStoreWriteProperties !== undefined &&
1310
- input.MagneticStoreWriteProperties !== null && {
1309
+ return __assign(__assign(__assign(__assign(__assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.MagneticStoreWriteProperties != null && {
1311
1310
  MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
1312
- })), (input.RetentionProperties !== undefined &&
1313
- input.RetentionProperties !== null && {
1311
+ })), (input.RetentionProperties != null && {
1314
1312
  RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
1315
- })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
1313
+ })), (input.TableName != null && { TableName: input.TableName })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
1316
1314
  };
1317
1315
  var serializeAws_json1_0DeleteDatabaseRequest = function (input, context) {
1318
- return __assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }));
1316
+ return __assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName }));
1319
1317
  };
1320
1318
  var serializeAws_json1_0DeleteTableRequest = function (input, context) {
1321
- return __assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
1319
+ return __assign(__assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.TableName != null && { TableName: input.TableName }));
1322
1320
  };
1323
1321
  var serializeAws_json1_0DescribeDatabaseRequest = function (input, context) {
1324
- return __assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }));
1322
+ return __assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName }));
1325
1323
  };
1326
1324
  var serializeAws_json1_0DescribeEndpointsRequest = function (input, context) {
1327
1325
  return {};
1328
1326
  };
1329
1327
  var serializeAws_json1_0DescribeTableRequest = function (input, context) {
1330
- return __assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
1328
+ return __assign(__assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.TableName != null && { TableName: input.TableName }));
1331
1329
  };
1332
1330
  var serializeAws_json1_0Dimension = function (input, context) {
1333
- return __assign(__assign(__assign({}, (input.DimensionValueType !== undefined &&
1334
- input.DimensionValueType !== null && { DimensionValueType: input.DimensionValueType })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
1331
+ return __assign(__assign(__assign({}, (input.DimensionValueType != null && { DimensionValueType: input.DimensionValueType })), (input.Name != null && { Name: input.Name })), (input.Value != null && { Value: input.Value }));
1335
1332
  };
1336
1333
  var serializeAws_json1_0Dimensions = function (input, context) {
1337
1334
  return input
@@ -1344,29 +1341,26 @@ var serializeAws_json1_0Dimensions = function (input, context) {
1344
1341
  });
1345
1342
  };
1346
1343
  var serializeAws_json1_0ListDatabasesRequest = function (input, context) {
1347
- return __assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
1344
+ return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
1348
1345
  };
1349
1346
  var serializeAws_json1_0ListTablesRequest = function (input, context) {
1350
- return __assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
1347
+ return __assign(__assign(__assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
1351
1348
  };
1352
1349
  var serializeAws_json1_0ListTagsForResourceRequest = function (input, context) {
1353
- return __assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }));
1350
+ return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
1354
1351
  };
1355
1352
  var serializeAws_json1_0MagneticStoreRejectedDataLocation = function (input, context) {
1356
- return __assign({}, (input.S3Configuration !== undefined &&
1357
- input.S3Configuration !== null && {
1353
+ return __assign({}, (input.S3Configuration != null && {
1358
1354
  S3Configuration: serializeAws_json1_0S3Configuration(input.S3Configuration, context),
1359
1355
  }));
1360
1356
  };
1361
1357
  var serializeAws_json1_0MagneticStoreWriteProperties = function (input, context) {
1362
- return __assign(__assign({}, (input.EnableMagneticStoreWrites !== undefined &&
1363
- input.EnableMagneticStoreWrites !== null && { EnableMagneticStoreWrites: input.EnableMagneticStoreWrites })), (input.MagneticStoreRejectedDataLocation !== undefined &&
1364
- input.MagneticStoreRejectedDataLocation !== null && {
1358
+ return __assign(__assign({}, (input.EnableMagneticStoreWrites != null && { EnableMagneticStoreWrites: input.EnableMagneticStoreWrites })), (input.MagneticStoreRejectedDataLocation != null && {
1365
1359
  MagneticStoreRejectedDataLocation: serializeAws_json1_0MagneticStoreRejectedDataLocation(input.MagneticStoreRejectedDataLocation, context),
1366
1360
  }));
1367
1361
  };
1368
1362
  var serializeAws_json1_0MeasureValue = function (input, context) {
1369
- return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
1363
+ return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
1370
1364
  };
1371
1365
  var serializeAws_json1_0MeasureValues = function (input, context) {
1372
1366
  return input
@@ -1379,12 +1373,9 @@ var serializeAws_json1_0MeasureValues = function (input, context) {
1379
1373
  });
1380
1374
  };
1381
1375
  var serializeAws_json1_0_Record = function (input, context) {
1382
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Dimensions !== undefined &&
1383
- input.Dimensions !== null && { Dimensions: serializeAws_json1_0Dimensions(input.Dimensions, context) })), (input.MeasureName !== undefined && input.MeasureName !== null && { MeasureName: input.MeasureName })), (input.MeasureValue !== undefined && input.MeasureValue !== null && { MeasureValue: input.MeasureValue })), (input.MeasureValueType !== undefined &&
1384
- input.MeasureValueType !== null && { MeasureValueType: input.MeasureValueType })), (input.MeasureValues !== undefined &&
1385
- input.MeasureValues !== null && {
1376
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Dimensions != null && { Dimensions: serializeAws_json1_0Dimensions(input.Dimensions, context) })), (input.MeasureName != null && { MeasureName: input.MeasureName })), (input.MeasureValue != null && { MeasureValue: input.MeasureValue })), (input.MeasureValueType != null && { MeasureValueType: input.MeasureValueType })), (input.MeasureValues != null && {
1386
1377
  MeasureValues: serializeAws_json1_0MeasureValues(input.MeasureValues, context),
1387
- })), (input.Time !== undefined && input.Time !== null && { Time: input.Time })), (input.TimeUnit !== undefined && input.TimeUnit !== null && { TimeUnit: input.TimeUnit })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
1378
+ })), (input.Time != null && { Time: input.Time })), (input.TimeUnit != null && { TimeUnit: input.TimeUnit })), (input.Version != null && { Version: input.Version }));
1388
1379
  };
1389
1380
  var serializeAws_json1_0Records = function (input, context) {
1390
1381
  return input
@@ -1397,21 +1388,17 @@ var serializeAws_json1_0Records = function (input, context) {
1397
1388
  });
1398
1389
  };
1399
1390
  var serializeAws_json1_0RetentionProperties = function (input, context) {
1400
- return __assign(__assign({}, (input.MagneticStoreRetentionPeriodInDays !== undefined &&
1401
- input.MagneticStoreRetentionPeriodInDays !== null && {
1391
+ return __assign(__assign({}, (input.MagneticStoreRetentionPeriodInDays != null && {
1402
1392
  MagneticStoreRetentionPeriodInDays: input.MagneticStoreRetentionPeriodInDays,
1403
- })), (input.MemoryStoreRetentionPeriodInHours !== undefined &&
1404
- input.MemoryStoreRetentionPeriodInHours !== null && {
1393
+ })), (input.MemoryStoreRetentionPeriodInHours != null && {
1405
1394
  MemoryStoreRetentionPeriodInHours: input.MemoryStoreRetentionPeriodInHours,
1406
1395
  }));
1407
1396
  };
1408
1397
  var serializeAws_json1_0S3Configuration = function (input, context) {
1409
- return __assign(__assign(__assign(__assign({}, (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.EncryptionOption !== undefined &&
1410
- input.EncryptionOption !== null && { EncryptionOption: input.EncryptionOption })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.ObjectKeyPrefix !== undefined &&
1411
- input.ObjectKeyPrefix !== null && { ObjectKeyPrefix: input.ObjectKeyPrefix }));
1398
+ return __assign(__assign(__assign(__assign({}, (input.BucketName != null && { BucketName: input.BucketName })), (input.EncryptionOption != null && { EncryptionOption: input.EncryptionOption })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.ObjectKeyPrefix != null && { ObjectKeyPrefix: input.ObjectKeyPrefix }));
1412
1399
  };
1413
1400
  var serializeAws_json1_0Tag = function (input, context) {
1414
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
1401
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
1415
1402
  };
1416
1403
  var serializeAws_json1_0TagKeyList = function (input, context) {
1417
1404
  return input
@@ -1434,30 +1421,25 @@ var serializeAws_json1_0TagList = function (input, context) {
1434
1421
  });
1435
1422
  };
1436
1423
  var serializeAws_json1_0TagResourceRequest = function (input, context) {
1437
- return __assign(__assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
1424
+ return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
1438
1425
  };
1439
1426
  var serializeAws_json1_0UntagResourceRequest = function (input, context) {
1440
- return __assign(__assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN })), (input.TagKeys !== undefined &&
1441
- input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
1427
+ return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
1442
1428
  };
1443
1429
  var serializeAws_json1_0UpdateDatabaseRequest = function (input, context) {
1444
- return __assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }));
1430
+ return __assign(__assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }));
1445
1431
  };
1446
1432
  var serializeAws_json1_0UpdateTableRequest = function (input, context) {
1447
- return __assign(__assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.MagneticStoreWriteProperties !== undefined &&
1448
- input.MagneticStoreWriteProperties !== null && {
1433
+ return __assign(__assign(__assign(__assign({}, (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.MagneticStoreWriteProperties != null && {
1449
1434
  MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
1450
- })), (input.RetentionProperties !== undefined &&
1451
- input.RetentionProperties !== null && {
1435
+ })), (input.RetentionProperties != null && {
1452
1436
  RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
1453
- })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
1437
+ })), (input.TableName != null && { TableName: input.TableName }));
1454
1438
  };
1455
1439
  var serializeAws_json1_0WriteRecordsRequest = function (input, context) {
1456
- return __assign(__assign(__assign(__assign({}, (input.CommonAttributes !== undefined &&
1457
- input.CommonAttributes !== null && {
1440
+ return __assign(__assign(__assign(__assign({}, (input.CommonAttributes != null && {
1458
1441
  CommonAttributes: serializeAws_json1_0_Record(input.CommonAttributes, context),
1459
- })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Records !== undefined &&
1460
- input.Records !== null && { Records: serializeAws_json1_0Records(input.Records, context) })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
1442
+ })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.Records != null && { Records: serializeAws_json1_0Records(input.Records, context) })), (input.TableName != null && { TableName: input.TableName }));
1461
1443
  };
1462
1444
  var deserializeAws_json1_0AccessDeniedException = function (output, context) {
1463
1445
  return {
@@ -1471,27 +1453,23 @@ var deserializeAws_json1_0ConflictException = function (output, context) {
1471
1453
  };
1472
1454
  var deserializeAws_json1_0CreateDatabaseResponse = function (output, context) {
1473
1455
  return {
1474
- Database: output.Database !== undefined && output.Database !== null
1475
- ? deserializeAws_json1_0Database(output.Database, context)
1476
- : undefined,
1456
+ Database: output.Database != null ? deserializeAws_json1_0Database(output.Database, context) : undefined,
1477
1457
  };
1478
1458
  };
1479
1459
  var deserializeAws_json1_0CreateTableResponse = function (output, context) {
1480
1460
  return {
1481
- Table: output.Table !== undefined && output.Table !== null
1482
- ? deserializeAws_json1_0Table(output.Table, context)
1483
- : undefined,
1461
+ Table: output.Table != null ? deserializeAws_json1_0Table(output.Table, context) : undefined,
1484
1462
  };
1485
1463
  };
1486
1464
  var deserializeAws_json1_0Database = function (output, context) {
1487
1465
  return {
1488
1466
  Arn: __expectString(output.Arn),
1489
- CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1467
+ CreationTime: output.CreationTime != null
1490
1468
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
1491
1469
  : undefined,
1492
1470
  DatabaseName: __expectString(output.DatabaseName),
1493
1471
  KmsKeyId: __expectString(output.KmsKeyId),
1494
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
1472
+ LastUpdatedTime: output.LastUpdatedTime != null
1495
1473
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
1496
1474
  : undefined,
1497
1475
  TableCount: __expectLong(output.TableCount),
@@ -1510,23 +1488,17 @@ var deserializeAws_json1_0DatabaseList = function (output, context) {
1510
1488
  };
1511
1489
  var deserializeAws_json1_0DescribeDatabaseResponse = function (output, context) {
1512
1490
  return {
1513
- Database: output.Database !== undefined && output.Database !== null
1514
- ? deserializeAws_json1_0Database(output.Database, context)
1515
- : undefined,
1491
+ Database: output.Database != null ? deserializeAws_json1_0Database(output.Database, context) : undefined,
1516
1492
  };
1517
1493
  };
1518
1494
  var deserializeAws_json1_0DescribeEndpointsResponse = function (output, context) {
1519
1495
  return {
1520
- Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
1521
- ? deserializeAws_json1_0Endpoints(output.Endpoints, context)
1522
- : undefined,
1496
+ Endpoints: output.Endpoints != null ? deserializeAws_json1_0Endpoints(output.Endpoints, context) : undefined,
1523
1497
  };
1524
1498
  };
1525
1499
  var deserializeAws_json1_0DescribeTableResponse = function (output, context) {
1526
1500
  return {
1527
- Table: output.Table !== undefined && output.Table !== null
1528
- ? deserializeAws_json1_0Table(output.Table, context)
1529
- : undefined,
1501
+ Table: output.Table != null ? deserializeAws_json1_0Table(output.Table, context) : undefined,
1530
1502
  };
1531
1503
  };
1532
1504
  var deserializeAws_json1_0Endpoint = function (output, context) {
@@ -1558,30 +1530,24 @@ var deserializeAws_json1_0InvalidEndpointException = function (output, context)
1558
1530
  };
1559
1531
  var deserializeAws_json1_0ListDatabasesResponse = function (output, context) {
1560
1532
  return {
1561
- Databases: output.Databases !== undefined && output.Databases !== null
1562
- ? deserializeAws_json1_0DatabaseList(output.Databases, context)
1563
- : undefined,
1533
+ Databases: output.Databases != null ? deserializeAws_json1_0DatabaseList(output.Databases, context) : undefined,
1564
1534
  NextToken: __expectString(output.NextToken),
1565
1535
  };
1566
1536
  };
1567
1537
  var deserializeAws_json1_0ListTablesResponse = function (output, context) {
1568
1538
  return {
1569
1539
  NextToken: __expectString(output.NextToken),
1570
- Tables: output.Tables !== undefined && output.Tables !== null
1571
- ? deserializeAws_json1_0TableList(output.Tables, context)
1572
- : undefined,
1540
+ Tables: output.Tables != null ? deserializeAws_json1_0TableList(output.Tables, context) : undefined,
1573
1541
  };
1574
1542
  };
1575
1543
  var deserializeAws_json1_0ListTagsForResourceResponse = function (output, context) {
1576
1544
  return {
1577
- Tags: output.Tags !== undefined && output.Tags !== null
1578
- ? deserializeAws_json1_0TagList(output.Tags, context)
1579
- : undefined,
1545
+ Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
1580
1546
  };
1581
1547
  };
1582
1548
  var deserializeAws_json1_0MagneticStoreRejectedDataLocation = function (output, context) {
1583
1549
  return {
1584
- S3Configuration: output.S3Configuration !== undefined && output.S3Configuration !== null
1550
+ S3Configuration: output.S3Configuration != null
1585
1551
  ? deserializeAws_json1_0S3Configuration(output.S3Configuration, context)
1586
1552
  : undefined,
1587
1553
  };
@@ -1589,7 +1555,7 @@ var deserializeAws_json1_0MagneticStoreRejectedDataLocation = function (output,
1589
1555
  var deserializeAws_json1_0MagneticStoreWriteProperties = function (output, context) {
1590
1556
  return {
1591
1557
  EnableMagneticStoreWrites: __expectBoolean(output.EnableMagneticStoreWrites),
1592
- MagneticStoreRejectedDataLocation: output.MagneticStoreRejectedDataLocation !== undefined && output.MagneticStoreRejectedDataLocation !== null
1558
+ MagneticStoreRejectedDataLocation: output.MagneticStoreRejectedDataLocation != null
1593
1559
  ? deserializeAws_json1_0MagneticStoreRejectedDataLocation(output.MagneticStoreRejectedDataLocation, context)
1594
1560
  : undefined,
1595
1561
  };
@@ -1622,7 +1588,7 @@ var deserializeAws_json1_0RejectedRecords = function (output, context) {
1622
1588
  var deserializeAws_json1_0RejectedRecordsException = function (output, context) {
1623
1589
  return {
1624
1590
  Message: __expectString(output.Message),
1625
- RejectedRecords: output.RejectedRecords !== undefined && output.RejectedRecords !== null
1591
+ RejectedRecords: output.RejectedRecords != null
1626
1592
  ? deserializeAws_json1_0RejectedRecords(output.RejectedRecords, context)
1627
1593
  : undefined,
1628
1594
  };
@@ -1654,17 +1620,17 @@ var deserializeAws_json1_0ServiceQuotaExceededException = function (output, cont
1654
1620
  var deserializeAws_json1_0Table = function (output, context) {
1655
1621
  return {
1656
1622
  Arn: __expectString(output.Arn),
1657
- CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1623
+ CreationTime: output.CreationTime != null
1658
1624
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
1659
1625
  : undefined,
1660
1626
  DatabaseName: __expectString(output.DatabaseName),
1661
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
1627
+ LastUpdatedTime: output.LastUpdatedTime != null
1662
1628
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
1663
1629
  : undefined,
1664
- MagneticStoreWriteProperties: output.MagneticStoreWriteProperties !== undefined && output.MagneticStoreWriteProperties !== null
1630
+ MagneticStoreWriteProperties: output.MagneticStoreWriteProperties != null
1665
1631
  ? deserializeAws_json1_0MagneticStoreWriteProperties(output.MagneticStoreWriteProperties, context)
1666
1632
  : undefined,
1667
- RetentionProperties: output.RetentionProperties !== undefined && output.RetentionProperties !== null
1633
+ RetentionProperties: output.RetentionProperties != null
1668
1634
  ? deserializeAws_json1_0RetentionProperties(output.RetentionProperties, context)
1669
1635
  : undefined,
1670
1636
  TableName: __expectString(output.TableName),
@@ -1712,16 +1678,12 @@ var deserializeAws_json1_0UntagResourceResponse = function (output, context) {
1712
1678
  };
1713
1679
  var deserializeAws_json1_0UpdateDatabaseResponse = function (output, context) {
1714
1680
  return {
1715
- Database: output.Database !== undefined && output.Database !== null
1716
- ? deserializeAws_json1_0Database(output.Database, context)
1717
- : undefined,
1681
+ Database: output.Database != null ? deserializeAws_json1_0Database(output.Database, context) : undefined,
1718
1682
  };
1719
1683
  };
1720
1684
  var deserializeAws_json1_0UpdateTableResponse = function (output, context) {
1721
1685
  return {
1722
- Table: output.Table !== undefined && output.Table !== null
1723
- ? deserializeAws_json1_0Table(output.Table, context)
1724
- : undefined,
1686
+ Table: output.Table != null ? deserializeAws_json1_0Table(output.Table, context) : undefined,
1725
1687
  };
1726
1688
  };
1727
1689
  var deserializeAws_json1_0ValidationException = function (output, context) {
@@ -1731,7 +1693,7 @@ var deserializeAws_json1_0ValidationException = function (output, context) {
1731
1693
  };
1732
1694
  var deserializeAws_json1_0WriteRecordsResponse = function (output, context) {
1733
1695
  return {
1734
- RecordsIngested: output.RecordsIngested !== undefined && output.RecordsIngested !== null
1696
+ RecordsIngested: output.RecordsIngested != null
1735
1697
  ? deserializeAws_json1_0RecordsIngested(output.RecordsIngested, context)
1736
1698
  : undefined,
1737
1699
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-write",
3
3
  "description": "AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.127.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,36 +18,36 @@
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.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-endpoint-discovery": "3.110.0",
29
- "@aws-sdk/middleware-host-header": "3.110.0",
30
- "@aws-sdk/middleware-logger": "3.110.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
32
- "@aws-sdk/middleware-retry": "3.118.1",
33
- "@aws-sdk/middleware-serde": "3.110.0",
34
- "@aws-sdk/middleware-signing": "3.110.0",
35
- "@aws-sdk/middleware-stack": "3.110.0",
36
- "@aws-sdk/middleware-user-agent": "3.110.0",
37
- "@aws-sdk/node-config-provider": "3.110.0",
38
- "@aws-sdk/node-http-handler": "3.118.1",
39
- "@aws-sdk/protocol-http": "3.110.0",
40
- "@aws-sdk/smithy-client": "3.110.0",
41
- "@aws-sdk/types": "3.110.0",
42
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.127.0",
22
+ "@aws-sdk/config-resolver": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.127.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-endpoint-discovery": "3.127.0",
29
+ "@aws-sdk/middleware-host-header": "3.127.0",
30
+ "@aws-sdk/middleware-logger": "3.127.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
32
+ "@aws-sdk/middleware-retry": "3.127.0",
33
+ "@aws-sdk/middleware-serde": "3.127.0",
34
+ "@aws-sdk/middleware-signing": "3.127.0",
35
+ "@aws-sdk/middleware-stack": "3.127.0",
36
+ "@aws-sdk/middleware-user-agent": "3.127.0",
37
+ "@aws-sdk/node-config-provider": "3.127.0",
38
+ "@aws-sdk/node-http-handler": "3.127.0",
39
+ "@aws-sdk/protocol-http": "3.127.0",
40
+ "@aws-sdk/smithy-client": "3.127.0",
41
+ "@aws-sdk/types": "3.127.0",
42
+ "@aws-sdk/url-parser": "3.127.0",
43
43
  "@aws-sdk/util-base64-browser": "3.109.0",
44
44
  "@aws-sdk/util-base64-node": "3.55.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.55.0",
46
46
  "@aws-sdk/util-body-length-node": "3.55.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
49
- "@aws-sdk/util-user-agent-browser": "3.110.0",
50
- "@aws-sdk/util-user-agent-node": "3.118.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.127.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
50
+ "@aws-sdk/util-user-agent-node": "3.127.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.109.0",
52
52
  "@aws-sdk/util-utf8-node": "3.109.0",
53
53
  "tslib": "^2.3.1"