Skip to content

Delete Managed Prefix List

ec2_delete_managed_prefix_list R Documentation

Deletes the specified managed prefix list

Description

Deletes the specified managed prefix list. You must first remove all references to the prefix list in your resources.

Usage

ec2_delete_managed_prefix_list(DryRun, PrefixListId)

Arguments

DryRun

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.

PrefixListId

[required] The ID of the prefix list.

Value

A list with the following syntax:

list(
  PrefixList = list(
    PrefixListId = "string",
    AddressFamily = "string",
    State = "create-in-progress"|"create-complete"|"create-failed"|"modify-in-progress"|"modify-complete"|"modify-failed"|"restore-in-progress"|"restore-complete"|"restore-failed"|"delete-in-progress"|"delete-complete"|"delete-failed",
    StateMessage = "string",
    PrefixListArn = "string",
    PrefixListName = "string",
    MaxEntries = 123,
    Version = 123,
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    ),
    OwnerId = "string"
  )
)

Request syntax

svc$delete_managed_prefix_list(
  DryRun = TRUE|FALSE,
  PrefixListId = "string"
)