Queries entries in a specified prefix list.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PrefixListId |
string |
Yes |
The prefix list ID. |
pl-0b7hwu67**** |
| NextToken |
string |
No |
The pagination token for the next request. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
integer |
No |
The number of entries per page. Valid values: 1 to 100. Default: 20. |
20 |
| RegionId |
string |
Yes |
The region ID of the prefix list. Call the DescribeRegions operation to query available regions. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
| NextToken |
string |
The pagination token for subsequent requests. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| Count |
integer |
The number of entries returned. |
1 |
| PrefixListEntry |
array<object> |
The prefix list entries. |
|
|
object |
|||
| PrefixListId |
string |
The prefix list ID. |
pl-0b7hwu67**** |
| Cidr |
string |
The CIDR blocks in the prefix list. |
192.168.0.0/16 |
| Description |
string |
The description of the prefix list. |
description |
| RegionId |
string |
The region ID. |
cn-hangzhou |
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.NextToken | The specified NextToken is invalid. | The specified NextToken is invalid. |
| 400 | ResourceNotFound.PrefixList | The specified resource of prefixList is not found. | The prefix list does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.