@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,211 @@
|
|
|
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 { CreateGlobalTableInput, CreateGlobalTableOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateGlobalTableCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateGlobalTableCommandInput extends CreateGlobalTableInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateGlobalTableCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateGlobalTableCommandOutput extends CreateGlobalTableOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateGlobalTableCommand_base: {
|
|
25
|
+
new (input: CreateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a global table from an existing table. A global table creates a replication
|
|
31
|
+
* relationship between two or more DynamoDB tables with the same table name in the
|
|
32
|
+
* provided Regions. </p>
|
|
33
|
+
* <important>
|
|
34
|
+
* <p>This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html">Global Tables version 2019.11.21 (Current)</a> when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).</p>
|
|
35
|
+
* <p>To determine which version you're using, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html">Determining the global table version you are using</a>. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html">Upgrading global tables</a>.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <p>If you want to add a new replica table to a global table, each of the following
|
|
38
|
+
* conditions must be true:</p>
|
|
39
|
+
* <ul>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>The table must have the same primary key as all of the other replicas.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>The table must have the same name as all of the other replicas.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>The table must have DynamoDB Streams enabled, with the stream containing both
|
|
48
|
+
* the new and the old images of the item.</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>None of the replica tables in the global table can contain any data.</p>
|
|
52
|
+
* </li>
|
|
53
|
+
* </ul>
|
|
54
|
+
* <p> If global secondary indexes are specified, then the following conditions must also be
|
|
55
|
+
* met: </p>
|
|
56
|
+
* <ul>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p> The global secondary indexes must have the same name. </p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p> The global secondary indexes must have the same hash key and sort key (if
|
|
62
|
+
* present). </p>
|
|
63
|
+
* </li>
|
|
64
|
+
* </ul>
|
|
65
|
+
* <p> If local secondary indexes are specified, then the following conditions must also be
|
|
66
|
+
* met: </p>
|
|
67
|
+
* <ul>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p> The local secondary indexes must have the same name. </p>
|
|
70
|
+
* </li>
|
|
71
|
+
* <li>
|
|
72
|
+
* <p> The local secondary indexes must have the same hash key and sort key (if
|
|
73
|
+
* present). </p>
|
|
74
|
+
* </li>
|
|
75
|
+
* </ul>
|
|
76
|
+
* <important>
|
|
77
|
+
* <p> Write capacity settings should be set consistently across your replica tables and
|
|
78
|
+
* secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the
|
|
79
|
+
* write capacity settings for all of your global tables replicas and indexes. </p>
|
|
80
|
+
* <p> If you prefer to manage write capacity settings manually, you should provision
|
|
81
|
+
* equal replicated write capacity units to your replica tables. You should also
|
|
82
|
+
* provision equal replicated write capacity units to matching secondary indexes across
|
|
83
|
+
* your global table. </p>
|
|
84
|
+
* </important>
|
|
85
|
+
* @example
|
|
86
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
87
|
+
* ```javascript
|
|
88
|
+
* import { DynamoDBClient, CreateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
89
|
+
* // const { DynamoDBClient, CreateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
90
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
91
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
92
|
+
* const client = new DynamoDBClient(config);
|
|
93
|
+
* const input = { // CreateGlobalTableInput
|
|
94
|
+
* GlobalTableName: "STRING_VALUE", // required
|
|
95
|
+
* ReplicationGroup: [ // ReplicaList // required
|
|
96
|
+
* { // Replica
|
|
97
|
+
* RegionName: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* };
|
|
101
|
+
* const command = new CreateGlobalTableCommand(input);
|
|
102
|
+
* const response = await client.send(command);
|
|
103
|
+
* // { // CreateGlobalTableOutput
|
|
104
|
+
* // GlobalTableDescription: { // GlobalTableDescription
|
|
105
|
+
* // ReplicationGroup: [ // ReplicaDescriptionList
|
|
106
|
+
* // { // ReplicaDescription
|
|
107
|
+
* // RegionName: "STRING_VALUE",
|
|
108
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
109
|
+
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
110
|
+
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
111
|
+
* // KMSMasterKeyId: "STRING_VALUE",
|
|
112
|
+
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
113
|
+
* // ReadCapacityUnits: Number("long"),
|
|
114
|
+
* // },
|
|
115
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
116
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
117
|
+
* // },
|
|
118
|
+
* // WarmThroughput: { // TableWarmThroughputDescription
|
|
119
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
120
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
121
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
122
|
+
* // },
|
|
123
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
124
|
+
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
125
|
+
* // IndexName: "STRING_VALUE",
|
|
126
|
+
* // ProvisionedThroughputOverride: {
|
|
127
|
+
* // ReadCapacityUnits: Number("long"),
|
|
128
|
+
* // },
|
|
129
|
+
* // OnDemandThroughputOverride: {
|
|
130
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
131
|
+
* // },
|
|
132
|
+
* // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription
|
|
133
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
134
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
135
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
140
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
141
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
142
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
143
|
+
* // },
|
|
144
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // GlobalTableArn: "STRING_VALUE",
|
|
148
|
+
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
149
|
+
* // GlobalTableStatus: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING",
|
|
150
|
+
* // GlobalTableName: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // };
|
|
153
|
+
*
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
* @param CreateGlobalTableCommandInput - {@link CreateGlobalTableCommandInput}
|
|
157
|
+
* @returns {@link CreateGlobalTableCommandOutput}
|
|
158
|
+
* @see {@link CreateGlobalTableCommandInput} for command's `input` shape.
|
|
159
|
+
* @see {@link CreateGlobalTableCommandOutput} for command's `response` shape.
|
|
160
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link GlobalTableAlreadyExistsException} (client fault)
|
|
163
|
+
* <p>The specified global table already exists.</p>
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link InternalServerError} (server fault)
|
|
166
|
+
* <p>An error occurred on the server side.</p>
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
169
|
+
*
|
|
170
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
171
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
172
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
173
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
174
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
175
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
176
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
177
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
178
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
179
|
+
* operations.</p>
|
|
180
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
181
|
+
* allowed per account.</p>
|
|
182
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
183
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
184
|
+
* parameter.</p>
|
|
185
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
186
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
187
|
+
*
|
|
188
|
+
* @throws {@link TableNotFoundException} (client fault)
|
|
189
|
+
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
190
|
+
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services
|
|
191
|
+
* Region.</p>
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link DynamoDBServiceException}
|
|
194
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
195
|
+
*
|
|
196
|
+
*
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base {
|
|
200
|
+
/** @internal type navigation helper, not in runtime. */
|
|
201
|
+
protected static __types: {
|
|
202
|
+
api: {
|
|
203
|
+
input: CreateGlobalTableInput;
|
|
204
|
+
output: CreateGlobalTableOutput;
|
|
205
|
+
};
|
|
206
|
+
sdk: {
|
|
207
|
+
input: CreateGlobalTableCommandInput;
|
|
208
|
+
output: CreateGlobalTableCommandOutput;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
}
|
|
@@ -0,0 +1,394 @@
|
|
|
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 { CreateTableInput, CreateTableOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateTableCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTableCommandInput extends CreateTableInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTableCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTableCommandOutput extends CreateTableOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateTableCommand_base: {
|
|
25
|
+
new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The <code>CreateTable</code> operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can
|
|
31
|
+
* have two tables with same name if you create the tables in different Regions.</p>
|
|
32
|
+
* <p>
|
|
33
|
+
* <code>CreateTable</code> is an asynchronous operation. Upon receiving a
|
|
34
|
+
* <code>CreateTable</code> request, DynamoDB immediately returns a response with a
|
|
35
|
+
* <code>TableStatus</code> of <code>CREATING</code>. After the table is created,
|
|
36
|
+
* DynamoDB sets the <code>TableStatus</code> to <code>ACTIVE</code>. You can perform read
|
|
37
|
+
* and write operations only on an <code>ACTIVE</code> table. </p>
|
|
38
|
+
* <p>You can optionally define secondary indexes on the new table, as part of the
|
|
39
|
+
* <code>CreateTable</code> operation. If you want to create multiple tables with
|
|
40
|
+
* secondary indexes on them, you must create the tables sequentially. Only one table with
|
|
41
|
+
* secondary indexes can be in the <code>CREATING</code> state at any given time.</p>
|
|
42
|
+
* <p>You can use the <code>DescribeTable</code> action to check the table status.</p>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { DynamoDBClient, CreateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
47
|
+
* // const { DynamoDBClient, CreateTableCommand } = 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 = { // CreateTableInput
|
|
52
|
+
* AttributeDefinitions: [ // AttributeDefinitions
|
|
53
|
+
* { // AttributeDefinition
|
|
54
|
+
* AttributeName: "STRING_VALUE", // required
|
|
55
|
+
* AttributeType: "S" || "N" || "B", // required
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* TableName: "STRING_VALUE", // required
|
|
59
|
+
* KeySchema: [ // KeySchema
|
|
60
|
+
* { // KeySchemaElement
|
|
61
|
+
* AttributeName: "STRING_VALUE", // required
|
|
62
|
+
* KeyType: "HASH" || "RANGE", // required
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* LocalSecondaryIndexes: [ // LocalSecondaryIndexList
|
|
66
|
+
* { // LocalSecondaryIndex
|
|
67
|
+
* IndexName: "STRING_VALUE", // required
|
|
68
|
+
* KeySchema: [ // required
|
|
69
|
+
* {
|
|
70
|
+
* AttributeName: "STRING_VALUE", // required
|
|
71
|
+
* KeyType: "HASH" || "RANGE", // required
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* Projection: { // Projection
|
|
75
|
+
* ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
76
|
+
* NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
77
|
+
* "STRING_VALUE",
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* GlobalSecondaryIndexes: [ // GlobalSecondaryIndexList
|
|
83
|
+
* { // GlobalSecondaryIndex
|
|
84
|
+
* IndexName: "STRING_VALUE", // required
|
|
85
|
+
* KeySchema: [ // required
|
|
86
|
+
* {
|
|
87
|
+
* AttributeName: "STRING_VALUE", // required
|
|
88
|
+
* KeyType: "HASH" || "RANGE", // required
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* Projection: {
|
|
92
|
+
* ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
93
|
+
* NonKeyAttributes: [
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* ProvisionedThroughput: { // ProvisionedThroughput
|
|
98
|
+
* ReadCapacityUnits: Number("long"), // required
|
|
99
|
+
* WriteCapacityUnits: Number("long"), // required
|
|
100
|
+
* },
|
|
101
|
+
* OnDemandThroughput: { // OnDemandThroughput
|
|
102
|
+
* MaxReadRequestUnits: Number("long"),
|
|
103
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
104
|
+
* },
|
|
105
|
+
* WarmThroughput: { // WarmThroughput
|
|
106
|
+
* ReadUnitsPerSecond: Number("long"),
|
|
107
|
+
* WriteUnitsPerSecond: Number("long"),
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
112
|
+
* ProvisionedThroughput: {
|
|
113
|
+
* ReadCapacityUnits: Number("long"), // required
|
|
114
|
+
* WriteCapacityUnits: Number("long"), // required
|
|
115
|
+
* },
|
|
116
|
+
* StreamSpecification: { // StreamSpecification
|
|
117
|
+
* StreamEnabled: true || false, // required
|
|
118
|
+
* StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
119
|
+
* },
|
|
120
|
+
* SSESpecification: { // SSESpecification
|
|
121
|
+
* Enabled: true || false,
|
|
122
|
+
* SSEType: "AES256" || "KMS",
|
|
123
|
+
* KMSMasterKeyId: "STRING_VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* Tags: [ // TagList
|
|
126
|
+
* { // Tag
|
|
127
|
+
* Key: "STRING_VALUE", // required
|
|
128
|
+
* Value: "STRING_VALUE", // required
|
|
129
|
+
* },
|
|
130
|
+
* ],
|
|
131
|
+
* TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
132
|
+
* DeletionProtectionEnabled: true || false,
|
|
133
|
+
* WarmThroughput: {
|
|
134
|
+
* ReadUnitsPerSecond: Number("long"),
|
|
135
|
+
* WriteUnitsPerSecond: Number("long"),
|
|
136
|
+
* },
|
|
137
|
+
* ResourcePolicy: "STRING_VALUE",
|
|
138
|
+
* OnDemandThroughput: {
|
|
139
|
+
* MaxReadRequestUnits: Number("long"),
|
|
140
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
141
|
+
* },
|
|
142
|
+
* GlobalTableSourceArn: "STRING_VALUE",
|
|
143
|
+
* GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
144
|
+
* };
|
|
145
|
+
* const command = new CreateTableCommand(input);
|
|
146
|
+
* const response = await client.send(command);
|
|
147
|
+
* // { // CreateTableOutput
|
|
148
|
+
* // TableDescription: { // TableDescription
|
|
149
|
+
* // AttributeDefinitions: [ // AttributeDefinitions
|
|
150
|
+
* // { // AttributeDefinition
|
|
151
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
152
|
+
* // AttributeType: "S" || "N" || "B", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // TableName: "STRING_VALUE",
|
|
156
|
+
* // KeySchema: [ // KeySchema
|
|
157
|
+
* // { // KeySchemaElement
|
|
158
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
159
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
163
|
+
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
164
|
+
* // ProvisionedThroughput: { // ProvisionedThroughputDescription
|
|
165
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
166
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
167
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
168
|
+
* // ReadCapacityUnits: Number("long"),
|
|
169
|
+
* // WriteCapacityUnits: Number("long"),
|
|
170
|
+
* // },
|
|
171
|
+
* // TableSizeBytes: Number("long"),
|
|
172
|
+
* // ItemCount: Number("long"),
|
|
173
|
+
* // TableArn: "STRING_VALUE",
|
|
174
|
+
* // TableId: "STRING_VALUE",
|
|
175
|
+
* // BillingModeSummary: { // BillingModeSummary
|
|
176
|
+
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
177
|
+
* // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"),
|
|
178
|
+
* // },
|
|
179
|
+
* // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList
|
|
180
|
+
* // { // LocalSecondaryIndexDescription
|
|
181
|
+
* // IndexName: "STRING_VALUE",
|
|
182
|
+
* // KeySchema: [
|
|
183
|
+
* // {
|
|
184
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
185
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
186
|
+
* // },
|
|
187
|
+
* // ],
|
|
188
|
+
* // Projection: { // Projection
|
|
189
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
190
|
+
* // NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
191
|
+
* // "STRING_VALUE",
|
|
192
|
+
* // ],
|
|
193
|
+
* // },
|
|
194
|
+
* // IndexSizeBytes: Number("long"),
|
|
195
|
+
* // ItemCount: Number("long"),
|
|
196
|
+
* // IndexArn: "STRING_VALUE",
|
|
197
|
+
* // },
|
|
198
|
+
* // ],
|
|
199
|
+
* // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList
|
|
200
|
+
* // { // GlobalSecondaryIndexDescription
|
|
201
|
+
* // IndexName: "STRING_VALUE",
|
|
202
|
+
* // KeySchema: [
|
|
203
|
+
* // {
|
|
204
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
205
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
206
|
+
* // },
|
|
207
|
+
* // ],
|
|
208
|
+
* // Projection: {
|
|
209
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
210
|
+
* // NonKeyAttributes: [
|
|
211
|
+
* // "STRING_VALUE",
|
|
212
|
+
* // ],
|
|
213
|
+
* // },
|
|
214
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
215
|
+
* // Backfilling: true || false,
|
|
216
|
+
* // ProvisionedThroughput: {
|
|
217
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
218
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
219
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
220
|
+
* // ReadCapacityUnits: Number("long"),
|
|
221
|
+
* // WriteCapacityUnits: Number("long"),
|
|
222
|
+
* // },
|
|
223
|
+
* // IndexSizeBytes: Number("long"),
|
|
224
|
+
* // ItemCount: Number("long"),
|
|
225
|
+
* // IndexArn: "STRING_VALUE",
|
|
226
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
227
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
228
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
229
|
+
* // },
|
|
230
|
+
* // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription
|
|
231
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
232
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
233
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
234
|
+
* // },
|
|
235
|
+
* // },
|
|
236
|
+
* // ],
|
|
237
|
+
* // StreamSpecification: { // StreamSpecification
|
|
238
|
+
* // StreamEnabled: true || false, // required
|
|
239
|
+
* // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
240
|
+
* // },
|
|
241
|
+
* // LatestStreamLabel: "STRING_VALUE",
|
|
242
|
+
* // LatestStreamArn: "STRING_VALUE",
|
|
243
|
+
* // GlobalTableVersion: "STRING_VALUE",
|
|
244
|
+
* // Replicas: [ // ReplicaDescriptionList
|
|
245
|
+
* // { // ReplicaDescription
|
|
246
|
+
* // RegionName: "STRING_VALUE",
|
|
247
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
248
|
+
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
249
|
+
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
250
|
+
* // KMSMasterKeyId: "STRING_VALUE",
|
|
251
|
+
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
252
|
+
* // ReadCapacityUnits: Number("long"),
|
|
253
|
+
* // },
|
|
254
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
255
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
256
|
+
* // },
|
|
257
|
+
* // WarmThroughput: { // TableWarmThroughputDescription
|
|
258
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
259
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
260
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
261
|
+
* // },
|
|
262
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
263
|
+
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
264
|
+
* // IndexName: "STRING_VALUE",
|
|
265
|
+
* // ProvisionedThroughputOverride: {
|
|
266
|
+
* // ReadCapacityUnits: Number("long"),
|
|
267
|
+
* // },
|
|
268
|
+
* // OnDemandThroughputOverride: {
|
|
269
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
270
|
+
* // },
|
|
271
|
+
* // WarmThroughput: {
|
|
272
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
273
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
274
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
275
|
+
* // },
|
|
276
|
+
* // },
|
|
277
|
+
* // ],
|
|
278
|
+
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
279
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
280
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
281
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
282
|
+
* // },
|
|
283
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
284
|
+
* // },
|
|
285
|
+
* // ],
|
|
286
|
+
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
287
|
+
* // { // GlobalTableWitnessDescription
|
|
288
|
+
* // RegionName: "STRING_VALUE",
|
|
289
|
+
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
290
|
+
* // },
|
|
291
|
+
* // ],
|
|
292
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
293
|
+
* // RestoreSummary: { // RestoreSummary
|
|
294
|
+
* // SourceBackupArn: "STRING_VALUE",
|
|
295
|
+
* // SourceTableArn: "STRING_VALUE",
|
|
296
|
+
* // RestoreDateTime: new Date("TIMESTAMP"), // required
|
|
297
|
+
* // RestoreInProgress: true || false, // required
|
|
298
|
+
* // },
|
|
299
|
+
* // SSEDescription: { // SSEDescription
|
|
300
|
+
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING",
|
|
301
|
+
* // SSEType: "AES256" || "KMS",
|
|
302
|
+
* // KMSMasterKeyArn: "STRING_VALUE",
|
|
303
|
+
* // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"),
|
|
304
|
+
* // },
|
|
305
|
+
* // ArchivalSummary: { // ArchivalSummary
|
|
306
|
+
* // ArchivalDateTime: new Date("TIMESTAMP"),
|
|
307
|
+
* // ArchivalReason: "STRING_VALUE",
|
|
308
|
+
* // ArchivalBackupArn: "STRING_VALUE",
|
|
309
|
+
* // },
|
|
310
|
+
* // TableClassSummary: {
|
|
311
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
312
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
313
|
+
* // },
|
|
314
|
+
* // DeletionProtectionEnabled: true || false,
|
|
315
|
+
* // OnDemandThroughput: {
|
|
316
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
317
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
318
|
+
* // },
|
|
319
|
+
* // WarmThroughput: {
|
|
320
|
+
* // ReadUnitsPerSecond: Number("long"),
|
|
321
|
+
* // WriteUnitsPerSecond: Number("long"),
|
|
322
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
323
|
+
* // },
|
|
324
|
+
* // MultiRegionConsistency: "EVENTUAL" || "STRONG",
|
|
325
|
+
* // },
|
|
326
|
+
* // };
|
|
327
|
+
*
|
|
328
|
+
* ```
|
|
329
|
+
*
|
|
330
|
+
* @param CreateTableCommandInput - {@link CreateTableCommandInput}
|
|
331
|
+
* @returns {@link CreateTableCommandOutput}
|
|
332
|
+
* @see {@link CreateTableCommandInput} for command's `input` shape.
|
|
333
|
+
* @see {@link CreateTableCommandOutput} for command's `response` shape.
|
|
334
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
335
|
+
*
|
|
336
|
+
* @throws {@link InternalServerError} (server fault)
|
|
337
|
+
* <p>An error occurred on the server side.</p>
|
|
338
|
+
*
|
|
339
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
340
|
+
*
|
|
341
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
342
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
343
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
344
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
345
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
346
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
347
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
348
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
349
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
350
|
+
* operations.</p>
|
|
351
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
352
|
+
* allowed per account.</p>
|
|
353
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
354
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
355
|
+
* parameter.</p>
|
|
356
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
357
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
358
|
+
*
|
|
359
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
360
|
+
* <p>The operation conflicts with the resource's availability. For example:</p>
|
|
361
|
+
* <ul>
|
|
362
|
+
* <li>
|
|
363
|
+
* <p>You attempted to recreate an existing table.</p>
|
|
364
|
+
* </li>
|
|
365
|
+
* <li>
|
|
366
|
+
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
367
|
+
* state.</p>
|
|
368
|
+
* </li>
|
|
369
|
+
* <li>
|
|
370
|
+
* <p>You tried to update a resource that was already being updated.</p>
|
|
371
|
+
* </li>
|
|
372
|
+
* </ul>
|
|
373
|
+
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
374
|
+
* again.</p>
|
|
375
|
+
*
|
|
376
|
+
* @throws {@link DynamoDBServiceException}
|
|
377
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
378
|
+
*
|
|
379
|
+
*
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
export declare class CreateTableCommand extends CreateTableCommand_base {
|
|
383
|
+
/** @internal type navigation helper, not in runtime. */
|
|
384
|
+
protected static __types: {
|
|
385
|
+
api: {
|
|
386
|
+
input: CreateTableInput;
|
|
387
|
+
output: CreateTableOutput;
|
|
388
|
+
};
|
|
389
|
+
sdk: {
|
|
390
|
+
input: CreateTableCommandInput;
|
|
391
|
+
output: CreateTableCommandOutput;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
}
|