

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

# 驗證 Amazon Chime SDK 會議的 SDK 配額和 API 限流
<a name="quotas-throttling"></a>

[Amazon Chime SDK 端點和配額](https://docs.aws.amazon.com/general/latest/gr/chime-sdk.html)頁面會列出服務配額、API 費率，以及是否可以進行調整。使用[AWS 主控台服務配額](https://console.aws.amazon.com/servicequotas/home/services/chime/quotas)頁面來請求配額調整。

**微調您的 API 速率**  
超過其 API 速率的應用程式會收到 HTTP 狀態碼 429 和 `ThrottledClientException` 訊息。您可以調整 API 速率，但在執行此作業之前，請檢查您的應用程式是否有可能耗盡這些速率的錯誤。例如，您可以在迴圈中建立會議，或建立會議而不清除。

視您建立會議的方式而定，您可能需要修改程式碼。例如，您可以將 `CreateMeeting`和 取代`CreateAttendee`為：
+ [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html) – 每次會議最多建立 10 名出席者。
+ [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_BatchCreateAttendee.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_BatchCreateAttendee.html) – 每次會議最多建立 100 名出席者。

您可以將建立的出席者存放在資料庫中，在受邀者加入會議時提取出席者資訊，然後將他們與預先建立的出席者建立關聯。