@aws-sdk/client-chime-sdk-identity 3.315.0 → 3.319.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChimeSDKIdentity = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const ChimeSDKIdentityClient_1 = require("./ChimeSDKIdentityClient");
5
6
  const CreateAppInstanceAdminCommand_1 = require("./commands/CreateAppInstanceAdminCommand");
6
7
  const CreateAppInstanceBotCommand_1 = require("./commands/CreateAppInstanceBotCommand");
@@ -32,426 +33,39 @@ const UpdateAppInstanceBotCommand_1 = require("./commands/UpdateAppInstanceBotCo
32
33
  const UpdateAppInstanceCommand_1 = require("./commands/UpdateAppInstanceCommand");
33
34
  const UpdateAppInstanceUserCommand_1 = require("./commands/UpdateAppInstanceUserCommand");
34
35
  const UpdateAppInstanceUserEndpointCommand_1 = require("./commands/UpdateAppInstanceUserEndpointCommand");
36
+ const commands = {
37
+ CreateAppInstanceCommand: CreateAppInstanceCommand_1.CreateAppInstanceCommand,
38
+ CreateAppInstanceAdminCommand: CreateAppInstanceAdminCommand_1.CreateAppInstanceAdminCommand,
39
+ CreateAppInstanceBotCommand: CreateAppInstanceBotCommand_1.CreateAppInstanceBotCommand,
40
+ CreateAppInstanceUserCommand: CreateAppInstanceUserCommand_1.CreateAppInstanceUserCommand,
41
+ DeleteAppInstanceCommand: DeleteAppInstanceCommand_1.DeleteAppInstanceCommand,
42
+ DeleteAppInstanceAdminCommand: DeleteAppInstanceAdminCommand_1.DeleteAppInstanceAdminCommand,
43
+ DeleteAppInstanceBotCommand: DeleteAppInstanceBotCommand_1.DeleteAppInstanceBotCommand,
44
+ DeleteAppInstanceUserCommand: DeleteAppInstanceUserCommand_1.DeleteAppInstanceUserCommand,
45
+ DeregisterAppInstanceUserEndpointCommand: DeregisterAppInstanceUserEndpointCommand_1.DeregisterAppInstanceUserEndpointCommand,
46
+ DescribeAppInstanceCommand: DescribeAppInstanceCommand_1.DescribeAppInstanceCommand,
47
+ DescribeAppInstanceAdminCommand: DescribeAppInstanceAdminCommand_1.DescribeAppInstanceAdminCommand,
48
+ DescribeAppInstanceBotCommand: DescribeAppInstanceBotCommand_1.DescribeAppInstanceBotCommand,
49
+ DescribeAppInstanceUserCommand: DescribeAppInstanceUserCommand_1.DescribeAppInstanceUserCommand,
50
+ DescribeAppInstanceUserEndpointCommand: DescribeAppInstanceUserEndpointCommand_1.DescribeAppInstanceUserEndpointCommand,
51
+ GetAppInstanceRetentionSettingsCommand: GetAppInstanceRetentionSettingsCommand_1.GetAppInstanceRetentionSettingsCommand,
52
+ ListAppInstanceAdminsCommand: ListAppInstanceAdminsCommand_1.ListAppInstanceAdminsCommand,
53
+ ListAppInstanceBotsCommand: ListAppInstanceBotsCommand_1.ListAppInstanceBotsCommand,
54
+ ListAppInstancesCommand: ListAppInstancesCommand_1.ListAppInstancesCommand,
55
+ ListAppInstanceUserEndpointsCommand: ListAppInstanceUserEndpointsCommand_1.ListAppInstanceUserEndpointsCommand,
56
+ ListAppInstanceUsersCommand: ListAppInstanceUsersCommand_1.ListAppInstanceUsersCommand,
57
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
58
+ PutAppInstanceRetentionSettingsCommand: PutAppInstanceRetentionSettingsCommand_1.PutAppInstanceRetentionSettingsCommand,
59
+ PutAppInstanceUserExpirationSettingsCommand: PutAppInstanceUserExpirationSettingsCommand_1.PutAppInstanceUserExpirationSettingsCommand,
60
+ RegisterAppInstanceUserEndpointCommand: RegisterAppInstanceUserEndpointCommand_1.RegisterAppInstanceUserEndpointCommand,
61
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
62
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
63
+ UpdateAppInstanceCommand: UpdateAppInstanceCommand_1.UpdateAppInstanceCommand,
64
+ UpdateAppInstanceBotCommand: UpdateAppInstanceBotCommand_1.UpdateAppInstanceBotCommand,
65
+ UpdateAppInstanceUserCommand: UpdateAppInstanceUserCommand_1.UpdateAppInstanceUserCommand,
66
+ UpdateAppInstanceUserEndpointCommand: UpdateAppInstanceUserEndpointCommand_1.UpdateAppInstanceUserEndpointCommand,
67
+ };
35
68
  class ChimeSDKIdentity extends ChimeSDKIdentityClient_1.ChimeSDKIdentityClient {
36
- createAppInstance(args, optionsOrCb, cb) {
37
- const command = new CreateAppInstanceCommand_1.CreateAppInstanceCommand(args);
38
- if (typeof optionsOrCb === "function") {
39
- this.send(command, optionsOrCb);
40
- }
41
- else if (typeof cb === "function") {
42
- if (typeof optionsOrCb !== "object")
43
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
44
- this.send(command, optionsOrCb || {}, cb);
45
- }
46
- else {
47
- return this.send(command, optionsOrCb);
48
- }
49
- }
50
- createAppInstanceAdmin(args, optionsOrCb, cb) {
51
- const command = new CreateAppInstanceAdminCommand_1.CreateAppInstanceAdminCommand(args);
52
- if (typeof optionsOrCb === "function") {
53
- this.send(command, optionsOrCb);
54
- }
55
- else if (typeof cb === "function") {
56
- if (typeof optionsOrCb !== "object")
57
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
58
- this.send(command, optionsOrCb || {}, cb);
59
- }
60
- else {
61
- return this.send(command, optionsOrCb);
62
- }
63
- }
64
- createAppInstanceBot(args, optionsOrCb, cb) {
65
- const command = new CreateAppInstanceBotCommand_1.CreateAppInstanceBotCommand(args);
66
- if (typeof optionsOrCb === "function") {
67
- this.send(command, optionsOrCb);
68
- }
69
- else if (typeof cb === "function") {
70
- if (typeof optionsOrCb !== "object")
71
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
72
- this.send(command, optionsOrCb || {}, cb);
73
- }
74
- else {
75
- return this.send(command, optionsOrCb);
76
- }
77
- }
78
- createAppInstanceUser(args, optionsOrCb, cb) {
79
- const command = new CreateAppInstanceUserCommand_1.CreateAppInstanceUserCommand(args);
80
- if (typeof optionsOrCb === "function") {
81
- this.send(command, optionsOrCb);
82
- }
83
- else if (typeof cb === "function") {
84
- if (typeof optionsOrCb !== "object")
85
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
86
- this.send(command, optionsOrCb || {}, cb);
87
- }
88
- else {
89
- return this.send(command, optionsOrCb);
90
- }
91
- }
92
- deleteAppInstance(args, optionsOrCb, cb) {
93
- const command = new DeleteAppInstanceCommand_1.DeleteAppInstanceCommand(args);
94
- if (typeof optionsOrCb === "function") {
95
- this.send(command, optionsOrCb);
96
- }
97
- else if (typeof cb === "function") {
98
- if (typeof optionsOrCb !== "object")
99
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
100
- this.send(command, optionsOrCb || {}, cb);
101
- }
102
- else {
103
- return this.send(command, optionsOrCb);
104
- }
105
- }
106
- deleteAppInstanceAdmin(args, optionsOrCb, cb) {
107
- const command = new DeleteAppInstanceAdminCommand_1.DeleteAppInstanceAdminCommand(args);
108
- if (typeof optionsOrCb === "function") {
109
- this.send(command, optionsOrCb);
110
- }
111
- else if (typeof cb === "function") {
112
- if (typeof optionsOrCb !== "object")
113
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
114
- this.send(command, optionsOrCb || {}, cb);
115
- }
116
- else {
117
- return this.send(command, optionsOrCb);
118
- }
119
- }
120
- deleteAppInstanceBot(args, optionsOrCb, cb) {
121
- const command = new DeleteAppInstanceBotCommand_1.DeleteAppInstanceBotCommand(args);
122
- if (typeof optionsOrCb === "function") {
123
- this.send(command, optionsOrCb);
124
- }
125
- else if (typeof cb === "function") {
126
- if (typeof optionsOrCb !== "object")
127
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
128
- this.send(command, optionsOrCb || {}, cb);
129
- }
130
- else {
131
- return this.send(command, optionsOrCb);
132
- }
133
- }
134
- deleteAppInstanceUser(args, optionsOrCb, cb) {
135
- const command = new DeleteAppInstanceUserCommand_1.DeleteAppInstanceUserCommand(args);
136
- if (typeof optionsOrCb === "function") {
137
- this.send(command, optionsOrCb);
138
- }
139
- else if (typeof cb === "function") {
140
- if (typeof optionsOrCb !== "object")
141
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
142
- this.send(command, optionsOrCb || {}, cb);
143
- }
144
- else {
145
- return this.send(command, optionsOrCb);
146
- }
147
- }
148
- deregisterAppInstanceUserEndpoint(args, optionsOrCb, cb) {
149
- const command = new DeregisterAppInstanceUserEndpointCommand_1.DeregisterAppInstanceUserEndpointCommand(args);
150
- if (typeof optionsOrCb === "function") {
151
- this.send(command, optionsOrCb);
152
- }
153
- else if (typeof cb === "function") {
154
- if (typeof optionsOrCb !== "object")
155
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
156
- this.send(command, optionsOrCb || {}, cb);
157
- }
158
- else {
159
- return this.send(command, optionsOrCb);
160
- }
161
- }
162
- describeAppInstance(args, optionsOrCb, cb) {
163
- const command = new DescribeAppInstanceCommand_1.DescribeAppInstanceCommand(args);
164
- if (typeof optionsOrCb === "function") {
165
- this.send(command, optionsOrCb);
166
- }
167
- else if (typeof cb === "function") {
168
- if (typeof optionsOrCb !== "object")
169
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
170
- this.send(command, optionsOrCb || {}, cb);
171
- }
172
- else {
173
- return this.send(command, optionsOrCb);
174
- }
175
- }
176
- describeAppInstanceAdmin(args, optionsOrCb, cb) {
177
- const command = new DescribeAppInstanceAdminCommand_1.DescribeAppInstanceAdminCommand(args);
178
- if (typeof optionsOrCb === "function") {
179
- this.send(command, optionsOrCb);
180
- }
181
- else if (typeof cb === "function") {
182
- if (typeof optionsOrCb !== "object")
183
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
184
- this.send(command, optionsOrCb || {}, cb);
185
- }
186
- else {
187
- return this.send(command, optionsOrCb);
188
- }
189
- }
190
- describeAppInstanceBot(args, optionsOrCb, cb) {
191
- const command = new DescribeAppInstanceBotCommand_1.DescribeAppInstanceBotCommand(args);
192
- if (typeof optionsOrCb === "function") {
193
- this.send(command, optionsOrCb);
194
- }
195
- else if (typeof cb === "function") {
196
- if (typeof optionsOrCb !== "object")
197
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
198
- this.send(command, optionsOrCb || {}, cb);
199
- }
200
- else {
201
- return this.send(command, optionsOrCb);
202
- }
203
- }
204
- describeAppInstanceUser(args, optionsOrCb, cb) {
205
- const command = new DescribeAppInstanceUserCommand_1.DescribeAppInstanceUserCommand(args);
206
- if (typeof optionsOrCb === "function") {
207
- this.send(command, optionsOrCb);
208
- }
209
- else if (typeof cb === "function") {
210
- if (typeof optionsOrCb !== "object")
211
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
212
- this.send(command, optionsOrCb || {}, cb);
213
- }
214
- else {
215
- return this.send(command, optionsOrCb);
216
- }
217
- }
218
- describeAppInstanceUserEndpoint(args, optionsOrCb, cb) {
219
- const command = new DescribeAppInstanceUserEndpointCommand_1.DescribeAppInstanceUserEndpointCommand(args);
220
- if (typeof optionsOrCb === "function") {
221
- this.send(command, optionsOrCb);
222
- }
223
- else if (typeof cb === "function") {
224
- if (typeof optionsOrCb !== "object")
225
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
226
- this.send(command, optionsOrCb || {}, cb);
227
- }
228
- else {
229
- return this.send(command, optionsOrCb);
230
- }
231
- }
232
- getAppInstanceRetentionSettings(args, optionsOrCb, cb) {
233
- const command = new GetAppInstanceRetentionSettingsCommand_1.GetAppInstanceRetentionSettingsCommand(args);
234
- if (typeof optionsOrCb === "function") {
235
- this.send(command, optionsOrCb);
236
- }
237
- else if (typeof cb === "function") {
238
- if (typeof optionsOrCb !== "object")
239
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
240
- this.send(command, optionsOrCb || {}, cb);
241
- }
242
- else {
243
- return this.send(command, optionsOrCb);
244
- }
245
- }
246
- listAppInstanceAdmins(args, optionsOrCb, cb) {
247
- const command = new ListAppInstanceAdminsCommand_1.ListAppInstanceAdminsCommand(args);
248
- if (typeof optionsOrCb === "function") {
249
- this.send(command, optionsOrCb);
250
- }
251
- else if (typeof cb === "function") {
252
- if (typeof optionsOrCb !== "object")
253
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
254
- this.send(command, optionsOrCb || {}, cb);
255
- }
256
- else {
257
- return this.send(command, optionsOrCb);
258
- }
259
- }
260
- listAppInstanceBots(args, optionsOrCb, cb) {
261
- const command = new ListAppInstanceBotsCommand_1.ListAppInstanceBotsCommand(args);
262
- if (typeof optionsOrCb === "function") {
263
- this.send(command, optionsOrCb);
264
- }
265
- else if (typeof cb === "function") {
266
- if (typeof optionsOrCb !== "object")
267
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
268
- this.send(command, optionsOrCb || {}, cb);
269
- }
270
- else {
271
- return this.send(command, optionsOrCb);
272
- }
273
- }
274
- listAppInstances(args, optionsOrCb, cb) {
275
- const command = new ListAppInstancesCommand_1.ListAppInstancesCommand(args);
276
- if (typeof optionsOrCb === "function") {
277
- this.send(command, optionsOrCb);
278
- }
279
- else if (typeof cb === "function") {
280
- if (typeof optionsOrCb !== "object")
281
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
282
- this.send(command, optionsOrCb || {}, cb);
283
- }
284
- else {
285
- return this.send(command, optionsOrCb);
286
- }
287
- }
288
- listAppInstanceUserEndpoints(args, optionsOrCb, cb) {
289
- const command = new ListAppInstanceUserEndpointsCommand_1.ListAppInstanceUserEndpointsCommand(args);
290
- if (typeof optionsOrCb === "function") {
291
- this.send(command, optionsOrCb);
292
- }
293
- else if (typeof cb === "function") {
294
- if (typeof optionsOrCb !== "object")
295
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
296
- this.send(command, optionsOrCb || {}, cb);
297
- }
298
- else {
299
- return this.send(command, optionsOrCb);
300
- }
301
- }
302
- listAppInstanceUsers(args, optionsOrCb, cb) {
303
- const command = new ListAppInstanceUsersCommand_1.ListAppInstanceUsersCommand(args);
304
- if (typeof optionsOrCb === "function") {
305
- this.send(command, optionsOrCb);
306
- }
307
- else if (typeof cb === "function") {
308
- if (typeof optionsOrCb !== "object")
309
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
310
- this.send(command, optionsOrCb || {}, cb);
311
- }
312
- else {
313
- return this.send(command, optionsOrCb);
314
- }
315
- }
316
- listTagsForResource(args, optionsOrCb, cb) {
317
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
318
- if (typeof optionsOrCb === "function") {
319
- this.send(command, optionsOrCb);
320
- }
321
- else if (typeof cb === "function") {
322
- if (typeof optionsOrCb !== "object")
323
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
324
- this.send(command, optionsOrCb || {}, cb);
325
- }
326
- else {
327
- return this.send(command, optionsOrCb);
328
- }
329
- }
330
- putAppInstanceRetentionSettings(args, optionsOrCb, cb) {
331
- const command = new PutAppInstanceRetentionSettingsCommand_1.PutAppInstanceRetentionSettingsCommand(args);
332
- if (typeof optionsOrCb === "function") {
333
- this.send(command, optionsOrCb);
334
- }
335
- else if (typeof cb === "function") {
336
- if (typeof optionsOrCb !== "object")
337
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
338
- this.send(command, optionsOrCb || {}, cb);
339
- }
340
- else {
341
- return this.send(command, optionsOrCb);
342
- }
343
- }
344
- putAppInstanceUserExpirationSettings(args, optionsOrCb, cb) {
345
- const command = new PutAppInstanceUserExpirationSettingsCommand_1.PutAppInstanceUserExpirationSettingsCommand(args);
346
- if (typeof optionsOrCb === "function") {
347
- this.send(command, optionsOrCb);
348
- }
349
- else if (typeof cb === "function") {
350
- if (typeof optionsOrCb !== "object")
351
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
352
- this.send(command, optionsOrCb || {}, cb);
353
- }
354
- else {
355
- return this.send(command, optionsOrCb);
356
- }
357
- }
358
- registerAppInstanceUserEndpoint(args, optionsOrCb, cb) {
359
- const command = new RegisterAppInstanceUserEndpointCommand_1.RegisterAppInstanceUserEndpointCommand(args);
360
- if (typeof optionsOrCb === "function") {
361
- this.send(command, optionsOrCb);
362
- }
363
- else if (typeof cb === "function") {
364
- if (typeof optionsOrCb !== "object")
365
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
366
- this.send(command, optionsOrCb || {}, cb);
367
- }
368
- else {
369
- return this.send(command, optionsOrCb);
370
- }
371
- }
372
- tagResource(args, optionsOrCb, cb) {
373
- const command = new TagResourceCommand_1.TagResourceCommand(args);
374
- if (typeof optionsOrCb === "function") {
375
- this.send(command, optionsOrCb);
376
- }
377
- else if (typeof cb === "function") {
378
- if (typeof optionsOrCb !== "object")
379
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
380
- this.send(command, optionsOrCb || {}, cb);
381
- }
382
- else {
383
- return this.send(command, optionsOrCb);
384
- }
385
- }
386
- untagResource(args, optionsOrCb, cb) {
387
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
388
- if (typeof optionsOrCb === "function") {
389
- this.send(command, optionsOrCb);
390
- }
391
- else if (typeof cb === "function") {
392
- if (typeof optionsOrCb !== "object")
393
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
394
- this.send(command, optionsOrCb || {}, cb);
395
- }
396
- else {
397
- return this.send(command, optionsOrCb);
398
- }
399
- }
400
- updateAppInstance(args, optionsOrCb, cb) {
401
- const command = new UpdateAppInstanceCommand_1.UpdateAppInstanceCommand(args);
402
- if (typeof optionsOrCb === "function") {
403
- this.send(command, optionsOrCb);
404
- }
405
- else if (typeof cb === "function") {
406
- if (typeof optionsOrCb !== "object")
407
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
408
- this.send(command, optionsOrCb || {}, cb);
409
- }
410
- else {
411
- return this.send(command, optionsOrCb);
412
- }
413
- }
414
- updateAppInstanceBot(args, optionsOrCb, cb) {
415
- const command = new UpdateAppInstanceBotCommand_1.UpdateAppInstanceBotCommand(args);
416
- if (typeof optionsOrCb === "function") {
417
- this.send(command, optionsOrCb);
418
- }
419
- else if (typeof cb === "function") {
420
- if (typeof optionsOrCb !== "object")
421
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
422
- this.send(command, optionsOrCb || {}, cb);
423
- }
424
- else {
425
- return this.send(command, optionsOrCb);
426
- }
427
- }
428
- updateAppInstanceUser(args, optionsOrCb, cb) {
429
- const command = new UpdateAppInstanceUserCommand_1.UpdateAppInstanceUserCommand(args);
430
- if (typeof optionsOrCb === "function") {
431
- this.send(command, optionsOrCb);
432
- }
433
- else if (typeof cb === "function") {
434
- if (typeof optionsOrCb !== "object")
435
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
436
- this.send(command, optionsOrCb || {}, cb);
437
- }
438
- else {
439
- return this.send(command, optionsOrCb);
440
- }
441
- }
442
- updateAppInstanceUserEndpoint(args, optionsOrCb, cb) {
443
- const command = new UpdateAppInstanceUserEndpointCommand_1.UpdateAppInstanceUserEndpointCommand(args);
444
- if (typeof optionsOrCb === "function") {
445
- this.send(command, optionsOrCb);
446
- }
447
- else if (typeof cb === "function") {
448
- if (typeof optionsOrCb !== "object")
449
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
450
- this.send(command, optionsOrCb || {}, cb);
451
- }
452
- else {
453
- return this.send(command, optionsOrCb);
454
- }
455
- }
456
69
  }
457
70
  exports.ChimeSDKIdentity = ChimeSDKIdentity;
71
+ (0, smithy_client_1.createAggregatedClient)(commands, ChimeSDKIdentity);
@@ -15,7 +15,7 @@ const se_CreateAppInstanceCommand = async (input, context) => {
15
15
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/app-instances";
16
16
  let body;
17
17
  body = JSON.stringify((0, smithy_client_1.take)(input, {
18
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
18
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
19
19
  Metadata: [],
20
20
  Name: [],
21
21
  Tags: (_) => (0, smithy_client_1._json)(_),
@@ -62,7 +62,7 @@ const se_CreateAppInstanceBotCommand = async (input, context) => {
62
62
  let body;
63
63
  body = JSON.stringify((0, smithy_client_1.take)(input, {
64
64
  AppInstanceArn: [],
65
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
65
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
66
66
  Configuration: (_) => (0, smithy_client_1._json)(_),
67
67
  Metadata: [],
68
68
  Name: [],
@@ -89,7 +89,7 @@ const se_CreateAppInstanceUserCommand = async (input, context) => {
89
89
  body = JSON.stringify((0, smithy_client_1.take)(input, {
90
90
  AppInstanceArn: [],
91
91
  AppInstanceUserId: [],
92
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
92
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
93
93
  ExpirationSettings: (_) => (0, smithy_client_1._json)(_),
94
94
  Metadata: [],
95
95
  Name: [],
@@ -489,7 +489,7 @@ const se_RegisterAppInstanceUserEndpointCommand = async (input, context) => {
489
489
  let body;
490
490
  body = JSON.stringify((0, smithy_client_1.take)(input, {
491
491
  AllowMessages: [],
492
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
492
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
493
493
  EndpointAttributes: (_) => (0, smithy_client_1._json)(_),
494
494
  Name: [],
495
495
  ResourceArn: [],