@aws-sdk/client-workspaces-web 3.54.1 → 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 +8 -0
- package/dist-cjs/WorkSpacesWebClient.js +13 -13
- package/dist-cjs/commands/AssociateBrowserSettingsCommand.js +3 -3
- package/dist-cjs/commands/AssociateNetworkSettingsCommand.js +3 -3
- package/dist-cjs/commands/AssociateTrustStoreCommand.js +3 -3
- package/dist-cjs/commands/AssociateUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/CreateBrowserSettingsCommand.js +3 -3
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +3 -3
- package/dist-cjs/commands/CreateNetworkSettingsCommand.js +3 -3
- package/dist-cjs/commands/CreatePortalCommand.js +3 -3
- package/dist-cjs/commands/CreateTrustStoreCommand.js +3 -3
- package/dist-cjs/commands/CreateUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/DeleteBrowserSettingsCommand.js +3 -3
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +3 -3
- package/dist-cjs/commands/DeleteNetworkSettingsCommand.js +3 -3
- package/dist-cjs/commands/DeletePortalCommand.js +3 -3
- package/dist-cjs/commands/DeleteTrustStoreCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateBrowserSettingsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateNetworkSettingsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTrustStoreCommand.js +3 -3
- package/dist-cjs/commands/DisassociateUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetBrowserSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetIdentityProviderCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetPortalCommand.js +3 -3
- package/dist-cjs/commands/GetPortalServiceProviderMetadataCommand.js +3 -3
- package/dist-cjs/commands/GetTrustStoreCertificateCommand.js +3 -3
- package/dist-cjs/commands/GetTrustStoreCommand.js +3 -3
- package/dist-cjs/commands/GetUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListBrowserSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +3 -3
- package/dist-cjs/commands/ListNetworkSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListPortalsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTrustStoreCertificatesCommand.js +3 -3
- package/dist-cjs/commands/ListTrustStoresCommand.js +3 -3
- package/dist-cjs/commands/ListUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrowserSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +3 -3
- package/dist-cjs/commands/UpdateNetworkSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdatePortalCommand.js +3 -3
- package/dist-cjs/commands/UpdateTrustStoreCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserSettingsCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +246 -246
- 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/WorkSpacesWeb.js +44 -44
- package/dist-es/pagination/ListBrowserSettingsPaginator.js +4 -4
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +4 -4
- package/dist-es/pagination/ListNetworkSettingsPaginator.js +4 -4
- package/dist-es/pagination/ListPortalsPaginator.js +4 -4
- package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +4 -4
- package/dist-es/pagination/ListTrustStoresPaginator.js +4 -4
- package/dist-es/pagination/ListUserSettingsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +44 -44
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- 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/WorkSpacesWeb.js
CHANGED
|
@@ -56,7 +56,7 @@ var WorkSpacesWeb = (function (_super) {
|
|
|
56
56
|
}
|
|
57
57
|
else if (typeof cb === "function") {
|
|
58
58
|
if (typeof optionsOrCb !== "object")
|
|
59
|
-
throw new Error("Expect http options but get "
|
|
59
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
60
60
|
this.send(command, optionsOrCb || {}, cb);
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
@@ -70,7 +70,7 @@ var WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 WorkSpacesWeb = (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 {
|
|
@@ -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 ListBrowserSettingsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListBrowserSettingsCommand(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.listBrowserSettings.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listBrowserSettings.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 paginateListBrowserSettings(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof WorkSpacesWeb)) 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 WorkSpacesWebClient)) 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 ListIdentityProvidersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListIdentityProvidersCommand(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.listIdentityProviders.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listIdentityProviders.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 paginateListIdentityProviders(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof WorkSpacesWeb)) 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 WorkSpacesWebClient)) 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 ListNetworkSettingsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListNetworkSettingsCommand(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.listNetworkSettings.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listNetworkSettings.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 paginateListNetworkSettings(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof WorkSpacesWeb)) 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 WorkSpacesWebClient)) 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 ListPortalsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListPortalsCommand(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.listPortals.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listPortals.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 paginateListPortals(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof WorkSpacesWeb)) 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 WorkSpacesWebClient)) 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 ListTrustStoreCertificatesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTrustStoreCertificatesCommand(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.listTrustStoreCertificates.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listTrustStoreCertificates.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 paginateListTrustStoreCertificates(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof WorkSpacesWeb)) 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 WorkSpacesWebClient)) 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];
|