Learn R Programming

paws.compute (version 0.1.12)

ec2_delete_transit_gateway_peering_attachment: Deletes a transit gateway peering attachment

Description

Deletes a transit gateway peering attachment.

Usage

ec2_delete_transit_gateway_peering_attachment(
  TransitGatewayAttachmentId, DryRun)

Value

A list with the following syntax:

list(
  TransitGatewayPeeringAttachment = list(
    TransitGatewayAttachmentId = "string",
    RequesterTgwInfo = list(
      TransitGatewayId = "string",
      OwnerId = "string",
      Region = "string"
    ),
    AccepterTgwInfo = list(
      TransitGatewayId = "string",
      OwnerId = "string",
      Region = "string"
    ),
    Status = list(
      Code = "string",
      Message = "string"
    ),
    State = "initiating"|"initiatingRequest"|"pendingAcceptance"|"rollingBack"|"pending"|"available"|"modifying"|"deleting"|"deleted"|"failed"|"rejected"|"rejecting"|"failing",
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Arguments

TransitGatewayAttachmentId

[required] The ID of the transit gateway peering attachment.

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.

Request syntax

svc$delete_transit_gateway_peering_attachment(
  TransitGatewayAttachmentId = "string",
  DryRun = TRUE|FALSE
)