@aws-sdk/client-workspaces 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/WorkSpacesClient.js +13 -13
- package/dist-cjs/commands/AssociateConnectionAliasCommand.js +3 -3
- package/dist-cjs/commands/AssociateIpGroupsCommand.js +3 -3
- package/dist-cjs/commands/AuthorizeIpRulesCommand.js +3 -3
- package/dist-cjs/commands/CopyWorkspaceImageCommand.js +3 -3
- package/dist-cjs/commands/CreateConnectClientAddInCommand.js +3 -3
- package/dist-cjs/commands/CreateConnectionAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateIpGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateTagsCommand.js +3 -3
- package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/DeleteConnectClientAddInCommand.js +3 -3
- package/dist-cjs/commands/DeleteConnectionAliasCommand.js +3 -3
- package/dist-cjs/commands/DeleteIpGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +3 -3
- package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountModificationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClientPropertiesCommand.js +3 -3
- package/dist-cjs/commands/DescribeConnectClientAddInsCommand.js +3 -3
- package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +3 -3
- package/dist-cjs/commands/DescribeIpGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +3 -3
- package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +3 -3
- package/dist-cjs/commands/DisassociateIpGroupsCommand.js +3 -3
- package/dist-cjs/commands/ImportWorkspaceImageCommand.js +3 -3
- package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +3 -3
- package/dist-cjs/commands/MigrateWorkspaceCommand.js +3 -3
- package/dist-cjs/commands/ModifyAccountCommand.js +3 -3
- package/dist-cjs/commands/ModifyClientPropertiesCommand.js +3 -3
- package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +3 -3
- package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +3 -3
- package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +3 -3
- package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +3 -3
- package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +3 -3
- package/dist-cjs/commands/RebootWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/RebuildWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +3 -3
- package/dist-cjs/commands/RestoreWorkspaceCommand.js +3 -3
- package/dist-cjs/commands/RevokeIpRulesCommand.js +3 -3
- package/dist-cjs/commands/StartWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/StopWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/TerminateWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/UpdateConnectClientAddInCommand.js +3 -3
- package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +3 -3
- package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +3 -3
- package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +234 -234
- 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-es/WorkSpaces.js +58 -58
- package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +4 -4
- package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +4 -4
- package/dist-es/pagination/DescribeWorkspacesPaginator.js +4 -4
- package/dist-types/WorkSpacesClient.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/WorkSpacesClient.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 +34 -34
|
@@ -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,
|
package/dist-es/WorkSpaces.js
CHANGED
|
@@ -70,7 +70,7 @@ var WorkSpaces = (function (_super) {
|
|
|
70
70
|
}
|
|
71
71
|
else if (typeof cb === "function") {
|
|
72
72
|
if (typeof optionsOrCb !== "object")
|
|
73
|
-
throw new Error("Expect http options but get "
|
|
73
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
74
74
|
this.send(command, optionsOrCb || {}, cb);
|
|
75
75
|
}
|
|
76
76
|
else {
|
|
@@ -84,7 +84,7 @@ var WorkSpaces = (function (_super) {
|
|
|
84
84
|
}
|
|
85
85
|
else if (typeof cb === "function") {
|
|
86
86
|
if (typeof optionsOrCb !== "object")
|
|
87
|
-
throw new Error("Expect http options but get "
|
|
87
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
88
88
|
this.send(command, optionsOrCb || {}, cb);
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
@@ -98,7 +98,7 @@ var WorkSpaces = (function (_super) {
|
|
|
98
98
|
}
|
|
99
99
|
else if (typeof cb === "function") {
|
|
100
100
|
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error("Expect http options but get "
|
|
101
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
102
102
|
this.send(command, optionsOrCb || {}, cb);
|
|
103
103
|
}
|
|
104
104
|
else {
|
|
@@ -112,7 +112,7 @@ var WorkSpaces = (function (_super) {
|
|
|
112
112
|
}
|
|
113
113
|
else if (typeof cb === "function") {
|
|
114
114
|
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error("Expect http options but get "
|
|
115
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
116
116
|
this.send(command, optionsOrCb || {}, cb);
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
@@ -126,7 +126,7 @@ var WorkSpaces = (function (_super) {
|
|
|
126
126
|
}
|
|
127
127
|
else if (typeof cb === "function") {
|
|
128
128
|
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error("Expect http options but get "
|
|
129
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
130
130
|
this.send(command, optionsOrCb || {}, cb);
|
|
131
131
|
}
|
|
132
132
|
else {
|
|
@@ -140,7 +140,7 @@ var WorkSpaces = (function (_super) {
|
|
|
140
140
|
}
|
|
141
141
|
else if (typeof cb === "function") {
|
|
142
142
|
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error("Expect http options but get "
|
|
143
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
144
144
|
this.send(command, optionsOrCb || {}, cb);
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
@@ -154,7 +154,7 @@ var WorkSpaces = (function (_super) {
|
|
|
154
154
|
}
|
|
155
155
|
else if (typeof cb === "function") {
|
|
156
156
|
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error("Expect http options but get "
|
|
157
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
158
158
|
this.send(command, optionsOrCb || {}, cb);
|
|
159
159
|
}
|
|
160
160
|
else {
|
|
@@ -168,7 +168,7 @@ var WorkSpaces = (function (_super) {
|
|
|
168
168
|
}
|
|
169
169
|
else if (typeof cb === "function") {
|
|
170
170
|
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error("Expect http options but get "
|
|
171
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
172
172
|
this.send(command, optionsOrCb || {}, cb);
|
|
173
173
|
}
|
|
174
174
|
else {
|
|
@@ -182,7 +182,7 @@ var WorkSpaces = (function (_super) {
|
|
|
182
182
|
}
|
|
183
183
|
else if (typeof cb === "function") {
|
|
184
184
|
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error("Expect http options but get "
|
|
185
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
186
186
|
this.send(command, optionsOrCb || {}, cb);
|
|
187
187
|
}
|
|
188
188
|
else {
|
|
@@ -196,7 +196,7 @@ var WorkSpaces = (function (_super) {
|
|
|
196
196
|
}
|
|
197
197
|
else if (typeof cb === "function") {
|
|
198
198
|
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error("Expect http options but get "
|
|
199
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
200
200
|
this.send(command, optionsOrCb || {}, cb);
|
|
201
201
|
}
|
|
202
202
|
else {
|
|
@@ -210,7 +210,7 @@ var WorkSpaces = (function (_super) {
|
|
|
210
210
|
}
|
|
211
211
|
else if (typeof cb === "function") {
|
|
212
212
|
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error("Expect http options but get "
|
|
213
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
214
214
|
this.send(command, optionsOrCb || {}, cb);
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
@@ -224,7 +224,7 @@ var WorkSpaces = (function (_super) {
|
|
|
224
224
|
}
|
|
225
225
|
else if (typeof cb === "function") {
|
|
226
226
|
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error("Expect http options but get "
|
|
227
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
228
228
|
this.send(command, optionsOrCb || {}, cb);
|
|
229
229
|
}
|
|
230
230
|
else {
|
|
@@ -238,7 +238,7 @@ var WorkSpaces = (function (_super) {
|
|
|
238
238
|
}
|
|
239
239
|
else if (typeof cb === "function") {
|
|
240
240
|
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error("Expect http options but get "
|
|
241
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
242
242
|
this.send(command, optionsOrCb || {}, cb);
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
@@ -252,7 +252,7 @@ var WorkSpaces = (function (_super) {
|
|
|
252
252
|
}
|
|
253
253
|
else if (typeof cb === "function") {
|
|
254
254
|
if (typeof optionsOrCb !== "object")
|
|
255
|
-
throw new Error("Expect http options but get "
|
|
255
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
256
256
|
this.send(command, optionsOrCb || {}, cb);
|
|
257
257
|
}
|
|
258
258
|
else {
|
|
@@ -266,7 +266,7 @@ var WorkSpaces = (function (_super) {
|
|
|
266
266
|
}
|
|
267
267
|
else if (typeof cb === "function") {
|
|
268
268
|
if (typeof optionsOrCb !== "object")
|
|
269
|
-
throw new Error("Expect http options but get "
|
|
269
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
270
270
|
this.send(command, optionsOrCb || {}, cb);
|
|
271
271
|
}
|
|
272
272
|
else {
|
|
@@ -280,7 +280,7 @@ var WorkSpaces = (function (_super) {
|
|
|
280
280
|
}
|
|
281
281
|
else if (typeof cb === "function") {
|
|
282
282
|
if (typeof optionsOrCb !== "object")
|
|
283
|
-
throw new Error("Expect http options but get "
|
|
283
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
284
284
|
this.send(command, optionsOrCb || {}, cb);
|
|
285
285
|
}
|
|
286
286
|
else {
|
|
@@ -294,7 +294,7 @@ var WorkSpaces = (function (_super) {
|
|
|
294
294
|
}
|
|
295
295
|
else if (typeof cb === "function") {
|
|
296
296
|
if (typeof optionsOrCb !== "object")
|
|
297
|
-
throw new Error("Expect http options but get "
|
|
297
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
298
298
|
this.send(command, optionsOrCb || {}, cb);
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
@@ -308,7 +308,7 @@ var WorkSpaces = (function (_super) {
|
|
|
308
308
|
}
|
|
309
309
|
else if (typeof cb === "function") {
|
|
310
310
|
if (typeof optionsOrCb !== "object")
|
|
311
|
-
throw new Error("Expect http options but get "
|
|
311
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
312
312
|
this.send(command, optionsOrCb || {}, cb);
|
|
313
313
|
}
|
|
314
314
|
else {
|
|
@@ -322,7 +322,7 @@ var WorkSpaces = (function (_super) {
|
|
|
322
322
|
}
|
|
323
323
|
else if (typeof cb === "function") {
|
|
324
324
|
if (typeof optionsOrCb !== "object")
|
|
325
|
-
throw new Error("Expect http options but get "
|
|
325
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
326
326
|
this.send(command, optionsOrCb || {}, cb);
|
|
327
327
|
}
|
|
328
328
|
else {
|
|
@@ -336,7 +336,7 @@ var WorkSpaces = (function (_super) {
|
|
|
336
336
|
}
|
|
337
337
|
else if (typeof cb === "function") {
|
|
338
338
|
if (typeof optionsOrCb !== "object")
|
|
339
|
-
throw new Error("Expect http options but get "
|
|
339
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
340
340
|
this.send(command, optionsOrCb || {}, cb);
|
|
341
341
|
}
|
|
342
342
|
else {
|
|
@@ -350,7 +350,7 @@ var WorkSpaces = (function (_super) {
|
|
|
350
350
|
}
|
|
351
351
|
else if (typeof cb === "function") {
|
|
352
352
|
if (typeof optionsOrCb !== "object")
|
|
353
|
-
throw new Error("Expect http options but get "
|
|
353
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
354
354
|
this.send(command, optionsOrCb || {}, cb);
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
@@ -364,7 +364,7 @@ var WorkSpaces = (function (_super) {
|
|
|
364
364
|
}
|
|
365
365
|
else if (typeof cb === "function") {
|
|
366
366
|
if (typeof optionsOrCb !== "object")
|
|
367
|
-
throw new Error("Expect http options but get "
|
|
367
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
368
368
|
this.send(command, optionsOrCb || {}, cb);
|
|
369
369
|
}
|
|
370
370
|
else {
|
|
@@ -378,7 +378,7 @@ var WorkSpaces = (function (_super) {
|
|
|
378
378
|
}
|
|
379
379
|
else if (typeof cb === "function") {
|
|
380
380
|
if (typeof optionsOrCb !== "object")
|
|
381
|
-
throw new Error("Expect http options but get "
|
|
381
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
382
382
|
this.send(command, optionsOrCb || {}, cb);
|
|
383
383
|
}
|
|
384
384
|
else {
|
|
@@ -392,7 +392,7 @@ var WorkSpaces = (function (_super) {
|
|
|
392
392
|
}
|
|
393
393
|
else if (typeof cb === "function") {
|
|
394
394
|
if (typeof optionsOrCb !== "object")
|
|
395
|
-
throw new Error("Expect http options but get "
|
|
395
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
396
396
|
this.send(command, optionsOrCb || {}, cb);
|
|
397
397
|
}
|
|
398
398
|
else {
|
|
@@ -406,7 +406,7 @@ var WorkSpaces = (function (_super) {
|
|
|
406
406
|
}
|
|
407
407
|
else if (typeof cb === "function") {
|
|
408
408
|
if (typeof optionsOrCb !== "object")
|
|
409
|
-
throw new Error("Expect http options but get "
|
|
409
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
410
410
|
this.send(command, optionsOrCb || {}, cb);
|
|
411
411
|
}
|
|
412
412
|
else {
|
|
@@ -420,7 +420,7 @@ var WorkSpaces = (function (_super) {
|
|
|
420
420
|
}
|
|
421
421
|
else if (typeof cb === "function") {
|
|
422
422
|
if (typeof optionsOrCb !== "object")
|
|
423
|
-
throw new Error("Expect http options but get "
|
|
423
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
424
424
|
this.send(command, optionsOrCb || {}, cb);
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
@@ -434,7 +434,7 @@ var WorkSpaces = (function (_super) {
|
|
|
434
434
|
}
|
|
435
435
|
else if (typeof cb === "function") {
|
|
436
436
|
if (typeof optionsOrCb !== "object")
|
|
437
|
-
throw new Error("Expect http options but get "
|
|
437
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
438
438
|
this.send(command, optionsOrCb || {}, cb);
|
|
439
439
|
}
|
|
440
440
|
else {
|
|
@@ -448,7 +448,7 @@ var WorkSpaces = (function (_super) {
|
|
|
448
448
|
}
|
|
449
449
|
else if (typeof cb === "function") {
|
|
450
450
|
if (typeof optionsOrCb !== "object")
|
|
451
|
-
throw new Error("Expect http options but get "
|
|
451
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
452
452
|
this.send(command, optionsOrCb || {}, cb);
|
|
453
453
|
}
|
|
454
454
|
else {
|
|
@@ -462,7 +462,7 @@ var WorkSpaces = (function (_super) {
|
|
|
462
462
|
}
|
|
463
463
|
else if (typeof cb === "function") {
|
|
464
464
|
if (typeof optionsOrCb !== "object")
|
|
465
|
-
throw new Error("Expect http options but get "
|
|
465
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
466
466
|
this.send(command, optionsOrCb || {}, cb);
|
|
467
467
|
}
|
|
468
468
|
else {
|
|
@@ -476,7 +476,7 @@ var WorkSpaces = (function (_super) {
|
|
|
476
476
|
}
|
|
477
477
|
else if (typeof cb === "function") {
|
|
478
478
|
if (typeof optionsOrCb !== "object")
|
|
479
|
-
throw new Error("Expect http options but get "
|
|
479
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
480
480
|
this.send(command, optionsOrCb || {}, cb);
|
|
481
481
|
}
|
|
482
482
|
else {
|
|
@@ -490,7 +490,7 @@ var WorkSpaces = (function (_super) {
|
|
|
490
490
|
}
|
|
491
491
|
else if (typeof cb === "function") {
|
|
492
492
|
if (typeof optionsOrCb !== "object")
|
|
493
|
-
throw new Error("Expect http options but get "
|
|
493
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
494
494
|
this.send(command, optionsOrCb || {}, cb);
|
|
495
495
|
}
|
|
496
496
|
else {
|
|
@@ -504,7 +504,7 @@ var WorkSpaces = (function (_super) {
|
|
|
504
504
|
}
|
|
505
505
|
else if (typeof cb === "function") {
|
|
506
506
|
if (typeof optionsOrCb !== "object")
|
|
507
|
-
throw new Error("Expect http options but get "
|
|
507
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
508
508
|
this.send(command, optionsOrCb || {}, cb);
|
|
509
509
|
}
|
|
510
510
|
else {
|
|
@@ -518,7 +518,7 @@ var WorkSpaces = (function (_super) {
|
|
|
518
518
|
}
|
|
519
519
|
else if (typeof cb === "function") {
|
|
520
520
|
if (typeof optionsOrCb !== "object")
|
|
521
|
-
throw new Error("Expect http options but get "
|
|
521
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
522
522
|
this.send(command, optionsOrCb || {}, cb);
|
|
523
523
|
}
|
|
524
524
|
else {
|
|
@@ -532,7 +532,7 @@ var WorkSpaces = (function (_super) {
|
|
|
532
532
|
}
|
|
533
533
|
else if (typeof cb === "function") {
|
|
534
534
|
if (typeof optionsOrCb !== "object")
|
|
535
|
-
throw new Error("Expect http options but get "
|
|
535
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
536
536
|
this.send(command, optionsOrCb || {}, cb);
|
|
537
537
|
}
|
|
538
538
|
else {
|
|
@@ -546,7 +546,7 @@ var WorkSpaces = (function (_super) {
|
|
|
546
546
|
}
|
|
547
547
|
else if (typeof cb === "function") {
|
|
548
548
|
if (typeof optionsOrCb !== "object")
|
|
549
|
-
throw new Error("Expect http options but get "
|
|
549
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
550
550
|
this.send(command, optionsOrCb || {}, cb);
|
|
551
551
|
}
|
|
552
552
|
else {
|
|
@@ -560,7 +560,7 @@ var WorkSpaces = (function (_super) {
|
|
|
560
560
|
}
|
|
561
561
|
else if (typeof cb === "function") {
|
|
562
562
|
if (typeof optionsOrCb !== "object")
|
|
563
|
-
throw new Error("Expect http options but get "
|
|
563
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
564
564
|
this.send(command, optionsOrCb || {}, cb);
|
|
565
565
|
}
|
|
566
566
|
else {
|
|
@@ -574,7 +574,7 @@ var WorkSpaces = (function (_super) {
|
|
|
574
574
|
}
|
|
575
575
|
else if (typeof cb === "function") {
|
|
576
576
|
if (typeof optionsOrCb !== "object")
|
|
577
|
-
throw new Error("Expect http options but get "
|
|
577
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
578
578
|
this.send(command, optionsOrCb || {}, cb);
|
|
579
579
|
}
|
|
580
580
|
else {
|
|
@@ -588,7 +588,7 @@ var WorkSpaces = (function (_super) {
|
|
|
588
588
|
}
|
|
589
589
|
else if (typeof cb === "function") {
|
|
590
590
|
if (typeof optionsOrCb !== "object")
|
|
591
|
-
throw new Error("Expect http options but get "
|
|
591
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
592
592
|
this.send(command, optionsOrCb || {}, cb);
|
|
593
593
|
}
|
|
594
594
|
else {
|
|
@@ -602,7 +602,7 @@ var WorkSpaces = (function (_super) {
|
|
|
602
602
|
}
|
|
603
603
|
else if (typeof cb === "function") {
|
|
604
604
|
if (typeof optionsOrCb !== "object")
|
|
605
|
-
throw new Error("Expect http options but get "
|
|
605
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
606
606
|
this.send(command, optionsOrCb || {}, cb);
|
|
607
607
|
}
|
|
608
608
|
else {
|
|
@@ -616,7 +616,7 @@ var WorkSpaces = (function (_super) {
|
|
|
616
616
|
}
|
|
617
617
|
else if (typeof cb === "function") {
|
|
618
618
|
if (typeof optionsOrCb !== "object")
|
|
619
|
-
throw new Error("Expect http options but get "
|
|
619
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
620
620
|
this.send(command, optionsOrCb || {}, cb);
|
|
621
621
|
}
|
|
622
622
|
else {
|
|
@@ -630,7 +630,7 @@ var WorkSpaces = (function (_super) {
|
|
|
630
630
|
}
|
|
631
631
|
else if (typeof cb === "function") {
|
|
632
632
|
if (typeof optionsOrCb !== "object")
|
|
633
|
-
throw new Error("Expect http options but get "
|
|
633
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
634
634
|
this.send(command, optionsOrCb || {}, cb);
|
|
635
635
|
}
|
|
636
636
|
else {
|
|
@@ -644,7 +644,7 @@ var WorkSpaces = (function (_super) {
|
|
|
644
644
|
}
|
|
645
645
|
else if (typeof cb === "function") {
|
|
646
646
|
if (typeof optionsOrCb !== "object")
|
|
647
|
-
throw new Error("Expect http options but get "
|
|
647
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
648
648
|
this.send(command, optionsOrCb || {}, cb);
|
|
649
649
|
}
|
|
650
650
|
else {
|
|
@@ -658,7 +658,7 @@ var WorkSpaces = (function (_super) {
|
|
|
658
658
|
}
|
|
659
659
|
else if (typeof cb === "function") {
|
|
660
660
|
if (typeof optionsOrCb !== "object")
|
|
661
|
-
throw new Error("Expect http options but get "
|
|
661
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
662
662
|
this.send(command, optionsOrCb || {}, cb);
|
|
663
663
|
}
|
|
664
664
|
else {
|
|
@@ -672,7 +672,7 @@ var WorkSpaces = (function (_super) {
|
|
|
672
672
|
}
|
|
673
673
|
else if (typeof cb === "function") {
|
|
674
674
|
if (typeof optionsOrCb !== "object")
|
|
675
|
-
throw new Error("Expect http options but get "
|
|
675
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
676
676
|
this.send(command, optionsOrCb || {}, cb);
|
|
677
677
|
}
|
|
678
678
|
else {
|
|
@@ -686,7 +686,7 @@ var WorkSpaces = (function (_super) {
|
|
|
686
686
|
}
|
|
687
687
|
else if (typeof cb === "function") {
|
|
688
688
|
if (typeof optionsOrCb !== "object")
|
|
689
|
-
throw new Error("Expect http options but get "
|
|
689
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
690
690
|
this.send(command, optionsOrCb || {}, cb);
|
|
691
691
|
}
|
|
692
692
|
else {
|
|
@@ -700,7 +700,7 @@ var WorkSpaces = (function (_super) {
|
|
|
700
700
|
}
|
|
701
701
|
else if (typeof cb === "function") {
|
|
702
702
|
if (typeof optionsOrCb !== "object")
|
|
703
|
-
throw new Error("Expect http options but get "
|
|
703
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
704
704
|
this.send(command, optionsOrCb || {}, cb);
|
|
705
705
|
}
|
|
706
706
|
else {
|
|
@@ -714,7 +714,7 @@ var WorkSpaces = (function (_super) {
|
|
|
714
714
|
}
|
|
715
715
|
else if (typeof cb === "function") {
|
|
716
716
|
if (typeof optionsOrCb !== "object")
|
|
717
|
-
throw new Error("Expect http options but get "
|
|
717
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
718
718
|
this.send(command, optionsOrCb || {}, cb);
|
|
719
719
|
}
|
|
720
720
|
else {
|
|
@@ -728,7 +728,7 @@ var WorkSpaces = (function (_super) {
|
|
|
728
728
|
}
|
|
729
729
|
else if (typeof cb === "function") {
|
|
730
730
|
if (typeof optionsOrCb !== "object")
|
|
731
|
-
throw new Error("Expect http options but get "
|
|
731
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
732
732
|
this.send(command, optionsOrCb || {}, cb);
|
|
733
733
|
}
|
|
734
734
|
else {
|
|
@@ -742,7 +742,7 @@ var WorkSpaces = (function (_super) {
|
|
|
742
742
|
}
|
|
743
743
|
else if (typeof cb === "function") {
|
|
744
744
|
if (typeof optionsOrCb !== "object")
|
|
745
|
-
throw new Error("Expect http options but get "
|
|
745
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
746
746
|
this.send(command, optionsOrCb || {}, cb);
|
|
747
747
|
}
|
|
748
748
|
else {
|
|
@@ -756,7 +756,7 @@ var WorkSpaces = (function (_super) {
|
|
|
756
756
|
}
|
|
757
757
|
else if (typeof cb === "function") {
|
|
758
758
|
if (typeof optionsOrCb !== "object")
|
|
759
|
-
throw new Error("Expect http options but get "
|
|
759
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
760
760
|
this.send(command, optionsOrCb || {}, cb);
|
|
761
761
|
}
|
|
762
762
|
else {
|
|
@@ -770,7 +770,7 @@ var WorkSpaces = (function (_super) {
|
|
|
770
770
|
}
|
|
771
771
|
else if (typeof cb === "function") {
|
|
772
772
|
if (typeof optionsOrCb !== "object")
|
|
773
|
-
throw new Error("Expect http options but get "
|
|
773
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
774
774
|
this.send(command, optionsOrCb || {}, cb);
|
|
775
775
|
}
|
|
776
776
|
else {
|
|
@@ -784,7 +784,7 @@ var WorkSpaces = (function (_super) {
|
|
|
784
784
|
}
|
|
785
785
|
else if (typeof cb === "function") {
|
|
786
786
|
if (typeof optionsOrCb !== "object")
|
|
787
|
-
throw new Error("Expect http options but get "
|
|
787
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
788
788
|
this.send(command, optionsOrCb || {}, cb);
|
|
789
789
|
}
|
|
790
790
|
else {
|
|
@@ -798,7 +798,7 @@ var WorkSpaces = (function (_super) {
|
|
|
798
798
|
}
|
|
799
799
|
else if (typeof cb === "function") {
|
|
800
800
|
if (typeof optionsOrCb !== "object")
|
|
801
|
-
throw new Error("Expect http options but get "
|
|
801
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
802
802
|
this.send(command, optionsOrCb || {}, cb);
|
|
803
803
|
}
|
|
804
804
|
else {
|
|
@@ -812,7 +812,7 @@ var WorkSpaces = (function (_super) {
|
|
|
812
812
|
}
|
|
813
813
|
else if (typeof cb === "function") {
|
|
814
814
|
if (typeof optionsOrCb !== "object")
|
|
815
|
-
throw new Error("Expect http options but get "
|
|
815
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
816
816
|
this.send(command, optionsOrCb || {}, cb);
|
|
817
817
|
}
|
|
818
818
|
else {
|
|
@@ -826,7 +826,7 @@ var WorkSpaces = (function (_super) {
|
|
|
826
826
|
}
|
|
827
827
|
else if (typeof cb === "function") {
|
|
828
828
|
if (typeof optionsOrCb !== "object")
|
|
829
|
-
throw new Error("Expect http options but get "
|
|
829
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
830
830
|
this.send(command, optionsOrCb || {}, cb);
|
|
831
831
|
}
|
|
832
832
|
else {
|
|
@@ -840,7 +840,7 @@ var WorkSpaces = (function (_super) {
|
|
|
840
840
|
}
|
|
841
841
|
else if (typeof cb === "function") {
|
|
842
842
|
if (typeof optionsOrCb !== "object")
|
|
843
|
-
throw new Error("Expect http options but get "
|
|
843
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
844
844
|
this.send(command, optionsOrCb || {}, cb);
|
|
845
845
|
}
|
|
846
846
|
else {
|
|
@@ -854,7 +854,7 @@ var WorkSpaces = (function (_super) {
|
|
|
854
854
|
}
|
|
855
855
|
else if (typeof cb === "function") {
|
|
856
856
|
if (typeof optionsOrCb !== "object")
|
|
857
|
-
throw new Error("Expect http options but get "
|
|
857
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
858
858
|
this.send(command, optionsOrCb || {}, cb);
|
|
859
859
|
}
|
|
860
860
|
else {
|
|
@@ -868,7 +868,7 @@ var WorkSpaces = (function (_super) {
|
|
|
868
868
|
}
|
|
869
869
|
else if (typeof cb === "function") {
|
|
870
870
|
if (typeof optionsOrCb !== "object")
|
|
871
|
-
throw new Error("Expect http options but get "
|
|
871
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
872
872
|
this.send(command, optionsOrCb || {}, cb);
|
|
873
873
|
}
|
|
874
874
|
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 DescribeWorkspaceBundlesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeWorkspaceBundlesCommand(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.describeWorkspaceBundles.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeWorkspaceBundles.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateDescribeWorkspaceBundles(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof WorkSpaces)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof WorkSpacesClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
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 DescribeWorkspaceDirectoriesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeWorkspaceDirectoriesCommand(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.describeWorkspaceDirectories.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeWorkspaceDirectories.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateDescribeWorkspaceDirectories(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof WorkSpaces)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof WorkSpacesClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|