Skip to content

Accept Transit Gateway Peering Attachment

ec2_accept_transit_gateway_peering_attachment R Documentation

Accepts a transit gateway peering attachment request

Description

Accepts a transit gateway peering attachment request. The peering attachment must be in the pendingAcceptance state.

Usage

ec2_accept_transit_gateway_peering_attachment(
  TransitGatewayAttachmentId, DryRun)

Arguments

TransitGatewayAttachmentId

[required] The ID of the transit gateway 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.

Value

A list with the following syntax:

list(
  TransitGatewayPeeringAttachment = list(
    TransitGatewayAttachmentId = "string",
    AccepterTransitGatewayAttachmentId = "string",
    RequesterTgwInfo = list(
      TransitGatewayId = "string",
      CoreNetworkId = "string",
      OwnerId = "string",
      Region = "string"
    ),
    AccepterTgwInfo = list(
      TransitGatewayId = "string",
      CoreNetworkId = "string",
      OwnerId = "string",
      Region = "string"
    ),
    Options = list(
      DynamicRouting = "enable"|"disable"
    ),
    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"
      )
    )
  )
)

Request syntax

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