CmdID

CmdID / aws / aws ec2

aws ec2 delete-managed-prefix-list

Deletes the specified managed prefix list. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a prefix list

The following delete-managed-prefix-list example deletes the specified prefix list.

aws ec2 delete-managed-prefix-list --prefix-list-id pl-0123456abcabcabc1Identify
--prefix-list-idThe ID of the prefix list.
Its output
{
    "PrefixList": {
        "PrefixListId": "pl-0123456abcabcabc1",
        "AddressFamily": "IPv4",
        "State": "delete-in-progress",
        "PrefixListArn": "arn:aws:ec2:us-west-2:123456789012:prefix-list/pl-0123456abcabcabc1",
        "PrefixListName": "test",
        "MaxEntries": 10,
        "Version": 1,
        "OwnerId": "123456789012"
    }
}

For more information, see Managed prefix lists in the Amazon VPC User Guide.

Options

2 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--prefix-list-idThe ID of the prefix list.