

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

# 的服務版本索引檔案 AWS 服務
<a name="service-version-index-file-for-aws-service"></a>


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

如需瞭解服務版本索引檔案，請參閱下列參考資料：

**Topics**
+ [範例：服務的服務版本索引檔案](#example-service-version-index-file-service)
+ [服務版本索引檔案定義](#service-version-index-definitions-sps)

## 範例：服務的服務版本索引檔案
<a name="example-service-version-index-file-service"></a>

服務版本索引檔案如下所示。

```
{
   "formatVersion":"The version number for the service version index format",
   "disclaimer":"The disclaimers for this service version index",
   "publicationDate":"The publication date of this service version index",
   "offerCode": "The service code/Savings Plan code",
   "currentVersion": "The latest version of the service"
   "versions":{
      "firstVersion":{
         "versionEffectiveBeginDate":"The date starting which this version is effective",
         "versionEffectiveEndDate":"The date until which this version is effective",
         "offerVersionUrl":"The relative URL for the service price list file of this version"
      },
      "secondVersion":{
         "versionEffectiveBeginDate": ...,
         "versionEffectiveEndDate": ...,
         "offerVersionUrl": ...
      },
      ...
   },
}
```

## 服務版本索引檔案定義
<a name="service-version-index-definitions-sps"></a>

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

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

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

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

**offerCode**  
產品的唯一程式碼 AWS 服務。例如 `AmazonRDS` 或 `AmazonS3`。

**currentVersion**  
 AWS 服務的最新版本編號。例如 `20230328234721`。

**versions**  
此 AWS 服務的可用版本清單。

**versions:version**  
 AWS 服務的價目表版本唯一代碼。此代碼的作用是版本清單中的查詢索引鍵。例如，`20230328234721`、

**versions:version:versionEffectiveBeginDate**  
UTC 格式的開始日期和時間，對該版本有效。例如 `2023-03-28T23:47:21Z`。

**versions:version:versionEffectiveEndDate**  
UTC 格式的結束日期和時間，對該版本有效。例如 `2023-03-28T23:47:21Z`。如果未設定此屬性，表示此版本為目前作用中的版本。

**versions:version:offerVersionUrl**  
版本的服務價目表檔案相對 URL。例如 `/offers/v1.0/aws/AmazonRDS/20230328234721/index.json`。