本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
讀取 的服務價目表檔案 AWS 服務
若要提供有關 的意見回饋 AWS 價格表,請完成此簡短問卷 |
的服務價目表檔案 AWS 服務 包含下列類型的資訊:
-
服務價目表檔案詳細資訊:服務價目表檔案的中繼資料,例如格式版本和發佈日期
-
產品詳細資訊:在服務價目表檔案中列出產品的產品中繼資料,以及產品資訊
-
定價詳細資訊 (期限):此服務價目表檔案中所有產品的價格
內容
CSV 檔案
CSV 檔案的前五列包含價目表檔案的中繼資料。第六列包含產品及其屬性的資料欄名稱,例如 SKU、OfferTermCode、RateCode、TermType 等。
欄的數量因服務而異。前幾欄包含定價詳細資訊,而其他欄包含服務的產品詳細資訊。
JSON 檔案
產品詳細資訊和定價詳細資訊位在不同的區段。同一個產品可依多種期限來供應,而相同期限也能套用至多個產品。舉例來說,Amazon Elastic Compute Cloud (Amazon EC2) 執行個體適用於 Hourly 或 Reserved 期限。您可以使用產品的 SKU 識別該產品適用的期限。
範例:一般 JSON 結構
{ "formatVersion":"The version of the file format", "disclaimer":"The disclaimers for the price list file", "offerCode":"The code for the service", "version":"The version of the price list file", "publicationDate":"The publication date of the price list file", "products": { "sku": { "sku":"The SKU of the product", "productFamily":"The product family of the product", "attributes": { "attributeName":"attributeValue" } } }, "terms": TermDefinitions }
術語定義
不同的術語類型在術語物件中具有不同的結構。
OnDemand 和預留詞彙定義
{ "OnDemand|Reserved": { "sku": { "sku.offerTermCode": { "offerTermCode":"The term code of the product", "sku":"The SKU of the product", "effectiveDate":"The effective date of the pricing details", "termAttributesType":"The attribute type of the terms", "termAttributes": { "attributeName":"attributeValue" }, "priceDimensions": { "rateCode": { "rateCode":"The rate code of the price", "description":"The description of the term", "unit":"The usage measurement unit for the price", "startingRange":"The start range for the term", "endingRange":"The end range for the term", "pricePerUnit": { "currencyCode":"currencyRate" } } } } } } }
FlatRate 術語
{ "FlatRate": { "plans": [{ "planCode": "Plan identifier (for example, Free, Pro, Business)", "sku": "The SKU associated with this plan", "features": [{ "featureCode": "Unique feature identifier", "featureName": "Human-readable feature name", "usageQuota": { "value": "Usage limit (for quantitative features)", "unit": "Unit of measurement (for example, requests, GB)" } }], "subscriptionPrice": { "rateCode": "The rate code of the price", "description": "The description of the term", "pricePerUnit": { "currencyCode": "currencyRate" } } }] } }
服務價目表定義
下列清單定義服務價目表檔案中的詞彙。
- formatVersion
-
追蹤服務價目表檔案所用格式版本的屬性。結構變更時,檔案的
formatVersion會更新。例如,版本將從v1變更為v2。 - disclaimer
-
適用於服務價目表檔案的任何免責聲明。
- offerCode
-
產品的唯一程式碼 AWS 服務。例如:適用於 Amazon EC2 的
AmazonEC2或適用於 Amazon S3 的AmazonS3。 - version
-
追蹤服務價目表檔案版本的屬性。每次發佈新檔案時,都會包含新的版本號碼。例如,
20150409022205和20150910182105。 - publicationDate
-
發行服務價目表檔案的日期和時間,採用 UTC 格式。例如,
2015-04-09T02:22:05Z和2015-09-10T18:21:05Z。
產品詳細資訊 (產品) 定義
這個部分提供 AWS 服務服務價目表檔案中的產品相關資訊。產品是依據 SKU 編製索引。
- products:sku
-
產品的獨特代碼。使用
SKU代碼,關聯產品詳細資訊和定價。舉例來說,產品若有
HCNSHWWAJSGVAHMHSKU,則僅適用於同樣將HCNSHWWAJSGVAHMH列出為 SKU 的價格。 - products:sku:productFamily
-
產品類型的類別。例如:適用於 Amazon EC2 的
compute或適用於 Amazon S3 的storage。 - products:sku:attributes
-
所有產品屬性的清單。
- products:sku:attributes:Attribute Name
-
產品屬性的名稱。例如,
Instance Type、Processor或OS。 - products:sku:attributes:Attribute Value
-
產品屬性的值。例如:
m1.small(執行個體類型)、xen(處理器類型)、或Linux(作業系統類型)。
產品詳細資訊 (期限) 定義
本節提供 AWS 服務服務價目表檔案中的產品價格相關資訊。價格會依條款編製索引。
- terms:termType
-
有效期間定義描述的特定有效期間類型。有效詞彙類型為
Reserved、OnDemand和FlatRate。
OnDemand和預留定義
在本節中, termType是指 OnDemand或 Reserved。
- terms:termType:SKU
-
產品的獨特代碼。使用
SKU代碼,關聯產品詳細資訊和定價。舉例來說,產品若有
HCNSHWWAJSGVAHMHSKU,則僅適用於同樣將HCNSHWWAJSGVAHMH列出為 SKU 的價格。 - terms:termType:sku:Offer Term Code
-
特定有效期間類型的獨特代碼。例如
KCAKZHGHG。產品和價格組合是由 SKU 代碼引用,後面接著有效期間代碼,並以句點分隔。例如
U7ADXS4BEK5XXHRU.KCAKZHGHG。 - terms:termType:sku:Effective Date
-
服務價目表檔案生效的日期。舉例來說,如果期限中包含 2017 年 11 月 1 日的
EffectiveDate,則該日期之前的價格皆無效。 - terms:termType:sku:Term Attributes Type
-
識別有效期間涵蓋哪些產品和產品供應項目的唯一代碼。舉例來說,
EC2-Reserved屬性類型表示 Amazon EC2 預留主機適用的期限。
- terms:termType:sku:Term Attributes
-
列出期限類型所有適用屬性的清單。格式會顯示為
attribute-name: attribute-value。舉例來說,它可能是期限的長度,以及期限所涵蓋的購買類型。 - terms:termType:sku:Term Attributes:Attribute Name
-
TermAttribute的名稱。您可以使用其來查找特定的屬性。例如,您可以透過length或PurchaseOption查找有效期間。 - terms:termType:sku:Term Attributes:Attribute Value
-
TermAttribute的值。例如,有效期間可以有一年時長和All Upfront購買選項。 - terms:termType:sku:Price Dimensions
-
價目表檔案的定價詳細資訊,例如用量的衡量方式、付款時的可用貨幣,以及定價層級限制。
- terms:termType:sku:Price Dimensions:Rate Code
-
產品、優惠和定價層級組合的唯一代碼。產品和期限組合可以有多個價格維度,例如免費方案、低使用方案和高使用方案。
- terms:termType:sku:Price Dimensions:Rate Code:Description
-
价格或費率的描述。
- terms:termType:sku:Price Dimensions:Rate Code:Unit
-
每項服務用來測量帳單用量的單位類型。舉例來說,Amazon EC2 使用小時,Amazon S3 則使用 GB。
- terms:termType:sku:Price Dimensions:Rate Code:Starting Range
-
此價格涵蓋的價格方案的下限。舉例來說,0 GB 或 1,001 個 API 操作呼叫。
- terms:termType:sku:Price Dimensions:Rate Code:Ending Range
-
此價格涵蓋的價格方案的上限。舉例來說,1,000 GB 或 10,000 個 API 操作呼叫。
- terms:termType:sku:Price Dimensions:Rate Code:Price Per Unit
-
一項服務成本的有多少單一測量單位的計算。
- terms:termType:sku:Price Dimensions:Rate Code:Price Per Unit:Currency Code
-
表示特定產品價格貨幣的代碼。
- terms:termType:sku:Price Dimensions:Rate Code:Price Per Unit:Currency Rate
-
以各種支援貨幣計算的產品費率。例如,每個單位 1.2536 USD。
FlatRate 定義
在本節中, termType是指 FlatRate。
- terms:termType:plans
-
一系列可用的固定費率定價計劃。每個計劃代表具有綁定功能和固定訂閱成本的完整定價方案。
- terms:termType:plans:planCode
-
固定費率計劃的唯一識別符 (適用於檢查、「免費」、「專業」)。
- terms:termType:plans:sku
-
與此特定計劃相關聯的 SKU。將計劃連結至產品區段中的對應產品。
- terms:termType:plans:features
-
固定費率計劃中包含的一系列功能。
- terms:termType:plans:features:featureCode
-
功能的唯一識別符 (例如 "Requests"、"DataTransfer"、"S3Storage")。
- terms:termType:plans:features:featureName
-
功能的人類可讀取名稱 (例如,「請求」、「資料傳輸」)。
- terms:termType:plans:features:usageQuota
-
量化功能的用量限制。此物件是選用的,且僅適用於具有可測量限制的功能。
- terms:termType:plans:features:usageQuota:value
-
功能的數值限制 (例如,100 萬個請求為 "1000000",100 GB 為 "100")。
- terms:termType:plans:features:usageQuota:unit
-
用量限制的測量單位 (例如 "requests"、"GB")。
- terms:termType:plans:subscriptionPrice
-
固定費率計劃的訂閱定價詳細資訊。
- terms:termType:plans:subscriptionPrice:rateCode
-
產品、優惠和定價層級組合的唯一代碼。
- terms:termType:plans:subscriptionPrice:Description
-
价格或費率的描述。
- terms:termType:plans:subscriptionPrice:Price per Unit
-
一項服務成本的有多少單一測量單位的計算。
- terms:termType:plans:subscriptionPrice:Price per Unit:Currency Code
-
表示特定產品價格貨幣的代碼。
- terms:termType:plans:subscriptionPrice:Price per Unit:Currency Rate
-
各種支援貨幣的產品費率 (例如,每單位 1.2536 美元)。