DeleteManagedPrefixList - Amazon Elastic Compute Cloud


Deletes the specified managed prefix list. You must first remove all references to the prefix list in your resources.

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


The ID of the prefix list.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.


Information about the prefix list.

Type: ManagedPrefixList object


The ID of the request.

Type: String


For information about the errors that are common to all actions, see Common client error codes.



This example deletes the specified prefix list.

Sample Request &PrefixListId=pl-0123123123123aabb &AUTHPARAMS

Sample Response

<DeleteManagedPrefixListResponse xmlns=""> <requestId>06152571-575a-49aa-af95-example</requestId> <prefixList> <addressFamily>IPv6</addressFamily> <maxEntries>25</maxEntries> <ownerId>123456789012</ownerId> <prefixListArn>arn:aws:ec2:us-east-1:123456789012:prefix-list/pl-0123123123123aabb</prefixListArn> <prefixListId>pl-0123123123123aabb</prefixListId> <prefixListName>test-pl</prefixListName> <state>delete-in-progress</state> <version>1</version> </prefixList> </DeleteManagedPrefixListResponse>'

See Also

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