Queries a custom list, such as the name, description, type, and content.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
No |
The ID of the custom list, which can be obtained by calling the ListLists operation. |
40000001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
36af3fcc-43d0-441c-86b1-428951dc8225 |
| UpdateTime |
string |
The time when the custom list was last modified. |
2024-01-01T00:00:00Z |
| Id |
integer |
|
40000001 |
| Name |
string |
The name of the custom list. |
example |
| Description |
string |
The description of the custom list. |
a custom list |
| Kind |
string |
The type of the custom list. |
ip |
| Items |
array |
The items in the custom list, which are displayed as an array. |
|
|
string |
The item in the custom list. |
10.1.1.1 |
Examples
Success response
JSON format
{
"RequestId": "36af3fcc-43d0-441c-86b1-428951dc8225",
"UpdateTime": "2024-01-01T00:00:00Z",
"Id": 40000001,
"Name": "example",
"Description": "a custom list",
"Kind": "ip",
"Items": [
"10.1.1.1"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.