v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-171,1822,9897.4 MB

Modifies the specified managed prefix list.

Adding or removing entries in a prefix list creates a new version of the prefix list. Changing the name of the prefix list does not affect the version.

If you specify a current version number that does not match the true current version number, the request fails.

get/#Action=ModifyManagedPrefixList

Query parameters

DryRunboolean

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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.

PrefixListIdstring required

The ID of the prefix list.

CurrentVersioninteger

The current version of the prefix list.

PrefixListNamestring

A name for the prefix list.

Cidrstring required

The CIDR block.

Descriptionstring
<p>A description for the entry.</p> <p>Constraints: Up to 255 characters in length.</p>

One or more entries to add to the prefix list.

Cidrstring required

The CIDR block.

One or more entries to remove from the prefix list.

MaxEntriesinteger
<p>The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.</p> <p>If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.</p>
Action'ModifyManagedPrefixList' required
Version'2016-11-15' required

Response

Success