在 Snowball Edge 上使用 Amazon CLI 和 API 操作 - Amazon Snowball Edge 开发者指南
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

在 Snowball Edge 上使用 Amazon CLI 和 API 操作

在使用 Amazon Command Line Interface (Amazon CLI) 或 API 操作在 Snowball Edge 上发出 IAM、Amazon S3 和 Amazon EC2 命令时,必须将 region指定为“snow”。您可以使用 Amazon configure 或在命令本身中执行此操作,如以下示例所示。

aws configure --profile ProfileName Amazon Access Key ID [None]: defgh Amazon Secret Access Key [None]: 1234567 Default region name [None]: snow Default output format [None]: json

Or

aws s3 ls --profile ProfileName --endpoint http://192.0.2.0:8080 --region snow