{"note":"OpenAPI conversion -- returning structured metadata","name":"amazonaws-com-sms-voice","description":"Amazon Pinpoint SMS and Voice Service","version":"2018-09-05","base_url":"","endpoints":8,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Amazon Pinpoint SMS and Voice Service\n@version 2018-09-05\n@auth AWS SigV4\n@endpoints 8\n@toc sms-voice(8)\n\n@endpoint POST /v1/sms-voice/configuration-sets\n@desc Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.\n@optional {ConfigurationSetName: str}\n\n@endpoint POST /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations\n@desc Create a new event destination in a configuration set.\n@required {ConfigurationSetName: str}\n@optional {EventDestination: EventDestinationDefinition, EventDestinationName: str}\n\n@endpoint DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}\n@desc Deletes an existing configuration set.\n@required {ConfigurationSetName: str}\n\n@endpoint DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}\n@desc Deletes an event destination in a configuration set.\n@required {ConfigurationSetName: str, EventDestinationName: str}\n\n@endpoint GET /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations\n@desc 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.\n@required {ConfigurationSetName: str}\n@returns(200) {EventDestinations: [EventDestination]?}\n\n@endpoint GET /v1/sms-voice/configuration-sets\n@desc List all of the configuration sets associated with your Amazon Pinpoint account in the current region.\n@optional {NextToken: str, PageSize: str}\n@returns(200) {ConfigurationSets: [str]?, NextToken: str?}\n\n@endpoint POST /v1/sms-voice/voice/message\n@desc Create a new voice message and send it to a recipient's phone number.\n@optional {CallerId: str, ConfigurationSetName: str, Content: VoiceMessageContent, DestinationPhoneNumber: str, OriginationPhoneNumber: str}\n@returns(200) {MessageId: str?}\n\n@endpoint PUT /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}\n@desc 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.\n@required {ConfigurationSetName: str, EventDestinationName: str}\n@optional {EventDestination: EventDestinationDefinition}\n\n@end\n"}