Queries versions of a common parameter.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListParameterVersions |
The operation that you want to perform. Set the value to ListParameterVersions. |
Name | String | Yes | MyParameter |
The name of the common parameter. |
RegionId | String | No | cn-hangzhou |
The ID of the region. |
MaxResults | Integer | No | 50 |
The number of entries to return on each page. Valid values: 10 to 100. Default value: 50. |
NextToken | String | No | MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB |
The pagination token. |
ShareType | String | No | Private |
The share type of the common parameter. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CreatedBy | String | root(130900000) |
The user who created the common parameter. |
CreatedDate | String | 2020-09-07T11:37:29Z |
The time when the common parameter was created. |
Description | String | parameter-description |
The description of the common parameter. |
Id | String | p-a483b520e0axxxxxxxxx |
The ID of the common parameter. |
MaxResults | Integer | 50 |
The number of entries returned per page. |
Name | String | MyParameter |
The name of the common parameter. |
NextToken | String | MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB |
The pagination token. |
ParameterVersions | Array of ParameterVersion |
The version information of the common parameter. |
|
ParameterVersion | Integer | 1 |
The version number of the common parameter. |
UpdatedBy | String | root(130900000) |
The user who updated the common parameter. |
UpdatedDate | String | 2020-09-07T11:37:29Z |
The time when the common parameter was updated. |
Value | String | MyParameter |
The value of the common parameter. |
RequestId | String | FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA |
The ID of the request. |
TotalCount | Integer | 50 |
The total number of entries returned. |
Type | String | String |
The data type of the common parameter. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ListParameterVersions
&Name=MyParameter
&<Common request parameters>
Sample success responses
XML
format
<Type>String</Type>
<ParameterVersions>
<UpdatedBy>root(130900000)</UpdatedBy>
<UpdatedDate>2020-09-07T11:37:29Z</UpdatedDate>
<ParameterVersion>1</ParameterVersion>
<Value>Running</Value>
</ParameterVersions>
<Description>parameter-description</Description>
<CreatedBy>root(130900000)</CreatedBy>
<RequestId>FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA</RequestId>
<MaxResults>50</MaxResults>
<CreatedDate>2020-09-07T11:37:29Z</CreatedDate>
<Id>p-a483b520e0axxxxxxxxx</Id>
<Name>MyParameter</Name>
JSON
format
{
"Type": "String",
"ParameterVersions": [
{
"UpdatedBy": "root(130900000)",
"UpdatedDate": "2020-09-07T11:37:29Z",
"ParameterVersion": 1,
"Value": "Running"
}
],
"Description": "parameter-description",
"CreatedBy": "root(130900000)",
"RequestId": "FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA",
"MaxResults": 50,
"CreatedDate": "2020-09-07T11:37:29Z",
"Id": "p-a483b520e0axxxxxxxxx",
"Name": "MyParameter"
}
Error codes
For a list of error codes, visit the API Error Center.