@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,152 @@
|
|
|
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 { ExportTableToPointInTimeInput, ExportTableToPointInTimeOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ExportTableToPointInTimeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ExportTableToPointInTimeCommandInput extends ExportTableToPointInTimeInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ExportTableToPointInTimeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ExportTableToPointInTimeCommandOutput extends ExportTableToPointInTimeOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ExportTableToPointInTimeCommand_base: {
|
|
25
|
+
new (input: ExportTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl<ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ExportTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl<ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Exports table data to an S3 bucket. The table must have point in time recovery
|
|
31
|
+
* enabled, and you can export data from any time within the point in time recovery
|
|
32
|
+
* window.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DynamoDBClient, ExportTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
37
|
+
* // const { DynamoDBClient, ExportTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
38
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
39
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
40
|
+
* const client = new DynamoDBClient(config);
|
|
41
|
+
* const input = { // ExportTableToPointInTimeInput
|
|
42
|
+
* TableArn: "STRING_VALUE", // required
|
|
43
|
+
* ExportTime: new Date("TIMESTAMP"),
|
|
44
|
+
* ClientToken: "STRING_VALUE",
|
|
45
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
46
|
+
* S3BucketOwner: "STRING_VALUE",
|
|
47
|
+
* S3Prefix: "STRING_VALUE",
|
|
48
|
+
* S3SseAlgorithm: "AES256" || "KMS",
|
|
49
|
+
* S3SseKmsKeyId: "STRING_VALUE",
|
|
50
|
+
* ExportFormat: "DYNAMODB_JSON" || "ION",
|
|
51
|
+
* ExportType: "FULL_EXPORT" || "INCREMENTAL_EXPORT",
|
|
52
|
+
* IncrementalExportSpecification: { // IncrementalExportSpecification
|
|
53
|
+
* ExportFromTime: new Date("TIMESTAMP"),
|
|
54
|
+
* ExportToTime: new Date("TIMESTAMP"),
|
|
55
|
+
* ExportViewType: "NEW_IMAGE" || "NEW_AND_OLD_IMAGES",
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
58
|
+
* const command = new ExportTableToPointInTimeCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // ExportTableToPointInTimeOutput
|
|
61
|
+
* // ExportDescription: { // ExportDescription
|
|
62
|
+
* // ExportArn: "STRING_VALUE",
|
|
63
|
+
* // ExportStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
64
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
65
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // ExportManifest: "STRING_VALUE",
|
|
67
|
+
* // TableArn: "STRING_VALUE",
|
|
68
|
+
* // TableId: "STRING_VALUE",
|
|
69
|
+
* // ExportTime: new Date("TIMESTAMP"),
|
|
70
|
+
* // ClientToken: "STRING_VALUE",
|
|
71
|
+
* // S3Bucket: "STRING_VALUE",
|
|
72
|
+
* // S3BucketOwner: "STRING_VALUE",
|
|
73
|
+
* // S3Prefix: "STRING_VALUE",
|
|
74
|
+
* // S3SseAlgorithm: "AES256" || "KMS",
|
|
75
|
+
* // S3SseKmsKeyId: "STRING_VALUE",
|
|
76
|
+
* // FailureCode: "STRING_VALUE",
|
|
77
|
+
* // FailureMessage: "STRING_VALUE",
|
|
78
|
+
* // ExportFormat: "DYNAMODB_JSON" || "ION",
|
|
79
|
+
* // BilledSizeBytes: Number("long"),
|
|
80
|
+
* // ItemCount: Number("long"),
|
|
81
|
+
* // ExportType: "FULL_EXPORT" || "INCREMENTAL_EXPORT",
|
|
82
|
+
* // IncrementalExportSpecification: { // IncrementalExportSpecification
|
|
83
|
+
* // ExportFromTime: new Date("TIMESTAMP"),
|
|
84
|
+
* // ExportToTime: new Date("TIMESTAMP"),
|
|
85
|
+
* // ExportViewType: "NEW_IMAGE" || "NEW_AND_OLD_IMAGES",
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @param ExportTableToPointInTimeCommandInput - {@link ExportTableToPointInTimeCommandInput}
|
|
93
|
+
* @returns {@link ExportTableToPointInTimeCommandOutput}
|
|
94
|
+
* @see {@link ExportTableToPointInTimeCommandInput} for command's `input` shape.
|
|
95
|
+
* @see {@link ExportTableToPointInTimeCommandOutput} for command's `response` shape.
|
|
96
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ExportConflictException} (client fault)
|
|
99
|
+
* <p>There was a conflict when writing to the specified S3 bucket.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InternalServerError} (server fault)
|
|
102
|
+
* <p>An error occurred on the server side.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link InvalidExportTimeException} (client fault)
|
|
105
|
+
* <p>The specified <code>ExportTime</code> is outside of the point in time recovery
|
|
106
|
+
* window.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
109
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
110
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
111
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
112
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
113
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
114
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
115
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
116
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
117
|
+
* operations.</p>
|
|
118
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
119
|
+
* allowed per account.</p>
|
|
120
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
121
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
122
|
+
* parameter.</p>
|
|
123
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
124
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link PointInTimeRecoveryUnavailableException} (client fault)
|
|
127
|
+
* <p>Point in time recovery has not yet been enabled for this source table.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link TableNotFoundException} (client fault)
|
|
130
|
+
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
131
|
+
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services
|
|
132
|
+
* Region.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link DynamoDBServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class ExportTableToPointInTimeCommand extends ExportTableToPointInTimeCommand_base {
|
|
141
|
+
/** @internal type navigation helper, not in runtime. */
|
|
142
|
+
protected static __types: {
|
|
143
|
+
api: {
|
|
144
|
+
input: ExportTableToPointInTimeInput;
|
|
145
|
+
output: ExportTableToPointInTimeOutput;
|
|
146
|
+
};
|
|
147
|
+
sdk: {
|
|
148
|
+
input: ExportTableToPointInTimeCommandInput;
|
|
149
|
+
output: ExportTableToPointInTimeCommandOutput;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}
|
|
@@ -0,0 +1,264 @@
|
|
|
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 { GetItemInput, GetItemOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetItemCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetItemCommandInput extends GetItemInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetItemCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetItemCommandOutput extends GetItemOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetItemCommand_base: {
|
|
25
|
+
new (input: GetItemCommandInput): import("@smithy/smithy-client").CommandImpl<GetItemCommandInput, GetItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetItemCommandInput): import("@smithy/smithy-client").CommandImpl<GetItemCommandInput, GetItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The <code>GetItem</code> operation returns a set of attributes for the item with the
|
|
31
|
+
* given primary key. If there is no matching item, <code>GetItem</code> does not return
|
|
32
|
+
* any data and there will be no <code>Item</code> element in the response.</p>
|
|
33
|
+
* <p>
|
|
34
|
+
* <code>GetItem</code> provides an eventually consistent read by default. If your
|
|
35
|
+
* application requires a strongly consistent read, set <code>ConsistentRead</code> to
|
|
36
|
+
* <code>true</code>. Although a strongly consistent read might take more time than an
|
|
37
|
+
* eventually consistent read, it always returns the last updated value.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { DynamoDBClient, GetItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
42
|
+
* // const { DynamoDBClient, GetItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
43
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
44
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
45
|
+
* const client = new DynamoDBClient(config);
|
|
46
|
+
* const input = { // GetItemInput
|
|
47
|
+
* TableName: "STRING_VALUE", // required
|
|
48
|
+
* Key: { // Key // required
|
|
49
|
+
* "<keys>": { // AttributeValue Union: only one key present
|
|
50
|
+
* S: "STRING_VALUE",
|
|
51
|
+
* N: "STRING_VALUE",
|
|
52
|
+
* B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
53
|
+
* SS: [ // StringSetAttributeValue
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* NS: [ // NumberSetAttributeValue
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* BS: [ // BinarySetAttributeValue
|
|
60
|
+
* new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
61
|
+
* ],
|
|
62
|
+
* M: { // MapAttributeValue
|
|
63
|
+
* "<keys>": {// Union: only one key present
|
|
64
|
+
* S: "STRING_VALUE",
|
|
65
|
+
* N: "STRING_VALUE",
|
|
66
|
+
* B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
67
|
+
* SS: [
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* NS: [
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* BS: [
|
|
74
|
+
* new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
75
|
+
* ],
|
|
76
|
+
* M: {
|
|
77
|
+
* "<keys>": "<AttributeValue>",
|
|
78
|
+
* },
|
|
79
|
+
* L: [ // ListAttributeValue
|
|
80
|
+
* "<AttributeValue>",
|
|
81
|
+
* ],
|
|
82
|
+
* NULL: true || false,
|
|
83
|
+
* BOOL: true || false,
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* L: [
|
|
87
|
+
* "<AttributeValue>",
|
|
88
|
+
* ],
|
|
89
|
+
* NULL: true || false,
|
|
90
|
+
* BOOL: true || false,
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* AttributesToGet: [ // AttributeNameList
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* ConsistentRead: true || false,
|
|
97
|
+
* ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
|
|
98
|
+
* ProjectionExpression: "STRING_VALUE",
|
|
99
|
+
* ExpressionAttributeNames: { // ExpressionAttributeNameMap
|
|
100
|
+
* "<keys>": "STRING_VALUE",
|
|
101
|
+
* },
|
|
102
|
+
* };
|
|
103
|
+
* const command = new GetItemCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* // { // GetItemOutput
|
|
106
|
+
* // Item: { // AttributeMap
|
|
107
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
108
|
+
* // S: "STRING_VALUE",
|
|
109
|
+
* // N: "STRING_VALUE",
|
|
110
|
+
* // B: new Uint8Array(),
|
|
111
|
+
* // SS: [ // StringSetAttributeValue
|
|
112
|
+
* // "STRING_VALUE",
|
|
113
|
+
* // ],
|
|
114
|
+
* // NS: [ // NumberSetAttributeValue
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
117
|
+
* // BS: [ // BinarySetAttributeValue
|
|
118
|
+
* // new Uint8Array(),
|
|
119
|
+
* // ],
|
|
120
|
+
* // M: { // MapAttributeValue
|
|
121
|
+
* // "<keys>": {// Union: only one key present
|
|
122
|
+
* // S: "STRING_VALUE",
|
|
123
|
+
* // N: "STRING_VALUE",
|
|
124
|
+
* // B: new Uint8Array(),
|
|
125
|
+
* // SS: [
|
|
126
|
+
* // "STRING_VALUE",
|
|
127
|
+
* // ],
|
|
128
|
+
* // NS: [
|
|
129
|
+
* // "STRING_VALUE",
|
|
130
|
+
* // ],
|
|
131
|
+
* // BS: [
|
|
132
|
+
* // new Uint8Array(),
|
|
133
|
+
* // ],
|
|
134
|
+
* // M: {
|
|
135
|
+
* // "<keys>": "<AttributeValue>",
|
|
136
|
+
* // },
|
|
137
|
+
* // L: [ // ListAttributeValue
|
|
138
|
+
* // "<AttributeValue>",
|
|
139
|
+
* // ],
|
|
140
|
+
* // NULL: true || false,
|
|
141
|
+
* // BOOL: true || false,
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // L: [
|
|
145
|
+
* // "<AttributeValue>",
|
|
146
|
+
* // ],
|
|
147
|
+
* // NULL: true || false,
|
|
148
|
+
* // BOOL: true || false,
|
|
149
|
+
* // },
|
|
150
|
+
* // },
|
|
151
|
+
* // ConsumedCapacity: { // ConsumedCapacity
|
|
152
|
+
* // TableName: "STRING_VALUE",
|
|
153
|
+
* // CapacityUnits: Number("double"),
|
|
154
|
+
* // ReadCapacityUnits: Number("double"),
|
|
155
|
+
* // WriteCapacityUnits: Number("double"),
|
|
156
|
+
* // Table: { // Capacity
|
|
157
|
+
* // ReadCapacityUnits: Number("double"),
|
|
158
|
+
* // WriteCapacityUnits: Number("double"),
|
|
159
|
+
* // CapacityUnits: Number("double"),
|
|
160
|
+
* // },
|
|
161
|
+
* // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
|
|
162
|
+
* // "<keys>": {
|
|
163
|
+
* // ReadCapacityUnits: Number("double"),
|
|
164
|
+
* // WriteCapacityUnits: Number("double"),
|
|
165
|
+
* // CapacityUnits: Number("double"),
|
|
166
|
+
* // },
|
|
167
|
+
* // },
|
|
168
|
+
* // GlobalSecondaryIndexes: {
|
|
169
|
+
* // "<keys>": {
|
|
170
|
+
* // ReadCapacityUnits: Number("double"),
|
|
171
|
+
* // WriteCapacityUnits: Number("double"),
|
|
172
|
+
* // CapacityUnits: Number("double"),
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // };
|
|
177
|
+
*
|
|
178
|
+
* ```
|
|
179
|
+
*
|
|
180
|
+
* @param GetItemCommandInput - {@link GetItemCommandInput}
|
|
181
|
+
* @returns {@link GetItemCommandOutput}
|
|
182
|
+
* @see {@link GetItemCommandInput} for command's `input` shape.
|
|
183
|
+
* @see {@link GetItemCommandOutput} for command's `response` shape.
|
|
184
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link InternalServerError} (server fault)
|
|
187
|
+
* <p>An error occurred on the server side.</p>
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
192
|
+
* <p>The request was denied due to request throttling. For detailed information about
|
|
193
|
+
* 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
|
|
194
|
+
* SDKs for DynamoDB automatically retry requests that receive this exception.
|
|
195
|
+
* Your request is eventually successful, unless your retry queue is too large to finish.
|
|
196
|
+
* Reduce the frequency of requests and use exponential backoff. For more information, go
|
|
197
|
+
* 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>
|
|
198
|
+
*
|
|
199
|
+
* @throws {@link RequestLimitExceeded} (client fault)
|
|
200
|
+
* <p>Throughput exceeds the current throughput quota for your account. For detailed
|
|
201
|
+
* information about why the request was throttled and the ARN of the impacted resource,
|
|
202
|
+
* 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
|
|
203
|
+
* increase.</p>
|
|
204
|
+
*
|
|
205
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
206
|
+
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
207
|
+
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
208
|
+
*
|
|
209
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
210
|
+
* <p>The request was denied due to request throttling. For detailed information about why
|
|
211
|
+
* 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>
|
|
212
|
+
*
|
|
213
|
+
* @throws {@link DynamoDBServiceException}
|
|
214
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
215
|
+
*
|
|
216
|
+
*
|
|
217
|
+
* @example To read an item from a table
|
|
218
|
+
* ```javascript
|
|
219
|
+
* // This example retrieves an item from the Music table. The table has a partition key and a sort key (Artist and SongTitle), so you must specify both of these attributes.
|
|
220
|
+
* const input = {
|
|
221
|
+
* Key: {
|
|
222
|
+
* Artist: {
|
|
223
|
+
* S: "Acme Band"
|
|
224
|
+
* },
|
|
225
|
+
* SongTitle: {
|
|
226
|
+
* S: "Happy Day"
|
|
227
|
+
* }
|
|
228
|
+
* },
|
|
229
|
+
* TableName: "Music"
|
|
230
|
+
* };
|
|
231
|
+
* const command = new GetItemCommand(input);
|
|
232
|
+
* const response = await client.send(command);
|
|
233
|
+
* /* response is
|
|
234
|
+
* {
|
|
235
|
+
* Item: {
|
|
236
|
+
* AlbumTitle: {
|
|
237
|
+
* S: "Songs About Life"
|
|
238
|
+
* },
|
|
239
|
+
* Artist: {
|
|
240
|
+
* S: "Acme Band"
|
|
241
|
+
* },
|
|
242
|
+
* SongTitle: {
|
|
243
|
+
* S: "Happy Day"
|
|
244
|
+
* }
|
|
245
|
+
* }
|
|
246
|
+
* }
|
|
247
|
+
* *\/
|
|
248
|
+
* ```
|
|
249
|
+
*
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
export declare class GetItemCommand extends GetItemCommand_base {
|
|
253
|
+
/** @internal type navigation helper, not in runtime. */
|
|
254
|
+
protected static __types: {
|
|
255
|
+
api: {
|
|
256
|
+
input: GetItemInput;
|
|
257
|
+
output: GetItemOutput;
|
|
258
|
+
};
|
|
259
|
+
sdk: {
|
|
260
|
+
input: GetItemCommandInput;
|
|
261
|
+
output: GetItemCommandOutput;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
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 { GetResourcePolicyInput, GetResourcePolicyOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetResourcePolicyCommand_base: {
|
|
25
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns the resource-based policy document attached to the resource, which can be a
|
|
31
|
+
* table or stream, in JSON format.</p>
|
|
32
|
+
* <p>
|
|
33
|
+
* <code>GetResourcePolicy</code> follows an <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html">
|
|
34
|
+
* <i>eventually consistent</i>
|
|
35
|
+
* </a> model. The following list
|
|
36
|
+
* describes the outcomes when you issue the <code>GetResourcePolicy</code> request
|
|
37
|
+
* immediately after issuing another request:</p>
|
|
38
|
+
* <ul>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>If you issue a <code>GetResourcePolicy</code> request immediately after a
|
|
41
|
+
* <code>PutResourcePolicy</code> request, DynamoDB might return a
|
|
42
|
+
* <code>PolicyNotFoundException</code>.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>If you issue a <code>GetResourcePolicy</code>request immediately after a
|
|
46
|
+
* <code>DeleteResourcePolicy</code> request, DynamoDB might return
|
|
47
|
+
* the policy that was present before the deletion request.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>If you issue a <code>GetResourcePolicy</code> request immediately after a
|
|
51
|
+
* <code>CreateTable</code> request, which includes a resource-based policy,
|
|
52
|
+
* DynamoDB might return a <code>ResourceNotFoundException</code> or
|
|
53
|
+
* a <code>PolicyNotFoundException</code>.</p>
|
|
54
|
+
* </li>
|
|
55
|
+
* </ul>
|
|
56
|
+
* <p>Because <code>GetResourcePolicy</code> uses an <i>eventually
|
|
57
|
+
* consistent</i> query, the metadata for your policy or table might not be
|
|
58
|
+
* available at that moment. Wait for a few seconds, and then retry the
|
|
59
|
+
* <code>GetResourcePolicy</code> request.</p>
|
|
60
|
+
* <p>After a <code>GetResourcePolicy</code> request returns a policy created using the
|
|
61
|
+
* <code>PutResourcePolicy</code> request, the policy will be applied in the
|
|
62
|
+
* authorization of requests to the resource. Because this process is eventually
|
|
63
|
+
* consistent, it will take some time to apply the policy to all requests to a resource.
|
|
64
|
+
* Policies that you attach while creating a table using the <code>CreateTable</code>
|
|
65
|
+
* request will always be applied to all requests for that table.</p>
|
|
66
|
+
* @example
|
|
67
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
68
|
+
* ```javascript
|
|
69
|
+
* import { DynamoDBClient, GetResourcePolicyCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
70
|
+
* // const { DynamoDBClient, GetResourcePolicyCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
71
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
72
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
73
|
+
* const client = new DynamoDBClient(config);
|
|
74
|
+
* const input = { // GetResourcePolicyInput
|
|
75
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
76
|
+
* };
|
|
77
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* // { // GetResourcePolicyOutput
|
|
80
|
+
* // Policy: "STRING_VALUE",
|
|
81
|
+
* // RevisionId: "STRING_VALUE",
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
87
|
+
* @returns {@link GetResourcePolicyCommandOutput}
|
|
88
|
+
* @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InternalServerError} (server fault)
|
|
93
|
+
* <p>An error occurred on the server side.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link PolicyNotFoundException} (client fault)
|
|
98
|
+
* <p>The operation tried to access a nonexistent resource-based policy.</p>
|
|
99
|
+
* <p>If you specified an <code>ExpectedRevisionId</code>, it's possible that a policy is
|
|
100
|
+
* present for the resource but its revision ID didn't match the expected value.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
104
|
+
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link DynamoDBServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: GetResourcePolicyInput;
|
|
117
|
+
output: GetResourcePolicyOutput;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: GetResourcePolicyCommandInput;
|
|
121
|
+
output: GetResourcePolicyCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|