Skip to content

Delete Direct Connect Gateway

directconnect_delete_direct_connect_gateway R Documentation

Deletes the specified Direct Connect gateway

Description

Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways associated with the Direct Connect gateway.

Usage

directconnect_delete_direct_connect_gateway(directConnectGatewayId)

Arguments

directConnectGatewayId

[required] The ID of the Direct Connect gateway.

Value

A list with the following syntax:

list(
  directConnectGateway = list(
    directConnectGatewayId = "string",
    directConnectGatewayName = "string",
    amazonSideAsn = 123,
    ownerAccount = "string",
    directConnectGatewayState = "pending"|"available"|"deleting"|"deleted",
    stateChangeError = "string"
  )
)

Request syntax

svc$delete_direct_connect_gateway(
  directConnectGatewayId = "string"
)