

**终止支持通知：** AWS 将于 2026 年 10 月 30 日终止对亚马逊 Pinpoint 的支持。2026 年 10 月 30 日之后，您将不再能够访问 Amazon Pinpoint 控制台或 Amazon Pinpoint 资源（端点、分段、活动、旅程和分析）。有关更多信息，请参阅 [Amazon Pinpoint 终止支持](https://docs.aws.amazon.com/console/pinpoint/migration-guide)。**注意：** APIs 与短信相关、语音、移动推送、OTP 和电话号码验证不受此更改的影响，并受 AWS 最终用户消息的支持。

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

# 将 Amazon Pinpoint 与 AWS SDK 结合使用的代码示例
<a name="service_code_examples"></a>

以下代码示例演示了如何将 Amazon Pinpoint 与 AWS 软件开发工具包 (SDK) 结合使用。

有关 AWS SDK 开发人员指南和代码示例的完整列表，请参阅 [通过 AWS SDK 使用 Amazon Pinpoint](sdk-general-information-section.md)。本主题还包括有关入门的信息以及有关先前的 SDK 版本的详细信息。

**Contents**
+ [Amazon Pinpoint](service_code_examples_pinpoint.md)
  + [基本功能](service_code_examples_pinpoint_basics.md)
    + [操作](service_code_examples_pinpoint_actions.md)
      + [`CreateApp`](pinpoint_example_pinpoint_CreateApp_section.md)
      + [`CreateCampaign`](pinpoint_example_pinpoint_CreateCampaign_section.md)
      + [`CreateExportJob`](pinpoint_example_pinpoint_CreateExportJob_section.md)
      + [`CreateImportJob`](pinpoint_example_pinpoint_CreateImportJob_section.md)
      + [`CreateSegment`](pinpoint_example_pinpoint_CreateSegment_section.md)
      + [`DeleteApp`](pinpoint_example_pinpoint_DeleteApp_section.md)
      + [`DeleteEndpoint`](pinpoint_example_pinpoint_DeleteEndpoint_section.md)
      + [`GetEndpoint`](pinpoint_example_pinpoint_GetEndpoint_section.md)
      + [`GetSegments`](pinpoint_example_pinpoint_GetSegments_section.md)
      + [`GetSmsChannel`](pinpoint_example_pinpoint_GetSmsChannel_section.md)
      + [`GetUserEndpoints`](pinpoint_example_pinpoint_GetUserEndpoints_section.md)
      + [`SendMessages`](pinpoint_example_pinpoint_SendMessages_section.md)
      + [`UpdateEndpoint`](pinpoint_example_pinpoint_UpdateEndpoint_section.md)
+ [Amazon Pinpoint SMS 和 Voice API](service_code_examples_pinpoint-sms-voice.md)
  + [基本功能](service_code_examples_pinpoint-sms-voice_basics.md)
    + [操作](service_code_examples_pinpoint-sms-voice_actions.md)
      + [`CreateConfigurationSet`](pinpoint-sms-voice_example_pinpoint-sms-voice_CreateConfigurationSet_section.md)
      + [`CreateConfigurationSetEventDestination`](pinpoint-sms-voice_example_pinpoint-sms-voice_CreateConfigurationSetEventDestination_section.md)
      + [`DeleteConfigurationSet`](pinpoint-sms-voice_example_pinpoint-sms-voice_DeleteConfigurationSet_section.md)
      + [`DeleteConfigurationSetEventDestination`](pinpoint-sms-voice_example_pinpoint-sms-voice_DeleteConfigurationSetEventDestination_section.md)
      + [`GetConfigurationSetEventDestinations`](pinpoint-sms-voice_example_pinpoint-sms-voice_GetConfigurationSetEventDestinations_section.md)
      + [`ListConfigurationSets`](pinpoint-sms-voice_example_pinpoint-sms-voice_ListConfigurationSets_section.md)
      + [`SendVoiceMessage`](pinpoint-sms-voice_example_pinpoint-sms-voice_SendVoiceMessage_section.md)
      + [`UpdateConfigurationSetEventDestination`](pinpoint-sms-voice_example_pinpoint-sms-voice_UpdateConfigurationSetEventDestination_section.md)