

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

# 了解 Amazon Chime SDK 即時轉錄事件
<a name="transcription-events"></a>

Amazon Chime SDK 會傳送轉錄生命週期事件，您可以使用這些事件來觸發通知並啟動下游工作流程。使用轉錄事件的一些範例包括：
+ 在 Amazon Chime SDK 會議中測量即時轉錄的採用
+ 追蹤語言偏好設定

您可以將事件傳送至 Amazon EventBridge、Amazon Simple Notification Service 和 Amazon Simple Queue Service。如需詳細資訊，請參閱《*Amazon EventBridge 使用者指南*》中的[來自 AWS 服務的事件](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html)。

## Amazon Chime SDK 會議轉錄已開始
<a name="transcript-start"></a>

開始會議轉錄或更新 時，Amazon Chime SDK [TranscriptionConfiguration](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_TranscriptionConfiguration.html)會傳送此事件。

**範例：事件資料**  
以下是此事件的範例資料。

```
{
    "version": "0", 
    "source": "aws.chime", 
    "account": "{{111122223333}}", 
    "id": "{{12345678-1234-1234-1234-111122223333}}", 
    "region": "us-east-1", 
    "detail-type": "Chime Meeting State Change", 
    "time": "{{yyyy-mm-ddThh:mm:ssZ}}", 
    "resources": []
    "detail": {
        "version": "0", 
        "eventType": "chime:TranscriptionStarted",
        "timestamp": {{12344566754}},
        "meetingId": "{{87654321-4321-4321-1234-111122223333}}",
        "externalMeetingId": "{{mymeeting}}",
        "mediaRegion": "us-west-1",
        "transcriptionRegion": "us-west-2",
        "[transcriptionConfiguration](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_StartMeetingTranscription.html)": "{{{...}}}"
    }
}
```

## Amazon Chime SDK 會議轉錄已停止
<a name="transcript-stop"></a>

Amazon Chime SDK 會在會議轉錄停止時傳送此事件。

**範例：事件資料**  
以下是此事件的範例資料。

```
{
    "version": "0", 
    "source": "aws.chime", 
    "account": "{{111122223333}}", 
    "id": "{{12345678-1234-1234-1234-111122223333}}", 
    "region": "us-east-1", 
    "detail-type": "Chime Meeting State Change", 
    "time": "{{yyyy-mm-ddThh:mm:ssZ}}", 
    "resources": []
    "detail": {
        "version": "0", 
        "eventType": "chime:TranscriptionStopped",
        "timestamp": {{12344566754}},
        "meetingId": "{{87654321-4321-4321-1234-111122223333}}",
        "externalMeetingId": "{{mymeeting}}",
        "mediaRegion": "us-west-1",
        "transcriptionRegion": "us-west-2",
        "[transcriptionConfiguration](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_StopMeetingTranscription.html)": "{{{...}}}"
    }
}
```

## Amazon Chime SDK 會議轉錄中斷
<a name="transcript-interrupted"></a>

如果會議轉錄中斷，Amazon Chime SDK 會傳送此事件。

**範例：事件資料**  
以下是此事件的範例資料。

```
{
    "version": "0", 
    "source": "aws.chime", 
    "account": "{{111122223333}}", 
    "id": "{{12345678-1234-1234-1234-111122223333}}", 
    "region": "us-east-1", 
    "detail-type": "Chime Meeting State Change", 
    "time": "{{yyyy-mm-ddThh:mm:ssZ}}", 
    "resources": []
    "detail": {
        "version": "0", 
        "eventType": "chime:TranscriptionInterrupted",
        "timestamp": {{12344566754}},
        "meetingId": "{{87654321-4321-4321-1234-111122223333}}",
        "externalMeetingId": "{{mymeeting}}",
        "message": "Internal server error",
        "mediaRegion": "us-west-1",
        "transcriptionRegion": "us-west-2",
        "[transcriptionConfiguration](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_TranscriptionConfiguration.html)": "{{{...}}}"
    }
}
```

## Amazon Chime SDK 會議轉錄已繼續
<a name="transcript-resumed"></a>

如果會議轉錄在中斷後恢復，Amazon Chime SDK 會傳送此事件。

**範例：事件資料**  
以下是此事件的範例資料。

```
{
    "version": "0", 
    "source": "aws.chime", 
    "account": "{{111122223333}}", 
    "id": "{{12345678-1234-1234-1234-111122223333}}", 
    "region": "us-east-1", 
    "detail-type": "Chime Meeting State Change", 
    "time": "{{yyyy-mm-ddThh:mm:ssZ}}", 
    "resources": []
    "detail": {
        "version": "0", 
        "eventType": "chime:TranscriptionResumed",
        "timestamp": {{12344566754}},
        "meetingId": "{{87654321-4321-4321-1234-111122223333}}",
        "externalMeetingId": "{{mymeeting}}",
        "mediaRegion": "us-west-1",
        "transcriptionRegion": "us-west-2",
        "[transcriptionConfiguration](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_TranscriptionConfiguration.html)": "{{{...}}}"
    }
}
```

## Amazon Chime SDK 會議轉錄失敗
<a name="transcript-failed"></a>

如果會議轉錄無法啟動，或在中斷後無法繼續，Amazon Chime SDK 會傳送此事件。

**範例：事件資料**  
以下是此事件的範例資料。

```
{
    "version": "0", 
    "source": "aws.chime", 
    "account": "{{111122223333}}", 
    "id": "{{12345678-1234-1234-1234-111122223333}}", 
    "region": "us-east-1", 
    "detail-type": "Chime Meeting State Change", 
    "time": "yyyy-mm-ddThh:mm:ssZ", 
    "resources": []
    "detail": {
        "version": "0", 
        "eventType": "chime:TranscriptionFailed",
        "timestamp": {{12344566754}},
        "meetingId": "{{87654321-4321-4321-1234-111122223333}}",
        "externalMeetingId": "{{mymeeting}}",
        "message": "Internal server error",
        "mediaRegion": "us-west-1",
        "transcriptionRegion": "us-west-2",
        "[transcriptionConfiguration](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_TranscriptionConfiguration.html)": "{{{...}}}"
    }
}
```