Skip to content

/AWS1/CL_EC2=>MODIFYMANAGEDPREFIXLIST()

About ModifyManagedPrefixList

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.

Method Signature

IMPORTING

Required arguments:

IV_PREFIXLISTID TYPE /AWS1/EC2PREFIXLISTRESOURCEID /AWS1/EC2PREFIXLISTRESOURCEID

The ID of the prefix list.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

IV_CURRENTVERSION TYPE /AWS1/EC2LONG /AWS1/EC2LONG

The current version of the prefix list.

IV_PREFIXLISTNAME TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A name for the prefix list.

IT_ADDENTRIES TYPE /AWS1/CL_EC2ADDPREFIXLISTENTRY=>TT_ADDPREFIXLISTENTRIES TT_ADDPREFIXLISTENTRIES

One or more entries to add to the prefix list.

IT_REMOVEENTRIES TYPE /AWS1/CL_EC2REMPREFIXLISTENTRY=>TT_REMOVEPREFIXLISTENTRIES TT_REMOVEPREFIXLISTENTRIES

One or more entries to remove from the prefix list.

IV_MAXENTRIES TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

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.

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2MODMANAGEDPREFIX01 /AWS1/CL_EC2MODMANAGEDPREFIX01