@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,472 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AccountIdEndpointMode,
|
|
3
|
+
AccountIdEndpointModeInputConfig,
|
|
4
|
+
AccountIdEndpointModeResolvedConfig,
|
|
5
|
+
} from "@aws-sdk/core/account-id-endpoint";
|
|
6
|
+
import {
|
|
7
|
+
EndpointDiscoveryInputConfig,
|
|
8
|
+
EndpointDiscoveryResolvedConfig,
|
|
9
|
+
} from "@aws-sdk/middleware-endpoint-discovery";
|
|
10
|
+
import {
|
|
11
|
+
HostHeaderInputConfig,
|
|
12
|
+
HostHeaderResolvedConfig,
|
|
13
|
+
} from "@aws-sdk/middleware-host-header";
|
|
14
|
+
import {
|
|
15
|
+
UserAgentInputConfig,
|
|
16
|
+
UserAgentResolvedConfig,
|
|
17
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
18
|
+
import {
|
|
19
|
+
RegionInputConfig,
|
|
20
|
+
RegionResolvedConfig,
|
|
21
|
+
} from "@smithy/config-resolver";
|
|
22
|
+
import {
|
|
23
|
+
EndpointInputConfig,
|
|
24
|
+
EndpointResolvedConfig,
|
|
25
|
+
} from "@smithy/middleware-endpoint";
|
|
26
|
+
import {
|
|
27
|
+
RetryInputConfig,
|
|
28
|
+
RetryResolvedConfig,
|
|
29
|
+
} from "@smithy/middleware-retry";
|
|
30
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
31
|
+
import {
|
|
32
|
+
DefaultsMode as __DefaultsMode,
|
|
33
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
+
Client as __Client,
|
|
36
|
+
} from "@smithy/smithy-client";
|
|
37
|
+
import {
|
|
38
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
39
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
40
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
41
|
+
Decoder as __Decoder,
|
|
42
|
+
Encoder as __Encoder,
|
|
43
|
+
HashConstructor as __HashConstructor,
|
|
44
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
45
|
+
Logger as __Logger,
|
|
46
|
+
StreamCollector as __StreamCollector,
|
|
47
|
+
UrlParser as __UrlParser,
|
|
48
|
+
AwsCredentialIdentityProvider,
|
|
49
|
+
Provider,
|
|
50
|
+
Provider as __Provider,
|
|
51
|
+
UserAgent as __UserAgent,
|
|
52
|
+
} from "@smithy/types";
|
|
53
|
+
import {
|
|
54
|
+
HttpAuthSchemeInputConfig,
|
|
55
|
+
HttpAuthSchemeResolvedConfig,
|
|
56
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
57
|
+
import {
|
|
58
|
+
BatchExecuteStatementCommandInput,
|
|
59
|
+
BatchExecuteStatementCommandOutput,
|
|
60
|
+
} from "./commands/BatchExecuteStatementCommand";
|
|
61
|
+
import {
|
|
62
|
+
BatchGetItemCommandInput,
|
|
63
|
+
BatchGetItemCommandOutput,
|
|
64
|
+
} from "./commands/BatchGetItemCommand";
|
|
65
|
+
import {
|
|
66
|
+
BatchWriteItemCommandInput,
|
|
67
|
+
BatchWriteItemCommandOutput,
|
|
68
|
+
} from "./commands/BatchWriteItemCommand";
|
|
69
|
+
import {
|
|
70
|
+
CreateBackupCommandInput,
|
|
71
|
+
CreateBackupCommandOutput,
|
|
72
|
+
} from "./commands/CreateBackupCommand";
|
|
73
|
+
import {
|
|
74
|
+
CreateGlobalTableCommandInput,
|
|
75
|
+
CreateGlobalTableCommandOutput,
|
|
76
|
+
} from "./commands/CreateGlobalTableCommand";
|
|
77
|
+
import {
|
|
78
|
+
CreateTableCommandInput,
|
|
79
|
+
CreateTableCommandOutput,
|
|
80
|
+
} from "./commands/CreateTableCommand";
|
|
81
|
+
import {
|
|
82
|
+
DeleteBackupCommandInput,
|
|
83
|
+
DeleteBackupCommandOutput,
|
|
84
|
+
} from "./commands/DeleteBackupCommand";
|
|
85
|
+
import {
|
|
86
|
+
DeleteItemCommandInput,
|
|
87
|
+
DeleteItemCommandOutput,
|
|
88
|
+
} from "./commands/DeleteItemCommand";
|
|
89
|
+
import {
|
|
90
|
+
DeleteResourcePolicyCommandInput,
|
|
91
|
+
DeleteResourcePolicyCommandOutput,
|
|
92
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
93
|
+
import {
|
|
94
|
+
DeleteTableCommandInput,
|
|
95
|
+
DeleteTableCommandOutput,
|
|
96
|
+
} from "./commands/DeleteTableCommand";
|
|
97
|
+
import {
|
|
98
|
+
DescribeBackupCommandInput,
|
|
99
|
+
DescribeBackupCommandOutput,
|
|
100
|
+
} from "./commands/DescribeBackupCommand";
|
|
101
|
+
import {
|
|
102
|
+
DescribeContinuousBackupsCommandInput,
|
|
103
|
+
DescribeContinuousBackupsCommandOutput,
|
|
104
|
+
} from "./commands/DescribeContinuousBackupsCommand";
|
|
105
|
+
import {
|
|
106
|
+
DescribeContributorInsightsCommandInput,
|
|
107
|
+
DescribeContributorInsightsCommandOutput,
|
|
108
|
+
} from "./commands/DescribeContributorInsightsCommand";
|
|
109
|
+
import {
|
|
110
|
+
DescribeEndpointsCommandInput,
|
|
111
|
+
DescribeEndpointsCommandOutput,
|
|
112
|
+
} from "./commands/DescribeEndpointsCommand";
|
|
113
|
+
import {
|
|
114
|
+
DescribeExportCommandInput,
|
|
115
|
+
DescribeExportCommandOutput,
|
|
116
|
+
} from "./commands/DescribeExportCommand";
|
|
117
|
+
import {
|
|
118
|
+
DescribeGlobalTableCommandInput,
|
|
119
|
+
DescribeGlobalTableCommandOutput,
|
|
120
|
+
} from "./commands/DescribeGlobalTableCommand";
|
|
121
|
+
import {
|
|
122
|
+
DescribeGlobalTableSettingsCommandInput,
|
|
123
|
+
DescribeGlobalTableSettingsCommandOutput,
|
|
124
|
+
} from "./commands/DescribeGlobalTableSettingsCommand";
|
|
125
|
+
import {
|
|
126
|
+
DescribeImportCommandInput,
|
|
127
|
+
DescribeImportCommandOutput,
|
|
128
|
+
} from "./commands/DescribeImportCommand";
|
|
129
|
+
import {
|
|
130
|
+
DescribeKinesisStreamingDestinationCommandInput,
|
|
131
|
+
DescribeKinesisStreamingDestinationCommandOutput,
|
|
132
|
+
} from "./commands/DescribeKinesisStreamingDestinationCommand";
|
|
133
|
+
import {
|
|
134
|
+
DescribeLimitsCommandInput,
|
|
135
|
+
DescribeLimitsCommandOutput,
|
|
136
|
+
} from "./commands/DescribeLimitsCommand";
|
|
137
|
+
import {
|
|
138
|
+
DescribeTableCommandInput,
|
|
139
|
+
DescribeTableCommandOutput,
|
|
140
|
+
} from "./commands/DescribeTableCommand";
|
|
141
|
+
import {
|
|
142
|
+
DescribeTableReplicaAutoScalingCommandInput,
|
|
143
|
+
DescribeTableReplicaAutoScalingCommandOutput,
|
|
144
|
+
} from "./commands/DescribeTableReplicaAutoScalingCommand";
|
|
145
|
+
import {
|
|
146
|
+
DescribeTimeToLiveCommandInput,
|
|
147
|
+
DescribeTimeToLiveCommandOutput,
|
|
148
|
+
} from "./commands/DescribeTimeToLiveCommand";
|
|
149
|
+
import {
|
|
150
|
+
DisableKinesisStreamingDestinationCommandInput,
|
|
151
|
+
DisableKinesisStreamingDestinationCommandOutput,
|
|
152
|
+
} from "./commands/DisableKinesisStreamingDestinationCommand";
|
|
153
|
+
import {
|
|
154
|
+
EnableKinesisStreamingDestinationCommandInput,
|
|
155
|
+
EnableKinesisStreamingDestinationCommandOutput,
|
|
156
|
+
} from "./commands/EnableKinesisStreamingDestinationCommand";
|
|
157
|
+
import {
|
|
158
|
+
ExecuteStatementCommandInput,
|
|
159
|
+
ExecuteStatementCommandOutput,
|
|
160
|
+
} from "./commands/ExecuteStatementCommand";
|
|
161
|
+
import {
|
|
162
|
+
ExecuteTransactionCommandInput,
|
|
163
|
+
ExecuteTransactionCommandOutput,
|
|
164
|
+
} from "./commands/ExecuteTransactionCommand";
|
|
165
|
+
import {
|
|
166
|
+
ExportTableToPointInTimeCommandInput,
|
|
167
|
+
ExportTableToPointInTimeCommandOutput,
|
|
168
|
+
} from "./commands/ExportTableToPointInTimeCommand";
|
|
169
|
+
import {
|
|
170
|
+
GetItemCommandInput,
|
|
171
|
+
GetItemCommandOutput,
|
|
172
|
+
} from "./commands/GetItemCommand";
|
|
173
|
+
import {
|
|
174
|
+
GetResourcePolicyCommandInput,
|
|
175
|
+
GetResourcePolicyCommandOutput,
|
|
176
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
177
|
+
import {
|
|
178
|
+
ImportTableCommandInput,
|
|
179
|
+
ImportTableCommandOutput,
|
|
180
|
+
} from "./commands/ImportTableCommand";
|
|
181
|
+
import {
|
|
182
|
+
ListBackupsCommandInput,
|
|
183
|
+
ListBackupsCommandOutput,
|
|
184
|
+
} from "./commands/ListBackupsCommand";
|
|
185
|
+
import {
|
|
186
|
+
ListContributorInsightsCommandInput,
|
|
187
|
+
ListContributorInsightsCommandOutput,
|
|
188
|
+
} from "./commands/ListContributorInsightsCommand";
|
|
189
|
+
import {
|
|
190
|
+
ListExportsCommandInput,
|
|
191
|
+
ListExportsCommandOutput,
|
|
192
|
+
} from "./commands/ListExportsCommand";
|
|
193
|
+
import {
|
|
194
|
+
ListGlobalTablesCommandInput,
|
|
195
|
+
ListGlobalTablesCommandOutput,
|
|
196
|
+
} from "./commands/ListGlobalTablesCommand";
|
|
197
|
+
import {
|
|
198
|
+
ListImportsCommandInput,
|
|
199
|
+
ListImportsCommandOutput,
|
|
200
|
+
} from "./commands/ListImportsCommand";
|
|
201
|
+
import {
|
|
202
|
+
ListTablesCommandInput,
|
|
203
|
+
ListTablesCommandOutput,
|
|
204
|
+
} from "./commands/ListTablesCommand";
|
|
205
|
+
import {
|
|
206
|
+
ListTagsOfResourceCommandInput,
|
|
207
|
+
ListTagsOfResourceCommandOutput,
|
|
208
|
+
} from "./commands/ListTagsOfResourceCommand";
|
|
209
|
+
import {
|
|
210
|
+
PutItemCommandInput,
|
|
211
|
+
PutItemCommandOutput,
|
|
212
|
+
} from "./commands/PutItemCommand";
|
|
213
|
+
import {
|
|
214
|
+
PutResourcePolicyCommandInput,
|
|
215
|
+
PutResourcePolicyCommandOutput,
|
|
216
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
217
|
+
import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
|
|
218
|
+
import {
|
|
219
|
+
RestoreTableFromBackupCommandInput,
|
|
220
|
+
RestoreTableFromBackupCommandOutput,
|
|
221
|
+
} from "./commands/RestoreTableFromBackupCommand";
|
|
222
|
+
import {
|
|
223
|
+
RestoreTableToPointInTimeCommandInput,
|
|
224
|
+
RestoreTableToPointInTimeCommandOutput,
|
|
225
|
+
} from "./commands/RestoreTableToPointInTimeCommand";
|
|
226
|
+
import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
|
|
227
|
+
import {
|
|
228
|
+
TagResourceCommandInput,
|
|
229
|
+
TagResourceCommandOutput,
|
|
230
|
+
} from "./commands/TagResourceCommand";
|
|
231
|
+
import {
|
|
232
|
+
TransactGetItemsCommandInput,
|
|
233
|
+
TransactGetItemsCommandOutput,
|
|
234
|
+
} from "./commands/TransactGetItemsCommand";
|
|
235
|
+
import {
|
|
236
|
+
TransactWriteItemsCommandInput,
|
|
237
|
+
TransactWriteItemsCommandOutput,
|
|
238
|
+
} from "./commands/TransactWriteItemsCommand";
|
|
239
|
+
import {
|
|
240
|
+
UntagResourceCommandInput,
|
|
241
|
+
UntagResourceCommandOutput,
|
|
242
|
+
} from "./commands/UntagResourceCommand";
|
|
243
|
+
import {
|
|
244
|
+
UpdateContinuousBackupsCommandInput,
|
|
245
|
+
UpdateContinuousBackupsCommandOutput,
|
|
246
|
+
} from "./commands/UpdateContinuousBackupsCommand";
|
|
247
|
+
import {
|
|
248
|
+
UpdateContributorInsightsCommandInput,
|
|
249
|
+
UpdateContributorInsightsCommandOutput,
|
|
250
|
+
} from "./commands/UpdateContributorInsightsCommand";
|
|
251
|
+
import {
|
|
252
|
+
UpdateGlobalTableCommandInput,
|
|
253
|
+
UpdateGlobalTableCommandOutput,
|
|
254
|
+
} from "./commands/UpdateGlobalTableCommand";
|
|
255
|
+
import {
|
|
256
|
+
UpdateGlobalTableSettingsCommandInput,
|
|
257
|
+
UpdateGlobalTableSettingsCommandOutput,
|
|
258
|
+
} from "./commands/UpdateGlobalTableSettingsCommand";
|
|
259
|
+
import {
|
|
260
|
+
UpdateItemCommandInput,
|
|
261
|
+
UpdateItemCommandOutput,
|
|
262
|
+
} from "./commands/UpdateItemCommand";
|
|
263
|
+
import {
|
|
264
|
+
UpdateKinesisStreamingDestinationCommandInput,
|
|
265
|
+
UpdateKinesisStreamingDestinationCommandOutput,
|
|
266
|
+
} from "./commands/UpdateKinesisStreamingDestinationCommand";
|
|
267
|
+
import {
|
|
268
|
+
UpdateTableCommandInput,
|
|
269
|
+
UpdateTableCommandOutput,
|
|
270
|
+
} from "./commands/UpdateTableCommand";
|
|
271
|
+
import {
|
|
272
|
+
UpdateTableReplicaAutoScalingCommandInput,
|
|
273
|
+
UpdateTableReplicaAutoScalingCommandOutput,
|
|
274
|
+
} from "./commands/UpdateTableReplicaAutoScalingCommand";
|
|
275
|
+
import {
|
|
276
|
+
UpdateTimeToLiveCommandInput,
|
|
277
|
+
UpdateTimeToLiveCommandOutput,
|
|
278
|
+
} from "./commands/UpdateTimeToLiveCommand";
|
|
279
|
+
import {
|
|
280
|
+
ClientInputEndpointParameters,
|
|
281
|
+
ClientResolvedEndpointParameters,
|
|
282
|
+
EndpointParameters,
|
|
283
|
+
} from "./endpoint/EndpointParameters";
|
|
284
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
285
|
+
export { __Client };
|
|
286
|
+
export type ServiceInputTypes =
|
|
287
|
+
| BatchExecuteStatementCommandInput
|
|
288
|
+
| BatchGetItemCommandInput
|
|
289
|
+
| BatchWriteItemCommandInput
|
|
290
|
+
| CreateBackupCommandInput
|
|
291
|
+
| CreateGlobalTableCommandInput
|
|
292
|
+
| CreateTableCommandInput
|
|
293
|
+
| DeleteBackupCommandInput
|
|
294
|
+
| DeleteItemCommandInput
|
|
295
|
+
| DeleteResourcePolicyCommandInput
|
|
296
|
+
| DeleteTableCommandInput
|
|
297
|
+
| DescribeBackupCommandInput
|
|
298
|
+
| DescribeContinuousBackupsCommandInput
|
|
299
|
+
| DescribeContributorInsightsCommandInput
|
|
300
|
+
| DescribeEndpointsCommandInput
|
|
301
|
+
| DescribeExportCommandInput
|
|
302
|
+
| DescribeGlobalTableCommandInput
|
|
303
|
+
| DescribeGlobalTableSettingsCommandInput
|
|
304
|
+
| DescribeImportCommandInput
|
|
305
|
+
| DescribeKinesisStreamingDestinationCommandInput
|
|
306
|
+
| DescribeLimitsCommandInput
|
|
307
|
+
| DescribeTableCommandInput
|
|
308
|
+
| DescribeTableReplicaAutoScalingCommandInput
|
|
309
|
+
| DescribeTimeToLiveCommandInput
|
|
310
|
+
| DisableKinesisStreamingDestinationCommandInput
|
|
311
|
+
| EnableKinesisStreamingDestinationCommandInput
|
|
312
|
+
| ExecuteStatementCommandInput
|
|
313
|
+
| ExecuteTransactionCommandInput
|
|
314
|
+
| ExportTableToPointInTimeCommandInput
|
|
315
|
+
| GetItemCommandInput
|
|
316
|
+
| GetResourcePolicyCommandInput
|
|
317
|
+
| ImportTableCommandInput
|
|
318
|
+
| ListBackupsCommandInput
|
|
319
|
+
| ListContributorInsightsCommandInput
|
|
320
|
+
| ListExportsCommandInput
|
|
321
|
+
| ListGlobalTablesCommandInput
|
|
322
|
+
| ListImportsCommandInput
|
|
323
|
+
| ListTablesCommandInput
|
|
324
|
+
| ListTagsOfResourceCommandInput
|
|
325
|
+
| PutItemCommandInput
|
|
326
|
+
| PutResourcePolicyCommandInput
|
|
327
|
+
| QueryCommandInput
|
|
328
|
+
| RestoreTableFromBackupCommandInput
|
|
329
|
+
| RestoreTableToPointInTimeCommandInput
|
|
330
|
+
| ScanCommandInput
|
|
331
|
+
| TagResourceCommandInput
|
|
332
|
+
| TransactGetItemsCommandInput
|
|
333
|
+
| TransactWriteItemsCommandInput
|
|
334
|
+
| UntagResourceCommandInput
|
|
335
|
+
| UpdateContinuousBackupsCommandInput
|
|
336
|
+
| UpdateContributorInsightsCommandInput
|
|
337
|
+
| UpdateGlobalTableCommandInput
|
|
338
|
+
| UpdateGlobalTableSettingsCommandInput
|
|
339
|
+
| UpdateItemCommandInput
|
|
340
|
+
| UpdateKinesisStreamingDestinationCommandInput
|
|
341
|
+
| UpdateTableCommandInput
|
|
342
|
+
| UpdateTableReplicaAutoScalingCommandInput
|
|
343
|
+
| UpdateTimeToLiveCommandInput;
|
|
344
|
+
export type ServiceOutputTypes =
|
|
345
|
+
| BatchExecuteStatementCommandOutput
|
|
346
|
+
| BatchGetItemCommandOutput
|
|
347
|
+
| BatchWriteItemCommandOutput
|
|
348
|
+
| CreateBackupCommandOutput
|
|
349
|
+
| CreateGlobalTableCommandOutput
|
|
350
|
+
| CreateTableCommandOutput
|
|
351
|
+
| DeleteBackupCommandOutput
|
|
352
|
+
| DeleteItemCommandOutput
|
|
353
|
+
| DeleteResourcePolicyCommandOutput
|
|
354
|
+
| DeleteTableCommandOutput
|
|
355
|
+
| DescribeBackupCommandOutput
|
|
356
|
+
| DescribeContinuousBackupsCommandOutput
|
|
357
|
+
| DescribeContributorInsightsCommandOutput
|
|
358
|
+
| DescribeEndpointsCommandOutput
|
|
359
|
+
| DescribeExportCommandOutput
|
|
360
|
+
| DescribeGlobalTableCommandOutput
|
|
361
|
+
| DescribeGlobalTableSettingsCommandOutput
|
|
362
|
+
| DescribeImportCommandOutput
|
|
363
|
+
| DescribeKinesisStreamingDestinationCommandOutput
|
|
364
|
+
| DescribeLimitsCommandOutput
|
|
365
|
+
| DescribeTableCommandOutput
|
|
366
|
+
| DescribeTableReplicaAutoScalingCommandOutput
|
|
367
|
+
| DescribeTimeToLiveCommandOutput
|
|
368
|
+
| DisableKinesisStreamingDestinationCommandOutput
|
|
369
|
+
| EnableKinesisStreamingDestinationCommandOutput
|
|
370
|
+
| ExecuteStatementCommandOutput
|
|
371
|
+
| ExecuteTransactionCommandOutput
|
|
372
|
+
| ExportTableToPointInTimeCommandOutput
|
|
373
|
+
| GetItemCommandOutput
|
|
374
|
+
| GetResourcePolicyCommandOutput
|
|
375
|
+
| ImportTableCommandOutput
|
|
376
|
+
| ListBackupsCommandOutput
|
|
377
|
+
| ListContributorInsightsCommandOutput
|
|
378
|
+
| ListExportsCommandOutput
|
|
379
|
+
| ListGlobalTablesCommandOutput
|
|
380
|
+
| ListImportsCommandOutput
|
|
381
|
+
| ListTablesCommandOutput
|
|
382
|
+
| ListTagsOfResourceCommandOutput
|
|
383
|
+
| PutItemCommandOutput
|
|
384
|
+
| PutResourcePolicyCommandOutput
|
|
385
|
+
| QueryCommandOutput
|
|
386
|
+
| RestoreTableFromBackupCommandOutput
|
|
387
|
+
| RestoreTableToPointInTimeCommandOutput
|
|
388
|
+
| ScanCommandOutput
|
|
389
|
+
| TagResourceCommandOutput
|
|
390
|
+
| TransactGetItemsCommandOutput
|
|
391
|
+
| TransactWriteItemsCommandOutput
|
|
392
|
+
| UntagResourceCommandOutput
|
|
393
|
+
| UpdateContinuousBackupsCommandOutput
|
|
394
|
+
| UpdateContributorInsightsCommandOutput
|
|
395
|
+
| UpdateGlobalTableCommandOutput
|
|
396
|
+
| UpdateGlobalTableSettingsCommandOutput
|
|
397
|
+
| UpdateItemCommandOutput
|
|
398
|
+
| UpdateKinesisStreamingDestinationCommandOutput
|
|
399
|
+
| UpdateTableCommandOutput
|
|
400
|
+
| UpdateTableReplicaAutoScalingCommandOutput
|
|
401
|
+
| UpdateTimeToLiveCommandOutput;
|
|
402
|
+
export interface ClientDefaults
|
|
403
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
404
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
405
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
406
|
+
urlParser?: __UrlParser;
|
|
407
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
408
|
+
streamCollector?: __StreamCollector;
|
|
409
|
+
base64Decoder?: __Decoder;
|
|
410
|
+
base64Encoder?: __Encoder;
|
|
411
|
+
utf8Decoder?: __Decoder;
|
|
412
|
+
utf8Encoder?: __Encoder;
|
|
413
|
+
runtime?: string;
|
|
414
|
+
disableHostPrefix?: boolean;
|
|
415
|
+
serviceId?: string;
|
|
416
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
417
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
418
|
+
region?: string | __Provider<string>;
|
|
419
|
+
profile?: string;
|
|
420
|
+
accountIdEndpointMode?:
|
|
421
|
+
| AccountIdEndpointMode
|
|
422
|
+
| __Provider<AccountIdEndpointMode>;
|
|
423
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
424
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
425
|
+
maxAttempts?: number | __Provider<number>;
|
|
426
|
+
retryMode?: string | __Provider<string>;
|
|
427
|
+
logger?: __Logger;
|
|
428
|
+
extensions?: RuntimeExtension[];
|
|
429
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
430
|
+
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
431
|
+
}
|
|
432
|
+
export type DynamoDBClientConfigType = Partial<
|
|
433
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
434
|
+
> &
|
|
435
|
+
ClientDefaults &
|
|
436
|
+
AccountIdEndpointModeInputConfig &
|
|
437
|
+
UserAgentInputConfig &
|
|
438
|
+
RetryInputConfig &
|
|
439
|
+
RegionInputConfig &
|
|
440
|
+
HostHeaderInputConfig &
|
|
441
|
+
EndpointInputConfig<EndpointParameters> &
|
|
442
|
+
HttpAuthSchemeInputConfig &
|
|
443
|
+
EndpointDiscoveryInputConfig &
|
|
444
|
+
ClientInputEndpointParameters;
|
|
445
|
+
export interface DynamoDBClientConfig extends DynamoDBClientConfigType {}
|
|
446
|
+
export type DynamoDBClientResolvedConfigType =
|
|
447
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
448
|
+
Required<ClientDefaults> &
|
|
449
|
+
RuntimeExtensionsConfig &
|
|
450
|
+
AccountIdEndpointModeResolvedConfig &
|
|
451
|
+
UserAgentResolvedConfig &
|
|
452
|
+
RetryResolvedConfig &
|
|
453
|
+
RegionResolvedConfig &
|
|
454
|
+
HostHeaderResolvedConfig &
|
|
455
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
456
|
+
HttpAuthSchemeResolvedConfig &
|
|
457
|
+
EndpointDiscoveryResolvedConfig &
|
|
458
|
+
ClientResolvedEndpointParameters;
|
|
459
|
+
export interface DynamoDBClientResolvedConfig
|
|
460
|
+
extends DynamoDBClientResolvedConfigType {}
|
|
461
|
+
export declare class DynamoDBClient extends __Client<
|
|
462
|
+
__HttpHandlerOptions,
|
|
463
|
+
ServiceInputTypes,
|
|
464
|
+
ServiceOutputTypes,
|
|
465
|
+
DynamoDBClientResolvedConfig
|
|
466
|
+
> {
|
|
467
|
+
readonly config: DynamoDBClientResolvedConfig;
|
|
468
|
+
constructor(
|
|
469
|
+
...[configuration]: __CheckOptionalClientConfig<DynamoDBClientConfig>
|
|
470
|
+
);
|
|
471
|
+
destroy(): void;
|
|
472
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpAuthScheme,
|
|
3
|
+
AwsCredentialIdentity,
|
|
4
|
+
AwsCredentialIdentityProvider,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { DynamoDBHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): DynamoDBHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { DynamoDBClientResolvedConfig } from "../DynamoDBClient";
|
|
15
|
+
export interface DynamoDBHttpAuthSchemeParameters
|
|
16
|
+
extends HttpAuthSchemeParameters {
|
|
17
|
+
region?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface DynamoDBHttpAuthSchemeParametersProvider
|
|
20
|
+
extends HttpAuthSchemeParametersProvider<
|
|
21
|
+
DynamoDBClientResolvedConfig,
|
|
22
|
+
HandlerExecutionContext,
|
|
23
|
+
DynamoDBHttpAuthSchemeParameters,
|
|
24
|
+
object
|
|
25
|
+
> {}
|
|
26
|
+
export declare const defaultDynamoDBHttpAuthSchemeParametersProvider: (
|
|
27
|
+
config: DynamoDBClientResolvedConfig,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
input: object
|
|
30
|
+
) => Promise<DynamoDBHttpAuthSchemeParameters>;
|
|
31
|
+
export interface DynamoDBHttpAuthSchemeProvider
|
|
32
|
+
extends HttpAuthSchemeProvider<DynamoDBHttpAuthSchemeParameters> {}
|
|
33
|
+
export declare const defaultDynamoDBHttpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider;
|
|
34
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
httpAuthSchemeProvider?: DynamoDBHttpAuthSchemeProvider;
|
|
38
|
+
}
|
|
39
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
42
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
|
+
readonly httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider;
|
|
44
|
+
}
|
|
45
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
47
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DynamoDBClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DynamoDBClient";
|
|
8
|
+
import {
|
|
9
|
+
BatchExecuteStatementInput,
|
|
10
|
+
BatchExecuteStatementOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface BatchExecuteStatementCommandInput
|
|
15
|
+
extends BatchExecuteStatementInput {}
|
|
16
|
+
export interface BatchExecuteStatementCommandOutput
|
|
17
|
+
extends BatchExecuteStatementOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const BatchExecuteStatementCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: BatchExecuteStatementCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
BatchExecuteStatementCommandInput,
|
|
24
|
+
BatchExecuteStatementCommandOutput,
|
|
25
|
+
DynamoDBClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: BatchExecuteStatementCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
BatchExecuteStatementCommandInput,
|
|
33
|
+
BatchExecuteStatementCommandOutput,
|
|
34
|
+
DynamoDBClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: BatchExecuteStatementInput;
|
|
44
|
+
output: BatchExecuteStatementOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: BatchExecuteStatementCommandInput;
|
|
48
|
+
output: BatchExecuteStatementCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DynamoDBClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DynamoDBClient";
|
|
8
|
+
import { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface BatchGetItemCommandInput extends BatchGetItemInput {}
|
|
12
|
+
export interface BatchGetItemCommandOutput
|
|
13
|
+
extends BatchGetItemOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const BatchGetItemCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: BatchGetItemCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
BatchGetItemCommandInput,
|
|
20
|
+
BatchGetItemCommandOutput,
|
|
21
|
+
DynamoDBClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: BatchGetItemCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
BatchGetItemCommandInput,
|
|
29
|
+
BatchGetItemCommandOutput,
|
|
30
|
+
DynamoDBClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class BatchGetItemCommand extends BatchGetItemCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: BatchGetItemInput;
|
|
40
|
+
output: BatchGetItemOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: BatchGetItemCommandInput;
|
|
44
|
+
output: BatchGetItemCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DynamoDBClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DynamoDBClient";
|
|
8
|
+
import { BatchWriteItemInput, BatchWriteItemOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface BatchWriteItemCommandInput extends BatchWriteItemInput {}
|
|
12
|
+
export interface BatchWriteItemCommandOutput
|
|
13
|
+
extends BatchWriteItemOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const BatchWriteItemCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: BatchWriteItemCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
BatchWriteItemCommandInput,
|
|
20
|
+
BatchWriteItemCommandOutput,
|
|
21
|
+
DynamoDBClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: BatchWriteItemCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
BatchWriteItemCommandInput,
|
|
29
|
+
BatchWriteItemCommandOutput,
|
|
30
|
+
DynamoDBClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class BatchWriteItemCommand extends BatchWriteItemCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: BatchWriteItemInput;
|
|
40
|
+
output: BatchWriteItemOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: BatchWriteItemCommandInput;
|
|
44
|
+
output: BatchWriteItemCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|