@aws-sdk/client-chime-sdk-identity 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/ChimeSDKIdentityClient.js +13 -13
- package/dist-cjs/commands/CreateAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/CreateAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/CreateAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DeregisterAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetAppInstanceRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceAdminsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceUserEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceUsersCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAppInstanceRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/RegisterAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +148 -148
- 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/ChimeSDKIdentity.js +24 -24
- package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstanceUserEndpointsPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstanceUsersPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstancesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +24 -24
- package/dist-types/ChimeSDKIdentityClient.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/ChimeSDKIdentityClient.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,
|
|
@@ -36,7 +36,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
36
36
|
}
|
|
37
37
|
else if (typeof cb === "function") {
|
|
38
38
|
if (typeof optionsOrCb !== "object")
|
|
39
|
-
throw new Error("Expect http options but get "
|
|
39
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
40
40
|
this.send(command, optionsOrCb || {}, cb);
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
@@ -50,7 +50,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
50
50
|
}
|
|
51
51
|
else if (typeof cb === "function") {
|
|
52
52
|
if (typeof optionsOrCb !== "object")
|
|
53
|
-
throw new Error("Expect http options but get "
|
|
53
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
54
54
|
this.send(command, optionsOrCb || {}, cb);
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
@@ -64,7 +64,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
64
64
|
}
|
|
65
65
|
else if (typeof cb === "function") {
|
|
66
66
|
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error("Expect http options but get "
|
|
67
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
68
68
|
this.send(command, optionsOrCb || {}, cb);
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
@@ -78,7 +78,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
78
78
|
}
|
|
79
79
|
else if (typeof cb === "function") {
|
|
80
80
|
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error("Expect http options but get "
|
|
81
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
82
82
|
this.send(command, optionsOrCb || {}, cb);
|
|
83
83
|
}
|
|
84
84
|
else {
|
|
@@ -92,7 +92,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
92
92
|
}
|
|
93
93
|
else if (typeof cb === "function") {
|
|
94
94
|
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error("Expect http options but get "
|
|
95
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
96
96
|
this.send(command, optionsOrCb || {}, cb);
|
|
97
97
|
}
|
|
98
98
|
else {
|
|
@@ -106,7 +106,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
106
106
|
}
|
|
107
107
|
else if (typeof cb === "function") {
|
|
108
108
|
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error("Expect http options but get "
|
|
109
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
110
110
|
this.send(command, optionsOrCb || {}, cb);
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
@@ -120,7 +120,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
120
120
|
}
|
|
121
121
|
else if (typeof cb === "function") {
|
|
122
122
|
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error("Expect http options but get "
|
|
123
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
124
124
|
this.send(command, optionsOrCb || {}, cb);
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
@@ -134,7 +134,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
134
134
|
}
|
|
135
135
|
else if (typeof cb === "function") {
|
|
136
136
|
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error("Expect http options but get "
|
|
137
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
138
138
|
this.send(command, optionsOrCb || {}, cb);
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
@@ -148,7 +148,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
148
148
|
}
|
|
149
149
|
else if (typeof cb === "function") {
|
|
150
150
|
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error("Expect http options but get "
|
|
151
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
152
152
|
this.send(command, optionsOrCb || {}, cb);
|
|
153
153
|
}
|
|
154
154
|
else {
|
|
@@ -162,7 +162,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
162
162
|
}
|
|
163
163
|
else if (typeof cb === "function") {
|
|
164
164
|
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error("Expect http options but get "
|
|
165
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
166
166
|
this.send(command, optionsOrCb || {}, cb);
|
|
167
167
|
}
|
|
168
168
|
else {
|
|
@@ -176,7 +176,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
176
176
|
}
|
|
177
177
|
else if (typeof cb === "function") {
|
|
178
178
|
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error("Expect http options but get "
|
|
179
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
180
180
|
this.send(command, optionsOrCb || {}, cb);
|
|
181
181
|
}
|
|
182
182
|
else {
|
|
@@ -190,7 +190,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
190
190
|
}
|
|
191
191
|
else if (typeof cb === "function") {
|
|
192
192
|
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error("Expect http options but get "
|
|
193
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
194
194
|
this.send(command, optionsOrCb || {}, cb);
|
|
195
195
|
}
|
|
196
196
|
else {
|
|
@@ -204,7 +204,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
204
204
|
}
|
|
205
205
|
else if (typeof cb === "function") {
|
|
206
206
|
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error("Expect http options but get "
|
|
207
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
208
208
|
this.send(command, optionsOrCb || {}, cb);
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
@@ -218,7 +218,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
218
218
|
}
|
|
219
219
|
else if (typeof cb === "function") {
|
|
220
220
|
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error("Expect http options but get "
|
|
221
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
222
222
|
this.send(command, optionsOrCb || {}, cb);
|
|
223
223
|
}
|
|
224
224
|
else {
|
|
@@ -232,7 +232,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
232
232
|
}
|
|
233
233
|
else if (typeof cb === "function") {
|
|
234
234
|
if (typeof optionsOrCb !== "object")
|
|
235
|
-
throw new Error("Expect http options but get "
|
|
235
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
236
236
|
this.send(command, optionsOrCb || {}, cb);
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
@@ -246,7 +246,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
246
246
|
}
|
|
247
247
|
else if (typeof cb === "function") {
|
|
248
248
|
if (typeof optionsOrCb !== "object")
|
|
249
|
-
throw new Error("Expect http options but get "
|
|
249
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
250
250
|
this.send(command, optionsOrCb || {}, cb);
|
|
251
251
|
}
|
|
252
252
|
else {
|
|
@@ -260,7 +260,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
260
260
|
}
|
|
261
261
|
else if (typeof cb === "function") {
|
|
262
262
|
if (typeof optionsOrCb !== "object")
|
|
263
|
-
throw new Error("Expect http options but get "
|
|
263
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
264
264
|
this.send(command, optionsOrCb || {}, cb);
|
|
265
265
|
}
|
|
266
266
|
else {
|
|
@@ -274,7 +274,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
274
274
|
}
|
|
275
275
|
else if (typeof cb === "function") {
|
|
276
276
|
if (typeof optionsOrCb !== "object")
|
|
277
|
-
throw new Error("Expect http options but get "
|
|
277
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
278
278
|
this.send(command, optionsOrCb || {}, cb);
|
|
279
279
|
}
|
|
280
280
|
else {
|
|
@@ -288,7 +288,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
288
288
|
}
|
|
289
289
|
else if (typeof cb === "function") {
|
|
290
290
|
if (typeof optionsOrCb !== "object")
|
|
291
|
-
throw new Error("Expect http options but get "
|
|
291
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
292
292
|
this.send(command, optionsOrCb || {}, cb);
|
|
293
293
|
}
|
|
294
294
|
else {
|
|
@@ -302,7 +302,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
302
302
|
}
|
|
303
303
|
else if (typeof cb === "function") {
|
|
304
304
|
if (typeof optionsOrCb !== "object")
|
|
305
|
-
throw new Error("Expect http options but get "
|
|
305
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
306
306
|
this.send(command, optionsOrCb || {}, cb);
|
|
307
307
|
}
|
|
308
308
|
else {
|
|
@@ -316,7 +316,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
316
316
|
}
|
|
317
317
|
else if (typeof cb === "function") {
|
|
318
318
|
if (typeof optionsOrCb !== "object")
|
|
319
|
-
throw new Error("Expect http options but get "
|
|
319
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
320
320
|
this.send(command, optionsOrCb || {}, cb);
|
|
321
321
|
}
|
|
322
322
|
else {
|
|
@@ -330,7 +330,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
330
330
|
}
|
|
331
331
|
else if (typeof cb === "function") {
|
|
332
332
|
if (typeof optionsOrCb !== "object")
|
|
333
|
-
throw new Error("Expect http options but get "
|
|
333
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
334
334
|
this.send(command, optionsOrCb || {}, cb);
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
@@ -344,7 +344,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
344
344
|
}
|
|
345
345
|
else if (typeof cb === "function") {
|
|
346
346
|
if (typeof optionsOrCb !== "object")
|
|
347
|
-
throw new Error("Expect http options but get "
|
|
347
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
348
348
|
this.send(command, optionsOrCb || {}, cb);
|
|
349
349
|
}
|
|
350
350
|
else {
|
|
@@ -358,7 +358,7 @@ var ChimeSDKIdentity = (function (_super) {
|
|
|
358
358
|
}
|
|
359
359
|
else if (typeof cb === "function") {
|
|
360
360
|
if (typeof optionsOrCb !== "object")
|
|
361
|
-
throw new Error("Expect http options but get "
|
|
361
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
362
362
|
this.send(command, optionsOrCb || {}, cb);
|
|
363
363
|
}
|
|
364
364
|
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 ListAppInstanceAdminsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAppInstanceAdminsCommand(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.listAppInstanceAdmins.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAppInstanceAdmins.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 paginateListAppInstanceAdmins(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ChimeSDKIdentity)) 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 ChimeSDKIdentityClient)) 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 ListAppInstanceUserEndpointsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAppInstanceUserEndpointsCommand(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.listAppInstanceUserEndpoints.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAppInstanceUserEndpoints.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 paginateListAppInstanceUserEndpoints(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ChimeSDKIdentity)) 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 ChimeSDKIdentityClient)) 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 ListAppInstanceUsersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAppInstanceUsersCommand(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.listAppInstanceUsers.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAppInstanceUsers.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 paginateListAppInstanceUsers(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ChimeSDKIdentity)) 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 ChimeSDKIdentityClient)) 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 ListAppInstancesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAppInstancesCommand(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.listAppInstances.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAppInstances.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 paginateListAppInstances(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ChimeSDKIdentity)) 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 ChimeSDKIdentityClient)) 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];
|