Skip to content

Delete Transit Gateway Prefix List Reference

ec2_delete_transit_gateway_prefix_list_reference R Documentation

Deletes a reference (route) to a prefix list in a specified transit gateway route table

Description

Deletes a reference (route) to a prefix list in a specified transit gateway route table.

Usage

ec2_delete_transit_gateway_prefix_list_reference(
  TransitGatewayRouteTableId, PrefixListId, DryRun)

Arguments

TransitGatewayRouteTableId

[required] The ID of the route table.

PrefixListId

[required] The ID of the prefix list.

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.

Value

A list with the following syntax:

list(
  TransitGatewayPrefixListReference = list(
    TransitGatewayRouteTableId = "string",
    PrefixListId = "string",
    PrefixListOwnerId = "string",
    State = "pending"|"available"|"modifying"|"deleting",
    Blackhole = TRUE|FALSE,
    TransitGatewayAttachment = list(
      TransitGatewayAttachmentId = "string",
      ResourceType = "vpc"|"vpn"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering",
      ResourceId = "string"
    )
  )
)

Request syntax

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