@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,246 @@
|
|
|
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 { UpdateTableReplicaAutoScalingInput, UpdateTableReplicaAutoScalingOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateTableReplicaAutoScalingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTableReplicaAutoScalingCommandInput extends UpdateTableReplicaAutoScalingInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTableReplicaAutoScalingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTableReplicaAutoScalingCommandOutput extends UpdateTableReplicaAutoScalingOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateTableReplicaAutoScalingCommand_base: {
|
|
25
|
+
new (input: UpdateTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates auto scaling settings on your global tables at once.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DynamoDBClient, UpdateTableReplicaAutoScalingCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
35
|
+
* // const { DynamoDBClient, UpdateTableReplicaAutoScalingCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
36
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
37
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
38
|
+
* const client = new DynamoDBClient(config);
|
|
39
|
+
* const input = { // UpdateTableReplicaAutoScalingInput
|
|
40
|
+
* GlobalSecondaryIndexUpdates: [ // GlobalSecondaryIndexAutoScalingUpdateList
|
|
41
|
+
* { // GlobalSecondaryIndexAutoScalingUpdate
|
|
42
|
+
* IndexName: "STRING_VALUE",
|
|
43
|
+
* ProvisionedWriteCapacityAutoScalingUpdate: { // AutoScalingSettingsUpdate
|
|
44
|
+
* MinimumUnits: Number("long"),
|
|
45
|
+
* MaximumUnits: Number("long"),
|
|
46
|
+
* AutoScalingDisabled: true || false,
|
|
47
|
+
* AutoScalingRoleArn: "STRING_VALUE",
|
|
48
|
+
* ScalingPolicyUpdate: { // AutoScalingPolicyUpdate
|
|
49
|
+
* PolicyName: "STRING_VALUE",
|
|
50
|
+
* TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationUpdate
|
|
51
|
+
* DisableScaleIn: true || false,
|
|
52
|
+
* ScaleInCooldown: Number("int"),
|
|
53
|
+
* ScaleOutCooldown: Number("int"),
|
|
54
|
+
* TargetValue: Number("double"), // required
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* TableName: "STRING_VALUE", // required
|
|
61
|
+
* ProvisionedWriteCapacityAutoScalingUpdate: {
|
|
62
|
+
* MinimumUnits: Number("long"),
|
|
63
|
+
* MaximumUnits: Number("long"),
|
|
64
|
+
* AutoScalingDisabled: true || false,
|
|
65
|
+
* AutoScalingRoleArn: "STRING_VALUE",
|
|
66
|
+
* ScalingPolicyUpdate: {
|
|
67
|
+
* PolicyName: "STRING_VALUE",
|
|
68
|
+
* TargetTrackingScalingPolicyConfiguration: {
|
|
69
|
+
* DisableScaleIn: true || false,
|
|
70
|
+
* ScaleInCooldown: Number("int"),
|
|
71
|
+
* ScaleOutCooldown: Number("int"),
|
|
72
|
+
* TargetValue: Number("double"), // required
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* ReplicaUpdates: [ // ReplicaAutoScalingUpdateList
|
|
77
|
+
* { // ReplicaAutoScalingUpdate
|
|
78
|
+
* RegionName: "STRING_VALUE", // required
|
|
79
|
+
* ReplicaGlobalSecondaryIndexUpdates: [ // ReplicaGlobalSecondaryIndexAutoScalingUpdateList
|
|
80
|
+
* { // ReplicaGlobalSecondaryIndexAutoScalingUpdate
|
|
81
|
+
* IndexName: "STRING_VALUE",
|
|
82
|
+
* ProvisionedReadCapacityAutoScalingUpdate: "<AutoScalingSettingsUpdate>",
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* ReplicaProvisionedReadCapacityAutoScalingUpdate: "<AutoScalingSettingsUpdate>",
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* };
|
|
89
|
+
* const command = new UpdateTableReplicaAutoScalingCommand(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* // { // UpdateTableReplicaAutoScalingOutput
|
|
92
|
+
* // TableAutoScalingDescription: { // TableAutoScalingDescription
|
|
93
|
+
* // TableName: "STRING_VALUE",
|
|
94
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
95
|
+
* // Replicas: [ // ReplicaAutoScalingDescriptionList
|
|
96
|
+
* // { // ReplicaAutoScalingDescription
|
|
97
|
+
* // RegionName: "STRING_VALUE",
|
|
98
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexAutoScalingDescriptionList
|
|
99
|
+
* // { // ReplicaGlobalSecondaryIndexAutoScalingDescription
|
|
100
|
+
* // IndexName: "STRING_VALUE",
|
|
101
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
102
|
+
* // ProvisionedReadCapacityAutoScalingSettings: { // AutoScalingSettingsDescription
|
|
103
|
+
* // MinimumUnits: Number("long"),
|
|
104
|
+
* // MaximumUnits: Number("long"),
|
|
105
|
+
* // AutoScalingDisabled: true || false,
|
|
106
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
107
|
+
* // ScalingPolicies: [ // AutoScalingPolicyDescriptionList
|
|
108
|
+
* // { // AutoScalingPolicyDescription
|
|
109
|
+
* // PolicyName: "STRING_VALUE",
|
|
110
|
+
* // TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationDescription
|
|
111
|
+
* // DisableScaleIn: true || false,
|
|
112
|
+
* // ScaleInCooldown: Number("int"),
|
|
113
|
+
* // ScaleOutCooldown: Number("int"),
|
|
114
|
+
* // TargetValue: Number("double"), // required
|
|
115
|
+
* // },
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // ProvisionedWriteCapacityAutoScalingSettings: {
|
|
120
|
+
* // MinimumUnits: Number("long"),
|
|
121
|
+
* // MaximumUnits: Number("long"),
|
|
122
|
+
* // AutoScalingDisabled: true || false,
|
|
123
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
124
|
+
* // ScalingPolicies: [
|
|
125
|
+
* // {
|
|
126
|
+
* // PolicyName: "STRING_VALUE",
|
|
127
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
128
|
+
* // DisableScaleIn: true || false,
|
|
129
|
+
* // ScaleInCooldown: Number("int"),
|
|
130
|
+
* // ScaleOutCooldown: Number("int"),
|
|
131
|
+
* // TargetValue: Number("double"), // required
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // ReplicaProvisionedReadCapacityAutoScalingSettings: {
|
|
139
|
+
* // MinimumUnits: Number("long"),
|
|
140
|
+
* // MaximumUnits: Number("long"),
|
|
141
|
+
* // AutoScalingDisabled: true || false,
|
|
142
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
143
|
+
* // ScalingPolicies: [
|
|
144
|
+
* // {
|
|
145
|
+
* // PolicyName: "STRING_VALUE",
|
|
146
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
147
|
+
* // DisableScaleIn: true || false,
|
|
148
|
+
* // ScaleInCooldown: Number("int"),
|
|
149
|
+
* // ScaleOutCooldown: Number("int"),
|
|
150
|
+
* // TargetValue: Number("double"), // required
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // },
|
|
155
|
+
* // ReplicaProvisionedWriteCapacityAutoScalingSettings: {
|
|
156
|
+
* // MinimumUnits: Number("long"),
|
|
157
|
+
* // MaximumUnits: Number("long"),
|
|
158
|
+
* // AutoScalingDisabled: true || false,
|
|
159
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
160
|
+
* // ScalingPolicies: [
|
|
161
|
+
* // {
|
|
162
|
+
* // PolicyName: "STRING_VALUE",
|
|
163
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
164
|
+
* // DisableScaleIn: true || false,
|
|
165
|
+
* // ScaleInCooldown: Number("int"),
|
|
166
|
+
* // ScaleOutCooldown: Number("int"),
|
|
167
|
+
* // TargetValue: Number("double"), // required
|
|
168
|
+
* // },
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
171
|
+
* // },
|
|
172
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
173
|
+
* // },
|
|
174
|
+
* // ],
|
|
175
|
+
* // },
|
|
176
|
+
* // };
|
|
177
|
+
*
|
|
178
|
+
* ```
|
|
179
|
+
*
|
|
180
|
+
* @param UpdateTableReplicaAutoScalingCommandInput - {@link UpdateTableReplicaAutoScalingCommandInput}
|
|
181
|
+
* @returns {@link UpdateTableReplicaAutoScalingCommandOutput}
|
|
182
|
+
* @see {@link UpdateTableReplicaAutoScalingCommandInput} for command's `input` shape.
|
|
183
|
+
* @see {@link UpdateTableReplicaAutoScalingCommandOutput} for command's `response` shape.
|
|
184
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link InternalServerError} (server fault)
|
|
187
|
+
* <p>An error occurred on the server side.</p>
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
190
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
191
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
192
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
193
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
194
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
195
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
196
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
197
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
198
|
+
* operations.</p>
|
|
199
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
200
|
+
* allowed per account.</p>
|
|
201
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
202
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
203
|
+
* parameter.</p>
|
|
204
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
205
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
206
|
+
*
|
|
207
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
208
|
+
* <p>The operation conflicts with the resource's availability. For example:</p>
|
|
209
|
+
* <ul>
|
|
210
|
+
* <li>
|
|
211
|
+
* <p>You attempted to recreate an existing table.</p>
|
|
212
|
+
* </li>
|
|
213
|
+
* <li>
|
|
214
|
+
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
215
|
+
* state.</p>
|
|
216
|
+
* </li>
|
|
217
|
+
* <li>
|
|
218
|
+
* <p>You tried to update a resource that was already being updated.</p>
|
|
219
|
+
* </li>
|
|
220
|
+
* </ul>
|
|
221
|
+
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
222
|
+
* again.</p>
|
|
223
|
+
*
|
|
224
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
225
|
+
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
226
|
+
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
227
|
+
*
|
|
228
|
+
* @throws {@link DynamoDBServiceException}
|
|
229
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
230
|
+
*
|
|
231
|
+
*
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export declare class UpdateTableReplicaAutoScalingCommand extends UpdateTableReplicaAutoScalingCommand_base {
|
|
235
|
+
/** @internal type navigation helper, not in runtime. */
|
|
236
|
+
protected static __types: {
|
|
237
|
+
api: {
|
|
238
|
+
input: UpdateTableReplicaAutoScalingInput;
|
|
239
|
+
output: UpdateTableReplicaAutoScalingOutput;
|
|
240
|
+
};
|
|
241
|
+
sdk: {
|
|
242
|
+
input: UpdateTableReplicaAutoScalingCommandInput;
|
|
243
|
+
output: UpdateTableReplicaAutoScalingCommandOutput;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
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 { UpdateTimeToLiveInput, UpdateTimeToLiveOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateTimeToLiveCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTimeToLiveCommandInput extends UpdateTimeToLiveInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTimeToLiveCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTimeToLiveCommandOutput extends UpdateTimeToLiveOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateTimeToLiveCommand_base: {
|
|
25
|
+
new (input: UpdateTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The <code>UpdateTimeToLive</code> method enables or disables Time to Live (TTL) for
|
|
31
|
+
* the specified table. A successful <code>UpdateTimeToLive</code> call returns the current
|
|
32
|
+
* <code>TimeToLiveSpecification</code>. It can take up to one hour for the change to
|
|
33
|
+
* fully process. Any additional <code>UpdateTimeToLive</code> calls for the same table
|
|
34
|
+
* during this one hour duration result in a <code>ValidationException</code>. </p>
|
|
35
|
+
* <p>TTL compares the current time in epoch time format to the time stored in the TTL
|
|
36
|
+
* attribute of an item. If the epoch time value stored in the attribute is less than the
|
|
37
|
+
* current time, the item is marked as expired and subsequently deleted.</p>
|
|
38
|
+
* <note>
|
|
39
|
+
* <p> The epoch time format is the number of seconds elapsed since 12:00:00 AM January
|
|
40
|
+
* 1, 1970 UTC. </p>
|
|
41
|
+
* </note>
|
|
42
|
+
* <p>DynamoDB deletes expired items on a best-effort basis to ensure availability of
|
|
43
|
+
* throughput for other data operations. </p>
|
|
44
|
+
* <important>
|
|
45
|
+
* <p>DynamoDB typically deletes expired items within two days of expiration. The exact
|
|
46
|
+
* duration within which an item gets deleted after expiration is specific to the
|
|
47
|
+
* nature of the workload. Items that have expired and not been deleted will still show
|
|
48
|
+
* up in reads, queries, and scans.</p>
|
|
49
|
+
* </important>
|
|
50
|
+
* <p>As items are deleted, they are removed from any local secondary index and global
|
|
51
|
+
* secondary index immediately in the same eventually consistent way as a standard delete
|
|
52
|
+
* operation.</p>
|
|
53
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html">Time To Live</a> in the
|
|
54
|
+
* Amazon DynamoDB Developer Guide. </p>
|
|
55
|
+
* @example
|
|
56
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
+
* ```javascript
|
|
58
|
+
* import { DynamoDBClient, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
59
|
+
* // const { DynamoDBClient, UpdateTimeToLiveCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
60
|
+
* // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
61
|
+
* const config = {}; // type is DynamoDBClientConfig
|
|
62
|
+
* const client = new DynamoDBClient(config);
|
|
63
|
+
* const input = { // UpdateTimeToLiveInput
|
|
64
|
+
* TableName: "STRING_VALUE", // required
|
|
65
|
+
* TimeToLiveSpecification: { // TimeToLiveSpecification
|
|
66
|
+
* Enabled: true || false, // required
|
|
67
|
+
* AttributeName: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* };
|
|
70
|
+
* const command = new UpdateTimeToLiveCommand(input);
|
|
71
|
+
* const response = await client.send(command);
|
|
72
|
+
* // { // UpdateTimeToLiveOutput
|
|
73
|
+
* // TimeToLiveSpecification: { // TimeToLiveSpecification
|
|
74
|
+
* // Enabled: true || false, // required
|
|
75
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param UpdateTimeToLiveCommandInput - {@link UpdateTimeToLiveCommandInput}
|
|
82
|
+
* @returns {@link UpdateTimeToLiveCommandOutput}
|
|
83
|
+
* @see {@link UpdateTimeToLiveCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link UpdateTimeToLiveCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerError} (server fault)
|
|
88
|
+
* <p>An error occurred on the server side.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
93
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
94
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
95
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
96
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
97
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
98
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
99
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
100
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
101
|
+
* operations.</p>
|
|
102
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
103
|
+
* allowed per account.</p>
|
|
104
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
105
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
106
|
+
* parameter.</p>
|
|
107
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
108
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
111
|
+
* <p>The operation conflicts with the resource's availability. For example:</p>
|
|
112
|
+
* <ul>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>You attempted to recreate an existing table.</p>
|
|
115
|
+
* </li>
|
|
116
|
+
* <li>
|
|
117
|
+
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
118
|
+
* state.</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>You tried to update a resource that was already being updated.</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* </ul>
|
|
124
|
+
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
125
|
+
* again.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
128
|
+
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
129
|
+
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link DynamoDBServiceException}
|
|
132
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare class UpdateTimeToLiveCommand extends UpdateTimeToLiveCommand_base {
|
|
138
|
+
/** @internal type navigation helper, not in runtime. */
|
|
139
|
+
protected static __types: {
|
|
140
|
+
api: {
|
|
141
|
+
input: UpdateTimeToLiveInput;
|
|
142
|
+
output: UpdateTimeToLiveOutput;
|
|
143
|
+
};
|
|
144
|
+
sdk: {
|
|
145
|
+
input: UpdateTimeToLiveCommandInput;
|
|
146
|
+
output: UpdateTimeToLiveCommandOutput;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export * from "./BatchExecuteStatementCommand";
|
|
2
|
+
export * from "./BatchGetItemCommand";
|
|
3
|
+
export * from "./BatchWriteItemCommand";
|
|
4
|
+
export * from "./CreateBackupCommand";
|
|
5
|
+
export * from "./CreateGlobalTableCommand";
|
|
6
|
+
export * from "./CreateTableCommand";
|
|
7
|
+
export * from "./DeleteBackupCommand";
|
|
8
|
+
export * from "./DeleteItemCommand";
|
|
9
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
10
|
+
export * from "./DeleteTableCommand";
|
|
11
|
+
export * from "./DescribeBackupCommand";
|
|
12
|
+
export * from "./DescribeContinuousBackupsCommand";
|
|
13
|
+
export * from "./DescribeContributorInsightsCommand";
|
|
14
|
+
export * from "./DescribeEndpointsCommand";
|
|
15
|
+
export * from "./DescribeExportCommand";
|
|
16
|
+
export * from "./DescribeGlobalTableCommand";
|
|
17
|
+
export * from "./DescribeGlobalTableSettingsCommand";
|
|
18
|
+
export * from "./DescribeImportCommand";
|
|
19
|
+
export * from "./DescribeKinesisStreamingDestinationCommand";
|
|
20
|
+
export * from "./DescribeLimitsCommand";
|
|
21
|
+
export * from "./DescribeTableCommand";
|
|
22
|
+
export * from "./DescribeTableReplicaAutoScalingCommand";
|
|
23
|
+
export * from "./DescribeTimeToLiveCommand";
|
|
24
|
+
export * from "./DisableKinesisStreamingDestinationCommand";
|
|
25
|
+
export * from "./EnableKinesisStreamingDestinationCommand";
|
|
26
|
+
export * from "./ExecuteStatementCommand";
|
|
27
|
+
export * from "./ExecuteTransactionCommand";
|
|
28
|
+
export * from "./ExportTableToPointInTimeCommand";
|
|
29
|
+
export * from "./GetItemCommand";
|
|
30
|
+
export * from "./GetResourcePolicyCommand";
|
|
31
|
+
export * from "./ImportTableCommand";
|
|
32
|
+
export * from "./ListBackupsCommand";
|
|
33
|
+
export * from "./ListContributorInsightsCommand";
|
|
34
|
+
export * from "./ListExportsCommand";
|
|
35
|
+
export * from "./ListGlobalTablesCommand";
|
|
36
|
+
export * from "./ListImportsCommand";
|
|
37
|
+
export * from "./ListTablesCommand";
|
|
38
|
+
export * from "./ListTagsOfResourceCommand";
|
|
39
|
+
export * from "./PutItemCommand";
|
|
40
|
+
export * from "./PutResourcePolicyCommand";
|
|
41
|
+
export * from "./QueryCommand";
|
|
42
|
+
export * from "./RestoreTableFromBackupCommand";
|
|
43
|
+
export * from "./RestoreTableToPointInTimeCommand";
|
|
44
|
+
export * from "./ScanCommand";
|
|
45
|
+
export * from "./TagResourceCommand";
|
|
46
|
+
export * from "./TransactGetItemsCommand";
|
|
47
|
+
export * from "./TransactWriteItemsCommand";
|
|
48
|
+
export * from "./UntagResourceCommand";
|
|
49
|
+
export * from "./UpdateContinuousBackupsCommand";
|
|
50
|
+
export * from "./UpdateContributorInsightsCommand";
|
|
51
|
+
export * from "./UpdateGlobalTableCommand";
|
|
52
|
+
export * from "./UpdateGlobalTableSettingsCommand";
|
|
53
|
+
export * from "./UpdateItemCommand";
|
|
54
|
+
export * from "./UpdateKinesisStreamingDestinationCommand";
|
|
55
|
+
export * from "./UpdateTableCommand";
|
|
56
|
+
export * from "./UpdateTableReplicaAutoScalingCommand";
|
|
57
|
+
export * from "./UpdateTimeToLiveCommand";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
accountId?: string | undefined | Provider<string | undefined>;
|
|
11
|
+
accountIdEndpointMode?: string | undefined | Provider<string | undefined>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
17
|
+
defaultSigningName: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
export declare const commonParams: {
|
|
27
|
+
readonly UseFIPS: {
|
|
28
|
+
readonly type: "builtInParams";
|
|
29
|
+
readonly name: "useFipsEndpoint";
|
|
30
|
+
};
|
|
31
|
+
readonly AccountId: {
|
|
32
|
+
readonly type: "builtInParams";
|
|
33
|
+
readonly name: "accountId";
|
|
34
|
+
};
|
|
35
|
+
readonly Endpoint: {
|
|
36
|
+
readonly type: "builtInParams";
|
|
37
|
+
readonly name: "endpoint";
|
|
38
|
+
};
|
|
39
|
+
readonly Region: {
|
|
40
|
+
readonly type: "builtInParams";
|
|
41
|
+
readonly name: "region";
|
|
42
|
+
};
|
|
43
|
+
readonly UseDualStack: {
|
|
44
|
+
readonly type: "builtInParams";
|
|
45
|
+
readonly name: "useDualstackEndpoint";
|
|
46
|
+
};
|
|
47
|
+
readonly AccountIdEndpointMode: {
|
|
48
|
+
readonly type: "builtInParams";
|
|
49
|
+
readonly name: "accountIdEndpointMode";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
56
|
+
Region?: string | undefined;
|
|
57
|
+
UseDualStack?: boolean | undefined;
|
|
58
|
+
UseFIPS?: boolean | undefined;
|
|
59
|
+
Endpoint?: string | undefined;
|
|
60
|
+
AccountId?: string | undefined;
|
|
61
|
+
AccountIdEndpointMode?: string | undefined;
|
|
62
|
+
ResourceArn?: string | undefined;
|
|
63
|
+
ResourceArnList?: string[] | undefined;
|
|
64
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface DynamoDBExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <fullname>Amazon DynamoDB</fullname>
|
|
3
|
+
* <p>Amazon DynamoDB is a fully managed NoSQL database service that provides fast
|
|
4
|
+
* and predictable performance with seamless scalability. DynamoDB lets you
|
|
5
|
+
* offload the administrative burdens of operating and scaling a distributed database, so
|
|
6
|
+
* that you don't have to worry about hardware provisioning, setup and configuration,
|
|
7
|
+
* replication, software patching, or cluster scaling.</p>
|
|
8
|
+
* <p>With DynamoDB, you can create database tables that can store and retrieve
|
|
9
|
+
* any amount of data, and serve any level of request traffic. You can scale up or scale
|
|
10
|
+
* down your tables' throughput capacity without downtime or performance degradation, and
|
|
11
|
+
* use the Amazon Web Services Management Console to monitor resource utilization and performance
|
|
12
|
+
* metrics.</p>
|
|
13
|
+
* <p>DynamoDB automatically spreads the data and traffic for your tables over
|
|
14
|
+
* a sufficient number of servers to handle your throughput and storage requirements, while
|
|
15
|
+
* maintaining consistent and fast performance. All of your data is stored on solid state
|
|
16
|
+
* disks (SSDs) and automatically replicated across multiple Availability Zones in an
|
|
17
|
+
* Amazon Web Services Region, providing built-in high availability and data
|
|
18
|
+
* durability.</p>
|
|
19
|
+
*
|
|
20
|
+
* @packageDocumentation
|
|
21
|
+
*/
|
|
22
|
+
export * from "./DynamoDBClient";
|
|
23
|
+
export * from "./DynamoDB";
|
|
24
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
25
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
26
|
+
export type { DynamoDBExtensionConfiguration } from "./extensionConfiguration";
|
|
27
|
+
export * from "./commands";
|
|
28
|
+
export * from "./schemas/schemas_0";
|
|
29
|
+
export * from "./pagination";
|
|
30
|
+
export * from "./waiters";
|
|
31
|
+
export * from "./models/enums";
|
|
32
|
+
export * from "./models/errors";
|
|
33
|
+
export * from "./models/models_0";
|
|
34
|
+
export { DynamoDBServiceException } from "./models/DynamoDBServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from DynamoDB service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DynamoDBServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|