@aws-sdk/client-chatbot 3.716.0 → 3.723.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.
@@ -17,6 +17,7 @@ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
17
17
  const runtimeConfig_1 = require("./runtimeConfig");
18
18
  const runtimeExtensions_1 = require("./runtimeExtensions");
19
19
  class ChatbotClient extends smithy_client_1.Client {
20
+ config;
20
21
  constructor(...[configuration]) {
21
22
  const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
22
23
  const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
@@ -5,94 +5,96 @@ exports.UpdateSlackChannelConfigurationResultFilterSensitiveLog = exports.Update
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const ChatbotServiceException_1 = require("./ChatbotServiceException");
7
7
  class InternalServiceError extends ChatbotServiceException_1.ChatbotServiceException {
8
+ name = "InternalServiceError";
9
+ $fault = "server";
10
+ Message;
8
11
  constructor(opts) {
9
12
  super({
10
13
  name: "InternalServiceError",
11
14
  $fault: "server",
12
15
  ...opts,
13
16
  });
14
- this.name = "InternalServiceError";
15
- this.$fault = "server";
16
17
  Object.setPrototypeOf(this, InternalServiceError.prototype);
17
18
  this.Message = opts.Message;
18
19
  }
19
20
  }
20
21
  exports.InternalServiceError = InternalServiceError;
21
22
  class InvalidRequestException extends ChatbotServiceException_1.ChatbotServiceException {
23
+ name = "InvalidRequestException";
24
+ $fault = "client";
22
25
  constructor(opts) {
23
26
  super({
24
27
  name: "InvalidRequestException",
25
28
  $fault: "client",
26
29
  ...opts,
27
30
  });
28
- this.name = "InvalidRequestException";
29
- this.$fault = "client";
30
31
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
31
32
  }
32
33
  }
33
34
  exports.InvalidRequestException = InvalidRequestException;
34
35
  class UnauthorizedException extends ChatbotServiceException_1.ChatbotServiceException {
36
+ name = "UnauthorizedException";
37
+ $fault = "client";
35
38
  constructor(opts) {
36
39
  super({
37
40
  name: "UnauthorizedException",
38
41
  $fault: "client",
39
42
  ...opts,
40
43
  });
41
- this.name = "UnauthorizedException";
42
- this.$fault = "client";
43
44
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
44
45
  }
45
46
  }
46
47
  exports.UnauthorizedException = UnauthorizedException;
47
48
  class ConflictException extends ChatbotServiceException_1.ChatbotServiceException {
49
+ name = "ConflictException";
50
+ $fault = "client";
48
51
  constructor(opts) {
49
52
  super({
50
53
  name: "ConflictException",
51
54
  $fault: "client",
52
55
  ...opts,
53
56
  });
54
- this.name = "ConflictException";
55
- this.$fault = "client";
56
57
  Object.setPrototypeOf(this, ConflictException.prototype);
57
58
  }
58
59
  }
59
60
  exports.ConflictException = ConflictException;
60
61
  class CreateChimeWebhookConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
62
+ name = "CreateChimeWebhookConfigurationException";
63
+ $fault = "server";
64
+ Message;
61
65
  constructor(opts) {
62
66
  super({
63
67
  name: "CreateChimeWebhookConfigurationException",
64
68
  $fault: "server",
65
69
  ...opts,
66
70
  });
67
- this.name = "CreateChimeWebhookConfigurationException";
68
- this.$fault = "server";
69
71
  Object.setPrototypeOf(this, CreateChimeWebhookConfigurationException.prototype);
70
72
  this.Message = opts.Message;
71
73
  }
72
74
  }
73
75
  exports.CreateChimeWebhookConfigurationException = CreateChimeWebhookConfigurationException;
74
76
  class InvalidParameterException extends ChatbotServiceException_1.ChatbotServiceException {
77
+ name = "InvalidParameterException";
78
+ $fault = "client";
75
79
  constructor(opts) {
76
80
  super({
77
81
  name: "InvalidParameterException",
78
82
  $fault: "client",
79
83
  ...opts,
80
84
  });
81
- this.name = "InvalidParameterException";
82
- this.$fault = "client";
83
85
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
84
86
  }
85
87
  }
86
88
  exports.InvalidParameterException = InvalidParameterException;
87
89
  class LimitExceededException extends ChatbotServiceException_1.ChatbotServiceException {
90
+ name = "LimitExceededException";
91
+ $fault = "client";
88
92
  constructor(opts) {
89
93
  super({
90
94
  name: "LimitExceededException",
91
95
  $fault: "client",
92
96
  ...opts,
93
97
  });
94
- this.name = "LimitExceededException";
95
- this.$fault = "client";
96
98
  Object.setPrototypeOf(this, LimitExceededException.prototype);
97
99
  }
98
100
  }
@@ -102,348 +104,371 @@ exports.CustomActionAttachmentCriteriaOperator = {
102
104
  HAS_VALUE: "HAS_VALUE",
103
105
  };
104
106
  class CreateTeamsChannelConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
107
+ name = "CreateTeamsChannelConfigurationException";
108
+ $fault = "server";
109
+ Message;
105
110
  constructor(opts) {
106
111
  super({
107
112
  name: "CreateTeamsChannelConfigurationException",
108
113
  $fault: "server",
109
114
  ...opts,
110
115
  });
111
- this.name = "CreateTeamsChannelConfigurationException";
112
- this.$fault = "server";
113
116
  Object.setPrototypeOf(this, CreateTeamsChannelConfigurationException.prototype);
114
117
  this.Message = opts.Message;
115
118
  }
116
119
  }
117
120
  exports.CreateTeamsChannelConfigurationException = CreateTeamsChannelConfigurationException;
118
121
  class CreateSlackChannelConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
122
+ name = "CreateSlackChannelConfigurationException";
123
+ $fault = "server";
124
+ Message;
119
125
  constructor(opts) {
120
126
  super({
121
127
  name: "CreateSlackChannelConfigurationException",
122
128
  $fault: "server",
123
129
  ...opts,
124
130
  });
125
- this.name = "CreateSlackChannelConfigurationException";
126
- this.$fault = "server";
127
131
  Object.setPrototypeOf(this, CreateSlackChannelConfigurationException.prototype);
128
132
  this.Message = opts.Message;
129
133
  }
130
134
  }
131
135
  exports.CreateSlackChannelConfigurationException = CreateSlackChannelConfigurationException;
132
136
  class ResourceNotFoundException extends ChatbotServiceException_1.ChatbotServiceException {
137
+ name = "ResourceNotFoundException";
138
+ $fault = "client";
139
+ Message;
133
140
  constructor(opts) {
134
141
  super({
135
142
  name: "ResourceNotFoundException",
136
143
  $fault: "client",
137
144
  ...opts,
138
145
  });
139
- this.name = "ResourceNotFoundException";
140
- this.$fault = "client";
141
146
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
142
147
  this.Message = opts.Message;
143
148
  }
144
149
  }
145
150
  exports.ResourceNotFoundException = ResourceNotFoundException;
146
151
  class DeleteChimeWebhookConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
152
+ name = "DeleteChimeWebhookConfigurationException";
153
+ $fault = "server";
154
+ Message;
147
155
  constructor(opts) {
148
156
  super({
149
157
  name: "DeleteChimeWebhookConfigurationException",
150
158
  $fault: "server",
151
159
  ...opts,
152
160
  });
153
- this.name = "DeleteChimeWebhookConfigurationException";
154
- this.$fault = "server";
155
161
  Object.setPrototypeOf(this, DeleteChimeWebhookConfigurationException.prototype);
156
162
  this.Message = opts.Message;
157
163
  }
158
164
  }
159
165
  exports.DeleteChimeWebhookConfigurationException = DeleteChimeWebhookConfigurationException;
160
166
  class DeleteTeamsChannelConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
167
+ name = "DeleteTeamsChannelConfigurationException";
168
+ $fault = "server";
169
+ Message;
161
170
  constructor(opts) {
162
171
  super({
163
172
  name: "DeleteTeamsChannelConfigurationException",
164
173
  $fault: "server",
165
174
  ...opts,
166
175
  });
167
- this.name = "DeleteTeamsChannelConfigurationException";
168
- this.$fault = "server";
169
176
  Object.setPrototypeOf(this, DeleteTeamsChannelConfigurationException.prototype);
170
177
  this.Message = opts.Message;
171
178
  }
172
179
  }
173
180
  exports.DeleteTeamsChannelConfigurationException = DeleteTeamsChannelConfigurationException;
174
181
  class DeleteTeamsConfiguredTeamException extends ChatbotServiceException_1.ChatbotServiceException {
182
+ name = "DeleteTeamsConfiguredTeamException";
183
+ $fault = "server";
184
+ Message;
175
185
  constructor(opts) {
176
186
  super({
177
187
  name: "DeleteTeamsConfiguredTeamException",
178
188
  $fault: "server",
179
189
  ...opts,
180
190
  });
181
- this.name = "DeleteTeamsConfiguredTeamException";
182
- this.$fault = "server";
183
191
  Object.setPrototypeOf(this, DeleteTeamsConfiguredTeamException.prototype);
184
192
  this.Message = opts.Message;
185
193
  }
186
194
  }
187
195
  exports.DeleteTeamsConfiguredTeamException = DeleteTeamsConfiguredTeamException;
188
196
  class DeleteMicrosoftTeamsUserIdentityException extends ChatbotServiceException_1.ChatbotServiceException {
197
+ name = "DeleteMicrosoftTeamsUserIdentityException";
198
+ $fault = "server";
199
+ Message;
189
200
  constructor(opts) {
190
201
  super({
191
202
  name: "DeleteMicrosoftTeamsUserIdentityException",
192
203
  $fault: "server",
193
204
  ...opts,
194
205
  });
195
- this.name = "DeleteMicrosoftTeamsUserIdentityException";
196
- this.$fault = "server";
197
206
  Object.setPrototypeOf(this, DeleteMicrosoftTeamsUserIdentityException.prototype);
198
207
  this.Message = opts.Message;
199
208
  }
200
209
  }
201
210
  exports.DeleteMicrosoftTeamsUserIdentityException = DeleteMicrosoftTeamsUserIdentityException;
202
211
  class DeleteSlackChannelConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
212
+ name = "DeleteSlackChannelConfigurationException";
213
+ $fault = "server";
214
+ Message;
203
215
  constructor(opts) {
204
216
  super({
205
217
  name: "DeleteSlackChannelConfigurationException",
206
218
  $fault: "server",
207
219
  ...opts,
208
220
  });
209
- this.name = "DeleteSlackChannelConfigurationException";
210
- this.$fault = "server";
211
221
  Object.setPrototypeOf(this, DeleteSlackChannelConfigurationException.prototype);
212
222
  this.Message = opts.Message;
213
223
  }
214
224
  }
215
225
  exports.DeleteSlackChannelConfigurationException = DeleteSlackChannelConfigurationException;
216
226
  class DeleteSlackUserIdentityException extends ChatbotServiceException_1.ChatbotServiceException {
227
+ name = "DeleteSlackUserIdentityException";
228
+ $fault = "server";
229
+ Message;
217
230
  constructor(opts) {
218
231
  super({
219
232
  name: "DeleteSlackUserIdentityException",
220
233
  $fault: "server",
221
234
  ...opts,
222
235
  });
223
- this.name = "DeleteSlackUserIdentityException";
224
- this.$fault = "server";
225
236
  Object.setPrototypeOf(this, DeleteSlackUserIdentityException.prototype);
226
237
  this.Message = opts.Message;
227
238
  }
228
239
  }
229
240
  exports.DeleteSlackUserIdentityException = DeleteSlackUserIdentityException;
230
241
  class DeleteSlackWorkspaceAuthorizationFault extends ChatbotServiceException_1.ChatbotServiceException {
242
+ name = "DeleteSlackWorkspaceAuthorizationFault";
243
+ $fault = "server";
244
+ Message;
231
245
  constructor(opts) {
232
246
  super({
233
247
  name: "DeleteSlackWorkspaceAuthorizationFault",
234
248
  $fault: "server",
235
249
  ...opts,
236
250
  });
237
- this.name = "DeleteSlackWorkspaceAuthorizationFault";
238
- this.$fault = "server";
239
251
  Object.setPrototypeOf(this, DeleteSlackWorkspaceAuthorizationFault.prototype);
240
252
  this.Message = opts.Message;
241
253
  }
242
254
  }
243
255
  exports.DeleteSlackWorkspaceAuthorizationFault = DeleteSlackWorkspaceAuthorizationFault;
244
256
  class DescribeChimeWebhookConfigurationsException extends ChatbotServiceException_1.ChatbotServiceException {
257
+ name = "DescribeChimeWebhookConfigurationsException";
258
+ $fault = "server";
259
+ Message;
245
260
  constructor(opts) {
246
261
  super({
247
262
  name: "DescribeChimeWebhookConfigurationsException",
248
263
  $fault: "server",
249
264
  ...opts,
250
265
  });
251
- this.name = "DescribeChimeWebhookConfigurationsException";
252
- this.$fault = "server";
253
266
  Object.setPrototypeOf(this, DescribeChimeWebhookConfigurationsException.prototype);
254
267
  this.Message = opts.Message;
255
268
  }
256
269
  }
257
270
  exports.DescribeChimeWebhookConfigurationsException = DescribeChimeWebhookConfigurationsException;
258
271
  class DescribeSlackChannelConfigurationsException extends ChatbotServiceException_1.ChatbotServiceException {
272
+ name = "DescribeSlackChannelConfigurationsException";
273
+ $fault = "server";
274
+ Message;
259
275
  constructor(opts) {
260
276
  super({
261
277
  name: "DescribeSlackChannelConfigurationsException",
262
278
  $fault: "server",
263
279
  ...opts,
264
280
  });
265
- this.name = "DescribeSlackChannelConfigurationsException";
266
- this.$fault = "server";
267
281
  Object.setPrototypeOf(this, DescribeSlackChannelConfigurationsException.prototype);
268
282
  this.Message = opts.Message;
269
283
  }
270
284
  }
271
285
  exports.DescribeSlackChannelConfigurationsException = DescribeSlackChannelConfigurationsException;
272
286
  class DescribeSlackUserIdentitiesException extends ChatbotServiceException_1.ChatbotServiceException {
287
+ name = "DescribeSlackUserIdentitiesException";
288
+ $fault = "server";
289
+ Message;
273
290
  constructor(opts) {
274
291
  super({
275
292
  name: "DescribeSlackUserIdentitiesException",
276
293
  $fault: "server",
277
294
  ...opts,
278
295
  });
279
- this.name = "DescribeSlackUserIdentitiesException";
280
- this.$fault = "server";
281
296
  Object.setPrototypeOf(this, DescribeSlackUserIdentitiesException.prototype);
282
297
  this.Message = opts.Message;
283
298
  }
284
299
  }
285
300
  exports.DescribeSlackUserIdentitiesException = DescribeSlackUserIdentitiesException;
286
301
  class DescribeSlackWorkspacesException extends ChatbotServiceException_1.ChatbotServiceException {
302
+ name = "DescribeSlackWorkspacesException";
303
+ $fault = "server";
304
+ Message;
287
305
  constructor(opts) {
288
306
  super({
289
307
  name: "DescribeSlackWorkspacesException",
290
308
  $fault: "server",
291
309
  ...opts,
292
310
  });
293
- this.name = "DescribeSlackWorkspacesException";
294
- this.$fault = "server";
295
311
  Object.setPrototypeOf(this, DescribeSlackWorkspacesException.prototype);
296
312
  this.Message = opts.Message;
297
313
  }
298
314
  }
299
315
  exports.DescribeSlackWorkspacesException = DescribeSlackWorkspacesException;
300
316
  class GetAccountPreferencesException extends ChatbotServiceException_1.ChatbotServiceException {
317
+ name = "GetAccountPreferencesException";
318
+ $fault = "server";
319
+ Message;
301
320
  constructor(opts) {
302
321
  super({
303
322
  name: "GetAccountPreferencesException",
304
323
  $fault: "server",
305
324
  ...opts,
306
325
  });
307
- this.name = "GetAccountPreferencesException";
308
- this.$fault = "server";
309
326
  Object.setPrototypeOf(this, GetAccountPreferencesException.prototype);
310
327
  this.Message = opts.Message;
311
328
  }
312
329
  }
313
330
  exports.GetAccountPreferencesException = GetAccountPreferencesException;
314
331
  class GetTeamsChannelConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
332
+ name = "GetTeamsChannelConfigurationException";
333
+ $fault = "server";
334
+ Message;
315
335
  constructor(opts) {
316
336
  super({
317
337
  name: "GetTeamsChannelConfigurationException",
318
338
  $fault: "server",
319
339
  ...opts,
320
340
  });
321
- this.name = "GetTeamsChannelConfigurationException";
322
- this.$fault = "server";
323
341
  Object.setPrototypeOf(this, GetTeamsChannelConfigurationException.prototype);
324
342
  this.Message = opts.Message;
325
343
  }
326
344
  }
327
345
  exports.GetTeamsChannelConfigurationException = GetTeamsChannelConfigurationException;
328
346
  class ListTeamsChannelConfigurationsException extends ChatbotServiceException_1.ChatbotServiceException {
347
+ name = "ListTeamsChannelConfigurationsException";
348
+ $fault = "server";
349
+ Message;
329
350
  constructor(opts) {
330
351
  super({
331
352
  name: "ListTeamsChannelConfigurationsException",
332
353
  $fault: "server",
333
354
  ...opts,
334
355
  });
335
- this.name = "ListTeamsChannelConfigurationsException";
336
- this.$fault = "server";
337
356
  Object.setPrototypeOf(this, ListTeamsChannelConfigurationsException.prototype);
338
357
  this.Message = opts.Message;
339
358
  }
340
359
  }
341
360
  exports.ListTeamsChannelConfigurationsException = ListTeamsChannelConfigurationsException;
342
361
  class ListMicrosoftTeamsConfiguredTeamsException extends ChatbotServiceException_1.ChatbotServiceException {
362
+ name = "ListMicrosoftTeamsConfiguredTeamsException";
363
+ $fault = "server";
364
+ Message;
343
365
  constructor(opts) {
344
366
  super({
345
367
  name: "ListMicrosoftTeamsConfiguredTeamsException",
346
368
  $fault: "server",
347
369
  ...opts,
348
370
  });
349
- this.name = "ListMicrosoftTeamsConfiguredTeamsException";
350
- this.$fault = "server";
351
371
  Object.setPrototypeOf(this, ListMicrosoftTeamsConfiguredTeamsException.prototype);
352
372
  this.Message = opts.Message;
353
373
  }
354
374
  }
355
375
  exports.ListMicrosoftTeamsConfiguredTeamsException = ListMicrosoftTeamsConfiguredTeamsException;
356
376
  class ListMicrosoftTeamsUserIdentitiesException extends ChatbotServiceException_1.ChatbotServiceException {
377
+ name = "ListMicrosoftTeamsUserIdentitiesException";
378
+ $fault = "server";
379
+ Message;
357
380
  constructor(opts) {
358
381
  super({
359
382
  name: "ListMicrosoftTeamsUserIdentitiesException",
360
383
  $fault: "server",
361
384
  ...opts,
362
385
  });
363
- this.name = "ListMicrosoftTeamsUserIdentitiesException";
364
- this.$fault = "server";
365
386
  Object.setPrototypeOf(this, ListMicrosoftTeamsUserIdentitiesException.prototype);
366
387
  this.Message = opts.Message;
367
388
  }
368
389
  }
369
390
  exports.ListMicrosoftTeamsUserIdentitiesException = ListMicrosoftTeamsUserIdentitiesException;
370
391
  class ServiceUnavailableException extends ChatbotServiceException_1.ChatbotServiceException {
392
+ name = "ServiceUnavailableException";
393
+ $fault = "client";
371
394
  constructor(opts) {
372
395
  super({
373
396
  name: "ServiceUnavailableException",
374
397
  $fault: "client",
375
398
  ...opts,
376
399
  });
377
- this.name = "ServiceUnavailableException";
378
- this.$fault = "client";
379
400
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
380
401
  }
381
402
  }
382
403
  exports.ServiceUnavailableException = ServiceUnavailableException;
383
404
  class TooManyTagsException extends ChatbotServiceException_1.ChatbotServiceException {
405
+ name = "TooManyTagsException";
406
+ $fault = "client";
384
407
  constructor(opts) {
385
408
  super({
386
409
  name: "TooManyTagsException",
387
410
  $fault: "client",
388
411
  ...opts,
389
412
  });
390
- this.name = "TooManyTagsException";
391
- this.$fault = "client";
392
413
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
393
414
  }
394
415
  }
395
416
  exports.TooManyTagsException = TooManyTagsException;
396
417
  class UpdateAccountPreferencesException extends ChatbotServiceException_1.ChatbotServiceException {
418
+ name = "UpdateAccountPreferencesException";
419
+ $fault = "server";
420
+ Message;
397
421
  constructor(opts) {
398
422
  super({
399
423
  name: "UpdateAccountPreferencesException",
400
424
  $fault: "server",
401
425
  ...opts,
402
426
  });
403
- this.name = "UpdateAccountPreferencesException";
404
- this.$fault = "server";
405
427
  Object.setPrototypeOf(this, UpdateAccountPreferencesException.prototype);
406
428
  this.Message = opts.Message;
407
429
  }
408
430
  }
409
431
  exports.UpdateAccountPreferencesException = UpdateAccountPreferencesException;
410
432
  class UpdateChimeWebhookConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
433
+ name = "UpdateChimeWebhookConfigurationException";
434
+ $fault = "server";
435
+ Message;
411
436
  constructor(opts) {
412
437
  super({
413
438
  name: "UpdateChimeWebhookConfigurationException",
414
439
  $fault: "server",
415
440
  ...opts,
416
441
  });
417
- this.name = "UpdateChimeWebhookConfigurationException";
418
- this.$fault = "server";
419
442
  Object.setPrototypeOf(this, UpdateChimeWebhookConfigurationException.prototype);
420
443
  this.Message = opts.Message;
421
444
  }
422
445
  }
423
446
  exports.UpdateChimeWebhookConfigurationException = UpdateChimeWebhookConfigurationException;
424
447
  class UpdateTeamsChannelConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
448
+ name = "UpdateTeamsChannelConfigurationException";
449
+ $fault = "server";
450
+ Message;
425
451
  constructor(opts) {
426
452
  super({
427
453
  name: "UpdateTeamsChannelConfigurationException",
428
454
  $fault: "server",
429
455
  ...opts,
430
456
  });
431
- this.name = "UpdateTeamsChannelConfigurationException";
432
- this.$fault = "server";
433
457
  Object.setPrototypeOf(this, UpdateTeamsChannelConfigurationException.prototype);
434
458
  this.Message = opts.Message;
435
459
  }
436
460
  }
437
461
  exports.UpdateTeamsChannelConfigurationException = UpdateTeamsChannelConfigurationException;
438
462
  class UpdateSlackChannelConfigurationException extends ChatbotServiceException_1.ChatbotServiceException {
463
+ name = "UpdateSlackChannelConfigurationException";
464
+ $fault = "server";
465
+ Message;
439
466
  constructor(opts) {
440
467
  super({
441
468
  name: "UpdateSlackChannelConfigurationException",
442
469
  $fault: "server",
443
470
  ...opts,
444
471
  });
445
- this.name = "UpdateSlackChannelConfigurationException";
446
- this.$fault = "server";
447
472
  Object.setPrototypeOf(this, UpdateSlackChannelConfigurationException.prototype);
448
473
  this.Message = opts.Message;
449
474
  }
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class ChatbotClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,88 +1,90 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ChatbotServiceException as __BaseException } from "./ChatbotServiceException";
3
3
  export class InternalServiceError extends __BaseException {
4
+ name = "InternalServiceError";
5
+ $fault = "server";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "InternalServiceError",
7
10
  $fault: "server",
8
11
  ...opts,
9
12
  });
10
- this.name = "InternalServiceError";
11
- this.$fault = "server";
12
13
  Object.setPrototypeOf(this, InternalServiceError.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
15
16
  }
16
17
  export class InvalidRequestException extends __BaseException {
18
+ name = "InvalidRequestException";
19
+ $fault = "client";
17
20
  constructor(opts) {
18
21
  super({
19
22
  name: "InvalidRequestException",
20
23
  $fault: "client",
21
24
  ...opts,
22
25
  });
23
- this.name = "InvalidRequestException";
24
- this.$fault = "client";
25
26
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
26
27
  }
27
28
  }
28
29
  export class UnauthorizedException extends __BaseException {
30
+ name = "UnauthorizedException";
31
+ $fault = "client";
29
32
  constructor(opts) {
30
33
  super({
31
34
  name: "UnauthorizedException",
32
35
  $fault: "client",
33
36
  ...opts,
34
37
  });
35
- this.name = "UnauthorizedException";
36
- this.$fault = "client";
37
38
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
38
39
  }
39
40
  }
40
41
  export class ConflictException extends __BaseException {
42
+ name = "ConflictException";
43
+ $fault = "client";
41
44
  constructor(opts) {
42
45
  super({
43
46
  name: "ConflictException",
44
47
  $fault: "client",
45
48
  ...opts,
46
49
  });
47
- this.name = "ConflictException";
48
- this.$fault = "client";
49
50
  Object.setPrototypeOf(this, ConflictException.prototype);
50
51
  }
51
52
  }
52
53
  export class CreateChimeWebhookConfigurationException extends __BaseException {
54
+ name = "CreateChimeWebhookConfigurationException";
55
+ $fault = "server";
56
+ Message;
53
57
  constructor(opts) {
54
58
  super({
55
59
  name: "CreateChimeWebhookConfigurationException",
56
60
  $fault: "server",
57
61
  ...opts,
58
62
  });
59
- this.name = "CreateChimeWebhookConfigurationException";
60
- this.$fault = "server";
61
63
  Object.setPrototypeOf(this, CreateChimeWebhookConfigurationException.prototype);
62
64
  this.Message = opts.Message;
63
65
  }
64
66
  }
65
67
  export class InvalidParameterException extends __BaseException {
68
+ name = "InvalidParameterException";
69
+ $fault = "client";
66
70
  constructor(opts) {
67
71
  super({
68
72
  name: "InvalidParameterException",
69
73
  $fault: "client",
70
74
  ...opts,
71
75
  });
72
- this.name = "InvalidParameterException";
73
- this.$fault = "client";
74
76
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
75
77
  }
76
78
  }
77
79
  export class LimitExceededException extends __BaseException {
80
+ name = "LimitExceededException";
81
+ $fault = "client";
78
82
  constructor(opts) {
79
83
  super({
80
84
  name: "LimitExceededException",
81
85
  $fault: "client",
82
86
  ...opts,
83
87
  });
84
- this.name = "LimitExceededException";
85
- this.$fault = "client";
86
88
  Object.setPrototypeOf(this, LimitExceededException.prototype);
87
89
  }
88
90
  }
@@ -91,324 +93,347 @@ export const CustomActionAttachmentCriteriaOperator = {
91
93
  HAS_VALUE: "HAS_VALUE",
92
94
  };
93
95
  export class CreateTeamsChannelConfigurationException extends __BaseException {
96
+ name = "CreateTeamsChannelConfigurationException";
97
+ $fault = "server";
98
+ Message;
94
99
  constructor(opts) {
95
100
  super({
96
101
  name: "CreateTeamsChannelConfigurationException",
97
102
  $fault: "server",
98
103
  ...opts,
99
104
  });
100
- this.name = "CreateTeamsChannelConfigurationException";
101
- this.$fault = "server";
102
105
  Object.setPrototypeOf(this, CreateTeamsChannelConfigurationException.prototype);
103
106
  this.Message = opts.Message;
104
107
  }
105
108
  }
106
109
  export class CreateSlackChannelConfigurationException extends __BaseException {
110
+ name = "CreateSlackChannelConfigurationException";
111
+ $fault = "server";
112
+ Message;
107
113
  constructor(opts) {
108
114
  super({
109
115
  name: "CreateSlackChannelConfigurationException",
110
116
  $fault: "server",
111
117
  ...opts,
112
118
  });
113
- this.name = "CreateSlackChannelConfigurationException";
114
- this.$fault = "server";
115
119
  Object.setPrototypeOf(this, CreateSlackChannelConfigurationException.prototype);
116
120
  this.Message = opts.Message;
117
121
  }
118
122
  }
119
123
  export class ResourceNotFoundException extends __BaseException {
124
+ name = "ResourceNotFoundException";
125
+ $fault = "client";
126
+ Message;
120
127
  constructor(opts) {
121
128
  super({
122
129
  name: "ResourceNotFoundException",
123
130
  $fault: "client",
124
131
  ...opts,
125
132
  });
126
- this.name = "ResourceNotFoundException";
127
- this.$fault = "client";
128
133
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
129
134
  this.Message = opts.Message;
130
135
  }
131
136
  }
132
137
  export class DeleteChimeWebhookConfigurationException extends __BaseException {
138
+ name = "DeleteChimeWebhookConfigurationException";
139
+ $fault = "server";
140
+ Message;
133
141
  constructor(opts) {
134
142
  super({
135
143
  name: "DeleteChimeWebhookConfigurationException",
136
144
  $fault: "server",
137
145
  ...opts,
138
146
  });
139
- this.name = "DeleteChimeWebhookConfigurationException";
140
- this.$fault = "server";
141
147
  Object.setPrototypeOf(this, DeleteChimeWebhookConfigurationException.prototype);
142
148
  this.Message = opts.Message;
143
149
  }
144
150
  }
145
151
  export class DeleteTeamsChannelConfigurationException extends __BaseException {
152
+ name = "DeleteTeamsChannelConfigurationException";
153
+ $fault = "server";
154
+ Message;
146
155
  constructor(opts) {
147
156
  super({
148
157
  name: "DeleteTeamsChannelConfigurationException",
149
158
  $fault: "server",
150
159
  ...opts,
151
160
  });
152
- this.name = "DeleteTeamsChannelConfigurationException";
153
- this.$fault = "server";
154
161
  Object.setPrototypeOf(this, DeleteTeamsChannelConfigurationException.prototype);
155
162
  this.Message = opts.Message;
156
163
  }
157
164
  }
158
165
  export class DeleteTeamsConfiguredTeamException extends __BaseException {
166
+ name = "DeleteTeamsConfiguredTeamException";
167
+ $fault = "server";
168
+ Message;
159
169
  constructor(opts) {
160
170
  super({
161
171
  name: "DeleteTeamsConfiguredTeamException",
162
172
  $fault: "server",
163
173
  ...opts,
164
174
  });
165
- this.name = "DeleteTeamsConfiguredTeamException";
166
- this.$fault = "server";
167
175
  Object.setPrototypeOf(this, DeleteTeamsConfiguredTeamException.prototype);
168
176
  this.Message = opts.Message;
169
177
  }
170
178
  }
171
179
  export class DeleteMicrosoftTeamsUserIdentityException extends __BaseException {
180
+ name = "DeleteMicrosoftTeamsUserIdentityException";
181
+ $fault = "server";
182
+ Message;
172
183
  constructor(opts) {
173
184
  super({
174
185
  name: "DeleteMicrosoftTeamsUserIdentityException",
175
186
  $fault: "server",
176
187
  ...opts,
177
188
  });
178
- this.name = "DeleteMicrosoftTeamsUserIdentityException";
179
- this.$fault = "server";
180
189
  Object.setPrototypeOf(this, DeleteMicrosoftTeamsUserIdentityException.prototype);
181
190
  this.Message = opts.Message;
182
191
  }
183
192
  }
184
193
  export class DeleteSlackChannelConfigurationException extends __BaseException {
194
+ name = "DeleteSlackChannelConfigurationException";
195
+ $fault = "server";
196
+ Message;
185
197
  constructor(opts) {
186
198
  super({
187
199
  name: "DeleteSlackChannelConfigurationException",
188
200
  $fault: "server",
189
201
  ...opts,
190
202
  });
191
- this.name = "DeleteSlackChannelConfigurationException";
192
- this.$fault = "server";
193
203
  Object.setPrototypeOf(this, DeleteSlackChannelConfigurationException.prototype);
194
204
  this.Message = opts.Message;
195
205
  }
196
206
  }
197
207
  export class DeleteSlackUserIdentityException extends __BaseException {
208
+ name = "DeleteSlackUserIdentityException";
209
+ $fault = "server";
210
+ Message;
198
211
  constructor(opts) {
199
212
  super({
200
213
  name: "DeleteSlackUserIdentityException",
201
214
  $fault: "server",
202
215
  ...opts,
203
216
  });
204
- this.name = "DeleteSlackUserIdentityException";
205
- this.$fault = "server";
206
217
  Object.setPrototypeOf(this, DeleteSlackUserIdentityException.prototype);
207
218
  this.Message = opts.Message;
208
219
  }
209
220
  }
210
221
  export class DeleteSlackWorkspaceAuthorizationFault extends __BaseException {
222
+ name = "DeleteSlackWorkspaceAuthorizationFault";
223
+ $fault = "server";
224
+ Message;
211
225
  constructor(opts) {
212
226
  super({
213
227
  name: "DeleteSlackWorkspaceAuthorizationFault",
214
228
  $fault: "server",
215
229
  ...opts,
216
230
  });
217
- this.name = "DeleteSlackWorkspaceAuthorizationFault";
218
- this.$fault = "server";
219
231
  Object.setPrototypeOf(this, DeleteSlackWorkspaceAuthorizationFault.prototype);
220
232
  this.Message = opts.Message;
221
233
  }
222
234
  }
223
235
  export class DescribeChimeWebhookConfigurationsException extends __BaseException {
236
+ name = "DescribeChimeWebhookConfigurationsException";
237
+ $fault = "server";
238
+ Message;
224
239
  constructor(opts) {
225
240
  super({
226
241
  name: "DescribeChimeWebhookConfigurationsException",
227
242
  $fault: "server",
228
243
  ...opts,
229
244
  });
230
- this.name = "DescribeChimeWebhookConfigurationsException";
231
- this.$fault = "server";
232
245
  Object.setPrototypeOf(this, DescribeChimeWebhookConfigurationsException.prototype);
233
246
  this.Message = opts.Message;
234
247
  }
235
248
  }
236
249
  export class DescribeSlackChannelConfigurationsException extends __BaseException {
250
+ name = "DescribeSlackChannelConfigurationsException";
251
+ $fault = "server";
252
+ Message;
237
253
  constructor(opts) {
238
254
  super({
239
255
  name: "DescribeSlackChannelConfigurationsException",
240
256
  $fault: "server",
241
257
  ...opts,
242
258
  });
243
- this.name = "DescribeSlackChannelConfigurationsException";
244
- this.$fault = "server";
245
259
  Object.setPrototypeOf(this, DescribeSlackChannelConfigurationsException.prototype);
246
260
  this.Message = opts.Message;
247
261
  }
248
262
  }
249
263
  export class DescribeSlackUserIdentitiesException extends __BaseException {
264
+ name = "DescribeSlackUserIdentitiesException";
265
+ $fault = "server";
266
+ Message;
250
267
  constructor(opts) {
251
268
  super({
252
269
  name: "DescribeSlackUserIdentitiesException",
253
270
  $fault: "server",
254
271
  ...opts,
255
272
  });
256
- this.name = "DescribeSlackUserIdentitiesException";
257
- this.$fault = "server";
258
273
  Object.setPrototypeOf(this, DescribeSlackUserIdentitiesException.prototype);
259
274
  this.Message = opts.Message;
260
275
  }
261
276
  }
262
277
  export class DescribeSlackWorkspacesException extends __BaseException {
278
+ name = "DescribeSlackWorkspacesException";
279
+ $fault = "server";
280
+ Message;
263
281
  constructor(opts) {
264
282
  super({
265
283
  name: "DescribeSlackWorkspacesException",
266
284
  $fault: "server",
267
285
  ...opts,
268
286
  });
269
- this.name = "DescribeSlackWorkspacesException";
270
- this.$fault = "server";
271
287
  Object.setPrototypeOf(this, DescribeSlackWorkspacesException.prototype);
272
288
  this.Message = opts.Message;
273
289
  }
274
290
  }
275
291
  export class GetAccountPreferencesException extends __BaseException {
292
+ name = "GetAccountPreferencesException";
293
+ $fault = "server";
294
+ Message;
276
295
  constructor(opts) {
277
296
  super({
278
297
  name: "GetAccountPreferencesException",
279
298
  $fault: "server",
280
299
  ...opts,
281
300
  });
282
- this.name = "GetAccountPreferencesException";
283
- this.$fault = "server";
284
301
  Object.setPrototypeOf(this, GetAccountPreferencesException.prototype);
285
302
  this.Message = opts.Message;
286
303
  }
287
304
  }
288
305
  export class GetTeamsChannelConfigurationException extends __BaseException {
306
+ name = "GetTeamsChannelConfigurationException";
307
+ $fault = "server";
308
+ Message;
289
309
  constructor(opts) {
290
310
  super({
291
311
  name: "GetTeamsChannelConfigurationException",
292
312
  $fault: "server",
293
313
  ...opts,
294
314
  });
295
- this.name = "GetTeamsChannelConfigurationException";
296
- this.$fault = "server";
297
315
  Object.setPrototypeOf(this, GetTeamsChannelConfigurationException.prototype);
298
316
  this.Message = opts.Message;
299
317
  }
300
318
  }
301
319
  export class ListTeamsChannelConfigurationsException extends __BaseException {
320
+ name = "ListTeamsChannelConfigurationsException";
321
+ $fault = "server";
322
+ Message;
302
323
  constructor(opts) {
303
324
  super({
304
325
  name: "ListTeamsChannelConfigurationsException",
305
326
  $fault: "server",
306
327
  ...opts,
307
328
  });
308
- this.name = "ListTeamsChannelConfigurationsException";
309
- this.$fault = "server";
310
329
  Object.setPrototypeOf(this, ListTeamsChannelConfigurationsException.prototype);
311
330
  this.Message = opts.Message;
312
331
  }
313
332
  }
314
333
  export class ListMicrosoftTeamsConfiguredTeamsException extends __BaseException {
334
+ name = "ListMicrosoftTeamsConfiguredTeamsException";
335
+ $fault = "server";
336
+ Message;
315
337
  constructor(opts) {
316
338
  super({
317
339
  name: "ListMicrosoftTeamsConfiguredTeamsException",
318
340
  $fault: "server",
319
341
  ...opts,
320
342
  });
321
- this.name = "ListMicrosoftTeamsConfiguredTeamsException";
322
- this.$fault = "server";
323
343
  Object.setPrototypeOf(this, ListMicrosoftTeamsConfiguredTeamsException.prototype);
324
344
  this.Message = opts.Message;
325
345
  }
326
346
  }
327
347
  export class ListMicrosoftTeamsUserIdentitiesException extends __BaseException {
348
+ name = "ListMicrosoftTeamsUserIdentitiesException";
349
+ $fault = "server";
350
+ Message;
328
351
  constructor(opts) {
329
352
  super({
330
353
  name: "ListMicrosoftTeamsUserIdentitiesException",
331
354
  $fault: "server",
332
355
  ...opts,
333
356
  });
334
- this.name = "ListMicrosoftTeamsUserIdentitiesException";
335
- this.$fault = "server";
336
357
  Object.setPrototypeOf(this, ListMicrosoftTeamsUserIdentitiesException.prototype);
337
358
  this.Message = opts.Message;
338
359
  }
339
360
  }
340
361
  export class ServiceUnavailableException extends __BaseException {
362
+ name = "ServiceUnavailableException";
363
+ $fault = "client";
341
364
  constructor(opts) {
342
365
  super({
343
366
  name: "ServiceUnavailableException",
344
367
  $fault: "client",
345
368
  ...opts,
346
369
  });
347
- this.name = "ServiceUnavailableException";
348
- this.$fault = "client";
349
370
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
350
371
  }
351
372
  }
352
373
  export class TooManyTagsException extends __BaseException {
374
+ name = "TooManyTagsException";
375
+ $fault = "client";
353
376
  constructor(opts) {
354
377
  super({
355
378
  name: "TooManyTagsException",
356
379
  $fault: "client",
357
380
  ...opts,
358
381
  });
359
- this.name = "TooManyTagsException";
360
- this.$fault = "client";
361
382
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
362
383
  }
363
384
  }
364
385
  export class UpdateAccountPreferencesException extends __BaseException {
386
+ name = "UpdateAccountPreferencesException";
387
+ $fault = "server";
388
+ Message;
365
389
  constructor(opts) {
366
390
  super({
367
391
  name: "UpdateAccountPreferencesException",
368
392
  $fault: "server",
369
393
  ...opts,
370
394
  });
371
- this.name = "UpdateAccountPreferencesException";
372
- this.$fault = "server";
373
395
  Object.setPrototypeOf(this, UpdateAccountPreferencesException.prototype);
374
396
  this.Message = opts.Message;
375
397
  }
376
398
  }
377
399
  export class UpdateChimeWebhookConfigurationException extends __BaseException {
400
+ name = "UpdateChimeWebhookConfigurationException";
401
+ $fault = "server";
402
+ Message;
378
403
  constructor(opts) {
379
404
  super({
380
405
  name: "UpdateChimeWebhookConfigurationException",
381
406
  $fault: "server",
382
407
  ...opts,
383
408
  });
384
- this.name = "UpdateChimeWebhookConfigurationException";
385
- this.$fault = "server";
386
409
  Object.setPrototypeOf(this, UpdateChimeWebhookConfigurationException.prototype);
387
410
  this.Message = opts.Message;
388
411
  }
389
412
  }
390
413
  export class UpdateTeamsChannelConfigurationException extends __BaseException {
414
+ name = "UpdateTeamsChannelConfigurationException";
415
+ $fault = "server";
416
+ Message;
391
417
  constructor(opts) {
392
418
  super({
393
419
  name: "UpdateTeamsChannelConfigurationException",
394
420
  $fault: "server",
395
421
  ...opts,
396
422
  });
397
- this.name = "UpdateTeamsChannelConfigurationException";
398
- this.$fault = "server";
399
423
  Object.setPrototypeOf(this, UpdateTeamsChannelConfigurationException.prototype);
400
424
  this.Message = opts.Message;
401
425
  }
402
426
  }
403
427
  export class UpdateSlackChannelConfigurationException extends __BaseException {
428
+ name = "UpdateSlackChannelConfigurationException";
429
+ $fault = "server";
430
+ Message;
404
431
  constructor(opts) {
405
432
  super({
406
433
  name: "UpdateSlackChannelConfigurationException",
407
434
  $fault: "server",
408
435
  ...opts,
409
436
  });
410
- this.name = "UpdateSlackChannelConfigurationException";
411
- this.$fault = "server";
412
437
  Object.setPrototypeOf(this, UpdateSlackChannelConfigurationException.prototype);
413
438
  this.Message = opts.Message;
414
439
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: ChatbotClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chatbot",
3
3
  "description": "AWS SDK for JavaScript Chatbot Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {