@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,338 @@
|
|
|
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 { DeleteTableInput, DeleteTableOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteTableCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTableCommandInput extends DeleteTableInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTableCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTableCommandOutput extends DeleteTableOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteTableCommand_base: {
|
|
25
|
+
new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a
|
|
31
|
+
* <code>DeleteTable</code> request, the specified table is in the
|
|
32
|
+
* <code>DELETING</code> state until DynamoDB completes the deletion. If the table is
|
|
33
|
+
* in the <code>ACTIVE</code> state, you can delete it. If a table is in
|
|
34
|
+
* <code>CREATING</code> or <code>UPDATING</code> states, then DynamoDB returns a
|
|
35
|
+
* <code>ResourceInUseException</code>. If the specified table does not exist, DynamoDB
|
|
36
|
+
* returns a <code>ResourceNotFoundException</code>. If table is already in the
|
|
37
|
+
* <code>DELETING</code> state, no error is returned. </p>
|
|
38
|
+
* <note>
|
|
39
|
+
* <p>DynamoDB might continue to accept data read and write operations, such as
|
|
40
|
+
* <code>GetItem</code> and <code>PutItem</code>, on a table in the
|
|
41
|
+
* <code>DELETING</code> state until the table deletion is complete. For the full
|
|
42
|
+
* list of table states, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TableDescription.html#DDB-Type-TableDescription-TableStatus">TableStatus</a>.</p>
|
|
43
|
+
* </note>
|
|
44
|
+
* <p>When you delete a table, any indexes on that table are also deleted.</p>
|
|
45
|
+
* <p>If you have DynamoDB Streams enabled on the table, then the corresponding stream on
|
|
46
|
+
* that table goes into the <code>DISABLED</code> state, and the stream is automatically
|
|
47
|
+
* deleted after 24 hours.</p>
|
|
48
|
+
* <p>Use the <code>DescribeTable</code> action to check the status of the table. </p>
|
|
49
|
+
* @example
|
|
50
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
+
* ```javascript
|
|
52
|
+
* import { DynamoDBClient, DeleteTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
53
|
+
* // const { DynamoDBClient, DeleteTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
54
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
55
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
56
|
+
* const client = new DynamoDBClient(config);
|
|
57
|
+
* const input = { // DeleteTableInput
|
|
58
|
+
* TableName: "STRING_VALUE", // required
|
|
59
|
+
* };
|
|
60
|
+
* const command = new DeleteTableCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // DeleteTableOutput
|
|
63
|
+
* // TableDescription: { // TableDescription
|
|
64
|
+
* // AttributeDefinitions: [ // AttributeDefinitions
|
|
65
|
+
* // { // AttributeDefinition
|
|
66
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
67
|
+
* // AttributeType: "S" || "N" || "B", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // TableName: "STRING_VALUE",
|
|
71
|
+
* // KeySchema: [ // KeySchema
|
|
72
|
+
* // { // KeySchemaElement
|
|
73
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
74
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
78
|
+
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
79
|
+
* // ProvisionedThroughput: { // ProvisionedThroughputDescription
|
|
80
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
81
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
82
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
83
|
+
* // ReadCapacityUnits: Number("long"),
|
|
84
|
+
* // WriteCapacityUnits: Number("long"),
|
|
85
|
+
* // },
|
|
86
|
+
* // TableSizeBytes: Number("long"),
|
|
87
|
+
* // ItemCount: Number("long"),
|
|
88
|
+
* // TableArn: "STRING_VALUE",
|
|
89
|
+
* // TableId: "STRING_VALUE",
|
|
90
|
+
* // BillingModeSummary: { // BillingModeSummary
|
|
91
|
+
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
92
|
+
* // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"),
|
|
93
|
+
* // },
|
|
94
|
+
* // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList
|
|
95
|
+
* // { // LocalSecondaryIndexDescription
|
|
96
|
+
* // IndexName: "STRING_VALUE",
|
|
97
|
+
* // KeySchema: [
|
|
98
|
+
* // {
|
|
99
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
100
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // Projection: { // Projection
|
|
104
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
105
|
+
* // NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // },
|
|
109
|
+
* // IndexSizeBytes: Number("long"),
|
|
110
|
+
* // ItemCount: Number("long"),
|
|
111
|
+
* // IndexArn: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList
|
|
115
|
+
* // { // GlobalSecondaryIndexDescription
|
|
116
|
+
* // IndexName: "STRING_VALUE",
|
|
117
|
+
* // KeySchema: [
|
|
118
|
+
* // {
|
|
119
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
120
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // Projection: {
|
|
124
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
125
|
+
* // NonKeyAttributes: [
|
|
126
|
+
* // "STRING_VALUE",
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
130
|
+
* // Backfilling: true || false,
|
|
131
|
+
* // ProvisionedThroughput: {
|
|
132
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
133
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
134
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
135
|
+
* // ReadCapacityUnits: Number("long"),
|
|
136
|
+
* // WriteCapacityUnits: Number("long"),
|
|
137
|
+
* // },
|
|
138
|
+
* // IndexSizeBytes: Number("long"),
|
|
139
|
+
* // ItemCount: Number("long"),
|
|
140
|
+
* // IndexArn: "STRING_VALUE",
|
|
141
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
142
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
143
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
144
|
+
* // },
|
|
145
|
+
* // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription
|
|
146
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
147
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
148
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
149
|
+
* // },
|
|
150
|
+
* // },
|
|
151
|
+
* // ],
|
|
152
|
+
* // StreamSpecification: { // StreamSpecification
|
|
153
|
+
* // StreamEnabled: true || false, // required
|
|
154
|
+
* // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
155
|
+
* // },
|
|
156
|
+
* // LatestStreamLabel: "STRING_VALUE",
|
|
157
|
+
* // LatestStreamArn: "STRING_VALUE",
|
|
158
|
+
* // GlobalTableVersion: "STRING_VALUE",
|
|
159
|
+
* // Replicas: [ // ReplicaDescriptionList
|
|
160
|
+
* // { // ReplicaDescription
|
|
161
|
+
* // RegionName: "STRING_VALUE",
|
|
162
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
163
|
+
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
164
|
+
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
165
|
+
* // KMSMasterKeyId: "STRING_VALUE",
|
|
166
|
+
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
167
|
+
* // ReadCapacityUnits: Number("long"),
|
|
168
|
+
* // },
|
|
169
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
170
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
171
|
+
* // },
|
|
172
|
+
* // WarmThroughput: { // TableWarmThroughputDescription
|
|
173
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
174
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
175
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
176
|
+
* // },
|
|
177
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
178
|
+
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
179
|
+
* // IndexName: "STRING_VALUE",
|
|
180
|
+
* // ProvisionedThroughputOverride: {
|
|
181
|
+
* // ReadCapacityUnits: Number("long"),
|
|
182
|
+
* // },
|
|
183
|
+
* // OnDemandThroughputOverride: {
|
|
184
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
185
|
+
* // },
|
|
186
|
+
* // WarmThroughput: {
|
|
187
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
188
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
189
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
190
|
+
* // },
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
193
|
+
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
194
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
195
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
196
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
197
|
+
* // },
|
|
198
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
199
|
+
* // },
|
|
200
|
+
* // ],
|
|
201
|
+
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
202
|
+
* // { // GlobalTableWitnessDescription
|
|
203
|
+
* // RegionName: "STRING_VALUE",
|
|
204
|
+
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
205
|
+
* // },
|
|
206
|
+
* // ],
|
|
207
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
208
|
+
* // RestoreSummary: { // RestoreSummary
|
|
209
|
+
* // SourceBackupArn: "STRING_VALUE",
|
|
210
|
+
* // SourceTableArn: "STRING_VALUE",
|
|
211
|
+
* // RestoreDateTime: new Date("TIMESTAMP"), // required
|
|
212
|
+
* // RestoreInProgress: true || false, // required
|
|
213
|
+
* // },
|
|
214
|
+
* // SSEDescription: { // SSEDescription
|
|
215
|
+
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING",
|
|
216
|
+
* // SSEType: "AES256" || "KMS",
|
|
217
|
+
* // KMSMasterKeyArn: "STRING_VALUE",
|
|
218
|
+
* // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"),
|
|
219
|
+
* // },
|
|
220
|
+
* // ArchivalSummary: { // ArchivalSummary
|
|
221
|
+
* // ArchivalDateTime: new Date("TIMESTAMP"),
|
|
222
|
+
* // ArchivalReason: "STRING_VALUE",
|
|
223
|
+
* // ArchivalBackupArn: "STRING_VALUE",
|
|
224
|
+
* // },
|
|
225
|
+
* // TableClassSummary: {
|
|
226
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
227
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
228
|
+
* // },
|
|
229
|
+
* // DeletionProtectionEnabled: true || false,
|
|
230
|
+
* // OnDemandThroughput: {
|
|
231
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
232
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
233
|
+
* // },
|
|
234
|
+
* // WarmThroughput: {
|
|
235
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
236
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
237
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
238
|
+
* // },
|
|
239
|
+
* // MultiRegionConsistency: "EVENTUAL" || "STRONG",
|
|
240
|
+
* // },
|
|
241
|
+
* // };
|
|
242
|
+
*
|
|
243
|
+
* ```
|
|
244
|
+
*
|
|
245
|
+
* @param DeleteTableCommandInput - {@link DeleteTableCommandInput}
|
|
246
|
+
* @returns {@link DeleteTableCommandOutput}
|
|
247
|
+
* @see {@link DeleteTableCommandInput} for command's `input` shape.
|
|
248
|
+
* @see {@link DeleteTableCommandOutput} for command's `response` shape.
|
|
249
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link InternalServerError} (server fault)
|
|
252
|
+
* <p>An error occurred on the server side.</p>
|
|
253
|
+
*
|
|
254
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
255
|
+
*
|
|
256
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
257
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
258
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
259
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
260
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
261
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
262
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
263
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
264
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
265
|
+
* operations.</p>
|
|
266
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
267
|
+
* allowed per account.</p>
|
|
268
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
269
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
270
|
+
* parameter.</p>
|
|
271
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
272
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
273
|
+
*
|
|
274
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
275
|
+
* <p>The operation conflicts with the resource's availability. For example:</p>
|
|
276
|
+
* <ul>
|
|
277
|
+
* <li>
|
|
278
|
+
* <p>You attempted to recreate an existing table.</p>
|
|
279
|
+
* </li>
|
|
280
|
+
* <li>
|
|
281
|
+
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
282
|
+
* state.</p>
|
|
283
|
+
* </li>
|
|
284
|
+
* <li>
|
|
285
|
+
* <p>You tried to update a resource that was already being updated.</p>
|
|
286
|
+
* </li>
|
|
287
|
+
* </ul>
|
|
288
|
+
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
289
|
+
* again.</p>
|
|
290
|
+
*
|
|
291
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
292
|
+
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
293
|
+
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
294
|
+
*
|
|
295
|
+
* @throws {@link DynamoDBServiceException}
|
|
296
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
297
|
+
*
|
|
298
|
+
*
|
|
299
|
+
* @example To delete a table
|
|
300
|
+
* ```javascript
|
|
301
|
+
* // This example deletes the Music table.
|
|
302
|
+
* const input = {
|
|
303
|
+
* TableName: "Music"
|
|
304
|
+
* };
|
|
305
|
+
* const command = new DeleteTableCommand(input);
|
|
306
|
+
* const response = await client.send(command);
|
|
307
|
+
* /* response is
|
|
308
|
+
* {
|
|
309
|
+
* TableDescription: {
|
|
310
|
+
* ItemCount: 0,
|
|
311
|
+
* ProvisionedThroughput: {
|
|
312
|
+
* NumberOfDecreasesToday: 1,
|
|
313
|
+
* ReadCapacityUnits: 5,
|
|
314
|
+
* WriteCapacityUnits: 5
|
|
315
|
+
* },
|
|
316
|
+
* TableName: "Music",
|
|
317
|
+
* TableSizeBytes: 0,
|
|
318
|
+
* TableStatus: "DELETING"
|
|
319
|
+
* }
|
|
320
|
+
* }
|
|
321
|
+
* *\/
|
|
322
|
+
* ```
|
|
323
|
+
*
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export declare class DeleteTableCommand extends DeleteTableCommand_base {
|
|
327
|
+
/** @internal type navigation helper, not in runtime. */
|
|
328
|
+
protected static __types: {
|
|
329
|
+
api: {
|
|
330
|
+
input: DeleteTableInput;
|
|
331
|
+
output: DeleteTableOutput;
|
|
332
|
+
};
|
|
333
|
+
sdk: {
|
|
334
|
+
input: DeleteTableCommandInput;
|
|
335
|
+
output: DeleteTableCommandOutput;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
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 { DescribeBackupInput, DescribeBackupOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeBackupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeBackupCommandInput extends DescribeBackupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeBackupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeBackupCommandOutput extends DescribeBackupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeBackupCommand_base: {
|
|
25
|
+
new (input: DescribeBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBackupCommandInput, DescribeBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBackupCommandInput, DescribeBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Describes an existing backup of a table.</p>
|
|
31
|
+
* <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per
|
|
32
|
+
* second.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DynamoDBClient, DescribeBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
37
|
+
* // const { DynamoDBClient, DescribeBackupCommand } = 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 = { // DescribeBackupInput
|
|
42
|
+
* BackupArn: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DescribeBackupCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DescribeBackupOutput
|
|
47
|
+
* // BackupDescription: { // BackupDescription
|
|
48
|
+
* // BackupDetails: { // BackupDetails
|
|
49
|
+
* // BackupArn: "STRING_VALUE", // required
|
|
50
|
+
* // BackupName: "STRING_VALUE", // required
|
|
51
|
+
* // BackupSizeBytes: Number("long"),
|
|
52
|
+
* // BackupStatus: "CREATING" || "DELETED" || "AVAILABLE", // required
|
|
53
|
+
* // BackupType: "USER" || "SYSTEM" || "AWS_BACKUP", // required
|
|
54
|
+
* // BackupCreationDateTime: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // BackupExpiryDateTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // SourceTableDetails: { // SourceTableDetails
|
|
58
|
+
* // TableName: "STRING_VALUE", // required
|
|
59
|
+
* // TableId: "STRING_VALUE", // required
|
|
60
|
+
* // TableArn: "STRING_VALUE",
|
|
61
|
+
* // TableSizeBytes: Number("long"),
|
|
62
|
+
* // KeySchema: [ // KeySchema // required
|
|
63
|
+
* // { // KeySchemaElement
|
|
64
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
65
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // TableCreationDateTime: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // ProvisionedThroughput: { // ProvisionedThroughput
|
|
70
|
+
* // ReadCapacityUnits: Number("long"), // required
|
|
71
|
+
* // WriteCapacityUnits: Number("long"), // required
|
|
72
|
+
* // },
|
|
73
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
74
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
75
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
76
|
+
* // },
|
|
77
|
+
* // ItemCount: Number("long"),
|
|
78
|
+
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
79
|
+
* // },
|
|
80
|
+
* // SourceTableFeatureDetails: { // SourceTableFeatureDetails
|
|
81
|
+
* // LocalSecondaryIndexes: [ // LocalSecondaryIndexes
|
|
82
|
+
* // { // LocalSecondaryIndexInfo
|
|
83
|
+
* // IndexName: "STRING_VALUE",
|
|
84
|
+
* // KeySchema: [
|
|
85
|
+
* // {
|
|
86
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
87
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // Projection: { // Projection
|
|
91
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
92
|
+
* // NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexes
|
|
99
|
+
* // { // GlobalSecondaryIndexInfo
|
|
100
|
+
* // IndexName: "STRING_VALUE",
|
|
101
|
+
* // KeySchema: [
|
|
102
|
+
* // {
|
|
103
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
104
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // Projection: {
|
|
108
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
109
|
+
* // NonKeyAttributes: [
|
|
110
|
+
* // "STRING_VALUE",
|
|
111
|
+
* // ],
|
|
112
|
+
* // },
|
|
113
|
+
* // ProvisionedThroughput: {
|
|
114
|
+
* // ReadCapacityUnits: Number("long"), // required
|
|
115
|
+
* // WriteCapacityUnits: Number("long"), // required
|
|
116
|
+
* // },
|
|
117
|
+
* // OnDemandThroughput: {
|
|
118
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
119
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // StreamDescription: { // StreamSpecification
|
|
124
|
+
* // StreamEnabled: true || false, // required
|
|
125
|
+
* // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
126
|
+
* // },
|
|
127
|
+
* // TimeToLiveDescription: { // TimeToLiveDescription
|
|
128
|
+
* // TimeToLiveStatus: "ENABLING" || "DISABLING" || "ENABLED" || "DISABLED",
|
|
129
|
+
* // AttributeName: "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // SSEDescription: { // SSEDescription
|
|
132
|
+
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING",
|
|
133
|
+
* // SSEType: "AES256" || "KMS",
|
|
134
|
+
* // KMSMasterKeyArn: "STRING_VALUE",
|
|
135
|
+
* // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"),
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // };
|
|
140
|
+
*
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* @param DescribeBackupCommandInput - {@link DescribeBackupCommandInput}
|
|
144
|
+
* @returns {@link DescribeBackupCommandOutput}
|
|
145
|
+
* @see {@link DescribeBackupCommandInput} for command's `input` shape.
|
|
146
|
+
* @see {@link DescribeBackupCommandOutput} for command's `response` shape.
|
|
147
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link BackupNotFoundException} (client fault)
|
|
150
|
+
* <p>Backup not found for the given BackupARN. </p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link InternalServerError} (server fault)
|
|
153
|
+
* <p>An error occurred on the server side.</p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link DynamoDBServiceException}
|
|
158
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
159
|
+
*
|
|
160
|
+
*
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export declare class DescribeBackupCommand extends DescribeBackupCommand_base {
|
|
164
|
+
/** @internal type navigation helper, not in runtime. */
|
|
165
|
+
protected static __types: {
|
|
166
|
+
api: {
|
|
167
|
+
input: DescribeBackupInput;
|
|
168
|
+
output: DescribeBackupOutput;
|
|
169
|
+
};
|
|
170
|
+
sdk: {
|
|
171
|
+
input: DescribeBackupCommandInput;
|
|
172
|
+
output: DescribeBackupCommandOutput;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { DescribeContinuousBackupsInput, DescribeContinuousBackupsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeContinuousBackupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeContinuousBackupsCommandInput extends DescribeContinuousBackupsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeContinuousBackupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeContinuousBackupsCommandOutput extends DescribeContinuousBackupsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeContinuousBackupsCommand_base: {
|
|
25
|
+
new (input: DescribeContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Checks the status of continuous backups and point in time recovery on the specified
|
|
31
|
+
* table. Continuous backups are <code>ENABLED</code> on all tables at table creation. If
|
|
32
|
+
* point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to
|
|
33
|
+
* ENABLED.</p>
|
|
34
|
+
* <p> After continuous backups and point in time recovery are enabled, you can restore to
|
|
35
|
+
* any point in time within <code>EarliestRestorableDateTime</code> and
|
|
36
|
+
* <code>LatestRestorableDateTime</code>. </p>
|
|
37
|
+
* <p>
|
|
38
|
+
* <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.
|
|
39
|
+
* You can restore your table to any point in time in the last 35 days. You can set the
|
|
40
|
+
* recovery period to any value between 1 and 35 days. </p>
|
|
41
|
+
* <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per
|
|
42
|
+
* second.</p>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { DynamoDBClient, DescribeContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
47
|
+
* // const { DynamoDBClient, DescribeContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
48
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
49
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
50
|
+
* const client = new DynamoDBClient(config);
|
|
51
|
+
* const input = { // DescribeContinuousBackupsInput
|
|
52
|
+
* TableName: "STRING_VALUE", // required
|
|
53
|
+
* };
|
|
54
|
+
* const command = new DescribeContinuousBackupsCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // DescribeContinuousBackupsOutput
|
|
57
|
+
* // ContinuousBackupsDescription: { // ContinuousBackupsDescription
|
|
58
|
+
* // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required
|
|
59
|
+
* // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription
|
|
60
|
+
* // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED",
|
|
61
|
+
* // RecoveryPeriodInDays: Number("int"),
|
|
62
|
+
* // EarliestRestorableDateTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // LatestRestorableDateTime: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param DescribeContinuousBackupsCommandInput - {@link DescribeContinuousBackupsCommandInput}
|
|
71
|
+
* @returns {@link DescribeContinuousBackupsCommandOutput}
|
|
72
|
+
* @see {@link DescribeContinuousBackupsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link DescribeContinuousBackupsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerError} (server fault)
|
|
77
|
+
* <p>An error occurred on the server side.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link TableNotFoundException} (client fault)
|
|
82
|
+
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
83
|
+
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services
|
|
84
|
+
* Region.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link DynamoDBServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class DescribeContinuousBackupsCommand extends DescribeContinuousBackupsCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: DescribeContinuousBackupsInput;
|
|
97
|
+
output: DescribeContinuousBackupsOutput;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: DescribeContinuousBackupsCommandInput;
|
|
101
|
+
output: DescribeContinuousBackupsCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|