@aws-sdk/client-dynamodb 3.145.0 → 3.154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/DynamoDB.js +45 -0
- package/dist-cjs/commands/DescribeImportCommand.js +36 -0
- package/dist-cjs/commands/ImportTableCommand.js +36 -0
- package/dist-cjs/commands/ListImportsCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +99 -5
- package/dist-cjs/pagination/ListImportsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +390 -2
- package/dist-es/DynamoDB.js +45 -0
- package/dist-es/commands/DescribeImportCommand.js +39 -0
- package/dist-es/commands/ImportTableCommand.js +39 -0
- package/dist-es/commands/ListImportsCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +56 -0
- package/dist-es/pagination/ListImportsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +414 -1
- package/dist-types/DynamoDB.d.ts +28 -0
- package/dist-types/DynamoDBClient.d.ts +5 -2
- package/dist-types/commands/DescribeImportCommand.d.ts +37 -0
- package/dist-types/commands/ImportTableCommand.d.ts +38 -0
- package/dist-types/commands/ListImportsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +493 -2
- package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +15 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +193 -0
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +9 -0
- package/package.json +4 -4
|
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { DynamoDBServiceException as __BaseException } from "../models/DynamoDBServiceException";
|
|
6
|
-
import { AttributeValue, BackupInUseException, BackupNotFoundException, ConditionalCheckFailedException, ContinuousBackupsUnavailableException, DuplicateItemException, ExportConflictException, ExportNotFoundException, GlobalTableAlreadyExistsException, GlobalTableNotFoundException, IdempotentParameterMismatchException, IndexNotFoundException, InternalServerError, InvalidEndpointException, InvalidExportTimeException, InvalidRestoreTimeException, ItemCollectionSizeLimitExceededException, LimitExceededException, PointInTimeRecoveryUnavailableException, ProvisionedThroughputExceededException, ReplicaAlreadyExistsException, ReplicaNotFoundException, RequestLimitExceeded, ResourceInUseException, ResourceNotFoundException, TableAlreadyExistsException, TableInUseException, TableNotFoundException, TransactionCanceledException, TransactionConflictException, TransactionInProgressException, } from "../models/models_0";
|
|
6
|
+
import { AttributeValue, BackupInUseException, BackupNotFoundException, ConditionalCheckFailedException, ContinuousBackupsUnavailableException, DuplicateItemException, ExportConflictException, ExportNotFoundException, GlobalTableAlreadyExistsException, GlobalTableNotFoundException, IdempotentParameterMismatchException, ImportConflictException, ImportNotFoundException, IndexNotFoundException, InternalServerError, InvalidEndpointException, InvalidExportTimeException, InvalidRestoreTimeException, ItemCollectionSizeLimitExceededException, LimitExceededException, PointInTimeRecoveryUnavailableException, ProvisionedThroughputExceededException, ReplicaAlreadyExistsException, ReplicaNotFoundException, RequestLimitExceeded, ResourceInUseException, ResourceNotFoundException, TableAlreadyExistsException, TableInUseException, TableNotFoundException, TransactionCanceledException, TransactionConflictException, TransactionInProgressException, } from "../models/models_0";
|
|
7
7
|
export var serializeAws_json1_0BatchExecuteStatementCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8
8
|
var headers, body;
|
|
9
9
|
return __generator(this, function (_a) {
|
|
@@ -180,6 +180,17 @@ export var serializeAws_json1_0DescribeGlobalTableSettingsCommand = function (in
|
|
|
180
180
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
181
181
|
});
|
|
182
182
|
}); };
|
|
183
|
+
export var serializeAws_json1_0DescribeImportCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
184
|
+
var headers, body;
|
|
185
|
+
return __generator(this, function (_a) {
|
|
186
|
+
headers = {
|
|
187
|
+
"content-type": "application/x-amz-json-1.0",
|
|
188
|
+
"x-amz-target": "DynamoDB_20120810.DescribeImport",
|
|
189
|
+
};
|
|
190
|
+
body = JSON.stringify(serializeAws_json1_0DescribeImportInput(input, context));
|
|
191
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
192
|
+
});
|
|
193
|
+
}); };
|
|
183
194
|
export var serializeAws_json1_0DescribeKinesisStreamingDestinationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
184
195
|
var headers, body;
|
|
185
196
|
return __generator(this, function (_a) {
|
|
@@ -301,6 +312,17 @@ export var serializeAws_json1_0GetItemCommand = function (input, context) { retu
|
|
|
301
312
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
302
313
|
});
|
|
303
314
|
}); };
|
|
315
|
+
export var serializeAws_json1_0ImportTableCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
316
|
+
var headers, body;
|
|
317
|
+
return __generator(this, function (_a) {
|
|
318
|
+
headers = {
|
|
319
|
+
"content-type": "application/x-amz-json-1.0",
|
|
320
|
+
"x-amz-target": "DynamoDB_20120810.ImportTable",
|
|
321
|
+
};
|
|
322
|
+
body = JSON.stringify(serializeAws_json1_0ImportTableInput(input, context));
|
|
323
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
324
|
+
});
|
|
325
|
+
}); };
|
|
304
326
|
export var serializeAws_json1_0ListBackupsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
305
327
|
var headers, body;
|
|
306
328
|
return __generator(this, function (_a) {
|
|
@@ -345,6 +367,17 @@ export var serializeAws_json1_0ListGlobalTablesCommand = function (input, contex
|
|
|
345
367
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
346
368
|
});
|
|
347
369
|
}); };
|
|
370
|
+
export var serializeAws_json1_0ListImportsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
371
|
+
var headers, body;
|
|
372
|
+
return __generator(this, function (_a) {
|
|
373
|
+
headers = {
|
|
374
|
+
"content-type": "application/x-amz-json-1.0",
|
|
375
|
+
"x-amz-target": "DynamoDB_20120810.ListImports",
|
|
376
|
+
};
|
|
377
|
+
body = JSON.stringify(serializeAws_json1_0ListImportsInput(input, context));
|
|
378
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
379
|
+
});
|
|
380
|
+
}); };
|
|
348
381
|
export var serializeAws_json1_0ListTablesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
349
382
|
var headers, body;
|
|
350
383
|
return __generator(this, function (_a) {
|
|
@@ -1556,6 +1589,57 @@ var deserializeAws_json1_0DescribeGlobalTableSettingsCommandError = function (ou
|
|
|
1556
1589
|
}
|
|
1557
1590
|
});
|
|
1558
1591
|
}); };
|
|
1592
|
+
export var deserializeAws_json1_0DescribeImportCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1593
|
+
var data, contents, response;
|
|
1594
|
+
return __generator(this, function (_a) {
|
|
1595
|
+
switch (_a.label) {
|
|
1596
|
+
case 0:
|
|
1597
|
+
if (output.statusCode >= 300) {
|
|
1598
|
+
return [2, deserializeAws_json1_0DescribeImportCommandError(output, context)];
|
|
1599
|
+
}
|
|
1600
|
+
return [4, parseBody(output.body, context)];
|
|
1601
|
+
case 1:
|
|
1602
|
+
data = _a.sent();
|
|
1603
|
+
contents = {};
|
|
1604
|
+
contents = deserializeAws_json1_0DescribeImportOutput(data, context);
|
|
1605
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1606
|
+
return [2, Promise.resolve(response)];
|
|
1607
|
+
}
|
|
1608
|
+
});
|
|
1609
|
+
}); };
|
|
1610
|
+
var deserializeAws_json1_0DescribeImportCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1611
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1612
|
+
var _c;
|
|
1613
|
+
return __generator(this, function (_d) {
|
|
1614
|
+
switch (_d.label) {
|
|
1615
|
+
case 0:
|
|
1616
|
+
_a = [__assign({}, output)];
|
|
1617
|
+
_c = {};
|
|
1618
|
+
return [4, parseBody(output.body, context)];
|
|
1619
|
+
case 1:
|
|
1620
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1621
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1622
|
+
_b = errorCode;
|
|
1623
|
+
switch (_b) {
|
|
1624
|
+
case "ImportNotFoundException": return [3, 2];
|
|
1625
|
+
case "com.amazonaws.dynamodb#ImportNotFoundException": return [3, 2];
|
|
1626
|
+
}
|
|
1627
|
+
return [3, 4];
|
|
1628
|
+
case 2: return [4, deserializeAws_json1_0ImportNotFoundExceptionResponse(parsedOutput, context)];
|
|
1629
|
+
case 3: throw _d.sent();
|
|
1630
|
+
case 4:
|
|
1631
|
+
parsedBody = parsedOutput.body;
|
|
1632
|
+
throwDefaultError({
|
|
1633
|
+
output: output,
|
|
1634
|
+
parsedBody: parsedBody,
|
|
1635
|
+
exceptionCtor: __BaseException,
|
|
1636
|
+
errorCode: errorCode,
|
|
1637
|
+
});
|
|
1638
|
+
_d.label = 5;
|
|
1639
|
+
case 5: return [2];
|
|
1640
|
+
}
|
|
1641
|
+
});
|
|
1642
|
+
}); };
|
|
1559
1643
|
export var deserializeAws_json1_0DescribeKinesisStreamingDestinationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1560
1644
|
var data, contents, response;
|
|
1561
1645
|
return __generator(this, function (_a) {
|
|
@@ -2269,6 +2353,65 @@ var deserializeAws_json1_0GetItemCommandError = function (output, context) { ret
|
|
|
2269
2353
|
}
|
|
2270
2354
|
});
|
|
2271
2355
|
}); };
|
|
2356
|
+
export var deserializeAws_json1_0ImportTableCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2357
|
+
var data, contents, response;
|
|
2358
|
+
return __generator(this, function (_a) {
|
|
2359
|
+
switch (_a.label) {
|
|
2360
|
+
case 0:
|
|
2361
|
+
if (output.statusCode >= 300) {
|
|
2362
|
+
return [2, deserializeAws_json1_0ImportTableCommandError(output, context)];
|
|
2363
|
+
}
|
|
2364
|
+
return [4, parseBody(output.body, context)];
|
|
2365
|
+
case 1:
|
|
2366
|
+
data = _a.sent();
|
|
2367
|
+
contents = {};
|
|
2368
|
+
contents = deserializeAws_json1_0ImportTableOutput(data, context);
|
|
2369
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2370
|
+
return [2, Promise.resolve(response)];
|
|
2371
|
+
}
|
|
2372
|
+
});
|
|
2373
|
+
}); };
|
|
2374
|
+
var deserializeAws_json1_0ImportTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2375
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2376
|
+
var _c;
|
|
2377
|
+
return __generator(this, function (_d) {
|
|
2378
|
+
switch (_d.label) {
|
|
2379
|
+
case 0:
|
|
2380
|
+
_a = [__assign({}, output)];
|
|
2381
|
+
_c = {};
|
|
2382
|
+
return [4, parseBody(output.body, context)];
|
|
2383
|
+
case 1:
|
|
2384
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2385
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2386
|
+
_b = errorCode;
|
|
2387
|
+
switch (_b) {
|
|
2388
|
+
case "ImportConflictException": return [3, 2];
|
|
2389
|
+
case "com.amazonaws.dynamodb#ImportConflictException": return [3, 2];
|
|
2390
|
+
case "LimitExceededException": return [3, 4];
|
|
2391
|
+
case "com.amazonaws.dynamodb#LimitExceededException": return [3, 4];
|
|
2392
|
+
case "ResourceInUseException": return [3, 6];
|
|
2393
|
+
case "com.amazonaws.dynamodb#ResourceInUseException": return [3, 6];
|
|
2394
|
+
}
|
|
2395
|
+
return [3, 8];
|
|
2396
|
+
case 2: return [4, deserializeAws_json1_0ImportConflictExceptionResponse(parsedOutput, context)];
|
|
2397
|
+
case 3: throw _d.sent();
|
|
2398
|
+
case 4: return [4, deserializeAws_json1_0LimitExceededExceptionResponse(parsedOutput, context)];
|
|
2399
|
+
case 5: throw _d.sent();
|
|
2400
|
+
case 6: return [4, deserializeAws_json1_0ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
2401
|
+
case 7: throw _d.sent();
|
|
2402
|
+
case 8:
|
|
2403
|
+
parsedBody = parsedOutput.body;
|
|
2404
|
+
throwDefaultError({
|
|
2405
|
+
output: output,
|
|
2406
|
+
parsedBody: parsedBody,
|
|
2407
|
+
exceptionCtor: __BaseException,
|
|
2408
|
+
errorCode: errorCode,
|
|
2409
|
+
});
|
|
2410
|
+
_d.label = 9;
|
|
2411
|
+
case 9: return [2];
|
|
2412
|
+
}
|
|
2413
|
+
});
|
|
2414
|
+
}); };
|
|
2272
2415
|
export var deserializeAws_json1_0ListBackupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2273
2416
|
var data, contents, response;
|
|
2274
2417
|
return __generator(this, function (_a) {
|
|
@@ -2489,6 +2632,57 @@ var deserializeAws_json1_0ListGlobalTablesCommandError = function (output, conte
|
|
|
2489
2632
|
}
|
|
2490
2633
|
});
|
|
2491
2634
|
}); };
|
|
2635
|
+
export var deserializeAws_json1_0ListImportsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2636
|
+
var data, contents, response;
|
|
2637
|
+
return __generator(this, function (_a) {
|
|
2638
|
+
switch (_a.label) {
|
|
2639
|
+
case 0:
|
|
2640
|
+
if (output.statusCode >= 300) {
|
|
2641
|
+
return [2, deserializeAws_json1_0ListImportsCommandError(output, context)];
|
|
2642
|
+
}
|
|
2643
|
+
return [4, parseBody(output.body, context)];
|
|
2644
|
+
case 1:
|
|
2645
|
+
data = _a.sent();
|
|
2646
|
+
contents = {};
|
|
2647
|
+
contents = deserializeAws_json1_0ListImportsOutput(data, context);
|
|
2648
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2649
|
+
return [2, Promise.resolve(response)];
|
|
2650
|
+
}
|
|
2651
|
+
});
|
|
2652
|
+
}); };
|
|
2653
|
+
var deserializeAws_json1_0ListImportsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2654
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2655
|
+
var _c;
|
|
2656
|
+
return __generator(this, function (_d) {
|
|
2657
|
+
switch (_d.label) {
|
|
2658
|
+
case 0:
|
|
2659
|
+
_a = [__assign({}, output)];
|
|
2660
|
+
_c = {};
|
|
2661
|
+
return [4, parseBody(output.body, context)];
|
|
2662
|
+
case 1:
|
|
2663
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2664
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2665
|
+
_b = errorCode;
|
|
2666
|
+
switch (_b) {
|
|
2667
|
+
case "LimitExceededException": return [3, 2];
|
|
2668
|
+
case "com.amazonaws.dynamodb#LimitExceededException": return [3, 2];
|
|
2669
|
+
}
|
|
2670
|
+
return [3, 4];
|
|
2671
|
+
case 2: return [4, deserializeAws_json1_0LimitExceededExceptionResponse(parsedOutput, context)];
|
|
2672
|
+
case 3: throw _d.sent();
|
|
2673
|
+
case 4:
|
|
2674
|
+
parsedBody = parsedOutput.body;
|
|
2675
|
+
throwDefaultError({
|
|
2676
|
+
output: output,
|
|
2677
|
+
parsedBody: parsedBody,
|
|
2678
|
+
exceptionCtor: __BaseException,
|
|
2679
|
+
errorCode: errorCode,
|
|
2680
|
+
});
|
|
2681
|
+
_d.label = 5;
|
|
2682
|
+
case 5: return [2];
|
|
2683
|
+
}
|
|
2684
|
+
});
|
|
2685
|
+
}); };
|
|
2492
2686
|
export var deserializeAws_json1_0ListTablesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2493
2687
|
var data, contents, response;
|
|
2494
2688
|
return __generator(this, function (_a) {
|
|
@@ -3884,6 +4078,24 @@ var deserializeAws_json1_0IdempotentParameterMismatchExceptionResponse = functio
|
|
|
3884
4078
|
return [2, __decorateServiceException(exception, body)];
|
|
3885
4079
|
});
|
|
3886
4080
|
}); };
|
|
4081
|
+
var deserializeAws_json1_0ImportConflictExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4082
|
+
var body, deserialized, exception;
|
|
4083
|
+
return __generator(this, function (_a) {
|
|
4084
|
+
body = parsedOutput.body;
|
|
4085
|
+
deserialized = deserializeAws_json1_0ImportConflictException(body, context);
|
|
4086
|
+
exception = new ImportConflictException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
4087
|
+
return [2, __decorateServiceException(exception, body)];
|
|
4088
|
+
});
|
|
4089
|
+
}); };
|
|
4090
|
+
var deserializeAws_json1_0ImportNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4091
|
+
var body, deserialized, exception;
|
|
4092
|
+
return __generator(this, function (_a) {
|
|
4093
|
+
body = parsedOutput.body;
|
|
4094
|
+
deserialized = deserializeAws_json1_0ImportNotFoundException(body, context);
|
|
4095
|
+
exception = new ImportNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
4096
|
+
return [2, __decorateServiceException(exception, body)];
|
|
4097
|
+
});
|
|
4098
|
+
}); };
|
|
3887
4099
|
var deserializeAws_json1_0IndexNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3888
4100
|
var body, deserialized, exception;
|
|
3889
4101
|
return __generator(this, function (_a) {
|
|
@@ -4228,6 +4440,16 @@ var serializeAws_json1_0CreateTableInput = function (input, context) {
|
|
|
4228
4440
|
StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
|
|
4229
4441
|
})), (input.TableClass != null && { TableClass: input.TableClass })), (input.TableName != null && { TableName: input.TableName })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
4230
4442
|
};
|
|
4443
|
+
var serializeAws_json1_0CsvHeaderList = function (input, context) {
|
|
4444
|
+
return input
|
|
4445
|
+
.filter(function (e) { return e != null; })
|
|
4446
|
+
.map(function (entry) {
|
|
4447
|
+
return entry;
|
|
4448
|
+
});
|
|
4449
|
+
};
|
|
4450
|
+
var serializeAws_json1_0CsvOptions = function (input, context) {
|
|
4451
|
+
return __assign(__assign({}, (input.Delimiter != null && { Delimiter: input.Delimiter })), (input.HeaderList != null && { HeaderList: serializeAws_json1_0CsvHeaderList(input.HeaderList, context) }));
|
|
4452
|
+
};
|
|
4231
4453
|
var serializeAws_json1_0Delete = function (input, context) {
|
|
4232
4454
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames != null && {
|
|
4233
4455
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
@@ -4285,6 +4507,9 @@ var serializeAws_json1_0DescribeGlobalTableInput = function (input, context) {
|
|
|
4285
4507
|
var serializeAws_json1_0DescribeGlobalTableSettingsInput = function (input, context) {
|
|
4286
4508
|
return __assign({}, (input.GlobalTableName != null && { GlobalTableName: input.GlobalTableName }));
|
|
4287
4509
|
};
|
|
4510
|
+
var serializeAws_json1_0DescribeImportInput = function (input, context) {
|
|
4511
|
+
return __assign({}, (input.ImportArn != null && { ImportArn: input.ImportArn }));
|
|
4512
|
+
};
|
|
4288
4513
|
var serializeAws_json1_0DescribeKinesisStreamingDestinationInput = function (input, context) {
|
|
4289
4514
|
return __assign({}, (input.TableName != null && { TableName: input.TableName }));
|
|
4290
4515
|
};
|
|
@@ -4426,6 +4651,19 @@ var serializeAws_json1_0GlobalTableGlobalSecondaryIndexSettingsUpdateList = func
|
|
|
4426
4651
|
return serializeAws_json1_0GlobalTableGlobalSecondaryIndexSettingsUpdate(entry, context);
|
|
4427
4652
|
});
|
|
4428
4653
|
};
|
|
4654
|
+
var serializeAws_json1_0ImportTableInput = function (input, context) {
|
|
4655
|
+
var _a;
|
|
4656
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.InputCompressionType != null && { InputCompressionType: input.InputCompressionType })), (input.InputFormat != null && { InputFormat: input.InputFormat })), (input.InputFormatOptions != null && {
|
|
4657
|
+
InputFormatOptions: serializeAws_json1_0InputFormatOptions(input.InputFormatOptions, context),
|
|
4658
|
+
})), (input.S3BucketSource != null && {
|
|
4659
|
+
S3BucketSource: serializeAws_json1_0S3BucketSource(input.S3BucketSource, context),
|
|
4660
|
+
})), (input.TableCreationParameters != null && {
|
|
4661
|
+
TableCreationParameters: serializeAws_json1_0TableCreationParameters(input.TableCreationParameters, context),
|
|
4662
|
+
}));
|
|
4663
|
+
};
|
|
4664
|
+
var serializeAws_json1_0InputFormatOptions = function (input, context) {
|
|
4665
|
+
return __assign({}, (input.Csv != null && { Csv: serializeAws_json1_0CsvOptions(input.Csv, context) }));
|
|
4666
|
+
};
|
|
4429
4667
|
var serializeAws_json1_0Key = function (input, context) {
|
|
4430
4668
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
4431
4669
|
var _b;
|
|
@@ -4498,6 +4736,9 @@ var serializeAws_json1_0ListGlobalTablesInput = function (input, context) {
|
|
|
4498
4736
|
ExclusiveStartGlobalTableName: input.ExclusiveStartGlobalTableName,
|
|
4499
4737
|
})), (input.Limit != null && { Limit: input.Limit })), (input.RegionName != null && { RegionName: input.RegionName }));
|
|
4500
4738
|
};
|
|
4739
|
+
var serializeAws_json1_0ListImportsInput = function (input, context) {
|
|
4740
|
+
return __assign(__assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.PageSize != null && { PageSize: input.PageSize })), (input.TableArn != null && { TableArn: input.TableArn }));
|
|
4741
|
+
};
|
|
4501
4742
|
var serializeAws_json1_0ListTablesInput = function (input, context) {
|
|
4502
4743
|
return __assign(__assign({}, (input.ExclusiveStartTableName != null && { ExclusiveStartTableName: input.ExclusiveStartTableName })), (input.Limit != null && { Limit: input.Limit }));
|
|
4503
4744
|
};
|
|
@@ -4750,6 +4991,9 @@ var serializeAws_json1_0RestoreTableToPointInTimeInput = function (input, contex
|
|
|
4750
4991
|
SSESpecificationOverride: serializeAws_json1_0SSESpecification(input.SSESpecificationOverride, context),
|
|
4751
4992
|
})), (input.SourceTableArn != null && { SourceTableArn: input.SourceTableArn })), (input.SourceTableName != null && { SourceTableName: input.SourceTableName })), (input.TargetTableName != null && { TargetTableName: input.TargetTableName })), (input.UseLatestRestorableTime != null && { UseLatestRestorableTime: input.UseLatestRestorableTime }));
|
|
4752
4993
|
};
|
|
4994
|
+
var serializeAws_json1_0S3BucketSource = function (input, context) {
|
|
4995
|
+
return __assign(__assign(__assign({}, (input.S3Bucket != null && { S3Bucket: input.S3Bucket })), (input.S3BucketOwner != null && { S3BucketOwner: input.S3BucketOwner })), (input.S3KeyPrefix != null && { S3KeyPrefix: input.S3KeyPrefix }));
|
|
4996
|
+
};
|
|
4753
4997
|
var serializeAws_json1_0ScanInput = function (input, context) {
|
|
4754
4998
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet != null && {
|
|
4755
4999
|
AttributesToGet: serializeAws_json1_0AttributeNameList(input.AttributesToGet, context),
|
|
@@ -4774,6 +5018,17 @@ var serializeAws_json1_0StringSetAttributeValue = function (input, context) {
|
|
|
4774
5018
|
return entry;
|
|
4775
5019
|
});
|
|
4776
5020
|
};
|
|
5021
|
+
var serializeAws_json1_0TableCreationParameters = function (input, context) {
|
|
5022
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions != null && {
|
|
5023
|
+
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
5024
|
+
})), (input.BillingMode != null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexes != null && {
|
|
5025
|
+
GlobalSecondaryIndexes: serializeAws_json1_0GlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
5026
|
+
})), (input.KeySchema != null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.ProvisionedThroughput != null && {
|
|
5027
|
+
ProvisionedThroughput: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughput, context),
|
|
5028
|
+
})), (input.SSESpecification != null && {
|
|
5029
|
+
SSESpecification: serializeAws_json1_0SSESpecification(input.SSESpecification, context),
|
|
5030
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
5031
|
+
};
|
|
4777
5032
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
4778
5033
|
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
4779
5034
|
};
|
|
@@ -5338,6 +5593,23 @@ var deserializeAws_json1_0CreateTableOutput = function (output, context) {
|
|
|
5338
5593
|
: undefined,
|
|
5339
5594
|
};
|
|
5340
5595
|
};
|
|
5596
|
+
var deserializeAws_json1_0CsvHeaderList = function (output, context) {
|
|
5597
|
+
var retVal = (output || [])
|
|
5598
|
+
.filter(function (e) { return e != null; })
|
|
5599
|
+
.map(function (entry) {
|
|
5600
|
+
if (entry === null) {
|
|
5601
|
+
return null;
|
|
5602
|
+
}
|
|
5603
|
+
return __expectString(entry);
|
|
5604
|
+
});
|
|
5605
|
+
return retVal;
|
|
5606
|
+
};
|
|
5607
|
+
var deserializeAws_json1_0CsvOptions = function (output, context) {
|
|
5608
|
+
return {
|
|
5609
|
+
Delimiter: __expectString(output.Delimiter),
|
|
5610
|
+
HeaderList: output.HeaderList != null ? deserializeAws_json1_0CsvHeaderList(output.HeaderList, context) : undefined,
|
|
5611
|
+
};
|
|
5612
|
+
};
|
|
5341
5613
|
var deserializeAws_json1_0DeleteBackupOutput = function (output, context) {
|
|
5342
5614
|
return {
|
|
5343
5615
|
BackupDescription: output.BackupDescription != null
|
|
@@ -5425,6 +5697,13 @@ var deserializeAws_json1_0DescribeGlobalTableSettingsOutput = function (output,
|
|
|
5425
5697
|
: undefined,
|
|
5426
5698
|
};
|
|
5427
5699
|
};
|
|
5700
|
+
var deserializeAws_json1_0DescribeImportOutput = function (output, context) {
|
|
5701
|
+
return {
|
|
5702
|
+
ImportTableDescription: output.ImportTableDescription != null
|
|
5703
|
+
? deserializeAws_json1_0ImportTableDescription(output.ImportTableDescription, context)
|
|
5704
|
+
: undefined,
|
|
5705
|
+
};
|
|
5706
|
+
};
|
|
5428
5707
|
var deserializeAws_json1_0DescribeKinesisStreamingDestinationOutput = function (output, context) {
|
|
5429
5708
|
return {
|
|
5430
5709
|
KinesisDataStreamDestinations: output.KinesisDataStreamDestinations != null
|
|
@@ -5581,6 +5860,16 @@ var deserializeAws_json1_0GetItemOutput = function (output, context) {
|
|
|
5581
5860
|
Item: output.Item != null ? deserializeAws_json1_0AttributeMap(output.Item, context) : undefined,
|
|
5582
5861
|
};
|
|
5583
5862
|
};
|
|
5863
|
+
var deserializeAws_json1_0GlobalSecondaryIndex = function (output, context) {
|
|
5864
|
+
return {
|
|
5865
|
+
IndexName: __expectString(output.IndexName),
|
|
5866
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
5867
|
+
Projection: output.Projection != null ? deserializeAws_json1_0Projection(output.Projection, context) : undefined,
|
|
5868
|
+
ProvisionedThroughput: output.ProvisionedThroughput != null
|
|
5869
|
+
? deserializeAws_json1_0ProvisionedThroughput(output.ProvisionedThroughput, context)
|
|
5870
|
+
: undefined,
|
|
5871
|
+
};
|
|
5872
|
+
};
|
|
5584
5873
|
var deserializeAws_json1_0GlobalSecondaryIndexDescription = function (output, context) {
|
|
5585
5874
|
return {
|
|
5586
5875
|
Backfilling: __expectBoolean(output.Backfilling),
|
|
@@ -5628,6 +5917,17 @@ var deserializeAws_json1_0GlobalSecondaryIndexInfo = function (output, context)
|
|
|
5628
5917
|
: undefined,
|
|
5629
5918
|
};
|
|
5630
5919
|
};
|
|
5920
|
+
var deserializeAws_json1_0GlobalSecondaryIndexList = function (output, context) {
|
|
5921
|
+
var retVal = (output || [])
|
|
5922
|
+
.filter(function (e) { return e != null; })
|
|
5923
|
+
.map(function (entry) {
|
|
5924
|
+
if (entry === null) {
|
|
5925
|
+
return null;
|
|
5926
|
+
}
|
|
5927
|
+
return deserializeAws_json1_0GlobalSecondaryIndex(entry, context);
|
|
5928
|
+
});
|
|
5929
|
+
return retVal;
|
|
5930
|
+
};
|
|
5631
5931
|
var deserializeAws_json1_0GlobalTable = function (output, context) {
|
|
5632
5932
|
return {
|
|
5633
5933
|
GlobalTableName: __expectString(output.GlobalTableName),
|
|
@@ -5673,11 +5973,83 @@ var deserializeAws_json1_0IdempotentParameterMismatchException = function (outpu
|
|
|
5673
5973
|
Message: __expectString(output.Message),
|
|
5674
5974
|
};
|
|
5675
5975
|
};
|
|
5976
|
+
var deserializeAws_json1_0ImportConflictException = function (output, context) {
|
|
5977
|
+
return {
|
|
5978
|
+
message: __expectString(output.message),
|
|
5979
|
+
};
|
|
5980
|
+
};
|
|
5981
|
+
var deserializeAws_json1_0ImportNotFoundException = function (output, context) {
|
|
5982
|
+
return {
|
|
5983
|
+
message: __expectString(output.message),
|
|
5984
|
+
};
|
|
5985
|
+
};
|
|
5986
|
+
var deserializeAws_json1_0ImportSummary = function (output, context) {
|
|
5987
|
+
return {
|
|
5988
|
+
CloudWatchLogGroupArn: __expectString(output.CloudWatchLogGroupArn),
|
|
5989
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
5990
|
+
ImportArn: __expectString(output.ImportArn),
|
|
5991
|
+
ImportStatus: __expectString(output.ImportStatus),
|
|
5992
|
+
InputFormat: __expectString(output.InputFormat),
|
|
5993
|
+
S3BucketSource: output.S3BucketSource != null ? deserializeAws_json1_0S3BucketSource(output.S3BucketSource, context) : undefined,
|
|
5994
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
5995
|
+
TableArn: __expectString(output.TableArn),
|
|
5996
|
+
};
|
|
5997
|
+
};
|
|
5998
|
+
var deserializeAws_json1_0ImportSummaryList = function (output, context) {
|
|
5999
|
+
var retVal = (output || [])
|
|
6000
|
+
.filter(function (e) { return e != null; })
|
|
6001
|
+
.map(function (entry) {
|
|
6002
|
+
if (entry === null) {
|
|
6003
|
+
return null;
|
|
6004
|
+
}
|
|
6005
|
+
return deserializeAws_json1_0ImportSummary(entry, context);
|
|
6006
|
+
});
|
|
6007
|
+
return retVal;
|
|
6008
|
+
};
|
|
6009
|
+
var deserializeAws_json1_0ImportTableDescription = function (output, context) {
|
|
6010
|
+
return {
|
|
6011
|
+
ClientToken: __expectString(output.ClientToken),
|
|
6012
|
+
CloudWatchLogGroupArn: __expectString(output.CloudWatchLogGroupArn),
|
|
6013
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
6014
|
+
ErrorCount: __expectLong(output.ErrorCount),
|
|
6015
|
+
FailureCode: __expectString(output.FailureCode),
|
|
6016
|
+
FailureMessage: __expectString(output.FailureMessage),
|
|
6017
|
+
ImportArn: __expectString(output.ImportArn),
|
|
6018
|
+
ImportStatus: __expectString(output.ImportStatus),
|
|
6019
|
+
ImportedItemCount: __expectLong(output.ImportedItemCount),
|
|
6020
|
+
InputCompressionType: __expectString(output.InputCompressionType),
|
|
6021
|
+
InputFormat: __expectString(output.InputFormat),
|
|
6022
|
+
InputFormatOptions: output.InputFormatOptions != null
|
|
6023
|
+
? deserializeAws_json1_0InputFormatOptions(output.InputFormatOptions, context)
|
|
6024
|
+
: undefined,
|
|
6025
|
+
ProcessedItemCount: __expectLong(output.ProcessedItemCount),
|
|
6026
|
+
ProcessedSizeBytes: __expectLong(output.ProcessedSizeBytes),
|
|
6027
|
+
S3BucketSource: output.S3BucketSource != null ? deserializeAws_json1_0S3BucketSource(output.S3BucketSource, context) : undefined,
|
|
6028
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
6029
|
+
TableArn: __expectString(output.TableArn),
|
|
6030
|
+
TableCreationParameters: output.TableCreationParameters != null
|
|
6031
|
+
? deserializeAws_json1_0TableCreationParameters(output.TableCreationParameters, context)
|
|
6032
|
+
: undefined,
|
|
6033
|
+
TableId: __expectString(output.TableId),
|
|
6034
|
+
};
|
|
6035
|
+
};
|
|
6036
|
+
var deserializeAws_json1_0ImportTableOutput = function (output, context) {
|
|
6037
|
+
return {
|
|
6038
|
+
ImportTableDescription: output.ImportTableDescription != null
|
|
6039
|
+
? deserializeAws_json1_0ImportTableDescription(output.ImportTableDescription, context)
|
|
6040
|
+
: undefined,
|
|
6041
|
+
};
|
|
6042
|
+
};
|
|
5676
6043
|
var deserializeAws_json1_0IndexNotFoundException = function (output, context) {
|
|
5677
6044
|
return {
|
|
5678
6045
|
message: __expectString(output.message),
|
|
5679
6046
|
};
|
|
5680
6047
|
};
|
|
6048
|
+
var deserializeAws_json1_0InputFormatOptions = function (output, context) {
|
|
6049
|
+
return {
|
|
6050
|
+
Csv: output.Csv != null ? deserializeAws_json1_0CsvOptions(output.Csv, context) : undefined,
|
|
6051
|
+
};
|
|
6052
|
+
};
|
|
5681
6053
|
var deserializeAws_json1_0InternalServerError = function (output, context) {
|
|
5682
6054
|
return {
|
|
5683
6055
|
message: __expectString(output.message),
|
|
@@ -5904,6 +6276,14 @@ var deserializeAws_json1_0ListGlobalTablesOutput = function (output, context) {
|
|
|
5904
6276
|
LastEvaluatedGlobalTableName: __expectString(output.LastEvaluatedGlobalTableName),
|
|
5905
6277
|
};
|
|
5906
6278
|
};
|
|
6279
|
+
var deserializeAws_json1_0ListImportsOutput = function (output, context) {
|
|
6280
|
+
return {
|
|
6281
|
+
ImportSummaryList: output.ImportSummaryList != null
|
|
6282
|
+
? deserializeAws_json1_0ImportSummaryList(output.ImportSummaryList, context)
|
|
6283
|
+
: undefined,
|
|
6284
|
+
NextToken: __expectString(output.NextToken),
|
|
6285
|
+
};
|
|
6286
|
+
};
|
|
5907
6287
|
var deserializeAws_json1_0ListTablesOutput = function (output, context) {
|
|
5908
6288
|
return {
|
|
5909
6289
|
LastEvaluatedTableName: __expectString(output.LastEvaluatedTableName),
|
|
@@ -6312,6 +6692,13 @@ var deserializeAws_json1_0RestoreTableToPointInTimeOutput = function (output, co
|
|
|
6312
6692
|
: undefined,
|
|
6313
6693
|
};
|
|
6314
6694
|
};
|
|
6695
|
+
var deserializeAws_json1_0S3BucketSource = function (output, context) {
|
|
6696
|
+
return {
|
|
6697
|
+
S3Bucket: __expectString(output.S3Bucket),
|
|
6698
|
+
S3BucketOwner: __expectString(output.S3BucketOwner),
|
|
6699
|
+
S3KeyPrefix: __expectString(output.S3KeyPrefix),
|
|
6700
|
+
};
|
|
6701
|
+
};
|
|
6315
6702
|
var deserializeAws_json1_0ScanOutput = function (output, context) {
|
|
6316
6703
|
return {
|
|
6317
6704
|
ConsumedCapacity: output.ConsumedCapacity != null
|
|
@@ -6377,6 +6764,13 @@ var deserializeAws_json1_0SSEDescription = function (output, context) {
|
|
|
6377
6764
|
Status: __expectString(output.Status),
|
|
6378
6765
|
};
|
|
6379
6766
|
};
|
|
6767
|
+
var deserializeAws_json1_0SSESpecification = function (output, context) {
|
|
6768
|
+
return {
|
|
6769
|
+
Enabled: __expectBoolean(output.Enabled),
|
|
6770
|
+
KMSMasterKeyId: __expectString(output.KMSMasterKeyId),
|
|
6771
|
+
SSEType: __expectString(output.SSEType),
|
|
6772
|
+
};
|
|
6773
|
+
};
|
|
6380
6774
|
var deserializeAws_json1_0StreamSpecification = function (output, context) {
|
|
6381
6775
|
return {
|
|
6382
6776
|
StreamEnabled: __expectBoolean(output.StreamEnabled),
|
|
@@ -6416,6 +6810,25 @@ var deserializeAws_json1_0TableClassSummary = function (output, context) {
|
|
|
6416
6810
|
TableClass: __expectString(output.TableClass),
|
|
6417
6811
|
};
|
|
6418
6812
|
};
|
|
6813
|
+
var deserializeAws_json1_0TableCreationParameters = function (output, context) {
|
|
6814
|
+
return {
|
|
6815
|
+
AttributeDefinitions: output.AttributeDefinitions != null
|
|
6816
|
+
? deserializeAws_json1_0AttributeDefinitions(output.AttributeDefinitions, context)
|
|
6817
|
+
: undefined,
|
|
6818
|
+
BillingMode: __expectString(output.BillingMode),
|
|
6819
|
+
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
6820
|
+
? deserializeAws_json1_0GlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
|
|
6821
|
+
: undefined,
|
|
6822
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
6823
|
+
ProvisionedThroughput: output.ProvisionedThroughput != null
|
|
6824
|
+
? deserializeAws_json1_0ProvisionedThroughput(output.ProvisionedThroughput, context)
|
|
6825
|
+
: undefined,
|
|
6826
|
+
SSESpecification: output.SSESpecification != null
|
|
6827
|
+
? deserializeAws_json1_0SSESpecification(output.SSESpecification, context)
|
|
6828
|
+
: undefined,
|
|
6829
|
+
TableName: __expectString(output.TableName),
|
|
6830
|
+
};
|
|
6831
|
+
};
|
|
6419
6832
|
var deserializeAws_json1_0TableDescription = function (output, context) {
|
|
6420
6833
|
return {
|
|
6421
6834
|
ArchivalSummary: output.ArchivalSummary != null
|
package/dist-types/DynamoDB.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from ".
|
|
|
15
15
|
import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
|
|
16
16
|
import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput } from "./commands/DescribeGlobalTableCommand";
|
|
17
17
|
import { DescribeGlobalTableSettingsCommandInput, DescribeGlobalTableSettingsCommandOutput } from "./commands/DescribeGlobalTableSettingsCommand";
|
|
18
|
+
import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand";
|
|
18
19
|
import { DescribeKinesisStreamingDestinationCommandInput, DescribeKinesisStreamingDestinationCommandOutput } from "./commands/DescribeKinesisStreamingDestinationCommand";
|
|
19
20
|
import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
|
|
20
21
|
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
@@ -26,10 +27,12 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./c
|
|
|
26
27
|
import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
|
|
27
28
|
import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand";
|
|
28
29
|
import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand";
|
|
30
|
+
import { ImportTableCommandInput, ImportTableCommandOutput } from "./commands/ImportTableCommand";
|
|
29
31
|
import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand";
|
|
30
32
|
import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "./commands/ListContributorInsightsCommand";
|
|
31
33
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
32
34
|
import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "./commands/ListGlobalTablesCommand";
|
|
35
|
+
import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
|
|
33
36
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
34
37
|
import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand";
|
|
35
38
|
import { PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand";
|
|
@@ -457,6 +460,14 @@ export declare class DynamoDB extends DynamoDBClient {
|
|
|
457
460
|
describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeGlobalTableSettingsCommandOutput>;
|
|
458
461
|
describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void;
|
|
459
462
|
describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void;
|
|
463
|
+
/**
|
|
464
|
+
* <p>
|
|
465
|
+
* Represents the properties of the import.
|
|
466
|
+
* </p>
|
|
467
|
+
*/
|
|
468
|
+
describeImport(args: DescribeImportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImportCommandOutput>;
|
|
469
|
+
describeImport(args: DescribeImportCommandInput, cb: (err: any, data?: DescribeImportCommandOutput) => void): void;
|
|
470
|
+
describeImport(args: DescribeImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImportCommandOutput) => void): void;
|
|
460
471
|
/**
|
|
461
472
|
* <p>Returns information about the status of Kinesis streaming.</p>
|
|
462
473
|
*/
|
|
@@ -640,6 +651,15 @@ export declare class DynamoDB extends DynamoDBClient {
|
|
|
640
651
|
getItem(args: GetItemCommandInput, options?: __HttpHandlerOptions): Promise<GetItemCommandOutput>;
|
|
641
652
|
getItem(args: GetItemCommandInput, cb: (err: any, data?: GetItemCommandOutput) => void): void;
|
|
642
653
|
getItem(args: GetItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetItemCommandOutput) => void): void;
|
|
654
|
+
/**
|
|
655
|
+
* <p>
|
|
656
|
+
* Imports table data from an S3 bucket.
|
|
657
|
+
*
|
|
658
|
+
* </p>
|
|
659
|
+
*/
|
|
660
|
+
importTable(args: ImportTableCommandInput, options?: __HttpHandlerOptions): Promise<ImportTableCommandOutput>;
|
|
661
|
+
importTable(args: ImportTableCommandInput, cb: (err: any, data?: ImportTableCommandOutput) => void): void;
|
|
662
|
+
importTable(args: ImportTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportTableCommandOutput) => void): void;
|
|
643
663
|
/**
|
|
644
664
|
* <p>List backups associated with an Amazon Web Services account. To list backups for a
|
|
645
665
|
* given table, specify <code>TableName</code>. <code>ListBackups</code> returns a
|
|
@@ -675,6 +695,14 @@ export declare class DynamoDB extends DynamoDBClient {
|
|
|
675
695
|
listGlobalTables(args: ListGlobalTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListGlobalTablesCommandOutput>;
|
|
676
696
|
listGlobalTables(args: ListGlobalTablesCommandInput, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
|
|
677
697
|
listGlobalTables(args: ListGlobalTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
|
|
698
|
+
/**
|
|
699
|
+
* <p>
|
|
700
|
+
* Lists completed imports within the past 90 days.
|
|
701
|
+
* </p>
|
|
702
|
+
*/
|
|
703
|
+
listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportsCommandOutput>;
|
|
704
|
+
listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
|
|
705
|
+
listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
|
|
678
706
|
/**
|
|
679
707
|
* <p>Returns an array of table names associated with the current account and endpoint. The
|
|
680
708
|
* output from <code>ListTables</code> is paginated, with each page returning a maximum of
|