@aws-sdk/client-dynamodb 3.362.0 → 3.369.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/dist-cjs/DynamoDB.js +1 -1
- package/dist-cjs/DynamoDBClient.js +5 -5
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +3 -3
- package/dist-cjs/commands/BatchGetItemCommand.js +3 -3
- package/dist-cjs/commands/BatchWriteItemCommand.js +3 -3
- package/dist-cjs/commands/CreateBackupCommand.js +3 -3
- package/dist-cjs/commands/CreateGlobalTableCommand.js +3 -3
- package/dist-cjs/commands/CreateTableCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupCommand.js +3 -3
- package/dist-cjs/commands/DeleteItemCommand.js +3 -3
- package/dist-cjs/commands/DeleteTableCommand.js +3 -3
- package/dist-cjs/commands/DescribeBackupCommand.js +3 -3
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
- package/dist-cjs/commands/DescribeExportCommand.js +3 -3
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +3 -3
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeImportCommand.js +3 -3
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
- package/dist-cjs/commands/DescribeLimitsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTableCommand.js +3 -3
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +3 -3
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
- package/dist-cjs/commands/ExecuteStatementCommand.js +3 -3
- package/dist-cjs/commands/ExecuteTransactionCommand.js +3 -3
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +3 -3
- package/dist-cjs/commands/GetItemCommand.js +3 -3
- package/dist-cjs/commands/ImportTableCommand.js +3 -3
- package/dist-cjs/commands/ListBackupsCommand.js +3 -3
- package/dist-cjs/commands/ListContributorInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListExportsCommand.js +3 -3
- package/dist-cjs/commands/ListGlobalTablesCommand.js +3 -3
- package/dist-cjs/commands/ListImportsCommand.js +3 -3
- package/dist-cjs/commands/ListTablesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +3 -3
- package/dist-cjs/commands/PutItemCommand.js +3 -3
- package/dist-cjs/commands/QueryCommand.js +3 -3
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +3 -3
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +3 -3
- package/dist-cjs/commands/ScanCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TransactGetItemsCommand.js +3 -3
- package/dist-cjs/commands/TransactWriteItemsCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +3 -3
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +3 -3
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +3 -3
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateItemCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js +3 -3
- package/dist-cjs/models/DynamoDBServiceException.js +1 -1
- package/dist-cjs/models/models_0.js +20 -19
- package/dist-cjs/protocols/Aws_json1_0.js +22 -3
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-cjs/waiters/waitForTableExists.js +1 -1
- package/dist-cjs/waiters/waitForTableNotExists.js +1 -1
- package/dist-es/DynamoDB.js +1 -1
- package/dist-es/DynamoDBClient.js +5 -5
- package/dist-es/commands/BatchExecuteStatementCommand.js +3 -3
- package/dist-es/commands/BatchGetItemCommand.js +3 -3
- package/dist-es/commands/BatchWriteItemCommand.js +3 -3
- package/dist-es/commands/CreateBackupCommand.js +3 -3
- package/dist-es/commands/CreateGlobalTableCommand.js +3 -3
- package/dist-es/commands/CreateTableCommand.js +3 -3
- package/dist-es/commands/DeleteBackupCommand.js +3 -3
- package/dist-es/commands/DeleteItemCommand.js +3 -3
- package/dist-es/commands/DeleteTableCommand.js +3 -3
- package/dist-es/commands/DescribeBackupCommand.js +3 -3
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +3 -3
- package/dist-es/commands/DescribeContributorInsightsCommand.js +3 -3
- package/dist-es/commands/DescribeEndpointsCommand.js +3 -3
- package/dist-es/commands/DescribeExportCommand.js +3 -3
- package/dist-es/commands/DescribeGlobalTableCommand.js +3 -3
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +3 -3
- package/dist-es/commands/DescribeImportCommand.js +3 -3
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
- package/dist-es/commands/DescribeLimitsCommand.js +3 -3
- package/dist-es/commands/DescribeTableCommand.js +3 -3
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
- package/dist-es/commands/DescribeTimeToLiveCommand.js +3 -3
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
- package/dist-es/commands/ExecuteStatementCommand.js +3 -3
- package/dist-es/commands/ExecuteTransactionCommand.js +3 -3
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +3 -3
- package/dist-es/commands/GetItemCommand.js +3 -3
- package/dist-es/commands/ImportTableCommand.js +3 -3
- package/dist-es/commands/ListBackupsCommand.js +3 -3
- package/dist-es/commands/ListContributorInsightsCommand.js +3 -3
- package/dist-es/commands/ListExportsCommand.js +3 -3
- package/dist-es/commands/ListGlobalTablesCommand.js +3 -3
- package/dist-es/commands/ListImportsCommand.js +3 -3
- package/dist-es/commands/ListTablesCommand.js +3 -3
- package/dist-es/commands/ListTagsOfResourceCommand.js +3 -3
- package/dist-es/commands/PutItemCommand.js +3 -3
- package/dist-es/commands/QueryCommand.js +3 -3
- package/dist-es/commands/RestoreTableFromBackupCommand.js +3 -3
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +3 -3
- package/dist-es/commands/ScanCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/TransactGetItemsCommand.js +3 -3
- package/dist-es/commands/TransactWriteItemsCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +3 -3
- package/dist-es/commands/UpdateContributorInsightsCommand.js +3 -3
- package/dist-es/commands/UpdateGlobalTableCommand.js +3 -3
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +3 -3
- package/dist-es/commands/UpdateItemCommand.js +3 -3
- package/dist-es/commands/UpdateTableCommand.js +3 -3
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
- package/dist-es/commands/UpdateTimeToLiveCommand.js +3 -3
- package/dist-es/models/DynamoDBServiceException.js +1 -1
- package/dist-es/models/models_0.js +17 -16
- package/dist-es/protocols/Aws_json1_0.js +22 -3
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-es/waiters/waitForTableExists.js +1 -1
- package/dist-es/waiters/waitForTableNotExists.js +1 -1
- package/dist-types/DynamoDB.d.ts +1 -1
- package/dist-types/DynamoDBClient.d.ts +8 -8
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +49 -45
- package/dist-types/commands/BatchGetItemCommand.d.ts +3 -3
- package/dist-types/commands/BatchWriteItemCommand.d.ts +7 -7
- package/dist-types/commands/CreateBackupCommand.d.ts +3 -3
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +3 -3
- package/dist-types/commands/CreateTableCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBackupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteItemCommand.d.ts +4 -3
- package/dist-types/commands/DeleteTableCommand.d.ts +3 -3
- package/dist-types/commands/DescribeBackupCommand.d.ts +3 -3
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeExportCommand.d.ts +3 -3
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +3 -3
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeImportCommand.d.ts +3 -3
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLimitsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTableCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +3 -3
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -3
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -3
- package/dist-types/commands/ExecuteStatementCommand.d.ts +4 -3
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +4 -3
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +3 -3
- package/dist-types/commands/GetItemCommand.d.ts +3 -3
- package/dist-types/commands/ImportTableCommand.d.ts +3 -3
- package/dist-types/commands/ListBackupsCommand.d.ts +3 -3
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +3 -3
- package/dist-types/commands/ListExportsCommand.d.ts +3 -3
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +3 -3
- package/dist-types/commands/ListImportsCommand.d.ts +3 -3
- package/dist-types/commands/ListTablesCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +3 -3
- package/dist-types/commands/PutItemCommand.d.ts +5 -5
- package/dist-types/commands/QueryCommand.d.ts +3 -3
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +3 -3
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -3
- package/dist-types/commands/ScanCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TransactGetItemsCommand.d.ts +3 -3
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateItemCommand.d.ts +4 -3
- package/dist-types/commands/UpdateTableCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/DynamoDBServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +125 -69
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
- package/dist-types/pagination/QueryPaginator.d.ts +1 -1
- package/dist-types/pagination/ScanPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/DynamoDB.d.ts +1 -1
- package/dist-types/ts3.4/DynamoDBClient.d.ts +19 -21
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +50 -30
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForTableExists.d.ts +1 -1
- package/dist-types/waiters/waitForTableNotExists.d.ts +1 -1
- package/package.json +36 -35
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { DynamoDBServiceException as __BaseException } from "../models/DynamoDBServiceException";
|
|
5
5
|
import { AttributeValue, BackupInUseException, BackupNotFoundException, ConditionalCheckFailedException, ContinuousBackupsUnavailableException, DuplicateItemException, ExportConflictException, ExportNotFoundException, GlobalTableAlreadyExistsException, GlobalTableNotFoundException, IdempotentParameterMismatchException, ImportConflictException, ImportNotFoundException, IndexNotFoundException, InternalServerError, InvalidEndpointException, InvalidExportTimeException, InvalidRestoreTimeException, ItemCollectionSizeLimitExceededException, LimitExceededException, PointInTimeRecoveryUnavailableException, ProvisionedThroughputExceededException, ReplicaAlreadyExistsException, ReplicaNotFoundException, RequestLimitExceeded, ResourceInUseException, ResourceNotFoundException, TableAlreadyExistsException, TableInUseException, TableNotFoundException, TransactionCanceledException, TransactionConflictException, TransactionInProgressException, } from "../models/models_0";
|
|
@@ -2556,7 +2556,7 @@ const de_BackupNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2556
2556
|
};
|
|
2557
2557
|
const de_ConditionalCheckFailedExceptionRes = async (parsedOutput, context) => {
|
|
2558
2558
|
const body = parsedOutput.body;
|
|
2559
|
-
const deserialized =
|
|
2559
|
+
const deserialized = de_ConditionalCheckFailedException(body, context);
|
|
2560
2560
|
const exception = new ConditionalCheckFailedException({
|
|
2561
2561
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2562
2562
|
...deserialized,
|
|
@@ -2909,6 +2909,7 @@ const se_BatchStatementRequest = (input, context) => {
|
|
|
2909
2909
|
return take(input, {
|
|
2910
2910
|
ConsistentRead: [],
|
|
2911
2911
|
Parameters: (_) => se_PreparedStatementParameters(_, context),
|
|
2912
|
+
ReturnValuesOnConditionCheckFailure: [],
|
|
2912
2913
|
Statement: [],
|
|
2913
2914
|
});
|
|
2914
2915
|
};
|
|
@@ -2972,6 +2973,7 @@ const se_DeleteItemInput = (input, context) => {
|
|
|
2972
2973
|
ReturnConsumedCapacity: [],
|
|
2973
2974
|
ReturnItemCollectionMetrics: [],
|
|
2974
2975
|
ReturnValues: [],
|
|
2976
|
+
ReturnValuesOnConditionCheckFailure: [],
|
|
2975
2977
|
TableName: [],
|
|
2976
2978
|
});
|
|
2977
2979
|
};
|
|
@@ -2987,6 +2989,7 @@ const se_ExecuteStatementInput = (input, context) => {
|
|
|
2987
2989
|
NextToken: [],
|
|
2988
2990
|
Parameters: (_) => se_PreparedStatementParameters(_, context),
|
|
2989
2991
|
ReturnConsumedCapacity: [],
|
|
2992
|
+
ReturnValuesOnConditionCheckFailure: [],
|
|
2990
2993
|
Statement: [],
|
|
2991
2994
|
});
|
|
2992
2995
|
};
|
|
@@ -3164,6 +3167,7 @@ const se_MapAttributeValue = (input, context) => {
|
|
|
3164
3167
|
const se_ParameterizedStatement = (input, context) => {
|
|
3165
3168
|
return take(input, {
|
|
3166
3169
|
Parameters: (_) => se_PreparedStatementParameters(_, context),
|
|
3170
|
+
ReturnValuesOnConditionCheckFailure: [],
|
|
3167
3171
|
Statement: [],
|
|
3168
3172
|
});
|
|
3169
3173
|
};
|
|
@@ -3209,6 +3213,7 @@ const se_PutItemInput = (input, context) => {
|
|
|
3209
3213
|
ReturnConsumedCapacity: [],
|
|
3210
3214
|
ReturnItemCollectionMetrics: [],
|
|
3211
3215
|
ReturnValues: [],
|
|
3216
|
+
ReturnValuesOnConditionCheckFailure: [],
|
|
3212
3217
|
TableName: [],
|
|
3213
3218
|
});
|
|
3214
3219
|
};
|
|
@@ -3412,6 +3417,7 @@ const se_UpdateItemInput = (input, context) => {
|
|
|
3412
3417
|
ReturnConsumedCapacity: [],
|
|
3413
3418
|
ReturnItemCollectionMetrics: [],
|
|
3414
3419
|
ReturnValues: [],
|
|
3420
|
+
ReturnValuesOnConditionCheckFailure: [],
|
|
3415
3421
|
TableName: [],
|
|
3416
3422
|
UpdateExpression: [],
|
|
3417
3423
|
});
|
|
@@ -3600,9 +3606,16 @@ const de_BatchGetResponseMap = (output, context) => {
|
|
|
3600
3606
|
return acc;
|
|
3601
3607
|
}, {});
|
|
3602
3608
|
};
|
|
3609
|
+
const de_BatchStatementError = (output, context) => {
|
|
3610
|
+
return take(output, {
|
|
3611
|
+
Code: __expectString,
|
|
3612
|
+
Item: (_) => de_AttributeMap(_, context),
|
|
3613
|
+
Message: __expectString,
|
|
3614
|
+
});
|
|
3615
|
+
};
|
|
3603
3616
|
const de_BatchStatementResponse = (output, context) => {
|
|
3604
3617
|
return take(output, {
|
|
3605
|
-
Error:
|
|
3618
|
+
Error: (_) => de_BatchStatementError(_, context),
|
|
3606
3619
|
Item: (_) => de_AttributeMap(_, context),
|
|
3607
3620
|
TableName: __expectString,
|
|
3608
3621
|
});
|
|
@@ -3659,6 +3672,12 @@ const de_Capacity = (output, context) => {
|
|
|
3659
3672
|
WriteCapacityUnits: __limitedParseDouble,
|
|
3660
3673
|
});
|
|
3661
3674
|
};
|
|
3675
|
+
const de_ConditionalCheckFailedException = (output, context) => {
|
|
3676
|
+
return take(output, {
|
|
3677
|
+
Item: (_) => de_AttributeMap(_, context),
|
|
3678
|
+
message: __expectString,
|
|
3679
|
+
});
|
|
3680
|
+
};
|
|
3662
3681
|
const de_ConsumedCapacity = (output, context) => {
|
|
3663
3682
|
return take(output, {
|
|
3664
3683
|
CapacityUnits: __limitedParseDouble,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
-
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
-
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
3
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { Hash } from "@aws-sdk/hash-node";
|
|
6
4
|
import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
-
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
|
-
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
12
5
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
6
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
7
|
+
import { Hash } from "@smithy/hash-node";
|
|
8
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
9
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
10
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
13
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
-
import { loadConfigsForDefaultMode } from "@
|
|
15
|
-
import { resolveDefaultsModeConfig } from "@
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@
|
|
14
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
15
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
17
17
|
export const getRuntimeConfig = (config) => {
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NoOpLogger } from "@
|
|
2
|
-
import { parseUrl } from "@
|
|
3
|
-
import { fromBase64, toBase64 } from "@
|
|
4
|
-
import { fromUtf8, toUtf8 } from "@
|
|
1
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
6
|
export const getRuntimeConfig = (config) => ({
|
|
7
7
|
apiVersion: "2012-08-10",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeTableCommand } from "../commands/DescribeTableCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeTableCommand } from "../commands/DescribeTableCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
package/dist-types/DynamoDB.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
3
3
|
import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
|
|
4
4
|
import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
1
|
import { EndpointDiscoveryInputConfig, EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
|
|
4
2
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
6
3
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
7
4
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
6
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
7
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
8
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
10
9
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
11
|
-
import {
|
|
10
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
11
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
12
12
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
13
13
|
import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
|
|
14
14
|
import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand";
|
|
@@ -81,7 +81,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
81
81
|
*/
|
|
82
82
|
requestHandler?: __HttpHandler;
|
|
83
83
|
/**
|
|
84
|
-
* A constructor for a class implementing the {@link @
|
|
84
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
85
85
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
86
86
|
* @internal
|
|
87
87
|
*/
|
|
@@ -177,7 +177,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
177
177
|
*/
|
|
178
178
|
logger?: __Logger;
|
|
179
179
|
/**
|
|
180
|
-
* The {@link @
|
|
180
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
181
181
|
*/
|
|
182
182
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
183
183
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -92,6 +92,7 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
92
92
|
* },
|
|
93
93
|
* ],
|
|
94
94
|
* ConsistentRead: true || false,
|
|
95
|
+
* ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
|
|
95
96
|
* },
|
|
96
97
|
* ],
|
|
97
98
|
* ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
|
|
@@ -104,53 +105,56 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
104
105
|
* // Error: { // BatchStatementError
|
|
105
106
|
* // Code: "ConditionalCheckFailed" || "ItemCollectionSizeLimitExceeded" || "RequestLimitExceeded" || "ValidationError" || "ProvisionedThroughputExceeded" || "TransactionConflict" || "ThrottlingError" || "InternalServerError" || "ResourceNotFound" || "AccessDenied" || "DuplicateItem",
|
|
106
107
|
* // Message: "STRING_VALUE",
|
|
107
|
-
* //
|
|
108
|
-
* //
|
|
109
|
-
* //
|
|
110
|
-
* //
|
|
111
|
-
* //
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* //
|
|
116
|
-
* //
|
|
117
|
-
* //
|
|
118
|
-
* //
|
|
119
|
-
* //
|
|
120
|
-
* //
|
|
121
|
-
* //
|
|
122
|
-
* //
|
|
123
|
-
* //
|
|
124
|
-
* //
|
|
125
|
-
* //
|
|
126
|
-
* //
|
|
127
|
-
* //
|
|
128
|
-
* //
|
|
129
|
-
* //
|
|
130
|
-
* //
|
|
131
|
-
* //
|
|
132
|
-
* //
|
|
133
|
-
* //
|
|
134
|
-
* //
|
|
135
|
-
* //
|
|
136
|
-
* //
|
|
137
|
-
* //
|
|
138
|
-
* //
|
|
108
|
+
* // Item: { // AttributeMap
|
|
109
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
110
|
+
* // S: "STRING_VALUE",
|
|
111
|
+
* // N: "STRING_VALUE",
|
|
112
|
+
* // B: "BLOB_VALUE",
|
|
113
|
+
* // SS: [ // StringSetAttributeValue
|
|
114
|
+
* // "STRING_VALUE",
|
|
115
|
+
* // ],
|
|
116
|
+
* // NS: [ // NumberSetAttributeValue
|
|
117
|
+
* // "STRING_VALUE",
|
|
118
|
+
* // ],
|
|
119
|
+
* // BS: [ // BinarySetAttributeValue
|
|
120
|
+
* // "BLOB_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // M: { // MapAttributeValue
|
|
123
|
+
* // "<keys>": {// Union: only one key present
|
|
124
|
+
* // S: "STRING_VALUE",
|
|
125
|
+
* // N: "STRING_VALUE",
|
|
126
|
+
* // B: "BLOB_VALUE",
|
|
127
|
+
* // SS: [
|
|
128
|
+
* // "STRING_VALUE",
|
|
129
|
+
* // ],
|
|
130
|
+
* // NS: [
|
|
131
|
+
* // "STRING_VALUE",
|
|
132
|
+
* // ],
|
|
133
|
+
* // BS: [
|
|
134
|
+
* // "BLOB_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // M: {
|
|
137
|
+
* // "<keys>": "<AttributeValue>",
|
|
138
|
+
* // },
|
|
139
|
+
* // L: [ // ListAttributeValue
|
|
140
|
+
* // "<AttributeValue>",
|
|
141
|
+
* // ],
|
|
142
|
+
* // NULL: true || false,
|
|
143
|
+
* // BOOL: true || false,
|
|
139
144
|
* // },
|
|
140
|
-
* // L: [ // ListAttributeValue
|
|
141
|
-
* // "<AttributeValue>",
|
|
142
|
-
* // ],
|
|
143
|
-
* // NULL: true || false,
|
|
144
|
-
* // BOOL: true || false,
|
|
145
145
|
* // },
|
|
146
|
+
* // L: [
|
|
147
|
+
* // "<AttributeValue>",
|
|
148
|
+
* // ],
|
|
149
|
+
* // NULL: true || false,
|
|
150
|
+
* // BOOL: true || false,
|
|
146
151
|
* // },
|
|
147
|
-
* // L: [
|
|
148
|
-
* // "<AttributeValue>",
|
|
149
|
-
* // ],
|
|
150
|
-
* // NULL: true || false,
|
|
151
|
-
* // BOOL: true || false,
|
|
152
152
|
* // },
|
|
153
153
|
* // },
|
|
154
|
+
* // TableName: "STRING_VALUE",
|
|
155
|
+
* // Item: {
|
|
156
|
+
* // "<keys>": "<AttributeValue>",
|
|
157
|
+
* // },
|
|
154
158
|
* // },
|
|
155
159
|
* // ],
|
|
156
160
|
* // ConsumedCapacity: [ // ConsumedCapacityMultiple
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { BatchWriteItemInput, BatchWriteItemOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -31,10 +31,10 @@ export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __Met
|
|
|
31
31
|
* for the API call. For more details on this distinction, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html">Naming Rules and Data Types</a>.</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <p>
|
|
34
|
-
* <code>BatchWriteItem</code> cannot update items. If you perform a
|
|
35
|
-
*
|
|
36
|
-
* operation and it will appear like it was updated. To
|
|
37
|
-
* use the <code>UpdateItem</code> action.</p>
|
|
34
|
+
* <code>BatchWriteItem</code> cannot update items. If you perform a
|
|
35
|
+
* <code>BatchWriteItem</code> operation on an existing item, that item's values
|
|
36
|
+
* will be overwritten by the operation and it will appear like it was updated. To
|
|
37
|
+
* update items, we recommend you use the <code>UpdateItem</code> action.</p>
|
|
38
38
|
* </note>
|
|
39
39
|
* <p>The individual <code>PutItem</code> and <code>DeleteItem</code> operations specified
|
|
40
40
|
* in <code>BatchWriteItem</code> are atomic; however <code>BatchWriteItem</code> as a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { CreateBackupInput, CreateBackupOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { CreateGlobalTableInput, CreateGlobalTableOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { CreateTableInput, CreateTableOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DeleteBackupInput, DeleteBackupOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DeleteItemInput, DeleteItemOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -108,6 +108,7 @@ export interface DeleteItemCommandOutput extends DeleteItemOutput, __MetadataBea
|
|
|
108
108
|
* ExpressionAttributeValues: { // ExpressionAttributeValueMap
|
|
109
109
|
* "<keys>": "<AttributeValue>",
|
|
110
110
|
* },
|
|
111
|
+
* ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
|
|
111
112
|
* };
|
|
112
113
|
* const command = new DeleteItemCommand(input);
|
|
113
114
|
* const response = await client.send(command);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DeleteTableInput, DeleteTableOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeBackupInput, DescribeBackupOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeContinuousBackupsInput, DescribeContinuousBackupsOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeContributorInsightsInput, DescribeContributorInsightsOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeExportInput, DescribeExportOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeGlobalTableInput, DescribeGlobalTableOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeGlobalTableSettingsInput, DescribeGlobalTableSettingsOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeImportInput, DescribeImportOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeKinesisStreamingDestinationInput, DescribeKinesisStreamingDestinationOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeTableInput, DescribeTableOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeTableReplicaAutoScalingInput, DescribeTableReplicaAutoScalingOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
5
5
|
import { DescribeTimeToLiveInput, DescribeTimeToLiveOutput } from "../models/models_0";
|
|
6
6
|
/**
|