see https://aws.amazon.com/jp/rekognition/getting-started/ for detail.
Python 2.7
See "Step 1" of https://aws.amazon.com/jp/rekognition/getting-started/
Example: ~/.aws/credentials
[default]
aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET
Example: ~/.aws/config
[default]
region=us-east-1
Install Boto 3 (AWS SDK for Python)
$ pip install boto3
$ python detect_labels.py [-f image_file_path] [-b s3_bucket] [-n s3_name] [-v s3_version]