aws-sdk 2.992.0 → 2.996.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +1 -1
  3. package/apis/appintegrations-2020-07-29.min.json +222 -8
  4. package/apis/appsync-2017-07-25.min.json +97 -77
  5. package/apis/connect-2017-08-08.min.json +25 -11
  6. package/apis/ec2-2016-11-15.min.json +25 -15
  7. package/apis/imagebuilder-2019-12-02.min.json +116 -82
  8. package/apis/license-manager-2018-08-01.min.json +186 -72
  9. package/apis/mediaconvert-2017-08-29.min.json +194 -83
  10. package/apis/mediapackage-vod-2018-11-07.min.json +3 -0
  11. package/apis/mediatailor-2018-04-23.min.json +198 -149
  12. package/apis/metadata.json +7 -0
  13. package/apis/models.lex.v2-2020-08-07.min.json +179 -22
  14. package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  15. package/apis/pinpoint-2016-12-01.min.json +226 -213
  16. package/apis/ssm-2014-11-06.min.json +105 -100
  17. package/apis/ssm-2014-11-06.waiters2.json +5 -0
  18. package/apis/voice-id-2021-09-27.examples.json +5 -0
  19. package/apis/voice-id-2021-09-27.min.json +903 -0
  20. package/apis/voice-id-2021-09-27.paginators.json +24 -0
  21. package/apis/wafv2-2019-07-29.min.json +114 -97
  22. package/apis/wisdom-2020-10-19.examples.json +5 -0
  23. package/apis/wisdom-2020-10-19.min.json +1525 -0
  24. package/apis/wisdom-2020-10-19.paginators.json +46 -0
  25. package/clients/all.d.ts +2 -0
  26. package/clients/all.js +3 -1
  27. package/clients/appintegrations.d.ts +273 -2
  28. package/clients/appsync.d.ts +35 -13
  29. package/clients/connect.d.ts +60 -32
  30. package/clients/ec2.d.ts +17 -5
  31. package/clients/elbv2.d.ts +7 -7
  32. package/clients/iam.d.ts +85 -85
  33. package/clients/imagebuilder.d.ts +73 -25
  34. package/clients/lexmodelsv2.d.ts +188 -0
  35. package/clients/licensemanager.d.ts +215 -42
  36. package/clients/mediaconvert.d.ts +154 -17
  37. package/clients/mediapackagevod.d.ts +4 -0
  38. package/clients/mediatailor.d.ts +47 -1
  39. package/clients/pinpoint.d.ts +24 -0
  40. package/clients/ssm.d.ts +40 -19
  41. package/clients/voiceid.d.ts +1133 -0
  42. package/clients/voiceid.js +18 -0
  43. package/clients/wafv2.d.ts +18 -0
  44. package/clients/wisdom.d.ts +1499 -0
  45. package/clients/wisdom.js +18 -0
  46. package/dist/aws-sdk-core-react-native.js +5 -5
  47. package/dist/aws-sdk-react-native.js +96 -22
  48. package/dist/aws-sdk.js +173 -132
  49. package/dist/aws-sdk.min.js +70 -70
  50. package/lib/config.js +1 -1
  51. package/lib/config_service_placeholders.d.ts +4 -0
  52. package/lib/core.js +1 -1
  53. package/lib/event_listeners.js +1 -1
  54. package/lib/http_request.d.ts +1 -1
  55. package/lib/signers/v4.js +1 -1
  56. package/package.json +1 -1
@@ -0,0 +1,1525 @@
1
+ {
2
+ "version": "2.0",
3
+ "metadata": {
4
+ "apiVersion": "2020-10-19",
5
+ "endpointPrefix": "wisdom",
6
+ "jsonVersion": "1.1",
7
+ "protocol": "rest-json",
8
+ "serviceFullName": "Amazon Connect Wisdom Service",
9
+ "serviceId": "Wisdom",
10
+ "signatureVersion": "v4",
11
+ "signingName": "wisdom",
12
+ "uid": "wisdom-2020-10-19"
13
+ },
14
+ "operations": {
15
+ "CreateAssistant": {
16
+ "http": {
17
+ "requestUri": "/assistants",
18
+ "responseCode": 200
19
+ },
20
+ "input": {
21
+ "type": "structure",
22
+ "required": [
23
+ "name",
24
+ "type"
25
+ ],
26
+ "members": {
27
+ "clientToken": {
28
+ "idempotencyToken": true
29
+ },
30
+ "description": {},
31
+ "name": {},
32
+ "serverSideEncryptionConfiguration": {
33
+ "shape": "S5"
34
+ },
35
+ "tags": {
36
+ "shape": "S7"
37
+ },
38
+ "type": {}
39
+ }
40
+ },
41
+ "output": {
42
+ "type": "structure",
43
+ "members": {
44
+ "assistant": {
45
+ "shape": "Sc"
46
+ }
47
+ }
48
+ },
49
+ "idempotent": true
50
+ },
51
+ "CreateAssistantAssociation": {
52
+ "http": {
53
+ "requestUri": "/assistants/{assistantId}/associations",
54
+ "responseCode": 200
55
+ },
56
+ "input": {
57
+ "type": "structure",
58
+ "required": [
59
+ "assistantId",
60
+ "association",
61
+ "associationType"
62
+ ],
63
+ "members": {
64
+ "assistantId": {
65
+ "location": "uri",
66
+ "locationName": "assistantId"
67
+ },
68
+ "association": {
69
+ "type": "structure",
70
+ "members": {
71
+ "knowledgeBaseId": {}
72
+ },
73
+ "union": true
74
+ },
75
+ "associationType": {},
76
+ "clientToken": {
77
+ "idempotencyToken": true
78
+ },
79
+ "tags": {
80
+ "shape": "S7"
81
+ }
82
+ }
83
+ },
84
+ "output": {
85
+ "type": "structure",
86
+ "members": {
87
+ "assistantAssociation": {
88
+ "shape": "Sl"
89
+ }
90
+ }
91
+ },
92
+ "idempotent": true
93
+ },
94
+ "CreateContent": {
95
+ "http": {
96
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/contents",
97
+ "responseCode": 200
98
+ },
99
+ "input": {
100
+ "type": "structure",
101
+ "required": [
102
+ "knowledgeBaseId",
103
+ "name",
104
+ "uploadId"
105
+ ],
106
+ "members": {
107
+ "clientToken": {
108
+ "idempotencyToken": true
109
+ },
110
+ "knowledgeBaseId": {
111
+ "location": "uri",
112
+ "locationName": "knowledgeBaseId"
113
+ },
114
+ "metadata": {
115
+ "shape": "Sp"
116
+ },
117
+ "name": {},
118
+ "overrideLinkOutUri": {},
119
+ "tags": {
120
+ "shape": "S7"
121
+ },
122
+ "title": {},
123
+ "uploadId": {}
124
+ }
125
+ },
126
+ "output": {
127
+ "type": "structure",
128
+ "members": {
129
+ "content": {
130
+ "shape": "St"
131
+ }
132
+ }
133
+ },
134
+ "idempotent": true
135
+ },
136
+ "CreateKnowledgeBase": {
137
+ "http": {
138
+ "requestUri": "/knowledgeBases",
139
+ "responseCode": 200
140
+ },
141
+ "input": {
142
+ "type": "structure",
143
+ "required": [
144
+ "knowledgeBaseType",
145
+ "name"
146
+ ],
147
+ "members": {
148
+ "clientToken": {
149
+ "idempotencyToken": true
150
+ },
151
+ "description": {},
152
+ "knowledgeBaseType": {},
153
+ "name": {},
154
+ "renderingConfiguration": {
155
+ "shape": "S10"
156
+ },
157
+ "serverSideEncryptionConfiguration": {
158
+ "shape": "S5"
159
+ },
160
+ "sourceConfiguration": {
161
+ "shape": "S11"
162
+ },
163
+ "tags": {
164
+ "shape": "S7"
165
+ }
166
+ }
167
+ },
168
+ "output": {
169
+ "type": "structure",
170
+ "members": {
171
+ "knowledgeBase": {
172
+ "shape": "S16"
173
+ }
174
+ }
175
+ },
176
+ "idempotent": true
177
+ },
178
+ "CreateSession": {
179
+ "http": {
180
+ "requestUri": "/assistants/{assistantId}/sessions",
181
+ "responseCode": 200
182
+ },
183
+ "input": {
184
+ "type": "structure",
185
+ "required": [
186
+ "assistantId",
187
+ "name"
188
+ ],
189
+ "members": {
190
+ "assistantId": {
191
+ "location": "uri",
192
+ "locationName": "assistantId"
193
+ },
194
+ "clientToken": {
195
+ "idempotencyToken": true
196
+ },
197
+ "description": {},
198
+ "name": {},
199
+ "tags": {
200
+ "shape": "S7"
201
+ }
202
+ }
203
+ },
204
+ "output": {
205
+ "type": "structure",
206
+ "members": {
207
+ "session": {
208
+ "shape": "S1a"
209
+ }
210
+ }
211
+ },
212
+ "idempotent": true
213
+ },
214
+ "DeleteAssistant": {
215
+ "http": {
216
+ "method": "DELETE",
217
+ "requestUri": "/assistants/{assistantId}",
218
+ "responseCode": 204
219
+ },
220
+ "input": {
221
+ "type": "structure",
222
+ "required": [
223
+ "assistantId"
224
+ ],
225
+ "members": {
226
+ "assistantId": {
227
+ "location": "uri",
228
+ "locationName": "assistantId"
229
+ }
230
+ }
231
+ },
232
+ "output": {
233
+ "type": "structure",
234
+ "members": {}
235
+ },
236
+ "idempotent": true
237
+ },
238
+ "DeleteAssistantAssociation": {
239
+ "http": {
240
+ "method": "DELETE",
241
+ "requestUri": "/assistants/{assistantId}/associations/{assistantAssociationId}",
242
+ "responseCode": 204
243
+ },
244
+ "input": {
245
+ "type": "structure",
246
+ "required": [
247
+ "assistantAssociationId",
248
+ "assistantId"
249
+ ],
250
+ "members": {
251
+ "assistantAssociationId": {
252
+ "location": "uri",
253
+ "locationName": "assistantAssociationId"
254
+ },
255
+ "assistantId": {
256
+ "location": "uri",
257
+ "locationName": "assistantId"
258
+ }
259
+ }
260
+ },
261
+ "output": {
262
+ "type": "structure",
263
+ "members": {}
264
+ },
265
+ "idempotent": true
266
+ },
267
+ "DeleteContent": {
268
+ "http": {
269
+ "method": "DELETE",
270
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}",
271
+ "responseCode": 204
272
+ },
273
+ "input": {
274
+ "type": "structure",
275
+ "required": [
276
+ "contentId",
277
+ "knowledgeBaseId"
278
+ ],
279
+ "members": {
280
+ "contentId": {
281
+ "location": "uri",
282
+ "locationName": "contentId"
283
+ },
284
+ "knowledgeBaseId": {
285
+ "location": "uri",
286
+ "locationName": "knowledgeBaseId"
287
+ }
288
+ }
289
+ },
290
+ "output": {
291
+ "type": "structure",
292
+ "members": {}
293
+ },
294
+ "idempotent": true
295
+ },
296
+ "DeleteKnowledgeBase": {
297
+ "http": {
298
+ "method": "DELETE",
299
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}",
300
+ "responseCode": 204
301
+ },
302
+ "input": {
303
+ "type": "structure",
304
+ "required": [
305
+ "knowledgeBaseId"
306
+ ],
307
+ "members": {
308
+ "knowledgeBaseId": {
309
+ "location": "uri",
310
+ "locationName": "knowledgeBaseId"
311
+ }
312
+ }
313
+ },
314
+ "output": {
315
+ "type": "structure",
316
+ "members": {}
317
+ },
318
+ "idempotent": true
319
+ },
320
+ "GetAssistant": {
321
+ "http": {
322
+ "method": "GET",
323
+ "requestUri": "/assistants/{assistantId}",
324
+ "responseCode": 200
325
+ },
326
+ "input": {
327
+ "type": "structure",
328
+ "required": [
329
+ "assistantId"
330
+ ],
331
+ "members": {
332
+ "assistantId": {
333
+ "location": "uri",
334
+ "locationName": "assistantId"
335
+ }
336
+ }
337
+ },
338
+ "output": {
339
+ "type": "structure",
340
+ "members": {
341
+ "assistant": {
342
+ "shape": "Sc"
343
+ }
344
+ }
345
+ }
346
+ },
347
+ "GetAssistantAssociation": {
348
+ "http": {
349
+ "method": "GET",
350
+ "requestUri": "/assistants/{assistantId}/associations/{assistantAssociationId}",
351
+ "responseCode": 200
352
+ },
353
+ "input": {
354
+ "type": "structure",
355
+ "required": [
356
+ "assistantAssociationId",
357
+ "assistantId"
358
+ ],
359
+ "members": {
360
+ "assistantAssociationId": {
361
+ "location": "uri",
362
+ "locationName": "assistantAssociationId"
363
+ },
364
+ "assistantId": {
365
+ "location": "uri",
366
+ "locationName": "assistantId"
367
+ }
368
+ }
369
+ },
370
+ "output": {
371
+ "type": "structure",
372
+ "members": {
373
+ "assistantAssociation": {
374
+ "shape": "Sl"
375
+ }
376
+ }
377
+ }
378
+ },
379
+ "GetContent": {
380
+ "http": {
381
+ "method": "GET",
382
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}",
383
+ "responseCode": 200
384
+ },
385
+ "input": {
386
+ "type": "structure",
387
+ "required": [
388
+ "contentId",
389
+ "knowledgeBaseId"
390
+ ],
391
+ "members": {
392
+ "contentId": {
393
+ "location": "uri",
394
+ "locationName": "contentId"
395
+ },
396
+ "knowledgeBaseId": {
397
+ "location": "uri",
398
+ "locationName": "knowledgeBaseId"
399
+ }
400
+ }
401
+ },
402
+ "output": {
403
+ "type": "structure",
404
+ "members": {
405
+ "content": {
406
+ "shape": "St"
407
+ }
408
+ }
409
+ }
410
+ },
411
+ "GetContentSummary": {
412
+ "http": {
413
+ "method": "GET",
414
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary",
415
+ "responseCode": 200
416
+ },
417
+ "input": {
418
+ "type": "structure",
419
+ "required": [
420
+ "contentId",
421
+ "knowledgeBaseId"
422
+ ],
423
+ "members": {
424
+ "contentId": {
425
+ "location": "uri",
426
+ "locationName": "contentId"
427
+ },
428
+ "knowledgeBaseId": {
429
+ "location": "uri",
430
+ "locationName": "knowledgeBaseId"
431
+ }
432
+ }
433
+ },
434
+ "output": {
435
+ "type": "structure",
436
+ "members": {
437
+ "contentSummary": {
438
+ "shape": "S1r"
439
+ }
440
+ }
441
+ }
442
+ },
443
+ "GetKnowledgeBase": {
444
+ "http": {
445
+ "method": "GET",
446
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}",
447
+ "responseCode": 200
448
+ },
449
+ "input": {
450
+ "type": "structure",
451
+ "required": [
452
+ "knowledgeBaseId"
453
+ ],
454
+ "members": {
455
+ "knowledgeBaseId": {
456
+ "location": "uri",
457
+ "locationName": "knowledgeBaseId"
458
+ }
459
+ }
460
+ },
461
+ "output": {
462
+ "type": "structure",
463
+ "members": {
464
+ "knowledgeBase": {
465
+ "shape": "S16"
466
+ }
467
+ }
468
+ }
469
+ },
470
+ "GetRecommendations": {
471
+ "http": {
472
+ "method": "GET",
473
+ "requestUri": "/assistants/{assistantId}/sessions/{sessionId}/recommendations",
474
+ "responseCode": 200
475
+ },
476
+ "input": {
477
+ "type": "structure",
478
+ "required": [
479
+ "assistantId",
480
+ "sessionId"
481
+ ],
482
+ "members": {
483
+ "assistantId": {
484
+ "location": "uri",
485
+ "locationName": "assistantId"
486
+ },
487
+ "maxResults": {
488
+ "location": "querystring",
489
+ "locationName": "maxResults",
490
+ "type": "integer"
491
+ },
492
+ "sessionId": {
493
+ "location": "uri",
494
+ "locationName": "sessionId"
495
+ },
496
+ "waitTimeSeconds": {
497
+ "location": "querystring",
498
+ "locationName": "waitTimeSeconds",
499
+ "type": "integer"
500
+ }
501
+ }
502
+ },
503
+ "output": {
504
+ "type": "structure",
505
+ "required": [
506
+ "recommendations"
507
+ ],
508
+ "members": {
509
+ "recommendations": {
510
+ "type": "list",
511
+ "member": {
512
+ "type": "structure",
513
+ "required": [
514
+ "document",
515
+ "recommendationId"
516
+ ],
517
+ "members": {
518
+ "document": {
519
+ "shape": "S20"
520
+ },
521
+ "recommendationId": {},
522
+ "relevanceLevel": {},
523
+ "relevanceScore": {
524
+ "type": "double"
525
+ }
526
+ }
527
+ }
528
+ }
529
+ }
530
+ }
531
+ },
532
+ "GetSession": {
533
+ "http": {
534
+ "method": "GET",
535
+ "requestUri": "/assistants/{assistantId}/sessions/{sessionId}",
536
+ "responseCode": 200
537
+ },
538
+ "input": {
539
+ "type": "structure",
540
+ "required": [
541
+ "assistantId",
542
+ "sessionId"
543
+ ],
544
+ "members": {
545
+ "assistantId": {
546
+ "location": "uri",
547
+ "locationName": "assistantId"
548
+ },
549
+ "sessionId": {
550
+ "location": "uri",
551
+ "locationName": "sessionId"
552
+ }
553
+ }
554
+ },
555
+ "output": {
556
+ "type": "structure",
557
+ "members": {
558
+ "session": {
559
+ "shape": "S1a"
560
+ }
561
+ }
562
+ }
563
+ },
564
+ "ListAssistantAssociations": {
565
+ "http": {
566
+ "method": "GET",
567
+ "requestUri": "/assistants/{assistantId}/associations",
568
+ "responseCode": 200
569
+ },
570
+ "input": {
571
+ "type": "structure",
572
+ "required": [
573
+ "assistantId"
574
+ ],
575
+ "members": {
576
+ "assistantId": {
577
+ "location": "uri",
578
+ "locationName": "assistantId"
579
+ },
580
+ "maxResults": {
581
+ "location": "querystring",
582
+ "locationName": "maxResults",
583
+ "type": "integer"
584
+ },
585
+ "nextToken": {
586
+ "location": "querystring",
587
+ "locationName": "nextToken"
588
+ }
589
+ }
590
+ },
591
+ "output": {
592
+ "type": "structure",
593
+ "required": [
594
+ "assistantAssociationSummaries"
595
+ ],
596
+ "members": {
597
+ "assistantAssociationSummaries": {
598
+ "type": "list",
599
+ "member": {
600
+ "type": "structure",
601
+ "required": [
602
+ "assistantArn",
603
+ "assistantAssociationArn",
604
+ "assistantAssociationId",
605
+ "assistantId",
606
+ "associationData",
607
+ "associationType"
608
+ ],
609
+ "members": {
610
+ "assistantArn": {},
611
+ "assistantAssociationArn": {},
612
+ "assistantAssociationId": {},
613
+ "assistantId": {},
614
+ "associationData": {
615
+ "shape": "Sm"
616
+ },
617
+ "associationType": {},
618
+ "tags": {
619
+ "shape": "S7"
620
+ }
621
+ }
622
+ }
623
+ },
624
+ "nextToken": {}
625
+ }
626
+ }
627
+ },
628
+ "ListAssistants": {
629
+ "http": {
630
+ "method": "GET",
631
+ "requestUri": "/assistants",
632
+ "responseCode": 200
633
+ },
634
+ "input": {
635
+ "type": "structure",
636
+ "members": {
637
+ "maxResults": {
638
+ "location": "querystring",
639
+ "locationName": "maxResults",
640
+ "type": "integer"
641
+ },
642
+ "nextToken": {
643
+ "location": "querystring",
644
+ "locationName": "nextToken"
645
+ }
646
+ }
647
+ },
648
+ "output": {
649
+ "type": "structure",
650
+ "required": [
651
+ "assistantSummaries"
652
+ ],
653
+ "members": {
654
+ "assistantSummaries": {
655
+ "type": "list",
656
+ "member": {
657
+ "type": "structure",
658
+ "required": [
659
+ "assistantArn",
660
+ "assistantId",
661
+ "name",
662
+ "status",
663
+ "type"
664
+ ],
665
+ "members": {
666
+ "assistantArn": {},
667
+ "assistantId": {},
668
+ "description": {},
669
+ "name": {},
670
+ "serverSideEncryptionConfiguration": {
671
+ "shape": "S5"
672
+ },
673
+ "status": {},
674
+ "tags": {
675
+ "shape": "S7"
676
+ },
677
+ "type": {}
678
+ }
679
+ }
680
+ },
681
+ "nextToken": {}
682
+ }
683
+ }
684
+ },
685
+ "ListContents": {
686
+ "http": {
687
+ "method": "GET",
688
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/contents",
689
+ "responseCode": 200
690
+ },
691
+ "input": {
692
+ "type": "structure",
693
+ "required": [
694
+ "knowledgeBaseId"
695
+ ],
696
+ "members": {
697
+ "knowledgeBaseId": {
698
+ "location": "uri",
699
+ "locationName": "knowledgeBaseId"
700
+ },
701
+ "maxResults": {
702
+ "location": "querystring",
703
+ "locationName": "maxResults",
704
+ "type": "integer"
705
+ },
706
+ "nextToken": {
707
+ "location": "querystring",
708
+ "locationName": "nextToken"
709
+ }
710
+ }
711
+ },
712
+ "output": {
713
+ "type": "structure",
714
+ "required": [
715
+ "contentSummaries"
716
+ ],
717
+ "members": {
718
+ "contentSummaries": {
719
+ "shape": "S2n"
720
+ },
721
+ "nextToken": {}
722
+ }
723
+ }
724
+ },
725
+ "ListKnowledgeBases": {
726
+ "http": {
727
+ "method": "GET",
728
+ "requestUri": "/knowledgeBases",
729
+ "responseCode": 200
730
+ },
731
+ "input": {
732
+ "type": "structure",
733
+ "members": {
734
+ "maxResults": {
735
+ "location": "querystring",
736
+ "locationName": "maxResults",
737
+ "type": "integer"
738
+ },
739
+ "nextToken": {
740
+ "location": "querystring",
741
+ "locationName": "nextToken"
742
+ }
743
+ }
744
+ },
745
+ "output": {
746
+ "type": "structure",
747
+ "required": [
748
+ "knowledgeBaseSummaries"
749
+ ],
750
+ "members": {
751
+ "knowledgeBaseSummaries": {
752
+ "type": "list",
753
+ "member": {
754
+ "type": "structure",
755
+ "required": [
756
+ "knowledgeBaseArn",
757
+ "knowledgeBaseId",
758
+ "knowledgeBaseType",
759
+ "name",
760
+ "status"
761
+ ],
762
+ "members": {
763
+ "description": {},
764
+ "knowledgeBaseArn": {},
765
+ "knowledgeBaseId": {},
766
+ "knowledgeBaseType": {},
767
+ "name": {},
768
+ "renderingConfiguration": {
769
+ "shape": "S10"
770
+ },
771
+ "serverSideEncryptionConfiguration": {
772
+ "shape": "S5"
773
+ },
774
+ "sourceConfiguration": {
775
+ "shape": "S11"
776
+ },
777
+ "status": {},
778
+ "tags": {
779
+ "shape": "S7"
780
+ }
781
+ }
782
+ }
783
+ },
784
+ "nextToken": {}
785
+ }
786
+ }
787
+ },
788
+ "ListTagsForResource": {
789
+ "http": {
790
+ "method": "GET",
791
+ "requestUri": "/tags/{resourceArn}",
792
+ "responseCode": 200
793
+ },
794
+ "input": {
795
+ "type": "structure",
796
+ "required": [
797
+ "resourceArn"
798
+ ],
799
+ "members": {
800
+ "resourceArn": {
801
+ "location": "uri",
802
+ "locationName": "resourceArn"
803
+ }
804
+ }
805
+ },
806
+ "output": {
807
+ "type": "structure",
808
+ "members": {
809
+ "tags": {
810
+ "shape": "S7"
811
+ }
812
+ }
813
+ }
814
+ },
815
+ "NotifyRecommendationsReceived": {
816
+ "http": {
817
+ "requestUri": "/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify",
818
+ "responseCode": 200
819
+ },
820
+ "input": {
821
+ "type": "structure",
822
+ "required": [
823
+ "assistantId",
824
+ "recommendationIds",
825
+ "sessionId"
826
+ ],
827
+ "members": {
828
+ "assistantId": {
829
+ "location": "uri",
830
+ "locationName": "assistantId"
831
+ },
832
+ "recommendationIds": {
833
+ "shape": "S2v"
834
+ },
835
+ "sessionId": {
836
+ "location": "uri",
837
+ "locationName": "sessionId"
838
+ }
839
+ }
840
+ },
841
+ "output": {
842
+ "type": "structure",
843
+ "members": {
844
+ "errors": {
845
+ "type": "list",
846
+ "member": {
847
+ "type": "structure",
848
+ "members": {
849
+ "message": {},
850
+ "recommendationId": {}
851
+ }
852
+ }
853
+ },
854
+ "recommendationIds": {
855
+ "shape": "S2v"
856
+ }
857
+ }
858
+ },
859
+ "idempotent": true
860
+ },
861
+ "QueryAssistant": {
862
+ "http": {
863
+ "requestUri": "/assistants/{assistantId}/query",
864
+ "responseCode": 200
865
+ },
866
+ "input": {
867
+ "type": "structure",
868
+ "required": [
869
+ "assistantId",
870
+ "queryText"
871
+ ],
872
+ "members": {
873
+ "assistantId": {
874
+ "location": "uri",
875
+ "locationName": "assistantId"
876
+ },
877
+ "maxResults": {
878
+ "type": "integer"
879
+ },
880
+ "nextToken": {},
881
+ "queryText": {
882
+ "type": "string",
883
+ "sensitive": true
884
+ }
885
+ }
886
+ },
887
+ "output": {
888
+ "type": "structure",
889
+ "required": [
890
+ "results"
891
+ ],
892
+ "members": {
893
+ "nextToken": {},
894
+ "results": {
895
+ "type": "list",
896
+ "member": {
897
+ "type": "structure",
898
+ "required": [
899
+ "document",
900
+ "resultId"
901
+ ],
902
+ "members": {
903
+ "document": {
904
+ "shape": "S20"
905
+ },
906
+ "relevanceScore": {
907
+ "type": "double"
908
+ },
909
+ "resultId": {}
910
+ }
911
+ }
912
+ }
913
+ }
914
+ }
915
+ },
916
+ "RemoveKnowledgeBaseTemplateUri": {
917
+ "http": {
918
+ "method": "DELETE",
919
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/templateUri",
920
+ "responseCode": 204
921
+ },
922
+ "input": {
923
+ "type": "structure",
924
+ "required": [
925
+ "knowledgeBaseId"
926
+ ],
927
+ "members": {
928
+ "knowledgeBaseId": {
929
+ "location": "uri",
930
+ "locationName": "knowledgeBaseId"
931
+ }
932
+ }
933
+ },
934
+ "output": {
935
+ "type": "structure",
936
+ "members": {}
937
+ }
938
+ },
939
+ "SearchContent": {
940
+ "http": {
941
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/search",
942
+ "responseCode": 200
943
+ },
944
+ "input": {
945
+ "type": "structure",
946
+ "required": [
947
+ "knowledgeBaseId",
948
+ "searchExpression"
949
+ ],
950
+ "members": {
951
+ "knowledgeBaseId": {
952
+ "location": "uri",
953
+ "locationName": "knowledgeBaseId"
954
+ },
955
+ "maxResults": {
956
+ "location": "querystring",
957
+ "locationName": "maxResults",
958
+ "type": "integer"
959
+ },
960
+ "nextToken": {
961
+ "location": "querystring",
962
+ "locationName": "nextToken"
963
+ },
964
+ "searchExpression": {
965
+ "shape": "S38"
966
+ }
967
+ }
968
+ },
969
+ "output": {
970
+ "type": "structure",
971
+ "required": [
972
+ "contentSummaries"
973
+ ],
974
+ "members": {
975
+ "contentSummaries": {
976
+ "shape": "S2n"
977
+ },
978
+ "nextToken": {}
979
+ }
980
+ }
981
+ },
982
+ "SearchSessions": {
983
+ "http": {
984
+ "requestUri": "/assistants/{assistantId}/searchSessions",
985
+ "responseCode": 200
986
+ },
987
+ "input": {
988
+ "type": "structure",
989
+ "required": [
990
+ "assistantId",
991
+ "searchExpression"
992
+ ],
993
+ "members": {
994
+ "assistantId": {
995
+ "location": "uri",
996
+ "locationName": "assistantId"
997
+ },
998
+ "maxResults": {
999
+ "location": "querystring",
1000
+ "locationName": "maxResults",
1001
+ "type": "integer"
1002
+ },
1003
+ "nextToken": {
1004
+ "location": "querystring",
1005
+ "locationName": "nextToken"
1006
+ },
1007
+ "searchExpression": {
1008
+ "shape": "S38"
1009
+ }
1010
+ }
1011
+ },
1012
+ "output": {
1013
+ "type": "structure",
1014
+ "required": [
1015
+ "sessionSummaries"
1016
+ ],
1017
+ "members": {
1018
+ "nextToken": {},
1019
+ "sessionSummaries": {
1020
+ "type": "list",
1021
+ "member": {
1022
+ "type": "structure",
1023
+ "required": [
1024
+ "assistantArn",
1025
+ "assistantId",
1026
+ "sessionArn",
1027
+ "sessionId"
1028
+ ],
1029
+ "members": {
1030
+ "assistantArn": {},
1031
+ "assistantId": {},
1032
+ "sessionArn": {},
1033
+ "sessionId": {}
1034
+ }
1035
+ }
1036
+ }
1037
+ }
1038
+ }
1039
+ },
1040
+ "StartContentUpload": {
1041
+ "http": {
1042
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/upload",
1043
+ "responseCode": 200
1044
+ },
1045
+ "input": {
1046
+ "type": "structure",
1047
+ "required": [
1048
+ "contentType",
1049
+ "knowledgeBaseId"
1050
+ ],
1051
+ "members": {
1052
+ "contentType": {},
1053
+ "knowledgeBaseId": {
1054
+ "location": "uri",
1055
+ "locationName": "knowledgeBaseId"
1056
+ }
1057
+ }
1058
+ },
1059
+ "output": {
1060
+ "type": "structure",
1061
+ "required": [
1062
+ "headersToInclude",
1063
+ "uploadId",
1064
+ "url",
1065
+ "urlExpiry"
1066
+ ],
1067
+ "members": {
1068
+ "headersToInclude": {
1069
+ "type": "map",
1070
+ "key": {},
1071
+ "value": {}
1072
+ },
1073
+ "uploadId": {},
1074
+ "url": {
1075
+ "type": "string",
1076
+ "sensitive": true
1077
+ },
1078
+ "urlExpiry": {
1079
+ "shape": "Sx"
1080
+ }
1081
+ }
1082
+ }
1083
+ },
1084
+ "TagResource": {
1085
+ "http": {
1086
+ "requestUri": "/tags/{resourceArn}",
1087
+ "responseCode": 200
1088
+ },
1089
+ "input": {
1090
+ "type": "structure",
1091
+ "required": [
1092
+ "resourceArn",
1093
+ "tags"
1094
+ ],
1095
+ "members": {
1096
+ "resourceArn": {
1097
+ "location": "uri",
1098
+ "locationName": "resourceArn"
1099
+ },
1100
+ "tags": {
1101
+ "shape": "S7"
1102
+ }
1103
+ }
1104
+ },
1105
+ "output": {
1106
+ "type": "structure",
1107
+ "members": {}
1108
+ },
1109
+ "idempotent": true
1110
+ },
1111
+ "UntagResource": {
1112
+ "http": {
1113
+ "method": "DELETE",
1114
+ "requestUri": "/tags/{resourceArn}",
1115
+ "responseCode": 200
1116
+ },
1117
+ "input": {
1118
+ "type": "structure",
1119
+ "required": [
1120
+ "resourceArn",
1121
+ "tagKeys"
1122
+ ],
1123
+ "members": {
1124
+ "resourceArn": {
1125
+ "location": "uri",
1126
+ "locationName": "resourceArn"
1127
+ },
1128
+ "tagKeys": {
1129
+ "location": "querystring",
1130
+ "locationName": "tagKeys",
1131
+ "type": "list",
1132
+ "member": {}
1133
+ }
1134
+ }
1135
+ },
1136
+ "output": {
1137
+ "type": "structure",
1138
+ "members": {}
1139
+ },
1140
+ "idempotent": true
1141
+ },
1142
+ "UpdateContent": {
1143
+ "http": {
1144
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}",
1145
+ "responseCode": 200
1146
+ },
1147
+ "input": {
1148
+ "type": "structure",
1149
+ "required": [
1150
+ "contentId",
1151
+ "knowledgeBaseId"
1152
+ ],
1153
+ "members": {
1154
+ "contentId": {
1155
+ "location": "uri",
1156
+ "locationName": "contentId"
1157
+ },
1158
+ "knowledgeBaseId": {
1159
+ "location": "uri",
1160
+ "locationName": "knowledgeBaseId"
1161
+ },
1162
+ "metadata": {
1163
+ "shape": "Sp"
1164
+ },
1165
+ "overrideLinkOutUri": {},
1166
+ "removeOverrideLinkOutUri": {
1167
+ "type": "boolean"
1168
+ },
1169
+ "revisionId": {},
1170
+ "title": {},
1171
+ "uploadId": {}
1172
+ }
1173
+ },
1174
+ "output": {
1175
+ "type": "structure",
1176
+ "members": {
1177
+ "content": {
1178
+ "shape": "St"
1179
+ }
1180
+ }
1181
+ }
1182
+ },
1183
+ "UpdateKnowledgeBaseTemplateUri": {
1184
+ "http": {
1185
+ "requestUri": "/knowledgeBases/{knowledgeBaseId}/templateUri",
1186
+ "responseCode": 200
1187
+ },
1188
+ "input": {
1189
+ "type": "structure",
1190
+ "required": [
1191
+ "knowledgeBaseId",
1192
+ "templateUri"
1193
+ ],
1194
+ "members": {
1195
+ "knowledgeBaseId": {
1196
+ "location": "uri",
1197
+ "locationName": "knowledgeBaseId"
1198
+ },
1199
+ "templateUri": {}
1200
+ }
1201
+ },
1202
+ "output": {
1203
+ "type": "structure",
1204
+ "members": {
1205
+ "knowledgeBase": {
1206
+ "shape": "S16"
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ },
1212
+ "shapes": {
1213
+ "S5": {
1214
+ "type": "structure",
1215
+ "members": {
1216
+ "kmsKeyId": {}
1217
+ }
1218
+ },
1219
+ "S7": {
1220
+ "type": "map",
1221
+ "key": {},
1222
+ "value": {}
1223
+ },
1224
+ "Sc": {
1225
+ "type": "structure",
1226
+ "required": [
1227
+ "assistantArn",
1228
+ "assistantId",
1229
+ "name",
1230
+ "status",
1231
+ "type"
1232
+ ],
1233
+ "members": {
1234
+ "assistantArn": {},
1235
+ "assistantId": {},
1236
+ "description": {},
1237
+ "name": {},
1238
+ "serverSideEncryptionConfiguration": {
1239
+ "shape": "S5"
1240
+ },
1241
+ "status": {},
1242
+ "tags": {
1243
+ "shape": "S7"
1244
+ },
1245
+ "type": {}
1246
+ }
1247
+ },
1248
+ "Sl": {
1249
+ "type": "structure",
1250
+ "required": [
1251
+ "assistantArn",
1252
+ "assistantAssociationArn",
1253
+ "assistantAssociationId",
1254
+ "assistantId",
1255
+ "associationData",
1256
+ "associationType"
1257
+ ],
1258
+ "members": {
1259
+ "assistantArn": {},
1260
+ "assistantAssociationArn": {},
1261
+ "assistantAssociationId": {},
1262
+ "assistantId": {},
1263
+ "associationData": {
1264
+ "shape": "Sm"
1265
+ },
1266
+ "associationType": {},
1267
+ "tags": {
1268
+ "shape": "S7"
1269
+ }
1270
+ }
1271
+ },
1272
+ "Sm": {
1273
+ "type": "structure",
1274
+ "members": {
1275
+ "knowledgeBaseAssociation": {
1276
+ "type": "structure",
1277
+ "members": {
1278
+ "knowledgeBaseArn": {},
1279
+ "knowledgeBaseId": {}
1280
+ }
1281
+ }
1282
+ },
1283
+ "union": true
1284
+ },
1285
+ "Sp": {
1286
+ "type": "map",
1287
+ "key": {},
1288
+ "value": {}
1289
+ },
1290
+ "St": {
1291
+ "type": "structure",
1292
+ "required": [
1293
+ "contentArn",
1294
+ "contentId",
1295
+ "contentType",
1296
+ "knowledgeBaseArn",
1297
+ "knowledgeBaseId",
1298
+ "metadata",
1299
+ "name",
1300
+ "revisionId",
1301
+ "status",
1302
+ "title",
1303
+ "url",
1304
+ "urlExpiry"
1305
+ ],
1306
+ "members": {
1307
+ "contentArn": {},
1308
+ "contentId": {},
1309
+ "contentType": {},
1310
+ "knowledgeBaseArn": {},
1311
+ "knowledgeBaseId": {},
1312
+ "linkOutUri": {},
1313
+ "metadata": {
1314
+ "shape": "Sp"
1315
+ },
1316
+ "name": {},
1317
+ "revisionId": {},
1318
+ "status": {},
1319
+ "tags": {
1320
+ "shape": "S7"
1321
+ },
1322
+ "title": {},
1323
+ "url": {
1324
+ "type": "string",
1325
+ "sensitive": true
1326
+ },
1327
+ "urlExpiry": {
1328
+ "shape": "Sx"
1329
+ }
1330
+ }
1331
+ },
1332
+ "Sx": {
1333
+ "type": "timestamp",
1334
+ "timestampFormat": "unixTimestamp"
1335
+ },
1336
+ "S10": {
1337
+ "type": "structure",
1338
+ "members": {
1339
+ "templateUri": {}
1340
+ }
1341
+ },
1342
+ "S11": {
1343
+ "type": "structure",
1344
+ "members": {
1345
+ "appIntegrations": {
1346
+ "type": "structure",
1347
+ "required": [
1348
+ "appIntegrationArn",
1349
+ "objectFields"
1350
+ ],
1351
+ "members": {
1352
+ "appIntegrationArn": {},
1353
+ "objectFields": {
1354
+ "type": "list",
1355
+ "member": {}
1356
+ }
1357
+ }
1358
+ }
1359
+ },
1360
+ "union": true
1361
+ },
1362
+ "S16": {
1363
+ "type": "structure",
1364
+ "required": [
1365
+ "knowledgeBaseArn",
1366
+ "knowledgeBaseId",
1367
+ "knowledgeBaseType",
1368
+ "name",
1369
+ "status"
1370
+ ],
1371
+ "members": {
1372
+ "description": {},
1373
+ "knowledgeBaseArn": {},
1374
+ "knowledgeBaseId": {},
1375
+ "knowledgeBaseType": {},
1376
+ "lastContentModificationTime": {
1377
+ "shape": "Sx"
1378
+ },
1379
+ "name": {},
1380
+ "renderingConfiguration": {
1381
+ "shape": "S10"
1382
+ },
1383
+ "serverSideEncryptionConfiguration": {
1384
+ "shape": "S5"
1385
+ },
1386
+ "sourceConfiguration": {
1387
+ "shape": "S11"
1388
+ },
1389
+ "status": {},
1390
+ "tags": {
1391
+ "shape": "S7"
1392
+ }
1393
+ }
1394
+ },
1395
+ "S1a": {
1396
+ "type": "structure",
1397
+ "required": [
1398
+ "name",
1399
+ "sessionArn",
1400
+ "sessionId"
1401
+ ],
1402
+ "members": {
1403
+ "description": {},
1404
+ "name": {},
1405
+ "sessionArn": {},
1406
+ "sessionId": {},
1407
+ "tags": {
1408
+ "shape": "S7"
1409
+ }
1410
+ }
1411
+ },
1412
+ "S1r": {
1413
+ "type": "structure",
1414
+ "required": [
1415
+ "contentArn",
1416
+ "contentId",
1417
+ "contentType",
1418
+ "knowledgeBaseArn",
1419
+ "knowledgeBaseId",
1420
+ "metadata",
1421
+ "name",
1422
+ "revisionId",
1423
+ "status",
1424
+ "title"
1425
+ ],
1426
+ "members": {
1427
+ "contentArn": {},
1428
+ "contentId": {},
1429
+ "contentType": {},
1430
+ "knowledgeBaseArn": {},
1431
+ "knowledgeBaseId": {},
1432
+ "metadata": {
1433
+ "shape": "Sp"
1434
+ },
1435
+ "name": {},
1436
+ "revisionId": {},
1437
+ "status": {},
1438
+ "tags": {
1439
+ "shape": "S7"
1440
+ },
1441
+ "title": {}
1442
+ }
1443
+ },
1444
+ "S20": {
1445
+ "type": "structure",
1446
+ "required": [
1447
+ "contentReference"
1448
+ ],
1449
+ "members": {
1450
+ "contentReference": {
1451
+ "type": "structure",
1452
+ "members": {
1453
+ "contentArn": {},
1454
+ "contentId": {},
1455
+ "knowledgeBaseArn": {},
1456
+ "knowledgeBaseId": {}
1457
+ }
1458
+ },
1459
+ "excerpt": {
1460
+ "shape": "S22"
1461
+ },
1462
+ "title": {
1463
+ "shape": "S22"
1464
+ }
1465
+ }
1466
+ },
1467
+ "S22": {
1468
+ "type": "structure",
1469
+ "members": {
1470
+ "highlights": {
1471
+ "type": "list",
1472
+ "member": {
1473
+ "type": "structure",
1474
+ "members": {
1475
+ "beginOffsetInclusive": {
1476
+ "type": "integer"
1477
+ },
1478
+ "endOffsetExclusive": {
1479
+ "type": "integer"
1480
+ }
1481
+ }
1482
+ }
1483
+ },
1484
+ "text": {
1485
+ "type": "string",
1486
+ "sensitive": true
1487
+ }
1488
+ }
1489
+ },
1490
+ "S2n": {
1491
+ "type": "list",
1492
+ "member": {
1493
+ "shape": "S1r"
1494
+ }
1495
+ },
1496
+ "S2v": {
1497
+ "type": "list",
1498
+ "member": {}
1499
+ },
1500
+ "S38": {
1501
+ "type": "structure",
1502
+ "required": [
1503
+ "filters"
1504
+ ],
1505
+ "members": {
1506
+ "filters": {
1507
+ "type": "list",
1508
+ "member": {
1509
+ "type": "structure",
1510
+ "required": [
1511
+ "field",
1512
+ "operator",
1513
+ "value"
1514
+ ],
1515
+ "members": {
1516
+ "field": {},
1517
+ "operator": {},
1518
+ "value": {}
1519
+ }
1520
+ }
1521
+ }
1522
+ }
1523
+ }
1524
+ }
1525
+ }