AWS end-user-messaging: Document audio playback via SSML audio tag for outbound voice
Summary
Updated outbound voice messaging docs to describe playing supplied audio via an SSML audio tag instead of only synthesized speech; added a note requesting SME confirmation on audio hosting and file-format requirements.
Security assessment
This is a functional documentation update about voice message audio playback. It does not address a vulnerability, CVE, or security control; the added note merely requests clarification on hosting/format requirements, not security guidance.
Evidence
+To play audio that you supply instead of synthesized speech, set `--message-body-text-type` to `SSML` and reference your audio file with an SSML `audio` tag in the message body, for example `"<speak><audio src='https://example.com/audio/greeting.mp3'/></speak>"`. For the SSML tags that Amazon Polly supports, see [Supported SSML tags](https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html) in the _Amazon Polly Developer Guide_.
Diff
diff --git a/end-user-messaging/latest/userguide/nx-voice-send-outbound.md b/end-user-messaging/latest/userguide/nx-voice-send-outbound.md index 28ffd7a..bb7aa9c 100644 --- a//end-user-messaging/latest/userguide/nx-voice-send-outbound.md +++ b//end-user-messaging/latest/userguide/nx-voice-send-outbound.md @@ -9 +9 @@ -You place a voice call with the `SendVoiceMessage` operation. Use the AWS CLI to call from your application. The service converts a text script to speech with Amazon Polly. Provide the script as plain text, or use speech synthesis markup language (SSML) to control pronunciation, pauses, and emphasis. The example uses a phone pool as the origination identity, which is the recommended approach; you can also specify a single phone number instead. +You place a voice call with the `SendVoiceMessage` operation. Use the AWS CLI to call from your application. The service converts text to speech with Amazon Polly, or plays an audio file that you reference with speech synthesis markup language (SSML). The example uses a phone pool as the origination identity, which is the recommended approach; you can also specify a single phone number instead. @@ -46 +46,5 @@ If AWS End User Messaging accepts the request, it returns a `MessageId`. This me -To control how Amazon Polly reads the message, set `--message-body-text-type` to `SSML` and format the message body with speech synthesis markup language. SSML lets you adjust pronunciation, add pauses, change speaking rate and emphasis, and spell out acronyms. For the SSML tags that Amazon Polly supports, see [Supported SSML tags](https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html) in the _Amazon Polly Developer Guide_. An unsupported tag causes the request to fail. +To play audio that you supply instead of synthesized speech, set `--message-body-text-type` to `SSML` and reference your audio file with an SSML `audio` tag in the message body, for example `"<speak><audio src='https://example.com/audio/greeting.mp3'/></speak>"`. For the SSML tags that Amazon Polly supports, see [Supported SSML tags](https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html) in the _Amazon Polly Developer Guide_. + +###### Note + +[needs SME confirmation] Confirm the supported audio hosting and file-format requirements for AWS End User Messaging voice calls (for example, whether the audio must be reachable over HTTPS and the accepted codecs/bitrate). The API Reference documents `MessageBody` and `MessageBodyTextType` but does not restate Amazon Polly audio constraints.