

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 讀取服務區域索引檔案
<a name="reading-service-region-index-files"></a>


|  | 
| --- |
| 若要提供有關 的意見回饋 AWS 價格表，請完成此[簡短問卷](https://amazonmr.au1.qualtrics.com/jfe/form/SV_cO0deTMyKyFeezA)。您的回覆將採匿名處理。**注意：**這份問卷僅提供英文版本。 | 

服務區域索引檔案採用 JSON 格式。若要讀取檔案，您可以使用文字程式或相關應用程式來剖析 JSON。

服務區域索引檔案由兩個主要部分組成：
+ 服務區域索引檔案的中繼資料
+  提供 AWS 區域 AWS 服務 Savings Plan 或代表有限 AWS Marketplace 方案的服務的所有清單。

服務區域的相關資訊中包括的 URL，可在指定期間和區域內用來下載該服務的價格。

**Topics**
+ [的服務區域索引檔案 AWS 服務](service-region-index-file-for-service.md)
+ [Savings Plan 的服務區域索引檔案](service-region-index-files-for-savings-plan.md)

# 的服務區域索引檔案 AWS 服務
<a name="service-region-index-file-for-service"></a>


|  | 
| --- |
| 若要提供有關 的意見回饋 AWS 價格表，請完成此[簡短問卷](https://amazonmr.au1.qualtrics.com/jfe/form/SV_cO0deTMyKyFeezA)。您的回覆將採匿名處理。**注意：**這份問卷僅提供英文版本。 | 

若要了解 的服務版本索引檔案 AWS 服務，請參閱下列參考：

**Contents**
+ [範例： 的服務區域索引檔案 AWS 服務](#service-region-index-file-for-service)
+ [服務區域索引定義](#service-region-index-definitions-services)

## 範例： 的服務區域索引檔案 AWS 服務
<a name="service-region-index-file-for-service"></a>

的服務區域索引檔案 AWS 服務 如下所示。

```
{
   "formatVersion":"The version number for the service region index format",
   "disclaimer":"The disclaimers for this service region index",
   "publicationDate":"The publication date of this service region index",
   "regions":{
      "firstRegion":{
         "regionCode":"A unique identifier that identifies this region",
         "currentVersionUrl":"The relative URL for the service regional price list file of this version"
      },
      "secondRegion":{
         "regionCode": ...,
         "currentVersionUrl": ...
      },
      ...
   }
}
```

## 服務區域索引定義
<a name="service-region-index-definitions-services"></a>

下列清單定義服務區域索引檔案中的詞彙。

**formatVersion**  
追蹤服務區域索引檔案所用格式版本的屬性。結構變更時，檔案的 `formatVersion` 會更新。例如，版本將從 `v1` 變更為 `v2`。

**disclaimer**  
適用於服務區域索引檔案的任何免責聲明。

**publicationDate**  
發行服務區域索引檔案的日期和時間，採用 UTC 格式。例如 `2023-03-28T23:47:21Z`。

**區域**  
 AWS 區域 適用於 的 清單 AWS 服務。

**regions:regionCode**  
 AWS 服務 提供此服務之區域的唯一代碼。此代碼的作用是區域清單中的查詢索引鍵。舉例來說，`us-east-2` 代表美國東部 (俄亥俄) 區域。

**regions:regionCode:currentVersionUrl**  
此版本的服務區域索引檔案相對 URL。例如 `/offers/v1.0/aws/AmazonRDS/20230328234721/us-east-2/index.json`。

# Savings Plan 的服務區域索引檔案
<a name="service-region-index-files-for-savings-plan"></a>


|  | 
| --- |
| 若要提供有關 的意見回饋 AWS 價格表，請完成此[簡短問卷](https://amazonmr.au1.qualtrics.com/jfe/form/SV_cO0deTMyKyFeezA)。您的回覆將採匿名處理。**注意：**這份問卷僅提供英文版本。 | 

若要瞭解 Savings Plan 的服務區域索引檔案，請參閱下列參考資料：

**Topics**
+ [範例：Savings Plan 的服務區域索引檔案](#service-region-index-file-for-savings-plans)
+ [服務區域索引定義](#service-region-index-file-definitions)

## 範例：Savings Plan 的服務區域索引檔案
<a name="service-region-index-file-for-savings-plans"></a>

Savings Plan 的服務區域索引檔案如下所示。

```
{
   "disclaimer":"The disclaimers for this service version index",
   "publicationDate":"The publication date of this service region index",
   "regions":[
      {
         "regionCode":"A unique identifier that identifies this region",
         "versionUrl":"The relative URL for the service regional price list file of this version"
      },
      {
         "regionCode": ...,
         "versionUrl": ...
      },
      ...
   ]
}
```

## 服務區域索引定義
<a name="service-region-index-file-definitions"></a>

下列清單定義服務區域索引檔案中的詞彙。

**disclaimer**  
適用於服務區域索引檔案的任何免責聲明。

**publicationDate**  
發行服務區域索引檔案的日期和時間，採用 UTC 格式。例如 `2023-03-28T23:47:21Z`。

**區域**  
 AWS 區域 適用於 的 清單 AWS 服務。

**regions:regionCode**  
 AWS 服務 提供此服務之區域的唯一代碼。此代碼的作用是區域清單中的查詢索引鍵。舉例來說，`us-east-2` 代表美國東部 (俄亥俄) 區域。

**regions:versionUrl**  
此版本的服務區域索引檔案相對 URL。例如 `/savingsPlan/v1.0/aws/AWSComputeSavingsPlan/20230407145705/us-east-2/index.json`。