Queries the information of resources that are associated with a specific prefix list.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the prefix list. | cn-chengdu |
PrefixListId | string | Yes | The query token. Set the value to the | pl-x1j1k5ykzqlixdcy**** |
NextToken | string | No | The number of entries to return on each page. Maximum value: 100. Default value: 10. | AAAAAdDWBF2**** |
MaxResults | integer | No | The query token that is returned in this call. If the return value is empty, no more data is returned. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "AAAAAdDWBF2****",
"RequestId": "38793DB8-A4B2-4AEC-BFD3-111234E9188D",
"PrefixListAssociations": {
"PrefixListAssociation": [
{
"ResourceId": "sg-bp11ujym6xsff6l0****",
"ResourceType": "securitygroup"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter | %s | The specified parameter is invalid. |
400 | NotSupported.ResourceType | The specified resource type is not supported. | The resource type is not supported. |
404 | InvalidPrefixListId.NotFound | The specified prefix list was not found. | The prefix list does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2023-11-13 | The Error code has changed | see changesets | ||||||
|