@aws-sdk/client-dynamodb 3.142.0 → 3.153.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 +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.153.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.152.0...v3.153.0) (2022-08-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-dynamodb:** This release adds support for importing data from S3 into a new DynamoDB table ([58a3e7a](https://github.com/aws/aws-sdk-js-v3/commit/58a3e7a2e5f45343d3ce203e69a49373046b87be))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-dynamodb
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-dynamodb
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
34
|
|
|
8
35
|
|
package/dist-cjs/DynamoDB.js
CHANGED
|
@@ -17,6 +17,7 @@ const DescribeEndpointsCommand_1 = require("./commands/DescribeEndpointsCommand"
|
|
|
17
17
|
const DescribeExportCommand_1 = require("./commands/DescribeExportCommand");
|
|
18
18
|
const DescribeGlobalTableCommand_1 = require("./commands/DescribeGlobalTableCommand");
|
|
19
19
|
const DescribeGlobalTableSettingsCommand_1 = require("./commands/DescribeGlobalTableSettingsCommand");
|
|
20
|
+
const DescribeImportCommand_1 = require("./commands/DescribeImportCommand");
|
|
20
21
|
const DescribeKinesisStreamingDestinationCommand_1 = require("./commands/DescribeKinesisStreamingDestinationCommand");
|
|
21
22
|
const DescribeLimitsCommand_1 = require("./commands/DescribeLimitsCommand");
|
|
22
23
|
const DescribeTableCommand_1 = require("./commands/DescribeTableCommand");
|
|
@@ -28,10 +29,12 @@ const ExecuteStatementCommand_1 = require("./commands/ExecuteStatementCommand");
|
|
|
28
29
|
const ExecuteTransactionCommand_1 = require("./commands/ExecuteTransactionCommand");
|
|
29
30
|
const ExportTableToPointInTimeCommand_1 = require("./commands/ExportTableToPointInTimeCommand");
|
|
30
31
|
const GetItemCommand_1 = require("./commands/GetItemCommand");
|
|
32
|
+
const ImportTableCommand_1 = require("./commands/ImportTableCommand");
|
|
31
33
|
const ListBackupsCommand_1 = require("./commands/ListBackupsCommand");
|
|
32
34
|
const ListContributorInsightsCommand_1 = require("./commands/ListContributorInsightsCommand");
|
|
33
35
|
const ListExportsCommand_1 = require("./commands/ListExportsCommand");
|
|
34
36
|
const ListGlobalTablesCommand_1 = require("./commands/ListGlobalTablesCommand");
|
|
37
|
+
const ListImportsCommand_1 = require("./commands/ListImportsCommand");
|
|
35
38
|
const ListTablesCommand_1 = require("./commands/ListTablesCommand");
|
|
36
39
|
const ListTagsOfResourceCommand_1 = require("./commands/ListTagsOfResourceCommand");
|
|
37
40
|
const PutItemCommand_1 = require("./commands/PutItemCommand");
|
|
@@ -277,6 +280,20 @@ class DynamoDB extends DynamoDBClient_1.DynamoDBClient {
|
|
|
277
280
|
return this.send(command, optionsOrCb);
|
|
278
281
|
}
|
|
279
282
|
}
|
|
283
|
+
describeImport(args, optionsOrCb, cb) {
|
|
284
|
+
const command = new DescribeImportCommand_1.DescribeImportCommand(args);
|
|
285
|
+
if (typeof optionsOrCb === "function") {
|
|
286
|
+
this.send(command, optionsOrCb);
|
|
287
|
+
}
|
|
288
|
+
else if (typeof cb === "function") {
|
|
289
|
+
if (typeof optionsOrCb !== "object")
|
|
290
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
return this.send(command, optionsOrCb);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
280
297
|
describeKinesisStreamingDestination(args, optionsOrCb, cb) {
|
|
281
298
|
const command = new DescribeKinesisStreamingDestinationCommand_1.DescribeKinesisStreamingDestinationCommand(args);
|
|
282
299
|
if (typeof optionsOrCb === "function") {
|
|
@@ -431,6 +448,20 @@ class DynamoDB extends DynamoDBClient_1.DynamoDBClient {
|
|
|
431
448
|
return this.send(command, optionsOrCb);
|
|
432
449
|
}
|
|
433
450
|
}
|
|
451
|
+
importTable(args, optionsOrCb, cb) {
|
|
452
|
+
const command = new ImportTableCommand_1.ImportTableCommand(args);
|
|
453
|
+
if (typeof optionsOrCb === "function") {
|
|
454
|
+
this.send(command, optionsOrCb);
|
|
455
|
+
}
|
|
456
|
+
else if (typeof cb === "function") {
|
|
457
|
+
if (typeof optionsOrCb !== "object")
|
|
458
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
459
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
460
|
+
}
|
|
461
|
+
else {
|
|
462
|
+
return this.send(command, optionsOrCb);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
434
465
|
listBackups(args, optionsOrCb, cb) {
|
|
435
466
|
const command = new ListBackupsCommand_1.ListBackupsCommand(args);
|
|
436
467
|
if (typeof optionsOrCb === "function") {
|
|
@@ -487,6 +518,20 @@ class DynamoDB extends DynamoDBClient_1.DynamoDBClient {
|
|
|
487
518
|
return this.send(command, optionsOrCb);
|
|
488
519
|
}
|
|
489
520
|
}
|
|
521
|
+
listImports(args, optionsOrCb, cb) {
|
|
522
|
+
const command = new ListImportsCommand_1.ListImportsCommand(args);
|
|
523
|
+
if (typeof optionsOrCb === "function") {
|
|
524
|
+
this.send(command, optionsOrCb);
|
|
525
|
+
}
|
|
526
|
+
else if (typeof cb === "function") {
|
|
527
|
+
if (typeof optionsOrCb !== "object")
|
|
528
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
529
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
return this.send(command, optionsOrCb);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
490
535
|
listTables(args, optionsOrCb, cb) {
|
|
491
536
|
const command = new ListTablesCommand_1.ListTablesCommand(args);
|
|
492
537
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeImportCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class DescribeImportCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DynamoDBClient";
|
|
18
|
+
const commandName = "DescribeImportCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeImportInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeImportOutputFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DescribeImportCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeImportCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeImportCommand = DescribeImportCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImportTableCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class ImportTableCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DynamoDBClient";
|
|
18
|
+
const commandName = "ImportTableCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ImportTableInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ImportTableOutputFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0ImportTableCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0ImportTableCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ImportTableCommand = ImportTableCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListImportsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class ListImportsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DynamoDBClient";
|
|
18
|
+
const commandName = "ListImportsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListImportsInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListImportsOutputFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0ListImportsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0ListImportsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListImportsCommand = ListImportsCommand;
|
|
@@ -17,6 +17,7 @@ tslib_1.__exportStar(require("./DescribeEndpointsCommand"), exports);
|
|
|
17
17
|
tslib_1.__exportStar(require("./DescribeExportCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./DescribeGlobalTableCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./DescribeGlobalTableSettingsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DescribeImportCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./DescribeKinesisStreamingDestinationCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./DescribeLimitsCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./DescribeTableCommand"), exports);
|
|
@@ -28,10 +29,12 @@ tslib_1.__exportStar(require("./ExecuteStatementCommand"), exports);
|
|
|
28
29
|
tslib_1.__exportStar(require("./ExecuteTransactionCommand"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./ExportTableToPointInTimeCommand"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./GetItemCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ImportTableCommand"), exports);
|
|
31
33
|
tslib_1.__exportStar(require("./ListBackupsCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./ListContributorInsightsCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./ListExportsCommand"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./ListGlobalTablesCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./ListImportsCommand"), exports);
|
|
35
38
|
tslib_1.__exportStar(require("./ListTablesCommand"), exports);
|
|
36
39
|
tslib_1.__exportStar(require("./ListTagsOfResourceCommand"), exports);
|
|
37
40
|
tslib_1.__exportStar(require("./PutItemCommand"), exports);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.TransactWriteItemsInputFilterSensitiveLog = exports.TransactWriteItemFilterSensitiveLog = exports.UpdateItemInputFilterSensitiveLog = exports.BatchWriteItemOutputFilterSensitiveLog = exports.QueryInputFilterSensitiveLog = exports.PutItemInputFilterSensitiveLog = exports.DeleteItemInputFilterSensitiveLog = exports.BatchWriteItemInputFilterSensitiveLog = exports.ScanInputFilterSensitiveLog = exports.BatchGetItemOutputFilterSensitiveLog = exports.WriteRequestFilterSensitiveLog = exports.UpdateItemOutputFilterSensitiveLog = exports.ScanOutputFilterSensitiveLog = exports.QueryOutputFilterSensitiveLog = exports.PutItemOutputFilterSensitiveLog = exports.ExecuteStatementOutputFilterSensitiveLog = exports.DeleteItemOutputFilterSensitiveLog = exports.UpdateFilterSensitiveLog = exports.PutFilterSensitiveLog = exports.DeleteFilterSensitiveLog = exports.ConditionCheckFilterSensitiveLog = exports.TransactWriteItemsOutputFilterSensitiveLog = exports.TransactGetItemsInputFilterSensitiveLog = exports.ExpectedAttributeValueFilterSensitiveLog = exports.BatchGetItemInputFilterSensitiveLog = exports.TransactGetItemsOutputFilterSensitiveLog = exports.ExecuteTransactionOutputFilterSensitiveLog = exports.ExecuteTransactionInputFilterSensitiveLog = void 0;
|
|
3
|
+
exports.AutoScalingSettingsUpdateFilterSensitiveLog = exports.AutoScalingSettingsDescriptionFilterSensitiveLog = exports.AutoScalingPolicyUpdateFilterSensitiveLog = exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdateFilterSensitiveLog = exports.AutoScalingPolicyDescriptionFilterSensitiveLog = exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionFilterSensitiveLog = exports.AttributeDefinitionFilterSensitiveLog = exports.ArchivalSummaryFilterSensitiveLog = exports.TransactionCanceledException = exports.AttributeValue = exports.IndexNotFoundException = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.ImportConflictException = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.ImportNotFoundException = exports.InputFormat = exports.InputCompressionType = exports.ImportStatus = exports.GlobalTableNotFoundException = exports.ExportNotFoundException = exports.ExportStatus = exports.ExportFormat = exports.TransactionConflictException = exports.ResourceInUseException = exports.GlobalTableAlreadyExistsException = exports.TableClass = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.ContinuousBackupsUnavailableException = exports.ConditionalCheckFailedException = exports.ItemCollectionSizeLimitExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementErrorCodeEnum = exports.BackupTypeFilter = exports.BackupNotFoundException = exports.BackupInUseException = exports.BackupType = void 0;
|
|
4
|
+
exports.DeleteReplicaActionFilterSensitiveLog = exports.DeleteGlobalSecondaryIndexActionFilterSensitiveLog = exports.DeleteBackupOutputFilterSensitiveLog = exports.DeleteBackupInputFilterSensitiveLog = exports.CsvOptionsFilterSensitiveLog = exports.CreateTableOutputFilterSensitiveLog = exports.TableDescriptionFilterSensitiveLog = exports.RestoreSummaryFilterSensitiveLog = exports.LocalSecondaryIndexDescriptionFilterSensitiveLog = exports.GlobalSecondaryIndexDescriptionFilterSensitiveLog = exports.ProvisionedThroughputDescriptionFilterSensitiveLog = exports.CreateTableInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.SSESpecificationFilterSensitiveLog = exports.LocalSecondaryIndexFilterSensitiveLog = exports.GlobalSecondaryIndexFilterSensitiveLog = exports.CreateReplicationGroupMemberActionFilterSensitiveLog = exports.ReplicaGlobalSecondaryIndexFilterSensitiveLog = exports.CreateReplicaActionFilterSensitiveLog = exports.CreateGlobalTableOutputFilterSensitiveLog = exports.GlobalTableDescriptionFilterSensitiveLog = exports.ReplicaDescriptionFilterSensitiveLog = exports.TableClassSummaryFilterSensitiveLog = exports.ReplicaGlobalSecondaryIndexDescriptionFilterSensitiveLog = exports.ProvisionedThroughputOverrideFilterSensitiveLog = exports.CreateGlobalTableInputFilterSensitiveLog = exports.ReplicaFilterSensitiveLog = exports.CreateGlobalSecondaryIndexActionFilterSensitiveLog = exports.CreateBackupOutputFilterSensitiveLog = exports.CreateBackupInputFilterSensitiveLog = exports.ContributorInsightsSummaryFilterSensitiveLog = exports.ContinuousBackupsDescriptionFilterSensitiveLog = exports.PointInTimeRecoveryDescriptionFilterSensitiveLog = exports.BillingModeSummaryFilterSensitiveLog = exports.BatchStatementErrorFilterSensitiveLog = exports.ConsumedCapacityFilterSensitiveLog = exports.CapacityFilterSensitiveLog = exports.BackupSummaryFilterSensitiveLog = exports.BackupDescriptionFilterSensitiveLog = exports.SourceTableFeatureDetailsFilterSensitiveLog = exports.TimeToLiveDescriptionFilterSensitiveLog = exports.StreamSpecificationFilterSensitiveLog = exports.SSEDescriptionFilterSensitiveLog = exports.LocalSecondaryIndexInfoFilterSensitiveLog = exports.GlobalSecondaryIndexInfoFilterSensitiveLog = exports.ProjectionFilterSensitiveLog = exports.SourceTableDetailsFilterSensitiveLog = exports.ProvisionedThroughputFilterSensitiveLog = exports.KeySchemaElementFilterSensitiveLog = exports.BackupDetailsFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ListBackupsOutputFilterSensitiveLog = exports.ListBackupsInputFilterSensitiveLog = exports.ImportTableOutputFilterSensitiveLog = exports.ImportTableInputFilterSensitiveLog = exports.ExportTableToPointInTimeOutputFilterSensitiveLog = exports.ExportTableToPointInTimeInputFilterSensitiveLog = exports.KinesisStreamingDestinationOutputFilterSensitiveLog = exports.KinesisStreamingDestinationInputFilterSensitiveLog = exports.DescribeTimeToLiveOutputFilterSensitiveLog = exports.DescribeTimeToLiveInputFilterSensitiveLog = exports.DescribeTableReplicaAutoScalingOutputFilterSensitiveLog = exports.TableAutoScalingDescriptionFilterSensitiveLog = exports.ReplicaAutoScalingDescriptionFilterSensitiveLog = exports.ReplicaGlobalSecondaryIndexAutoScalingDescriptionFilterSensitiveLog = exports.DescribeTableReplicaAutoScalingInputFilterSensitiveLog = exports.DescribeTableOutputFilterSensitiveLog = exports.DescribeTableInputFilterSensitiveLog = exports.DescribeLimitsOutputFilterSensitiveLog = exports.DescribeLimitsInputFilterSensitiveLog = exports.DescribeKinesisStreamingDestinationOutputFilterSensitiveLog = exports.KinesisDataStreamDestinationFilterSensitiveLog = exports.DescribeKinesisStreamingDestinationInputFilterSensitiveLog = exports.DescribeImportOutputFilterSensitiveLog = exports.ImportTableDescriptionFilterSensitiveLog = exports.TableCreationParametersFilterSensitiveLog = exports.S3BucketSourceFilterSensitiveLog = exports.InputFormatOptionsFilterSensitiveLog = exports.DescribeImportInputFilterSensitiveLog = exports.DescribeGlobalTableSettingsOutputFilterSensitiveLog = exports.ReplicaSettingsDescriptionFilterSensitiveLog = exports.ReplicaGlobalSecondaryIndexSettingsDescriptionFilterSensitiveLog = exports.DescribeGlobalTableSettingsInputFilterSensitiveLog = exports.DescribeGlobalTableOutputFilterSensitiveLog = exports.DescribeGlobalTableInputFilterSensitiveLog = exports.DescribeExportOutputFilterSensitiveLog = exports.ExportDescriptionFilterSensitiveLog = exports.DescribeExportInputFilterSensitiveLog = exports.DescribeEndpointsResponseFilterSensitiveLog = exports.EndpointFilterSensitiveLog = exports.DescribeEndpointsRequestFilterSensitiveLog = exports.DescribeContributorInsightsOutputFilterSensitiveLog = exports.FailureExceptionFilterSensitiveLog = exports.DescribeContributorInsightsInputFilterSensitiveLog = exports.DescribeContinuousBackupsOutputFilterSensitiveLog = exports.DescribeContinuousBackupsInputFilterSensitiveLog = exports.DescribeBackupOutputFilterSensitiveLog = exports.DescribeBackupInputFilterSensitiveLog = exports.DeleteTableOutputFilterSensitiveLog = exports.DeleteTableInputFilterSensitiveLog = exports.DeleteReplicationGroupMemberActionFilterSensitiveLog = void 0;
|
|
6
|
+
exports.AttributeValueUpdateFilterSensitiveLog = exports.AttributeValueFilterSensitiveLog = exports.UpdateTimeToLiveOutputFilterSensitiveLog = exports.UpdateTimeToLiveInputFilterSensitiveLog = exports.TimeToLiveSpecificationFilterSensitiveLog = exports.UpdateTableReplicaAutoScalingOutputFilterSensitiveLog = exports.UpdateTableReplicaAutoScalingInputFilterSensitiveLog = exports.ReplicaAutoScalingUpdateFilterSensitiveLog = exports.ReplicaGlobalSecondaryIndexAutoScalingUpdateFilterSensitiveLog = exports.GlobalSecondaryIndexAutoScalingUpdateFilterSensitiveLog = exports.UpdateTableOutputFilterSensitiveLog = exports.UpdateTableInputFilterSensitiveLog = exports.ReplicationGroupUpdateFilterSensitiveLog = exports.UpdateReplicationGroupMemberActionFilterSensitiveLog = exports.GlobalSecondaryIndexUpdateFilterSensitiveLog = exports.UpdateGlobalSecondaryIndexActionFilterSensitiveLog = exports.UpdateGlobalTableSettingsOutputFilterSensitiveLog = exports.UpdateGlobalTableSettingsInputFilterSensitiveLog = exports.ReplicaSettingsUpdateFilterSensitiveLog = exports.ReplicaGlobalSecondaryIndexSettingsUpdateFilterSensitiveLog = exports.GlobalTableGlobalSecondaryIndexSettingsUpdateFilterSensitiveLog = exports.UpdateGlobalTableOutputFilterSensitiveLog = exports.UpdateGlobalTableInputFilterSensitiveLog = exports.ReplicaUpdateFilterSensitiveLog = exports.UpdateContributorInsightsOutputFilterSensitiveLog = exports.UpdateContributorInsightsInputFilterSensitiveLog = exports.UpdateContinuousBackupsOutputFilterSensitiveLog = exports.UpdateContinuousBackupsInputFilterSensitiveLog = exports.PointInTimeRecoverySpecificationFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.RestoreTableToPointInTimeOutputFilterSensitiveLog = exports.RestoreTableToPointInTimeInputFilterSensitiveLog = exports.RestoreTableFromBackupOutputFilterSensitiveLog = exports.RestoreTableFromBackupInputFilterSensitiveLog = exports.ListTagsOfResourceOutputFilterSensitiveLog = exports.ListTagsOfResourceInputFilterSensitiveLog = exports.ListTablesOutputFilterSensitiveLog = exports.ListTablesInputFilterSensitiveLog = exports.ListImportsOutputFilterSensitiveLog = exports.ImportSummaryFilterSensitiveLog = exports.ListImportsInputFilterSensitiveLog = exports.ListGlobalTablesOutputFilterSensitiveLog = exports.GlobalTableFilterSensitiveLog = exports.ListGlobalTablesInputFilterSensitiveLog = exports.ListExportsOutputFilterSensitiveLog = exports.ExportSummaryFilterSensitiveLog = exports.ListExportsInputFilterSensitiveLog = exports.ListContributorInsightsOutputFilterSensitiveLog = exports.ListContributorInsightsInputFilterSensitiveLog = void 0;
|
|
7
|
+
exports.TransactWriteItemsInputFilterSensitiveLog = exports.TransactWriteItemFilterSensitiveLog = exports.UpdateItemInputFilterSensitiveLog = exports.BatchWriteItemOutputFilterSensitiveLog = exports.QueryInputFilterSensitiveLog = exports.PutItemInputFilterSensitiveLog = exports.DeleteItemInputFilterSensitiveLog = exports.BatchWriteItemInputFilterSensitiveLog = exports.ScanInputFilterSensitiveLog = exports.BatchGetItemOutputFilterSensitiveLog = exports.WriteRequestFilterSensitiveLog = exports.UpdateItemOutputFilterSensitiveLog = exports.ScanOutputFilterSensitiveLog = exports.QueryOutputFilterSensitiveLog = exports.PutItemOutputFilterSensitiveLog = exports.ExecuteStatementOutputFilterSensitiveLog = exports.DeleteItemOutputFilterSensitiveLog = exports.UpdateFilterSensitiveLog = exports.PutFilterSensitiveLog = exports.DeleteFilterSensitiveLog = exports.ConditionCheckFilterSensitiveLog = exports.TransactWriteItemsOutputFilterSensitiveLog = exports.TransactGetItemsInputFilterSensitiveLog = exports.ExpectedAttributeValueFilterSensitiveLog = exports.BatchGetItemInputFilterSensitiveLog = exports.TransactGetItemsOutputFilterSensitiveLog = exports.ExecuteTransactionOutputFilterSensitiveLog = exports.ExecuteTransactionInputFilterSensitiveLog = exports.BatchExecuteStatementOutputFilterSensitiveLog = exports.BatchExecuteStatementInputFilterSensitiveLog = exports.TransactGetItemFilterSensitiveLog = exports.KeysAndAttributesFilterSensitiveLog = exports.PutRequestFilterSensitiveLog = exports.ParameterizedStatementFilterSensitiveLog = exports.ItemResponseFilterSensitiveLog = exports.ItemCollectionMetricsFilterSensitiveLog = exports.GetItemOutputFilterSensitiveLog = exports.GetItemInputFilterSensitiveLog = exports.GetFilterSensitiveLog = exports.ExecuteStatementInputFilterSensitiveLog = exports.DeleteRequestFilterSensitiveLog = exports.ConditionFilterSensitiveLog = exports.CancellationReasonFilterSensitiveLog = exports.BatchStatementResponseFilterSensitiveLog = exports.BatchStatementRequestFilterSensitiveLog = void 0;
|
|
8
8
|
const DynamoDBServiceException_1 = require("./DynamoDBServiceException");
|
|
9
9
|
var BackupType;
|
|
10
10
|
(function (BackupType) {
|
|
@@ -284,6 +284,39 @@ class GlobalTableNotFoundException extends DynamoDBServiceException_1.DynamoDBSe
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
exports.GlobalTableNotFoundException = GlobalTableNotFoundException;
|
|
287
|
+
var ImportStatus;
|
|
288
|
+
(function (ImportStatus) {
|
|
289
|
+
ImportStatus["CANCELLED"] = "CANCELLED";
|
|
290
|
+
ImportStatus["CANCELLING"] = "CANCELLING";
|
|
291
|
+
ImportStatus["COMPLETED"] = "COMPLETED";
|
|
292
|
+
ImportStatus["FAILED"] = "FAILED";
|
|
293
|
+
ImportStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
294
|
+
})(ImportStatus = exports.ImportStatus || (exports.ImportStatus = {}));
|
|
295
|
+
var InputCompressionType;
|
|
296
|
+
(function (InputCompressionType) {
|
|
297
|
+
InputCompressionType["GZIP"] = "GZIP";
|
|
298
|
+
InputCompressionType["NONE"] = "NONE";
|
|
299
|
+
InputCompressionType["ZSTD"] = "ZSTD";
|
|
300
|
+
})(InputCompressionType = exports.InputCompressionType || (exports.InputCompressionType = {}));
|
|
301
|
+
var InputFormat;
|
|
302
|
+
(function (InputFormat) {
|
|
303
|
+
InputFormat["CSV"] = "CSV";
|
|
304
|
+
InputFormat["DYNAMODB_JSON"] = "DYNAMODB_JSON";
|
|
305
|
+
InputFormat["ION"] = "ION";
|
|
306
|
+
})(InputFormat = exports.InputFormat || (exports.InputFormat = {}));
|
|
307
|
+
class ImportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
|
|
308
|
+
constructor(opts) {
|
|
309
|
+
super({
|
|
310
|
+
name: "ImportNotFoundException",
|
|
311
|
+
$fault: "client",
|
|
312
|
+
...opts,
|
|
313
|
+
});
|
|
314
|
+
this.name = "ImportNotFoundException";
|
|
315
|
+
this.$fault = "client";
|
|
316
|
+
Object.setPrototypeOf(this, ImportNotFoundException.prototype);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
exports.ImportNotFoundException = ImportNotFoundException;
|
|
287
320
|
class DuplicateItemException extends DynamoDBServiceException_1.DynamoDBServiceException {
|
|
288
321
|
constructor(opts) {
|
|
289
322
|
super({
|
|
@@ -364,6 +397,19 @@ class PointInTimeRecoveryUnavailableException extends DynamoDBServiceException_1
|
|
|
364
397
|
}
|
|
365
398
|
}
|
|
366
399
|
exports.PointInTimeRecoveryUnavailableException = PointInTimeRecoveryUnavailableException;
|
|
400
|
+
class ImportConflictException extends DynamoDBServiceException_1.DynamoDBServiceException {
|
|
401
|
+
constructor(opts) {
|
|
402
|
+
super({
|
|
403
|
+
name: "ImportConflictException",
|
|
404
|
+
$fault: "client",
|
|
405
|
+
...opts,
|
|
406
|
+
});
|
|
407
|
+
this.name = "ImportConflictException";
|
|
408
|
+
this.$fault = "client";
|
|
409
|
+
Object.setPrototypeOf(this, ImportConflictException.prototype);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
exports.ImportConflictException = ImportConflictException;
|
|
367
413
|
class TableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
|
|
368
414
|
constructor(opts) {
|
|
369
415
|
super({
|
|
@@ -682,6 +728,10 @@ const CreateTableOutputFilterSensitiveLog = (obj) => ({
|
|
|
682
728
|
...obj,
|
|
683
729
|
});
|
|
684
730
|
exports.CreateTableOutputFilterSensitiveLog = CreateTableOutputFilterSensitiveLog;
|
|
731
|
+
const CsvOptionsFilterSensitiveLog = (obj) => ({
|
|
732
|
+
...obj,
|
|
733
|
+
});
|
|
734
|
+
exports.CsvOptionsFilterSensitiveLog = CsvOptionsFilterSensitiveLog;
|
|
685
735
|
const DeleteBackupInputFilterSensitiveLog = (obj) => ({
|
|
686
736
|
...obj,
|
|
687
737
|
});
|
|
@@ -786,6 +836,30 @@ const DescribeGlobalTableSettingsOutputFilterSensitiveLog = (obj) => ({
|
|
|
786
836
|
...obj,
|
|
787
837
|
});
|
|
788
838
|
exports.DescribeGlobalTableSettingsOutputFilterSensitiveLog = DescribeGlobalTableSettingsOutputFilterSensitiveLog;
|
|
839
|
+
const DescribeImportInputFilterSensitiveLog = (obj) => ({
|
|
840
|
+
...obj,
|
|
841
|
+
});
|
|
842
|
+
exports.DescribeImportInputFilterSensitiveLog = DescribeImportInputFilterSensitiveLog;
|
|
843
|
+
const InputFormatOptionsFilterSensitiveLog = (obj) => ({
|
|
844
|
+
...obj,
|
|
845
|
+
});
|
|
846
|
+
exports.InputFormatOptionsFilterSensitiveLog = InputFormatOptionsFilterSensitiveLog;
|
|
847
|
+
const S3BucketSourceFilterSensitiveLog = (obj) => ({
|
|
848
|
+
...obj,
|
|
849
|
+
});
|
|
850
|
+
exports.S3BucketSourceFilterSensitiveLog = S3BucketSourceFilterSensitiveLog;
|
|
851
|
+
const TableCreationParametersFilterSensitiveLog = (obj) => ({
|
|
852
|
+
...obj,
|
|
853
|
+
});
|
|
854
|
+
exports.TableCreationParametersFilterSensitiveLog = TableCreationParametersFilterSensitiveLog;
|
|
855
|
+
const ImportTableDescriptionFilterSensitiveLog = (obj) => ({
|
|
856
|
+
...obj,
|
|
857
|
+
});
|
|
858
|
+
exports.ImportTableDescriptionFilterSensitiveLog = ImportTableDescriptionFilterSensitiveLog;
|
|
859
|
+
const DescribeImportOutputFilterSensitiveLog = (obj) => ({
|
|
860
|
+
...obj,
|
|
861
|
+
});
|
|
862
|
+
exports.DescribeImportOutputFilterSensitiveLog = DescribeImportOutputFilterSensitiveLog;
|
|
789
863
|
const DescribeKinesisStreamingDestinationInputFilterSensitiveLog = (obj) => ({
|
|
790
864
|
...obj,
|
|
791
865
|
});
|
|
@@ -858,6 +932,14 @@ const ExportTableToPointInTimeOutputFilterSensitiveLog = (obj) => ({
|
|
|
858
932
|
...obj,
|
|
859
933
|
});
|
|
860
934
|
exports.ExportTableToPointInTimeOutputFilterSensitiveLog = ExportTableToPointInTimeOutputFilterSensitiveLog;
|
|
935
|
+
const ImportTableInputFilterSensitiveLog = (obj) => ({
|
|
936
|
+
...obj,
|
|
937
|
+
});
|
|
938
|
+
exports.ImportTableInputFilterSensitiveLog = ImportTableInputFilterSensitiveLog;
|
|
939
|
+
const ImportTableOutputFilterSensitiveLog = (obj) => ({
|
|
940
|
+
...obj,
|
|
941
|
+
});
|
|
942
|
+
exports.ImportTableOutputFilterSensitiveLog = ImportTableOutputFilterSensitiveLog;
|
|
861
943
|
const ListBackupsInputFilterSensitiveLog = (obj) => ({
|
|
862
944
|
...obj,
|
|
863
945
|
});
|
|
@@ -898,6 +980,18 @@ const ListGlobalTablesOutputFilterSensitiveLog = (obj) => ({
|
|
|
898
980
|
...obj,
|
|
899
981
|
});
|
|
900
982
|
exports.ListGlobalTablesOutputFilterSensitiveLog = ListGlobalTablesOutputFilterSensitiveLog;
|
|
983
|
+
const ListImportsInputFilterSensitiveLog = (obj) => ({
|
|
984
|
+
...obj,
|
|
985
|
+
});
|
|
986
|
+
exports.ListImportsInputFilterSensitiveLog = ListImportsInputFilterSensitiveLog;
|
|
987
|
+
const ImportSummaryFilterSensitiveLog = (obj) => ({
|
|
988
|
+
...obj,
|
|
989
|
+
});
|
|
990
|
+
exports.ImportSummaryFilterSensitiveLog = ImportSummaryFilterSensitiveLog;
|
|
991
|
+
const ListImportsOutputFilterSensitiveLog = (obj) => ({
|
|
992
|
+
...obj,
|
|
993
|
+
});
|
|
994
|
+
exports.ListImportsOutputFilterSensitiveLog = ListImportsOutputFilterSensitiveLog;
|
|
901
995
|
const ListTablesInputFilterSensitiveLog = (obj) => ({
|
|
902
996
|
...obj,
|
|
903
997
|
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListImports = void 0;
|
|
4
|
+
const ListImportsCommand_1 = require("../commands/ListImportsCommand");
|
|
5
|
+
const DynamoDB_1 = require("../DynamoDB");
|
|
6
|
+
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListImportsCommand_1.ListImportsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listImports(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListImports(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["PageSize"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof DynamoDB_1.DynamoDB) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListImports = paginateListImports;
|
|
@@ -4,6 +4,7 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./ListContributorInsightsPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListExportsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListImportsPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ListTablesPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./QueryPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ScanPaginator"), exports);
|