Lists the versions of a specified standard parameter.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
oos:ListParameterVersions | list | *parameter
|
| None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | The region ID. | cn-hangzhou |
Name | string | Yes | The name of the parameter. | MyParameter |
MaxResults | integer | No | The number of entries to return on each page. Valid values: 10 to 100. Default value: 50. | 50 |
NextToken | string | No | The pagination token. | MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB |
ShareType | string | No | The share type of the parameter. | Private |
Response elements
Element | Type | Description | Example |
object | |||
Type | string | The type of the parameter. | String |
NextToken | string | The pagination token. | MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB |
RequestId | string | The request ID. | FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA |
Description | string | The description of the parameter. | parameter-description |
MaxResults | integer | The number of entries returned per page. | 50 |
CreatedBy | string | The user who created the parameter. | root(130900000) |
CreatedDate | string | The time when the parameter was created. | 2020-09-07T11:37:29Z |
Name | string | The name of the parameter. | MyParameter |
TotalCount | integer | The total number of entries. | 50 |
Id | string | The ID of the parameter. | p-a483b520e0axxxxxxxxx |
| ParameterVersions | array<object> | The details about the parameter versions. | |
object | |||
ParameterVersion | integer | The version of the parameter. | 1 |
Value | string | The value of the parameter. | MyParameter |
UpdatedDate | string | The time when the parameter was updated. | 2020-09-07T11:37:29Z |
UpdatedBy | string | The user who updated the parameter. | root(130900000) |
Examples
Success response
JSON format
{
"Type": "String",
"NextToken": "MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB",
"RequestId": "FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA",
"Description": "parameter-description",
"MaxResults": 50,
"CreatedBy": "root(130900000)",
"CreatedDate": "2020-09-07T11:37:29Z",
"Name": "MyParameter",
"TotalCount": 50,
"Id": "p-a483b520e0axxxxxxxxx",
"ParameterVersions": [
{
"ParameterVersion": 1,
"Value": "MyParameter",
"UpdatedDate": "2020-09-07T11:37:29Z",
"UpdatedBy": "root(130900000)"
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.