

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

# 的服务版本索引文件 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`，

**版本:版本:日期 versionEffectiveBegin**  
此版本生效开始的日期和时间，采用 UTC 格式。例如 `2023-03-28T23:47:21Z`。

**版本:版本:日期 versionEffectiveEnd**  
此版本生效结束的日期和时间，采用 UTC 格式。例如 `2023-03-28T23:47:21Z`。如果未设置此属性，则表示此版本是当前有效的版本。

**版本:版本:offerVersionUrl**  
此版本的服务价目表文件的相对 URL。例如 `/offers/v1.0/aws/AmazonRDS/20230328234721/index.json`。