@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,19 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateGlobalTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateGlobalTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "GlobalTableName" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "UpdateGlobalTable", {})
|
|
16
|
+
.n("DynamoDBClient", "UpdateGlobalTableCommand")
|
|
17
|
+
.sc(UpdateGlobalTable$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateGlobalTableSettings$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateGlobalTableSettingsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "GlobalTableName" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "UpdateGlobalTableSettings", {})
|
|
16
|
+
.n("DynamoDBClient", "UpdateGlobalTableSettingsCommand")
|
|
17
|
+
.sc(UpdateGlobalTableSettings$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateItem$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateItemCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "UpdateItem", {})
|
|
16
|
+
.n("DynamoDBClient", "UpdateItemCommand")
|
|
17
|
+
.sc(UpdateItem$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateKinesisStreamingDestination$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateKinesisStreamingDestinationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
|
|
16
|
+
.n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
|
|
17
|
+
.sc(UpdateKinesisStreamingDestination$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateTableCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "UpdateTable", {})
|
|
16
|
+
.n("DynamoDBClient", "UpdateTableCommand")
|
|
17
|
+
.sc(UpdateTable$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateTableReplicaAutoScaling$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateTableReplicaAutoScalingCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {})
|
|
16
|
+
.n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand")
|
|
17
|
+
.sc(UpdateTableReplicaAutoScaling$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateTimeToLive$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateTimeToLiveCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "UpdateTimeToLive", {})
|
|
16
|
+
.n("DynamoDBClient", "UpdateTimeToLiveCommand")
|
|
17
|
+
.sc(UpdateTimeToLive$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -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,15 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return Object.assign(options, {
|
|
3
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
4
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
5
|
+
defaultSigningName: "dynamodb",
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const commonParams = {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
AccountId: { type: "builtInParams", name: "accountId" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
|
|
15
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: [
|
|
7
|
+
"AccountId",
|
|
8
|
+
"AccountIdEndpointMode",
|
|
9
|
+
"Endpoint",
|
|
10
|
+
"Region",
|
|
11
|
+
"ResourceArn",
|
|
12
|
+
"ResourceArnList",
|
|
13
|
+
"UseDualStack",
|
|
14
|
+
"UseFIPS",
|
|
15
|
+
],
|
|
16
|
+
});
|
|
17
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
18
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
19
|
+
endpointParams: endpointParams,
|
|
20
|
+
logger: context.logger,
|
|
21
|
+
}));
|
|
22
|
+
};
|
|
23
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const K = "required", L = "type", M = "rules", N = "conditions", O = "fn", P = "argv", Q = "ref", R = "assign", S = "url", T = "properties", U = "headers", V = "metricValues";
|
|
2
|
+
const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [K]: false, [L]: "string" }, i = { [K]: true, "default": false, [L]: "boolean" }, j = { [O]: "isSet", [P]: [{ [Q]: "Endpoint" }] }, k = { [Q]: "Endpoint" }, l = { [O]: "isSet", [P]: [{ [Q]: "Region" }] }, m = { [Q]: "Region" }, n = { [O]: "aws.partition", [P]: [m], [R]: "PartitionResult" }, o = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: b }, p = { [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, q = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: b }, r = { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }, s = { [e]: { [S]: "{Endpoint}", [T]: {}, [U]: {} }, [L]: e }, t = {}, u = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, x = { [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "name"] }, y = { [e]: { [S]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [T]: {}, [U]: {} }, [L]: e }, z = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: { [V]: ["O"] }, [U]: {} }, A = { [V]: ["O"] }, B = { [b]: "Credentials-sourced account ID parameter is invalid", [L]: b }, C = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [N]: [{ [O]: "not", [P]: [p] }], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws"] }], [M]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, D = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: {} }, E = [p], F = [r], G = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArn" }] }, { [O]: "aws.parseArn", [P]: [{ [Q]: "ResourceArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArnList" }] }, { [O]: "getAttr", [P]: [{ [Q]: "ResourceArnList" }, "[0]"], [R]: "FirstArn" }, { [O]: "aws.parseArn", [P]: [{ [Q]: "FirstArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], I = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "AccountId" }] }], J = [{ [O]: "isValidHostLabel", [P]: [{ [Q]: "AccountId" }, false] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ signingRegion: "us-east-1", signingName: g, name: "sigv4" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./DynamoDBClient";
|
|
2
|
+
export * from "./DynamoDB";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export * from "./waiters";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
10
|
+
export { DynamoDBServiceException } from "./models/DynamoDBServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class DynamoDBServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, DynamoDBServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
export const ApproximateCreationDateTimePrecision = {
|
|
2
|
+
MICROSECOND: "MICROSECOND",
|
|
3
|
+
MILLISECOND: "MILLISECOND",
|
|
4
|
+
};
|
|
5
|
+
export const AttributeAction = {
|
|
6
|
+
ADD: "ADD",
|
|
7
|
+
DELETE: "DELETE",
|
|
8
|
+
PUT: "PUT",
|
|
9
|
+
};
|
|
10
|
+
export const ScalarAttributeType = {
|
|
11
|
+
B: "B",
|
|
12
|
+
N: "N",
|
|
13
|
+
S: "S",
|
|
14
|
+
};
|
|
15
|
+
export const BackupStatus = {
|
|
16
|
+
AVAILABLE: "AVAILABLE",
|
|
17
|
+
CREATING: "CREATING",
|
|
18
|
+
DELETED: "DELETED",
|
|
19
|
+
};
|
|
20
|
+
export const BackupType = {
|
|
21
|
+
AWS_BACKUP: "AWS_BACKUP",
|
|
22
|
+
SYSTEM: "SYSTEM",
|
|
23
|
+
USER: "USER",
|
|
24
|
+
};
|
|
25
|
+
export const BillingMode = {
|
|
26
|
+
PAY_PER_REQUEST: "PAY_PER_REQUEST",
|
|
27
|
+
PROVISIONED: "PROVISIONED",
|
|
28
|
+
};
|
|
29
|
+
export const KeyType = {
|
|
30
|
+
HASH: "HASH",
|
|
31
|
+
RANGE: "RANGE",
|
|
32
|
+
};
|
|
33
|
+
export const ProjectionType = {
|
|
34
|
+
ALL: "ALL",
|
|
35
|
+
INCLUDE: "INCLUDE",
|
|
36
|
+
KEYS_ONLY: "KEYS_ONLY",
|
|
37
|
+
};
|
|
38
|
+
export const SSEType = {
|
|
39
|
+
AES256: "AES256",
|
|
40
|
+
KMS: "KMS",
|
|
41
|
+
};
|
|
42
|
+
export const SSEStatus = {
|
|
43
|
+
DISABLED: "DISABLED",
|
|
44
|
+
DISABLING: "DISABLING",
|
|
45
|
+
ENABLED: "ENABLED",
|
|
46
|
+
ENABLING: "ENABLING",
|
|
47
|
+
UPDATING: "UPDATING",
|
|
48
|
+
};
|
|
49
|
+
export const StreamViewType = {
|
|
50
|
+
KEYS_ONLY: "KEYS_ONLY",
|
|
51
|
+
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
52
|
+
NEW_IMAGE: "NEW_IMAGE",
|
|
53
|
+
OLD_IMAGE: "OLD_IMAGE",
|
|
54
|
+
};
|
|
55
|
+
export const TimeToLiveStatus = {
|
|
56
|
+
DISABLED: "DISABLED",
|
|
57
|
+
DISABLING: "DISABLING",
|
|
58
|
+
ENABLED: "ENABLED",
|
|
59
|
+
ENABLING: "ENABLING",
|
|
60
|
+
};
|
|
61
|
+
export const BackupTypeFilter = {
|
|
62
|
+
ALL: "ALL",
|
|
63
|
+
AWS_BACKUP: "AWS_BACKUP",
|
|
64
|
+
SYSTEM: "SYSTEM",
|
|
65
|
+
USER: "USER",
|
|
66
|
+
};
|
|
67
|
+
export const ReturnConsumedCapacity = {
|
|
68
|
+
INDEXES: "INDEXES",
|
|
69
|
+
NONE: "NONE",
|
|
70
|
+
TOTAL: "TOTAL",
|
|
71
|
+
};
|
|
72
|
+
export const ReturnValuesOnConditionCheckFailure = {
|
|
73
|
+
ALL_OLD: "ALL_OLD",
|
|
74
|
+
NONE: "NONE",
|
|
75
|
+
};
|
|
76
|
+
export const BatchStatementErrorCodeEnum = {
|
|
77
|
+
AccessDenied: "AccessDenied",
|
|
78
|
+
ConditionalCheckFailed: "ConditionalCheckFailed",
|
|
79
|
+
DuplicateItem: "DuplicateItem",
|
|
80
|
+
InternalServerError: "InternalServerError",
|
|
81
|
+
ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded",
|
|
82
|
+
ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded",
|
|
83
|
+
RequestLimitExceeded: "RequestLimitExceeded",
|
|
84
|
+
ResourceNotFound: "ResourceNotFound",
|
|
85
|
+
ThrottlingError: "ThrottlingError",
|
|
86
|
+
TransactionConflict: "TransactionConflict",
|
|
87
|
+
ValidationError: "ValidationError",
|
|
88
|
+
};
|
|
89
|
+
export const ReturnItemCollectionMetrics = {
|
|
90
|
+
NONE: "NONE",
|
|
91
|
+
SIZE: "SIZE",
|
|
92
|
+
};
|
|
93
|
+
export const ComparisonOperator = {
|
|
94
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
95
|
+
BETWEEN: "BETWEEN",
|
|
96
|
+
CONTAINS: "CONTAINS",
|
|
97
|
+
EQ: "EQ",
|
|
98
|
+
GE: "GE",
|
|
99
|
+
GT: "GT",
|
|
100
|
+
IN: "IN",
|
|
101
|
+
LE: "LE",
|
|
102
|
+
LT: "LT",
|
|
103
|
+
NE: "NE",
|
|
104
|
+
NOT_CONTAINS: "NOT_CONTAINS",
|
|
105
|
+
NOT_NULL: "NOT_NULL",
|
|
106
|
+
NULL: "NULL",
|
|
107
|
+
};
|
|
108
|
+
export const ConditionalOperator = {
|
|
109
|
+
AND: "AND",
|
|
110
|
+
OR: "OR",
|
|
111
|
+
};
|
|
112
|
+
export const ContinuousBackupsStatus = {
|
|
113
|
+
DISABLED: "DISABLED",
|
|
114
|
+
ENABLED: "ENABLED",
|
|
115
|
+
};
|
|
116
|
+
export const PointInTimeRecoveryStatus = {
|
|
117
|
+
DISABLED: "DISABLED",
|
|
118
|
+
ENABLED: "ENABLED",
|
|
119
|
+
};
|
|
120
|
+
export const ContributorInsightsAction = {
|
|
121
|
+
DISABLE: "DISABLE",
|
|
122
|
+
ENABLE: "ENABLE",
|
|
123
|
+
};
|
|
124
|
+
export const ContributorInsightsMode = {
|
|
125
|
+
ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS",
|
|
126
|
+
THROTTLED_KEYS: "THROTTLED_KEYS",
|
|
127
|
+
};
|
|
128
|
+
export const ContributorInsightsStatus = {
|
|
129
|
+
DISABLED: "DISABLED",
|
|
130
|
+
DISABLING: "DISABLING",
|
|
131
|
+
ENABLED: "ENABLED",
|
|
132
|
+
ENABLING: "ENABLING",
|
|
133
|
+
FAILED: "FAILED",
|
|
134
|
+
};
|
|
135
|
+
export const GlobalTableStatus = {
|
|
136
|
+
ACTIVE: "ACTIVE",
|
|
137
|
+
CREATING: "CREATING",
|
|
138
|
+
DELETING: "DELETING",
|
|
139
|
+
UPDATING: "UPDATING",
|
|
140
|
+
};
|
|
141
|
+
export const IndexStatus = {
|
|
142
|
+
ACTIVE: "ACTIVE",
|
|
143
|
+
CREATING: "CREATING",
|
|
144
|
+
DELETING: "DELETING",
|
|
145
|
+
UPDATING: "UPDATING",
|
|
146
|
+
};
|
|
147
|
+
export const GlobalTableSettingsReplicationMode = {
|
|
148
|
+
DISABLED: "DISABLED",
|
|
149
|
+
ENABLED: "ENABLED",
|
|
150
|
+
ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES",
|
|
151
|
+
};
|
|
152
|
+
export const ReplicaStatus = {
|
|
153
|
+
ACTIVE: "ACTIVE",
|
|
154
|
+
ARCHIVED: "ARCHIVED",
|
|
155
|
+
ARCHIVING: "ARCHIVING",
|
|
156
|
+
CREATING: "CREATING",
|
|
157
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
158
|
+
DELETING: "DELETING",
|
|
159
|
+
INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
160
|
+
REGION_DISABLED: "REGION_DISABLED",
|
|
161
|
+
REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED",
|
|
162
|
+
UPDATING: "UPDATING",
|
|
163
|
+
};
|
|
164
|
+
export const TableClass = {
|
|
165
|
+
STANDARD: "STANDARD",
|
|
166
|
+
STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS",
|
|
167
|
+
};
|
|
168
|
+
export const TableStatus = {
|
|
169
|
+
ACTIVE: "ACTIVE",
|
|
170
|
+
ARCHIVED: "ARCHIVED",
|
|
171
|
+
ARCHIVING: "ARCHIVING",
|
|
172
|
+
CREATING: "CREATING",
|
|
173
|
+
DELETING: "DELETING",
|
|
174
|
+
INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
175
|
+
REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED",
|
|
176
|
+
UPDATING: "UPDATING",
|
|
177
|
+
};
|
|
178
|
+
export const WitnessStatus = {
|
|
179
|
+
ACTIVE: "ACTIVE",
|
|
180
|
+
CREATING: "CREATING",
|
|
181
|
+
DELETING: "DELETING",
|
|
182
|
+
};
|
|
183
|
+
export const MultiRegionConsistency = {
|
|
184
|
+
EVENTUAL: "EVENTUAL",
|
|
185
|
+
STRONG: "STRONG",
|
|
186
|
+
};
|
|
187
|
+
export const ReturnValue = {
|
|
188
|
+
ALL_NEW: "ALL_NEW",
|
|
189
|
+
ALL_OLD: "ALL_OLD",
|
|
190
|
+
NONE: "NONE",
|
|
191
|
+
UPDATED_NEW: "UPDATED_NEW",
|
|
192
|
+
UPDATED_OLD: "UPDATED_OLD",
|
|
193
|
+
};
|
|
194
|
+
export const ExportFormat = {
|
|
195
|
+
DYNAMODB_JSON: "DYNAMODB_JSON",
|
|
196
|
+
ION: "ION",
|
|
197
|
+
};
|
|
198
|
+
export const ExportStatus = {
|
|
199
|
+
COMPLETED: "COMPLETED",
|
|
200
|
+
FAILED: "FAILED",
|
|
201
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
202
|
+
};
|
|
203
|
+
export const ExportType = {
|
|
204
|
+
FULL_EXPORT: "FULL_EXPORT",
|
|
205
|
+
INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT",
|
|
206
|
+
};
|
|
207
|
+
export const ExportViewType = {
|
|
208
|
+
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
209
|
+
NEW_IMAGE: "NEW_IMAGE",
|
|
210
|
+
};
|
|
211
|
+
export const S3SseAlgorithm = {
|
|
212
|
+
AES256: "AES256",
|
|
213
|
+
KMS: "KMS",
|
|
214
|
+
};
|
|
215
|
+
export const ImportStatus = {
|
|
216
|
+
CANCELLED: "CANCELLED",
|
|
217
|
+
CANCELLING: "CANCELLING",
|
|
218
|
+
COMPLETED: "COMPLETED",
|
|
219
|
+
FAILED: "FAILED",
|
|
220
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
221
|
+
};
|
|
222
|
+
export const InputCompressionType = {
|
|
223
|
+
GZIP: "GZIP",
|
|
224
|
+
NONE: "NONE",
|
|
225
|
+
ZSTD: "ZSTD",
|
|
226
|
+
};
|
|
227
|
+
export const InputFormat = {
|
|
228
|
+
CSV: "CSV",
|
|
229
|
+
DYNAMODB_JSON: "DYNAMODB_JSON",
|
|
230
|
+
ION: "ION",
|
|
231
|
+
};
|
|
232
|
+
export const DestinationStatus = {
|
|
233
|
+
ACTIVE: "ACTIVE",
|
|
234
|
+
DISABLED: "DISABLED",
|
|
235
|
+
DISABLING: "DISABLING",
|
|
236
|
+
ENABLE_FAILED: "ENABLE_FAILED",
|
|
237
|
+
ENABLING: "ENABLING",
|
|
238
|
+
UPDATING: "UPDATING",
|
|
239
|
+
};
|
|
240
|
+
export const Select = {
|
|
241
|
+
ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
|
|
242
|
+
ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
|
|
243
|
+
COUNT: "COUNT",
|
|
244
|
+
SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
|
|
245
|
+
};
|