本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
第 1 步:查找可用 Amazon Web Services
要提供相关的反馈 Amazon 价目表,请完成这份简短的调查 |
使用 DescribeServices
API 操作查找价目表批量处理 API 支持的所有可用 Amazon Web Services 。此 API 操作返回服务列表中的 ServiceCode
值。您稍后使用此值来查找相关的价目表文件。
例 示例:查找可用服务
以下命令说明如何查找可用的 Amazon Web Services。
aws pricing describe-services --region cn-northwest-1
Amazon Web Services 区域 是价目表批量 API 的 API 端点。端点与产品或服务属性无关。
响应
{ "FormatVersion": "aws_v1", "NextToken": "abcdefg123", "Services": [ { "AttributeNames": [ "volumeType", "maxIopsvolume", "instanceCapacity10xlarge", "locationType", "operation" ], "ServiceCode": "AmazonEC2" }, { "AttributeNames": [ "productFamily", "volumeType", "engineCode", "memory" ], "ServiceCode": "AmazonRDS" }, {...} ] }
有关此 API 操作的更多信息,请参阅《API 参考》中的DescribeServices和特定语言的 Amazon SDKAmazon Billing and Cost Management