Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)


Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a gateway VPC endpoint. Currently, the services that support this action are Amazon S3 and Amazon DynamoDB.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No


One or more filters.

  • prefix-list-id: The ID of a prefix list.

  • prefix-list-name: The name of a prefix list.

Type: Array of Filter objects

Required: No


The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value specified is greater than 1000, we return only 1000 items.

Type: Integer

Required: No


The token for the next set of items to return. (You received this token from a prior call.)

Type: String

Required: No


One or more prefix list IDs.

Type: Array of strings

Required: No

Response Elements

The following elements are returned by the service.


The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

Type: String


All available prefix lists.

Type: Array of PrefixList objects


The ID of the request.

Type: String


For information about the errors that are common to all actions, see Common Client Errors.



This example lists all available AWS prefix lists.

Sample Request &AUTHPARAMS

Sample Response

<DescribePrefixListsResponse xmlns=""> <prefixListSet> <item> <prefixListName></prefixListName> <prefixListId>pl-12345678</prefixListId> <cidrSet> <item>54.123.456.7/19</item> </cidrSet> </item> </prefixListSet> <requestId>614db4d4-ac7b-4cb6-853e-example</requestId> </DescribePrefixListsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: