

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

# 暂停和恢复 Amazon Chime SDK 的呼叫分析管道
<a name="pausing-and-resuming-call-analytics-pipelines"></a>

要暂停和恢复媒体见解管道，请通过 `Pause` 或 `Resume` 操作调用 [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_UpdateMediaInsightsPipelineStatus.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_UpdateMediaInsightsPipelineStatus.html) API。为此，您需要在 `Identifier` 字段中传递管道的 ID 或 ARN。

**警告**  
警告：提供 `Pause` 状态后，`UpdateMediaInsightsPipelineStatus` API 会*停止*在媒体见解管道上启动的所有语音分析任务。提供 `Resume` 状态后，任务不会恢复，必须重新启动。在重新开始任务之前，您必须提供所有必要的通知并获得发言人的所有必要同意。有关更多信息，请参阅《Amazon Chime SDK API 参考》**中的 [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_StartSpeakerSearchTask.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_StartSpeakerSearchTask.html) 或 [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_StartVoiceToneAnalysisTask.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_StartVoiceToneAnalysisTask.html)。

暂停后，管道停止向处理器发送媒体以及向 Kinesis Data Streams 和数据仓库写入数据。当您 `Resume` 管道时，服务会发送流上最新的可用数据块。暂停超过 2 小时后，媒体见解管道会自动停止。**请注意**，通话录音不支持暂停和恢复。

 有关更多信息，请参阅以下主题：
+ [使用 EventBridge 通知](https://docs.aws.amazon.com/chime-sdk/latest/dg/ca-eventbridge-notifications.html)。
+ *《Amazon Kinesis Video Streams 开发者指南》*中的 [https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_StartSelector.html#KinesisVideo-Type-dataplane_StartSelector-StartSelectorType](https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_StartSelector.html#KinesisVideo-Type-dataplane_StartSelector-StartSelectorType)。
+ [Amazon Transcribe 通话分析功能处理器](https://docs.aws.amazon.com/chime-sdk/latest/dg/ca-processors-sinks.html#ca-transcribe-analytics-processor)。

**注意**  
 在管道暂停期间，您需要为通话分析的使用量付费。但是，您无需为通过资源访问角色访问的 AWS 服务（例如 Amazon Transcribe 和 Amazon Kinesis）付费。

 您可以使用、以及在 Identifier 字段中传递配置名称或 ARN [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaInsightsPipelineConfiguration.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaInsightsPipelineConfiguration.html) APIs 来读取[https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_GetMediaInsightsPipelineConfiguration.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_GetMediaInsightsPipelineConfiguration.html)、更新和删除现有呼叫分析配置。

 您可以通过调用 [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_media-pipelines-chime_ListMediaInsightsPipelineConfiguration.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_media-pipelines-chime_ListMediaInsightsPipelineConfiguration.html) API 来列出配置。