Queries the list of versions of a template.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. | caeba0bbb2be03f84eb48b699f0**** |
MaxResults | long | No | The maximum number of results to be returned in a single call when NextToken is used for the query. Valid values: 1 to 100. Default value: 50. | 50 |
TemplateId | string | Yes | The template ID. This parameter applies to shared and private templates. | 5ecd1e10-b0e9-4389-a565-e4c15efc**** |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"Versions": [
{
"UpdateTime": "2020-02-27T07:47:47",
"Description": "test",
"CreateTime": "2020-02-27T07:47:47",
"TemplateName": "test",
"TemplateId": "5ecd1e10-b0e9-4389-a565-e4c15efc****",
"TemplateVersion": "v1"
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0****",
"RequestId": "B288A0BE-D927-4888-B0F7-B35EF84B6E6F"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history