@aws-sdk/client-dynamodb 3.1045.0 → 3.1047.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +178 -180
- package/dist-cjs/models/DynamoDBServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.shared.js +12 -13
- package/dist-es/DynamoDB.js +1 -1
- package/dist-es/DynamoDBClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BatchExecuteStatementCommand.js +2 -2
- package/dist-es/commands/BatchGetItemCommand.js +2 -2
- package/dist-es/commands/BatchWriteItemCommand.js +2 -2
- package/dist-es/commands/CreateBackupCommand.js +2 -2
- package/dist-es/commands/CreateGlobalTableCommand.js +2 -2
- package/dist-es/commands/CreateTableCommand.js +2 -2
- package/dist-es/commands/DeleteBackupCommand.js +2 -2
- package/dist-es/commands/DeleteItemCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteTableCommand.js +2 -2
- package/dist-es/commands/DescribeBackupCommand.js +2 -2
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +2 -2
- package/dist-es/commands/DescribeContributorInsightsCommand.js +2 -2
- package/dist-es/commands/DescribeEndpointsCommand.js +2 -2
- package/dist-es/commands/DescribeExportCommand.js +2 -2
- package/dist-es/commands/DescribeGlobalTableCommand.js +2 -2
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +2 -2
- package/dist-es/commands/DescribeImportCommand.js +2 -2
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/DescribeLimitsCommand.js +2 -2
- package/dist-es/commands/DescribeTableCommand.js +2 -2
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -2
- package/dist-es/commands/DescribeTimeToLiveCommand.js +2 -2
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/ExecuteStatementCommand.js +2 -2
- package/dist-es/commands/ExecuteTransactionCommand.js +2 -2
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +2 -2
- package/dist-es/commands/GetItemCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/ImportTableCommand.js +2 -2
- package/dist-es/commands/ListBackupsCommand.js +2 -2
- package/dist-es/commands/ListContributorInsightsCommand.js +2 -2
- package/dist-es/commands/ListExportsCommand.js +2 -2
- package/dist-es/commands/ListGlobalTablesCommand.js +2 -2
- package/dist-es/commands/ListImportsCommand.js +2 -2
- package/dist-es/commands/ListTablesCommand.js +2 -2
- package/dist-es/commands/ListTagsOfResourceCommand.js +2 -2
- package/dist-es/commands/PutItemCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/QueryCommand.js +2 -2
- package/dist-es/commands/RestoreTableFromBackupCommand.js +2 -2
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +2 -2
- package/dist-es/commands/ScanCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TransactGetItemsCommand.js +2 -2
- package/dist-es/commands/TransactWriteItemsCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +2 -2
- package/dist-es/commands/UpdateContributorInsightsCommand.js +2 -2
- package/dist-es/commands/UpdateGlobalTableCommand.js +2 -2
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateItemCommand.js +2 -2
- package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/UpdateTableCommand.js +2 -2
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -2
- package/dist-es/commands/UpdateTimeToLiveCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/DynamoDBServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +4 -5
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForContributorInsightsEnabled.js +1 -1
- package/dist-es/waiters/waitForExportCompleted.js +1 -1
- package/dist-es/waiters/waitForImportCompleted.js +1 -1
- package/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +1 -1
- 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 +5 -5
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetItemCommand.d.ts +6 -4
- package/dist-types/commands/BatchWriteItemCommand.d.ts +6 -4
- package/dist-types/commands/CreateBackupCommand.d.ts +6 -4
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +6 -4
- package/dist-types/commands/CreateTableCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBackupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteItemCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTableCommand.d.ts +6 -4
- package/dist-types/commands/DescribeBackupCommand.d.ts +6 -4
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeExportCommand.d.ts +6 -4
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +6 -4
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeImportCommand.d.ts +6 -4
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTableCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +6 -4
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -4
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +6 -4
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +6 -4
- package/dist-types/commands/GetItemCommand.d.ts +6 -4
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/ImportTableCommand.d.ts +6 -4
- package/dist-types/commands/ListBackupsCommand.d.ts +6 -4
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +6 -4
- package/dist-types/commands/ListExportsCommand.d.ts +6 -4
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +6 -4
- package/dist-types/commands/ListImportsCommand.d.ts +6 -4
- package/dist-types/commands/ListTablesCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +6 -4
- package/dist-types/commands/PutItemCommand.d.ts +6 -4
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/QueryCommand.d.ts +6 -4
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +6 -4
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +6 -4
- package/dist-types/commands/ScanCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/TransactGetItemsCommand.d.ts +6 -4
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -4
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateItemCommand.d.ts +6 -4
- package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTableCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/DynamoDBServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/DynamoDB.d.ts +1 -1
- package/dist-types/ts3.4/DynamoDBClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +1 -1
- 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/waitForContributorInsightsEnabled.d.ts +1 -1
- package/dist-types/waiters/waitForExportCompleted.d.ts +1 -1
- package/dist-types/waiters/waitForImportCompleted.d.ts +1 -1
- package/dist-types/waiters/waitForKinesisStreamingDestinationActive.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 +16 -38
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultDynamoDBHttpAuthSchemeProvider = exports.defaultDynamoDBHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultDynamoDBHttpAuthSchemeProvider = defaultDynamoDBHttpAuthSchemePro
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const I = "ref", J = "argv";
|
|
6
6
|
const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", t = { [I]: "Endpoint" }, u = { [I]: "Region" }, v = { [I]: f }, w = { [I]: "AccountIdEndpointMode" }, x = { "fn": h, [J]: [v, "name"] }, y = { "fn": h, [J]: [{ [I]: "ParsedArn_ssa_2" }, "region"] }, z = { [I]: "ParsedArn_ssa_2" }, A = { [I]: "ResourceArnList" }, B = { "fn": h, [J]: [{ [I]: "ParsedArn_ssa_1" }, "region"] }, C = { [I]: "ParsedArn_ssa_1" }, D = { [I]: "AccountId" }, E = {}, F = { "metricValues": ["O"] }, G = [u], H = [{ [I]: "ResourceArn" }];
|
|
7
7
|
const _data = {
|
|
@@ -136,4 +136,4 @@ const nodes = new Int32Array([
|
|
|
136
136
|
6, r + 2, 67,
|
|
137
137
|
8, r + 3, r + 4,
|
|
138
138
|
]);
|
|
139
|
-
exports.bdd =
|
|
139
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: [
|
|
10
10
|
"AccountId",
|
|
@@ -18,10 +18,10 @@ const cache = new util_endpoints_2.EndpointCache({
|
|
|
18
18
|
],
|
|
19
19
|
});
|
|
20
20
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
21
|
-
return cache.get(endpointParams, () => (0,
|
|
21
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
22
22
|
endpointParams: endpointParams,
|
|
23
23
|
logger: context.logger,
|
|
24
24
|
}));
|
|
25
25
|
};
|
|
26
26
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
27
|
-
|
|
27
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|