@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,149 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementCommand";
|
|
3
|
+
import { BatchGetItemCommand, } from "./commands/BatchGetItemCommand";
|
|
4
|
+
import { BatchWriteItemCommand, } from "./commands/BatchWriteItemCommand";
|
|
5
|
+
import { CreateBackupCommand, } from "./commands/CreateBackupCommand";
|
|
6
|
+
import { CreateGlobalTableCommand, } from "./commands/CreateGlobalTableCommand";
|
|
7
|
+
import { CreateTableCommand } from "./commands/CreateTableCommand";
|
|
8
|
+
import { DeleteBackupCommand, } from "./commands/DeleteBackupCommand";
|
|
9
|
+
import { DeleteItemCommand } from "./commands/DeleteItemCommand";
|
|
10
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
11
|
+
import { DeleteTableCommand } from "./commands/DeleteTableCommand";
|
|
12
|
+
import { DescribeBackupCommand, } from "./commands/DescribeBackupCommand";
|
|
13
|
+
import { DescribeContinuousBackupsCommand, } from "./commands/DescribeContinuousBackupsCommand";
|
|
14
|
+
import { DescribeContributorInsightsCommand, } from "./commands/DescribeContributorInsightsCommand";
|
|
15
|
+
import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
|
|
16
|
+
import { DescribeExportCommand, } from "./commands/DescribeExportCommand";
|
|
17
|
+
import { DescribeGlobalTableCommand, } from "./commands/DescribeGlobalTableCommand";
|
|
18
|
+
import { DescribeGlobalTableSettingsCommand, } from "./commands/DescribeGlobalTableSettingsCommand";
|
|
19
|
+
import { DescribeImportCommand, } from "./commands/DescribeImportCommand";
|
|
20
|
+
import { DescribeKinesisStreamingDestinationCommand, } from "./commands/DescribeKinesisStreamingDestinationCommand";
|
|
21
|
+
import { DescribeLimitsCommand, } from "./commands/DescribeLimitsCommand";
|
|
22
|
+
import { DescribeTableCommand, } from "./commands/DescribeTableCommand";
|
|
23
|
+
import { DescribeTableReplicaAutoScalingCommand, } from "./commands/DescribeTableReplicaAutoScalingCommand";
|
|
24
|
+
import { DescribeTimeToLiveCommand, } from "./commands/DescribeTimeToLiveCommand";
|
|
25
|
+
import { DisableKinesisStreamingDestinationCommand, } from "./commands/DisableKinesisStreamingDestinationCommand";
|
|
26
|
+
import { EnableKinesisStreamingDestinationCommand, } from "./commands/EnableKinesisStreamingDestinationCommand";
|
|
27
|
+
import { ExecuteStatementCommand, } from "./commands/ExecuteStatementCommand";
|
|
28
|
+
import { ExecuteTransactionCommand, } from "./commands/ExecuteTransactionCommand";
|
|
29
|
+
import { ExportTableToPointInTimeCommand, } from "./commands/ExportTableToPointInTimeCommand";
|
|
30
|
+
import { GetItemCommand } from "./commands/GetItemCommand";
|
|
31
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
32
|
+
import { ImportTableCommand } from "./commands/ImportTableCommand";
|
|
33
|
+
import { ListBackupsCommand } from "./commands/ListBackupsCommand";
|
|
34
|
+
import { ListContributorInsightsCommand, } from "./commands/ListContributorInsightsCommand";
|
|
35
|
+
import { ListExportsCommand } from "./commands/ListExportsCommand";
|
|
36
|
+
import { ListGlobalTablesCommand, } from "./commands/ListGlobalTablesCommand";
|
|
37
|
+
import { ListImportsCommand } from "./commands/ListImportsCommand";
|
|
38
|
+
import { ListTablesCommand } from "./commands/ListTablesCommand";
|
|
39
|
+
import { ListTagsOfResourceCommand, } from "./commands/ListTagsOfResourceCommand";
|
|
40
|
+
import { PutItemCommand } from "./commands/PutItemCommand";
|
|
41
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
42
|
+
import { QueryCommand } from "./commands/QueryCommand";
|
|
43
|
+
import { RestoreTableFromBackupCommand, } from "./commands/RestoreTableFromBackupCommand";
|
|
44
|
+
import { RestoreTableToPointInTimeCommand, } from "./commands/RestoreTableToPointInTimeCommand";
|
|
45
|
+
import { ScanCommand } from "./commands/ScanCommand";
|
|
46
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
47
|
+
import { TransactGetItemsCommand, } from "./commands/TransactGetItemsCommand";
|
|
48
|
+
import { TransactWriteItemsCommand, } from "./commands/TransactWriteItemsCommand";
|
|
49
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
50
|
+
import { UpdateContinuousBackupsCommand, } from "./commands/UpdateContinuousBackupsCommand";
|
|
51
|
+
import { UpdateContributorInsightsCommand, } from "./commands/UpdateContributorInsightsCommand";
|
|
52
|
+
import { UpdateGlobalTableCommand, } from "./commands/UpdateGlobalTableCommand";
|
|
53
|
+
import { UpdateGlobalTableSettingsCommand, } from "./commands/UpdateGlobalTableSettingsCommand";
|
|
54
|
+
import { UpdateItemCommand } from "./commands/UpdateItemCommand";
|
|
55
|
+
import { UpdateKinesisStreamingDestinationCommand, } from "./commands/UpdateKinesisStreamingDestinationCommand";
|
|
56
|
+
import { UpdateTableCommand } from "./commands/UpdateTableCommand";
|
|
57
|
+
import { UpdateTableReplicaAutoScalingCommand, } from "./commands/UpdateTableReplicaAutoScalingCommand";
|
|
58
|
+
import { UpdateTimeToLiveCommand, } from "./commands/UpdateTimeToLiveCommand";
|
|
59
|
+
import { DynamoDBClient } from "./DynamoDBClient";
|
|
60
|
+
import { paginateListContributorInsights } from "./pagination/ListContributorInsightsPaginator";
|
|
61
|
+
import { paginateListExports } from "./pagination/ListExportsPaginator";
|
|
62
|
+
import { paginateListImports } from "./pagination/ListImportsPaginator";
|
|
63
|
+
import { paginateListTables } from "./pagination/ListTablesPaginator";
|
|
64
|
+
import { paginateQuery } from "./pagination/QueryPaginator";
|
|
65
|
+
import { paginateScan } from "./pagination/ScanPaginator";
|
|
66
|
+
import { waitUntilContributorInsightsEnabled } from "./waiters/waitForContributorInsightsEnabled";
|
|
67
|
+
import { waitUntilExportCompleted } from "./waiters/waitForExportCompleted";
|
|
68
|
+
import { waitUntilImportCompleted } from "./waiters/waitForImportCompleted";
|
|
69
|
+
import { waitUntilKinesisStreamingDestinationActive } from "./waiters/waitForKinesisStreamingDestinationActive";
|
|
70
|
+
import { waitUntilTableExists } from "./waiters/waitForTableExists";
|
|
71
|
+
import { waitUntilTableNotExists } from "./waiters/waitForTableNotExists";
|
|
72
|
+
const commands = {
|
|
73
|
+
BatchExecuteStatementCommand,
|
|
74
|
+
BatchGetItemCommand,
|
|
75
|
+
BatchWriteItemCommand,
|
|
76
|
+
CreateBackupCommand,
|
|
77
|
+
CreateGlobalTableCommand,
|
|
78
|
+
CreateTableCommand,
|
|
79
|
+
DeleteBackupCommand,
|
|
80
|
+
DeleteItemCommand,
|
|
81
|
+
DeleteResourcePolicyCommand,
|
|
82
|
+
DeleteTableCommand,
|
|
83
|
+
DescribeBackupCommand,
|
|
84
|
+
DescribeContinuousBackupsCommand,
|
|
85
|
+
DescribeContributorInsightsCommand,
|
|
86
|
+
DescribeEndpointsCommand,
|
|
87
|
+
DescribeExportCommand,
|
|
88
|
+
DescribeGlobalTableCommand,
|
|
89
|
+
DescribeGlobalTableSettingsCommand,
|
|
90
|
+
DescribeImportCommand,
|
|
91
|
+
DescribeKinesisStreamingDestinationCommand,
|
|
92
|
+
DescribeLimitsCommand,
|
|
93
|
+
DescribeTableCommand,
|
|
94
|
+
DescribeTableReplicaAutoScalingCommand,
|
|
95
|
+
DescribeTimeToLiveCommand,
|
|
96
|
+
DisableKinesisStreamingDestinationCommand,
|
|
97
|
+
EnableKinesisStreamingDestinationCommand,
|
|
98
|
+
ExecuteStatementCommand,
|
|
99
|
+
ExecuteTransactionCommand,
|
|
100
|
+
ExportTableToPointInTimeCommand,
|
|
101
|
+
GetItemCommand,
|
|
102
|
+
GetResourcePolicyCommand,
|
|
103
|
+
ImportTableCommand,
|
|
104
|
+
ListBackupsCommand,
|
|
105
|
+
ListContributorInsightsCommand,
|
|
106
|
+
ListExportsCommand,
|
|
107
|
+
ListGlobalTablesCommand,
|
|
108
|
+
ListImportsCommand,
|
|
109
|
+
ListTablesCommand,
|
|
110
|
+
ListTagsOfResourceCommand,
|
|
111
|
+
PutItemCommand,
|
|
112
|
+
PutResourcePolicyCommand,
|
|
113
|
+
QueryCommand,
|
|
114
|
+
RestoreTableFromBackupCommand,
|
|
115
|
+
RestoreTableToPointInTimeCommand,
|
|
116
|
+
ScanCommand,
|
|
117
|
+
TagResourceCommand,
|
|
118
|
+
TransactGetItemsCommand,
|
|
119
|
+
TransactWriteItemsCommand,
|
|
120
|
+
UntagResourceCommand,
|
|
121
|
+
UpdateContinuousBackupsCommand,
|
|
122
|
+
UpdateContributorInsightsCommand,
|
|
123
|
+
UpdateGlobalTableCommand,
|
|
124
|
+
UpdateGlobalTableSettingsCommand,
|
|
125
|
+
UpdateItemCommand,
|
|
126
|
+
UpdateKinesisStreamingDestinationCommand,
|
|
127
|
+
UpdateTableCommand,
|
|
128
|
+
UpdateTableReplicaAutoScalingCommand,
|
|
129
|
+
UpdateTimeToLiveCommand,
|
|
130
|
+
};
|
|
131
|
+
const paginators = {
|
|
132
|
+
paginateListContributorInsights,
|
|
133
|
+
paginateListExports,
|
|
134
|
+
paginateListImports,
|
|
135
|
+
paginateListTables,
|
|
136
|
+
paginateQuery,
|
|
137
|
+
paginateScan,
|
|
138
|
+
};
|
|
139
|
+
const waiters = {
|
|
140
|
+
waitUntilContributorInsightsEnabled,
|
|
141
|
+
waitUntilExportCompleted,
|
|
142
|
+
waitUntilImportCompleted,
|
|
143
|
+
waitUntilKinesisStreamingDestinationActive,
|
|
144
|
+
waitUntilTableExists,
|
|
145
|
+
waitUntilTableNotExists,
|
|
146
|
+
};
|
|
147
|
+
export class DynamoDB extends DynamoDBClient {
|
|
148
|
+
}
|
|
149
|
+
createAggregatedClient(commands, DynamoDB, { paginators, waiters });
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { resolveAccountIdEndpointModeConfig, } from "@aws-sdk/core/account-id-endpoint";
|
|
2
|
+
import { resolveEndpointDiscoveryConfig, } from "@aws-sdk/middleware-endpoint-discovery";
|
|
3
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
5
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
8
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
9
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
10
|
+
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
11
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
12
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
13
|
+
import { Client as __Client, } from "@smithy/smithy-client";
|
|
14
|
+
import { defaultDynamoDBHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
15
|
+
import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
|
|
16
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
17
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
18
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
19
|
+
export { __Client };
|
|
20
|
+
export class DynamoDBClient extends __Client {
|
|
21
|
+
config;
|
|
22
|
+
constructor(...[configuration]) {
|
|
23
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
24
|
+
super(_config_0);
|
|
25
|
+
this.initConfig = _config_0;
|
|
26
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
27
|
+
const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);
|
|
28
|
+
const _config_3 = resolveUserAgentConfig(_config_2);
|
|
29
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
30
|
+
const _config_5 = resolveRegionConfig(_config_4);
|
|
31
|
+
const _config_6 = resolveHostHeaderConfig(_config_5);
|
|
32
|
+
const _config_7 = resolveEndpointConfig(_config_6);
|
|
33
|
+
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
34
|
+
const _config_9 = resolveEndpointDiscoveryConfig(_config_8, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand });
|
|
35
|
+
const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
|
|
36
|
+
this.config = _config_10;
|
|
37
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
38
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
39
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
40
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
41
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
42
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
43
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
44
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
45
|
+
httpAuthSchemeParametersProvider: defaultDynamoDBHttpAuthSchemeParametersProvider,
|
|
46
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
47
|
+
"aws.auth#sigv4": config.credentials,
|
|
48
|
+
}),
|
|
49
|
+
}));
|
|
50
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
51
|
+
}
|
|
52
|
+
destroy() {
|
|
53
|
+
super.destroy();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
2
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
3
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
4
|
+
let _credentials = runtimeConfig.credentials;
|
|
5
|
+
return {
|
|
6
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
7
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
8
|
+
if (index === -1) {
|
|
9
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
httpAuthSchemes() {
|
|
16
|
+
return _httpAuthSchemes;
|
|
17
|
+
},
|
|
18
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
19
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
20
|
+
},
|
|
21
|
+
httpAuthSchemeProvider() {
|
|
22
|
+
return _httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
setCredentials(credentials) {
|
|
25
|
+
_credentials = credentials;
|
|
26
|
+
},
|
|
27
|
+
credentials() {
|
|
28
|
+
return _credentials;
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export const resolveHttpAuthRuntimeConfig = (config) => {
|
|
33
|
+
return {
|
|
34
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
35
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
36
|
+
credentials: config.credentials(),
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
|
+
export const defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
+
return {
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
12
|
+
return {
|
|
13
|
+
schemeId: "aws.auth#sigv4",
|
|
14
|
+
signingProperties: {
|
|
15
|
+
name: "dynamodb",
|
|
16
|
+
region: authParameters.region,
|
|
17
|
+
},
|
|
18
|
+
propertiesExtractor: (config, context) => ({
|
|
19
|
+
signingProperties: {
|
|
20
|
+
config,
|
|
21
|
+
context,
|
|
22
|
+
},
|
|
23
|
+
}),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export const defaultDynamoDBHttpAuthSchemeProvider = (authParameters) => {
|
|
27
|
+
const options = [];
|
|
28
|
+
switch (authParameters.operation) {
|
|
29
|
+
default: {
|
|
30
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return options;
|
|
34
|
+
};
|
|
35
|
+
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
37
|
+
return Object.assign(config_0, {
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
39
|
+
});
|
|
40
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { BatchExecuteStatement$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class BatchExecuteStatementCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("DynamoDB_20120810", "BatchExecuteStatement", {})
|
|
13
|
+
.n("DynamoDBClient", "BatchExecuteStatementCommand")
|
|
14
|
+
.sc(BatchExecuteStatement$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -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 { BatchGetItem$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class BatchGetItemCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "BatchGetItem", {})
|
|
16
|
+
.n("DynamoDBClient", "BatchGetItemCommand")
|
|
17
|
+
.sc(BatchGetItem$)
|
|
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 { BatchWriteItem$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class BatchWriteItemCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "BatchWriteItem", {})
|
|
16
|
+
.n("DynamoDBClient", "BatchWriteItemCommand")
|
|
17
|
+
.sc(BatchWriteItem$)
|
|
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 { CreateBackup$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateBackupCommand 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", "CreateBackup", {})
|
|
16
|
+
.n("DynamoDBClient", "CreateBackupCommand")
|
|
17
|
+
.sc(CreateBackup$)
|
|
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 { CreateGlobalTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateGlobalTableCommand 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", "CreateGlobalTable", {})
|
|
16
|
+
.n("DynamoDBClient", "CreateGlobalTableCommand")
|
|
17
|
+
.sc(CreateGlobalTable$)
|
|
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 { CreateTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateTableCommand 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", "CreateTable", {})
|
|
16
|
+
.n("DynamoDBClient", "CreateTableCommand")
|
|
17
|
+
.sc(CreateTable$)
|
|
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 { DeleteBackup$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteBackupCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "BackupArn" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "DeleteBackup", {})
|
|
16
|
+
.n("DynamoDBClient", "DeleteBackupCommand")
|
|
17
|
+
.sc(DeleteBackup$)
|
|
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 { DeleteItem$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteItemCommand 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", "DeleteItem", {})
|
|
16
|
+
.n("DynamoDBClient", "DeleteItemCommand")
|
|
17
|
+
.sc(DeleteItem$)
|
|
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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteResourcePolicyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "DeleteResourcePolicy", {})
|
|
16
|
+
.n("DynamoDBClient", "DeleteResourcePolicyCommand")
|
|
17
|
+
.sc(DeleteResourcePolicy$)
|
|
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 { DeleteTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteTableCommand 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", "DeleteTable", {})
|
|
16
|
+
.n("DynamoDBClient", "DeleteTableCommand")
|
|
17
|
+
.sc(DeleteTable$)
|
|
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 { DescribeBackup$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeBackupCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "BackupArn" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "DescribeBackup", {})
|
|
16
|
+
.n("DynamoDBClient", "DescribeBackupCommand")
|
|
17
|
+
.sc(DescribeBackup$)
|
|
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 { DescribeContinuousBackups$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeContinuousBackupsCommand 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", "DescribeContinuousBackups", {})
|
|
16
|
+
.n("DynamoDBClient", "DescribeContinuousBackupsCommand")
|
|
17
|
+
.sc(DescribeContinuousBackups$)
|
|
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 { DescribeContributorInsights$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeContributorInsightsCommand 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", "DescribeContributorInsights", {})
|
|
16
|
+
.n("DynamoDBClient", "DescribeContributorInsightsCommand")
|
|
17
|
+
.sc(DescribeContributorInsights$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeEndpoints$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeEndpointsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("DynamoDB_20120810", "DescribeEndpoints", {})
|
|
13
|
+
.n("DynamoDBClient", "DescribeEndpointsCommand")
|
|
14
|
+
.sc(DescribeEndpoints$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -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 { DescribeExport$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeExportCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "ExportArn" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "DescribeExport", {})
|
|
16
|
+
.n("DynamoDBClient", "DescribeExportCommand")
|
|
17
|
+
.sc(DescribeExport$)
|
|
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 { DescribeGlobalTable$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeGlobalTableCommand 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", "DescribeGlobalTable", {})
|
|
16
|
+
.n("DynamoDBClient", "DescribeGlobalTableCommand")
|
|
17
|
+
.sc(DescribeGlobalTable$)
|
|
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 { DescribeGlobalTableSettings$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeGlobalTableSettingsCommand 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", "DescribeGlobalTableSettings", {})
|
|
16
|
+
.n("DynamoDBClient", "DescribeGlobalTableSettingsCommand")
|
|
17
|
+
.sc(DescribeGlobalTableSettings$)
|
|
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 { DescribeImport$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeImportCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep({
|
|
9
|
+
...commonParams,
|
|
10
|
+
ResourceArn: { type: "contextParams", name: "ImportArn" },
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
+
})
|
|
15
|
+
.s("DynamoDB_20120810", "DescribeImport", {})
|
|
16
|
+
.n("DynamoDBClient", "DescribeImportCommand")
|
|
17
|
+
.sc(DescribeImport$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|