Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyManagedPrefixListCommand

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.

example

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);
see

ModifyManagedPrefixListCommandInput for command's input shape.

see

ModifyManagedPrefixListCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyManagedPrefixListCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions