All Products
Search
Document Center

Elastic Compute Service:DescribePrefixListAttributes

Last Updated:Mar 19, 2024

Queries the details of a prefix list, including the name, address family, maximum number of entries, and details of the entries.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the prefix list.

cn-chengdu
PrefixListIdstringYes

The time when the prefix list was created.

pl-x1j1k5ykzqlixdcy****

Response parameters

ParameterTypeDescriptionExample
object
CreationTimestring

The maximum number of entries that the prefix list can contain.

2021-02-20T07:11Z
MaxEntriesinteger

The ID of the request.

10
RequestIdstring

The description of the prefix list.

38793DB8-A4B2-4AEC-BFD3-111234E9188D
Descriptionstring

The IP address family of the prefix list. Valid values:

  • IPv4
  • IPv6
This is description.
AddressFamilystring

The name of the prefix list.

IPv4
PrefixListNamestring

The ID of the prefix list.

PrefixListNameSample
PrefixListIdstring

Details about the entries in the prefix list.

pl-x1j1k5ykzqlixdcy****
Entriesobject []

The description of the entry in the prefix list.

Descriptionstring

The CIDR block in the entry in the prefix list.

Description Sample 01

Examples

Sample success responses

JSONformat

{
  "CreationTime": "2021-02-20T07:11Z",
  "MaxEntries": 10,
  "RequestId": "38793DB8-A4B2-4AEC-BFD3-111234E9188D",
  "Description": "This is description.",
  "AddressFamily": "IPv4",
  "PrefixListName": "PrefixListNameSample",
  "PrefixListId": "pl-x1j1k5ykzqlixdcy****",
  "Entries": {
    "Entry": [
      {
        "Description": "Description Sample 01",
        "Cidr": "192.168.1.0/24"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidPrefixListId.NotFoundThe 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 timeSummary of changesOperation
2023-11-13The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 404 change