

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# API を使用して Amazon Chime SDK の通話分析を設定する
<a name="create-config-apis"></a>

Voice Connector の作成と通話分析の設定をプログラムで行い、それらを関連付けることで、通話分析ワークフローを開始できます。このガイドは、読者の皆様にプログラミングのご経験があることを前提としています。

使用する API は、ワークフローのタイプによって異なります。例えば、音声を録音するには、最初に [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaInsightsPipelineConfiguration.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaInsightsPipelineConfiguration.html) API を呼び出し、通話分析の設定を行います。次に [CreateVoiceConnector](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_voice-chime_CreateVoiceConnector.html) を呼び出し、Voice Connector を作成します。最後に、[https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_voice-chime_PutVoiceConnectorStreamingConfiguration.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_voice-chime_PutVoiceConnectorStreamingConfiguration.html) API を使用して、設定を Voice Connector に関連付けます。

一方、Kinesis Video Streams プロデューサーで音声を録音するには、[https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaInsightsPipelineConfiguration.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaInsightsPipelineConfiguration.html) を呼び出してから [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaInsightsPipeline.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaInsightsPipeline.html) API を呼び出します。

通話分析の設定を使用してさまざまなワークフローを有効にする方法については、このセクションで後述する「[Amazon Chime SDK で通話分析の設定を使用する](using-call-analytics-configurations.md)」のワークフローで詳しく確認できます。