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.
example
Use a bare-bones client and the command you need to make an API call.
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.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, ModifyManagedPrefixListCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, ModifyManagedPrefixListCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new ModifyManagedPrefixListCommand(input); const response = await client.send(command);
ModifyManagedPrefixListCommandInput for command's
input
shape.ModifyManagedPrefixListCommandOutput for command's
response
shape.config for EC2Client's
config
shape.