@aws-sdk/client-timestream-write 3.721.0 → 3.723.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 +162 -112
- package/dist-es/TimestreamWriteClient.js +1 -0
- package/dist-es/models/models_0.js +28 -18
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +44 -44
package/dist-cjs/index.js
CHANGED
|
@@ -116,7 +116,10 @@ var import_uuid = require("uuid");
|
|
|
116
116
|
|
|
117
117
|
// src/models/TimestreamWriteServiceException.ts
|
|
118
118
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
119
|
-
var
|
|
119
|
+
var TimestreamWriteServiceException = class _TimestreamWriteServiceException extends import_smithy_client.ServiceException {
|
|
120
|
+
static {
|
|
121
|
+
__name(this, "TimestreamWriteServiceException");
|
|
122
|
+
}
|
|
120
123
|
/**
|
|
121
124
|
* @internal
|
|
122
125
|
*/
|
|
@@ -125,11 +128,15 @@ var _TimestreamWriteServiceException = class _TimestreamWriteServiceException ex
|
|
|
125
128
|
Object.setPrototypeOf(this, _TimestreamWriteServiceException.prototype);
|
|
126
129
|
}
|
|
127
130
|
};
|
|
128
|
-
__name(_TimestreamWriteServiceException, "TimestreamWriteServiceException");
|
|
129
|
-
var TimestreamWriteServiceException = _TimestreamWriteServiceException;
|
|
130
131
|
|
|
131
132
|
// src/models/models_0.ts
|
|
132
|
-
var
|
|
133
|
+
var AccessDeniedException = class _AccessDeniedException extends TimestreamWriteServiceException {
|
|
134
|
+
static {
|
|
135
|
+
__name(this, "AccessDeniedException");
|
|
136
|
+
}
|
|
137
|
+
name = "AccessDeniedException";
|
|
138
|
+
$fault = "client";
|
|
139
|
+
Message;
|
|
133
140
|
/**
|
|
134
141
|
* @internal
|
|
135
142
|
*/
|
|
@@ -139,14 +146,10 @@ var _AccessDeniedException = class _AccessDeniedException extends TimestreamWrit
|
|
|
139
146
|
$fault: "client",
|
|
140
147
|
...opts
|
|
141
148
|
});
|
|
142
|
-
this.name = "AccessDeniedException";
|
|
143
|
-
this.$fault = "client";
|
|
144
149
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
145
150
|
this.Message = opts.Message;
|
|
146
151
|
}
|
|
147
152
|
};
|
|
148
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
|
149
|
-
var AccessDeniedException = _AccessDeniedException;
|
|
150
153
|
var BatchLoadDataFormat = {
|
|
151
154
|
CSV: "CSV"
|
|
152
155
|
};
|
|
@@ -183,7 +186,13 @@ var S3EncryptionOption = {
|
|
|
183
186
|
SSE_KMS: "SSE_KMS",
|
|
184
187
|
SSE_S3: "SSE_S3"
|
|
185
188
|
};
|
|
186
|
-
var
|
|
189
|
+
var ConflictException = class _ConflictException extends TimestreamWriteServiceException {
|
|
190
|
+
static {
|
|
191
|
+
__name(this, "ConflictException");
|
|
192
|
+
}
|
|
193
|
+
name = "ConflictException";
|
|
194
|
+
$fault = "client";
|
|
195
|
+
Message;
|
|
187
196
|
/**
|
|
188
197
|
* @internal
|
|
189
198
|
*/
|
|
@@ -193,15 +202,17 @@ var _ConflictException = class _ConflictException extends TimestreamWriteService
|
|
|
193
202
|
$fault: "client",
|
|
194
203
|
...opts
|
|
195
204
|
});
|
|
196
|
-
this.name = "ConflictException";
|
|
197
|
-
this.$fault = "client";
|
|
198
205
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
199
206
|
this.Message = opts.Message;
|
|
200
207
|
}
|
|
201
208
|
};
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
209
|
+
var InternalServerException = class _InternalServerException extends TimestreamWriteServiceException {
|
|
210
|
+
static {
|
|
211
|
+
__name(this, "InternalServerException");
|
|
212
|
+
}
|
|
213
|
+
name = "InternalServerException";
|
|
214
|
+
$fault = "server";
|
|
215
|
+
Message;
|
|
205
216
|
/**
|
|
206
217
|
* @internal
|
|
207
218
|
*/
|
|
@@ -211,15 +222,17 @@ var _InternalServerException = class _InternalServerException extends Timestream
|
|
|
211
222
|
$fault: "server",
|
|
212
223
|
...opts
|
|
213
224
|
});
|
|
214
|
-
this.name = "InternalServerException";
|
|
215
|
-
this.$fault = "server";
|
|
216
225
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
217
226
|
this.Message = opts.Message;
|
|
218
227
|
}
|
|
219
228
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
229
|
+
var InvalidEndpointException = class _InvalidEndpointException extends TimestreamWriteServiceException {
|
|
230
|
+
static {
|
|
231
|
+
__name(this, "InvalidEndpointException");
|
|
232
|
+
}
|
|
233
|
+
name = "InvalidEndpointException";
|
|
234
|
+
$fault = "client";
|
|
235
|
+
Message;
|
|
223
236
|
/**
|
|
224
237
|
* @internal
|
|
225
238
|
*/
|
|
@@ -229,15 +242,17 @@ var _InvalidEndpointException = class _InvalidEndpointException extends Timestre
|
|
|
229
242
|
$fault: "client",
|
|
230
243
|
...opts
|
|
231
244
|
});
|
|
232
|
-
this.name = "InvalidEndpointException";
|
|
233
|
-
this.$fault = "client";
|
|
234
245
|
Object.setPrototypeOf(this, _InvalidEndpointException.prototype);
|
|
235
246
|
this.Message = opts.Message;
|
|
236
247
|
}
|
|
237
248
|
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
249
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends TimestreamWriteServiceException {
|
|
250
|
+
static {
|
|
251
|
+
__name(this, "ResourceNotFoundException");
|
|
252
|
+
}
|
|
253
|
+
name = "ResourceNotFoundException";
|
|
254
|
+
$fault = "client";
|
|
255
|
+
Message;
|
|
241
256
|
/**
|
|
242
257
|
* @internal
|
|
243
258
|
*/
|
|
@@ -247,15 +262,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Timest
|
|
|
247
262
|
$fault: "client",
|
|
248
263
|
...opts
|
|
249
264
|
});
|
|
250
|
-
this.name = "ResourceNotFoundException";
|
|
251
|
-
this.$fault = "client";
|
|
252
265
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
253
266
|
this.Message = opts.Message;
|
|
254
267
|
}
|
|
255
268
|
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
269
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TimestreamWriteServiceException {
|
|
270
|
+
static {
|
|
271
|
+
__name(this, "ServiceQuotaExceededException");
|
|
272
|
+
}
|
|
273
|
+
name = "ServiceQuotaExceededException";
|
|
274
|
+
$fault = "client";
|
|
275
|
+
Message;
|
|
259
276
|
/**
|
|
260
277
|
* @internal
|
|
261
278
|
*/
|
|
@@ -265,15 +282,17 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
265
282
|
$fault: "client",
|
|
266
283
|
...opts
|
|
267
284
|
});
|
|
268
|
-
this.name = "ServiceQuotaExceededException";
|
|
269
|
-
this.$fault = "client";
|
|
270
285
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
271
286
|
this.Message = opts.Message;
|
|
272
287
|
}
|
|
273
288
|
};
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
289
|
+
var ThrottlingException = class _ThrottlingException extends TimestreamWriteServiceException {
|
|
290
|
+
static {
|
|
291
|
+
__name(this, "ThrottlingException");
|
|
292
|
+
}
|
|
293
|
+
name = "ThrottlingException";
|
|
294
|
+
$fault = "client";
|
|
295
|
+
Message;
|
|
277
296
|
/**
|
|
278
297
|
* @internal
|
|
279
298
|
*/
|
|
@@ -283,15 +302,17 @@ var _ThrottlingException = class _ThrottlingException extends TimestreamWriteSer
|
|
|
283
302
|
$fault: "client",
|
|
284
303
|
...opts
|
|
285
304
|
});
|
|
286
|
-
this.name = "ThrottlingException";
|
|
287
|
-
this.$fault = "client";
|
|
288
305
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
289
306
|
this.Message = opts.Message;
|
|
290
307
|
}
|
|
291
308
|
};
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
309
|
+
var ValidationException = class _ValidationException extends TimestreamWriteServiceException {
|
|
310
|
+
static {
|
|
311
|
+
__name(this, "ValidationException");
|
|
312
|
+
}
|
|
313
|
+
name = "ValidationException";
|
|
314
|
+
$fault = "client";
|
|
315
|
+
Message;
|
|
295
316
|
/**
|
|
296
317
|
* @internal
|
|
297
318
|
*/
|
|
@@ -301,14 +322,10 @@ var _ValidationException = class _ValidationException extends TimestreamWriteSer
|
|
|
301
322
|
$fault: "client",
|
|
302
323
|
...opts
|
|
303
324
|
});
|
|
304
|
-
this.name = "ValidationException";
|
|
305
|
-
this.$fault = "client";
|
|
306
325
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
307
326
|
this.Message = opts.Message;
|
|
308
327
|
}
|
|
309
328
|
};
|
|
310
|
-
__name(_ValidationException, "ValidationException");
|
|
311
|
-
var ValidationException = _ValidationException;
|
|
312
329
|
var PartitionKeyEnforcementLevel = {
|
|
313
330
|
OPTIONAL: "OPTIONAL",
|
|
314
331
|
REQUIRED: "REQUIRED"
|
|
@@ -325,7 +342,19 @@ var TableStatus = {
|
|
|
325
342
|
var DimensionValueType = {
|
|
326
343
|
VARCHAR: "VARCHAR"
|
|
327
344
|
};
|
|
328
|
-
var
|
|
345
|
+
var RejectedRecordsException = class _RejectedRecordsException extends TimestreamWriteServiceException {
|
|
346
|
+
static {
|
|
347
|
+
__name(this, "RejectedRecordsException");
|
|
348
|
+
}
|
|
349
|
+
name = "RejectedRecordsException";
|
|
350
|
+
$fault = "client";
|
|
351
|
+
Message;
|
|
352
|
+
/**
|
|
353
|
+
* <p>
|
|
354
|
+
* </p>
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
RejectedRecords;
|
|
329
358
|
/**
|
|
330
359
|
* @internal
|
|
331
360
|
*/
|
|
@@ -335,15 +364,11 @@ var _RejectedRecordsException = class _RejectedRecordsException extends Timestre
|
|
|
335
364
|
$fault: "client",
|
|
336
365
|
...opts
|
|
337
366
|
});
|
|
338
|
-
this.name = "RejectedRecordsException";
|
|
339
|
-
this.$fault = "client";
|
|
340
367
|
Object.setPrototypeOf(this, _RejectedRecordsException.prototype);
|
|
341
368
|
this.Message = opts.Message;
|
|
342
369
|
this.RejectedRecords = opts.RejectedRecords;
|
|
343
370
|
}
|
|
344
371
|
};
|
|
345
|
-
__name(_RejectedRecordsException, "RejectedRecordsException");
|
|
346
|
-
var RejectedRecordsException = _RejectedRecordsException;
|
|
347
372
|
var CreateBatchLoadTaskRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
348
373
|
...obj,
|
|
349
374
|
...obj.ClientToken && { ClientToken: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -996,15 +1021,16 @@ function sharedHeaders(operation) {
|
|
|
996
1021
|
__name(sharedHeaders, "sharedHeaders");
|
|
997
1022
|
|
|
998
1023
|
// src/commands/DescribeEndpointsCommand.ts
|
|
999
|
-
var
|
|
1024
|
+
var DescribeEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1000
1025
|
return [
|
|
1001
1026
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1002
1027
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1003
1028
|
];
|
|
1004
1029
|
}).s("Timestream_20181101", "DescribeEndpoints", {}).n("TimestreamWriteClient", "DescribeEndpointsCommand").f(void 0, void 0).ser(se_DescribeEndpointsCommand).de(de_DescribeEndpointsCommand).build() {
|
|
1030
|
+
static {
|
|
1031
|
+
__name(this, "DescribeEndpointsCommand");
|
|
1032
|
+
}
|
|
1005
1033
|
};
|
|
1006
|
-
__name(_DescribeEndpointsCommand, "DescribeEndpointsCommand");
|
|
1007
|
-
var DescribeEndpointsCommand = _DescribeEndpointsCommand;
|
|
1008
1034
|
|
|
1009
1035
|
// src/TimestreamWriteClient.ts
|
|
1010
1036
|
var import_runtimeConfig = require("././runtimeConfig");
|
|
@@ -1073,7 +1099,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
1073
1099
|
}, "resolveRuntimeExtensions");
|
|
1074
1100
|
|
|
1075
1101
|
// src/TimestreamWriteClient.ts
|
|
1076
|
-
var
|
|
1102
|
+
var TimestreamWriteClient = class extends import_smithy_client.Client {
|
|
1103
|
+
static {
|
|
1104
|
+
__name(this, "TimestreamWriteClient");
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* The resolved configuration of TimestreamWriteClient class. This is resolved and normalized from the {@link TimestreamWriteClientConfig | constructor configuration interface}.
|
|
1108
|
+
*/
|
|
1109
|
+
config;
|
|
1077
1110
|
constructor(...[configuration]) {
|
|
1078
1111
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
1079
1112
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1086,7 +1119,7 @@ var _TimestreamWriteClient = class _TimestreamWriteClient extends import_smithy_
|
|
|
1086
1119
|
const _config_8 = (0, import_middleware_endpoint_discovery.resolveEndpointDiscoveryConfig)(_config_7, {
|
|
1087
1120
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand
|
|
1088
1121
|
});
|
|
1089
|
-
const _config_9 = resolveRuntimeExtensions(_config_8,
|
|
1122
|
+
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
1090
1123
|
super(_config_9);
|
|
1091
1124
|
this.config = _config_9;
|
|
1092
1125
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -1114,8 +1147,6 @@ var _TimestreamWriteClient = class _TimestreamWriteClient extends import_smithy_
|
|
|
1114
1147
|
super.destroy();
|
|
1115
1148
|
}
|
|
1116
1149
|
};
|
|
1117
|
-
__name(_TimestreamWriteClient, "TimestreamWriteClient");
|
|
1118
|
-
var TimestreamWriteClient = _TimestreamWriteClient;
|
|
1119
1150
|
|
|
1120
1151
|
// src/TimestreamWrite.ts
|
|
1121
1152
|
|
|
@@ -1125,7 +1156,7 @@ var TimestreamWriteClient = _TimestreamWriteClient;
|
|
|
1125
1156
|
|
|
1126
1157
|
|
|
1127
1158
|
|
|
1128
|
-
var
|
|
1159
|
+
var CreateBatchLoadTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1129
1160
|
return [
|
|
1130
1161
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1131
1162
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1136,16 +1167,17 @@ var _CreateBatchLoadTaskCommand = class _CreateBatchLoadTaskCommand extends impo
|
|
|
1136
1167
|
})
|
|
1137
1168
|
];
|
|
1138
1169
|
}).s("Timestream_20181101", "CreateBatchLoadTask", {}).n("TimestreamWriteClient", "CreateBatchLoadTaskCommand").f(CreateBatchLoadTaskRequestFilterSensitiveLog, void 0).ser(se_CreateBatchLoadTaskCommand).de(de_CreateBatchLoadTaskCommand).build() {
|
|
1170
|
+
static {
|
|
1171
|
+
__name(this, "CreateBatchLoadTaskCommand");
|
|
1172
|
+
}
|
|
1139
1173
|
};
|
|
1140
|
-
__name(_CreateBatchLoadTaskCommand, "CreateBatchLoadTaskCommand");
|
|
1141
|
-
var CreateBatchLoadTaskCommand = _CreateBatchLoadTaskCommand;
|
|
1142
1174
|
|
|
1143
1175
|
// src/commands/CreateDatabaseCommand.ts
|
|
1144
1176
|
|
|
1145
1177
|
|
|
1146
1178
|
|
|
1147
1179
|
|
|
1148
|
-
var
|
|
1180
|
+
var CreateDatabaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1149
1181
|
return [
|
|
1150
1182
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1151
1183
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1156,16 +1188,17 @@ var _CreateDatabaseCommand = class _CreateDatabaseCommand extends import_smithy_
|
|
|
1156
1188
|
})
|
|
1157
1189
|
];
|
|
1158
1190
|
}).s("Timestream_20181101", "CreateDatabase", {}).n("TimestreamWriteClient", "CreateDatabaseCommand").f(void 0, void 0).ser(se_CreateDatabaseCommand).de(de_CreateDatabaseCommand).build() {
|
|
1191
|
+
static {
|
|
1192
|
+
__name(this, "CreateDatabaseCommand");
|
|
1193
|
+
}
|
|
1159
1194
|
};
|
|
1160
|
-
__name(_CreateDatabaseCommand, "CreateDatabaseCommand");
|
|
1161
|
-
var CreateDatabaseCommand = _CreateDatabaseCommand;
|
|
1162
1195
|
|
|
1163
1196
|
// src/commands/CreateTableCommand.ts
|
|
1164
1197
|
|
|
1165
1198
|
|
|
1166
1199
|
|
|
1167
1200
|
|
|
1168
|
-
var
|
|
1201
|
+
var CreateTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1169
1202
|
return [
|
|
1170
1203
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1171
1204
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1176,16 +1209,17 @@ var _CreateTableCommand = class _CreateTableCommand extends import_smithy_client
|
|
|
1176
1209
|
})
|
|
1177
1210
|
];
|
|
1178
1211
|
}).s("Timestream_20181101", "CreateTable", {}).n("TimestreamWriteClient", "CreateTableCommand").f(void 0, void 0).ser(se_CreateTableCommand).de(de_CreateTableCommand).build() {
|
|
1212
|
+
static {
|
|
1213
|
+
__name(this, "CreateTableCommand");
|
|
1214
|
+
}
|
|
1179
1215
|
};
|
|
1180
|
-
__name(_CreateTableCommand, "CreateTableCommand");
|
|
1181
|
-
var CreateTableCommand = _CreateTableCommand;
|
|
1182
1216
|
|
|
1183
1217
|
// src/commands/DeleteDatabaseCommand.ts
|
|
1184
1218
|
|
|
1185
1219
|
|
|
1186
1220
|
|
|
1187
1221
|
|
|
1188
|
-
var
|
|
1222
|
+
var DeleteDatabaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1189
1223
|
return [
|
|
1190
1224
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1191
1225
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1196,16 +1230,17 @@ var _DeleteDatabaseCommand = class _DeleteDatabaseCommand extends import_smithy_
|
|
|
1196
1230
|
})
|
|
1197
1231
|
];
|
|
1198
1232
|
}).s("Timestream_20181101", "DeleteDatabase", {}).n("TimestreamWriteClient", "DeleteDatabaseCommand").f(void 0, void 0).ser(se_DeleteDatabaseCommand).de(de_DeleteDatabaseCommand).build() {
|
|
1233
|
+
static {
|
|
1234
|
+
__name(this, "DeleteDatabaseCommand");
|
|
1235
|
+
}
|
|
1199
1236
|
};
|
|
1200
|
-
__name(_DeleteDatabaseCommand, "DeleteDatabaseCommand");
|
|
1201
|
-
var DeleteDatabaseCommand = _DeleteDatabaseCommand;
|
|
1202
1237
|
|
|
1203
1238
|
// src/commands/DeleteTableCommand.ts
|
|
1204
1239
|
|
|
1205
1240
|
|
|
1206
1241
|
|
|
1207
1242
|
|
|
1208
|
-
var
|
|
1243
|
+
var DeleteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1209
1244
|
return [
|
|
1210
1245
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1211
1246
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1216,16 +1251,17 @@ var _DeleteTableCommand = class _DeleteTableCommand extends import_smithy_client
|
|
|
1216
1251
|
})
|
|
1217
1252
|
];
|
|
1218
1253
|
}).s("Timestream_20181101", "DeleteTable", {}).n("TimestreamWriteClient", "DeleteTableCommand").f(void 0, void 0).ser(se_DeleteTableCommand).de(de_DeleteTableCommand).build() {
|
|
1254
|
+
static {
|
|
1255
|
+
__name(this, "DeleteTableCommand");
|
|
1256
|
+
}
|
|
1219
1257
|
};
|
|
1220
|
-
__name(_DeleteTableCommand, "DeleteTableCommand");
|
|
1221
|
-
var DeleteTableCommand = _DeleteTableCommand;
|
|
1222
1258
|
|
|
1223
1259
|
// src/commands/DescribeBatchLoadTaskCommand.ts
|
|
1224
1260
|
|
|
1225
1261
|
|
|
1226
1262
|
|
|
1227
1263
|
|
|
1228
|
-
var
|
|
1264
|
+
var DescribeBatchLoadTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1229
1265
|
return [
|
|
1230
1266
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1231
1267
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1236,16 +1272,17 @@ var _DescribeBatchLoadTaskCommand = class _DescribeBatchLoadTaskCommand extends
|
|
|
1236
1272
|
})
|
|
1237
1273
|
];
|
|
1238
1274
|
}).s("Timestream_20181101", "DescribeBatchLoadTask", {}).n("TimestreamWriteClient", "DescribeBatchLoadTaskCommand").f(void 0, void 0).ser(se_DescribeBatchLoadTaskCommand).de(de_DescribeBatchLoadTaskCommand).build() {
|
|
1275
|
+
static {
|
|
1276
|
+
__name(this, "DescribeBatchLoadTaskCommand");
|
|
1277
|
+
}
|
|
1239
1278
|
};
|
|
1240
|
-
__name(_DescribeBatchLoadTaskCommand, "DescribeBatchLoadTaskCommand");
|
|
1241
|
-
var DescribeBatchLoadTaskCommand = _DescribeBatchLoadTaskCommand;
|
|
1242
1279
|
|
|
1243
1280
|
// src/commands/DescribeDatabaseCommand.ts
|
|
1244
1281
|
|
|
1245
1282
|
|
|
1246
1283
|
|
|
1247
1284
|
|
|
1248
|
-
var
|
|
1285
|
+
var DescribeDatabaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1249
1286
|
return [
|
|
1250
1287
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1251
1288
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1256,16 +1293,17 @@ var _DescribeDatabaseCommand = class _DescribeDatabaseCommand extends import_smi
|
|
|
1256
1293
|
})
|
|
1257
1294
|
];
|
|
1258
1295
|
}).s("Timestream_20181101", "DescribeDatabase", {}).n("TimestreamWriteClient", "DescribeDatabaseCommand").f(void 0, void 0).ser(se_DescribeDatabaseCommand).de(de_DescribeDatabaseCommand).build() {
|
|
1296
|
+
static {
|
|
1297
|
+
__name(this, "DescribeDatabaseCommand");
|
|
1298
|
+
}
|
|
1259
1299
|
};
|
|
1260
|
-
__name(_DescribeDatabaseCommand, "DescribeDatabaseCommand");
|
|
1261
|
-
var DescribeDatabaseCommand = _DescribeDatabaseCommand;
|
|
1262
1300
|
|
|
1263
1301
|
// src/commands/DescribeTableCommand.ts
|
|
1264
1302
|
|
|
1265
1303
|
|
|
1266
1304
|
|
|
1267
1305
|
|
|
1268
|
-
var
|
|
1306
|
+
var DescribeTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1269
1307
|
return [
|
|
1270
1308
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1271
1309
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1276,16 +1314,17 @@ var _DescribeTableCommand = class _DescribeTableCommand extends import_smithy_cl
|
|
|
1276
1314
|
})
|
|
1277
1315
|
];
|
|
1278
1316
|
}).s("Timestream_20181101", "DescribeTable", {}).n("TimestreamWriteClient", "DescribeTableCommand").f(void 0, void 0).ser(se_DescribeTableCommand).de(de_DescribeTableCommand).build() {
|
|
1317
|
+
static {
|
|
1318
|
+
__name(this, "DescribeTableCommand");
|
|
1319
|
+
}
|
|
1279
1320
|
};
|
|
1280
|
-
__name(_DescribeTableCommand, "DescribeTableCommand");
|
|
1281
|
-
var DescribeTableCommand = _DescribeTableCommand;
|
|
1282
1321
|
|
|
1283
1322
|
// src/commands/ListBatchLoadTasksCommand.ts
|
|
1284
1323
|
|
|
1285
1324
|
|
|
1286
1325
|
|
|
1287
1326
|
|
|
1288
|
-
var
|
|
1327
|
+
var ListBatchLoadTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1289
1328
|
return [
|
|
1290
1329
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1291
1330
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1296,16 +1335,17 @@ var _ListBatchLoadTasksCommand = class _ListBatchLoadTasksCommand extends import
|
|
|
1296
1335
|
})
|
|
1297
1336
|
];
|
|
1298
1337
|
}).s("Timestream_20181101", "ListBatchLoadTasks", {}).n("TimestreamWriteClient", "ListBatchLoadTasksCommand").f(void 0, void 0).ser(se_ListBatchLoadTasksCommand).de(de_ListBatchLoadTasksCommand).build() {
|
|
1338
|
+
static {
|
|
1339
|
+
__name(this, "ListBatchLoadTasksCommand");
|
|
1340
|
+
}
|
|
1299
1341
|
};
|
|
1300
|
-
__name(_ListBatchLoadTasksCommand, "ListBatchLoadTasksCommand");
|
|
1301
|
-
var ListBatchLoadTasksCommand = _ListBatchLoadTasksCommand;
|
|
1302
1342
|
|
|
1303
1343
|
// src/commands/ListDatabasesCommand.ts
|
|
1304
1344
|
|
|
1305
1345
|
|
|
1306
1346
|
|
|
1307
1347
|
|
|
1308
|
-
var
|
|
1348
|
+
var ListDatabasesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1309
1349
|
return [
|
|
1310
1350
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1311
1351
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1316,16 +1356,17 @@ var _ListDatabasesCommand = class _ListDatabasesCommand extends import_smithy_cl
|
|
|
1316
1356
|
})
|
|
1317
1357
|
];
|
|
1318
1358
|
}).s("Timestream_20181101", "ListDatabases", {}).n("TimestreamWriteClient", "ListDatabasesCommand").f(void 0, void 0).ser(se_ListDatabasesCommand).de(de_ListDatabasesCommand).build() {
|
|
1359
|
+
static {
|
|
1360
|
+
__name(this, "ListDatabasesCommand");
|
|
1361
|
+
}
|
|
1319
1362
|
};
|
|
1320
|
-
__name(_ListDatabasesCommand, "ListDatabasesCommand");
|
|
1321
|
-
var ListDatabasesCommand = _ListDatabasesCommand;
|
|
1322
1363
|
|
|
1323
1364
|
// src/commands/ListTablesCommand.ts
|
|
1324
1365
|
|
|
1325
1366
|
|
|
1326
1367
|
|
|
1327
1368
|
|
|
1328
|
-
var
|
|
1369
|
+
var ListTablesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1329
1370
|
return [
|
|
1330
1371
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1331
1372
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1336,16 +1377,17 @@ var _ListTablesCommand = class _ListTablesCommand extends import_smithy_client.C
|
|
|
1336
1377
|
})
|
|
1337
1378
|
];
|
|
1338
1379
|
}).s("Timestream_20181101", "ListTables", {}).n("TimestreamWriteClient", "ListTablesCommand").f(void 0, void 0).ser(se_ListTablesCommand).de(de_ListTablesCommand).build() {
|
|
1380
|
+
static {
|
|
1381
|
+
__name(this, "ListTablesCommand");
|
|
1382
|
+
}
|
|
1339
1383
|
};
|
|
1340
|
-
__name(_ListTablesCommand, "ListTablesCommand");
|
|
1341
|
-
var ListTablesCommand = _ListTablesCommand;
|
|
1342
1384
|
|
|
1343
1385
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1344
1386
|
|
|
1345
1387
|
|
|
1346
1388
|
|
|
1347
1389
|
|
|
1348
|
-
var
|
|
1390
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1349
1391
|
return [
|
|
1350
1392
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1351
1393
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1356,16 +1398,17 @@ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends impo
|
|
|
1356
1398
|
})
|
|
1357
1399
|
];
|
|
1358
1400
|
}).s("Timestream_20181101", "ListTagsForResource", {}).n("TimestreamWriteClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1401
|
+
static {
|
|
1402
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1403
|
+
}
|
|
1359
1404
|
};
|
|
1360
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1361
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1362
1405
|
|
|
1363
1406
|
// src/commands/ResumeBatchLoadTaskCommand.ts
|
|
1364
1407
|
|
|
1365
1408
|
|
|
1366
1409
|
|
|
1367
1410
|
|
|
1368
|
-
var
|
|
1411
|
+
var ResumeBatchLoadTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1369
1412
|
return [
|
|
1370
1413
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1371
1414
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1376,16 +1419,17 @@ var _ResumeBatchLoadTaskCommand = class _ResumeBatchLoadTaskCommand extends impo
|
|
|
1376
1419
|
})
|
|
1377
1420
|
];
|
|
1378
1421
|
}).s("Timestream_20181101", "ResumeBatchLoadTask", {}).n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand").f(void 0, void 0).ser(se_ResumeBatchLoadTaskCommand).de(de_ResumeBatchLoadTaskCommand).build() {
|
|
1422
|
+
static {
|
|
1423
|
+
__name(this, "ResumeBatchLoadTaskCommand");
|
|
1424
|
+
}
|
|
1379
1425
|
};
|
|
1380
|
-
__name(_ResumeBatchLoadTaskCommand, "ResumeBatchLoadTaskCommand");
|
|
1381
|
-
var ResumeBatchLoadTaskCommand = _ResumeBatchLoadTaskCommand;
|
|
1382
1426
|
|
|
1383
1427
|
// src/commands/TagResourceCommand.ts
|
|
1384
1428
|
|
|
1385
1429
|
|
|
1386
1430
|
|
|
1387
1431
|
|
|
1388
|
-
var
|
|
1432
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1389
1433
|
return [
|
|
1390
1434
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1391
1435
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1396,16 +1440,17 @@ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client
|
|
|
1396
1440
|
})
|
|
1397
1441
|
];
|
|
1398
1442
|
}).s("Timestream_20181101", "TagResource", {}).n("TimestreamWriteClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1443
|
+
static {
|
|
1444
|
+
__name(this, "TagResourceCommand");
|
|
1445
|
+
}
|
|
1399
1446
|
};
|
|
1400
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1401
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1402
1447
|
|
|
1403
1448
|
// src/commands/UntagResourceCommand.ts
|
|
1404
1449
|
|
|
1405
1450
|
|
|
1406
1451
|
|
|
1407
1452
|
|
|
1408
|
-
var
|
|
1453
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1409
1454
|
return [
|
|
1410
1455
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1411
1456
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1416,16 +1461,17 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
|
|
|
1416
1461
|
})
|
|
1417
1462
|
];
|
|
1418
1463
|
}).s("Timestream_20181101", "UntagResource", {}).n("TimestreamWriteClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1464
|
+
static {
|
|
1465
|
+
__name(this, "UntagResourceCommand");
|
|
1466
|
+
}
|
|
1419
1467
|
};
|
|
1420
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1421
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1422
1468
|
|
|
1423
1469
|
// src/commands/UpdateDatabaseCommand.ts
|
|
1424
1470
|
|
|
1425
1471
|
|
|
1426
1472
|
|
|
1427
1473
|
|
|
1428
|
-
var
|
|
1474
|
+
var UpdateDatabaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1429
1475
|
return [
|
|
1430
1476
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1431
1477
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1436,16 +1482,17 @@ var _UpdateDatabaseCommand = class _UpdateDatabaseCommand extends import_smithy_
|
|
|
1436
1482
|
})
|
|
1437
1483
|
];
|
|
1438
1484
|
}).s("Timestream_20181101", "UpdateDatabase", {}).n("TimestreamWriteClient", "UpdateDatabaseCommand").f(void 0, void 0).ser(se_UpdateDatabaseCommand).de(de_UpdateDatabaseCommand).build() {
|
|
1485
|
+
static {
|
|
1486
|
+
__name(this, "UpdateDatabaseCommand");
|
|
1487
|
+
}
|
|
1439
1488
|
};
|
|
1440
|
-
__name(_UpdateDatabaseCommand, "UpdateDatabaseCommand");
|
|
1441
|
-
var UpdateDatabaseCommand = _UpdateDatabaseCommand;
|
|
1442
1489
|
|
|
1443
1490
|
// src/commands/UpdateTableCommand.ts
|
|
1444
1491
|
|
|
1445
1492
|
|
|
1446
1493
|
|
|
1447
1494
|
|
|
1448
|
-
var
|
|
1495
|
+
var UpdateTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1449
1496
|
return [
|
|
1450
1497
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1451
1498
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1456,16 +1503,17 @@ var _UpdateTableCommand = class _UpdateTableCommand extends import_smithy_client
|
|
|
1456
1503
|
})
|
|
1457
1504
|
];
|
|
1458
1505
|
}).s("Timestream_20181101", "UpdateTable", {}).n("TimestreamWriteClient", "UpdateTableCommand").f(void 0, void 0).ser(se_UpdateTableCommand).de(de_UpdateTableCommand).build() {
|
|
1506
|
+
static {
|
|
1507
|
+
__name(this, "UpdateTableCommand");
|
|
1508
|
+
}
|
|
1459
1509
|
};
|
|
1460
|
-
__name(_UpdateTableCommand, "UpdateTableCommand");
|
|
1461
|
-
var UpdateTableCommand = _UpdateTableCommand;
|
|
1462
1510
|
|
|
1463
1511
|
// src/commands/WriteRecordsCommand.ts
|
|
1464
1512
|
|
|
1465
1513
|
|
|
1466
1514
|
|
|
1467
1515
|
|
|
1468
|
-
var
|
|
1516
|
+
var WriteRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1469
1517
|
return [
|
|
1470
1518
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1471
1519
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1476,9 +1524,10 @@ var _WriteRecordsCommand = class _WriteRecordsCommand extends import_smithy_clie
|
|
|
1476
1524
|
})
|
|
1477
1525
|
];
|
|
1478
1526
|
}).s("Timestream_20181101", "WriteRecords", {}).n("TimestreamWriteClient", "WriteRecordsCommand").f(void 0, void 0).ser(se_WriteRecordsCommand).de(de_WriteRecordsCommand).build() {
|
|
1527
|
+
static {
|
|
1528
|
+
__name(this, "WriteRecordsCommand");
|
|
1529
|
+
}
|
|
1479
1530
|
};
|
|
1480
|
-
__name(_WriteRecordsCommand, "WriteRecordsCommand");
|
|
1481
|
-
var WriteRecordsCommand = _WriteRecordsCommand;
|
|
1482
1531
|
|
|
1483
1532
|
// src/TimestreamWrite.ts
|
|
1484
1533
|
var commands = {
|
|
@@ -1502,10 +1551,11 @@ var commands = {
|
|
|
1502
1551
|
UpdateTableCommand,
|
|
1503
1552
|
WriteRecordsCommand
|
|
1504
1553
|
};
|
|
1505
|
-
var
|
|
1554
|
+
var TimestreamWrite = class extends TimestreamWriteClient {
|
|
1555
|
+
static {
|
|
1556
|
+
__name(this, "TimestreamWrite");
|
|
1557
|
+
}
|
|
1506
1558
|
};
|
|
1507
|
-
__name(_TimestreamWrite, "TimestreamWrite");
|
|
1508
|
-
var TimestreamWrite = _TimestreamWrite;
|
|
1509
1559
|
(0, import_smithy_client.createAggregatedClient)(commands, TimestreamWrite);
|
|
1510
1560
|
|
|
1511
1561
|
// src/pagination/ListBatchLoadTasksPaginator.ts
|
|
@@ -16,6 +16,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
16
16
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
17
17
|
export { __Client };
|
|
18
18
|
export class TimestreamWriteClient extends __Client {
|
|
19
|
+
config;
|
|
19
20
|
constructor(...[configuration]) {
|
|
20
21
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
21
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
Message;
|
|
4
7
|
constructor(opts) {
|
|
5
8
|
super({
|
|
6
9
|
name: "AccessDeniedException",
|
|
7
10
|
$fault: "client",
|
|
8
11
|
...opts,
|
|
9
12
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
13
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
14
|
this.Message = opts.Message;
|
|
14
15
|
}
|
|
@@ -50,92 +51,99 @@ export const S3EncryptionOption = {
|
|
|
50
51
|
SSE_S3: "SSE_S3",
|
|
51
52
|
};
|
|
52
53
|
export class ConflictException extends __BaseException {
|
|
54
|
+
name = "ConflictException";
|
|
55
|
+
$fault = "client";
|
|
56
|
+
Message;
|
|
53
57
|
constructor(opts) {
|
|
54
58
|
super({
|
|
55
59
|
name: "ConflictException",
|
|
56
60
|
$fault: "client",
|
|
57
61
|
...opts,
|
|
58
62
|
});
|
|
59
|
-
this.name = "ConflictException";
|
|
60
|
-
this.$fault = "client";
|
|
61
63
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
62
64
|
this.Message = opts.Message;
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
export class InternalServerException extends __BaseException {
|
|
68
|
+
name = "InternalServerException";
|
|
69
|
+
$fault = "server";
|
|
70
|
+
Message;
|
|
66
71
|
constructor(opts) {
|
|
67
72
|
super({
|
|
68
73
|
name: "InternalServerException",
|
|
69
74
|
$fault: "server",
|
|
70
75
|
...opts,
|
|
71
76
|
});
|
|
72
|
-
this.name = "InternalServerException";
|
|
73
|
-
this.$fault = "server";
|
|
74
77
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
75
78
|
this.Message = opts.Message;
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
81
|
export class InvalidEndpointException extends __BaseException {
|
|
82
|
+
name = "InvalidEndpointException";
|
|
83
|
+
$fault = "client";
|
|
84
|
+
Message;
|
|
79
85
|
constructor(opts) {
|
|
80
86
|
super({
|
|
81
87
|
name: "InvalidEndpointException",
|
|
82
88
|
$fault: "client",
|
|
83
89
|
...opts,
|
|
84
90
|
});
|
|
85
|
-
this.name = "InvalidEndpointException";
|
|
86
|
-
this.$fault = "client";
|
|
87
91
|
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
88
92
|
this.Message = opts.Message;
|
|
89
93
|
}
|
|
90
94
|
}
|
|
91
95
|
export class ResourceNotFoundException extends __BaseException {
|
|
96
|
+
name = "ResourceNotFoundException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
92
99
|
constructor(opts) {
|
|
93
100
|
super({
|
|
94
101
|
name: "ResourceNotFoundException",
|
|
95
102
|
$fault: "client",
|
|
96
103
|
...opts,
|
|
97
104
|
});
|
|
98
|
-
this.name = "ResourceNotFoundException";
|
|
99
|
-
this.$fault = "client";
|
|
100
105
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
101
106
|
this.Message = opts.Message;
|
|
102
107
|
}
|
|
103
108
|
}
|
|
104
109
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
110
|
+
name = "ServiceQuotaExceededException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
Message;
|
|
105
113
|
constructor(opts) {
|
|
106
114
|
super({
|
|
107
115
|
name: "ServiceQuotaExceededException",
|
|
108
116
|
$fault: "client",
|
|
109
117
|
...opts,
|
|
110
118
|
});
|
|
111
|
-
this.name = "ServiceQuotaExceededException";
|
|
112
|
-
this.$fault = "client";
|
|
113
119
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
114
120
|
this.Message = opts.Message;
|
|
115
121
|
}
|
|
116
122
|
}
|
|
117
123
|
export class ThrottlingException extends __BaseException {
|
|
124
|
+
name = "ThrottlingException";
|
|
125
|
+
$fault = "client";
|
|
126
|
+
Message;
|
|
118
127
|
constructor(opts) {
|
|
119
128
|
super({
|
|
120
129
|
name: "ThrottlingException",
|
|
121
130
|
$fault: "client",
|
|
122
131
|
...opts,
|
|
123
132
|
});
|
|
124
|
-
this.name = "ThrottlingException";
|
|
125
|
-
this.$fault = "client";
|
|
126
133
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
127
134
|
this.Message = opts.Message;
|
|
128
135
|
}
|
|
129
136
|
}
|
|
130
137
|
export class ValidationException extends __BaseException {
|
|
138
|
+
name = "ValidationException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
Message;
|
|
131
141
|
constructor(opts) {
|
|
132
142
|
super({
|
|
133
143
|
name: "ValidationException",
|
|
134
144
|
$fault: "client",
|
|
135
145
|
...opts,
|
|
136
146
|
});
|
|
137
|
-
this.name = "ValidationException";
|
|
138
|
-
this.$fault = "client";
|
|
139
147
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
140
148
|
this.Message = opts.Message;
|
|
141
149
|
}
|
|
@@ -157,14 +165,16 @@ export const DimensionValueType = {
|
|
|
157
165
|
VARCHAR: "VARCHAR",
|
|
158
166
|
};
|
|
159
167
|
export class RejectedRecordsException extends __BaseException {
|
|
168
|
+
name = "RejectedRecordsException";
|
|
169
|
+
$fault = "client";
|
|
170
|
+
Message;
|
|
171
|
+
RejectedRecords;
|
|
160
172
|
constructor(opts) {
|
|
161
173
|
super({
|
|
162
174
|
name: "RejectedRecordsException",
|
|
163
175
|
$fault: "client",
|
|
164
176
|
...opts,
|
|
165
177
|
});
|
|
166
|
-
this.name = "RejectedRecordsException";
|
|
167
|
-
this.$fault = "client";
|
|
168
178
|
Object.setPrototypeOf(this, RejectedRecordsException.prototype);
|
|
169
179
|
this.Message = opts.Message;
|
|
170
180
|
this.RejectedRecords = opts.RejectedRecords;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
32
32
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
33
33
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
34
34
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
|
-
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;
|
|
35
|
+
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;
|
|
36
36
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
37
|
logger?: import("@smithy/types").Logger | undefined;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -55,11 +57,21 @@ export declare const getRuntimeConfig: (
|
|
|
55
57
|
| import("@smithy/types").RetryStrategyV2
|
|
56
58
|
| undefined;
|
|
57
59
|
endpoint?:
|
|
58
|
-
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
| ((
|
|
61
|
+
| string
|
|
62
|
+
| import("@smithy/types").Endpoint
|
|
63
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
64
|
+
| import("@smithy/types").EndpointV2
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
66
|
+
) &
|
|
67
|
+
(
|
|
68
|
+
| string
|
|
69
|
+
| import("@smithy/types").Provider<string>
|
|
70
|
+
| import("@smithy/types").Endpoint
|
|
71
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
72
|
+
| import("@smithy/types").EndpointV2
|
|
73
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
74
|
+
))
|
|
63
75
|
| undefined;
|
|
64
76
|
endpointProvider: (
|
|
65
77
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.723.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,59 +20,59 @@
|
|
|
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.
|
|
27
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^
|
|
38
|
-
"@smithy/core": "^
|
|
39
|
-
"@smithy/fetch-http-handler": "^
|
|
40
|
-
"@smithy/hash-node": "^
|
|
41
|
-
"@smithy/invalid-dependency": "^
|
|
42
|
-
"@smithy/middleware-content-length": "^
|
|
43
|
-
"@smithy/middleware-endpoint": "^
|
|
44
|
-
"@smithy/middleware-retry": "^
|
|
45
|
-
"@smithy/middleware-serde": "^
|
|
46
|
-
"@smithy/middleware-stack": "^
|
|
47
|
-
"@smithy/node-config-provider": "^
|
|
48
|
-
"@smithy/node-http-handler": "^
|
|
49
|
-
"@smithy/protocol-http": "^
|
|
50
|
-
"@smithy/smithy-client": "^
|
|
51
|
-
"@smithy/types": "^
|
|
52
|
-
"@smithy/url-parser": "^
|
|
53
|
-
"@smithy/util-base64": "^
|
|
54
|
-
"@smithy/util-body-length-browser": "^
|
|
55
|
-
"@smithy/util-body-length-node": "^
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^
|
|
58
|
-
"@smithy/util-endpoints": "^
|
|
59
|
-
"@smithy/util-middleware": "^
|
|
60
|
-
"@smithy/util-retry": "^
|
|
61
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
33
|
+
"@aws-sdk/types": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
37
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
38
|
+
"@smithy/core": "^3.0.0",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
40
|
+
"@smithy/hash-node": "^4.0.0",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
46
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
47
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
48
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
49
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
50
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
51
|
+
"@smithy/types": "^4.0.0",
|
|
52
|
+
"@smithy/url-parser": "^4.0.0",
|
|
53
|
+
"@smithy/util-base64": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
55
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
58
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
59
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
60
|
+
"@smithy/util-retry": "^4.0.0",
|
|
61
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
62
62
|
"@types/uuid": "^9.0.1",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
64
64
|
"uuid": "^9.0.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@tsconfig/
|
|
68
|
-
"@types/node": "^
|
|
67
|
+
"@tsconfig/node18": "18.2.4",
|
|
68
|
+
"@types/node": "^18.19.69",
|
|
69
69
|
"concurrently": "7.0.0",
|
|
70
70
|
"downlevel-dts": "0.10.1",
|
|
71
71
|
"rimraf": "3.0.2",
|
|
72
|
-
"typescript": "~
|
|
72
|
+
"typescript": "~5.2.2"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
|
-
"node": ">=
|
|
75
|
+
"node": ">=18.0.0"
|
|
76
76
|
},
|
|
77
77
|
"typesVersions": {
|
|
78
78
|
"<4.0": {
|