读取节省计划的服务价目表文件 - Amazon 账单
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

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

读取节省计划的服务价目表文件

要提供相关的反馈 Amazon 价目表,请完成这份简短的调查。您的回复将是匿名的。注意:本调查仅提供英文版。

的服务价目表文件 Amazon Web Service 包括以下类型的信息:

  • 服务价目表文件详细信息-有关服务价目表文件的元数据,例如版本 Amazon Web Services 区域、和发布日期

  • 产品详细信息 – 列出服务价目表文件中的产品以及产品信息的产品元数据。

  • 定价详细信息(期限)– 服务价目表文件中所有产品的价格

CSV 文件

CSV 文件的前 5 行是价目表文件的元数据。第 6 行包含产品及其属性的所有列名称,例如 SKURateCode 等。

列数因节省计划而异。前几个列包含所有定价详细信息,而其他列包含节省计划的产品详细信息。

JSON 文件

产品和定价详细信息位于不同的部分中。JSON 服务价目表文件如下所示。

{ "version" : "The version of the price list file", "publicationDate" : "The publication date of the price list file", "regionCode" : "Region for which price list file is valid for", "products" : [ { "sku" : "The SKU of the product", "productFamily" : "The product family of the product", "serviceCode" : "Savings plan code", "attributes" : { "attributeName":"attributeValue", } }, ... ], "terms" : { "savingsPlan" : [ { "sku" : "The SKU of the product", "description" : "Description of the product", "effectiveDate" : "The effective date of the pricing details", "leaseContractLength" : { "duration" : "Length of the lease contract - it is a number", "unit" : "Unit of the duration" }, "rates" : [ { "discountedSku" : "The SKU of the discounted on demand product", "discountedUsageType" : "Usage type of the discounted product", "discountedOperation" : "Operation of the discounted product", "discountedServiceCode" : "Service code of the discounted product", "rateCode" : "The rate code of this price detail", "unit" : "Unit used to measure usage of the product", "discountedRate" : { "price" : "Price of the product", "currency" : "Currency of the price" } }, ... ] }, ... ] } }

服务价目表定义

以下列表定义服务价目表文件中使用的术语。

regionCode

价目表有效的区域的区域代码。

版本

跟踪价目表文件版本的属性。每次发布新文件时,都会包含一个新的版本号。例如,2015040902220520150910182105

publicationDate

发布服务价目表文件时的日期和时间,采用 UTC 格式。例如,2015-04-09T02:22:05Z2015-09-10T18:21:05Z

商品详细信息(商品)定义

此部分提供有关节省计划价目表文件中产品的信息。按 SKU 为产品编制索引。

products:product:sku

产品的唯一代码。使用 SKU 代码可关联产品详细信息和定价。

例如,SKU 为 HCNSHWWAJSGVAHMH 的产品仅适用于将 HCNSHWWAJSGVAHMH 列为 SKU 的价格。

products:product:productFamily

产品类型的类别。例如,计算类节省计划的 EC2InstanceSavingsPlans

products:product:serviceCode

节省计划的服务代码。例如,ComputeSavingsPlans

products:product:attributes

所有产品属性的列表。

products:product:attributes:attributeName

产品属性的名称。例如,Instance TypeLocation TypePurchase Option

products:product:attributes:attributeValue

产品属性的值。例如,m1.small(实例类型)、Amazon Local Zone(位置类型)或 No Upfront(购买选项类型)。

定价详细信息(期限)定义

此部分提供有关节省计划价目表文件中产品价格的信息。

价格首先按期限 (savingsPlan) 进行索引。

terms:termType

期限定义描述的特定类型的期限。有效的期限类型为 savingsPlan

terms:termType:sku

产品的唯一代码。使用 SKU 代码可关联产品详细信息和定价。

例如,SKU 为 T496KPMD8YQ8RZNC 的产品仅适用于将 496KPMD8YQ8RZNC 列为 SKU 的价格。

terms:termType:sku:description

产品的描述。

terms:termType:sku:effectiveDate

服务价目表文件的生效日期。例如,如果期限的 EffectiveDate 为 2017 年 11 月 1 日,则价格在该日期之前无效。

条款:术语类型:SKU:: 持续时间 leaseContractLength

租赁合同的期限。该值是一个数字。例如,1 或 3。

terms:termType:sku:rates

适用于节省计划产品的所有折扣率列表。一个节省计划产品是其他服务中多种产品的组合,其中包含多种组合费率。

terms:termType:sku:rates:discountedSku

按需折扣商品的 SKU。

条款:术语类型:SKU:费率:discountedUsageType

按需折扣产品的使用类型。

terms:termType:sku:rates:discountedOperation

按需折扣产品的操作。

条款:术语类型:SKU:费率:discountedServiceCode

按需折扣产品的服务代码。

terms:termType:sku:rates:rateCode

根据节省计划产品提供的此费率的费率代码。例如,T496KPMD8YQ8RZNC.26PW7ZDSYZZ6YBTZ

terms:termType:sku:rates:unit

用于衡量产品使用量的单位。例如,Amazon EC2 实例采用 Hrs

terms:termType:sku:rates:discountedRate:price

根据节省计划产品提供的折扣产品的价格。例如,3.434

terms:termType:sku:rates:discountedRate:currency

根据节省计划产品提供的折扣产品价格的货币。例如,USD