

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 설정AWS CLI
<a name="setting-up-the-aws-cli"></a>

JupyterLab 또는 DataBrew API를 사용하려면 ()를AWS Command Line Interface설치해야 합니다AWS CLI. DataBrew 콘솔을 사용하거나 시작하기 연습의 단계를 수행하는 데 필요하지 않습니다.

**를 설정하려면AWS CLI**

1. 다음 단계에AWS CLI따라를 다운로드하고 구성합니다.
   + [AWS CLI설치](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)
   + [구성 기본 사항](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html)

1. 명령 프롬프트에 다음 DataBrew 명령을 입력하여 설정을 확인합니다.

   ```
   aws databrew help
   ```

   이 문이 "`aws: error: argument command: Invalid choice`" 오류를 반환한 후 서비스 목록이 긴 경우를 제거한AWS CLI다음 다시 설치합니다. 이 작업은 기존 구성을 덮어쓰지 않습니다.

AWS CLI명령은 파라미터 또는 프로파일로 설정하지 않는 한 구성의 기본AWS리전을 사용합니다. 각 명령에 `--region` 파라미터를 추가할 수 있습니다.

원하는 경우 `~/.aws/config` 또는 `%UserProfile%/.aws/config` (Microsoft Windows)에서 [명명된 프로필을](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) 추가할 수 있습니다. 명명된 프로필은 다음 예제와 같이 다른 설정도 보존할 수 있습니다.

```
[profile {{databrew}}]
aws_access_key_id = {{ACCESS-KEY-ID-OF-IAM-USER}}
aws_secret_access_key = {{SECRET-ACCESS-KEY-ID-OF-IAM-USER}}
region = {{us-east-1}}
output = {{text}}
```