

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

# 設定
<a name="setting-up"></a>

第一次使用 Amazon Translate 之前，請先完成下列任務。

**Topics**
+ [註冊 AWS 帳戶](#sign-up-for-aws)
+ [安裝和設定 AWS Command Line Interface (AWS CLI)](#setup-awscli)
+ [授與程式設計存取權](#grant-program-access)
+ [搭配 AWS SDK 使用此服務](sdk-general-information-section.md)

## 註冊 AWS 帳戶
<a name="sign-up-for-aws"></a>

若要開始使用 AWS，您需要 AWS 帳戶。如需建立 的相關資訊 AWS 帳戶，請參閱《 *AWS 帳戶管理 參考指南*》中的 [入門 AWS 帳戶](https://docs.aws.amazon.com//accounts/latest/reference/getting-started.html)。

## 安裝和設定 AWS Command Line Interface (AWS CLI)
<a name="setup-awscli"></a>

您可以使用 AWS CLI 對 Amazon Translate 進行互動式呼叫。

**安裝和設定 AWS CLI**

1. 安裝 AWS CLI。如需說明，請參閱*AWS Command Line Interface 《 使用者指南*》中的下列主題：

   [ 安裝或更新最新版本的 AWS Command Line Interface](https://docs.aws.amazon.com/cli/latest/userguide/cli-getting-started-install.html)

1. 設定 AWS CLI。如需說明，請參閱*AWS Command Line Interface 《 使用者指南*》中的下列主題：

   [設定 AWS Command Line Interface](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)

## 授與程式設計存取權
<a name="grant-program-access"></a>

如果使用者想要與 AWS 外部互動，則需要程式設計存取 AWS 管理主控台。授予程式設計存取權的方式取決於正在存取的使用者類型 AWS。

若要授予使用者程式設計存取權，請選擇下列其中一個選項。


****  

| 哪個使用者需要程式設計存取權？ | 到 | 根據 | 
| --- | --- | --- | 
| IAM | （建議） 使用主控台登入資料做為臨時登入資料，以簽署對 AWS CLI、 AWS SDKs程式設計請求。 AWS APIs | 請依照您要使用的介面所提供的指示操作。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/translate/latest/dg/setting-up.html) | 
| 人力資源身分<br />(IAM Identity Center 中管理的使用者) | 使用暫時登入資料簽署對 AWS CLI、 AWS SDKs程式設計請求。 AWS APIs | 請依照您要使用的介面所提供的指示操作。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/translate/latest/dg/setting-up.html) | 
| IAM | 使用暫時登入資料簽署對 AWS CLI、 AWS SDKs程式設計請求。 AWS APIs | 遵循《IAM 使用者指南》中[將臨時登入資料與 AWS 資源](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)搭配使用中的指示。 | 
| IAM | (不建議使用)使用長期登入資料來簽署對 AWS CLI、 AWS SDKs程式設計請求。 AWS APIs | 請依照您要使用的介面所提供的指示操作。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/translate/latest/dg/setting-up.html) | 