def METHOD_NAME(self, vpn_gateway_id: str) -> VpnGateway:
    deleted = self.vpn_gateways.get(vpn_gateway_id, None)
    if not deleted:
        raise InvalidVpnGatewayIdError(vpn_gateway_id)
    deleted.state = "deleted"
    return deleted