@aws-sdk/client-dynamodb 3.651.1 → 3.656.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/endpoint/endpointResolver.js +1 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +3 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +2 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeConfig.browser.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/DynamoDBClient.d.ts +5 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +11 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +11 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +11 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +11 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +11 -0
- package/dist-types/commands/CreateTableCommand.d.ts +11 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +11 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +11 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +11 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +11 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +11 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +11 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +11 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +11 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +11 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +11 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +11 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +11 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +11 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +11 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +11 -0
- package/dist-types/commands/GetItemCommand.d.ts +11 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +11 -0
- package/dist-types/commands/ImportTableCommand.d.ts +11 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +11 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +11 -0
- package/dist-types/commands/ListExportsCommand.d.ts +11 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +11 -0
- package/dist-types/commands/ListImportsCommand.d.ts +11 -0
- package/dist-types/commands/ListTablesCommand.d.ts +11 -0
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +11 -0
- package/dist-types/commands/PutItemCommand.d.ts +11 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +11 -0
- package/dist-types/commands/QueryCommand.d.ts +11 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +11 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +11 -0
- package/dist-types/commands/ScanCommand.d.ts +11 -0
- package/dist-types/commands/TagResourceCommand.d.ts +11 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +11 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +11 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +11 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +11 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +11 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +11 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +11 -0
- package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +11 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +11 -0
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +11 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +12 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
- package/package.json +37 -37
|
@@ -6,7 +6,7 @@ const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
7
|
const cache = new util_endpoints_2.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
9
|
+
params: ["AccountId", "AccountIdEndpointMode", "Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
12
|
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const H = "required", I = "type", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers";
|
|
5
|
+
const a = false, b = "isSet", c = "error", d = "endpoint", e = "tree", f = "PartitionResult", g = "stringEquals", h = "not", i = { [H]: false, [I]: "String" }, j = { [H]: true, "default": false, [I]: "Boolean" }, k = { [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, l = { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }, m = {}, n = { [L]: "Region" }, o = { [J]: b, [K]: [{ [L]: "AccountIdEndpointMode" }] }, p = { [L]: "AccountIdEndpointMode" }, q = { [J]: b, [K]: [{ [L]: "AccountId" }] }, r = { [L]: "AccountId" }, s = { [J]: g, [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, "aws"] }, t = { [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, u = { [J]: h, [K]: [k] }, v = { [J]: h, [K]: [l] }, w = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsFIPS"] }, true] }, x = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsDualStack"] }, true] }, y = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, z = { "conditions": [o, { [J]: g, [K]: [p, "disabled"] }], [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, A = { [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, B = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, C = { [M]: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, D = [k], E = [l], F = [n], G = [o, { [J]: g, [K]: [p, "disabled"] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{ name: "sigv4", signingName: "dynamodb", signingRegion: "us-east-1" }] }, [O]: m }, [I]: d }], [I]: e }, { conditions: [o, { [J]: g, [K]: [p, "required"] }, { [J]: h, [K]: [q] }], error: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.", [I]: c }, { conditions: [q, s, u, v, { [J]: h, [K]: [{ [J]: "isValidHostLabel", [K]: [r, a] }] }], error: "Credentials-sourced account ID parameter is invalid", [I]: c }, { conditions: [k, l], rules: [{ conditions: [w, x], rules: [{ conditions: G, endpoint: y, [I]: d }, { endpoint: y, [I]: d }], [I]: e }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: c }], [I]: e }, { conditions: D, rules: [{ conditions: [w], rules: [{ conditions: [{ [J]: g, [K]: [t, "aws-us-gov"] }], rules: [z, A], [I]: e }, { conditions: G, endpoint: B, [I]: d }, { endpoint: B, [I]: d }], [I]: e }, { error: "FIPS is enabled but this partition does not support FIPS", [I]: c }], [I]: e }, { conditions: E, rules: [{ conditions: [x], rules: [{ conditions: G, endpoint: C, [I]: d }, { endpoint: C, [I]: d }], [I]: e }, { error: "DualStack is enabled but this partition does not support DualStack", [I]: c }], [I]: e }, z, { conditions: [q, s, u, v], endpoint: { [M]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [N]: m, [O]: m }, [I]: d }, A], [I]: e }], [I]: e }, { error: "Invalid Configuration: Missing Region", [I]: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -198,9 +198,11 @@ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
|
198
198
|
}, "resolveClientEndpointParameters");
|
|
199
199
|
var commonParams = {
|
|
200
200
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
201
|
+
AccountId: { type: "builtInParams", name: "accountId" },
|
|
201
202
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
202
203
|
Region: { type: "builtInParams", name: "region" },
|
|
203
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
204
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
205
|
+
AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" }
|
|
204
206
|
};
|
|
205
207
|
|
|
206
208
|
// src/protocols/Aws_json1_0.ts
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const account_id_endpoint_1 = require("@aws-sdk/core/account-id-endpoint");
|
|
7
8
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
9
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
10
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
@@ -22,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
22
23
|
...config,
|
|
23
24
|
runtime: "browser",
|
|
24
25
|
defaultsMode,
|
|
26
|
+
accountIdEndpointMode: config?.accountIdEndpointMode ?? (() => Promise.resolve(account_id_endpoint_1.DEFAULT_ACCOUNT_ID_ENDPOINT_MODE)),
|
|
25
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const core_1 = require("@aws-sdk/core");
|
|
7
|
+
const account_id_endpoint_1 = require("@aws-sdk/core/account-id-endpoint");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const middleware_endpoint_discovery_1 = require("@aws-sdk/middleware-endpoint-discovery");
|
|
9
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
...config,
|
|
30
31
|
runtime: "node",
|
|
31
32
|
defaultsMode,
|
|
33
|
+
accountIdEndpointMode: config?.accountIdEndpointMode ?? (0, node_config_provider_1.loadConfig)(account_id_endpoint_1.NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS),
|
|
32
34
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
33
35
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
36
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -8,7 +8,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
8
8
|
};
|
|
9
9
|
export const commonParams = {
|
|
10
10
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
AccountId: { type: "builtInParams", name: "accountId" },
|
|
11
12
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
13
|
Region: { type: "builtInParams", name: "region" },
|
|
13
14
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
|
|
14
16
|
};
|
|
@@ -3,7 +3,7 @@ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy
|
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
6
|
+
params: ["AccountId", "AccountIdEndpointMode", "Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
7
|
});
|
|
8
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
9
|
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const H = "required", I = "type", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers";
|
|
2
|
+
const a = false, b = "isSet", c = "error", d = "endpoint", e = "tree", f = "PartitionResult", g = "stringEquals", h = "not", i = { [H]: false, [I]: "String" }, j = { [H]: true, "default": false, [I]: "Boolean" }, k = { [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, l = { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }, m = {}, n = { [L]: "Region" }, o = { [J]: b, [K]: [{ [L]: "AccountIdEndpointMode" }] }, p = { [L]: "AccountIdEndpointMode" }, q = { [J]: b, [K]: [{ [L]: "AccountId" }] }, r = { [L]: "AccountId" }, s = { [J]: g, [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, "aws"] }, t = { [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, u = { [J]: h, [K]: [k] }, v = { [J]: h, [K]: [l] }, w = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsFIPS"] }, true] }, x = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsDualStack"] }, true] }, y = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, z = { "conditions": [o, { [J]: g, [K]: [p, "disabled"] }], [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, A = { [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, B = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, C = { [M]: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, D = [k], E = [l], F = [n], G = [o, { [J]: g, [K]: [p, "disabled"] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{ name: "sigv4", signingName: "dynamodb", signingRegion: "us-east-1" }] }, [O]: m }, [I]: d }], [I]: e }, { conditions: [o, { [J]: g, [K]: [p, "required"] }, { [J]: h, [K]: [q] }], error: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.", [I]: c }, { conditions: [q, s, u, v, { [J]: h, [K]: [{ [J]: "isValidHostLabel", [K]: [r, a] }] }], error: "Credentials-sourced account ID parameter is invalid", [I]: c }, { conditions: [k, l], rules: [{ conditions: [w, x], rules: [{ conditions: G, endpoint: y, [I]: d }, { endpoint: y, [I]: d }], [I]: e }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: c }], [I]: e }, { conditions: D, rules: [{ conditions: [w], rules: [{ conditions: [{ [J]: g, [K]: [t, "aws-us-gov"] }], rules: [z, A], [I]: e }, { conditions: G, endpoint: B, [I]: d }, { endpoint: B, [I]: d }], [I]: e }, { error: "FIPS is enabled but this partition does not support FIPS", [I]: c }], [I]: e }, { conditions: E, rules: [{ conditions: [x], rules: [{ conditions: G, endpoint: C, [I]: d }, { endpoint: C, [I]: d }], [I]: e }, { error: "DualStack is enabled but this partition does not support DualStack", [I]: c }], [I]: e }, z, { conditions: [q, s, u, v], endpoint: { [M]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [N]: m, [O]: m }, [I]: d }, A], [I]: e }], [I]: e }, { error: "Invalid Configuration: Missing Region", [I]: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE } from "@aws-sdk/core/account-id-endpoint";
|
|
3
4
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
6
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
@@ -18,6 +19,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
18
19
|
...config,
|
|
19
20
|
runtime: "browser",
|
|
20
21
|
defaultsMode,
|
|
22
|
+
accountIdEndpointMode: config?.accountIdEndpointMode ?? (() => Promise.resolve(DEFAULT_ACCOUNT_ID_ENDPOINT_MODE)),
|
|
21
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
25
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
|
+
import { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS } from "@aws-sdk/core/account-id-endpoint";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
|
|
5
6
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
@@ -25,6 +26,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
26
|
...config,
|
|
26
27
|
runtime: "node",
|
|
27
28
|
defaultsMode,
|
|
29
|
+
accountIdEndpointMode: config?.accountIdEndpointMode ?? loadNodeConfig(NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS),
|
|
28
30
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
29
31
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
30
32
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint";
|
|
1
2
|
import { EndpointDiscoveryInputConfig, EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
@@ -152,6 +153,10 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
152
153
|
* The AWS region to which this client will send requests
|
|
153
154
|
*/
|
|
154
155
|
region?: string | __Provider<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Defines if the AWS AccountId will be used for endpoint routing.
|
|
158
|
+
*/
|
|
159
|
+
accountIdEndpointMode?: AccountIdEndpointMode | __Provider<AccountIdEndpointMode>;
|
|
155
160
|
/**
|
|
156
161
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
157
162
|
* @internal
|
|
@@ -213,4 +213,15 @@ declare const BatchExecuteStatementCommand_base: {
|
|
|
213
213
|
* @public
|
|
214
214
|
*/
|
|
215
215
|
export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
|
|
216
|
+
/** @internal type navigation helper, not in runtime. */
|
|
217
|
+
protected static __types: {
|
|
218
|
+
api: {
|
|
219
|
+
input: BatchExecuteStatementInput;
|
|
220
|
+
output: BatchExecuteStatementOutput;
|
|
221
|
+
};
|
|
222
|
+
sdk: {
|
|
223
|
+
input: BatchExecuteStatementCommandInput;
|
|
224
|
+
output: BatchExecuteStatementCommandOutput;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
216
227
|
}
|
|
@@ -338,4 +338,15 @@ declare const BatchGetItemCommand_base: {
|
|
|
338
338
|
*
|
|
339
339
|
*/
|
|
340
340
|
export declare class BatchGetItemCommand extends BatchGetItemCommand_base {
|
|
341
|
+
/** @internal type navigation helper, not in runtime. */
|
|
342
|
+
protected static __types: {
|
|
343
|
+
api: {
|
|
344
|
+
input: BatchGetItemInput;
|
|
345
|
+
output: BatchGetItemOutput;
|
|
346
|
+
};
|
|
347
|
+
sdk: {
|
|
348
|
+
input: BatchGetItemCommandInput;
|
|
349
|
+
output: BatchGetItemCommandOutput;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
341
352
|
}
|
|
@@ -384,4 +384,15 @@ declare const BatchWriteItemCommand_base: {
|
|
|
384
384
|
*
|
|
385
385
|
*/
|
|
386
386
|
export declare class BatchWriteItemCommand extends BatchWriteItemCommand_base {
|
|
387
|
+
/** @internal type navigation helper, not in runtime. */
|
|
388
|
+
protected static __types: {
|
|
389
|
+
api: {
|
|
390
|
+
input: BatchWriteItemInput;
|
|
391
|
+
output: BatchWriteItemOutput;
|
|
392
|
+
};
|
|
393
|
+
sdk: {
|
|
394
|
+
input: BatchWriteItemCommandInput;
|
|
395
|
+
output: BatchWriteItemCommandOutput;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
387
398
|
}
|
|
@@ -131,4 +131,15 @@ declare const CreateBackupCommand_base: {
|
|
|
131
131
|
* @public
|
|
132
132
|
*/
|
|
133
133
|
export declare class CreateBackupCommand extends CreateBackupCommand_base {
|
|
134
|
+
/** @internal type navigation helper, not in runtime. */
|
|
135
|
+
protected static __types: {
|
|
136
|
+
api: {
|
|
137
|
+
input: CreateBackupInput;
|
|
138
|
+
output: CreateBackupOutput;
|
|
139
|
+
};
|
|
140
|
+
sdk: {
|
|
141
|
+
input: CreateBackupCommandInput;
|
|
142
|
+
output: CreateBackupCommandOutput;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
134
145
|
}
|
|
@@ -180,4 +180,15 @@ declare const CreateGlobalTableCommand_base: {
|
|
|
180
180
|
* @public
|
|
181
181
|
*/
|
|
182
182
|
export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base {
|
|
183
|
+
/** @internal type navigation helper, not in runtime. */
|
|
184
|
+
protected static __types: {
|
|
185
|
+
api: {
|
|
186
|
+
input: CreateGlobalTableInput;
|
|
187
|
+
output: CreateGlobalTableOutput;
|
|
188
|
+
};
|
|
189
|
+
sdk: {
|
|
190
|
+
input: CreateGlobalTableCommandInput;
|
|
191
|
+
output: CreateGlobalTableCommandOutput;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
183
194
|
}
|
|
@@ -404,4 +404,15 @@ declare const CreateTableCommand_base: {
|
|
|
404
404
|
*
|
|
405
405
|
*/
|
|
406
406
|
export declare class CreateTableCommand extends CreateTableCommand_base {
|
|
407
|
+
/** @internal type navigation helper, not in runtime. */
|
|
408
|
+
protected static __types: {
|
|
409
|
+
api: {
|
|
410
|
+
input: CreateTableInput;
|
|
411
|
+
output: CreateTableOutput;
|
|
412
|
+
};
|
|
413
|
+
sdk: {
|
|
414
|
+
input: CreateTableCommandInput;
|
|
415
|
+
output: CreateTableCommandOutput;
|
|
416
|
+
};
|
|
417
|
+
};
|
|
407
418
|
}
|
|
@@ -178,4 +178,15 @@ declare const DeleteBackupCommand_base: {
|
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
180
180
|
export declare class DeleteBackupCommand extends DeleteBackupCommand_base {
|
|
181
|
+
/** @internal type navigation helper, not in runtime. */
|
|
182
|
+
protected static __types: {
|
|
183
|
+
api: {
|
|
184
|
+
input: DeleteBackupInput;
|
|
185
|
+
output: DeleteBackupOutput;
|
|
186
|
+
};
|
|
187
|
+
sdk: {
|
|
188
|
+
input: DeleteBackupCommandInput;
|
|
189
|
+
output: DeleteBackupCommandOutput;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
181
192
|
}
|
|
@@ -269,4 +269,15 @@ declare const DeleteItemCommand_base: {
|
|
|
269
269
|
*
|
|
270
270
|
*/
|
|
271
271
|
export declare class DeleteItemCommand extends DeleteItemCommand_base {
|
|
272
|
+
/** @internal type navigation helper, not in runtime. */
|
|
273
|
+
protected static __types: {
|
|
274
|
+
api: {
|
|
275
|
+
input: DeleteItemInput;
|
|
276
|
+
output: DeleteItemOutput;
|
|
277
|
+
};
|
|
278
|
+
sdk: {
|
|
279
|
+
input: DeleteItemCommandInput;
|
|
280
|
+
output: DeleteItemCommandOutput;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
272
283
|
}
|
|
@@ -123,4 +123,15 @@ declare const DeleteResourcePolicyCommand_base: {
|
|
|
123
123
|
* @public
|
|
124
124
|
*/
|
|
125
125
|
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
126
|
+
/** @internal type navigation helper, not in runtime. */
|
|
127
|
+
protected static __types: {
|
|
128
|
+
api: {
|
|
129
|
+
input: DeleteResourcePolicyInput;
|
|
130
|
+
output: DeleteResourcePolicyOutput;
|
|
131
|
+
};
|
|
132
|
+
sdk: {
|
|
133
|
+
input: DeleteResourcePolicyCommandInput;
|
|
134
|
+
output: DeleteResourcePolicyCommandOutput;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
126
137
|
}
|
|
@@ -293,4 +293,15 @@ declare const DeleteTableCommand_base: {
|
|
|
293
293
|
*
|
|
294
294
|
*/
|
|
295
295
|
export declare class DeleteTableCommand extends DeleteTableCommand_base {
|
|
296
|
+
/** @internal type navigation helper, not in runtime. */
|
|
297
|
+
protected static __types: {
|
|
298
|
+
api: {
|
|
299
|
+
input: DeleteTableInput;
|
|
300
|
+
output: DeleteTableOutput;
|
|
301
|
+
};
|
|
302
|
+
sdk: {
|
|
303
|
+
input: DeleteTableCommandInput;
|
|
304
|
+
output: DeleteTableCommandOutput;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
296
307
|
}
|
|
@@ -158,4 +158,15 @@ declare const DescribeBackupCommand_base: {
|
|
|
158
158
|
* @public
|
|
159
159
|
*/
|
|
160
160
|
export declare class DescribeBackupCommand extends DescribeBackupCommand_base {
|
|
161
|
+
/** @internal type navigation helper, not in runtime. */
|
|
162
|
+
protected static __types: {
|
|
163
|
+
api: {
|
|
164
|
+
input: DescribeBackupInput;
|
|
165
|
+
output: DescribeBackupOutput;
|
|
166
|
+
};
|
|
167
|
+
sdk: {
|
|
168
|
+
input: DescribeBackupCommandInput;
|
|
169
|
+
output: DescribeBackupCommandOutput;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
161
172
|
}
|
|
@@ -84,4 +84,15 @@ declare const DescribeContinuousBackupsCommand_base: {
|
|
|
84
84
|
* @public
|
|
85
85
|
*/
|
|
86
86
|
export declare class DescribeContinuousBackupsCommand extends DescribeContinuousBackupsCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: DescribeContinuousBackupsInput;
|
|
91
|
+
output: DescribeContinuousBackupsOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: DescribeContinuousBackupsCommandInput;
|
|
95
|
+
output: DescribeContinuousBackupsCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
87
98
|
}
|
|
@@ -76,4 +76,15 @@ declare const DescribeContributorInsightsCommand_base: {
|
|
|
76
76
|
* @public
|
|
77
77
|
*/
|
|
78
78
|
export declare class DescribeContributorInsightsCommand extends DescribeContributorInsightsCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DescribeContributorInsightsInput;
|
|
83
|
+
output: DescribeContributorInsightsOutput;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DescribeContributorInsightsCommandInput;
|
|
87
|
+
output: DescribeContributorInsightsCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
79
90
|
}
|
|
@@ -61,4 +61,15 @@ declare const DescribeEndpointsCommand_base: {
|
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
63
|
export declare class DescribeEndpointsCommand extends DescribeEndpointsCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: {};
|
|
68
|
+
output: DescribeEndpointsResponse;
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: DescribeEndpointsCommandInput;
|
|
72
|
+
output: DescribeEndpointsCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
64
75
|
}
|
|
@@ -105,4 +105,15 @@ declare const DescribeExportCommand_base: {
|
|
|
105
105
|
* @public
|
|
106
106
|
*/
|
|
107
107
|
export declare class DescribeExportCommand extends DescribeExportCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: DescribeExportInput;
|
|
112
|
+
output: DescribeExportOutput;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: DescribeExportCommandInput;
|
|
116
|
+
output: DescribeExportCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
108
119
|
}
|
|
@@ -105,4 +105,15 @@ declare const DescribeGlobalTableCommand_base: {
|
|
|
105
105
|
* @public
|
|
106
106
|
*/
|
|
107
107
|
export declare class DescribeGlobalTableCommand extends DescribeGlobalTableCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: DescribeGlobalTableInput;
|
|
112
|
+
output: DescribeGlobalTableOutput;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: DescribeGlobalTableCommandInput;
|
|
116
|
+
output: DescribeGlobalTableCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
108
119
|
}
|
|
@@ -161,4 +161,15 @@ declare const DescribeGlobalTableSettingsCommand_base: {
|
|
|
161
161
|
* @public
|
|
162
162
|
*/
|
|
163
163
|
export declare class DescribeGlobalTableSettingsCommand extends DescribeGlobalTableSettingsCommand_base {
|
|
164
|
+
/** @internal type navigation helper, not in runtime. */
|
|
165
|
+
protected static __types: {
|
|
166
|
+
api: {
|
|
167
|
+
input: DescribeGlobalTableSettingsInput;
|
|
168
|
+
output: DescribeGlobalTableSettingsOutput;
|
|
169
|
+
};
|
|
170
|
+
sdk: {
|
|
171
|
+
input: DescribeGlobalTableSettingsCommandInput;
|
|
172
|
+
output: DescribeGlobalTableSettingsCommandOutput;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
164
175
|
}
|
|
@@ -146,4 +146,15 @@ declare const DescribeImportCommand_base: {
|
|
|
146
146
|
* @public
|
|
147
147
|
*/
|
|
148
148
|
export declare class DescribeImportCommand extends DescribeImportCommand_base {
|
|
149
|
+
/** @internal type navigation helper, not in runtime. */
|
|
150
|
+
protected static __types: {
|
|
151
|
+
api: {
|
|
152
|
+
input: DescribeImportInput;
|
|
153
|
+
output: DescribeImportOutput;
|
|
154
|
+
};
|
|
155
|
+
sdk: {
|
|
156
|
+
input: DescribeImportCommandInput;
|
|
157
|
+
output: DescribeImportCommandOutput;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
149
160
|
}
|
|
@@ -74,4 +74,15 @@ declare const DescribeKinesisStreamingDestinationCommand_base: {
|
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
76
|
export declare class DescribeKinesisStreamingDestinationCommand extends DescribeKinesisStreamingDestinationCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DescribeKinesisStreamingDestinationInput;
|
|
81
|
+
output: DescribeKinesisStreamingDestinationOutput;
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DescribeKinesisStreamingDestinationCommandInput;
|
|
85
|
+
output: DescribeKinesisStreamingDestinationCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
77
88
|
}
|
|
@@ -149,4 +149,15 @@ declare const DescribeLimitsCommand_base: {
|
|
|
149
149
|
*
|
|
150
150
|
*/
|
|
151
151
|
export declare class DescribeLimitsCommand extends DescribeLimitsCommand_base {
|
|
152
|
+
/** @internal type navigation helper, not in runtime. */
|
|
153
|
+
protected static __types: {
|
|
154
|
+
api: {
|
|
155
|
+
input: {};
|
|
156
|
+
output: DescribeLimitsOutput;
|
|
157
|
+
};
|
|
158
|
+
sdk: {
|
|
159
|
+
input: DescribeLimitsCommandInput;
|
|
160
|
+
output: DescribeLimitsCommandOutput;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
152
163
|
}
|
|
@@ -274,4 +274,15 @@ declare const DescribeTableCommand_base: {
|
|
|
274
274
|
*
|
|
275
275
|
*/
|
|
276
276
|
export declare class DescribeTableCommand extends DescribeTableCommand_base {
|
|
277
|
+
/** @internal type navigation helper, not in runtime. */
|
|
278
|
+
protected static __types: {
|
|
279
|
+
api: {
|
|
280
|
+
input: DescribeTableInput;
|
|
281
|
+
output: DescribeTableOutput;
|
|
282
|
+
};
|
|
283
|
+
sdk: {
|
|
284
|
+
input: DescribeTableCommandInput;
|
|
285
|
+
output: DescribeTableCommandOutput;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
277
288
|
}
|
|
@@ -151,4 +151,15 @@ declare const DescribeTableReplicaAutoScalingCommand_base: {
|
|
|
151
151
|
* @public
|
|
152
152
|
*/
|
|
153
153
|
export declare class DescribeTableReplicaAutoScalingCommand extends DescribeTableReplicaAutoScalingCommand_base {
|
|
154
|
+
/** @internal type navigation helper, not in runtime. */
|
|
155
|
+
protected static __types: {
|
|
156
|
+
api: {
|
|
157
|
+
input: DescribeTableReplicaAutoScalingInput;
|
|
158
|
+
output: DescribeTableReplicaAutoScalingOutput;
|
|
159
|
+
};
|
|
160
|
+
sdk: {
|
|
161
|
+
input: DescribeTableReplicaAutoScalingCommandInput;
|
|
162
|
+
output: DescribeTableReplicaAutoScalingCommandOutput;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
154
165
|
}
|
|
@@ -69,4 +69,15 @@ declare const DescribeTimeToLiveCommand_base: {
|
|
|
69
69
|
* @public
|
|
70
70
|
*/
|
|
71
71
|
export declare class DescribeTimeToLiveCommand extends DescribeTimeToLiveCommand_base {
|
|
72
|
+
/** @internal type navigation helper, not in runtime. */
|
|
73
|
+
protected static __types: {
|
|
74
|
+
api: {
|
|
75
|
+
input: DescribeTimeToLiveInput;
|
|
76
|
+
output: DescribeTimeToLiveOutput;
|
|
77
|
+
};
|
|
78
|
+
sdk: {
|
|
79
|
+
input: DescribeTimeToLiveCommandInput;
|
|
80
|
+
output: DescribeTimeToLiveCommandOutput;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
72
83
|
}
|
|
@@ -107,4 +107,15 @@ declare const DisableKinesisStreamingDestinationCommand_base: {
|
|
|
107
107
|
* @public
|
|
108
108
|
*/
|
|
109
109
|
export declare class DisableKinesisStreamingDestinationCommand extends DisableKinesisStreamingDestinationCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: KinesisStreamingDestinationInput;
|
|
114
|
+
output: KinesisStreamingDestinationOutput;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: DisableKinesisStreamingDestinationCommandInput;
|
|
118
|
+
output: DisableKinesisStreamingDestinationCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
110
121
|
}
|
|
@@ -109,4 +109,15 @@ declare const EnableKinesisStreamingDestinationCommand_base: {
|
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
111
|
export declare class EnableKinesisStreamingDestinationCommand extends EnableKinesisStreamingDestinationCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: KinesisStreamingDestinationInput;
|
|
116
|
+
output: KinesisStreamingDestinationOutput;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: EnableKinesisStreamingDestinationCommandInput;
|
|
120
|
+
output: EnableKinesisStreamingDestinationCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
112
123
|
}
|