@depup/aws-sdk__client-dynamodb 3.1005.0-depup.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/LICENSE +201 -0
- package/README.md +31 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +27 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1667 -0
- package/dist-cjs/models/DynamoDBServiceException.js +12 -0
- package/dist-cjs/models/errors.js +478 -0
- package/dist-cjs/runtimeConfig.browser.js +41 -0
- package/dist-cjs/runtimeConfig.js +57 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +46 -0
- package/dist-cjs/schemas/schemas_0.js +2390 -0
- package/dist-es/DynamoDB.js +149 -0
- package/dist-es/DynamoDBClient.js +55 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +16 -0
- package/dist-es/commands/BatchGetItemCommand.js +19 -0
- package/dist-es/commands/BatchWriteItemCommand.js +19 -0
- package/dist-es/commands/CreateBackupCommand.js +19 -0
- package/dist-es/commands/CreateGlobalTableCommand.js +19 -0
- package/dist-es/commands/CreateTableCommand.js +19 -0
- package/dist-es/commands/DeleteBackupCommand.js +19 -0
- package/dist-es/commands/DeleteItemCommand.js +19 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +19 -0
- package/dist-es/commands/DeleteTableCommand.js +19 -0
- package/dist-es/commands/DescribeBackupCommand.js +19 -0
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +19 -0
- package/dist-es/commands/DescribeContributorInsightsCommand.js +19 -0
- package/dist-es/commands/DescribeEndpointsCommand.js +16 -0
- package/dist-es/commands/DescribeExportCommand.js +19 -0
- package/dist-es/commands/DescribeGlobalTableCommand.js +19 -0
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +19 -0
- package/dist-es/commands/DescribeImportCommand.js +19 -0
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +19 -0
- package/dist-es/commands/DescribeLimitsCommand.js +16 -0
- package/dist-es/commands/DescribeTableCommand.js +19 -0
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +19 -0
- package/dist-es/commands/DescribeTimeToLiveCommand.js +19 -0
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +19 -0
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +19 -0
- package/dist-es/commands/ExecuteStatementCommand.js +16 -0
- package/dist-es/commands/ExecuteTransactionCommand.js +16 -0
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +19 -0
- package/dist-es/commands/GetItemCommand.js +19 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +19 -0
- package/dist-es/commands/ImportTableCommand.js +19 -0
- package/dist-es/commands/ListBackupsCommand.js +19 -0
- package/dist-es/commands/ListContributorInsightsCommand.js +19 -0
- package/dist-es/commands/ListExportsCommand.js +19 -0
- package/dist-es/commands/ListGlobalTablesCommand.js +16 -0
- package/dist-es/commands/ListImportsCommand.js +19 -0
- package/dist-es/commands/ListTablesCommand.js +16 -0
- package/dist-es/commands/ListTagsOfResourceCommand.js +19 -0
- package/dist-es/commands/PutItemCommand.js +19 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +19 -0
- package/dist-es/commands/QueryCommand.js +19 -0
- package/dist-es/commands/RestoreTableFromBackupCommand.js +19 -0
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +19 -0
- package/dist-es/commands/ScanCommand.js +19 -0
- package/dist-es/commands/TagResourceCommand.js +19 -0
- package/dist-es/commands/TransactGetItemsCommand.js +19 -0
- package/dist-es/commands/TransactWriteItemsCommand.js +19 -0
- package/dist-es/commands/UntagResourceCommand.js +19 -0
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +19 -0
- package/dist-es/commands/UpdateContributorInsightsCommand.js +19 -0
- package/dist-es/commands/UpdateGlobalTableCommand.js +19 -0
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +19 -0
- package/dist-es/commands/UpdateItemCommand.js +19 -0
- package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +19 -0
- package/dist-es/commands/UpdateTableCommand.js +19 -0
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +19 -0
- package/dist-es/commands/UpdateTimeToLiveCommand.js +19 -0
- package/dist-es/commands/index.js +57 -0
- package/dist-es/endpoint/EndpointParameters.js +15 -0
- package/dist-es/endpoint/endpointResolver.js +23 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/DynamoDBServiceException.js +8 -0
- package/dist-es/models/enums.js +245 -0
- package/dist-es/models/errors.js +440 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListContributorInsightsPaginator.js +4 -0
- package/dist-es/pagination/ListExportsPaginator.js +4 -0
- package/dist-es/pagination/ListImportsPaginator.js +4 -0
- package/dist-es/pagination/ListTablesPaginator.js +4 -0
- package/dist-es/pagination/QueryPaginator.js +4 -0
- package/dist-es/pagination/ScanPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/runtimeConfig.browser.js +36 -0
- package/dist-es/runtimeConfig.js +52 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +42 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +2381 -0
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForContributorInsightsEnabled.js +40 -0
- package/dist-es/waiters/waitForExportCompleted.js +40 -0
- package/dist-es/waiters/waitForImportCompleted.js +49 -0
- package/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +49 -0
- package/dist-es/waiters/waitForTableExists.js +34 -0
- package/dist-es/waiters/waitForTableNotExists.js +25 -0
- package/dist-types/DynamoDB.d.ts +512 -0
- package/dist-types/DynamoDBClient.d.ts +272 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +234 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +366 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +414 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +151 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +211 -0
- package/dist-types/commands/CreateTableCommand.d.ts +394 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +197 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +296 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +145 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +338 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +175 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +104 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +94 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +78 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +124 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +133 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +178 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +165 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +91 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +165 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +269 -0
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +164 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +86 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +128 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +130 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +251 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +534 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +152 -0
- package/dist-types/commands/GetItemCommand.d.ts +264 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +124 -0
- package/dist-types/commands/ImportTableCommand.d.ts +275 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +109 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +92 -0
- package/dist-types/commands/ListExportsCommand.d.ts +104 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +95 -0
- package/dist-types/commands/ListImportsCommand.d.ts +110 -0
- package/dist-types/commands/ListTablesCommand.d.ts +103 -0
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +93 -0
- package/dist-types/commands/PutItemCommand.d.ts +315 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
- package/dist-types/commands/QueryCommand.d.ts +338 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +373 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +407 -0
- package/dist-types/commands/ScanCommand.d.ts +337 -0
- package/dist-types/commands/TagResourceCommand.d.ts +145 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +496 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +659 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +140 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +111 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +93 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +179 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +286 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +323 -0
- package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +127 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +458 -0
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +246 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +149 -0
- package/dist-types/commands/index.d.ts +57 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +64 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +34 -0
- package/dist-types/models/DynamoDBServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +589 -0
- package/dist-types/models/errors.d.ts +803 -0
- package/dist-types/models/models_0.d.ts +10010 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListImportsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/QueryPaginator.d.ts +7 -0
- package/dist-types/pagination/ScanPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/runtimeConfig.browser.d.ts +60 -0
- package/dist-types/runtimeConfig.d.ts +60 -0
- package/dist-types/runtimeConfig.native.d.ts +59 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +325 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +1102 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +472 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +57 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +65 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +313 -0
- package/dist-types/ts3.4/models/errors.d.ts +286 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1557 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +114 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +111 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +118 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +325 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForContributorInsightsEnabled.d.ts +14 -0
- package/dist-types/waiters/waitForExportCompleted.d.ts +14 -0
- package/dist-types/waiters/waitForImportCompleted.d.ts +14 -0
- package/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts +14 -0
- package/dist-types/waiters/waitForTableExists.d.ts +14 -0
- package/dist-types/waiters/waitForTableNotExists.d.ts +14 -0
- package/package.json +130 -0
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
4
|
+
import type { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetItemCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetItemCommandInput extends BatchGetItemInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetItemCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetItemCommandOutput extends BatchGetItemOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetItemCommand_base: {
|
|
25
|
+
new (input: BatchGetItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetItemCommandInput, BatchGetItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetItemCommandInput, BatchGetItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The <code>BatchGetItem</code> operation returns the attributes of one or more items
|
|
31
|
+
* from one or more tables. You identify requested items by primary key.</p>
|
|
32
|
+
* <p>A single operation can retrieve up to 16 MB of data, which can contain as many as 100
|
|
33
|
+
* items. <code>BatchGetItem</code> returns a partial result if the response size limit is
|
|
34
|
+
* exceeded, the table's provisioned throughput is exceeded, more than 1MB per partition is
|
|
35
|
+
* requested, or an internal processing failure occurs. If a partial result is returned,
|
|
36
|
+
* the operation returns a value for <code>UnprocessedKeys</code>. You can use this value
|
|
37
|
+
* to retry the operation starting with the next item to get.</p>
|
|
38
|
+
* <important>
|
|
39
|
+
* <p>If you request more than 100 items, <code>BatchGetItem</code> returns a
|
|
40
|
+
* <code>ValidationException</code> with the message "Too many items requested for
|
|
41
|
+
* the BatchGetItem call."</p>
|
|
42
|
+
* </important>
|
|
43
|
+
* <p>For example, if you ask to retrieve 100 items, but each individual item is 300 KB in
|
|
44
|
+
* size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns
|
|
45
|
+
* an appropriate <code>UnprocessedKeys</code> value so you can get the next page of
|
|
46
|
+
* results. If desired, your application can include its own logic to assemble the pages of
|
|
47
|
+
* results into one dataset.</p>
|
|
48
|
+
* <p>If <i>none</i> of the items can be processed due to insufficient
|
|
49
|
+
* provisioned throughput on all of the tables in the request, then
|
|
50
|
+
* <code>BatchGetItem</code> returns a
|
|
51
|
+
* <code>ProvisionedThroughputExceededException</code>. If <i>at least
|
|
52
|
+
* one</i> of the items is successfully processed, then
|
|
53
|
+
* <code>BatchGetItem</code> completes successfully, while returning the keys of the
|
|
54
|
+
* unread items in <code>UnprocessedKeys</code>.</p>
|
|
55
|
+
* <important>
|
|
56
|
+
* <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on
|
|
57
|
+
* those items. However, <i>we strongly recommend that you use an exponential
|
|
58
|
+
* backoff algorithm</i>. If you retry the batch operation immediately, the
|
|
59
|
+
* underlying read or write requests can still fail due to throttling on the individual
|
|
60
|
+
* tables. If you delay the batch operation using exponential backoff, the individual
|
|
61
|
+
* requests in the batch are much more likely to succeed.</p>
|
|
62
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations">Batch Operations and Error Handling</a> in the <i>Amazon DynamoDB
|
|
63
|
+
* Developer Guide</i>.</p>
|
|
64
|
+
* </important>
|
|
65
|
+
* <p>By default, <code>BatchGetItem</code> performs eventually consistent reads on every
|
|
66
|
+
* table in the request. If you want strongly consistent reads instead, you can set
|
|
67
|
+
* <code>ConsistentRead</code> to <code>true</code> for any or all tables.</p>
|
|
68
|
+
* <p>In order to minimize response latency, <code>BatchGetItem</code> may retrieve items in
|
|
69
|
+
* parallel.</p>
|
|
70
|
+
* <p>When designing your application, keep in mind that DynamoDB does not return items in
|
|
71
|
+
* any particular order. To help parse the response by item, include the primary key values
|
|
72
|
+
* for the items in your request in the <code>ProjectionExpression</code> parameter.</p>
|
|
73
|
+
* <p>If a requested item does not exist, it is not returned in the result. Requests for
|
|
74
|
+
* nonexistent items consume the minimum read capacity units according to the type of read.
|
|
75
|
+
* For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#CapacityUnitCalculations">Working with Tables</a> in the <i>Amazon DynamoDB Developer
|
|
76
|
+
* Guide</i>.</p>
|
|
77
|
+
* <note>
|
|
78
|
+
* <p>
|
|
79
|
+
* <code>BatchGetItem</code> will result in a <code>ValidationException</code> if the
|
|
80
|
+
* same key is specified multiple times.</p>
|
|
81
|
+
* </note>
|
|
82
|
+
* @example
|
|
83
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
84
|
+
* ```javascript
|
|
85
|
+
* import { DynamoDBClient, BatchGetItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
86
|
+
* // const { DynamoDBClient, BatchGetItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
87
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
88
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
89
|
+
* const client = new DynamoDBClient(config);
|
|
90
|
+
* const input = { // BatchGetItemInput
|
|
91
|
+
* RequestItems: { // BatchGetRequestMap // required
|
|
92
|
+
* "<keys>": { // KeysAndAttributes
|
|
93
|
+
* Keys: [ // KeyList // required
|
|
94
|
+
* { // Key
|
|
95
|
+
* "<keys>": { // AttributeValue Union: only one key present
|
|
96
|
+
* S: "STRING_VALUE",
|
|
97
|
+
* N: "STRING_VALUE",
|
|
98
|
+
* B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
99
|
+
* SS: [ // StringSetAttributeValue
|
|
100
|
+
* "STRING_VALUE",
|
|
101
|
+
* ],
|
|
102
|
+
* NS: [ // NumberSetAttributeValue
|
|
103
|
+
* "STRING_VALUE",
|
|
104
|
+
* ],
|
|
105
|
+
* BS: [ // BinarySetAttributeValue
|
|
106
|
+
* new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
107
|
+
* ],
|
|
108
|
+
* M: { // MapAttributeValue
|
|
109
|
+
* "<keys>": {// Union: only one key present
|
|
110
|
+
* S: "STRING_VALUE",
|
|
111
|
+
* N: "STRING_VALUE",
|
|
112
|
+
* B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
113
|
+
* SS: [
|
|
114
|
+
* "STRING_VALUE",
|
|
115
|
+
* ],
|
|
116
|
+
* NS: [
|
|
117
|
+
* "STRING_VALUE",
|
|
118
|
+
* ],
|
|
119
|
+
* BS: [
|
|
120
|
+
* new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
121
|
+
* ],
|
|
122
|
+
* M: {
|
|
123
|
+
* "<keys>": "<AttributeValue>",
|
|
124
|
+
* },
|
|
125
|
+
* L: [ // ListAttributeValue
|
|
126
|
+
* "<AttributeValue>",
|
|
127
|
+
* ],
|
|
128
|
+
* NULL: true || false,
|
|
129
|
+
* BOOL: true || false,
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
132
|
+
* L: [
|
|
133
|
+
* "<AttributeValue>",
|
|
134
|
+
* ],
|
|
135
|
+
* NULL: true || false,
|
|
136
|
+
* BOOL: true || false,
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* ],
|
|
140
|
+
* AttributesToGet: [ // AttributeNameList
|
|
141
|
+
* "STRING_VALUE",
|
|
142
|
+
* ],
|
|
143
|
+
* ConsistentRead: true || false,
|
|
144
|
+
* ProjectionExpression: "STRING_VALUE",
|
|
145
|
+
* ExpressionAttributeNames: { // ExpressionAttributeNameMap
|
|
146
|
+
* "<keys>": "STRING_VALUE",
|
|
147
|
+
* },
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
|
|
151
|
+
* };
|
|
152
|
+
* const command = new BatchGetItemCommand(input);
|
|
153
|
+
* const response = await client.send(command);
|
|
154
|
+
* // { // BatchGetItemOutput
|
|
155
|
+
* // Responses: { // BatchGetResponseMap
|
|
156
|
+
* // "<keys>": [ // ItemList
|
|
157
|
+
* // { // AttributeMap
|
|
158
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
159
|
+
* // S: "STRING_VALUE",
|
|
160
|
+
* // N: "STRING_VALUE",
|
|
161
|
+
* // B: new Uint8Array(),
|
|
162
|
+
* // SS: [ // StringSetAttributeValue
|
|
163
|
+
* // "STRING_VALUE",
|
|
164
|
+
* // ],
|
|
165
|
+
* // NS: [ // NumberSetAttributeValue
|
|
166
|
+
* // "STRING_VALUE",
|
|
167
|
+
* // ],
|
|
168
|
+
* // BS: [ // BinarySetAttributeValue
|
|
169
|
+
* // new Uint8Array(),
|
|
170
|
+
* // ],
|
|
171
|
+
* // M: { // MapAttributeValue
|
|
172
|
+
* // "<keys>": {// Union: only one key present
|
|
173
|
+
* // S: "STRING_VALUE",
|
|
174
|
+
* // N: "STRING_VALUE",
|
|
175
|
+
* // B: new Uint8Array(),
|
|
176
|
+
* // SS: [
|
|
177
|
+
* // "STRING_VALUE",
|
|
178
|
+
* // ],
|
|
179
|
+
* // NS: [
|
|
180
|
+
* // "STRING_VALUE",
|
|
181
|
+
* // ],
|
|
182
|
+
* // BS: [
|
|
183
|
+
* // new Uint8Array(),
|
|
184
|
+
* // ],
|
|
185
|
+
* // M: {
|
|
186
|
+
* // "<keys>": "<AttributeValue>",
|
|
187
|
+
* // },
|
|
188
|
+
* // L: [ // ListAttributeValue
|
|
189
|
+
* // "<AttributeValue>",
|
|
190
|
+
* // ],
|
|
191
|
+
* // NULL: true || false,
|
|
192
|
+
* // BOOL: true || false,
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
195
|
+
* // L: [
|
|
196
|
+
* // "<AttributeValue>",
|
|
197
|
+
* // ],
|
|
198
|
+
* // NULL: true || false,
|
|
199
|
+
* // BOOL: true || false,
|
|
200
|
+
* // },
|
|
201
|
+
* // },
|
|
202
|
+
* // ],
|
|
203
|
+
* // },
|
|
204
|
+
* // UnprocessedKeys: { // BatchGetRequestMap
|
|
205
|
+
* // "<keys>": { // KeysAndAttributes
|
|
206
|
+
* // Keys: [ // KeyList // required
|
|
207
|
+
* // { // Key
|
|
208
|
+
* // "<keys>": "<AttributeValue>",
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
211
|
+
* // AttributesToGet: [ // AttributeNameList
|
|
212
|
+
* // "STRING_VALUE",
|
|
213
|
+
* // ],
|
|
214
|
+
* // ConsistentRead: true || false,
|
|
215
|
+
* // ProjectionExpression: "STRING_VALUE",
|
|
216
|
+
* // ExpressionAttributeNames: { // ExpressionAttributeNameMap
|
|
217
|
+
* // "<keys>": "STRING_VALUE",
|
|
218
|
+
* // },
|
|
219
|
+
* // },
|
|
220
|
+
* // },
|
|
221
|
+
* // ConsumedCapacity: [ // ConsumedCapacityMultiple
|
|
222
|
+
* // { // ConsumedCapacity
|
|
223
|
+
* // TableName: "STRING_VALUE",
|
|
224
|
+
* // CapacityUnits: Number("double"),
|
|
225
|
+
* // ReadCapacityUnits: Number("double"),
|
|
226
|
+
* // WriteCapacityUnits: Number("double"),
|
|
227
|
+
* // Table: { // Capacity
|
|
228
|
+
* // ReadCapacityUnits: Number("double"),
|
|
229
|
+
* // WriteCapacityUnits: Number("double"),
|
|
230
|
+
* // CapacityUnits: Number("double"),
|
|
231
|
+
* // },
|
|
232
|
+
* // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
|
|
233
|
+
* // "<keys>": {
|
|
234
|
+
* // ReadCapacityUnits: Number("double"),
|
|
235
|
+
* // WriteCapacityUnits: Number("double"),
|
|
236
|
+
* // CapacityUnits: Number("double"),
|
|
237
|
+
* // },
|
|
238
|
+
* // },
|
|
239
|
+
* // GlobalSecondaryIndexes: {
|
|
240
|
+
* // "<keys>": {
|
|
241
|
+
* // ReadCapacityUnits: Number("double"),
|
|
242
|
+
* // WriteCapacityUnits: Number("double"),
|
|
243
|
+
* // CapacityUnits: Number("double"),
|
|
244
|
+
* // },
|
|
245
|
+
* // },
|
|
246
|
+
* // },
|
|
247
|
+
* // ],
|
|
248
|
+
* // };
|
|
249
|
+
*
|
|
250
|
+
* ```
|
|
251
|
+
*
|
|
252
|
+
* @param BatchGetItemCommandInput - {@link BatchGetItemCommandInput}
|
|
253
|
+
* @returns {@link BatchGetItemCommandOutput}
|
|
254
|
+
* @see {@link BatchGetItemCommandInput} for command's `input` shape.
|
|
255
|
+
* @see {@link BatchGetItemCommandOutput} for command's `response` shape.
|
|
256
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link InternalServerError} (server fault)
|
|
259
|
+
* <p>An error occurred on the server side.</p>
|
|
260
|
+
*
|
|
261
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
262
|
+
*
|
|
263
|
+
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
264
|
+
* <p>The request was denied due to request throttling. For detailed information about
|
|
265
|
+
* why the request was throttled and the ARN of the impacted resource, find the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html">ThrottlingReason</a> field in the returned exception. The Amazon Web Services
|
|
266
|
+
* SDKs for DynamoDB automatically retry requests that receive this exception.
|
|
267
|
+
* Your request is eventually successful, unless your retry queue is too large to finish.
|
|
268
|
+
* Reduce the frequency of requests and use exponential backoff. For more information, go
|
|
269
|
+
* to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff">Error Retries and Exponential Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
|
270
|
+
*
|
|
271
|
+
* @throws {@link RequestLimitExceeded} (client fault)
|
|
272
|
+
* <p>Throughput exceeds the current throughput quota for your account. For detailed
|
|
273
|
+
* information about why the request was throttled and the ARN of the impacted resource,
|
|
274
|
+
* find the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html">ThrottlingReason</a> field in the returned exception. Contact <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a quota
|
|
275
|
+
* increase.</p>
|
|
276
|
+
*
|
|
277
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
278
|
+
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
279
|
+
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
280
|
+
*
|
|
281
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
282
|
+
* <p>The request was denied due to request throttling. For detailed information about why
|
|
283
|
+
* the request was throttled and the ARN of the impacted resource, find the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html">ThrottlingReason</a> field in the returned exception.</p>
|
|
284
|
+
*
|
|
285
|
+
* @throws {@link DynamoDBServiceException}
|
|
286
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
287
|
+
*
|
|
288
|
+
*
|
|
289
|
+
* @example To retrieve multiple items from a table
|
|
290
|
+
* ```javascript
|
|
291
|
+
* // This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle attribute is returned.
|
|
292
|
+
* const input = {
|
|
293
|
+
* RequestItems: {
|
|
294
|
+
* Music: {
|
|
295
|
+
* Keys: [
|
|
296
|
+
* {
|
|
297
|
+
* Artist: {
|
|
298
|
+
* S: "No One You Know"
|
|
299
|
+
* },
|
|
300
|
+
* SongTitle: {
|
|
301
|
+
* S: "Call Me Today"
|
|
302
|
+
* }
|
|
303
|
+
* },
|
|
304
|
+
* {
|
|
305
|
+
* Artist: {
|
|
306
|
+
* S: "Acme Band"
|
|
307
|
+
* },
|
|
308
|
+
* SongTitle: {
|
|
309
|
+
* S: "Happy Day"
|
|
310
|
+
* }
|
|
311
|
+
* },
|
|
312
|
+
* {
|
|
313
|
+
* Artist: {
|
|
314
|
+
* S: "No One You Know"
|
|
315
|
+
* },
|
|
316
|
+
* SongTitle: {
|
|
317
|
+
* S: "Scared of My Shadow"
|
|
318
|
+
* }
|
|
319
|
+
* }
|
|
320
|
+
* ],
|
|
321
|
+
* ProjectionExpression: "AlbumTitle"
|
|
322
|
+
* }
|
|
323
|
+
* }
|
|
324
|
+
* };
|
|
325
|
+
* const command = new BatchGetItemCommand(input);
|
|
326
|
+
* const response = await client.send(command);
|
|
327
|
+
* /* response is
|
|
328
|
+
* {
|
|
329
|
+
* Responses: {
|
|
330
|
+
* Music: [
|
|
331
|
+
* {
|
|
332
|
+
* AlbumTitle: {
|
|
333
|
+
* S: "Somewhat Famous"
|
|
334
|
+
* }
|
|
335
|
+
* },
|
|
336
|
+
* {
|
|
337
|
+
* AlbumTitle: {
|
|
338
|
+
* S: "Blue Sky Blues"
|
|
339
|
+
* }
|
|
340
|
+
* },
|
|
341
|
+
* {
|
|
342
|
+
* AlbumTitle: {
|
|
343
|
+
* S: "Louder Than Ever"
|
|
344
|
+
* }
|
|
345
|
+
* }
|
|
346
|
+
* ]
|
|
347
|
+
* }
|
|
348
|
+
* }
|
|
349
|
+
* *\/
|
|
350
|
+
* ```
|
|
351
|
+
*
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
export declare class BatchGetItemCommand extends BatchGetItemCommand_base {
|
|
355
|
+
/** @internal type navigation helper, not in runtime. */
|
|
356
|
+
protected static __types: {
|
|
357
|
+
api: {
|
|
358
|
+
input: BatchGetItemInput;
|
|
359
|
+
output: BatchGetItemOutput;
|
|
360
|
+
};
|
|
361
|
+
sdk: {
|
|
362
|
+
input: BatchGetItemCommandInput;
|
|
363
|
+
output: BatchGetItemCommandOutput;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
}
|