@aws-sdk/client-docdb 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/DocDBClient.js +13 -13
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/AddTagsToResourceCommand.js +3 -3
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +3 -3
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +4 -4
- package/dist-cjs/commands/CreateDBClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateDBInstanceCommand.js +3 -3
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreateGlobalClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteDBClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/DeleteDBInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/DeleteGlobalClusterCommand.js +3 -3
- package/dist-cjs/commands/DescribeCertificatesCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBClustersCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBInstancesCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventsCommand.js +3 -3
- package/dist-cjs/commands/DescribeGlobalClustersCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +3 -3
- package/dist-cjs/commands/FailoverDBClusterCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ModifyDBClusterCommand.js +3 -3
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +3 -3
- package/dist-cjs/commands/ModifyDBInstanceCommand.js +3 -3
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/ModifyGlobalClusterCommand.js +3 -3
- package/dist-cjs/commands/RebootDBInstanceCommand.js +3 -3
- package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +3 -3
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +3 -3
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +3 -3
- package/dist-cjs/commands/StartDBClusterCommand.js +3 -3
- package/dist-cjs/commands/StopDBClusterCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +404 -404
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForDBInstanceAvailable.js +3 -3
- package/dist-es/DocDB.js +53 -53
- package/dist-es/pagination/DescribeCertificatesPaginator.js +4 -4
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +4 -4
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +4 -4
- package/dist-es/pagination/DescribeDBClustersPaginator.js +4 -4
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +4 -4
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeEventsPaginator.js +4 -4
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +4 -4
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +63 -63
- package/dist-es/waiters/waitForDBInstanceAvailable.js +6 -6
- package/dist-types/DocDBClient.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/DocDBClient.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;
|
|
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,9 +29,9 @@ 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
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
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),
|
|
34
|
-
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 }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
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),
|
|
34
|
+
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 }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -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,
|
|
@@ -108,12 +108,12 @@ const checkState = async (client, input) => {
|
|
|
108
108
|
};
|
|
109
109
|
const waitForDBInstanceAvailable = async (params, input) => {
|
|
110
110
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
111
|
-
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
111
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
112
112
|
};
|
|
113
113
|
exports.waitForDBInstanceAvailable = waitForDBInstanceAvailable;
|
|
114
114
|
const waitUntilDBInstanceAvailable = async (params, input) => {
|
|
115
115
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
116
|
-
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
117
|
-
return util_waiter_1.checkExceptions(result);
|
|
116
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
117
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
118
118
|
};
|
|
119
119
|
exports.waitUntilDBInstanceAvailable = waitUntilDBInstanceAvailable;
|
package/dist-es/DocDB.js
CHANGED
|
@@ -65,7 +65,7 @@ var DocDB = (function (_super) {
|
|
|
65
65
|
}
|
|
66
66
|
else if (typeof cb === "function") {
|
|
67
67
|
if (typeof optionsOrCb !== "object")
|
|
68
|
-
throw new Error("Expect http options but get "
|
|
68
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
69
69
|
this.send(command, optionsOrCb || {}, cb);
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
@@ -79,7 +79,7 @@ var DocDB = (function (_super) {
|
|
|
79
79
|
}
|
|
80
80
|
else if (typeof cb === "function") {
|
|
81
81
|
if (typeof optionsOrCb !== "object")
|
|
82
|
-
throw new Error("Expect http options but get "
|
|
82
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
83
83
|
this.send(command, optionsOrCb || {}, cb);
|
|
84
84
|
}
|
|
85
85
|
else {
|
|
@@ -93,7 +93,7 @@ var DocDB = (function (_super) {
|
|
|
93
93
|
}
|
|
94
94
|
else if (typeof cb === "function") {
|
|
95
95
|
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error("Expect http options but get "
|
|
96
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
97
97
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
@@ -107,7 +107,7 @@ var DocDB = (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
else if (typeof cb === "function") {
|
|
109
109
|
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error("Expect http options but get "
|
|
110
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
111
111
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
112
|
}
|
|
113
113
|
else {
|
|
@@ -121,7 +121,7 @@ var DocDB = (function (_super) {
|
|
|
121
121
|
}
|
|
122
122
|
else if (typeof cb === "function") {
|
|
123
123
|
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error("Expect http options but get "
|
|
124
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
125
125
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
@@ -135,7 +135,7 @@ var DocDB = (function (_super) {
|
|
|
135
135
|
}
|
|
136
136
|
else if (typeof cb === "function") {
|
|
137
137
|
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error("Expect http options but get "
|
|
138
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
139
139
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
140
|
}
|
|
141
141
|
else {
|
|
@@ -149,7 +149,7 @@ var DocDB = (function (_super) {
|
|
|
149
149
|
}
|
|
150
150
|
else if (typeof cb === "function") {
|
|
151
151
|
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error("Expect http options but get "
|
|
152
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
153
153
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
@@ -163,7 +163,7 @@ var DocDB = (function (_super) {
|
|
|
163
163
|
}
|
|
164
164
|
else if (typeof cb === "function") {
|
|
165
165
|
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error("Expect http options but get "
|
|
166
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
167
167
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
168
|
}
|
|
169
169
|
else {
|
|
@@ -177,7 +177,7 @@ var DocDB = (function (_super) {
|
|
|
177
177
|
}
|
|
178
178
|
else if (typeof cb === "function") {
|
|
179
179
|
if (typeof optionsOrCb !== "object")
|
|
180
|
-
throw new Error("Expect http options but get "
|
|
180
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
181
181
|
this.send(command, optionsOrCb || {}, cb);
|
|
182
182
|
}
|
|
183
183
|
else {
|
|
@@ -191,7 +191,7 @@ var DocDB = (function (_super) {
|
|
|
191
191
|
}
|
|
192
192
|
else if (typeof cb === "function") {
|
|
193
193
|
if (typeof optionsOrCb !== "object")
|
|
194
|
-
throw new Error("Expect http options but get "
|
|
194
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
195
195
|
this.send(command, optionsOrCb || {}, cb);
|
|
196
196
|
}
|
|
197
197
|
else {
|
|
@@ -205,7 +205,7 @@ var DocDB = (function (_super) {
|
|
|
205
205
|
}
|
|
206
206
|
else if (typeof cb === "function") {
|
|
207
207
|
if (typeof optionsOrCb !== "object")
|
|
208
|
-
throw new Error("Expect http options but get "
|
|
208
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
209
209
|
this.send(command, optionsOrCb || {}, cb);
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
@@ -219,7 +219,7 @@ var DocDB = (function (_super) {
|
|
|
219
219
|
}
|
|
220
220
|
else if (typeof cb === "function") {
|
|
221
221
|
if (typeof optionsOrCb !== "object")
|
|
222
|
-
throw new Error("Expect http options but get "
|
|
222
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
223
223
|
this.send(command, optionsOrCb || {}, cb);
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
@@ -233,7 +233,7 @@ var DocDB = (function (_super) {
|
|
|
233
233
|
}
|
|
234
234
|
else if (typeof cb === "function") {
|
|
235
235
|
if (typeof optionsOrCb !== "object")
|
|
236
|
-
throw new Error("Expect http options but get "
|
|
236
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
237
237
|
this.send(command, optionsOrCb || {}, cb);
|
|
238
238
|
}
|
|
239
239
|
else {
|
|
@@ -247,7 +247,7 @@ var DocDB = (function (_super) {
|
|
|
247
247
|
}
|
|
248
248
|
else if (typeof cb === "function") {
|
|
249
249
|
if (typeof optionsOrCb !== "object")
|
|
250
|
-
throw new Error("Expect http options but get "
|
|
250
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
251
251
|
this.send(command, optionsOrCb || {}, cb);
|
|
252
252
|
}
|
|
253
253
|
else {
|
|
@@ -261,7 +261,7 @@ var DocDB = (function (_super) {
|
|
|
261
261
|
}
|
|
262
262
|
else if (typeof cb === "function") {
|
|
263
263
|
if (typeof optionsOrCb !== "object")
|
|
264
|
-
throw new Error("Expect http options but get "
|
|
264
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
265
265
|
this.send(command, optionsOrCb || {}, cb);
|
|
266
266
|
}
|
|
267
267
|
else {
|
|
@@ -275,7 +275,7 @@ var DocDB = (function (_super) {
|
|
|
275
275
|
}
|
|
276
276
|
else if (typeof cb === "function") {
|
|
277
277
|
if (typeof optionsOrCb !== "object")
|
|
278
|
-
throw new Error("Expect http options but get "
|
|
278
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
279
279
|
this.send(command, optionsOrCb || {}, cb);
|
|
280
280
|
}
|
|
281
281
|
else {
|
|
@@ -289,7 +289,7 @@ var DocDB = (function (_super) {
|
|
|
289
289
|
}
|
|
290
290
|
else if (typeof cb === "function") {
|
|
291
291
|
if (typeof optionsOrCb !== "object")
|
|
292
|
-
throw new Error("Expect http options but get "
|
|
292
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
293
293
|
this.send(command, optionsOrCb || {}, cb);
|
|
294
294
|
}
|
|
295
295
|
else {
|
|
@@ -303,7 +303,7 @@ var DocDB = (function (_super) {
|
|
|
303
303
|
}
|
|
304
304
|
else if (typeof cb === "function") {
|
|
305
305
|
if (typeof optionsOrCb !== "object")
|
|
306
|
-
throw new Error("Expect http options but get "
|
|
306
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
307
307
|
this.send(command, optionsOrCb || {}, cb);
|
|
308
308
|
}
|
|
309
309
|
else {
|
|
@@ -317,7 +317,7 @@ var DocDB = (function (_super) {
|
|
|
317
317
|
}
|
|
318
318
|
else if (typeof cb === "function") {
|
|
319
319
|
if (typeof optionsOrCb !== "object")
|
|
320
|
-
throw new Error("Expect http options but get "
|
|
320
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
321
321
|
this.send(command, optionsOrCb || {}, cb);
|
|
322
322
|
}
|
|
323
323
|
else {
|
|
@@ -331,7 +331,7 @@ var DocDB = (function (_super) {
|
|
|
331
331
|
}
|
|
332
332
|
else if (typeof cb === "function") {
|
|
333
333
|
if (typeof optionsOrCb !== "object")
|
|
334
|
-
throw new Error("Expect http options but get "
|
|
334
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
335
335
|
this.send(command, optionsOrCb || {}, cb);
|
|
336
336
|
}
|
|
337
337
|
else {
|
|
@@ -345,7 +345,7 @@ var DocDB = (function (_super) {
|
|
|
345
345
|
}
|
|
346
346
|
else if (typeof cb === "function") {
|
|
347
347
|
if (typeof optionsOrCb !== "object")
|
|
348
|
-
throw new Error("Expect http options but get "
|
|
348
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
349
349
|
this.send(command, optionsOrCb || {}, cb);
|
|
350
350
|
}
|
|
351
351
|
else {
|
|
@@ -359,7 +359,7 @@ var DocDB = (function (_super) {
|
|
|
359
359
|
}
|
|
360
360
|
else if (typeof cb === "function") {
|
|
361
361
|
if (typeof optionsOrCb !== "object")
|
|
362
|
-
throw new Error("Expect http options but get "
|
|
362
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
363
363
|
this.send(command, optionsOrCb || {}, cb);
|
|
364
364
|
}
|
|
365
365
|
else {
|
|
@@ -373,7 +373,7 @@ var DocDB = (function (_super) {
|
|
|
373
373
|
}
|
|
374
374
|
else if (typeof cb === "function") {
|
|
375
375
|
if (typeof optionsOrCb !== "object")
|
|
376
|
-
throw new Error("Expect http options but get "
|
|
376
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
377
377
|
this.send(command, optionsOrCb || {}, cb);
|
|
378
378
|
}
|
|
379
379
|
else {
|
|
@@ -387,7 +387,7 @@ var DocDB = (function (_super) {
|
|
|
387
387
|
}
|
|
388
388
|
else if (typeof cb === "function") {
|
|
389
389
|
if (typeof optionsOrCb !== "object")
|
|
390
|
-
throw new Error("Expect http options but get "
|
|
390
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
391
391
|
this.send(command, optionsOrCb || {}, cb);
|
|
392
392
|
}
|
|
393
393
|
else {
|
|
@@ -401,7 +401,7 @@ var DocDB = (function (_super) {
|
|
|
401
401
|
}
|
|
402
402
|
else if (typeof cb === "function") {
|
|
403
403
|
if (typeof optionsOrCb !== "object")
|
|
404
|
-
throw new Error("Expect http options but get "
|
|
404
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
405
405
|
this.send(command, optionsOrCb || {}, cb);
|
|
406
406
|
}
|
|
407
407
|
else {
|
|
@@ -415,7 +415,7 @@ var DocDB = (function (_super) {
|
|
|
415
415
|
}
|
|
416
416
|
else if (typeof cb === "function") {
|
|
417
417
|
if (typeof optionsOrCb !== "object")
|
|
418
|
-
throw new Error("Expect http options but get "
|
|
418
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
419
419
|
this.send(command, optionsOrCb || {}, cb);
|
|
420
420
|
}
|
|
421
421
|
else {
|
|
@@ -429,7 +429,7 @@ var DocDB = (function (_super) {
|
|
|
429
429
|
}
|
|
430
430
|
else if (typeof cb === "function") {
|
|
431
431
|
if (typeof optionsOrCb !== "object")
|
|
432
|
-
throw new Error("Expect http options but get "
|
|
432
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
433
433
|
this.send(command, optionsOrCb || {}, cb);
|
|
434
434
|
}
|
|
435
435
|
else {
|
|
@@ -443,7 +443,7 @@ var DocDB = (function (_super) {
|
|
|
443
443
|
}
|
|
444
444
|
else if (typeof cb === "function") {
|
|
445
445
|
if (typeof optionsOrCb !== "object")
|
|
446
|
-
throw new Error("Expect http options but get "
|
|
446
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
447
447
|
this.send(command, optionsOrCb || {}, cb);
|
|
448
448
|
}
|
|
449
449
|
else {
|
|
@@ -457,7 +457,7 @@ var DocDB = (function (_super) {
|
|
|
457
457
|
}
|
|
458
458
|
else if (typeof cb === "function") {
|
|
459
459
|
if (typeof optionsOrCb !== "object")
|
|
460
|
-
throw new Error("Expect http options but get "
|
|
460
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
461
461
|
this.send(command, optionsOrCb || {}, cb);
|
|
462
462
|
}
|
|
463
463
|
else {
|
|
@@ -471,7 +471,7 @@ var DocDB = (function (_super) {
|
|
|
471
471
|
}
|
|
472
472
|
else if (typeof cb === "function") {
|
|
473
473
|
if (typeof optionsOrCb !== "object")
|
|
474
|
-
throw new Error("Expect http options but get "
|
|
474
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
475
475
|
this.send(command, optionsOrCb || {}, cb);
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
@@ -485,7 +485,7 @@ var DocDB = (function (_super) {
|
|
|
485
485
|
}
|
|
486
486
|
else if (typeof cb === "function") {
|
|
487
487
|
if (typeof optionsOrCb !== "object")
|
|
488
|
-
throw new Error("Expect http options but get "
|
|
488
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
489
489
|
this.send(command, optionsOrCb || {}, cb);
|
|
490
490
|
}
|
|
491
491
|
else {
|
|
@@ -499,7 +499,7 @@ var DocDB = (function (_super) {
|
|
|
499
499
|
}
|
|
500
500
|
else if (typeof cb === "function") {
|
|
501
501
|
if (typeof optionsOrCb !== "object")
|
|
502
|
-
throw new Error("Expect http options but get "
|
|
502
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
503
503
|
this.send(command, optionsOrCb || {}, cb);
|
|
504
504
|
}
|
|
505
505
|
else {
|
|
@@ -513,7 +513,7 @@ var DocDB = (function (_super) {
|
|
|
513
513
|
}
|
|
514
514
|
else if (typeof cb === "function") {
|
|
515
515
|
if (typeof optionsOrCb !== "object")
|
|
516
|
-
throw new Error("Expect http options but get "
|
|
516
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
517
517
|
this.send(command, optionsOrCb || {}, cb);
|
|
518
518
|
}
|
|
519
519
|
else {
|
|
@@ -527,7 +527,7 @@ var DocDB = (function (_super) {
|
|
|
527
527
|
}
|
|
528
528
|
else if (typeof cb === "function") {
|
|
529
529
|
if (typeof optionsOrCb !== "object")
|
|
530
|
-
throw new Error("Expect http options but get "
|
|
530
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
531
531
|
this.send(command, optionsOrCb || {}, cb);
|
|
532
532
|
}
|
|
533
533
|
else {
|
|
@@ -541,7 +541,7 @@ var DocDB = (function (_super) {
|
|
|
541
541
|
}
|
|
542
542
|
else if (typeof cb === "function") {
|
|
543
543
|
if (typeof optionsOrCb !== "object")
|
|
544
|
-
throw new Error("Expect http options but get "
|
|
544
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
545
545
|
this.send(command, optionsOrCb || {}, cb);
|
|
546
546
|
}
|
|
547
547
|
else {
|
|
@@ -555,7 +555,7 @@ var DocDB = (function (_super) {
|
|
|
555
555
|
}
|
|
556
556
|
else if (typeof cb === "function") {
|
|
557
557
|
if (typeof optionsOrCb !== "object")
|
|
558
|
-
throw new Error("Expect http options but get "
|
|
558
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
559
559
|
this.send(command, optionsOrCb || {}, cb);
|
|
560
560
|
}
|
|
561
561
|
else {
|
|
@@ -569,7 +569,7 @@ var DocDB = (function (_super) {
|
|
|
569
569
|
}
|
|
570
570
|
else if (typeof cb === "function") {
|
|
571
571
|
if (typeof optionsOrCb !== "object")
|
|
572
|
-
throw new Error("Expect http options but get "
|
|
572
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
573
573
|
this.send(command, optionsOrCb || {}, cb);
|
|
574
574
|
}
|
|
575
575
|
else {
|
|
@@ -583,7 +583,7 @@ var DocDB = (function (_super) {
|
|
|
583
583
|
}
|
|
584
584
|
else if (typeof cb === "function") {
|
|
585
585
|
if (typeof optionsOrCb !== "object")
|
|
586
|
-
throw new Error("Expect http options but get "
|
|
586
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
587
587
|
this.send(command, optionsOrCb || {}, cb);
|
|
588
588
|
}
|
|
589
589
|
else {
|
|
@@ -597,7 +597,7 @@ var DocDB = (function (_super) {
|
|
|
597
597
|
}
|
|
598
598
|
else if (typeof cb === "function") {
|
|
599
599
|
if (typeof optionsOrCb !== "object")
|
|
600
|
-
throw new Error("Expect http options but get "
|
|
600
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
601
601
|
this.send(command, optionsOrCb || {}, cb);
|
|
602
602
|
}
|
|
603
603
|
else {
|
|
@@ -611,7 +611,7 @@ var DocDB = (function (_super) {
|
|
|
611
611
|
}
|
|
612
612
|
else if (typeof cb === "function") {
|
|
613
613
|
if (typeof optionsOrCb !== "object")
|
|
614
|
-
throw new Error("Expect http options but get "
|
|
614
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
615
615
|
this.send(command, optionsOrCb || {}, cb);
|
|
616
616
|
}
|
|
617
617
|
else {
|
|
@@ -625,7 +625,7 @@ var DocDB = (function (_super) {
|
|
|
625
625
|
}
|
|
626
626
|
else if (typeof cb === "function") {
|
|
627
627
|
if (typeof optionsOrCb !== "object")
|
|
628
|
-
throw new Error("Expect http options but get "
|
|
628
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
629
629
|
this.send(command, optionsOrCb || {}, cb);
|
|
630
630
|
}
|
|
631
631
|
else {
|
|
@@ -639,7 +639,7 @@ var DocDB = (function (_super) {
|
|
|
639
639
|
}
|
|
640
640
|
else if (typeof cb === "function") {
|
|
641
641
|
if (typeof optionsOrCb !== "object")
|
|
642
|
-
throw new Error("Expect http options but get "
|
|
642
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
643
643
|
this.send(command, optionsOrCb || {}, cb);
|
|
644
644
|
}
|
|
645
645
|
else {
|
|
@@ -653,7 +653,7 @@ var DocDB = (function (_super) {
|
|
|
653
653
|
}
|
|
654
654
|
else if (typeof cb === "function") {
|
|
655
655
|
if (typeof optionsOrCb !== "object")
|
|
656
|
-
throw new Error("Expect http options but get "
|
|
656
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
657
657
|
this.send(command, optionsOrCb || {}, cb);
|
|
658
658
|
}
|
|
659
659
|
else {
|
|
@@ -667,7 +667,7 @@ var DocDB = (function (_super) {
|
|
|
667
667
|
}
|
|
668
668
|
else if (typeof cb === "function") {
|
|
669
669
|
if (typeof optionsOrCb !== "object")
|
|
670
|
-
throw new Error("Expect http options but get "
|
|
670
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
671
671
|
this.send(command, optionsOrCb || {}, cb);
|
|
672
672
|
}
|
|
673
673
|
else {
|
|
@@ -681,7 +681,7 @@ var DocDB = (function (_super) {
|
|
|
681
681
|
}
|
|
682
682
|
else if (typeof cb === "function") {
|
|
683
683
|
if (typeof optionsOrCb !== "object")
|
|
684
|
-
throw new Error("Expect http options but get "
|
|
684
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
685
685
|
this.send(command, optionsOrCb || {}, cb);
|
|
686
686
|
}
|
|
687
687
|
else {
|
|
@@ -695,7 +695,7 @@ var DocDB = (function (_super) {
|
|
|
695
695
|
}
|
|
696
696
|
else if (typeof cb === "function") {
|
|
697
697
|
if (typeof optionsOrCb !== "object")
|
|
698
|
-
throw new Error("Expect http options but get "
|
|
698
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
699
699
|
this.send(command, optionsOrCb || {}, cb);
|
|
700
700
|
}
|
|
701
701
|
else {
|
|
@@ -709,7 +709,7 @@ var DocDB = (function (_super) {
|
|
|
709
709
|
}
|
|
710
710
|
else if (typeof cb === "function") {
|
|
711
711
|
if (typeof optionsOrCb !== "object")
|
|
712
|
-
throw new Error("Expect http options but get "
|
|
712
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
713
713
|
this.send(command, optionsOrCb || {}, cb);
|
|
714
714
|
}
|
|
715
715
|
else {
|
|
@@ -723,7 +723,7 @@ var DocDB = (function (_super) {
|
|
|
723
723
|
}
|
|
724
724
|
else if (typeof cb === "function") {
|
|
725
725
|
if (typeof optionsOrCb !== "object")
|
|
726
|
-
throw new Error("Expect http options but get "
|
|
726
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
727
727
|
this.send(command, optionsOrCb || {}, cb);
|
|
728
728
|
}
|
|
729
729
|
else {
|
|
@@ -737,7 +737,7 @@ var DocDB = (function (_super) {
|
|
|
737
737
|
}
|
|
738
738
|
else if (typeof cb === "function") {
|
|
739
739
|
if (typeof optionsOrCb !== "object")
|
|
740
|
-
throw new Error("Expect http options but get "
|
|
740
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
741
741
|
this.send(command, optionsOrCb || {}, cb);
|
|
742
742
|
}
|
|
743
743
|
else {
|
|
@@ -751,7 +751,7 @@ var DocDB = (function (_super) {
|
|
|
751
751
|
}
|
|
752
752
|
else if (typeof cb === "function") {
|
|
753
753
|
if (typeof optionsOrCb !== "object")
|
|
754
|
-
throw new Error("Expect http options but get "
|
|
754
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
755
755
|
this.send(command, optionsOrCb || {}, cb);
|
|
756
756
|
}
|
|
757
757
|
else {
|
|
@@ -765,7 +765,7 @@ var DocDB = (function (_super) {
|
|
|
765
765
|
}
|
|
766
766
|
else if (typeof cb === "function") {
|
|
767
767
|
if (typeof optionsOrCb !== "object")
|
|
768
|
-
throw new Error("Expect http options but get "
|
|
768
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
769
769
|
this.send(command, optionsOrCb || {}, cb);
|
|
770
770
|
}
|
|
771
771
|
else {
|
|
@@ -779,7 +779,7 @@ var DocDB = (function (_super) {
|
|
|
779
779
|
}
|
|
780
780
|
else if (typeof cb === "function") {
|
|
781
781
|
if (typeof optionsOrCb !== "object")
|
|
782
|
-
throw new Error("Expect http options but get "
|
|
782
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
783
783
|
this.send(command, optionsOrCb || {}, cb);
|
|
784
784
|
}
|
|
785
785
|
else {
|
|
@@ -793,7 +793,7 @@ var DocDB = (function (_super) {
|
|
|
793
793
|
}
|
|
794
794
|
else if (typeof cb === "function") {
|
|
795
795
|
if (typeof optionsOrCb !== "object")
|
|
796
|
-
throw new Error("Expect http options but get "
|
|
796
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
797
797
|
this.send(command, optionsOrCb || {}, cb);
|
|
798
798
|
}
|
|
799
799
|
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 DescribeCertificatesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCertificatesCommand(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.describeCertificates.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeCertificates.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 paginateDescribeCertificates(config, input) {
|
|
|
48
48
|
input.Marker = token;
|
|
49
49
|
input["MaxRecords"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DocDB)) 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 DocDBClient)) 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 DescribeDBClusterParameterGroupsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeDBClusterParameterGroupsCommand(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.describeDBClusterParameterGroups.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeDBClusterParameterGroups.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 paginateDescribeDBClusterParameterGroups(config, input) {
|
|
|
48
48
|
input.Marker = token;
|
|
49
49
|
input["MaxRecords"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DocDB)) 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 DocDBClient)) 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];
|