connect-contact-lens-2020-08-21.min.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2020-08-21",
  5. "endpointPrefix": "contact-lens",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceAbbreviation": "Amazon Connect Contact Lens",
  9. "serviceFullName": "Amazon Connect Contact Lens",
  10. "serviceId": "Connect Contact Lens",
  11. "signatureVersion": "v4",
  12. "signingName": "connect",
  13. "uid": "connect-contact-lens-2020-08-21"
  14. },
  15. "operations": {
  16. "ListRealtimeContactAnalysisSegments": {
  17. "http": {
  18. "requestUri": "/realtime-contact-analysis/analysis-segments"
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "InstanceId",
  24. "ContactId"
  25. ],
  26. "members": {
  27. "InstanceId": {},
  28. "ContactId": {},
  29. "MaxResults": {
  30. "type": "integer"
  31. },
  32. "NextToken": {}
  33. }
  34. },
  35. "output": {
  36. "type": "structure",
  37. "required": [
  38. "Segments"
  39. ],
  40. "members": {
  41. "Segments": {
  42. "type": "list",
  43. "member": {
  44. "type": "structure",
  45. "members": {
  46. "Transcript": {
  47. "type": "structure",
  48. "required": [
  49. "Id",
  50. "ParticipantId",
  51. "ParticipantRole",
  52. "Content",
  53. "BeginOffsetMillis",
  54. "EndOffsetMillis",
  55. "Sentiment"
  56. ],
  57. "members": {
  58. "Id": {},
  59. "ParticipantId": {},
  60. "ParticipantRole": {},
  61. "Content": {},
  62. "BeginOffsetMillis": {
  63. "type": "integer"
  64. },
  65. "EndOffsetMillis": {
  66. "type": "integer"
  67. },
  68. "Sentiment": {},
  69. "IssuesDetected": {
  70. "type": "list",
  71. "member": {
  72. "type": "structure",
  73. "required": [
  74. "CharacterOffsets"
  75. ],
  76. "members": {
  77. "CharacterOffsets": {
  78. "type": "structure",
  79. "required": [
  80. "BeginOffsetChar",
  81. "EndOffsetChar"
  82. ],
  83. "members": {
  84. "BeginOffsetChar": {
  85. "type": "integer"
  86. },
  87. "EndOffsetChar": {
  88. "type": "integer"
  89. }
  90. }
  91. }
  92. }
  93. }
  94. }
  95. }
  96. },
  97. "Categories": {
  98. "type": "structure",
  99. "required": [
  100. "MatchedCategories",
  101. "MatchedDetails"
  102. ],
  103. "members": {
  104. "MatchedCategories": {
  105. "type": "list",
  106. "member": {}
  107. },
  108. "MatchedDetails": {
  109. "type": "map",
  110. "key": {},
  111. "value": {
  112. "type": "structure",
  113. "required": [
  114. "PointsOfInterest"
  115. ],
  116. "members": {
  117. "PointsOfInterest": {
  118. "type": "list",
  119. "member": {
  120. "type": "structure",
  121. "required": [
  122. "BeginOffsetMillis",
  123. "EndOffsetMillis"
  124. ],
  125. "members": {
  126. "BeginOffsetMillis": {
  127. "type": "integer"
  128. },
  129. "EndOffsetMillis": {
  130. "type": "integer"
  131. }
  132. }
  133. }
  134. }
  135. }
  136. }
  137. }
  138. }
  139. }
  140. }
  141. }
  142. },
  143. "NextToken": {}
  144. }
  145. }
  146. }
  147. },
  148. "shapes": {}
  149. }