@aws-sdk/client-timestream-write 3.620.1 → 3.622.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/dist-cjs/index.js +102 -36
- package/dist-es/TimestreamWriteClient.js +12 -18
- package/dist-es/commands/CreateBatchLoadTaskCommand.js +5 -1
- package/dist-es/commands/CreateDatabaseCommand.js +5 -1
- package/dist-es/commands/CreateTableCommand.js +5 -1
- package/dist-es/commands/DeleteDatabaseCommand.js +5 -1
- package/dist-es/commands/DeleteTableCommand.js +5 -1
- package/dist-es/commands/DescribeBatchLoadTaskCommand.js +5 -1
- package/dist-es/commands/DescribeDatabaseCommand.js +5 -1
- package/dist-es/commands/DescribeTableCommand.js +5 -1
- package/dist-es/commands/ListBatchLoadTasksCommand.js +5 -1
- package/dist-es/commands/ListDatabasesCommand.js +5 -1
- package/dist-es/commands/ListTablesCommand.js +5 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -1
- package/dist-es/commands/ResumeBatchLoadTaskCommand.js +5 -1
- package/dist-es/commands/TagResourceCommand.js +5 -1
- package/dist-es/commands/UntagResourceCommand.js +5 -1
- package/dist-es/commands/UpdateDatabaseCommand.js +5 -1
- package/dist-es/commands/UpdateTableCommand.js +5 -1
- package/dist-es/commands/WriteRecordsCommand.js +5 -1
- package/dist-types/TimestreamWriteClient.d.ts +2 -4
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +6 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -1079,11 +1079,11 @@ var _TimestreamWriteClient = class _TimestreamWriteClient extends import_smithy_
|
|
|
1079
1079
|
constructor(...[configuration]) {
|
|
1080
1080
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
1081
1081
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
1082
|
-
const _config_2 = (0,
|
|
1083
|
-
const _config_3 = (0,
|
|
1084
|
-
const _config_4 = (0,
|
|
1085
|
-
const _config_5 = (0,
|
|
1086
|
-
const _config_6 = (0,
|
|
1082
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
1083
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
1084
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
1085
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
1086
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
1087
1087
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
1088
1088
|
const _config_8 = (0, import_middleware_endpoint_discovery.resolveEndpointDiscoveryConfig)(_config_7, {
|
|
1089
1089
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand
|
|
@@ -1091,16 +1091,18 @@ var _TimestreamWriteClient = class _TimestreamWriteClient extends import_smithy_
|
|
|
1091
1091
|
const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
1092
1092
|
super(_config_9);
|
|
1093
1093
|
this.config = _config_9;
|
|
1094
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
1095
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
1096
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
1097
1094
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
1098
1095
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
1099
1096
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
1097
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
1098
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
1099
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
1100
1100
|
this.middlewareStack.use(
|
|
1101
1101
|
(0, import_core2.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
1102
|
-
httpAuthSchemeParametersProvider:
|
|
1103
|
-
identityProviderConfigProvider:
|
|
1102
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTimestreamWriteHttpAuthSchemeParametersProvider,
|
|
1103
|
+
identityProviderConfigProvider: async (config) => new import_core2.DefaultIdentityProviderConfig({
|
|
1104
|
+
"aws.auth#sigv4": config.credentials
|
|
1105
|
+
})
|
|
1104
1106
|
})
|
|
1105
1107
|
);
|
|
1106
1108
|
this.middlewareStack.use((0, import_core2.getHttpSigningPlugin)(this.config));
|
|
@@ -1113,14 +1115,6 @@ var _TimestreamWriteClient = class _TimestreamWriteClient extends import_smithy_
|
|
|
1113
1115
|
destroy() {
|
|
1114
1116
|
super.destroy();
|
|
1115
1117
|
}
|
|
1116
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
1117
|
-
return import_httpAuthSchemeProvider.defaultTimestreamWriteHttpAuthSchemeParametersProvider;
|
|
1118
|
-
}
|
|
1119
|
-
getIdentityProviderConfigProvider() {
|
|
1120
|
-
return async (config) => new import_core2.DefaultIdentityProviderConfig({
|
|
1121
|
-
"aws.auth#sigv4": config.credentials
|
|
1122
|
-
});
|
|
1123
|
-
}
|
|
1124
1118
|
};
|
|
1125
1119
|
__name(_TimestreamWriteClient, "TimestreamWriteClient");
|
|
1126
1120
|
var TimestreamWriteClient = _TimestreamWriteClient;
|
|
@@ -1139,7 +1133,11 @@ var _CreateBatchLoadTaskCommand = class _CreateBatchLoadTaskCommand extends impo
|
|
|
1139
1133
|
return [
|
|
1140
1134
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1141
1135
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1142
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1136
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1137
|
+
clientStack: cs,
|
|
1138
|
+
isDiscoveredEndpointRequired: true,
|
|
1139
|
+
options: o
|
|
1140
|
+
})
|
|
1143
1141
|
];
|
|
1144
1142
|
}).s("Timestream_20181101", "CreateBatchLoadTask", {}).n("TimestreamWriteClient", "CreateBatchLoadTaskCommand").f(CreateBatchLoadTaskRequestFilterSensitiveLog, void 0).ser(se_CreateBatchLoadTaskCommand).de(de_CreateBatchLoadTaskCommand).build() {
|
|
1145
1143
|
};
|
|
@@ -1157,7 +1155,11 @@ var _CreateDatabaseCommand = class _CreateDatabaseCommand extends import_smithy_
|
|
|
1157
1155
|
return [
|
|
1158
1156
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1159
1157
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1160
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1158
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1159
|
+
clientStack: cs,
|
|
1160
|
+
isDiscoveredEndpointRequired: true,
|
|
1161
|
+
options: o
|
|
1162
|
+
})
|
|
1161
1163
|
];
|
|
1162
1164
|
}).s("Timestream_20181101", "CreateDatabase", {}).n("TimestreamWriteClient", "CreateDatabaseCommand").f(void 0, void 0).ser(se_CreateDatabaseCommand).de(de_CreateDatabaseCommand).build() {
|
|
1163
1165
|
};
|
|
@@ -1175,7 +1177,11 @@ var _CreateTableCommand = class _CreateTableCommand extends import_smithy_client
|
|
|
1175
1177
|
return [
|
|
1176
1178
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1177
1179
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1178
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1180
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1181
|
+
clientStack: cs,
|
|
1182
|
+
isDiscoveredEndpointRequired: true,
|
|
1183
|
+
options: o
|
|
1184
|
+
})
|
|
1179
1185
|
];
|
|
1180
1186
|
}).s("Timestream_20181101", "CreateTable", {}).n("TimestreamWriteClient", "CreateTableCommand").f(void 0, void 0).ser(se_CreateTableCommand).de(de_CreateTableCommand).build() {
|
|
1181
1187
|
};
|
|
@@ -1193,7 +1199,11 @@ var _DeleteDatabaseCommand = class _DeleteDatabaseCommand extends import_smithy_
|
|
|
1193
1199
|
return [
|
|
1194
1200
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1195
1201
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1196
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1202
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1203
|
+
clientStack: cs,
|
|
1204
|
+
isDiscoveredEndpointRequired: true,
|
|
1205
|
+
options: o
|
|
1206
|
+
})
|
|
1197
1207
|
];
|
|
1198
1208
|
}).s("Timestream_20181101", "DeleteDatabase", {}).n("TimestreamWriteClient", "DeleteDatabaseCommand").f(void 0, void 0).ser(se_DeleteDatabaseCommand).de(de_DeleteDatabaseCommand).build() {
|
|
1199
1209
|
};
|
|
@@ -1211,7 +1221,11 @@ var _DeleteTableCommand = class _DeleteTableCommand extends import_smithy_client
|
|
|
1211
1221
|
return [
|
|
1212
1222
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1213
1223
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1214
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1224
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1225
|
+
clientStack: cs,
|
|
1226
|
+
isDiscoveredEndpointRequired: true,
|
|
1227
|
+
options: o
|
|
1228
|
+
})
|
|
1215
1229
|
];
|
|
1216
1230
|
}).s("Timestream_20181101", "DeleteTable", {}).n("TimestreamWriteClient", "DeleteTableCommand").f(void 0, void 0).ser(se_DeleteTableCommand).de(de_DeleteTableCommand).build() {
|
|
1217
1231
|
};
|
|
@@ -1229,7 +1243,11 @@ var _DescribeBatchLoadTaskCommand = class _DescribeBatchLoadTaskCommand extends
|
|
|
1229
1243
|
return [
|
|
1230
1244
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1231
1245
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1232
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1246
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1247
|
+
clientStack: cs,
|
|
1248
|
+
isDiscoveredEndpointRequired: true,
|
|
1249
|
+
options: o
|
|
1250
|
+
})
|
|
1233
1251
|
];
|
|
1234
1252
|
}).s("Timestream_20181101", "DescribeBatchLoadTask", {}).n("TimestreamWriteClient", "DescribeBatchLoadTaskCommand").f(void 0, void 0).ser(se_DescribeBatchLoadTaskCommand).de(de_DescribeBatchLoadTaskCommand).build() {
|
|
1235
1253
|
};
|
|
@@ -1247,7 +1265,11 @@ var _DescribeDatabaseCommand = class _DescribeDatabaseCommand extends import_smi
|
|
|
1247
1265
|
return [
|
|
1248
1266
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1249
1267
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1250
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1268
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1269
|
+
clientStack: cs,
|
|
1270
|
+
isDiscoveredEndpointRequired: true,
|
|
1271
|
+
options: o
|
|
1272
|
+
})
|
|
1251
1273
|
];
|
|
1252
1274
|
}).s("Timestream_20181101", "DescribeDatabase", {}).n("TimestreamWriteClient", "DescribeDatabaseCommand").f(void 0, void 0).ser(se_DescribeDatabaseCommand).de(de_DescribeDatabaseCommand).build() {
|
|
1253
1275
|
};
|
|
@@ -1265,7 +1287,11 @@ var _DescribeTableCommand = class _DescribeTableCommand extends import_smithy_cl
|
|
|
1265
1287
|
return [
|
|
1266
1288
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1267
1289
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1268
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1290
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1291
|
+
clientStack: cs,
|
|
1292
|
+
isDiscoveredEndpointRequired: true,
|
|
1293
|
+
options: o
|
|
1294
|
+
})
|
|
1269
1295
|
];
|
|
1270
1296
|
}).s("Timestream_20181101", "DescribeTable", {}).n("TimestreamWriteClient", "DescribeTableCommand").f(void 0, void 0).ser(se_DescribeTableCommand).de(de_DescribeTableCommand).build() {
|
|
1271
1297
|
};
|
|
@@ -1283,7 +1309,11 @@ var _ListBatchLoadTasksCommand = class _ListBatchLoadTasksCommand extends import
|
|
|
1283
1309
|
return [
|
|
1284
1310
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1285
1311
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1286
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1312
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1313
|
+
clientStack: cs,
|
|
1314
|
+
isDiscoveredEndpointRequired: true,
|
|
1315
|
+
options: o
|
|
1316
|
+
})
|
|
1287
1317
|
];
|
|
1288
1318
|
}).s("Timestream_20181101", "ListBatchLoadTasks", {}).n("TimestreamWriteClient", "ListBatchLoadTasksCommand").f(void 0, void 0).ser(se_ListBatchLoadTasksCommand).de(de_ListBatchLoadTasksCommand).build() {
|
|
1289
1319
|
};
|
|
@@ -1301,7 +1331,11 @@ var _ListDatabasesCommand = class _ListDatabasesCommand extends import_smithy_cl
|
|
|
1301
1331
|
return [
|
|
1302
1332
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1303
1333
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1304
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1334
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1335
|
+
clientStack: cs,
|
|
1336
|
+
isDiscoveredEndpointRequired: true,
|
|
1337
|
+
options: o
|
|
1338
|
+
})
|
|
1305
1339
|
];
|
|
1306
1340
|
}).s("Timestream_20181101", "ListDatabases", {}).n("TimestreamWriteClient", "ListDatabasesCommand").f(void 0, void 0).ser(se_ListDatabasesCommand).de(de_ListDatabasesCommand).build() {
|
|
1307
1341
|
};
|
|
@@ -1319,7 +1353,11 @@ var _ListTablesCommand = class _ListTablesCommand extends import_smithy_client.C
|
|
|
1319
1353
|
return [
|
|
1320
1354
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1321
1355
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1322
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1356
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1357
|
+
clientStack: cs,
|
|
1358
|
+
isDiscoveredEndpointRequired: true,
|
|
1359
|
+
options: o
|
|
1360
|
+
})
|
|
1323
1361
|
];
|
|
1324
1362
|
}).s("Timestream_20181101", "ListTables", {}).n("TimestreamWriteClient", "ListTablesCommand").f(void 0, void 0).ser(se_ListTablesCommand).de(de_ListTablesCommand).build() {
|
|
1325
1363
|
};
|
|
@@ -1337,7 +1375,11 @@ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends impo
|
|
|
1337
1375
|
return [
|
|
1338
1376
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1339
1377
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1340
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1378
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1379
|
+
clientStack: cs,
|
|
1380
|
+
isDiscoveredEndpointRequired: true,
|
|
1381
|
+
options: o
|
|
1382
|
+
})
|
|
1341
1383
|
];
|
|
1342
1384
|
}).s("Timestream_20181101", "ListTagsForResource", {}).n("TimestreamWriteClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1343
1385
|
};
|
|
@@ -1355,7 +1397,11 @@ var _ResumeBatchLoadTaskCommand = class _ResumeBatchLoadTaskCommand extends impo
|
|
|
1355
1397
|
return [
|
|
1356
1398
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1357
1399
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1358
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1400
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1401
|
+
clientStack: cs,
|
|
1402
|
+
isDiscoveredEndpointRequired: true,
|
|
1403
|
+
options: o
|
|
1404
|
+
})
|
|
1359
1405
|
];
|
|
1360
1406
|
}).s("Timestream_20181101", "ResumeBatchLoadTask", {}).n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand").f(void 0, void 0).ser(se_ResumeBatchLoadTaskCommand).de(de_ResumeBatchLoadTaskCommand).build() {
|
|
1361
1407
|
};
|
|
@@ -1373,7 +1419,11 @@ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client
|
|
|
1373
1419
|
return [
|
|
1374
1420
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1375
1421
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1376
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1422
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1423
|
+
clientStack: cs,
|
|
1424
|
+
isDiscoveredEndpointRequired: true,
|
|
1425
|
+
options: o
|
|
1426
|
+
})
|
|
1377
1427
|
];
|
|
1378
1428
|
}).s("Timestream_20181101", "TagResource", {}).n("TimestreamWriteClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1379
1429
|
};
|
|
@@ -1391,7 +1441,11 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
|
|
|
1391
1441
|
return [
|
|
1392
1442
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1393
1443
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1394
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1444
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1445
|
+
clientStack: cs,
|
|
1446
|
+
isDiscoveredEndpointRequired: true,
|
|
1447
|
+
options: o
|
|
1448
|
+
})
|
|
1395
1449
|
];
|
|
1396
1450
|
}).s("Timestream_20181101", "UntagResource", {}).n("TimestreamWriteClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1397
1451
|
};
|
|
@@ -1409,7 +1463,11 @@ var _UpdateDatabaseCommand = class _UpdateDatabaseCommand extends import_smithy_
|
|
|
1409
1463
|
return [
|
|
1410
1464
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1411
1465
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1412
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1466
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1467
|
+
clientStack: cs,
|
|
1468
|
+
isDiscoveredEndpointRequired: true,
|
|
1469
|
+
options: o
|
|
1470
|
+
})
|
|
1413
1471
|
];
|
|
1414
1472
|
}).s("Timestream_20181101", "UpdateDatabase", {}).n("TimestreamWriteClient", "UpdateDatabaseCommand").f(void 0, void 0).ser(se_UpdateDatabaseCommand).de(de_UpdateDatabaseCommand).build() {
|
|
1415
1473
|
};
|
|
@@ -1427,7 +1485,11 @@ var _UpdateTableCommand = class _UpdateTableCommand extends import_smithy_client
|
|
|
1427
1485
|
return [
|
|
1428
1486
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1429
1487
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1430
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1488
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1489
|
+
clientStack: cs,
|
|
1490
|
+
isDiscoveredEndpointRequired: true,
|
|
1491
|
+
options: o
|
|
1492
|
+
})
|
|
1431
1493
|
];
|
|
1432
1494
|
}).s("Timestream_20181101", "UpdateTable", {}).n("TimestreamWriteClient", "UpdateTableCommand").f(void 0, void 0).ser(se_UpdateTableCommand).de(de_UpdateTableCommand).build() {
|
|
1433
1495
|
};
|
|
@@ -1445,7 +1507,11 @@ var _WriteRecordsCommand = class _WriteRecordsCommand extends import_smithy_clie
|
|
|
1445
1507
|
return [
|
|
1446
1508
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1447
1509
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1448
|
-
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1510
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, {
|
|
1511
|
+
clientStack: cs,
|
|
1512
|
+
isDiscoveredEndpointRequired: true,
|
|
1513
|
+
options: o
|
|
1514
|
+
})
|
|
1449
1515
|
];
|
|
1450
1516
|
}).s("Timestream_20181101", "WriteRecords", {}).n("TimestreamWriteClient", "WriteRecordsCommand").f(void 0, void 0).ser(se_WriteRecordsCommand).de(de_WriteRecordsCommand).build() {
|
|
1451
1517
|
};
|
|
@@ -19,11 +19,11 @@ export class TimestreamWriteClient extends __Client {
|
|
|
19
19
|
constructor(...[configuration]) {
|
|
20
20
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
21
21
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
22
|
-
const _config_2 =
|
|
23
|
-
const _config_3 =
|
|
24
|
-
const _config_4 =
|
|
25
|
-
const _config_5 =
|
|
26
|
-
const _config_6 =
|
|
22
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
23
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
24
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
25
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
26
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
27
27
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
28
28
|
const _config_8 = resolveEndpointDiscoveryConfig(_config_7, {
|
|
29
29
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand,
|
|
@@ -31,27 +31,21 @@ export class TimestreamWriteClient extends __Client {
|
|
|
31
31
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
32
32
|
super(_config_9);
|
|
33
33
|
this.config = _config_9;
|
|
34
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
35
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
36
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
37
34
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
38
35
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
39
36
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
37
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
38
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
39
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
40
40
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
41
|
-
httpAuthSchemeParametersProvider:
|
|
42
|
-
identityProviderConfigProvider:
|
|
41
|
+
httpAuthSchemeParametersProvider: defaultTimestreamWriteHttpAuthSchemeParametersProvider,
|
|
42
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
43
|
+
"aws.auth#sigv4": config.credentials,
|
|
44
|
+
}),
|
|
43
45
|
}));
|
|
44
46
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
45
47
|
}
|
|
46
48
|
destroy() {
|
|
47
49
|
super.destroy();
|
|
48
50
|
}
|
|
49
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
50
|
-
return defaultTimestreamWriteHttpAuthSchemeParametersProvider;
|
|
51
|
-
}
|
|
52
|
-
getIdentityProviderConfigProvider() {
|
|
53
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
54
|
-
"aws.auth#sigv4": config.credentials,
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
51
|
}
|
|
@@ -15,7 +15,11 @@ export class CreateBatchLoadTaskCommand extends $Command
|
|
|
15
15
|
return [
|
|
16
16
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
17
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
getEndpointDiscoveryPlugin(config, {
|
|
19
|
+
clientStack: cs,
|
|
20
|
+
isDiscoveredEndpointRequired: true,
|
|
21
|
+
options: o,
|
|
22
|
+
}),
|
|
19
23
|
];
|
|
20
24
|
})
|
|
21
25
|
.s("Timestream_20181101", "CreateBatchLoadTask", {})
|
|
@@ -14,7 +14,11 @@ export class CreateDatabaseCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "CreateDatabase", {})
|
|
@@ -14,7 +14,11 @@ export class CreateTableCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "CreateTable", {})
|
|
@@ -14,7 +14,11 @@ export class DeleteDatabaseCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "DeleteDatabase", {})
|
|
@@ -14,7 +14,11 @@ export class DeleteTableCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "DeleteTable", {})
|
|
@@ -14,7 +14,11 @@ export class DescribeBatchLoadTaskCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "DescribeBatchLoadTask", {})
|
|
@@ -14,7 +14,11 @@ export class DescribeDatabaseCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "DescribeDatabase", {})
|
|
@@ -14,7 +14,11 @@ export class DescribeTableCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "DescribeTable", {})
|
|
@@ -14,7 +14,11 @@ export class ListBatchLoadTasksCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "ListBatchLoadTasks", {})
|
|
@@ -14,7 +14,11 @@ export class ListDatabasesCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "ListDatabases", {})
|
|
@@ -14,7 +14,11 @@ export class ListTablesCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "ListTables", {})
|
|
@@ -14,7 +14,11 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "ListTagsForResource", {})
|
|
@@ -14,7 +14,11 @@ export class ResumeBatchLoadTaskCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "ResumeBatchLoadTask", {})
|
|
@@ -14,7 +14,11 @@ export class TagResourceCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "TagResource", {})
|
|
@@ -14,7 +14,11 @@ export class UntagResourceCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "UntagResource", {})
|
|
@@ -14,7 +14,11 @@ export class UpdateDatabaseCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "UpdateDatabase", {})
|
|
@@ -14,7 +14,11 @@ export class UpdateTableCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "UpdateTable", {})
|
|
@@ -14,7 +14,11 @@ export class WriteRecordsCommand extends $Command
|
|
|
14
14
|
return [
|
|
15
15
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getEndpointDiscoveryPlugin(config, {
|
|
17
|
+
getEndpointDiscoveryPlugin(config, {
|
|
18
|
+
clientStack: cs,
|
|
19
|
+
isDiscoveredEndpointRequired: true,
|
|
20
|
+
options: o,
|
|
21
|
+
}),
|
|
18
22
|
];
|
|
19
23
|
})
|
|
20
24
|
.s("Timestream_20181101", "WriteRecords", {})
|
|
@@ -157,7 +157,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
157
157
|
/**
|
|
158
158
|
* @public
|
|
159
159
|
*/
|
|
160
|
-
export type TimestreamWriteClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
160
|
+
export type TimestreamWriteClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & EndpointDiscoveryInputConfig & ClientInputEndpointParameters;
|
|
161
161
|
/**
|
|
162
162
|
* @public
|
|
163
163
|
*
|
|
@@ -168,7 +168,7 @@ export interface TimestreamWriteClientConfig extends TimestreamWriteClientConfig
|
|
|
168
168
|
/**
|
|
169
169
|
* @public
|
|
170
170
|
*/
|
|
171
|
-
export type TimestreamWriteClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
171
|
+
export type TimestreamWriteClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & EndpointDiscoveryResolvedConfig & ClientResolvedEndpointParameters;
|
|
172
172
|
/**
|
|
173
173
|
* @public
|
|
174
174
|
*
|
|
@@ -204,6 +204,4 @@ export declare class TimestreamWriteClient extends __Client<__HttpHandlerOptions
|
|
|
204
204
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
205
205
|
*/
|
|
206
206
|
destroy(): void;
|
|
207
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
208
|
-
private getIdentityProviderConfigProvider;
|
|
209
207
|
}
|
|
@@ -30,12 +30,12 @@ export declare const defaultTimestreamWriteHttpAuthSchemeProvider: TimestreamWri
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: TimestreamWriteHttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: TimestreamWriteHttpAuthSchemeProvider;
|
|
@@ -28,13 +28,13 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
28
28
|
serviceId: string;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
32
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
36
|
}) => import("@smithy/types").EndpointV2;
|
|
35
37
|
tls?: boolean | undefined;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamWriteHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -28,13 +28,13 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
28
28
|
serviceId: string;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
32
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
36
|
}) => import("@smithy/types").EndpointV2;
|
|
35
37
|
tls?: boolean | undefined;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamWriteHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
29
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamWriteHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -202,11 +202,11 @@ export type TimestreamWriteClientConfigType = Partial<
|
|
|
202
202
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
203
203
|
> &
|
|
204
204
|
ClientDefaults &
|
|
205
|
-
RegionInputConfig &
|
|
206
|
-
EndpointInputConfig<EndpointParameters> &
|
|
207
|
-
HostHeaderInputConfig &
|
|
208
205
|
UserAgentInputConfig &
|
|
209
206
|
RetryInputConfig &
|
|
207
|
+
RegionInputConfig &
|
|
208
|
+
HostHeaderInputConfig &
|
|
209
|
+
EndpointInputConfig<EndpointParameters> &
|
|
210
210
|
HttpAuthSchemeInputConfig &
|
|
211
211
|
EndpointDiscoveryInputConfig &
|
|
212
212
|
ClientInputEndpointParameters;
|
|
@@ -216,11 +216,11 @@ export type TimestreamWriteClientResolvedConfigType =
|
|
|
216
216
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
217
217
|
Required<ClientDefaults> &
|
|
218
218
|
RuntimeExtensionsConfig &
|
|
219
|
-
RegionResolvedConfig &
|
|
220
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
221
|
-
HostHeaderResolvedConfig &
|
|
222
219
|
UserAgentResolvedConfig &
|
|
223
220
|
RetryResolvedConfig &
|
|
221
|
+
RegionResolvedConfig &
|
|
222
|
+
HostHeaderResolvedConfig &
|
|
223
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
224
224
|
HttpAuthSchemeResolvedConfig &
|
|
225
225
|
EndpointDiscoveryResolvedConfig &
|
|
226
226
|
ClientResolvedEndpointParameters;
|
|
@@ -237,6 +237,4 @@ export declare class TimestreamWriteClient extends __Client<
|
|
|
237
237
|
...[configuration]: __CheckOptionalClientConfig<TimestreamWriteClientConfig>
|
|
238
238
|
);
|
|
239
239
|
destroy(): void;
|
|
240
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
241
|
-
private getIdentityProviderConfigProvider;
|
|
242
240
|
}
|
|
@@ -37,6 +37,11 @@ export declare const getRuntimeConfig: (
|
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?:
|
|
42
|
+
| import("@smithy/types").RetryStrategy
|
|
43
|
+
| import("@smithy/types").RetryStrategyV2
|
|
44
|
+
| undefined;
|
|
40
45
|
endpoint?:
|
|
41
46
|
| ((
|
|
42
47
|
| string
|
|
@@ -61,11 +66,6 @@ export declare const getRuntimeConfig: (
|
|
|
61
66
|
}
|
|
62
67
|
) => import("@smithy/types").EndpointV2;
|
|
63
68
|
tls?: boolean | undefined;
|
|
64
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
65
|
-
retryStrategy?:
|
|
66
|
-
| import("@smithy/types").RetryStrategy
|
|
67
|
-
| import("@smithy/types").RetryStrategyV2
|
|
68
|
-
| undefined;
|
|
69
69
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
70
70
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamWriteHttpAuthSchemeProvider;
|
|
71
71
|
credentials?:
|
|
@@ -41,6 +41,11 @@ export declare const getRuntimeConfig: (
|
|
|
41
41
|
serviceId: string;
|
|
42
42
|
logger: import("@smithy/types").Logger;
|
|
43
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
44
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
|
+
retryStrategy?:
|
|
46
|
+
| import("@smithy/types").RetryStrategy
|
|
47
|
+
| import("@smithy/types").RetryStrategyV2
|
|
48
|
+
| undefined;
|
|
44
49
|
endpoint?:
|
|
45
50
|
| ((
|
|
46
51
|
| string
|
|
@@ -65,11 +70,6 @@ export declare const getRuntimeConfig: (
|
|
|
65
70
|
}
|
|
66
71
|
) => import("@smithy/types").EndpointV2;
|
|
67
72
|
tls?: boolean | undefined;
|
|
68
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
69
|
-
retryStrategy?:
|
|
70
|
-
| import("@smithy/types").RetryStrategy
|
|
71
|
-
| import("@smithy/types").RetryStrategyV2
|
|
72
|
-
| undefined;
|
|
73
73
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
74
74
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamWriteHttpAuthSchemeProvider;
|
|
75
75
|
credentials?:
|
|
@@ -41,6 +41,11 @@ export declare const getRuntimeConfig: (
|
|
|
41
41
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
|
|
42
42
|
boolean | undefined
|
|
43
43
|
>;
|
|
44
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
|
+
retryStrategy?:
|
|
46
|
+
| import("@smithy/types").RetryStrategy
|
|
47
|
+
| import("@smithy/types").RetryStrategyV2
|
|
48
|
+
| undefined;
|
|
44
49
|
endpoint?:
|
|
45
50
|
| string
|
|
46
51
|
| import("@smithy/types").Endpoint
|
|
@@ -55,11 +60,6 @@ export declare const getRuntimeConfig: (
|
|
|
55
60
|
}
|
|
56
61
|
) => import("@smithy/types").EndpointV2;
|
|
57
62
|
tls?: boolean | undefined;
|
|
58
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
59
|
-
retryStrategy?:
|
|
60
|
-
| import("@smithy/types").RetryStrategy
|
|
61
|
-
| import("@smithy/types").RetryStrategyV2
|
|
62
|
-
| undefined;
|
|
63
63
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
64
64
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamWriteHttpAuthSchemeProvider;
|
|
65
65
|
credentials?:
|
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.
|
|
4
|
+
"version": "3.622.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-timestream-write",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.622.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.622.0",
|
|
25
|
+
"@aws-sdk/core": "3.622.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.622.0",
|
|
27
27
|
"@aws-sdk/middleware-endpoint-discovery": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.5",
|
|
38
|
-
"@smithy/core": "^2.3.
|
|
39
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
38
|
+
"@smithy/core": "^2.3.2",
|
|
39
|
+
"@smithy/fetch-http-handler": "^3.2.4",
|
|
40
40
|
"@smithy/hash-node": "^3.0.3",
|
|
41
41
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
42
42
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
43
43
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
45
45
|
"@smithy/middleware-serde": "^3.0.3",
|
|
46
46
|
"@smithy/middleware-stack": "^3.0.3",
|
|
47
47
|
"@smithy/node-config-provider": "^3.1.4",
|
|
48
48
|
"@smithy/node-http-handler": "^3.1.4",
|
|
49
49
|
"@smithy/protocol-http": "^4.1.0",
|
|
50
|
-
"@smithy/smithy-client": "^3.1.
|
|
50
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
51
51
|
"@smithy/types": "^3.3.0",
|
|
52
52
|
"@smithy/url-parser": "^3.0.3",
|
|
53
53
|
"@smithy/util-base64": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^3.0.14",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^3.0.14",
|
|
58
58
|
"@smithy/util-endpoints": "^2.0.5",
|
|
59
59
|
"@smithy/util-middleware": "^3.0.3",
|
|
60
60
|
"@smithy/util-retry": "^3.0.3",
|