Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.
To view the entries for your prefix list, use GetManagedPrefixListEntries.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, DescribeManagedPrefixListsCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, DescribeManagedPrefixListsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new DescribeManagedPrefixListsCommand(input); const response = await client.send(command);
DescribeManagedPrefixListsCommandInput for command's input shape.
input
DescribeManagedPrefixListsCommandOutput for command's response shape.
response
config for EC2Client's config shape.
config
Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.
To view the entries for your prefix list, use GetManagedPrefixListEntries.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, DescribeManagedPrefixListsCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, DescribeManagedPrefixListsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new DescribeManagedPrefixListsCommand(input); const response = await client.send(command);
DescribeManagedPrefixListsCommandInput for command's
input
shape.DescribeManagedPrefixListsCommandOutput for command's
response
shape.config for EC2Client's
config
shape.