UNPKG

4.67 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2018-09-07",
5 "endpointPrefix": "participant.connect",
6 "jsonVersion": "1.1",
7 "protocol": "rest-json",
8 "serviceAbbreviation": "Amazon Connect Participant",
9 "serviceFullName": "Amazon Connect Participant Service",
10 "serviceId": "ConnectParticipant",
11 "signatureVersion": "v4",
12 "signingName": "execute-api",
13 "uid": "connectparticipant-2018-09-07"
14 },
15 "operations": {
16 "CreateParticipantConnection": {
17 "http": {
18 "requestUri": "/participant/connection"
19 },
20 "input": {
21 "type": "structure",
22 "required": [
23 "Type",
24 "ParticipantToken"
25 ],
26 "members": {
27 "Type": {
28 "type": "list",
29 "member": {}
30 },
31 "ParticipantToken": {
32 "location": "header",
33 "locationName": "X-Amz-Bearer"
34 }
35 }
36 },
37 "output": {
38 "type": "structure",
39 "members": {
40 "Websocket": {
41 "type": "structure",
42 "members": {
43 "Url": {},
44 "ConnectionExpiry": {}
45 }
46 },
47 "ConnectionCredentials": {
48 "type": "structure",
49 "members": {
50 "ConnectionToken": {},
51 "Expiry": {}
52 }
53 }
54 }
55 }
56 },
57 "DisconnectParticipant": {
58 "http": {
59 "requestUri": "/participant/disconnect"
60 },
61 "input": {
62 "type": "structure",
63 "required": [
64 "ConnectionToken"
65 ],
66 "members": {
67 "ClientToken": {
68 "idempotencyToken": true
69 },
70 "ConnectionToken": {
71 "location": "header",
72 "locationName": "X-Amz-Bearer"
73 }
74 }
75 },
76 "output": {
77 "type": "structure",
78 "members": {}
79 }
80 },
81 "GetTranscript": {
82 "http": {
83 "requestUri": "/participant/transcript"
84 },
85 "input": {
86 "type": "structure",
87 "required": [
88 "ConnectionToken"
89 ],
90 "members": {
91 "ContactId": {},
92 "MaxResults": {
93 "type": "integer"
94 },
95 "NextToken": {},
96 "ScanDirection": {},
97 "SortOrder": {},
98 "StartPosition": {
99 "type": "structure",
100 "members": {
101 "Id": {},
102 "AbsoluteTime": {},
103 "MostRecent": {
104 "type": "integer"
105 }
106 }
107 },
108 "ConnectionToken": {
109 "location": "header",
110 "locationName": "X-Amz-Bearer"
111 }
112 }
113 },
114 "output": {
115 "type": "structure",
116 "members": {
117 "InitialContactId": {},
118 "Transcript": {
119 "type": "list",
120 "member": {
121 "type": "structure",
122 "members": {
123 "AbsoluteTime": {},
124 "Content": {},
125 "ContentType": {},
126 "Id": {},
127 "Type": {},
128 "ParticipantId": {},
129 "DisplayName": {},
130 "ParticipantRole": {}
131 }
132 }
133 },
134 "NextToken": {}
135 }
136 }
137 },
138 "SendEvent": {
139 "http": {
140 "requestUri": "/participant/event"
141 },
142 "input": {
143 "type": "structure",
144 "required": [
145 "ContentType",
146 "ConnectionToken"
147 ],
148 "members": {
149 "ContentType": {},
150 "Content": {},
151 "ClientToken": {
152 "idempotencyToken": true
153 },
154 "ConnectionToken": {
155 "location": "header",
156 "locationName": "X-Amz-Bearer"
157 }
158 }
159 },
160 "output": {
161 "type": "structure",
162 "members": {
163 "Id": {},
164 "AbsoluteTime": {}
165 }
166 }
167 },
168 "SendMessage": {
169 "http": {
170 "requestUri": "/participant/message"
171 },
172 "input": {
173 "type": "structure",
174 "required": [
175 "ContentType",
176 "Content",
177 "ConnectionToken"
178 ],
179 "members": {
180 "ContentType": {},
181 "Content": {},
182 "ClientToken": {
183 "idempotencyToken": true
184 },
185 "ConnectionToken": {
186 "location": "header",
187 "locationName": "X-Amz-Bearer"
188 }
189 }
190 },
191 "output": {
192 "type": "structure",
193 "members": {
194 "Id": {},
195 "AbsoluteTime": {}
196 }
197 }
198 }
199 },
200 "shapes": {}
201}
\No newline at end of file