@aws-sdk/client-dynamodb 3.53.0 → 3.55.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/CHANGELOG.md +24 -0
- package/dist-cjs/DynamoDBClient.js +14 -14
- 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/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/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/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/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +332 -332
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForTableExists.js +3 -3
- package/dist-cjs/waiters/waitForTableNotExists.js +3 -3
- package/dist-es/DynamoDB.js +50 -50
- package/dist-es/pagination/ListContributorInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListExportsPaginator.js +4 -4
- package/dist-es/pagination/ListTablesPaginator.js +4 -4
- package/dist-es/pagination/QueryPaginator.js +4 -4
- package/dist-es/pagination/ScanPaginator.js +4 -4
- package/dist-types/DynamoDBClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/DynamoDBClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +36 -36
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,10 +29,10 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (() => Promise.resolve(undefined)),
|
|
34
34
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
35
|
-
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
35
|
+
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
36
36
|
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
37
37
|
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
38
38
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
@@ -20,9 +20,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
20
20
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
23
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
24
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
25
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
25
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
26
|
return {
|
|
27
27
|
...clientSharedValues,
|
|
28
28
|
...config,
|
|
@@ -31,20 +31,20 @@ const getRuntimeConfig = (config) => {
|
|
|
31
31
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
32
32
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
33
33
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
34
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
35
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
|
-
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),
|
|
37
|
-
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
-
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
|
+
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),
|
|
37
|
+
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
39
|
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
|
|
40
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)({
|
|
41
41
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
42
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
43
|
}),
|
|
44
44
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
45
45
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
46
|
-
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
+
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
+
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
48
48
|
utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.fromUtf8,
|
|
49
49
|
utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_node_1.toUtf8,
|
|
50
50
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -28,12 +28,12 @@ const checkState = async (client, input) => {
|
|
|
28
28
|
};
|
|
29
29
|
const waitForTableExists = async (params, input) => {
|
|
30
30
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
31
|
-
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
31
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
32
32
|
};
|
|
33
33
|
exports.waitForTableExists = waitForTableExists;
|
|
34
34
|
const waitUntilTableExists = async (params, input) => {
|
|
35
35
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
36
|
-
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
37
|
-
return util_waiter_1.checkExceptions(result);
|
|
36
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
37
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
38
38
|
};
|
|
39
39
|
exports.waitUntilTableExists = waitUntilTableExists;
|
|
@@ -19,12 +19,12 @@ const checkState = async (client, input) => {
|
|
|
19
19
|
};
|
|
20
20
|
const waitForTableNotExists = async (params, input) => {
|
|
21
21
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
22
|
-
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
22
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
23
23
|
};
|
|
24
24
|
exports.waitForTableNotExists = waitForTableNotExists;
|
|
25
25
|
const waitUntilTableNotExists = async (params, input) => {
|
|
26
26
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
27
|
-
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
|
-
return util_waiter_1.checkExceptions(result);
|
|
27
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
29
29
|
};
|
|
30
30
|
exports.waitUntilTableNotExists = waitUntilTableNotExists;
|
package/dist-es/DynamoDB.js
CHANGED
|
@@ -62,7 +62,7 @@ var DynamoDB = (function (_super) {
|
|
|
62
62
|
}
|
|
63
63
|
else if (typeof cb === "function") {
|
|
64
64
|
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error("Expect http options but get "
|
|
65
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
66
66
|
this.send(command, optionsOrCb || {}, cb);
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
@@ -76,7 +76,7 @@ var DynamoDB = (function (_super) {
|
|
|
76
76
|
}
|
|
77
77
|
else if (typeof cb === "function") {
|
|
78
78
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error("Expect http options but get "
|
|
79
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
80
80
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
@@ -90,7 +90,7 @@ var DynamoDB = (function (_super) {
|
|
|
90
90
|
}
|
|
91
91
|
else if (typeof cb === "function") {
|
|
92
92
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error("Expect http options but get "
|
|
93
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
94
94
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
95
|
}
|
|
96
96
|
else {
|
|
@@ -104,7 +104,7 @@ var DynamoDB = (function (_super) {
|
|
|
104
104
|
}
|
|
105
105
|
else if (typeof cb === "function") {
|
|
106
106
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error("Expect http options but get "
|
|
107
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
108
108
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
109
|
}
|
|
110
110
|
else {
|
|
@@ -118,7 +118,7 @@ var DynamoDB = (function (_super) {
|
|
|
118
118
|
}
|
|
119
119
|
else if (typeof cb === "function") {
|
|
120
120
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error("Expect http options but get "
|
|
121
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
122
122
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
@@ -132,7 +132,7 @@ var DynamoDB = (function (_super) {
|
|
|
132
132
|
}
|
|
133
133
|
else if (typeof cb === "function") {
|
|
134
134
|
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error("Expect http options but get "
|
|
135
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
136
136
|
this.send(command, optionsOrCb || {}, cb);
|
|
137
137
|
}
|
|
138
138
|
else {
|
|
@@ -146,7 +146,7 @@ var DynamoDB = (function (_super) {
|
|
|
146
146
|
}
|
|
147
147
|
else if (typeof cb === "function") {
|
|
148
148
|
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error("Expect http options but get "
|
|
149
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
150
150
|
this.send(command, optionsOrCb || {}, cb);
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
@@ -160,7 +160,7 @@ var DynamoDB = (function (_super) {
|
|
|
160
160
|
}
|
|
161
161
|
else if (typeof cb === "function") {
|
|
162
162
|
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error("Expect http options but get "
|
|
163
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
164
164
|
this.send(command, optionsOrCb || {}, cb);
|
|
165
165
|
}
|
|
166
166
|
else {
|
|
@@ -174,7 +174,7 @@ var DynamoDB = (function (_super) {
|
|
|
174
174
|
}
|
|
175
175
|
else if (typeof cb === "function") {
|
|
176
176
|
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error("Expect http options but get "
|
|
177
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
178
178
|
this.send(command, optionsOrCb || {}, cb);
|
|
179
179
|
}
|
|
180
180
|
else {
|
|
@@ -188,7 +188,7 @@ var DynamoDB = (function (_super) {
|
|
|
188
188
|
}
|
|
189
189
|
else if (typeof cb === "function") {
|
|
190
190
|
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error("Expect http options but get "
|
|
191
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
192
192
|
this.send(command, optionsOrCb || {}, cb);
|
|
193
193
|
}
|
|
194
194
|
else {
|
|
@@ -202,7 +202,7 @@ var DynamoDB = (function (_super) {
|
|
|
202
202
|
}
|
|
203
203
|
else if (typeof cb === "function") {
|
|
204
204
|
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error("Expect http options but get "
|
|
205
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
206
206
|
this.send(command, optionsOrCb || {}, cb);
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
@@ -216,7 +216,7 @@ var DynamoDB = (function (_super) {
|
|
|
216
216
|
}
|
|
217
217
|
else if (typeof cb === "function") {
|
|
218
218
|
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error("Expect http options but get "
|
|
219
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
220
220
|
this.send(command, optionsOrCb || {}, cb);
|
|
221
221
|
}
|
|
222
222
|
else {
|
|
@@ -230,7 +230,7 @@ var DynamoDB = (function (_super) {
|
|
|
230
230
|
}
|
|
231
231
|
else if (typeof cb === "function") {
|
|
232
232
|
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error("Expect http options but get "
|
|
233
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
234
234
|
this.send(command, optionsOrCb || {}, cb);
|
|
235
235
|
}
|
|
236
236
|
else {
|
|
@@ -244,7 +244,7 @@ var DynamoDB = (function (_super) {
|
|
|
244
244
|
}
|
|
245
245
|
else if (typeof cb === "function") {
|
|
246
246
|
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error("Expect http options but get "
|
|
247
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
248
248
|
this.send(command, optionsOrCb || {}, cb);
|
|
249
249
|
}
|
|
250
250
|
else {
|
|
@@ -258,7 +258,7 @@ var DynamoDB = (function (_super) {
|
|
|
258
258
|
}
|
|
259
259
|
else if (typeof cb === "function") {
|
|
260
260
|
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error("Expect http options but get "
|
|
261
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
262
262
|
this.send(command, optionsOrCb || {}, cb);
|
|
263
263
|
}
|
|
264
264
|
else {
|
|
@@ -272,7 +272,7 @@ var DynamoDB = (function (_super) {
|
|
|
272
272
|
}
|
|
273
273
|
else if (typeof cb === "function") {
|
|
274
274
|
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error("Expect http options but get "
|
|
275
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
276
276
|
this.send(command, optionsOrCb || {}, cb);
|
|
277
277
|
}
|
|
278
278
|
else {
|
|
@@ -286,7 +286,7 @@ var DynamoDB = (function (_super) {
|
|
|
286
286
|
}
|
|
287
287
|
else if (typeof cb === "function") {
|
|
288
288
|
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error("Expect http options but get "
|
|
289
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
290
290
|
this.send(command, optionsOrCb || {}, cb);
|
|
291
291
|
}
|
|
292
292
|
else {
|
|
@@ -300,7 +300,7 @@ var DynamoDB = (function (_super) {
|
|
|
300
300
|
}
|
|
301
301
|
else if (typeof cb === "function") {
|
|
302
302
|
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error("Expect http options but get "
|
|
303
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
304
304
|
this.send(command, optionsOrCb || {}, cb);
|
|
305
305
|
}
|
|
306
306
|
else {
|
|
@@ -314,7 +314,7 @@ var DynamoDB = (function (_super) {
|
|
|
314
314
|
}
|
|
315
315
|
else if (typeof cb === "function") {
|
|
316
316
|
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error("Expect http options but get "
|
|
317
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
318
318
|
this.send(command, optionsOrCb || {}, cb);
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
@@ -328,7 +328,7 @@ var DynamoDB = (function (_super) {
|
|
|
328
328
|
}
|
|
329
329
|
else if (typeof cb === "function") {
|
|
330
330
|
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error("Expect http options but get "
|
|
331
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
332
332
|
this.send(command, optionsOrCb || {}, cb);
|
|
333
333
|
}
|
|
334
334
|
else {
|
|
@@ -342,7 +342,7 @@ var DynamoDB = (function (_super) {
|
|
|
342
342
|
}
|
|
343
343
|
else if (typeof cb === "function") {
|
|
344
344
|
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error("Expect http options but get "
|
|
345
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
346
346
|
this.send(command, optionsOrCb || {}, cb);
|
|
347
347
|
}
|
|
348
348
|
else {
|
|
@@ -356,7 +356,7 @@ var DynamoDB = (function (_super) {
|
|
|
356
356
|
}
|
|
357
357
|
else if (typeof cb === "function") {
|
|
358
358
|
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error("Expect http options but get "
|
|
359
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
360
360
|
this.send(command, optionsOrCb || {}, cb);
|
|
361
361
|
}
|
|
362
362
|
else {
|
|
@@ -370,7 +370,7 @@ var DynamoDB = (function (_super) {
|
|
|
370
370
|
}
|
|
371
371
|
else if (typeof cb === "function") {
|
|
372
372
|
if (typeof optionsOrCb !== "object")
|
|
373
|
-
throw new Error("Expect http options but get "
|
|
373
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
374
374
|
this.send(command, optionsOrCb || {}, cb);
|
|
375
375
|
}
|
|
376
376
|
else {
|
|
@@ -384,7 +384,7 @@ var DynamoDB = (function (_super) {
|
|
|
384
384
|
}
|
|
385
385
|
else if (typeof cb === "function") {
|
|
386
386
|
if (typeof optionsOrCb !== "object")
|
|
387
|
-
throw new Error("Expect http options but get "
|
|
387
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
388
388
|
this.send(command, optionsOrCb || {}, cb);
|
|
389
389
|
}
|
|
390
390
|
else {
|
|
@@ -398,7 +398,7 @@ var DynamoDB = (function (_super) {
|
|
|
398
398
|
}
|
|
399
399
|
else if (typeof cb === "function") {
|
|
400
400
|
if (typeof optionsOrCb !== "object")
|
|
401
|
-
throw new Error("Expect http options but get "
|
|
401
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
402
402
|
this.send(command, optionsOrCb || {}, cb);
|
|
403
403
|
}
|
|
404
404
|
else {
|
|
@@ -412,7 +412,7 @@ var DynamoDB = (function (_super) {
|
|
|
412
412
|
}
|
|
413
413
|
else if (typeof cb === "function") {
|
|
414
414
|
if (typeof optionsOrCb !== "object")
|
|
415
|
-
throw new Error("Expect http options but get "
|
|
415
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
416
416
|
this.send(command, optionsOrCb || {}, cb);
|
|
417
417
|
}
|
|
418
418
|
else {
|
|
@@ -426,7 +426,7 @@ var DynamoDB = (function (_super) {
|
|
|
426
426
|
}
|
|
427
427
|
else if (typeof cb === "function") {
|
|
428
428
|
if (typeof optionsOrCb !== "object")
|
|
429
|
-
throw new Error("Expect http options but get "
|
|
429
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
430
430
|
this.send(command, optionsOrCb || {}, cb);
|
|
431
431
|
}
|
|
432
432
|
else {
|
|
@@ -440,7 +440,7 @@ var DynamoDB = (function (_super) {
|
|
|
440
440
|
}
|
|
441
441
|
else if (typeof cb === "function") {
|
|
442
442
|
if (typeof optionsOrCb !== "object")
|
|
443
|
-
throw new Error("Expect http options but get "
|
|
443
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
444
444
|
this.send(command, optionsOrCb || {}, cb);
|
|
445
445
|
}
|
|
446
446
|
else {
|
|
@@ -454,7 +454,7 @@ var DynamoDB = (function (_super) {
|
|
|
454
454
|
}
|
|
455
455
|
else if (typeof cb === "function") {
|
|
456
456
|
if (typeof optionsOrCb !== "object")
|
|
457
|
-
throw new Error("Expect http options but get "
|
|
457
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
458
458
|
this.send(command, optionsOrCb || {}, cb);
|
|
459
459
|
}
|
|
460
460
|
else {
|
|
@@ -468,7 +468,7 @@ var DynamoDB = (function (_super) {
|
|
|
468
468
|
}
|
|
469
469
|
else if (typeof cb === "function") {
|
|
470
470
|
if (typeof optionsOrCb !== "object")
|
|
471
|
-
throw new Error("Expect http options but get "
|
|
471
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
472
472
|
this.send(command, optionsOrCb || {}, cb);
|
|
473
473
|
}
|
|
474
474
|
else {
|
|
@@ -482,7 +482,7 @@ var DynamoDB = (function (_super) {
|
|
|
482
482
|
}
|
|
483
483
|
else if (typeof cb === "function") {
|
|
484
484
|
if (typeof optionsOrCb !== "object")
|
|
485
|
-
throw new Error("Expect http options but get "
|
|
485
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
486
486
|
this.send(command, optionsOrCb || {}, cb);
|
|
487
487
|
}
|
|
488
488
|
else {
|
|
@@ -496,7 +496,7 @@ var DynamoDB = (function (_super) {
|
|
|
496
496
|
}
|
|
497
497
|
else if (typeof cb === "function") {
|
|
498
498
|
if (typeof optionsOrCb !== "object")
|
|
499
|
-
throw new Error("Expect http options but get "
|
|
499
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
500
500
|
this.send(command, optionsOrCb || {}, cb);
|
|
501
501
|
}
|
|
502
502
|
else {
|
|
@@ -510,7 +510,7 @@ var DynamoDB = (function (_super) {
|
|
|
510
510
|
}
|
|
511
511
|
else if (typeof cb === "function") {
|
|
512
512
|
if (typeof optionsOrCb !== "object")
|
|
513
|
-
throw new Error("Expect http options but get "
|
|
513
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
514
514
|
this.send(command, optionsOrCb || {}, cb);
|
|
515
515
|
}
|
|
516
516
|
else {
|
|
@@ -524,7 +524,7 @@ var DynamoDB = (function (_super) {
|
|
|
524
524
|
}
|
|
525
525
|
else if (typeof cb === "function") {
|
|
526
526
|
if (typeof optionsOrCb !== "object")
|
|
527
|
-
throw new Error("Expect http options but get "
|
|
527
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
528
528
|
this.send(command, optionsOrCb || {}, cb);
|
|
529
529
|
}
|
|
530
530
|
else {
|
|
@@ -538,7 +538,7 @@ var DynamoDB = (function (_super) {
|
|
|
538
538
|
}
|
|
539
539
|
else if (typeof cb === "function") {
|
|
540
540
|
if (typeof optionsOrCb !== "object")
|
|
541
|
-
throw new Error("Expect http options but get "
|
|
541
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
542
542
|
this.send(command, optionsOrCb || {}, cb);
|
|
543
543
|
}
|
|
544
544
|
else {
|
|
@@ -552,7 +552,7 @@ var DynamoDB = (function (_super) {
|
|
|
552
552
|
}
|
|
553
553
|
else if (typeof cb === "function") {
|
|
554
554
|
if (typeof optionsOrCb !== "object")
|
|
555
|
-
throw new Error("Expect http options but get "
|
|
555
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
556
556
|
this.send(command, optionsOrCb || {}, cb);
|
|
557
557
|
}
|
|
558
558
|
else {
|
|
@@ -566,7 +566,7 @@ var DynamoDB = (function (_super) {
|
|
|
566
566
|
}
|
|
567
567
|
else if (typeof cb === "function") {
|
|
568
568
|
if (typeof optionsOrCb !== "object")
|
|
569
|
-
throw new Error("Expect http options but get "
|
|
569
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
570
570
|
this.send(command, optionsOrCb || {}, cb);
|
|
571
571
|
}
|
|
572
572
|
else {
|
|
@@ -580,7 +580,7 @@ var DynamoDB = (function (_super) {
|
|
|
580
580
|
}
|
|
581
581
|
else if (typeof cb === "function") {
|
|
582
582
|
if (typeof optionsOrCb !== "object")
|
|
583
|
-
throw new Error("Expect http options but get "
|
|
583
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
584
584
|
this.send(command, optionsOrCb || {}, cb);
|
|
585
585
|
}
|
|
586
586
|
else {
|
|
@@ -594,7 +594,7 @@ var DynamoDB = (function (_super) {
|
|
|
594
594
|
}
|
|
595
595
|
else if (typeof cb === "function") {
|
|
596
596
|
if (typeof optionsOrCb !== "object")
|
|
597
|
-
throw new Error("Expect http options but get "
|
|
597
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
598
598
|
this.send(command, optionsOrCb || {}, cb);
|
|
599
599
|
}
|
|
600
600
|
else {
|
|
@@ -608,7 +608,7 @@ var DynamoDB = (function (_super) {
|
|
|
608
608
|
}
|
|
609
609
|
else if (typeof cb === "function") {
|
|
610
610
|
if (typeof optionsOrCb !== "object")
|
|
611
|
-
throw new Error("Expect http options but get "
|
|
611
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
612
612
|
this.send(command, optionsOrCb || {}, cb);
|
|
613
613
|
}
|
|
614
614
|
else {
|
|
@@ -622,7 +622,7 @@ var DynamoDB = (function (_super) {
|
|
|
622
622
|
}
|
|
623
623
|
else if (typeof cb === "function") {
|
|
624
624
|
if (typeof optionsOrCb !== "object")
|
|
625
|
-
throw new Error("Expect http options but get "
|
|
625
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
626
626
|
this.send(command, optionsOrCb || {}, cb);
|
|
627
627
|
}
|
|
628
628
|
else {
|
|
@@ -636,7 +636,7 @@ var DynamoDB = (function (_super) {
|
|
|
636
636
|
}
|
|
637
637
|
else if (typeof cb === "function") {
|
|
638
638
|
if (typeof optionsOrCb !== "object")
|
|
639
|
-
throw new Error("Expect http options but get "
|
|
639
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
640
640
|
this.send(command, optionsOrCb || {}, cb);
|
|
641
641
|
}
|
|
642
642
|
else {
|
|
@@ -650,7 +650,7 @@ var DynamoDB = (function (_super) {
|
|
|
650
650
|
}
|
|
651
651
|
else if (typeof cb === "function") {
|
|
652
652
|
if (typeof optionsOrCb !== "object")
|
|
653
|
-
throw new Error("Expect http options but get "
|
|
653
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
654
654
|
this.send(command, optionsOrCb || {}, cb);
|
|
655
655
|
}
|
|
656
656
|
else {
|
|
@@ -664,7 +664,7 @@ var DynamoDB = (function (_super) {
|
|
|
664
664
|
}
|
|
665
665
|
else if (typeof cb === "function") {
|
|
666
666
|
if (typeof optionsOrCb !== "object")
|
|
667
|
-
throw new Error("Expect http options but get "
|
|
667
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
668
668
|
this.send(command, optionsOrCb || {}, cb);
|
|
669
669
|
}
|
|
670
670
|
else {
|
|
@@ -678,7 +678,7 @@ var DynamoDB = (function (_super) {
|
|
|
678
678
|
}
|
|
679
679
|
else if (typeof cb === "function") {
|
|
680
680
|
if (typeof optionsOrCb !== "object")
|
|
681
|
-
throw new Error("Expect http options but get "
|
|
681
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
682
682
|
this.send(command, optionsOrCb || {}, cb);
|
|
683
683
|
}
|
|
684
684
|
else {
|
|
@@ -692,7 +692,7 @@ var DynamoDB = (function (_super) {
|
|
|
692
692
|
}
|
|
693
693
|
else if (typeof cb === "function") {
|
|
694
694
|
if (typeof optionsOrCb !== "object")
|
|
695
|
-
throw new Error("Expect http options but get "
|
|
695
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
696
696
|
this.send(command, optionsOrCb || {}, cb);
|
|
697
697
|
}
|
|
698
698
|
else {
|
|
@@ -706,7 +706,7 @@ var DynamoDB = (function (_super) {
|
|
|
706
706
|
}
|
|
707
707
|
else if (typeof cb === "function") {
|
|
708
708
|
if (typeof optionsOrCb !== "object")
|
|
709
|
-
throw new Error("Expect http options but get "
|
|
709
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
710
710
|
this.send(command, optionsOrCb || {}, cb);
|
|
711
711
|
}
|
|
712
712
|
else {
|
|
@@ -720,7 +720,7 @@ var DynamoDB = (function (_super) {
|
|
|
720
720
|
}
|
|
721
721
|
else if (typeof cb === "function") {
|
|
722
722
|
if (typeof optionsOrCb !== "object")
|
|
723
|
-
throw new Error("Expect http options but get "
|
|
723
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
724
724
|
this.send(command, optionsOrCb || {}, cb);
|
|
725
725
|
}
|
|
726
726
|
else {
|
|
@@ -734,7 +734,7 @@ var DynamoDB = (function (_super) {
|
|
|
734
734
|
}
|
|
735
735
|
else if (typeof cb === "function") {
|
|
736
736
|
if (typeof optionsOrCb !== "object")
|
|
737
|
-
throw new Error("Expect http options but get "
|
|
737
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
738
738
|
this.send(command, optionsOrCb || {}, cb);
|
|
739
739
|
}
|
|
740
740
|
else {
|
|
@@ -748,7 +748,7 @@ var DynamoDB = (function (_super) {
|
|
|
748
748
|
}
|
|
749
749
|
else if (typeof cb === "function") {
|
|
750
750
|
if (typeof optionsOrCb !== "object")
|
|
751
|
-
throw new Error("Expect http options but get "
|
|
751
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
752
752
|
this.send(command, optionsOrCb || {}, cb);
|
|
753
753
|
}
|
|
754
754
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListContributorInsightsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListContributorInsightsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listContributorInsights.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listContributorInsights.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListContributorInsights(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DynamoDB)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof DynamoDBClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListExportsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListExportsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listExports.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listExports.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListExports(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DynamoDB)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof DynamoDBClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|