UNPKG

7.88 kBJSONView Raw
1{
2 "metadata": {
3 "apiVersion": "2018-09-05",
4 "endpointPrefix": "sms-voice.pinpoint",
5 "signingName": "sms-voice",
6 "serviceAbbreviation": "Pinpoint SMS Voice",
7 "serviceFullName": "Amazon Pinpoint SMS and Voice Service",
8 "serviceId": "Pinpoint SMS Voice",
9 "protocol": "rest-json",
10 "jsonVersion": "1.1",
11 "uid": "pinpoint-sms-voice-2018-09-05",
12 "signatureVersion": "v4"
13 },
14 "operations": {
15 "CreateConfigurationSet": {
16 "http": {
17 "requestUri": "/v1/sms-voice/configuration-sets",
18 "responseCode": 200
19 },
20 "input": {
21 "type": "structure",
22 "members": {
23 "ConfigurationSetName": {}
24 }
25 },
26 "output": {
27 "type": "structure",
28 "members": {}
29 }
30 },
31 "CreateConfigurationSetEventDestination": {
32 "http": {
33 "requestUri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
34 "responseCode": 200
35 },
36 "input": {
37 "type": "structure",
38 "members": {
39 "ConfigurationSetName": {
40 "location": "uri",
41 "locationName": "ConfigurationSetName"
42 },
43 "EventDestination": {
44 "shape": "S6"
45 },
46 "EventDestinationName": {}
47 },
48 "required": [
49 "ConfigurationSetName"
50 ]
51 },
52 "output": {
53 "type": "structure",
54 "members": {}
55 }
56 },
57 "DeleteConfigurationSet": {
58 "http": {
59 "method": "DELETE",
60 "requestUri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}",
61 "responseCode": 200
62 },
63 "input": {
64 "type": "structure",
65 "members": {
66 "ConfigurationSetName": {
67 "location": "uri",
68 "locationName": "ConfigurationSetName"
69 }
70 },
71 "required": [
72 "ConfigurationSetName"
73 ]
74 },
75 "output": {
76 "type": "structure",
77 "members": {}
78 }
79 },
80 "DeleteConfigurationSetEventDestination": {
81 "http": {
82 "method": "DELETE",
83 "requestUri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
84 "responseCode": 200
85 },
86 "input": {
87 "type": "structure",
88 "members": {
89 "ConfigurationSetName": {
90 "location": "uri",
91 "locationName": "ConfigurationSetName"
92 },
93 "EventDestinationName": {
94 "location": "uri",
95 "locationName": "EventDestinationName"
96 }
97 },
98 "required": [
99 "EventDestinationName",
100 "ConfigurationSetName"
101 ]
102 },
103 "output": {
104 "type": "structure",
105 "members": {}
106 }
107 },
108 "GetConfigurationSetEventDestinations": {
109 "http": {
110 "method": "GET",
111 "requestUri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
112 "responseCode": 200
113 },
114 "input": {
115 "type": "structure",
116 "members": {
117 "ConfigurationSetName": {
118 "location": "uri",
119 "locationName": "ConfigurationSetName"
120 }
121 },
122 "required": [
123 "ConfigurationSetName"
124 ]
125 },
126 "output": {
127 "type": "structure",
128 "members": {
129 "EventDestinations": {
130 "type": "list",
131 "member": {
132 "type": "structure",
133 "members": {
134 "CloudWatchLogsDestination": {
135 "shape": "S7"
136 },
137 "Enabled": {
138 "type": "boolean"
139 },
140 "KinesisFirehoseDestination": {
141 "shape": "Sa"
142 },
143 "MatchingEventTypes": {
144 "shape": "Sb"
145 },
146 "Name": {},
147 "SnsDestination": {
148 "shape": "Sd"
149 }
150 }
151 }
152 }
153 }
154 }
155 },
156 "ListConfigurationSets": {
157 "http": {
158 "method": "GET",
159 "requestUri": "/v1/sms-voice/configuration-sets",
160 "responseCode": 200
161 },
162 "input": {
163 "type": "structure",
164 "members": {
165 "NextToken": {
166 "location": "querystring",
167 "locationName": "NextToken"
168 },
169 "PageSize": {
170 "location": "querystring",
171 "locationName": "PageSize"
172 }
173 }
174 },
175 "output": {
176 "type": "structure",
177 "members": {
178 "ConfigurationSets": {
179 "type": "list",
180 "member": {}
181 },
182 "NextToken": {}
183 }
184 }
185 },
186 "SendVoiceMessage": {
187 "http": {
188 "requestUri": "/v1/sms-voice/voice/message",
189 "responseCode": 200
190 },
191 "input": {
192 "type": "structure",
193 "members": {
194 "CallerId": {},
195 "ConfigurationSetName": {},
196 "Content": {
197 "type": "structure",
198 "members": {
199 "CallInstructionsMessage": {
200 "type": "structure",
201 "members": {
202 "Text": {}
203 },
204 "required": []
205 },
206 "PlainTextMessage": {
207 "type": "structure",
208 "members": {
209 "LanguageCode": {},
210 "Text": {},
211 "VoiceId": {}
212 },
213 "required": []
214 },
215 "SSMLMessage": {
216 "type": "structure",
217 "members": {
218 "LanguageCode": {},
219 "Text": {},
220 "VoiceId": {}
221 },
222 "required": []
223 }
224 }
225 },
226 "DestinationPhoneNumber": {},
227 "OriginationPhoneNumber": {}
228 }
229 },
230 "output": {
231 "type": "structure",
232 "members": {
233 "MessageId": {}
234 }
235 }
236 },
237 "UpdateConfigurationSetEventDestination": {
238 "http": {
239 "method": "PUT",
240 "requestUri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
241 "responseCode": 200
242 },
243 "input": {
244 "type": "structure",
245 "members": {
246 "ConfigurationSetName": {
247 "location": "uri",
248 "locationName": "ConfigurationSetName"
249 },
250 "EventDestination": {
251 "shape": "S6"
252 },
253 "EventDestinationName": {
254 "location": "uri",
255 "locationName": "EventDestinationName"
256 }
257 },
258 "required": [
259 "EventDestinationName",
260 "ConfigurationSetName"
261 ]
262 },
263 "output": {
264 "type": "structure",
265 "members": {}
266 }
267 }
268 },
269 "shapes": {
270 "S6": {
271 "type": "structure",
272 "members": {
273 "CloudWatchLogsDestination": {
274 "shape": "S7"
275 },
276 "Enabled": {
277 "type": "boolean"
278 },
279 "KinesisFirehoseDestination": {
280 "shape": "Sa"
281 },
282 "MatchingEventTypes": {
283 "shape": "Sb"
284 },
285 "SnsDestination": {
286 "shape": "Sd"
287 }
288 },
289 "required": []
290 },
291 "S7": {
292 "type": "structure",
293 "members": {
294 "IamRoleArn": {},
295 "LogGroupArn": {}
296 },
297 "required": []
298 },
299 "Sa": {
300 "type": "structure",
301 "members": {
302 "DeliveryStreamArn": {},
303 "IamRoleArn": {}
304 },
305 "required": []
306 },
307 "Sb": {
308 "type": "list",
309 "member": {}
310 },
311 "Sd": {
312 "type": "structure",
313 "members": {
314 "TopicArn": {}
315 },
316 "required": []
317 }
318 }
319}
\No newline at end of file