

**支援終止通知：**2026 年 10 月 30 日， AWS 將結束對 Amazon Pinpoint 的支援。2026 年 10 月 30 日之後，您將無法再存取 Amazon Pinpoint 主控台或 Amazon Pinpoint 資源 (端點、區段、行銷活動、旅程和分析)。如需詳細資訊，請參閱 [Amazon Pinpoint 終止支援](https://docs.aws.amazon.com/console/pinpoint/migration-guide)。**注意：**與 SMS、語音、行動推播、OTP 和電話號碼驗證相關的 APIs 不受此變更影響，並受 AWS 最終使用者傳訊支援。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 從 Amazon Pinpoint 刪除事件串流
<a name="event-streams-disable"></a>

如果您將 Kinesis 串流指派給某個應用程式，您可以停用該應用程式的事件串流。Amazon Pinpoint 會停止將事件串流到 Kinesis，但您使用 Amazon Pinpoint 主控台可以檢視事件分析。

## AWS CLI
<a name="event-streams-disable-cli"></a>

使用 [https://docs.aws.amazon.com/cli/latest/reference/pinpoint/delete-event-stream.html](https://docs.aws.amazon.com/cli/latest/reference/pinpoint/delete-event-stream.html) 命令：

```
aws pinpoint delete-event-stream --application-id application-id
```

## 適用於 Java 的 AWS SDK
<a name="event-streams-disable-java"></a>

使用 Amazon Pinpoint 用戶端的 [https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/pinpoint/model/DeleteEventStreamRequest.html](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/pinpoint/model/DeleteEventStreamRequest.html)方法：

```
pinClient.deleteEventStream(new DeleteEventStreamRequest().withApplicationId(appId));
```