@aws-sdk/client-dynamodb 3.477.0 → 3.481.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/commands/BatchExecuteStatementCommand.js +18 -41
- package/dist-cjs/commands/BatchGetItemCommand.js +18 -41
- package/dist-cjs/commands/BatchWriteItemCommand.js +18 -41
- package/dist-cjs/commands/CreateBackupCommand.js +18 -41
- package/dist-cjs/commands/CreateGlobalTableCommand.js +18 -41
- package/dist-cjs/commands/CreateTableCommand.js +18 -41
- package/dist-cjs/commands/DeleteBackupCommand.js +18 -41
- package/dist-cjs/commands/DeleteItemCommand.js +18 -41
- package/dist-cjs/commands/DeleteTableCommand.js +18 -41
- package/dist-cjs/commands/DescribeBackupCommand.js +18 -41
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +18 -41
- package/dist-cjs/commands/DescribeEndpointsCommand.js +18 -41
- package/dist-cjs/commands/DescribeExportCommand.js +18 -41
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +18 -41
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +18 -41
- package/dist-cjs/commands/DescribeImportCommand.js +18 -41
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +18 -41
- package/dist-cjs/commands/DescribeLimitsCommand.js +18 -41
- package/dist-cjs/commands/DescribeTableCommand.js +18 -41
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +18 -41
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +18 -41
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +18 -41
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +18 -41
- package/dist-cjs/commands/ExecuteStatementCommand.js +18 -41
- package/dist-cjs/commands/ExecuteTransactionCommand.js +18 -41
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +18 -41
- package/dist-cjs/commands/GetItemCommand.js +18 -41
- package/dist-cjs/commands/ImportTableCommand.js +18 -41
- package/dist-cjs/commands/ListBackupsCommand.js +18 -41
- package/dist-cjs/commands/ListContributorInsightsCommand.js +18 -41
- package/dist-cjs/commands/ListExportsCommand.js +18 -41
- package/dist-cjs/commands/ListGlobalTablesCommand.js +18 -41
- package/dist-cjs/commands/ListImportsCommand.js +18 -41
- package/dist-cjs/commands/ListTablesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +18 -41
- package/dist-cjs/commands/PutItemCommand.js +18 -41
- package/dist-cjs/commands/QueryCommand.js +18 -41
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +18 -41
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +18 -41
- package/dist-cjs/commands/ScanCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TransactGetItemsCommand.js +18 -41
- package/dist-cjs/commands/TransactWriteItemsCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +18 -41
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +18 -41
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +18 -41
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +18 -41
- package/dist-cjs/commands/UpdateItemCommand.js +18 -41
- package/dist-cjs/commands/UpdateTableCommand.js +18 -41
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +18 -41
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListContributorInsightsPaginator.js +2 -24
- package/dist-cjs/pagination/ListExportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTablesPaginator.js +2 -24
- package/dist-cjs/pagination/QueryPaginator.js +2 -24
- package/dist-cjs/pagination/ScanPaginator.js +2 -24
- package/dist-es/commands/BatchExecuteStatementCommand.js +18 -41
- package/dist-es/commands/BatchGetItemCommand.js +18 -41
- package/dist-es/commands/BatchWriteItemCommand.js +18 -41
- package/dist-es/commands/CreateBackupCommand.js +18 -41
- package/dist-es/commands/CreateGlobalTableCommand.js +18 -41
- package/dist-es/commands/CreateTableCommand.js +18 -41
- package/dist-es/commands/DeleteBackupCommand.js +18 -41
- package/dist-es/commands/DeleteItemCommand.js +18 -41
- package/dist-es/commands/DeleteTableCommand.js +18 -41
- package/dist-es/commands/DescribeBackupCommand.js +18 -41
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +18 -41
- package/dist-es/commands/DescribeContributorInsightsCommand.js +18 -41
- package/dist-es/commands/DescribeEndpointsCommand.js +18 -41
- package/dist-es/commands/DescribeExportCommand.js +18 -41
- package/dist-es/commands/DescribeGlobalTableCommand.js +18 -41
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +18 -41
- package/dist-es/commands/DescribeImportCommand.js +18 -41
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +18 -41
- package/dist-es/commands/DescribeLimitsCommand.js +18 -41
- package/dist-es/commands/DescribeTableCommand.js +18 -41
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +18 -41
- package/dist-es/commands/DescribeTimeToLiveCommand.js +18 -41
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +18 -41
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +18 -41
- package/dist-es/commands/ExecuteStatementCommand.js +18 -41
- package/dist-es/commands/ExecuteTransactionCommand.js +18 -41
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +18 -41
- package/dist-es/commands/GetItemCommand.js +18 -41
- package/dist-es/commands/ImportTableCommand.js +18 -41
- package/dist-es/commands/ListBackupsCommand.js +18 -41
- package/dist-es/commands/ListContributorInsightsCommand.js +18 -41
- package/dist-es/commands/ListExportsCommand.js +18 -41
- package/dist-es/commands/ListGlobalTablesCommand.js +18 -41
- package/dist-es/commands/ListImportsCommand.js +18 -41
- package/dist-es/commands/ListTablesCommand.js +18 -41
- package/dist-es/commands/ListTagsOfResourceCommand.js +18 -41
- package/dist-es/commands/PutItemCommand.js +18 -41
- package/dist-es/commands/QueryCommand.js +18 -41
- package/dist-es/commands/RestoreTableFromBackupCommand.js +18 -41
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +18 -41
- package/dist-es/commands/ScanCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TransactGetItemsCommand.js +18 -41
- package/dist-es/commands/TransactWriteItemsCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +18 -41
- package/dist-es/commands/UpdateContributorInsightsCommand.js +18 -41
- package/dist-es/commands/UpdateGlobalTableCommand.js +18 -41
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +18 -41
- package/dist-es/commands/UpdateItemCommand.js +18 -41
- package/dist-es/commands/UpdateTableCommand.js +18 -41
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +18 -41
- package/dist-es/commands/UpdateTimeToLiveCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListContributorInsightsPaginator.js +2 -23
- package/dist-es/pagination/ListExportsPaginator.js +2 -23
- package/dist-es/pagination/ListImportsPaginator.js +2 -23
- package/dist-es/pagination/ListTablesPaginator.js +2 -23
- package/dist-es/pagination/QueryPaginator.js +2 -23
- package/dist-es/pagination/ScanPaginator.js +2 -23
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetItemCommand.d.ts +6 -21
- package/dist-types/commands/BatchWriteItemCommand.d.ts +6 -21
- package/dist-types/commands/CreateBackupCommand.d.ts +6 -21
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +6 -21
- package/dist-types/commands/CreateTableCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBackupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteItemCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTableCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBackupCommand.d.ts +6 -21
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeExportCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeImportCommand.d.ts +6 -21
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTableCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +6 -21
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +6 -21
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +6 -21
- package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -21
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +6 -21
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +6 -21
- package/dist-types/commands/GetItemCommand.d.ts +6 -21
- package/dist-types/commands/ImportTableCommand.d.ts +6 -21
- package/dist-types/commands/ListBackupsCommand.d.ts +6 -21
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +6 -21
- package/dist-types/commands/ListExportsCommand.d.ts +6 -21
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +6 -21
- package/dist-types/commands/ListImportsCommand.d.ts +6 -21
- package/dist-types/commands/ListTablesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutItemCommand.d.ts +6 -21
- package/dist-types/commands/QueryCommand.d.ts +6 -21
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +6 -21
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +6 -21
- package/dist-types/commands/ScanCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TransactGetItemsCommand.d.ts +6 -21
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateItemCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTableCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
- package/dist-types/pagination/QueryPaginator.d.ts +1 -1
- package/dist-types/pagination/ScanPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImports = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImportsCommand_1 = require("../commands/ListImportsCommand");
|
|
5
6
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImportsCommand_1.ListImportsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImports(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImports = paginateListImports;
|
|
7
|
+
exports.paginateListImports = (0, core_1.createPaginator)(DynamoDBClient_1.DynamoDBClient, ListImportsCommand_1.ListImportsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTables = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTablesCommand_1 = require("../commands/ListTablesCommand");
|
|
5
6
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTablesCommand_1.ListTablesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTables(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.ExclusiveStartTableName = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.LastEvaluatedTableName;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTables = paginateListTables;
|
|
7
|
+
exports.paginateListTables = (0, core_1.createPaginator)(DynamoDBClient_1.DynamoDBClient, ListTablesCommand_1.ListTablesCommand, "ExclusiveStartTableName", "LastEvaluatedTableName", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateQuery = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const QueryCommand_1 = require("../commands/QueryCommand");
|
|
5
6
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new QueryCommand_1.QueryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateQuery(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.ExclusiveStartKey = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.LastEvaluatedKey;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateQuery = paginateQuery;
|
|
7
|
+
exports.paginateQuery = (0, core_1.createPaginator)(DynamoDBClient_1.DynamoDBClient, QueryCommand_1.QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateScan = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ScanCommand_1 = require("../commands/ScanCommand");
|
|
5
6
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ScanCommand_1.ScanCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateScan(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.ExclusiveStartKey = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.LastEvaluatedKey;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateScan = paginateScan;
|
|
7
|
+
exports.paginateScan = (0, core_1.createPaginator)(DynamoDBClient_1.DynamoDBClient, ScanCommand_1.ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchExecuteStatementCommand, se_BatchExecuteStatementCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchExecuteStatementCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DynamoDBClient";
|
|
26
|
-
const commandName = "BatchExecuteStatementCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DynamoDB_20120810",
|
|
35
|
-
operation: "BatchExecuteStatement",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchExecuteStatementCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchExecuteStatementCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchExecuteStatementCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "BatchExecuteStatement", {})
|
|
19
|
+
.n("DynamoDBClient", "BatchExecuteStatementCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchExecuteStatementCommand)
|
|
22
|
+
.de(de_BatchExecuteStatementCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchGetItemCommand, se_BatchGetItemCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchGetItemCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DynamoDBClient";
|
|
26
|
-
const commandName = "BatchGetItemCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DynamoDB_20120810",
|
|
35
|
-
operation: "BatchGetItem",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchGetItemCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchGetItemCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchGetItemCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "BatchGetItem", {})
|
|
19
|
+
.n("DynamoDBClient", "BatchGetItemCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchGetItemCommand)
|
|
22
|
+
.de(de_BatchGetItemCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchWriteItemCommand, se_BatchWriteItemCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchWriteItemCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DynamoDBClient";
|
|
26
|
-
const commandName = "BatchWriteItemCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DynamoDB_20120810",
|
|
35
|
-
operation: "BatchWriteItem",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchWriteItemCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchWriteItemCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchWriteItemCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "BatchWriteItem", {})
|
|
19
|
+
.n("DynamoDBClient", "BatchWriteItemCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchWriteItemCommand)
|
|
22
|
+
.de(de_BatchWriteItemCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateBackupCommand, se_CreateBackupCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateBackupCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DynamoDBClient";
|
|
26
|
-
const commandName = "CreateBackupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DynamoDB_20120810",
|
|
35
|
-
operation: "CreateBackup",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateBackupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateBackupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateBackupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "CreateBackup", {})
|
|
19
|
+
.n("DynamoDBClient", "CreateBackupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateBackupCommand)
|
|
22
|
+
.de(de_CreateBackupCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateGlobalTableCommand, se_CreateGlobalTableCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateGlobalTableCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DynamoDBClient";
|
|
26
|
-
const commandName = "CreateGlobalTableCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DynamoDB_20120810",
|
|
35
|
-
operation: "CreateGlobalTable",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateGlobalTableCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateGlobalTableCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateGlobalTableCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "CreateGlobalTable", {})
|
|
19
|
+
.n("DynamoDBClient", "CreateGlobalTableCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateGlobalTableCommand)
|
|
22
|
+
.de(de_CreateGlobalTableCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateTableCommand, se_CreateTableCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateTableCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DynamoDBClient";
|
|
26
|
-
const commandName = "CreateTableCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DynamoDB_20120810",
|
|
35
|
-
operation: "CreateTable",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateTableCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateTableCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateTableCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "CreateTable", {})
|
|
19
|
+
.n("DynamoDBClient", "CreateTableCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateTableCommand)
|
|
22
|
+
.de(de_CreateTableCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteBackupCommand, se_DeleteBackupCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteBackupCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DynamoDBClient";
|
|
26
|
-
const commandName = "DeleteBackupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DynamoDB_20120810",
|
|
35
|
-
operation: "DeleteBackup",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteBackupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteBackupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteBackupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "DeleteBackup", {})
|
|
19
|
+
.n("DynamoDBClient", "DeleteBackupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteBackupCommand)
|
|
22
|
+
.de(de_DeleteBackupCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|