@wildix/wim-tools-client 1.0.2 → 3.1.3

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.
Files changed (84) hide show
  1. package/dist-cjs/Tools.js +3 -3
  2. package/dist-cjs/ToolsClient.js +34 -25
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  5. package/dist-cjs/commands/CreateToolCommand.js +10 -11
  6. package/dist-cjs/commands/DeleteToolCommand.js +10 -11
  7. package/dist-cjs/commands/DescribeToolsCommand.js +10 -11
  8. package/dist-cjs/commands/DiscoverToolsCommand.js +10 -11
  9. package/dist-cjs/commands/ExecuteToolCommand.js +10 -11
  10. package/dist-cjs/commands/GetToolCommand.js +10 -11
  11. package/dist-cjs/commands/ListToolsCommand.js +10 -11
  12. package/dist-cjs/commands/UpdateToolCommand.js +10 -11
  13. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  14. package/dist-cjs/endpoint/bdd.js +28 -0
  15. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  16. package/dist-cjs/index.js +4 -1
  17. package/dist-cjs/models/ToolsServiceException.js +3 -3
  18. package/dist-cjs/models/enums.js +18 -0
  19. package/dist-cjs/models/errors.js +99 -0
  20. package/dist-cjs/models/models_0.js +0 -174
  21. package/dist-cjs/runtimeConfig.browser.js +11 -11
  22. package/dist-cjs/runtimeConfig.js +22 -18
  23. package/dist-cjs/runtimeConfig.shared.js +30 -10
  24. package/dist-cjs/runtimeExtensions.js +6 -5
  25. package/dist-cjs/schemas/schemas_0.js +458 -0
  26. package/dist-es/Tools.js +4 -4
  27. package/dist-es/ToolsClient.js +30 -21
  28. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  29. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  30. package/dist-es/commands/CreateToolCommand.js +9 -10
  31. package/dist-es/commands/DeleteToolCommand.js +9 -10
  32. package/dist-es/commands/DescribeToolsCommand.js +9 -10
  33. package/dist-es/commands/DiscoverToolsCommand.js +9 -10
  34. package/dist-es/commands/ExecuteToolCommand.js +9 -10
  35. package/dist-es/commands/GetToolCommand.js +9 -10
  36. package/dist-es/commands/ListToolsCommand.js +9 -10
  37. package/dist-es/commands/UpdateToolCommand.js +9 -10
  38. package/dist-es/endpoint/EndpointParameters.js +12 -0
  39. package/dist-es/endpoint/bdd.js +25 -0
  40. package/dist-es/endpoint/endpointResolver.js +12 -0
  41. package/dist-es/index.js +4 -1
  42. package/dist-es/models/ToolsServiceException.js +1 -1
  43. package/dist-es/models/enums.js +15 -0
  44. package/dist-es/models/errors.js +89 -0
  45. package/dist-es/models/models_0.js +1 -166
  46. package/dist-es/runtimeConfig.browser.js +7 -7
  47. package/dist-es/runtimeConfig.js +17 -13
  48. package/dist-es/runtimeConfig.shared.js +24 -4
  49. package/dist-es/runtimeExtensions.js +6 -5
  50. package/dist-es/schemas/schemas_0.js +454 -0
  51. package/dist-types/Tools.d.ts +9 -9
  52. package/dist-types/ToolsClient.d.ts +38 -21
  53. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  54. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  55. package/dist-types/commands/CreateToolCommand.d.ts +11 -7
  56. package/dist-types/commands/DeleteToolCommand.d.ts +11 -7
  57. package/dist-types/commands/DescribeToolsCommand.d.ts +11 -7
  58. package/dist-types/commands/DiscoverToolsCommand.d.ts +11 -7
  59. package/dist-types/commands/ExecuteToolCommand.d.ts +11 -7
  60. package/dist-types/commands/GetToolCommand.d.ts +11 -7
  61. package/dist-types/commands/ListToolsCommand.d.ts +11 -7
  62. package/dist-types/commands/UpdateToolCommand.d.ts +11 -7
  63. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  64. package/dist-types/endpoint/bdd.d.ts +2 -0
  65. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  66. package/dist-types/extensionConfiguration.d.ts +4 -3
  67. package/dist-types/index.d.ts +5 -1
  68. package/dist-types/models/ToolsServiceException.d.ts +1 -1
  69. package/dist-types/models/enums.d.ts +31 -0
  70. package/dist-types/models/errors.d.ts +90 -0
  71. package/dist-types/models/models_0.d.ts +32 -136
  72. package/dist-types/runtimeConfig.browser.d.ts +35 -17
  73. package/dist-types/runtimeConfig.d.ts +34 -16
  74. package/dist-types/runtimeConfig.native.d.ts +36 -18
  75. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  76. package/dist-types/runtimeExtensions.d.ts +1 -1
  77. package/dist-types/schemas/schemas_0.d.ts +66 -0
  78. package/package.json +13 -38
  79. package/dist-cjs/models/index.js +0 -4
  80. package/dist-cjs/protocols/Aws_restJson1.js +0 -518
  81. package/dist-es/models/index.js +0 -1
  82. package/dist-es/protocols/Aws_restJson1.js +0 -499
  83. package/dist-types/models/index.d.ts +0 -1
  84. package/dist-types/protocols/Aws_restJson1.d.ts +0 -74
@@ -1,499 +0,0 @@
1
- import { ToolsServiceException as __BaseException } from "../models/ToolsServiceException";
2
- import { AlreadyExistException, ForbiddenException, NotFoundException, ToolExecutionException, ToolExecutionServerException, UnauthorizedException, ValidationException, } from "../models/models_0";
3
- import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
4
- import { requestBuilder as rb } from "@smithy/core";
5
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
6
- export const se_CreateToolCommand = async (input, context) => {
7
- const b = rb(input, context);
8
- const headers = {
9
- 'content-type': 'application/json',
10
- };
11
- b.bp("/v1/tools");
12
- const query = map({
13
- [_c]: [, input[_cI]],
14
- });
15
- let body;
16
- body = JSON.stringify(take(input, {
17
- 'category': [],
18
- 'description': [],
19
- 'handler': _ => _json(_),
20
- 'input': _ => se_ToolInput(_, context),
21
- 'name': [],
22
- }));
23
- b.m("POST")
24
- .h(headers)
25
- .q(query)
26
- .b(body);
27
- return b.build();
28
- };
29
- export const se_DeleteToolCommand = async (input, context) => {
30
- const b = rb(input, context);
31
- const headers = {};
32
- b.bp("/v1/tools/{toolId}");
33
- b.p('toolId', () => input.toolId, '{toolId}', false);
34
- const query = map({
35
- [_c]: [, input[_cI]],
36
- });
37
- let body;
38
- b.m("DELETE")
39
- .h(headers)
40
- .q(query)
41
- .b(body);
42
- return b.build();
43
- };
44
- export const se_DescribeToolsCommand = async (input, context) => {
45
- const b = rb(input, context);
46
- const headers = {
47
- 'content-type': 'application/json',
48
- };
49
- b.bp("/v1/tools/describe");
50
- const query = map({
51
- [_c]: [, input[_cI]],
52
- });
53
- let body;
54
- body = JSON.stringify(take(input, {
55
- 'ids': _ => _json(_),
56
- }));
57
- b.m("POST")
58
- .h(headers)
59
- .q(query)
60
- .b(body);
61
- return b.build();
62
- };
63
- export const se_DiscoverToolsCommand = async (input, context) => {
64
- const b = rb(input, context);
65
- const headers = {
66
- 'content-type': 'application/json',
67
- };
68
- b.bp("/v1/tools/discover");
69
- const query = map({
70
- [_c]: [, input[_cI]],
71
- });
72
- let body;
73
- body = JSON.stringify(take(input, {
74
- 'authorization': _ => _json(_),
75
- 'serverUrl': [],
76
- }));
77
- b.m("POST")
78
- .h(headers)
79
- .q(query)
80
- .b(body);
81
- return b.build();
82
- };
83
- export const se_ExecuteToolCommand = async (input, context) => {
84
- const b = rb(input, context);
85
- const headers = {
86
- 'content-type': 'application/json',
87
- };
88
- b.bp("/v1/tools/execute");
89
- const query = map({
90
- [_c]: [, input[_cI]],
91
- });
92
- let body;
93
- body = JSON.stringify(take(input, {
94
- 'id': [],
95
- 'input': _ => se_Document(_, context),
96
- 'service': [],
97
- 'user': [],
98
- }));
99
- b.m("POST")
100
- .h(headers)
101
- .q(query)
102
- .b(body);
103
- return b.build();
104
- };
105
- export const se_GetToolCommand = async (input, context) => {
106
- const b = rb(input, context);
107
- const headers = {};
108
- b.bp("/v1/tools/{toolId}");
109
- b.p('toolId', () => input.toolId, '{toolId}', false);
110
- const query = map({
111
- [_c]: [, input[_cI]],
112
- });
113
- let body;
114
- b.m("GET")
115
- .h(headers)
116
- .q(query)
117
- .b(body);
118
- return b.build();
119
- };
120
- export const se_ListToolsCommand = async (input, context) => {
121
- const b = rb(input, context);
122
- const headers = {};
123
- b.bp("/v1/tools");
124
- const query = map({
125
- [_c]: [, input[_cI]],
126
- });
127
- let body;
128
- b.m("GET")
129
- .h(headers)
130
- .q(query)
131
- .b(body);
132
- return b.build();
133
- };
134
- export const se_UpdateToolCommand = async (input, context) => {
135
- const b = rb(input, context);
136
- const headers = {
137
- 'content-type': 'application/json',
138
- };
139
- b.bp("/v1/tools/{toolId}");
140
- b.p('toolId', () => input.toolId, '{toolId}', false);
141
- const query = map({
142
- [_c]: [, input[_cI]],
143
- });
144
- let body;
145
- body = JSON.stringify(take(input, {
146
- 'category': [],
147
- 'description': [],
148
- 'handler': _ => _json(_),
149
- 'input': _ => se_ToolInput(_, context),
150
- 'name': [],
151
- }));
152
- b.m("PUT")
153
- .h(headers)
154
- .q(query)
155
- .b(body);
156
- return b.build();
157
- };
158
- export const de_CreateToolCommand = async (output, context) => {
159
- if (output.statusCode !== 201 && output.statusCode >= 300) {
160
- return de_CommandError(output, context);
161
- }
162
- const contents = map({
163
- $metadata: deserializeMetadata(output),
164
- });
165
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
166
- const doc = take(data, {
167
- 'tool': _ => de_Tool(_, context),
168
- });
169
- Object.assign(contents, doc);
170
- return contents;
171
- };
172
- export const de_DeleteToolCommand = async (output, context) => {
173
- if (output.statusCode !== 204 && output.statusCode >= 300) {
174
- return de_CommandError(output, context);
175
- }
176
- const contents = map({
177
- $metadata: deserializeMetadata(output),
178
- });
179
- await collectBody(output.body, context);
180
- return contents;
181
- };
182
- export const de_DescribeToolsCommand = async (output, context) => {
183
- if (output.statusCode !== 200 && output.statusCode >= 300) {
184
- return de_CommandError(output, context);
185
- }
186
- const contents = map({
187
- $metadata: deserializeMetadata(output),
188
- });
189
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
190
- const doc = take(data, {
191
- 'descriptions': _ => de_ToolDescriptionList(_, context),
192
- });
193
- Object.assign(contents, doc);
194
- return contents;
195
- };
196
- export const de_DiscoverToolsCommand = async (output, context) => {
197
- if (output.statusCode !== 200 && output.statusCode >= 300) {
198
- return de_CommandError(output, context);
199
- }
200
- const contents = map({
201
- $metadata: deserializeMetadata(output),
202
- });
203
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
204
- const doc = take(data, {
205
- 'tools': _ => de_DiscoveredToolList(_, context),
206
- });
207
- Object.assign(contents, doc);
208
- return contents;
209
- };
210
- export const de_ExecuteToolCommand = async (output, context) => {
211
- if (output.statusCode !== 200 && output.statusCode >= 300) {
212
- return de_CommandError(output, context);
213
- }
214
- const contents = map({
215
- $metadata: deserializeMetadata(output),
216
- });
217
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
218
- const doc = take(data, {
219
- 'result': _ => de_ToolExecutionResult(_, context),
220
- });
221
- Object.assign(contents, doc);
222
- return contents;
223
- };
224
- export const de_GetToolCommand = async (output, context) => {
225
- if (output.statusCode !== 200 && output.statusCode >= 300) {
226
- return de_CommandError(output, context);
227
- }
228
- const contents = map({
229
- $metadata: deserializeMetadata(output),
230
- });
231
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
232
- const doc = take(data, {
233
- 'tool': _ => de_Tool(_, context),
234
- });
235
- Object.assign(contents, doc);
236
- return contents;
237
- };
238
- export const de_ListToolsCommand = async (output, context) => {
239
- if (output.statusCode !== 200 && output.statusCode >= 300) {
240
- return de_CommandError(output, context);
241
- }
242
- const contents = map({
243
- $metadata: deserializeMetadata(output),
244
- });
245
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
246
- const doc = take(data, {
247
- 'tools': _ => de_ToolsList(_, context),
248
- });
249
- Object.assign(contents, doc);
250
- return contents;
251
- };
252
- export const de_UpdateToolCommand = async (output, context) => {
253
- if (output.statusCode !== 200 && output.statusCode >= 300) {
254
- return de_CommandError(output, context);
255
- }
256
- const contents = map({
257
- $metadata: deserializeMetadata(output),
258
- });
259
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
260
- const doc = take(data, {
261
- 'tool': _ => de_Tool(_, context),
262
- });
263
- Object.assign(contents, doc);
264
- return contents;
265
- };
266
- const de_CommandError = async (output, context) => {
267
- const parsedOutput = {
268
- ...output,
269
- body: await parseErrorBody(output.body, context)
270
- };
271
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
272
- switch (errorCode) {
273
- case "AlreadyExistException":
274
- case "smithy.framework#AlreadyExistException":
275
- throw await de_AlreadyExistExceptionRes(parsedOutput, context);
276
- case "ForbiddenException":
277
- case "smithy.framework#ForbiddenException":
278
- throw await de_ForbiddenExceptionRes(parsedOutput, context);
279
- case "NotFoundException":
280
- case "smithy.framework#NotFoundException":
281
- throw await de_NotFoundExceptionRes(parsedOutput, context);
282
- case "ToolExecutionException":
283
- case "wildix.wim.tools#ToolExecutionException":
284
- throw await de_ToolExecutionExceptionRes(parsedOutput, context);
285
- case "ToolExecutionServerException":
286
- case "wildix.wim.tools#ToolExecutionServerException":
287
- throw await de_ToolExecutionServerExceptionRes(parsedOutput, context);
288
- case "UnauthorizedException":
289
- case "smithy.framework#UnauthorizedException":
290
- throw await de_UnauthorizedExceptionRes(parsedOutput, context);
291
- case "ValidationException":
292
- case "smithy.framework#ValidationException":
293
- throw await de_ValidationExceptionRes(parsedOutput, context);
294
- default:
295
- const parsedBody = parsedOutput.body;
296
- return throwDefaultError({
297
- output,
298
- parsedBody,
299
- errorCode
300
- });
301
- }
302
- };
303
- const throwDefaultError = withBaseException(__BaseException);
304
- const de_AlreadyExistExceptionRes = async (parsedOutput, context) => {
305
- const contents = map({});
306
- const data = parsedOutput.body;
307
- const doc = take(data, {
308
- 'message': __expectString,
309
- });
310
- Object.assign(contents, doc);
311
- const exception = new AlreadyExistException({
312
- $metadata: deserializeMetadata(parsedOutput),
313
- ...contents
314
- });
315
- return __decorateServiceException(exception, parsedOutput.body);
316
- };
317
- const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
318
- const contents = map({});
319
- const data = parsedOutput.body;
320
- const doc = take(data, {
321
- 'message': __expectString,
322
- });
323
- Object.assign(contents, doc);
324
- const exception = new ForbiddenException({
325
- $metadata: deserializeMetadata(parsedOutput),
326
- ...contents
327
- });
328
- return __decorateServiceException(exception, parsedOutput.body);
329
- };
330
- const de_NotFoundExceptionRes = async (parsedOutput, context) => {
331
- const contents = map({});
332
- const data = parsedOutput.body;
333
- const doc = take(data, {
334
- 'message': __expectString,
335
- });
336
- Object.assign(contents, doc);
337
- const exception = new NotFoundException({
338
- $metadata: deserializeMetadata(parsedOutput),
339
- ...contents
340
- });
341
- return __decorateServiceException(exception, parsedOutput.body);
342
- };
343
- const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
344
- const contents = map({});
345
- const data = parsedOutput.body;
346
- const doc = take(data, {
347
- 'message': __expectString,
348
- });
349
- Object.assign(contents, doc);
350
- const exception = new UnauthorizedException({
351
- $metadata: deserializeMetadata(parsedOutput),
352
- ...contents
353
- });
354
- return __decorateServiceException(exception, parsedOutput.body);
355
- };
356
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
357
- const contents = map({});
358
- const data = parsedOutput.body;
359
- const doc = take(data, {
360
- 'message': __expectString,
361
- });
362
- Object.assign(contents, doc);
363
- const exception = new ValidationException({
364
- $metadata: deserializeMetadata(parsedOutput),
365
- ...contents
366
- });
367
- return __decorateServiceException(exception, parsedOutput.body);
368
- };
369
- const de_ToolExecutionExceptionRes = async (parsedOutput, context) => {
370
- const contents = map({});
371
- const data = parsedOutput.body;
372
- const doc = take(data, {
373
- 'details': _ => de_Document(_, context),
374
- 'message': __expectString,
375
- });
376
- Object.assign(contents, doc);
377
- const exception = new ToolExecutionException({
378
- $metadata: deserializeMetadata(parsedOutput),
379
- ...contents
380
- });
381
- return __decorateServiceException(exception, parsedOutput.body);
382
- };
383
- const de_ToolExecutionServerExceptionRes = async (parsedOutput, context) => {
384
- const contents = map({});
385
- const data = parsedOutput.body;
386
- const doc = take(data, {
387
- 'details': _ => de_Document(_, context),
388
- 'message': __expectString,
389
- });
390
- Object.assign(contents, doc);
391
- const exception = new ToolExecutionServerException({
392
- $metadata: deserializeMetadata(parsedOutput),
393
- ...contents
394
- });
395
- return __decorateServiceException(exception, parsedOutput.body);
396
- };
397
- const se_Document = (input, context) => {
398
- return input;
399
- };
400
- const se_ToolInput = (input, context) => {
401
- return take(input, {
402
- 'variables': _ => se_ToolVariableList(_, context),
403
- });
404
- };
405
- const se_ToolVariable = (input, context) => {
406
- return take(input, {
407
- 'description': [],
408
- 'name': [],
409
- 'optional': [],
410
- 'schema': _ => se_Document(_, context),
411
- 'type': [],
412
- });
413
- };
414
- const se_ToolVariableList = (input, context) => {
415
- return input.filter((e) => e != null).map(entry => {
416
- return se_ToolVariable(entry, context);
417
- });
418
- };
419
- const de_Document = (output, context) => {
420
- return output;
421
- };
422
- const de_DiscoveredTool = (output, context) => {
423
- return take(output, {
424
- 'description': __expectString,
425
- 'inputSchema': (_) => de_Document(_, context),
426
- 'name': __expectString,
427
- });
428
- };
429
- const de_DiscoveredToolList = (output, context) => {
430
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
431
- return de_DiscoveredTool(entry, context);
432
- });
433
- return retVal;
434
- };
435
- const de_Tool = (output, context) => {
436
- return take(output, {
437
- 'category': __expectString,
438
- 'companyId': __expectString,
439
- 'description': __expectString,
440
- 'handler': (_) => _json(__expectUnion(_)),
441
- 'id': __expectString,
442
- 'input': (_) => de_ToolInput(_, context),
443
- 'name': __expectString,
444
- });
445
- };
446
- const de_ToolDescription = (output, context) => {
447
- return take(output, {
448
- 'description': __expectString,
449
- 'id': __expectString,
450
- 'name': __expectString,
451
- 'variables': (_) => de_ToolVariableList(_, context),
452
- });
453
- };
454
- const de_ToolDescriptionList = (output, context) => {
455
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
456
- return de_ToolDescription(entry, context);
457
- });
458
- return retVal;
459
- };
460
- const de_ToolExecutionResult = (output, context) => {
461
- return take(output, {
462
- 'output': (_) => de_Document(_, context),
463
- });
464
- };
465
- const de_ToolInput = (output, context) => {
466
- return take(output, {
467
- 'variables': (_) => de_ToolVariableList(_, context),
468
- });
469
- };
470
- const de_ToolsList = (output, context) => {
471
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
472
- return de_Tool(entry, context);
473
- });
474
- return retVal;
475
- };
476
- const de_ToolVariable = (output, context) => {
477
- return take(output, {
478
- 'description': __expectString,
479
- 'name': __expectString,
480
- 'optional': __expectBoolean,
481
- 'schema': (_) => de_Document(_, context),
482
- 'type': __expectString,
483
- });
484
- };
485
- const de_ToolVariableList = (output, context) => {
486
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
487
- return de_ToolVariable(entry, context);
488
- });
489
- return retVal;
490
- };
491
- const deserializeMetadata = (output) => ({
492
- httpStatusCode: output.statusCode,
493
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
494
- extendedRequestId: output.headers["x-amz-id-2"],
495
- cfId: output.headers["x-amz-cf-id"],
496
- });
497
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
498
- const _c = "company";
499
- const _cI = "companyId";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1,74 +0,0 @@
1
- import { CreateToolCommandInput, CreateToolCommandOutput } from "../commands/CreateToolCommand";
2
- import { DeleteToolCommandInput, DeleteToolCommandOutput } from "../commands/DeleteToolCommand";
3
- import { DescribeToolsCommandInput, DescribeToolsCommandOutput } from "../commands/DescribeToolsCommand";
4
- import { DiscoverToolsCommandInput, DiscoverToolsCommandOutput } from "../commands/DiscoverToolsCommand";
5
- import { ExecuteToolCommandInput, ExecuteToolCommandOutput } from "../commands/ExecuteToolCommand";
6
- import { GetToolCommandInput, GetToolCommandOutput } from "../commands/GetToolCommand";
7
- import { ListToolsCommandInput, ListToolsCommandOutput } from "../commands/ListToolsCommand";
8
- import { UpdateToolCommandInput, UpdateToolCommandOutput } from "../commands/UpdateToolCommand";
9
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
10
- import { SerdeContext as __SerdeContext } from "@smithy/types";
11
- /**
12
- * serializeAws_restJson1CreateToolCommand
13
- */
14
- export declare const se_CreateToolCommand: (input: CreateToolCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
- /**
16
- * serializeAws_restJson1DeleteToolCommand
17
- */
18
- export declare const se_DeleteToolCommand: (input: DeleteToolCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
- /**
20
- * serializeAws_restJson1DescribeToolsCommand
21
- */
22
- export declare const se_DescribeToolsCommand: (input: DescribeToolsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
- /**
24
- * serializeAws_restJson1DiscoverToolsCommand
25
- */
26
- export declare const se_DiscoverToolsCommand: (input: DiscoverToolsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
- /**
28
- * serializeAws_restJson1ExecuteToolCommand
29
- */
30
- export declare const se_ExecuteToolCommand: (input: ExecuteToolCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
- /**
32
- * serializeAws_restJson1GetToolCommand
33
- */
34
- export declare const se_GetToolCommand: (input: GetToolCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
- /**
36
- * serializeAws_restJson1ListToolsCommand
37
- */
38
- export declare const se_ListToolsCommand: (input: ListToolsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
- /**
40
- * serializeAws_restJson1UpdateToolCommand
41
- */
42
- export declare const se_UpdateToolCommand: (input: UpdateToolCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
- /**
44
- * deserializeAws_restJson1CreateToolCommand
45
- */
46
- export declare const de_CreateToolCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateToolCommandOutput>;
47
- /**
48
- * deserializeAws_restJson1DeleteToolCommand
49
- */
50
- export declare const de_DeleteToolCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteToolCommandOutput>;
51
- /**
52
- * deserializeAws_restJson1DescribeToolsCommand
53
- */
54
- export declare const de_DescribeToolsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeToolsCommandOutput>;
55
- /**
56
- * deserializeAws_restJson1DiscoverToolsCommand
57
- */
58
- export declare const de_DiscoverToolsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DiscoverToolsCommandOutput>;
59
- /**
60
- * deserializeAws_restJson1ExecuteToolCommand
61
- */
62
- export declare const de_ExecuteToolCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteToolCommandOutput>;
63
- /**
64
- * deserializeAws_restJson1GetToolCommand
65
- */
66
- export declare const de_GetToolCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetToolCommandOutput>;
67
- /**
68
- * deserializeAws_restJson1ListToolsCommand
69
- */
70
- export declare const de_ListToolsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListToolsCommandOutput>;
71
- /**
72
- * deserializeAws_restJson1UpdateToolCommand
73
- */
74
- export declare const de_UpdateToolCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateToolCommandOutput>;