

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

# 設定 AWS SDK 以叫用 Amazon Chime SDK APIs
<a name="invoke-apis"></a>

此程式碼範例說明如何將登入資料傳遞至 AWS SDK，並設定區域和端點。

```
    AWS.config.credentials = new AWS.Credentials(accessKeyId, secretAccessKey, null);
    const chime = new AWS.Chime({ region: 'us-east-1' });
    chime.endpoint = new AWS.Endpoint('https://service.chime.aws.amazon.com/console');
```