@aws-sdk/client-timestream-query 3.54.1 → 3.58.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/TimestreamQueryClient.js +14 -14
  3. package/dist-cjs/commands/CancelQueryCommand.js +4 -4
  4. package/dist-cjs/commands/CreateScheduledQueryCommand.js +4 -4
  5. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +4 -4
  6. package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +4 -4
  8. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +4 -4
  9. package/dist-cjs/commands/ListScheduledQueriesCommand.js +4 -4
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  11. package/dist-cjs/commands/PrepareQueryCommand.js +4 -4
  12. package/dist-cjs/commands/QueryCommand.js +4 -4
  13. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  14. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  15. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +4 -4
  16. package/dist-cjs/endpoints.js +1 -1
  17. package/dist-cjs/models/models_0.js +1 -0
  18. package/dist-cjs/protocols/Aws_json1_0.js +107 -107
  19. package/dist-cjs/runtimeConfig.browser.js +4 -4
  20. package/dist-cjs/runtimeConfig.js +10 -10
  21. package/dist-cjs/runtimeConfig.native.js +1 -1
  22. package/dist-es/TimestreamQuery.js +13 -13
  23. package/dist-es/models/models_0.js +1 -0
  24. package/dist-es/pagination/ListScheduledQueriesPaginator.js +4 -4
  25. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  26. package/dist-es/pagination/QueryPaginator.js +4 -4
  27. package/dist-types/models/models_0.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +2 -2
  29. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  31. package/package.json +35 -35
@@ -181,7 +181,7 @@ const deserializeAws_json1_0CancelQueryCommandError = async (output, context) =>
181
181
  $fault: "client",
182
182
  $metadata: deserializeMetadata(output),
183
183
  });
184
- throw smithy_client_1.decorateServiceException(response, parsedBody);
184
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
185
185
  }
186
186
  };
187
187
  const deserializeAws_json1_0CreateScheduledQueryCommand = async (output, context) => {
@@ -235,7 +235,7 @@ const deserializeAws_json1_0CreateScheduledQueryCommandError = async (output, co
235
235
  $fault: "client",
236
236
  $metadata: deserializeMetadata(output),
237
237
  });
238
- throw smithy_client_1.decorateServiceException(response, parsedBody);
238
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
239
239
  }
240
240
  };
241
241
  const deserializeAws_json1_0DeleteScheduledQueryCommand = async (output, context) => {
@@ -283,7 +283,7 @@ const deserializeAws_json1_0DeleteScheduledQueryCommandError = async (output, co
283
283
  $fault: "client",
284
284
  $metadata: deserializeMetadata(output),
285
285
  });
286
- throw smithy_client_1.decorateServiceException(response, parsedBody);
286
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
287
287
  }
288
288
  };
289
289
  const deserializeAws_json1_0DescribeEndpointsCommand = async (output, context) => {
@@ -325,7 +325,7 @@ const deserializeAws_json1_0DescribeEndpointsCommandError = async (output, conte
325
325
  $fault: "client",
326
326
  $metadata: deserializeMetadata(output),
327
327
  });
328
- throw smithy_client_1.decorateServiceException(response, parsedBody);
328
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
329
329
  }
330
330
  };
331
331
  const deserializeAws_json1_0DescribeScheduledQueryCommand = async (output, context) => {
@@ -376,7 +376,7 @@ const deserializeAws_json1_0DescribeScheduledQueryCommandError = async (output,
376
376
  $fault: "client",
377
377
  $metadata: deserializeMetadata(output),
378
378
  });
379
- throw smithy_client_1.decorateServiceException(response, parsedBody);
379
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
380
380
  }
381
381
  };
382
382
  const deserializeAws_json1_0ExecuteScheduledQueryCommand = async (output, context) => {
@@ -424,7 +424,7 @@ const deserializeAws_json1_0ExecuteScheduledQueryCommandError = async (output, c
424
424
  $fault: "client",
425
425
  $metadata: deserializeMetadata(output),
426
426
  });
427
- throw smithy_client_1.decorateServiceException(response, parsedBody);
427
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
428
428
  }
429
429
  };
430
430
  const deserializeAws_json1_0ListScheduledQueriesCommand = async (output, context) => {
@@ -472,7 +472,7 @@ const deserializeAws_json1_0ListScheduledQueriesCommandError = async (output, co
472
472
  $fault: "client",
473
473
  $metadata: deserializeMetadata(output),
474
474
  });
475
- throw smithy_client_1.decorateServiceException(response, parsedBody);
475
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
476
476
  }
477
477
  };
478
478
  const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
@@ -517,7 +517,7 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
517
517
  $fault: "client",
518
518
  $metadata: deserializeMetadata(output),
519
519
  });
520
- throw smithy_client_1.decorateServiceException(response, parsedBody);
520
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
521
521
  }
522
522
  };
523
523
  const deserializeAws_json1_0PrepareQueryCommand = async (output, context) => {
@@ -565,7 +565,7 @@ const deserializeAws_json1_0PrepareQueryCommandError = async (output, context) =
565
565
  $fault: "client",
566
566
  $metadata: deserializeMetadata(output),
567
567
  });
568
- throw smithy_client_1.decorateServiceException(response, parsedBody);
568
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
569
569
  }
570
570
  };
571
571
  const deserializeAws_json1_0QueryCommand = async (output, context) => {
@@ -619,7 +619,7 @@ const deserializeAws_json1_0QueryCommandError = async (output, context) => {
619
619
  $fault: "client",
620
620
  $metadata: deserializeMetadata(output),
621
621
  });
622
- throw smithy_client_1.decorateServiceException(response, parsedBody);
622
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
623
623
  }
624
624
  };
625
625
  const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
@@ -667,7 +667,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
667
667
  $fault: "client",
668
668
  $metadata: deserializeMetadata(output),
669
669
  });
670
- throw smithy_client_1.decorateServiceException(response, parsedBody);
670
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
671
671
  }
672
672
  };
673
673
  const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
@@ -712,7 +712,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
712
712
  $fault: "client",
713
713
  $metadata: deserializeMetadata(output),
714
714
  });
715
- throw smithy_client_1.decorateServiceException(response, parsedBody);
715
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
716
716
  }
717
717
  };
718
718
  const deserializeAws_json1_0UpdateScheduledQueryCommand = async (output, context) => {
@@ -760,7 +760,7 @@ const deserializeAws_json1_0UpdateScheduledQueryCommandError = async (output, co
760
760
  $fault: "client",
761
761
  $metadata: deserializeMetadata(output),
762
762
  });
763
- throw smithy_client_1.decorateServiceException(response, parsedBody);
763
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
764
764
  }
765
765
  };
766
766
  const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -770,7 +770,7 @@ const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput,
770
770
  $metadata: deserializeMetadata(parsedOutput),
771
771
  ...deserialized,
772
772
  });
773
- return smithy_client_1.decorateServiceException(exception, body);
773
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
774
774
  };
775
775
  const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
776
776
  const body = parsedOutput.body;
@@ -779,7 +779,7 @@ const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, con
779
779
  $metadata: deserializeMetadata(parsedOutput),
780
780
  ...deserialized,
781
781
  });
782
- return smithy_client_1.decorateServiceException(exception, body);
782
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
783
783
  };
784
784
  const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
785
785
  const body = parsedOutput.body;
@@ -788,7 +788,7 @@ const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutpu
788
788
  $metadata: deserializeMetadata(parsedOutput),
789
789
  ...deserialized,
790
790
  });
791
- return smithy_client_1.decorateServiceException(exception, body);
791
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
792
792
  };
793
793
  const deserializeAws_json1_0InvalidEndpointExceptionResponse = async (parsedOutput, context) => {
794
794
  const body = parsedOutput.body;
@@ -797,7 +797,7 @@ const deserializeAws_json1_0InvalidEndpointExceptionResponse = async (parsedOutp
797
797
  $metadata: deserializeMetadata(parsedOutput),
798
798
  ...deserialized,
799
799
  });
800
- return smithy_client_1.decorateServiceException(exception, body);
800
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
801
801
  };
802
802
  const deserializeAws_json1_0QueryExecutionExceptionResponse = async (parsedOutput, context) => {
803
803
  const body = parsedOutput.body;
@@ -806,7 +806,7 @@ const deserializeAws_json1_0QueryExecutionExceptionResponse = async (parsedOutpu
806
806
  $metadata: deserializeMetadata(parsedOutput),
807
807
  ...deserialized,
808
808
  });
809
- return smithy_client_1.decorateServiceException(exception, body);
809
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
810
810
  };
811
811
  const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
812
812
  const body = parsedOutput.body;
@@ -815,7 +815,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
815
815
  $metadata: deserializeMetadata(parsedOutput),
816
816
  ...deserialized,
817
817
  });
818
- return smithy_client_1.decorateServiceException(exception, body);
818
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
819
819
  };
820
820
  const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
821
821
  const body = parsedOutput.body;
@@ -824,7 +824,7 @@ const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parse
824
824
  $metadata: deserializeMetadata(parsedOutput),
825
825
  ...deserialized,
826
826
  });
827
- return smithy_client_1.decorateServiceException(exception, body);
827
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
828
828
  };
829
829
  const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
830
830
  const body = parsedOutput.body;
@@ -833,7 +833,7 @@ const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, c
833
833
  $metadata: deserializeMetadata(parsedOutput),
834
834
  ...deserialized,
835
835
  });
836
- return smithy_client_1.decorateServiceException(exception, body);
836
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
837
837
  };
838
838
  const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, context) => {
839
839
  const body = parsedOutput.body;
@@ -842,7 +842,7 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
842
842
  $metadata: deserializeMetadata(parsedOutput),
843
843
  ...deserialized,
844
844
  });
845
- return smithy_client_1.decorateServiceException(exception, body);
845
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
846
846
  };
847
847
  const serializeAws_json1_0CancelQueryRequest = (input, context) => {
848
848
  return {
@@ -852,7 +852,7 @@ const serializeAws_json1_0CancelQueryRequest = (input, context) => {
852
852
  const serializeAws_json1_0CreateScheduledQueryRequest = (input, context) => {
853
853
  var _a;
854
854
  return {
855
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
855
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
856
856
  ...(input.ErrorReportConfiguration !== undefined &&
857
857
  input.ErrorReportConfiguration !== null && {
858
858
  ErrorReportConfiguration: serializeAws_json1_0ErrorReportConfiguration(input.ErrorReportConfiguration, context),
@@ -922,7 +922,7 @@ const serializeAws_json1_0ErrorReportConfiguration = (input, context) => {
922
922
  const serializeAws_json1_0ExecuteScheduledQueryRequest = (input, context) => {
923
923
  var _a;
924
924
  return {
925
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
925
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
926
926
  ...(input.InvocationTime !== undefined &&
927
927
  input.InvocationTime !== null && { InvocationTime: Math.round(input.InvocationTime.getTime() / 1000) }),
928
928
  ...(input.ScheduledQueryArn !== undefined &&
@@ -1014,7 +1014,7 @@ const serializeAws_json1_0PrepareQueryRequest = (input, context) => {
1014
1014
  const serializeAws_json1_0QueryRequest = (input, context) => {
1015
1015
  var _a;
1016
1016
  return {
1017
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1017
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1018
1018
  ...(input.MaxRows !== undefined && input.MaxRows !== null && { MaxRows: input.MaxRows }),
1019
1019
  ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
1020
1020
  ...(input.QueryString !== undefined && input.QueryString !== null && { QueryString: input.QueryString }),
@@ -1117,17 +1117,17 @@ const serializeAws_json1_0UpdateScheduledQueryRequest = (input, context) => {
1117
1117
  };
1118
1118
  const deserializeAws_json1_0AccessDeniedException = (output, context) => {
1119
1119
  return {
1120
- Message: smithy_client_1.expectString(output.Message),
1120
+ Message: (0, smithy_client_1.expectString)(output.Message),
1121
1121
  };
1122
1122
  };
1123
1123
  const deserializeAws_json1_0CancelQueryResponse = (output, context) => {
1124
1124
  return {
1125
- CancellationMessage: smithy_client_1.expectString(output.CancellationMessage),
1125
+ CancellationMessage: (0, smithy_client_1.expectString)(output.CancellationMessage),
1126
1126
  };
1127
1127
  };
1128
1128
  const deserializeAws_json1_0ColumnInfo = (output, context) => {
1129
1129
  return {
1130
- Name: smithy_client_1.expectString(output.Name),
1130
+ Name: (0, smithy_client_1.expectString)(output.Name),
1131
1131
  Type: output.Type !== undefined && output.Type !== null ? deserializeAws_json1_0Type(output.Type, context) : undefined,
1132
1132
  };
1133
1133
  };
@@ -1144,12 +1144,12 @@ const deserializeAws_json1_0ColumnInfoList = (output, context) => {
1144
1144
  };
1145
1145
  const deserializeAws_json1_0ConflictException = (output, context) => {
1146
1146
  return {
1147
- Message: smithy_client_1.expectString(output.Message),
1147
+ Message: (0, smithy_client_1.expectString)(output.Message),
1148
1148
  };
1149
1149
  };
1150
1150
  const deserializeAws_json1_0CreateScheduledQueryResponse = (output, context) => {
1151
1151
  return {
1152
- Arn: smithy_client_1.expectString(output.Arn),
1152
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
1153
1153
  };
1154
1154
  };
1155
1155
  const deserializeAws_json1_0Datum = (output, context) => {
@@ -1157,11 +1157,11 @@ const deserializeAws_json1_0Datum = (output, context) => {
1157
1157
  ArrayValue: output.ArrayValue !== undefined && output.ArrayValue !== null
1158
1158
  ? deserializeAws_json1_0DatumList(output.ArrayValue, context)
1159
1159
  : undefined,
1160
- NullValue: smithy_client_1.expectBoolean(output.NullValue),
1160
+ NullValue: (0, smithy_client_1.expectBoolean)(output.NullValue),
1161
1161
  RowValue: output.RowValue !== undefined && output.RowValue !== null
1162
1162
  ? deserializeAws_json1_0Row(output.RowValue, context)
1163
1163
  : undefined,
1164
- ScalarValue: smithy_client_1.expectString(output.ScalarValue),
1164
+ ScalarValue: (0, smithy_client_1.expectString)(output.ScalarValue),
1165
1165
  TimeSeriesValue: output.TimeSeriesValue !== undefined && output.TimeSeriesValue !== null
1166
1166
  ? deserializeAws_json1_0TimeSeriesDataPointList(output.TimeSeriesValue, context)
1167
1167
  : undefined,
@@ -1194,8 +1194,8 @@ const deserializeAws_json1_0DescribeScheduledQueryResponse = (output, context) =
1194
1194
  };
1195
1195
  const deserializeAws_json1_0DimensionMapping = (output, context) => {
1196
1196
  return {
1197
- DimensionValueType: smithy_client_1.expectString(output.DimensionValueType),
1198
- Name: smithy_client_1.expectString(output.Name),
1197
+ DimensionValueType: (0, smithy_client_1.expectString)(output.DimensionValueType),
1198
+ Name: (0, smithy_client_1.expectString)(output.Name),
1199
1199
  };
1200
1200
  };
1201
1201
  const deserializeAws_json1_0DimensionMappingList = (output, context) => {
@@ -1211,8 +1211,8 @@ const deserializeAws_json1_0DimensionMappingList = (output, context) => {
1211
1211
  };
1212
1212
  const deserializeAws_json1_0Endpoint = (output, context) => {
1213
1213
  return {
1214
- Address: smithy_client_1.expectString(output.Address),
1215
- CachePeriodInMinutes: smithy_client_1.expectLong(output.CachePeriodInMinutes),
1214
+ Address: (0, smithy_client_1.expectString)(output.Address),
1215
+ CachePeriodInMinutes: (0, smithy_client_1.expectLong)(output.CachePeriodInMinutes),
1216
1216
  };
1217
1217
  };
1218
1218
  const deserializeAws_json1_0Endpoints = (output, context) => {
@@ -1242,26 +1242,26 @@ const deserializeAws_json1_0ErrorReportLocation = (output, context) => {
1242
1242
  };
1243
1243
  const deserializeAws_json1_0ExecutionStats = (output, context) => {
1244
1244
  return {
1245
- BytesMetered: smithy_client_1.expectLong(output.BytesMetered),
1246
- DataWrites: smithy_client_1.expectLong(output.DataWrites),
1247
- ExecutionTimeInMillis: smithy_client_1.expectLong(output.ExecutionTimeInMillis),
1248
- QueryResultRows: smithy_client_1.expectLong(output.QueryResultRows),
1249
- RecordsIngested: smithy_client_1.expectLong(output.RecordsIngested),
1245
+ BytesMetered: (0, smithy_client_1.expectLong)(output.BytesMetered),
1246
+ DataWrites: (0, smithy_client_1.expectLong)(output.DataWrites),
1247
+ ExecutionTimeInMillis: (0, smithy_client_1.expectLong)(output.ExecutionTimeInMillis),
1248
+ QueryResultRows: (0, smithy_client_1.expectLong)(output.QueryResultRows),
1249
+ RecordsIngested: (0, smithy_client_1.expectLong)(output.RecordsIngested),
1250
1250
  };
1251
1251
  };
1252
1252
  const deserializeAws_json1_0InternalServerException = (output, context) => {
1253
1253
  return {
1254
- Message: smithy_client_1.expectString(output.Message),
1254
+ Message: (0, smithy_client_1.expectString)(output.Message),
1255
1255
  };
1256
1256
  };
1257
1257
  const deserializeAws_json1_0InvalidEndpointException = (output, context) => {
1258
1258
  return {
1259
- Message: smithy_client_1.expectString(output.Message),
1259
+ Message: (0, smithy_client_1.expectString)(output.Message),
1260
1260
  };
1261
1261
  };
1262
1262
  const deserializeAws_json1_0ListScheduledQueriesResponse = (output, context) => {
1263
1263
  return {
1264
- NextToken: smithy_client_1.expectString(output.NextToken),
1264
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1265
1265
  ScheduledQueries: output.ScheduledQueries !== undefined && output.ScheduledQueries !== null
1266
1266
  ? deserializeAws_json1_0ScheduledQueryList(output.ScheduledQueries, context)
1267
1267
  : undefined,
@@ -1269,7 +1269,7 @@ const deserializeAws_json1_0ListScheduledQueriesResponse = (output, context) =>
1269
1269
  };
1270
1270
  const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
1271
1271
  return {
1272
- NextToken: smithy_client_1.expectString(output.NextToken),
1272
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1273
1273
  Tags: output.Tags !== undefined && output.Tags !== null
1274
1274
  ? deserializeAws_json1_0TagList(output.Tags, context)
1275
1275
  : undefined,
@@ -1277,13 +1277,13 @@ const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
1277
1277
  };
1278
1278
  const deserializeAws_json1_0MixedMeasureMapping = (output, context) => {
1279
1279
  return {
1280
- MeasureName: smithy_client_1.expectString(output.MeasureName),
1281
- MeasureValueType: smithy_client_1.expectString(output.MeasureValueType),
1280
+ MeasureName: (0, smithy_client_1.expectString)(output.MeasureName),
1281
+ MeasureValueType: (0, smithy_client_1.expectString)(output.MeasureValueType),
1282
1282
  MultiMeasureAttributeMappings: output.MultiMeasureAttributeMappings !== undefined && output.MultiMeasureAttributeMappings !== null
1283
1283
  ? deserializeAws_json1_0MultiMeasureAttributeMappingList(output.MultiMeasureAttributeMappings, context)
1284
1284
  : undefined,
1285
- SourceColumn: smithy_client_1.expectString(output.SourceColumn),
1286
- TargetMeasureName: smithy_client_1.expectString(output.TargetMeasureName),
1285
+ SourceColumn: (0, smithy_client_1.expectString)(output.SourceColumn),
1286
+ TargetMeasureName: (0, smithy_client_1.expectString)(output.TargetMeasureName),
1287
1287
  };
1288
1288
  };
1289
1289
  const deserializeAws_json1_0MixedMeasureMappingList = (output, context) => {
@@ -1299,9 +1299,9 @@ const deserializeAws_json1_0MixedMeasureMappingList = (output, context) => {
1299
1299
  };
1300
1300
  const deserializeAws_json1_0MultiMeasureAttributeMapping = (output, context) => {
1301
1301
  return {
1302
- MeasureValueType: smithy_client_1.expectString(output.MeasureValueType),
1303
- SourceColumn: smithy_client_1.expectString(output.SourceColumn),
1304
- TargetMultiMeasureAttributeName: smithy_client_1.expectString(output.TargetMultiMeasureAttributeName),
1302
+ MeasureValueType: (0, smithy_client_1.expectString)(output.MeasureValueType),
1303
+ SourceColumn: (0, smithy_client_1.expectString)(output.SourceColumn),
1304
+ TargetMultiMeasureAttributeName: (0, smithy_client_1.expectString)(output.TargetMultiMeasureAttributeName),
1305
1305
  };
1306
1306
  };
1307
1307
  const deserializeAws_json1_0MultiMeasureAttributeMappingList = (output, context) => {
@@ -1320,7 +1320,7 @@ const deserializeAws_json1_0MultiMeasureMappings = (output, context) => {
1320
1320
  MultiMeasureAttributeMappings: output.MultiMeasureAttributeMappings !== undefined && output.MultiMeasureAttributeMappings !== null
1321
1321
  ? deserializeAws_json1_0MultiMeasureAttributeMappingList(output.MultiMeasureAttributeMappings, context)
1322
1322
  : undefined,
1323
- TargetMultiMeasureName: smithy_client_1.expectString(output.TargetMultiMeasureName),
1323
+ TargetMultiMeasureName: (0, smithy_client_1.expectString)(output.TargetMultiMeasureName),
1324
1324
  };
1325
1325
  };
1326
1326
  const deserializeAws_json1_0NotificationConfiguration = (output, context) => {
@@ -1332,7 +1332,7 @@ const deserializeAws_json1_0NotificationConfiguration = (output, context) => {
1332
1332
  };
1333
1333
  const deserializeAws_json1_0ParameterMapping = (output, context) => {
1334
1334
  return {
1335
- Name: smithy_client_1.expectString(output.Name),
1335
+ Name: (0, smithy_client_1.expectString)(output.Name),
1336
1336
  Type: output.Type !== undefined && output.Type !== null ? deserializeAws_json1_0Type(output.Type, context) : undefined,
1337
1337
  };
1338
1338
  };
@@ -1355,12 +1355,12 @@ const deserializeAws_json1_0PrepareQueryResponse = (output, context) => {
1355
1355
  Parameters: output.Parameters !== undefined && output.Parameters !== null
1356
1356
  ? deserializeAws_json1_0ParameterMappingList(output.Parameters, context)
1357
1357
  : undefined,
1358
- QueryString: smithy_client_1.expectString(output.QueryString),
1358
+ QueryString: (0, smithy_client_1.expectString)(output.QueryString),
1359
1359
  };
1360
1360
  };
1361
1361
  const deserializeAws_json1_0QueryExecutionException = (output, context) => {
1362
1362
  return {
1363
- Message: smithy_client_1.expectString(output.Message),
1363
+ Message: (0, smithy_client_1.expectString)(output.Message),
1364
1364
  };
1365
1365
  };
1366
1366
  const deserializeAws_json1_0QueryResponse = (output, context) => {
@@ -1368,8 +1368,8 @@ const deserializeAws_json1_0QueryResponse = (output, context) => {
1368
1368
  ColumnInfo: output.ColumnInfo !== undefined && output.ColumnInfo !== null
1369
1369
  ? deserializeAws_json1_0ColumnInfoList(output.ColumnInfo, context)
1370
1370
  : undefined,
1371
- NextToken: smithy_client_1.expectString(output.NextToken),
1372
- QueryId: smithy_client_1.expectString(output.QueryId),
1371
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1372
+ QueryId: (0, smithy_client_1.expectString)(output.QueryId),
1373
1373
  QueryStatus: output.QueryStatus !== undefined && output.QueryStatus !== null
1374
1374
  ? deserializeAws_json1_0QueryStatus(output.QueryStatus, context)
1375
1375
  : undefined,
@@ -1380,15 +1380,15 @@ const deserializeAws_json1_0QueryResponse = (output, context) => {
1380
1380
  };
1381
1381
  const deserializeAws_json1_0QueryStatus = (output, context) => {
1382
1382
  return {
1383
- CumulativeBytesMetered: smithy_client_1.expectLong(output.CumulativeBytesMetered),
1384
- CumulativeBytesScanned: smithy_client_1.expectLong(output.CumulativeBytesScanned),
1385
- ProgressPercentage: smithy_client_1.limitedParseDouble(output.ProgressPercentage),
1383
+ CumulativeBytesMetered: (0, smithy_client_1.expectLong)(output.CumulativeBytesMetered),
1384
+ CumulativeBytesScanned: (0, smithy_client_1.expectLong)(output.CumulativeBytesScanned),
1385
+ ProgressPercentage: (0, smithy_client_1.limitedParseDouble)(output.ProgressPercentage),
1386
1386
  };
1387
1387
  };
1388
1388
  const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
1389
1389
  return {
1390
- Message: smithy_client_1.expectString(output.Message),
1391
- ScheduledQueryArn: smithy_client_1.expectString(output.ScheduledQueryArn),
1390
+ Message: (0, smithy_client_1.expectString)(output.Message),
1391
+ ScheduledQueryArn: (0, smithy_client_1.expectString)(output.ScheduledQueryArn),
1392
1392
  };
1393
1393
  };
1394
1394
  const deserializeAws_json1_0Row = (output, context) => {
@@ -1411,40 +1411,40 @@ const deserializeAws_json1_0RowList = (output, context) => {
1411
1411
  };
1412
1412
  const deserializeAws_json1_0S3Configuration = (output, context) => {
1413
1413
  return {
1414
- BucketName: smithy_client_1.expectString(output.BucketName),
1415
- EncryptionOption: smithy_client_1.expectString(output.EncryptionOption),
1416
- ObjectKeyPrefix: smithy_client_1.expectString(output.ObjectKeyPrefix),
1414
+ BucketName: (0, smithy_client_1.expectString)(output.BucketName),
1415
+ EncryptionOption: (0, smithy_client_1.expectString)(output.EncryptionOption),
1416
+ ObjectKeyPrefix: (0, smithy_client_1.expectString)(output.ObjectKeyPrefix),
1417
1417
  };
1418
1418
  };
1419
1419
  const deserializeAws_json1_0S3ReportLocation = (output, context) => {
1420
1420
  return {
1421
- BucketName: smithy_client_1.expectString(output.BucketName),
1422
- ObjectKey: smithy_client_1.expectString(output.ObjectKey),
1421
+ BucketName: (0, smithy_client_1.expectString)(output.BucketName),
1422
+ ObjectKey: (0, smithy_client_1.expectString)(output.ObjectKey),
1423
1423
  };
1424
1424
  };
1425
1425
  const deserializeAws_json1_0ScheduleConfiguration = (output, context) => {
1426
1426
  return {
1427
- ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
1427
+ ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
1428
1428
  };
1429
1429
  };
1430
1430
  const deserializeAws_json1_0ScheduledQuery = (output, context) => {
1431
1431
  return {
1432
- Arn: smithy_client_1.expectString(output.Arn),
1432
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
1433
1433
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1434
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
1434
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1435
1435
  : undefined,
1436
1436
  ErrorReportConfiguration: output.ErrorReportConfiguration !== undefined && output.ErrorReportConfiguration !== null
1437
1437
  ? deserializeAws_json1_0ErrorReportConfiguration(output.ErrorReportConfiguration, context)
1438
1438
  : undefined,
1439
- LastRunStatus: smithy_client_1.expectString(output.LastRunStatus),
1440
- Name: smithy_client_1.expectString(output.Name),
1439
+ LastRunStatus: (0, smithy_client_1.expectString)(output.LastRunStatus),
1440
+ Name: (0, smithy_client_1.expectString)(output.Name),
1441
1441
  NextInvocationTime: output.NextInvocationTime !== undefined && output.NextInvocationTime !== null
1442
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NextInvocationTime)))
1442
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NextInvocationTime)))
1443
1443
  : undefined,
1444
1444
  PreviousInvocationTime: output.PreviousInvocationTime !== undefined && output.PreviousInvocationTime !== null
1445
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PreviousInvocationTime)))
1445
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.PreviousInvocationTime)))
1446
1446
  : undefined,
1447
- State: smithy_client_1.expectString(output.State),
1447
+ State: (0, smithy_client_1.expectString)(output.State),
1448
1448
  TargetDestination: output.TargetDestination !== undefined && output.TargetDestination !== null
1449
1449
  ? deserializeAws_json1_0TargetDestination(output.TargetDestination, context)
1450
1450
  : undefined,
@@ -1452,36 +1452,36 @@ const deserializeAws_json1_0ScheduledQuery = (output, context) => {
1452
1452
  };
1453
1453
  const deserializeAws_json1_0ScheduledQueryDescription = (output, context) => {
1454
1454
  return {
1455
- Arn: smithy_client_1.expectString(output.Arn),
1455
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
1456
1456
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1457
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
1457
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1458
1458
  : undefined,
1459
1459
  ErrorReportConfiguration: output.ErrorReportConfiguration !== undefined && output.ErrorReportConfiguration !== null
1460
1460
  ? deserializeAws_json1_0ErrorReportConfiguration(output.ErrorReportConfiguration, context)
1461
1461
  : undefined,
1462
- KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
1462
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
1463
1463
  LastRunSummary: output.LastRunSummary !== undefined && output.LastRunSummary !== null
1464
1464
  ? deserializeAws_json1_0ScheduledQueryRunSummary(output.LastRunSummary, context)
1465
1465
  : undefined,
1466
- Name: smithy_client_1.expectString(output.Name),
1466
+ Name: (0, smithy_client_1.expectString)(output.Name),
1467
1467
  NextInvocationTime: output.NextInvocationTime !== undefined && output.NextInvocationTime !== null
1468
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NextInvocationTime)))
1468
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NextInvocationTime)))
1469
1469
  : undefined,
1470
1470
  NotificationConfiguration: output.NotificationConfiguration !== undefined && output.NotificationConfiguration !== null
1471
1471
  ? deserializeAws_json1_0NotificationConfiguration(output.NotificationConfiguration, context)
1472
1472
  : undefined,
1473
1473
  PreviousInvocationTime: output.PreviousInvocationTime !== undefined && output.PreviousInvocationTime !== null
1474
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PreviousInvocationTime)))
1474
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.PreviousInvocationTime)))
1475
1475
  : undefined,
1476
- QueryString: smithy_client_1.expectString(output.QueryString),
1476
+ QueryString: (0, smithy_client_1.expectString)(output.QueryString),
1477
1477
  RecentlyFailedRuns: output.RecentlyFailedRuns !== undefined && output.RecentlyFailedRuns !== null
1478
1478
  ? deserializeAws_json1_0ScheduledQueryRunSummaryList(output.RecentlyFailedRuns, context)
1479
1479
  : undefined,
1480
1480
  ScheduleConfiguration: output.ScheduleConfiguration !== undefined && output.ScheduleConfiguration !== null
1481
1481
  ? deserializeAws_json1_0ScheduleConfiguration(output.ScheduleConfiguration, context)
1482
1482
  : undefined,
1483
- ScheduledQueryExecutionRoleArn: smithy_client_1.expectString(output.ScheduledQueryExecutionRoleArn),
1484
- State: smithy_client_1.expectString(output.State),
1483
+ ScheduledQueryExecutionRoleArn: (0, smithy_client_1.expectString)(output.ScheduledQueryExecutionRoleArn),
1484
+ State: (0, smithy_client_1.expectString)(output.State),
1485
1485
  TargetConfiguration: output.TargetConfiguration !== undefined && output.TargetConfiguration !== null
1486
1486
  ? deserializeAws_json1_0TargetConfiguration(output.TargetConfiguration, context)
1487
1487
  : undefined,
@@ -1506,13 +1506,13 @@ const deserializeAws_json1_0ScheduledQueryRunSummary = (output, context) => {
1506
1506
  ExecutionStats: output.ExecutionStats !== undefined && output.ExecutionStats !== null
1507
1507
  ? deserializeAws_json1_0ExecutionStats(output.ExecutionStats, context)
1508
1508
  : undefined,
1509
- FailureReason: smithy_client_1.expectString(output.FailureReason),
1509
+ FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
1510
1510
  InvocationTime: output.InvocationTime !== undefined && output.InvocationTime !== null
1511
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.InvocationTime)))
1511
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.InvocationTime)))
1512
1512
  : undefined,
1513
- RunStatus: smithy_client_1.expectString(output.RunStatus),
1513
+ RunStatus: (0, smithy_client_1.expectString)(output.RunStatus),
1514
1514
  TriggerTime: output.TriggerTime !== undefined && output.TriggerTime !== null
1515
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TriggerTime)))
1515
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TriggerTime)))
1516
1516
  : undefined,
1517
1517
  };
1518
1518
  };
@@ -1529,10 +1529,10 @@ const deserializeAws_json1_0ScheduledQueryRunSummaryList = (output, context) =>
1529
1529
  };
1530
1530
  const deserializeAws_json1_0SelectColumn = (output, context) => {
1531
1531
  return {
1532
- Aliased: smithy_client_1.expectBoolean(output.Aliased),
1533
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
1534
- Name: smithy_client_1.expectString(output.Name),
1535
- TableName: smithy_client_1.expectString(output.TableName),
1532
+ Aliased: (0, smithy_client_1.expectBoolean)(output.Aliased),
1533
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
1534
+ Name: (0, smithy_client_1.expectString)(output.Name),
1535
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
1536
1536
  Type: output.Type !== undefined && output.Type !== null ? deserializeAws_json1_0Type(output.Type, context) : undefined,
1537
1537
  };
1538
1538
  };
@@ -1549,18 +1549,18 @@ const deserializeAws_json1_0SelectColumnList = (output, context) => {
1549
1549
  };
1550
1550
  const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
1551
1551
  return {
1552
- Message: smithy_client_1.expectString(output.Message),
1552
+ Message: (0, smithy_client_1.expectString)(output.Message),
1553
1553
  };
1554
1554
  };
1555
1555
  const deserializeAws_json1_0SnsConfiguration = (output, context) => {
1556
1556
  return {
1557
- TopicArn: smithy_client_1.expectString(output.TopicArn),
1557
+ TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
1558
1558
  };
1559
1559
  };
1560
1560
  const deserializeAws_json1_0Tag = (output, context) => {
1561
1561
  return {
1562
- Key: smithy_client_1.expectString(output.Key),
1563
- Value: smithy_client_1.expectString(output.Value),
1562
+ Key: (0, smithy_client_1.expectString)(output.Key),
1563
+ Value: (0, smithy_client_1.expectString)(output.Value),
1564
1564
  };
1565
1565
  };
1566
1566
  const deserializeAws_json1_0TagList = (output, context) => {
@@ -1593,12 +1593,12 @@ const deserializeAws_json1_0TargetDestination = (output, context) => {
1593
1593
  };
1594
1594
  const deserializeAws_json1_0ThrottlingException = (output, context) => {
1595
1595
  return {
1596
- Message: smithy_client_1.expectString(output.Message),
1596
+ Message: (0, smithy_client_1.expectString)(output.Message),
1597
1597
  };
1598
1598
  };
1599
1599
  const deserializeAws_json1_0TimeSeriesDataPoint = (output, context) => {
1600
1600
  return {
1601
- Time: smithy_client_1.expectString(output.Time),
1601
+ Time: (0, smithy_client_1.expectString)(output.Time),
1602
1602
  Value: output.Value !== undefined && output.Value !== null
1603
1603
  ? deserializeAws_json1_0Datum(output.Value, context)
1604
1604
  : undefined,
@@ -1617,25 +1617,25 @@ const deserializeAws_json1_0TimeSeriesDataPointList = (output, context) => {
1617
1617
  };
1618
1618
  const deserializeAws_json1_0TimestreamConfiguration = (output, context) => {
1619
1619
  return {
1620
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
1620
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
1621
1621
  DimensionMappings: output.DimensionMappings !== undefined && output.DimensionMappings !== null
1622
1622
  ? deserializeAws_json1_0DimensionMappingList(output.DimensionMappings, context)
1623
1623
  : undefined,
1624
- MeasureNameColumn: smithy_client_1.expectString(output.MeasureNameColumn),
1624
+ MeasureNameColumn: (0, smithy_client_1.expectString)(output.MeasureNameColumn),
1625
1625
  MixedMeasureMappings: output.MixedMeasureMappings !== undefined && output.MixedMeasureMappings !== null
1626
1626
  ? deserializeAws_json1_0MixedMeasureMappingList(output.MixedMeasureMappings, context)
1627
1627
  : undefined,
1628
1628
  MultiMeasureMappings: output.MultiMeasureMappings !== undefined && output.MultiMeasureMappings !== null
1629
1629
  ? deserializeAws_json1_0MultiMeasureMappings(output.MultiMeasureMappings, context)
1630
1630
  : undefined,
1631
- TableName: smithy_client_1.expectString(output.TableName),
1632
- TimeColumn: smithy_client_1.expectString(output.TimeColumn),
1631
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
1632
+ TimeColumn: (0, smithy_client_1.expectString)(output.TimeColumn),
1633
1633
  };
1634
1634
  };
1635
1635
  const deserializeAws_json1_0TimestreamDestination = (output, context) => {
1636
1636
  return {
1637
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
1638
- TableName: smithy_client_1.expectString(output.TableName),
1637
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
1638
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
1639
1639
  };
1640
1640
  };
1641
1641
  const deserializeAws_json1_0Type = (output, context) => {
@@ -1646,7 +1646,7 @@ const deserializeAws_json1_0Type = (output, context) => {
1646
1646
  RowColumnInfo: output.RowColumnInfo !== undefined && output.RowColumnInfo !== null
1647
1647
  ? deserializeAws_json1_0ColumnInfoList(output.RowColumnInfo, context)
1648
1648
  : undefined,
1649
- ScalarType: smithy_client_1.expectString(output.ScalarType),
1649
+ ScalarType: (0, smithy_client_1.expectString)(output.ScalarType),
1650
1650
  TimeSeriesMeasureValueColumnInfo: output.TimeSeriesMeasureValueColumnInfo !== undefined && output.TimeSeriesMeasureValueColumnInfo !== null
1651
1651
  ? deserializeAws_json1_0ColumnInfo(output.TimeSeriesMeasureValueColumnInfo, context)
1652
1652
  : undefined,
@@ -1657,7 +1657,7 @@ const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
1657
1657
  };
1658
1658
  const deserializeAws_json1_0ValidationException = (output, context) => {
1659
1659
  return {
1660
- Message: smithy_client_1.expectString(output.Message),
1660
+ Message: (0, smithy_client_1.expectString)(output.Message),
1661
1661
  };
1662
1662
  };
1663
1663
  const deserializeMetadata = (output) => {