{"files":{"SKILL.md":"---\nname: amazon-pinpoint-sms-and-voice-service\ndescription: \"Amazon Pinpoint SMS and Voice Service API skill. Use when working with Amazon Pinpoint SMS and Voice Service for sms-voice. Covers 8 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Amazon Pinpoint SMS and Voice Service\nAPI version: 2018-09-05\n\n## Auth\nAWS SigV4\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: AWS SigV4\n2. GET /v1/sms-voice/configuration-sets -- list all of the configuration sets associated with your amazon pinpoint account in the current region.\n3. POST /v1/sms-voice/configuration-sets -- create first configuration-set\n\n## Endpoints\n8 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Sms-voice\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/sms-voice/configuration-sets | Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it. |\n| POST | /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations | Create a new event destination in a configuration set. |\n| DELETE | /v1/sms-voice/configuration-sets/{ConfigurationSetName} | Deletes an existing configuration set. |\n| DELETE | /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName} | Deletes an event destination in a configuration set. |\n| GET | /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations | 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| GET | /v1/sms-voice/configuration-sets | List all of the configuration sets associated with your Amazon Pinpoint account in the current region. |\n| POST | /v1/sms-voice/voice/message | Create a new voice message and send it to a recipient's phone number. |\n| PUT | /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName} | 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\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a configuration-set?\" -> POST /v1/sms-voice/configuration-sets\n- \"Create a event-destination?\" -> POST /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations\n- \"Delete a configuration-set?\" -> DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}\n- \"Delete a event-destination?\" -> DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}\n- \"List all event-destinations?\" -> GET /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations\n- \"List all configuration-sets?\" -> GET /v1/sms-voice/configuration-sets\n- \"Create a message?\" -> POST /v1/sms-voice/voice/message\n- \"Update a event-destination?\" -> PUT /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@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"}}