1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.pinpointsmsvoice#AlreadyExistsException": {
33            "type": "structure",
34            "members": {
35                "Message": {
36                    "target": "com.amazonaws.pinpointsmsvoice#String"
37                }
38            },
39            "traits": {
40                "smithy.api#documentation": "The resource specified in your request already exists.",
41                "smithy.api#error": "client",
42                "smithy.api#httpError": 409
43            }
44        },
45        "com.amazonaws.pinpointsmsvoice#BadRequestException": {
46            "type": "structure",
47            "members": {
48                "Message": {
49                    "target": "com.amazonaws.pinpointsmsvoice#String"
50                }
51            },
52            "traits": {
53                "smithy.api#documentation": "The input you provided is invalid.",
54                "smithy.api#error": "client",
55                "smithy.api#httpError": 400
56            }
57        },
58        "com.amazonaws.pinpointsmsvoice#Boolean": {
59            "type": "boolean"
60        },
61        "com.amazonaws.pinpointsmsvoice#CallInstructionsMessageType": {
62            "type": "structure",
63            "members": {
64                "Text": {
65                    "target": "com.amazonaws.pinpointsmsvoice#NonEmptyString",
66                    "traits": {
67                        "smithy.api#documentation": "The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide."
68                    }
69                }
70            },
71            "traits": {
72                "smithy.api#documentation": "An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup."
73            }
74        },
75        "com.amazonaws.pinpointsmsvoice#CloudWatchLogsDestination": {
76            "type": "structure",
77            "members": {
78                "IamRoleArn": {
79                    "target": "com.amazonaws.pinpointsmsvoice#String",
80                    "traits": {
81                        "smithy.api#documentation": "The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination."
82                    }
83                },
84                "LogGroupArn": {
85                    "target": "com.amazonaws.pinpointsmsvoice#String",
86                    "traits": {
87                        "smithy.api#documentation": "The name of the Amazon CloudWatch Log Group that you want to record events in."
88                    }
89                }
90            },
91            "traits": {
92                "smithy.api#documentation": "An object that contains information about an event destination that sends data to Amazon CloudWatch Logs."
93            }
94        },
95        "com.amazonaws.pinpointsmsvoice#ConfigurationSets": {
96            "type": "list",
97            "member": {
98                "target": "com.amazonaws.pinpointsmsvoice#WordCharactersWithDelimiters"
99            },
100            "traits": {
101                "smithy.api#documentation": "An array that contains all of the configuration sets in your Amazon Pinpoint account in the current AWS Region."
102            }
103        },
104        "com.amazonaws.pinpointsmsvoice#CreateConfigurationSet": {
105            "type": "operation",
106            "input": {
107                "target": "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetRequest"
108            },
109            "output": {
110                "target": "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetResponse"
111            },
112            "errors": [
113                {
114                    "target": "com.amazonaws.pinpointsmsvoice#AlreadyExistsException"
115                },
116                {
117                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
118                },
119                {
120                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
121                },
122                {
123                    "target": "com.amazonaws.pinpointsmsvoice#LimitExceededException"
124                },
125                {
126                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
127                }
128            ],
129            "traits": {
130                "smithy.api#documentation": "Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.",
131                "smithy.api#http": {
132                    "method": "POST",
133                    "uri": "/v1/sms-voice/configuration-sets",
134                    "code": 200
135                }
136            }
137        },
138        "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetEventDestination": {
139            "type": "operation",
140            "input": {
141                "target": "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetEventDestinationRequest"
142            },
143            "output": {
144                "target": "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetEventDestinationResponse"
145            },
146            "errors": [
147                {
148                    "target": "com.amazonaws.pinpointsmsvoice#AlreadyExistsException"
149                },
150                {
151                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
152                },
153                {
154                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
155                },
156                {
157                    "target": "com.amazonaws.pinpointsmsvoice#LimitExceededException"
158                },
159                {
160                    "target": "com.amazonaws.pinpointsmsvoice#NotFoundException"
161                },
162                {
163                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
164                }
165            ],
166            "traits": {
167                "smithy.api#documentation": "Create a new event destination in a configuration set.",
168                "smithy.api#http": {
169                    "method": "POST",
170                    "uri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
171                    "code": 200
172                }
173            }
174        },
175        "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetEventDestinationRequest": {
176            "type": "structure",
177            "members": {
178                "ConfigurationSetName": {
179                    "target": "com.amazonaws.pinpointsmsvoice#__string",
180                    "traits": {
181                        "smithy.api#documentation": "ConfigurationSetName",
182                        "smithy.api#httpLabel": {},
183                        "smithy.api#required": {}
184                    }
185                },
186                "EventDestination": {
187                    "target": "com.amazonaws.pinpointsmsvoice#EventDestinationDefinition"
188                },
189                "EventDestinationName": {
190                    "target": "com.amazonaws.pinpointsmsvoice#NonEmptyString",
191                    "traits": {
192                        "smithy.api#documentation": "A name that identifies the event destination."
193                    }
194                }
195            },
196            "traits": {
197                "smithy.api#documentation": "Create a new event destination in a configuration set."
198            }
199        },
200        "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetEventDestinationResponse": {
201            "type": "structure",
202            "members": {},
203            "traits": {
204                "smithy.api#documentation": "An empty object that indicates that the event destination was created successfully."
205            }
206        },
207        "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetRequest": {
208            "type": "structure",
209            "members": {
210                "ConfigurationSetName": {
211                    "target": "com.amazonaws.pinpointsmsvoice#WordCharactersWithDelimiters",
212                    "traits": {
213                        "smithy.api#documentation": "The name that you want to give the configuration set."
214                    }
215                }
216            },
217            "traits": {
218                "smithy.api#documentation": "A request to create a new configuration set."
219            }
220        },
221        "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetResponse": {
222            "type": "structure",
223            "members": {},
224            "traits": {
225                "smithy.api#documentation": "An empty object that indicates that the configuration set was successfully created."
226            }
227        },
228        "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSet": {
229            "type": "operation",
230            "input": {
231                "target": "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetRequest"
232            },
233            "output": {
234                "target": "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetResponse"
235            },
236            "errors": [
237                {
238                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
239                },
240                {
241                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
242                },
243                {
244                    "target": "com.amazonaws.pinpointsmsvoice#NotFoundException"
245                },
246                {
247                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
248                }
249            ],
250            "traits": {
251                "smithy.api#documentation": "Deletes an existing configuration set.",
252                "smithy.api#http": {
253                    "method": "DELETE",
254                    "uri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}",
255                    "code": 200
256                }
257            }
258        },
259        "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetEventDestination": {
260            "type": "operation",
261            "input": {
262                "target": "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetEventDestinationRequest"
263            },
264            "output": {
265                "target": "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetEventDestinationResponse"
266            },
267            "errors": [
268                {
269                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
270                },
271                {
272                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
273                },
274                {
275                    "target": "com.amazonaws.pinpointsmsvoice#NotFoundException"
276                },
277                {
278                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
279                }
280            ],
281            "traits": {
282                "smithy.api#documentation": "Deletes an event destination in a configuration set.",
283                "smithy.api#http": {
284                    "method": "DELETE",
285                    "uri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
286                    "code": 200
287                }
288            }
289        },
290        "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetEventDestinationRequest": {
291            "type": "structure",
292            "members": {
293                "ConfigurationSetName": {
294                    "target": "com.amazonaws.pinpointsmsvoice#__string",
295                    "traits": {
296                        "smithy.api#documentation": "ConfigurationSetName",
297                        "smithy.api#httpLabel": {},
298                        "smithy.api#required": {}
299                    }
300                },
301                "EventDestinationName": {
302                    "target": "com.amazonaws.pinpointsmsvoice#__string",
303                    "traits": {
304                        "smithy.api#documentation": "EventDestinationName",
305                        "smithy.api#httpLabel": {},
306                        "smithy.api#required": {}
307                    }
308                }
309            }
310        },
311        "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetEventDestinationResponse": {
312            "type": "structure",
313            "members": {},
314            "traits": {
315                "smithy.api#documentation": "An empty object that indicates that the event destination was deleted successfully."
316            }
317        },
318        "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetRequest": {
319            "type": "structure",
320            "members": {
321                "ConfigurationSetName": {
322                    "target": "com.amazonaws.pinpointsmsvoice#__string",
323                    "traits": {
324                        "smithy.api#documentation": "ConfigurationSetName",
325                        "smithy.api#httpLabel": {},
326                        "smithy.api#required": {}
327                    }
328                }
329            }
330        },
331        "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetResponse": {
332            "type": "structure",
333            "members": {},
334            "traits": {
335                "smithy.api#documentation": "An empty object that indicates that the configuration set was deleted successfully."
336            }
337        },
338        "com.amazonaws.pinpointsmsvoice#EventDestination": {
339            "type": "structure",
340            "members": {
341                "CloudWatchLogsDestination": {
342                    "target": "com.amazonaws.pinpointsmsvoice#CloudWatchLogsDestination"
343                },
344                "Enabled": {
345                    "target": "com.amazonaws.pinpointsmsvoice#Boolean",
346                    "traits": {
347                        "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination."
348                    }
349                },
350                "KinesisFirehoseDestination": {
351                    "target": "com.amazonaws.pinpointsmsvoice#KinesisFirehoseDestination"
352                },
353                "MatchingEventTypes": {
354                    "target": "com.amazonaws.pinpointsmsvoice#EventTypes"
355                },
356                "Name": {
357                    "target": "com.amazonaws.pinpointsmsvoice#String",
358                    "traits": {
359                        "smithy.api#documentation": "A name that identifies the event destination configuration."
360                    }
361                },
362                "SnsDestination": {
363                    "target": "com.amazonaws.pinpointsmsvoice#SnsDestination"
364                }
365            },
366            "traits": {
367                "smithy.api#documentation": "An object that defines an event destination."
368            }
369        },
370        "com.amazonaws.pinpointsmsvoice#EventDestinationDefinition": {
371            "type": "structure",
372            "members": {
373                "CloudWatchLogsDestination": {
374                    "target": "com.amazonaws.pinpointsmsvoice#CloudWatchLogsDestination"
375                },
376                "Enabled": {
377                    "target": "com.amazonaws.pinpointsmsvoice#Boolean",
378                    "traits": {
379                        "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination."
380                    }
381                },
382                "KinesisFirehoseDestination": {
383                    "target": "com.amazonaws.pinpointsmsvoice#KinesisFirehoseDestination"
384                },
385                "MatchingEventTypes": {
386                    "target": "com.amazonaws.pinpointsmsvoice#EventTypes"
387                },
388                "SnsDestination": {
389                    "target": "com.amazonaws.pinpointsmsvoice#SnsDestination"
390                }
391            },
392            "traits": {
393                "smithy.api#documentation": "An object that defines a single event destination."
394            }
395        },
396        "com.amazonaws.pinpointsmsvoice#EventDestinations": {
397            "type": "list",
398            "member": {
399                "target": "com.amazonaws.pinpointsmsvoice#EventDestination"
400            },
401            "traits": {
402                "smithy.api#documentation": "An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination."
403            }
404        },
405        "com.amazonaws.pinpointsmsvoice#EventType": {
406            "type": "string",
407            "traits": {
408                "smithy.api#documentation": "The types of events that are sent to the event destination.",
409                "smithy.api#enum": [
410                    {
411                        "value": "INITIATED_CALL",
412                        "name": "INITIATED_CALL"
413                    },
414                    {
415                        "value": "RINGING",
416                        "name": "RINGING"
417                    },
418                    {
419                        "value": "ANSWERED",
420                        "name": "ANSWERED"
421                    },
422                    {
423                        "value": "COMPLETED_CALL",
424                        "name": "COMPLETED_CALL"
425                    },
426                    {
427                        "value": "BUSY",
428                        "name": "BUSY"
429                    },
430                    {
431                        "value": "FAILED",
432                        "name": "FAILED"
433                    },
434                    {
435                        "value": "NO_ANSWER",
436                        "name": "NO_ANSWER"
437                    }
438                ]
439            }
440        },
441        "com.amazonaws.pinpointsmsvoice#EventTypes": {
442            "type": "list",
443            "member": {
444                "target": "com.amazonaws.pinpointsmsvoice#EventType"
445            },
446            "traits": {
447                "smithy.api#documentation": "An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination."
448            }
449        },
450        "com.amazonaws.pinpointsmsvoice#GetConfigurationSetEventDestinations": {
451            "type": "operation",
452            "input": {
453                "target": "com.amazonaws.pinpointsmsvoice#GetConfigurationSetEventDestinationsRequest"
454            },
455            "output": {
456                "target": "com.amazonaws.pinpointsmsvoice#GetConfigurationSetEventDestinationsResponse"
457            },
458            "errors": [
459                {
460                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
461                },
462                {
463                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
464                },
465                {
466                    "target": "com.amazonaws.pinpointsmsvoice#NotFoundException"
467                },
468                {
469                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
470                }
471            ],
472            "traits": {
473                "smithy.api#documentation": "Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination.",
474                "smithy.api#http": {
475                    "method": "GET",
476                    "uri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
477                    "code": 200
478                }
479            }
480        },
481        "com.amazonaws.pinpointsmsvoice#GetConfigurationSetEventDestinationsRequest": {
482            "type": "structure",
483            "members": {
484                "ConfigurationSetName": {
485                    "target": "com.amazonaws.pinpointsmsvoice#__string",
486                    "traits": {
487                        "smithy.api#documentation": "ConfigurationSetName",
488                        "smithy.api#httpLabel": {},
489                        "smithy.api#required": {}
490                    }
491                }
492            }
493        },
494        "com.amazonaws.pinpointsmsvoice#GetConfigurationSetEventDestinationsResponse": {
495            "type": "structure",
496            "members": {
497                "EventDestinations": {
498                    "target": "com.amazonaws.pinpointsmsvoice#EventDestinations"
499                }
500            },
501            "traits": {
502                "smithy.api#documentation": "An object that contains information about an event destination."
503            }
504        },
505        "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException": {
506            "type": "structure",
507            "members": {
508                "Message": {
509                    "target": "com.amazonaws.pinpointsmsvoice#String"
510                }
511            },
512            "traits": {
513                "smithy.api#documentation": "The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.",
514                "smithy.api#error": "server",
515                "smithy.api#httpError": 500
516            }
517        },
518        "com.amazonaws.pinpointsmsvoice#KinesisFirehoseDestination": {
519            "type": "structure",
520            "members": {
521                "DeliveryStreamArn": {
522                    "target": "com.amazonaws.pinpointsmsvoice#String",
523                    "traits": {
524                        "smithy.api#documentation": "The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon Kinesis Data Firehose stream."
525                    }
526                },
527                "IamRoleArn": {
528                    "target": "com.amazonaws.pinpointsmsvoice#String",
529                    "traits": {
530                        "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination that you want to use in the event destination."
531                    }
532                }
533            },
534            "traits": {
535                "smithy.api#documentation": "An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose."
536            }
537        },
538        "com.amazonaws.pinpointsmsvoice#LimitExceededException": {
539            "type": "structure",
540            "members": {
541                "Message": {
542                    "target": "com.amazonaws.pinpointsmsvoice#String"
543                }
544            },
545            "traits": {
546                "smithy.api#documentation": "There are too many instances of the specified resource type.",
547                "smithy.api#error": "client",
548                "smithy.api#httpError": 412
549            }
550        },
551        "com.amazonaws.pinpointsmsvoice#ListConfigurationSets": {
552            "type": "operation",
553            "input": {
554                "target": "com.amazonaws.pinpointsmsvoice#ListConfigurationSetsRequest"
555            },
556            "output": {
557                "target": "com.amazonaws.pinpointsmsvoice#ListConfigurationSetsResponse"
558            },
559            "errors": [
560                {
561                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
562                },
563                {
564                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
565                },
566                {
567                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
568                }
569            ],
570            "traits": {
571                "smithy.api#documentation": "List all of the configuration sets associated with your Amazon Pinpoint account in the current region.",
572                "smithy.api#http": {
573                    "method": "GET",
574                    "uri": "/v1/sms-voice/configuration-sets",
575                    "code": 200
576                }
577            }
578        },
579        "com.amazonaws.pinpointsmsvoice#ListConfigurationSetsRequest": {
580            "type": "structure",
581            "members": {
582                "NextToken": {
583                    "target": "com.amazonaws.pinpointsmsvoice#__string",
584                    "traits": {
585                        "smithy.api#documentation": "A token returned from a previous call to the API that indicates the position in the list of results.",
586                        "smithy.api#httpQuery": "NextToken"
587                    }
588                },
589                "PageSize": {
590                    "target": "com.amazonaws.pinpointsmsvoice#__string",
591                    "traits": {
592                        "smithy.api#documentation": "Used to specify the number of items that should be returned in the response.",
593                        "smithy.api#httpQuery": "PageSize"
594                    }
595                }
596            }
597        },
598        "com.amazonaws.pinpointsmsvoice#ListConfigurationSetsResponse": {
599            "type": "structure",
600            "members": {
601                "ConfigurationSets": {
602                    "target": "com.amazonaws.pinpointsmsvoice#ConfigurationSets",
603                    "traits": {
604                        "smithy.api#documentation": "An object that contains a list of configuration sets for your account in the current region."
605                    }
606                },
607                "NextToken": {
608                    "target": "com.amazonaws.pinpointsmsvoice#NextTokenString",
609                    "traits": {
610                        "smithy.api#documentation": "A token returned from a previous call to ListConfigurationSets to indicate the position in the list of configuration sets."
611                    }
612                }
613            },
614            "traits": {
615                "smithy.api#documentation": "An object that contains information about the configuration sets for your account in the current region."
616            }
617        },
618        "com.amazonaws.pinpointsmsvoice#NextTokenString": {
619            "type": "string"
620        },
621        "com.amazonaws.pinpointsmsvoice#NonEmptyString": {
622            "type": "string"
623        },
624        "com.amazonaws.pinpointsmsvoice#NotFoundException": {
625            "type": "structure",
626            "members": {
627                "Message": {
628                    "target": "com.amazonaws.pinpointsmsvoice#String"
629                }
630            },
631            "traits": {
632                "smithy.api#documentation": "The resource you attempted to access doesn't exist.",
633                "smithy.api#error": "client",
634                "smithy.api#httpError": 404
635            }
636        },
637        "com.amazonaws.pinpointsmsvoice#PinpointSMSVoice": {
638            "type": "service",
639            "version": "2018-09-05",
640            "operations": [
641                {
642                    "target": "com.amazonaws.pinpointsmsvoice#CreateConfigurationSet"
643                },
644                {
645                    "target": "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetEventDestination"
646                },
647                {
648                    "target": "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSet"
649                },
650                {
651                    "target": "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetEventDestination"
652                },
653                {
654                    "target": "com.amazonaws.pinpointsmsvoice#GetConfigurationSetEventDestinations"
655                },
656                {
657                    "target": "com.amazonaws.pinpointsmsvoice#ListConfigurationSets"
658                },
659                {
660                    "target": "com.amazonaws.pinpointsmsvoice#SendVoiceMessage"
661                },
662                {
663                    "target": "com.amazonaws.pinpointsmsvoice#UpdateConfigurationSetEventDestination"
664                }
665            ],
666            "traits": {
667                "aws.api#service": {
668                    "sdkId": "Pinpoint SMS Voice",
669                    "arnNamespace": "sms-voice",
670                    "cloudFormationName": "PinpointSMSVoice",
671                    "cloudTrailEventSource": "pinpointsmsvoice.amazonaws.com",
672                    "endpointPrefix": "sms-voice.pinpoint"
673                },
674                "aws.auth#sigv4": {
675                    "name": "sms-voice"
676                },
677                "aws.protocols#restJson1": {},
678                "smithy.api#documentation": "Pinpoint SMS and Voice Messaging public facing APIs",
679                "smithy.api#title": "Amazon Pinpoint SMS and Voice Service"
680            }
681        },
682        "com.amazonaws.pinpointsmsvoice#PlainTextMessageType": {
683            "type": "structure",
684            "members": {
685                "LanguageCode": {
686                    "target": "com.amazonaws.pinpointsmsvoice#String",
687                    "traits": {
688                        "smithy.api#documentation": "The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide."
689                    }
690                },
691                "Text": {
692                    "target": "com.amazonaws.pinpointsmsvoice#NonEmptyString",
693                    "traits": {
694                        "smithy.api#documentation": "The plain (not SSML-formatted) text to deliver to the recipient."
695                    }
696                },
697                "VoiceId": {
698                    "target": "com.amazonaws.pinpointsmsvoice#String",
699                    "traits": {
700                        "smithy.api#documentation": "The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide."
701                    }
702                }
703            },
704            "traits": {
705                "smithy.api#documentation": "An object that defines a message that contains unformatted text."
706            }
707        },
708        "com.amazonaws.pinpointsmsvoice#SSMLMessageType": {
709            "type": "structure",
710            "members": {
711                "LanguageCode": {
712                    "target": "com.amazonaws.pinpointsmsvoice#String",
713                    "traits": {
714                        "smithy.api#documentation": "The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide."
715                    }
716                },
717                "Text": {
718                    "target": "com.amazonaws.pinpointsmsvoice#NonEmptyString",
719                    "traits": {
720                        "smithy.api#documentation": "The SSML-formatted text to deliver to the recipient."
721                    }
722                },
723                "VoiceId": {
724                    "target": "com.amazonaws.pinpointsmsvoice#String",
725                    "traits": {
726                        "smithy.api#documentation": "The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide."
727                    }
728                }
729            },
730            "traits": {
731                "smithy.api#documentation": "An object that defines a message that contains SSML-formatted text."
732            }
733        },
734        "com.amazonaws.pinpointsmsvoice#SendVoiceMessage": {
735            "type": "operation",
736            "input": {
737                "target": "com.amazonaws.pinpointsmsvoice#SendVoiceMessageRequest"
738            },
739            "output": {
740                "target": "com.amazonaws.pinpointsmsvoice#SendVoiceMessageResponse"
741            },
742            "errors": [
743                {
744                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
745                },
746                {
747                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
748                },
749                {
750                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
751                }
752            ],
753            "traits": {
754                "smithy.api#documentation": "Create a new voice message and send it to a recipient's phone number.",
755                "smithy.api#http": {
756                    "method": "POST",
757                    "uri": "/v1/sms-voice/voice/message",
758                    "code": 200
759                }
760            }
761        },
762        "com.amazonaws.pinpointsmsvoice#SendVoiceMessageRequest": {
763            "type": "structure",
764            "members": {
765                "CallerId": {
766                    "target": "com.amazonaws.pinpointsmsvoice#String",
767                    "traits": {
768                        "smithy.api#documentation": "The phone number that appears on recipients' devices when they receive the message."
769                    }
770                },
771                "ConfigurationSetName": {
772                    "target": "com.amazonaws.pinpointsmsvoice#WordCharactersWithDelimiters",
773                    "traits": {
774                        "smithy.api#documentation": "The name of the configuration set that you want to use to send the message."
775                    }
776                },
777                "Content": {
778                    "target": "com.amazonaws.pinpointsmsvoice#VoiceMessageContent"
779                },
780                "DestinationPhoneNumber": {
781                    "target": "com.amazonaws.pinpointsmsvoice#NonEmptyString",
782                    "traits": {
783                        "smithy.api#documentation": "The phone number that you want to send the voice message to."
784                    }
785                },
786                "OriginationPhoneNumber": {
787                    "target": "com.amazonaws.pinpointsmsvoice#NonEmptyString",
788                    "traits": {
789                        "smithy.api#documentation": "The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request."
790                    }
791                }
792            },
793            "traits": {
794                "smithy.api#documentation": "SendVoiceMessageRequest"
795            }
796        },
797        "com.amazonaws.pinpointsmsvoice#SendVoiceMessageResponse": {
798            "type": "structure",
799            "members": {
800                "MessageId": {
801                    "target": "com.amazonaws.pinpointsmsvoice#String",
802                    "traits": {
803                        "smithy.api#documentation": "A unique identifier for the voice message."
804                    }
805                }
806            },
807            "traits": {
808                "smithy.api#documentation": "An object that that contains the Message ID of a Voice message that was sent successfully."
809            }
810        },
811        "com.amazonaws.pinpointsmsvoice#SnsDestination": {
812            "type": "structure",
813            "members": {
814                "TopicArn": {
815                    "target": "com.amazonaws.pinpointsmsvoice#String",
816                    "traits": {
817                        "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to."
818                    }
819                }
820            },
821            "traits": {
822                "smithy.api#documentation": "An object that contains information about an event destination that sends data to Amazon SNS."
823            }
824        },
825        "com.amazonaws.pinpointsmsvoice#String": {
826            "type": "string"
827        },
828        "com.amazonaws.pinpointsmsvoice#TooManyRequestsException": {
829            "type": "structure",
830            "members": {
831                "Message": {
832                    "target": "com.amazonaws.pinpointsmsvoice#String"
833                }
834            },
835            "traits": {
836                "smithy.api#documentation": "You've issued too many requests to the resource. Wait a few minutes, and then try again.",
837                "smithy.api#error": "client",
838                "smithy.api#httpError": 429
839            }
840        },
841        "com.amazonaws.pinpointsmsvoice#UpdateConfigurationSetEventDestination": {
842            "type": "operation",
843            "input": {
844                "target": "com.amazonaws.pinpointsmsvoice#UpdateConfigurationSetEventDestinationRequest"
845            },
846            "output": {
847                "target": "com.amazonaws.pinpointsmsvoice#UpdateConfigurationSetEventDestinationResponse"
848            },
849            "errors": [
850                {
851                    "target": "com.amazonaws.pinpointsmsvoice#BadRequestException"
852                },
853                {
854                    "target": "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException"
855                },
856                {
857                    "target": "com.amazonaws.pinpointsmsvoice#NotFoundException"
858                },
859                {
860                    "target": "com.amazonaws.pinpointsmsvoice#TooManyRequestsException"
861                }
862            ],
863            "traits": {
864                "smithy.api#documentation": "Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails.",
865                "smithy.api#http": {
866                    "method": "PUT",
867                    "uri": "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
868                    "code": 200
869                }
870            }
871        },
872        "com.amazonaws.pinpointsmsvoice#UpdateConfigurationSetEventDestinationRequest": {
873            "type": "structure",
874            "members": {
875                "ConfigurationSetName": {
876                    "target": "com.amazonaws.pinpointsmsvoice#__string",
877                    "traits": {
878                        "smithy.api#documentation": "ConfigurationSetName",
879                        "smithy.api#httpLabel": {},
880                        "smithy.api#required": {}
881                    }
882                },
883                "EventDestination": {
884                    "target": "com.amazonaws.pinpointsmsvoice#EventDestinationDefinition"
885                },
886                "EventDestinationName": {
887                    "target": "com.amazonaws.pinpointsmsvoice#__string",
888                    "traits": {
889                        "smithy.api#documentation": "EventDestinationName",
890                        "smithy.api#httpLabel": {},
891                        "smithy.api#required": {}
892                    }
893                }
894            },
895            "traits": {
896                "smithy.api#documentation": "UpdateConfigurationSetEventDestinationRequest"
897            }
898        },
899        "com.amazonaws.pinpointsmsvoice#UpdateConfigurationSetEventDestinationResponse": {
900            "type": "structure",
901            "members": {},
902            "traits": {
903                "smithy.api#documentation": "An empty object that indicates that the event destination was updated successfully."
904            }
905        },
906        "com.amazonaws.pinpointsmsvoice#VoiceMessageContent": {
907            "type": "structure",
908            "members": {
909                "CallInstructionsMessage": {
910                    "target": "com.amazonaws.pinpointsmsvoice#CallInstructionsMessageType"
911                },
912                "PlainTextMessage": {
913                    "target": "com.amazonaws.pinpointsmsvoice#PlainTextMessageType"
914                },
915                "SSMLMessage": {
916                    "target": "com.amazonaws.pinpointsmsvoice#SSMLMessageType"
917                }
918            },
919            "traits": {
920                "smithy.api#documentation": "An object that contains a voice message and information about the recipient that you want to send it to."
921            }
922        },
923        "com.amazonaws.pinpointsmsvoice#WordCharactersWithDelimiters": {
924            "type": "string"
925        },
926        "com.amazonaws.pinpointsmsvoice#__string": {
927            "type": "string"
928        }
929    }
930}
931