AWS polly documentation change
Summary
Updated API reference links to point to the latest API Reference documentation instead of deprecated Developer Guide links
Security assessment
Changes only involve updating URL paths for API references without modifying security-related content or addressing vulnerabilities
Diff
diff --git a/polly/latest/dg/bidirectional-streaming-lifecycle.md b/polly/latest/dg/bidirectional-streaming-lifecycle.md index 6e202154d..6ec14b23c 100644 --- a//polly/latest/dg/bidirectional-streaming-lifecycle.md +++ b//polly/latest/dg/bidirectional-streaming-lifecycle.md @@ -15 +15 @@ A bidirectional streaming session involves opening a connection, sending text an -Your application calls the [StartSpeechSynthesisStream](https://docs.aws.amazon.com/polly/latest/dg/API_StartSpeechSynthesisStream.html) operation through the SDK, specifying synthesis parameters (`Engine`, `VoiceId`, `OutputFormat`, and optionally `LanguageCode`, `LexiconNames`, `SampleRate`). The SDK establishes an HTTP/2 connection and the bidirectional stream is ready to accept input events. +Your application calls the [StartSpeechSynthesisStream](https://docs.aws.amazon.com/polly/latest/APIReference/API_StartSpeechSynthesisStream.html) operation through the SDK, specifying synthesis parameters (`Engine`, `VoiceId`, `OutputFormat`, and optionally `LanguageCode`, `LexiconNames`, `SampleRate`). The SDK establishes an HTTP/2 connection and the bidirectional stream is ready to accept input events. @@ -19 +19 @@ Your application calls the [StartSpeechSynthesisStream](https://docs.aws.amazon. -The client sends one or more [TextEvent](https://docs.aws.amazon.com/polly/latest/dg/API_TextEvent.html) messages on the input stream. Each event can be sent as soon as text is available, without waiting for the full input to be ready. Text events do not need to align with sentence or punctuation boundaries. Amazon Polly reassembles the text internally and produces natural-sounding speech regardless of how the input is split across events. +The client sends one or more [TextEvent](https://docs.aws.amazon.com/polly/latest/APIReference/API_TextEvent.html) messages on the input stream. Each event can be sent as soon as text is available, without waiting for the full input to be ready. Text events do not need to align with sentence or punctuation boundaries. Amazon Polly reassembles the text internally and produces natural-sounding speech regardless of how the input is split across events. @@ -23 +23 @@ The client sends one or more [TextEvent](https://docs.aws.amazon.com/polly/lates -When using [SSML](https://docs.aws.amazon.com/polly/latest/dg/ssml.html), each SSML document must be self-contained within a single `TextEvent`. You cannot split SSML tags across multiple events. However, you can mix plain text events and SSML events within the same stream. +When using [Generating speech from SSML documents](./ssml.html), each SSML document must be self-contained within a single `TextEvent`. You cannot split SSML tags across multiple events. However, you can mix plain text events and SSML events within the same stream. @@ -40 +40 @@ Flushing gives you control over when synthesis happens. When you flush, Amazon P -To flush, set the [FlushStreamConfiguration](https://docs.aws.amazon.com/polly/latest/dg/API_FlushStreamConfiguration.html).`Force` parameter to `true` on a `TextEvent`. You can also send an empty `TextEvent` with the flush flag set to trigger synthesis without adding new content. +To flush, set the [FlushStreamConfiguration](https://docs.aws.amazon.com/polly/latest/APIReference/API_FlushStreamConfiguration.html).`Force` parameter to `true` on a `TextEvent`. You can also send an empty `TextEvent` with the flush flag set to trigger synthesis without adding new content. @@ -46 +46 @@ Flushing is a tradeoff. Setting `Force` to `true` mid-sentence may affect pronun -As Amazon Polly synthesizes text, it returns [AudioEvent](https://docs.aws.amazon.com/polly/latest/dg/API_AudioEvent.html) messages on the output stream. Each event contains a chunk of audio data. Your application must accumulate these chunks (for example, by writing them sequentially to a file or audio buffer) to produce the complete audio output. Audio events can arrive while you are still sending text events. +As Amazon Polly synthesizes text, it returns [AudioEvent](https://docs.aws.amazon.com/polly/latest/APIReference/API_AudioEvent.html) messages on the output stream. Each event contains a chunk of audio data. Your application must accumulate these chunks (for example, by writing them sequentially to a file or audio buffer) to produce the complete audio output. Audio events can arrive while you are still sending text events. @@ -50 +50 @@ As Amazon Polly synthesizes text, it returns [AudioEvent](https://docs.aws.amazo -When all input text has been sent, the client sends a [CloseStreamEvent](https://docs.aws.amazon.com/polly/latest/dg/API_CloseStreamEvent.html). Amazon Polly finishes processing any remaining buffered text, sends final audio events, and returns a [StreamClosedEvent](https://docs.aws.amazon.com/polly/latest/dg/API_StreamClosedEvent.html) that contains the total number of characters synthesized. Always send a `CloseStreamEvent` rather than relying on flushing to end the stream. Closing ensures that all buffered text is synthesized and returned. +When all input text has been sent, the client sends a [CloseStreamEvent](https://docs.aws.amazon.com/polly/latest/APIReference/API_CloseStreamEvent.html). Amazon Polly finishes processing any remaining buffered text, sends final audio events, and returns a [StreamClosedEvent](https://docs.aws.amazon.com/polly/latest/APIReference/API_StreamClosedEvent.html) that contains the total number of characters synthesized. Always send a `CloseStreamEvent` rather than relying on flushing to end the stream. Closing ensures that all buffered text is synthesized and returned. @@ -52 +52 @@ When all input text has been sent, the client sends a [CloseStreamEvent](https:/ -For full details on request parameters, event types, and errors, see the [StartSpeechSynthesisStream API reference](https://docs.aws.amazon.com/polly/latest/dg/API_StartSpeechSynthesisStream.html). +For full details on request parameters, event types, and errors, see the [StartSpeechSynthesisStream API reference](https://docs.aws.amazon.com/polly/latest/APIReference/API_StartSpeechSynthesisStream.html).