Skip to content

/AWS1/CL_EC2=>REJECTTGWVPCATTACHMENT()

About RejectTransitGatewayVpcAttachment

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.

Method Signature

IMPORTING

Required arguments:

IV_TGWATTACHMENTID TYPE /AWS1/EC2TGWATTACHMENTID /AWS1/EC2TGWATTACHMENTID

The ID of the attachment.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2REJTGWVPCATTACHM01 /AWS1/CL_EC2REJTGWVPCATTACHM01