Rejects a request to attach a VPC to a transit gateway.
ec2_reject_transit_gateway_vpc_attachment(TransitGatewayAttachmentId,
DryRun)
[required] The ID of the attachment.
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
.
svc$reject_transit_gateway_vpc_attachment( TransitGatewayAttachmentId = "string", DryRun = TRUE|FALSE )
The VPC attachment must be in the pendingAcceptance
state. Use
DescribeTransitGatewayVpcAttachments to view your pending VPC attachment
requests. Use AcceptTransitGatewayVpcAttachment to accept a VPC
attachment request.