@aws-sdk/client-timestream-write 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/TimestreamWriteClient.js +14 -14
- package/dist-cjs/commands/CreateDatabaseCommand.js +4 -4
- package/dist-cjs/commands/CreateTableCommand.js +4 -4
- package/dist-cjs/commands/DeleteDatabaseCommand.js +4 -4
- package/dist-cjs/commands/DeleteTableCommand.js +4 -4
- package/dist-cjs/commands/DescribeDatabaseCommand.js +4 -4
- package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTableCommand.js +4 -4
- package/dist-cjs/commands/ListDatabasesCommand.js +4 -4
- package/dist-cjs/commands/ListTablesCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateDatabaseCommand.js +4 -4
- package/dist-cjs/commands/UpdateTableCommand.js +4 -4
- package/dist-cjs/commands/WriteRecordsCommand.js +4 -4
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +64 -64
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/TimestreamWrite.js +15 -15
- package/dist-es/pagination/ListDatabasesPaginator.js +4 -4
- package/dist-es/pagination/ListTablesPaginator.js +4 -4
- package/dist-types/TimestreamWriteClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -206,7 +206,7 @@ const deserializeAws_json1_0CreateDatabaseCommandError = async (output, context)
|
|
|
206
206
|
$fault: "client",
|
|
207
207
|
$metadata: deserializeMetadata(output),
|
|
208
208
|
});
|
|
209
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
209
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
212
|
const deserializeAws_json1_0CreateTableCommand = async (output, context) => {
|
|
@@ -263,7 +263,7 @@ const deserializeAws_json1_0CreateTableCommandError = async (output, context) =>
|
|
|
263
263
|
$fault: "client",
|
|
264
264
|
$metadata: deserializeMetadata(output),
|
|
265
265
|
});
|
|
266
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
266
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
const deserializeAws_json1_0DeleteDatabaseCommand = async (output, context) => {
|
|
@@ -311,7 +311,7 @@ const deserializeAws_json1_0DeleteDatabaseCommandError = async (output, context)
|
|
|
311
311
|
$fault: "client",
|
|
312
312
|
$metadata: deserializeMetadata(output),
|
|
313
313
|
});
|
|
314
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
314
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
const deserializeAws_json1_0DeleteTableCommand = async (output, context) => {
|
|
@@ -359,7 +359,7 @@ const deserializeAws_json1_0DeleteTableCommandError = async (output, context) =>
|
|
|
359
359
|
$fault: "client",
|
|
360
360
|
$metadata: deserializeMetadata(output),
|
|
361
361
|
});
|
|
362
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
362
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
365
|
const deserializeAws_json1_0DescribeDatabaseCommand = async (output, context) => {
|
|
@@ -410,7 +410,7 @@ const deserializeAws_json1_0DescribeDatabaseCommandError = async (output, contex
|
|
|
410
410
|
$fault: "client",
|
|
411
411
|
$metadata: deserializeMetadata(output),
|
|
412
412
|
});
|
|
413
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
413
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
416
|
const deserializeAws_json1_0DescribeEndpointsCommand = async (output, context) => {
|
|
@@ -452,7 +452,7 @@ const deserializeAws_json1_0DescribeEndpointsCommandError = async (output, conte
|
|
|
452
452
|
$fault: "client",
|
|
453
453
|
$metadata: deserializeMetadata(output),
|
|
454
454
|
});
|
|
455
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
455
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
456
456
|
}
|
|
457
457
|
};
|
|
458
458
|
const deserializeAws_json1_0DescribeTableCommand = async (output, context) => {
|
|
@@ -503,7 +503,7 @@ const deserializeAws_json1_0DescribeTableCommandError = async (output, context)
|
|
|
503
503
|
$fault: "client",
|
|
504
504
|
$metadata: deserializeMetadata(output),
|
|
505
505
|
});
|
|
506
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
506
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
509
|
const deserializeAws_json1_0ListDatabasesCommand = async (output, context) => {
|
|
@@ -551,7 +551,7 @@ const deserializeAws_json1_0ListDatabasesCommandError = async (output, context)
|
|
|
551
551
|
$fault: "client",
|
|
552
552
|
$metadata: deserializeMetadata(output),
|
|
553
553
|
});
|
|
554
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
554
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
555
555
|
}
|
|
556
556
|
};
|
|
557
557
|
const deserializeAws_json1_0ListTablesCommand = async (output, context) => {
|
|
@@ -602,7 +602,7 @@ const deserializeAws_json1_0ListTablesCommandError = async (output, context) =>
|
|
|
602
602
|
$fault: "client",
|
|
603
603
|
$metadata: deserializeMetadata(output),
|
|
604
604
|
});
|
|
605
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
605
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -647,7 +647,7 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
647
647
|
$fault: "client",
|
|
648
648
|
$metadata: deserializeMetadata(output),
|
|
649
649
|
});
|
|
650
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
650
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
653
|
const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
|
|
@@ -695,7 +695,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
695
695
|
$fault: "client",
|
|
696
696
|
$metadata: deserializeMetadata(output),
|
|
697
697
|
});
|
|
698
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
698
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
701
|
const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
|
|
@@ -743,7 +743,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
743
743
|
$fault: "client",
|
|
744
744
|
$metadata: deserializeMetadata(output),
|
|
745
745
|
});
|
|
746
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
746
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
747
747
|
}
|
|
748
748
|
};
|
|
749
749
|
const deserializeAws_json1_0UpdateDatabaseCommand = async (output, context) => {
|
|
@@ -797,7 +797,7 @@ const deserializeAws_json1_0UpdateDatabaseCommandError = async (output, context)
|
|
|
797
797
|
$fault: "client",
|
|
798
798
|
$metadata: deserializeMetadata(output),
|
|
799
799
|
});
|
|
800
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
800
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
801
801
|
}
|
|
802
802
|
};
|
|
803
803
|
const deserializeAws_json1_0UpdateTableCommand = async (output, context) => {
|
|
@@ -848,7 +848,7 @@ const deserializeAws_json1_0UpdateTableCommandError = async (output, context) =>
|
|
|
848
848
|
$fault: "client",
|
|
849
849
|
$metadata: deserializeMetadata(output),
|
|
850
850
|
});
|
|
851
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
851
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
852
852
|
}
|
|
853
853
|
};
|
|
854
854
|
const deserializeAws_json1_0WriteRecordsCommand = async (output, context) => {
|
|
@@ -902,7 +902,7 @@ const deserializeAws_json1_0WriteRecordsCommandError = async (output, context) =
|
|
|
902
902
|
$fault: "client",
|
|
903
903
|
$metadata: deserializeMetadata(output),
|
|
904
904
|
});
|
|
905
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
905
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
906
906
|
}
|
|
907
907
|
};
|
|
908
908
|
const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -912,7 +912,7 @@ const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
912
912
|
$metadata: deserializeMetadata(parsedOutput),
|
|
913
913
|
...deserialized,
|
|
914
914
|
});
|
|
915
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
915
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
916
916
|
};
|
|
917
917
|
const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
918
918
|
const body = parsedOutput.body;
|
|
@@ -921,7 +921,7 @@ const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, con
|
|
|
921
921
|
$metadata: deserializeMetadata(parsedOutput),
|
|
922
922
|
...deserialized,
|
|
923
923
|
});
|
|
924
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
924
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
925
925
|
};
|
|
926
926
|
const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
927
927
|
const body = parsedOutput.body;
|
|
@@ -930,7 +930,7 @@ const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutpu
|
|
|
930
930
|
$metadata: deserializeMetadata(parsedOutput),
|
|
931
931
|
...deserialized,
|
|
932
932
|
});
|
|
933
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
933
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
934
934
|
};
|
|
935
935
|
const deserializeAws_json1_0InvalidEndpointExceptionResponse = async (parsedOutput, context) => {
|
|
936
936
|
const body = parsedOutput.body;
|
|
@@ -939,7 +939,7 @@ const deserializeAws_json1_0InvalidEndpointExceptionResponse = async (parsedOutp
|
|
|
939
939
|
$metadata: deserializeMetadata(parsedOutput),
|
|
940
940
|
...deserialized,
|
|
941
941
|
});
|
|
942
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
942
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
943
943
|
};
|
|
944
944
|
const deserializeAws_json1_0RejectedRecordsExceptionResponse = async (parsedOutput, context) => {
|
|
945
945
|
const body = parsedOutput.body;
|
|
@@ -948,7 +948,7 @@ const deserializeAws_json1_0RejectedRecordsExceptionResponse = async (parsedOutp
|
|
|
948
948
|
$metadata: deserializeMetadata(parsedOutput),
|
|
949
949
|
...deserialized,
|
|
950
950
|
});
|
|
951
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
951
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
952
952
|
};
|
|
953
953
|
const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
954
954
|
const body = parsedOutput.body;
|
|
@@ -957,7 +957,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
957
957
|
$metadata: deserializeMetadata(parsedOutput),
|
|
958
958
|
...deserialized,
|
|
959
959
|
});
|
|
960
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
960
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
961
961
|
};
|
|
962
962
|
const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
963
963
|
const body = parsedOutput.body;
|
|
@@ -966,7 +966,7 @@ const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parse
|
|
|
966
966
|
$metadata: deserializeMetadata(parsedOutput),
|
|
967
967
|
...deserialized,
|
|
968
968
|
});
|
|
969
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
969
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
970
970
|
};
|
|
971
971
|
const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
972
972
|
const body = parsedOutput.body;
|
|
@@ -975,7 +975,7 @@ const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
975
975
|
$metadata: deserializeMetadata(parsedOutput),
|
|
976
976
|
...deserialized,
|
|
977
977
|
});
|
|
978
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
978
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
979
979
|
};
|
|
980
980
|
const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
981
981
|
const body = parsedOutput.body;
|
|
@@ -984,7 +984,7 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
|
|
|
984
984
|
$metadata: deserializeMetadata(parsedOutput),
|
|
985
985
|
...deserialized,
|
|
986
986
|
});
|
|
987
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
987
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
988
988
|
};
|
|
989
989
|
const serializeAws_json1_0CreateDatabaseRequest = (input, context) => {
|
|
990
990
|
return {
|
|
@@ -1226,12 +1226,12 @@ const serializeAws_json1_0WriteRecordsRequest = (input, context) => {
|
|
|
1226
1226
|
};
|
|
1227
1227
|
const deserializeAws_json1_0AccessDeniedException = (output, context) => {
|
|
1228
1228
|
return {
|
|
1229
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1229
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1230
1230
|
};
|
|
1231
1231
|
};
|
|
1232
1232
|
const deserializeAws_json1_0ConflictException = (output, context) => {
|
|
1233
1233
|
return {
|
|
1234
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1234
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1235
1235
|
};
|
|
1236
1236
|
};
|
|
1237
1237
|
const deserializeAws_json1_0CreateDatabaseResponse = (output, context) => {
|
|
@@ -1250,16 +1250,16 @@ const deserializeAws_json1_0CreateTableResponse = (output, context) => {
|
|
|
1250
1250
|
};
|
|
1251
1251
|
const deserializeAws_json1_0Database = (output, context) => {
|
|
1252
1252
|
return {
|
|
1253
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
1253
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
1254
1254
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
1255
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
1255
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
1256
1256
|
: undefined,
|
|
1257
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
1258
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1257
|
+
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
1258
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1259
1259
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
1260
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
|
|
1260
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
1261
1261
|
: undefined,
|
|
1262
|
-
TableCount: smithy_client_1.expectLong(output.TableCount),
|
|
1262
|
+
TableCount: (0, smithy_client_1.expectLong)(output.TableCount),
|
|
1263
1263
|
};
|
|
1264
1264
|
};
|
|
1265
1265
|
const deserializeAws_json1_0DatabaseList = (output, context) => {
|
|
@@ -1296,8 +1296,8 @@ const deserializeAws_json1_0DescribeTableResponse = (output, context) => {
|
|
|
1296
1296
|
};
|
|
1297
1297
|
const deserializeAws_json1_0Endpoint = (output, context) => {
|
|
1298
1298
|
return {
|
|
1299
|
-
Address: smithy_client_1.expectString(output.Address),
|
|
1300
|
-
CachePeriodInMinutes: smithy_client_1.expectLong(output.CachePeriodInMinutes),
|
|
1299
|
+
Address: (0, smithy_client_1.expectString)(output.Address),
|
|
1300
|
+
CachePeriodInMinutes: (0, smithy_client_1.expectLong)(output.CachePeriodInMinutes),
|
|
1301
1301
|
};
|
|
1302
1302
|
};
|
|
1303
1303
|
const deserializeAws_json1_0Endpoints = (output, context) => {
|
|
@@ -1313,12 +1313,12 @@ const deserializeAws_json1_0Endpoints = (output, context) => {
|
|
|
1313
1313
|
};
|
|
1314
1314
|
const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
1315
1315
|
return {
|
|
1316
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1316
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1317
1317
|
};
|
|
1318
1318
|
};
|
|
1319
1319
|
const deserializeAws_json1_0InvalidEndpointException = (output, context) => {
|
|
1320
1320
|
return {
|
|
1321
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1321
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1322
1322
|
};
|
|
1323
1323
|
};
|
|
1324
1324
|
const deserializeAws_json1_0ListDatabasesResponse = (output, context) => {
|
|
@@ -1326,12 +1326,12 @@ const deserializeAws_json1_0ListDatabasesResponse = (output, context) => {
|
|
|
1326
1326
|
Databases: output.Databases !== undefined && output.Databases !== null
|
|
1327
1327
|
? deserializeAws_json1_0DatabaseList(output.Databases, context)
|
|
1328
1328
|
: undefined,
|
|
1329
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1329
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1330
1330
|
};
|
|
1331
1331
|
};
|
|
1332
1332
|
const deserializeAws_json1_0ListTablesResponse = (output, context) => {
|
|
1333
1333
|
return {
|
|
1334
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1334
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1335
1335
|
Tables: output.Tables !== undefined && output.Tables !== null
|
|
1336
1336
|
? deserializeAws_json1_0TableList(output.Tables, context)
|
|
1337
1337
|
: undefined,
|
|
@@ -1353,7 +1353,7 @@ const deserializeAws_json1_0MagneticStoreRejectedDataLocation = (output, context
|
|
|
1353
1353
|
};
|
|
1354
1354
|
const deserializeAws_json1_0MagneticStoreWriteProperties = (output, context) => {
|
|
1355
1355
|
return {
|
|
1356
|
-
EnableMagneticStoreWrites: smithy_client_1.expectBoolean(output.EnableMagneticStoreWrites),
|
|
1356
|
+
EnableMagneticStoreWrites: (0, smithy_client_1.expectBoolean)(output.EnableMagneticStoreWrites),
|
|
1357
1357
|
MagneticStoreRejectedDataLocation: output.MagneticStoreRejectedDataLocation !== undefined && output.MagneticStoreRejectedDataLocation !== null
|
|
1358
1358
|
? deserializeAws_json1_0MagneticStoreRejectedDataLocation(output.MagneticStoreRejectedDataLocation, context)
|
|
1359
1359
|
: undefined,
|
|
@@ -1361,16 +1361,16 @@ const deserializeAws_json1_0MagneticStoreWriteProperties = (output, context) =>
|
|
|
1361
1361
|
};
|
|
1362
1362
|
const deserializeAws_json1_0RecordsIngested = (output, context) => {
|
|
1363
1363
|
return {
|
|
1364
|
-
MagneticStore: smithy_client_1.expectInt32(output.MagneticStore),
|
|
1365
|
-
MemoryStore: smithy_client_1.expectInt32(output.MemoryStore),
|
|
1366
|
-
Total: smithy_client_1.expectInt32(output.Total),
|
|
1364
|
+
MagneticStore: (0, smithy_client_1.expectInt32)(output.MagneticStore),
|
|
1365
|
+
MemoryStore: (0, smithy_client_1.expectInt32)(output.MemoryStore),
|
|
1366
|
+
Total: (0, smithy_client_1.expectInt32)(output.Total),
|
|
1367
1367
|
};
|
|
1368
1368
|
};
|
|
1369
1369
|
const deserializeAws_json1_0RejectedRecord = (output, context) => {
|
|
1370
1370
|
return {
|
|
1371
|
-
ExistingVersion: smithy_client_1.expectLong(output.ExistingVersion),
|
|
1372
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
1373
|
-
RecordIndex: smithy_client_1.expectInt32(output.RecordIndex),
|
|
1371
|
+
ExistingVersion: (0, smithy_client_1.expectLong)(output.ExistingVersion),
|
|
1372
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
1373
|
+
RecordIndex: (0, smithy_client_1.expectInt32)(output.RecordIndex),
|
|
1374
1374
|
};
|
|
1375
1375
|
};
|
|
1376
1376
|
const deserializeAws_json1_0RejectedRecords = (output, context) => {
|
|
@@ -1386,7 +1386,7 @@ const deserializeAws_json1_0RejectedRecords = (output, context) => {
|
|
|
1386
1386
|
};
|
|
1387
1387
|
const deserializeAws_json1_0RejectedRecordsException = (output, context) => {
|
|
1388
1388
|
return {
|
|
1389
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1389
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1390
1390
|
RejectedRecords: output.RejectedRecords !== undefined && output.RejectedRecords !== null
|
|
1391
1391
|
? deserializeAws_json1_0RejectedRecords(output.RejectedRecords, context)
|
|
1392
1392
|
: undefined,
|
|
@@ -1394,37 +1394,37 @@ const deserializeAws_json1_0RejectedRecordsException = (output, context) => {
|
|
|
1394
1394
|
};
|
|
1395
1395
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
1396
1396
|
return {
|
|
1397
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1397
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1398
1398
|
};
|
|
1399
1399
|
};
|
|
1400
1400
|
const deserializeAws_json1_0RetentionProperties = (output, context) => {
|
|
1401
1401
|
return {
|
|
1402
|
-
MagneticStoreRetentionPeriodInDays: smithy_client_1.expectLong(output.MagneticStoreRetentionPeriodInDays),
|
|
1403
|
-
MemoryStoreRetentionPeriodInHours: smithy_client_1.expectLong(output.MemoryStoreRetentionPeriodInHours),
|
|
1402
|
+
MagneticStoreRetentionPeriodInDays: (0, smithy_client_1.expectLong)(output.MagneticStoreRetentionPeriodInDays),
|
|
1403
|
+
MemoryStoreRetentionPeriodInHours: (0, smithy_client_1.expectLong)(output.MemoryStoreRetentionPeriodInHours),
|
|
1404
1404
|
};
|
|
1405
1405
|
};
|
|
1406
1406
|
const deserializeAws_json1_0S3Configuration = (output, context) => {
|
|
1407
1407
|
return {
|
|
1408
|
-
BucketName: smithy_client_1.expectString(output.BucketName),
|
|
1409
|
-
EncryptionOption: smithy_client_1.expectString(output.EncryptionOption),
|
|
1410
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1411
|
-
ObjectKeyPrefix: smithy_client_1.expectString(output.ObjectKeyPrefix),
|
|
1408
|
+
BucketName: (0, smithy_client_1.expectString)(output.BucketName),
|
|
1409
|
+
EncryptionOption: (0, smithy_client_1.expectString)(output.EncryptionOption),
|
|
1410
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1411
|
+
ObjectKeyPrefix: (0, smithy_client_1.expectString)(output.ObjectKeyPrefix),
|
|
1412
1412
|
};
|
|
1413
1413
|
};
|
|
1414
1414
|
const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
|
|
1415
1415
|
return {
|
|
1416
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1416
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1417
1417
|
};
|
|
1418
1418
|
};
|
|
1419
1419
|
const deserializeAws_json1_0Table = (output, context) => {
|
|
1420
1420
|
return {
|
|
1421
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
1421
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
1422
1422
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
1423
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
1423
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
1424
1424
|
: undefined,
|
|
1425
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
1425
|
+
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
1426
1426
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
1427
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
|
|
1427
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
1428
1428
|
: undefined,
|
|
1429
1429
|
MagneticStoreWriteProperties: output.MagneticStoreWriteProperties !== undefined && output.MagneticStoreWriteProperties !== null
|
|
1430
1430
|
? deserializeAws_json1_0MagneticStoreWriteProperties(output.MagneticStoreWriteProperties, context)
|
|
@@ -1432,8 +1432,8 @@ const deserializeAws_json1_0Table = (output, context) => {
|
|
|
1432
1432
|
RetentionProperties: output.RetentionProperties !== undefined && output.RetentionProperties !== null
|
|
1433
1433
|
? deserializeAws_json1_0RetentionProperties(output.RetentionProperties, context)
|
|
1434
1434
|
: undefined,
|
|
1435
|
-
TableName: smithy_client_1.expectString(output.TableName),
|
|
1436
|
-
TableStatus: smithy_client_1.expectString(output.TableStatus),
|
|
1435
|
+
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
1436
|
+
TableStatus: (0, smithy_client_1.expectString)(output.TableStatus),
|
|
1437
1437
|
};
|
|
1438
1438
|
};
|
|
1439
1439
|
const deserializeAws_json1_0TableList = (output, context) => {
|
|
@@ -1449,8 +1449,8 @@ const deserializeAws_json1_0TableList = (output, context) => {
|
|
|
1449
1449
|
};
|
|
1450
1450
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
1451
1451
|
return {
|
|
1452
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
1453
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
1452
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
1453
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1454
1454
|
};
|
|
1455
1455
|
};
|
|
1456
1456
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
@@ -1469,7 +1469,7 @@ const deserializeAws_json1_0TagResourceResponse = (output, context) => {
|
|
|
1469
1469
|
};
|
|
1470
1470
|
const deserializeAws_json1_0ThrottlingException = (output, context) => {
|
|
1471
1471
|
return {
|
|
1472
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1472
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1473
1473
|
};
|
|
1474
1474
|
};
|
|
1475
1475
|
const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
@@ -1491,7 +1491,7 @@ const deserializeAws_json1_0UpdateTableResponse = (output, context) => {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
const deserializeAws_json1_0ValidationException = (output, context) => {
|
|
1493
1493
|
return {
|
|
1494
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1494
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1495
1495
|
};
|
|
1496
1496
|
};
|
|
1497
1497
|
const deserializeAws_json1_0WriteRecordsResponse = (output, context) => {
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,10 +29,10 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (() => Promise.resolve(undefined)),
|
|
34
34
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
35
|
-
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
35
|
+
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
36
36
|
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
37
37
|
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
38
38
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
@@ -20,9 +20,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
20
20
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
23
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
24
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
25
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
25
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
26
|
return {
|
|
27
27
|
...clientSharedValues,
|
|
28
28
|
...config,
|
|
@@ -31,20 +31,20 @@ const getRuntimeConfig = (config) => {
|
|
|
31
31
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
32
32
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
33
33
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
34
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
35
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
|
-
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),
|
|
37
|
-
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
-
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
|
+
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),
|
|
37
|
+
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
39
|
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
|
|
40
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)({
|
|
41
41
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
42
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
43
|
}),
|
|
44
44
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
45
45
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
46
|
-
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
+
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
+
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
48
48
|
utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.fromUtf8,
|
|
49
49
|
utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_node_1.toUtf8,
|
|
50
50
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -27,7 +27,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
27
27
|
}
|
|
28
28
|
else if (typeof cb === "function") {
|
|
29
29
|
if (typeof optionsOrCb !== "object")
|
|
30
|
-
throw new Error("Expect http options but get "
|
|
30
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
31
31
|
this.send(command, optionsOrCb || {}, cb);
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
@@ -41,7 +41,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
41
41
|
}
|
|
42
42
|
else if (typeof cb === "function") {
|
|
43
43
|
if (typeof optionsOrCb !== "object")
|
|
44
|
-
throw new Error("Expect http options but get "
|
|
44
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
45
45
|
this.send(command, optionsOrCb || {}, cb);
|
|
46
46
|
}
|
|
47
47
|
else {
|
|
@@ -55,7 +55,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
55
55
|
}
|
|
56
56
|
else if (typeof cb === "function") {
|
|
57
57
|
if (typeof optionsOrCb !== "object")
|
|
58
|
-
throw new Error("Expect http options but get "
|
|
58
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
59
59
|
this.send(command, optionsOrCb || {}, cb);
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
@@ -69,7 +69,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
69
69
|
}
|
|
70
70
|
else if (typeof cb === "function") {
|
|
71
71
|
if (typeof optionsOrCb !== "object")
|
|
72
|
-
throw new Error("Expect http options but get "
|
|
72
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
73
73
|
this.send(command, optionsOrCb || {}, cb);
|
|
74
74
|
}
|
|
75
75
|
else {
|
|
@@ -83,7 +83,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
83
83
|
}
|
|
84
84
|
else if (typeof cb === "function") {
|
|
85
85
|
if (typeof optionsOrCb !== "object")
|
|
86
|
-
throw new Error("Expect http options but get "
|
|
86
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
87
87
|
this.send(command, optionsOrCb || {}, cb);
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
@@ -97,7 +97,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
97
97
|
}
|
|
98
98
|
else if (typeof cb === "function") {
|
|
99
99
|
if (typeof optionsOrCb !== "object")
|
|
100
|
-
throw new Error("Expect http options but get "
|
|
100
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
101
101
|
this.send(command, optionsOrCb || {}, cb);
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
@@ -111,7 +111,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
111
111
|
}
|
|
112
112
|
else if (typeof cb === "function") {
|
|
113
113
|
if (typeof optionsOrCb !== "object")
|
|
114
|
-
throw new Error("Expect http options but get "
|
|
114
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
115
115
|
this.send(command, optionsOrCb || {}, cb);
|
|
116
116
|
}
|
|
117
117
|
else {
|
|
@@ -125,7 +125,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
125
125
|
}
|
|
126
126
|
else if (typeof cb === "function") {
|
|
127
127
|
if (typeof optionsOrCb !== "object")
|
|
128
|
-
throw new Error("Expect http options but get "
|
|
128
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
129
129
|
this.send(command, optionsOrCb || {}, cb);
|
|
130
130
|
}
|
|
131
131
|
else {
|
|
@@ -139,7 +139,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
139
139
|
}
|
|
140
140
|
else if (typeof cb === "function") {
|
|
141
141
|
if (typeof optionsOrCb !== "object")
|
|
142
|
-
throw new Error("Expect http options but get "
|
|
142
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
143
143
|
this.send(command, optionsOrCb || {}, cb);
|
|
144
144
|
}
|
|
145
145
|
else {
|
|
@@ -153,7 +153,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
153
153
|
}
|
|
154
154
|
else if (typeof cb === "function") {
|
|
155
155
|
if (typeof optionsOrCb !== "object")
|
|
156
|
-
throw new Error("Expect http options but get "
|
|
156
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
157
157
|
this.send(command, optionsOrCb || {}, cb);
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
@@ -167,7 +167,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
167
167
|
}
|
|
168
168
|
else if (typeof cb === "function") {
|
|
169
169
|
if (typeof optionsOrCb !== "object")
|
|
170
|
-
throw new Error("Expect http options but get "
|
|
170
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
171
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
172
172
|
}
|
|
173
173
|
else {
|
|
@@ -181,7 +181,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
181
181
|
}
|
|
182
182
|
else if (typeof cb === "function") {
|
|
183
183
|
if (typeof optionsOrCb !== "object")
|
|
184
|
-
throw new Error("Expect http options but get "
|
|
184
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
185
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
186
186
|
}
|
|
187
187
|
else {
|
|
@@ -195,7 +195,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
195
195
|
}
|
|
196
196
|
else if (typeof cb === "function") {
|
|
197
197
|
if (typeof optionsOrCb !== "object")
|
|
198
|
-
throw new Error("Expect http options but get "
|
|
198
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
199
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
200
200
|
}
|
|
201
201
|
else {
|
|
@@ -209,7 +209,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
209
209
|
}
|
|
210
210
|
else if (typeof cb === "function") {
|
|
211
211
|
if (typeof optionsOrCb !== "object")
|
|
212
|
-
throw new Error("Expect http options but get "
|
|
212
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
213
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
214
214
|
}
|
|
215
215
|
else {
|
|
@@ -223,7 +223,7 @@ var TimestreamWrite = (function (_super) {
|
|
|
223
223
|
}
|
|
224
224
|
else if (typeof cb === "function") {
|
|
225
225
|
if (typeof optionsOrCb !== "object")
|
|
226
|
-
throw new Error("Expect http options but get "
|
|
226
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
227
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
228
228
|
}
|
|
229
229
|
else {
|