Rejects a request to attach a VPC to a transit gateway.
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.
get/#Action=RejectTransitGatewayVpcAttachment
Query parameters
TransitGatewayAttachmentIdstring required
The ID of the attachment.
DryRunboolean
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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
Action'RejectTransitGatewayVpcAttachment' required
Version'2016-11-15' required
Response
Success