

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 使用 Amazon Polly 的代码示例 AWS SDKs
<a name="service_code_examples"></a>

以下代码示例展示了如何将 Amazon Polly 与 AWS 软件开发套件 (SDK) 一起使用。

*操作*是大型程序的代码摘录，必须在上下文中运行。您可以通过操作了解如何调用单个服务函数，还可以通过函数相关场景的上下文查看操作。

*场景*是向您展示如何通过在一个服务中调用多个函数或与其他 AWS 服务服务结合来完成特定任务的代码示例。

有关 S AWS DK 开发者指南和代码示例的完整列表，请参阅[将 Amazon Polly 与软件开发工具包配合使用 AWS](sdk-general-information-section.md)。本主题还包括有关入门的信息以及有关先前的 SDK 版本的详细信息。

**Contents**
+ [基本功能](service_code_examples_basics.md)
  + [操作](service_code_examples_actions.md)
    + [`DeleteLexicon`](example_polly_DeleteLexicon_section.md)
    + [`DescribeVoices`](example_polly_DescribeVoices_section.md)
    + [`GetLexicon`](example_polly_GetLexicon_section.md)
    + [`GetSpeechSynthesisTask`](example_polly_GetSpeechSynthesisTask_section.md)
    + [`ListLexicons`](example_polly_ListLexicons_section.md)
    + [`ListSpeechSynthesisTasks`](example_polly_ListSpeechSynthesisTasks_section.md)
    + [`PutLexicon`](example_polly_PutLexicon_section.md)
    + [`StartSpeechSynthesisTask`](example_polly_StartSpeechSynthesisTask_section.md)
    + [`SynthesizeSpeech`](example_polly_SynthesizeSpeech_section.md)
+ [场景](service_code_examples_scenarios.md)
  + [将文本转换为语音以及将语音转换回文本](example_cross_Telephone_section.md)
  + [创建口型同步应用程序](example_polly_LipSync_section.md)
  + [创建用于分析客户反馈的应用程序](example_cross_FSA_section.md)
  + [Amazon Polly 入门](example_polly_GettingStarted_082_section.md)